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

int main(int argc,char **argv)

{
  rule *pA;
  symbol_type sVar1;
  undefined *puVar2;
  char **ppcVar3;
  symbol **ppsVar4;
  int iVar5;
  ushort **ppuVar6;
  rule *prVar7;
  rule *prVar8;
  int iVar9;
  lemon *plVar10;
  rule **pprVar11;
  int in_GS_OFFSET;
  byte bVar12;
  uint local_16c;
  lemon local_154;
  rule *local_a4 [35];
  FILE *pFStack_18;
  
  ppcVar3 = argv;
  puVar2 = PTR_stderr_00024fe8;
  bVar12 = 0;
  pFStack_18 = (FILE *)&argc;
  local_a4[0x20] = *(rule **)(in_GS_OFFSET + 0x14);
  ::argv = argv;
  errstream = *(FILE **)PTR_stderr_00024fe8;
  op = main::options;
  if ((argv != (char **)0x0) && (*argv != (char *)0x0)) {
    OptInit(argv,(s_options *)errstream,pFStack_18);
  }
  if (main::version != 0) {
    puts("Lemon version 1.0");
                    /* WARNING: Subroutine does not return */
    exit(0);
  }
  iVar5 = OptNArgs();
  if (iVar5 != 1) {
    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar2);
                    /* WARNING: Subroutine does not return */
    exit(1);
  }
  plVar10 = &local_154;
  for (iVar5 = 0x2c; iVar5 != 0; iVar5 = iVar5 + -1) {
    plVar10->sorted = (state **)0x0;
    plVar10 = (lemon *)((int)plVar10 + (uint)bVar12 * -8 + 4);
  }
  if (x1a == (s_x1 *)0x0) {
    Strsafe_init();
  }
  if (x2a == (s_x2 *)0x0) {
    Symbol_init();
  }
  if (x3a == (s_x3 *)0x0) {
    State_init();
  }
  local_154.argv0 = *ppcVar3;
  iVar5 = argindex(0);
  if (iVar5 < 0) {
    local_154.filename = (char *)0x0;
  }
  else {
    local_154.filename = ::argv[iVar5];
  }
  local_154.basisflag = main::basisflag;
  local_154.nolinenosflag = main::nolinenosflag;
  Symbol_new("$");
  Parse(&local_154);
  if (local_154.errorcnt != 0) {
                    /* WARNING: Subroutine does not return */
    exit(local_154.errorcnt);
  }
  if (local_154.nrule == 0) {
    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar2);
                    /* WARNING: Subroutine does not return */
    exit(1);
  }
  local_154.errsym = Symbol_find("error");
  Symbol_new("{default}");
  if (x2a == (s_x2 *)0x0) {
    local_154.nsymbol = 0;
  }
  else {
    local_154.nsymbol = x2a->count;
  }
  local_154.symbols = Symbol_arrayof();
  if (0 < local_154.nsymbol) {
    iVar5 = 0;
    do {
      local_154.symbols[iVar5]->index = iVar5;
      iVar5 = iVar5 + 1;
    } while (iVar5 < local_154.nsymbol);
  }
  qsort(local_154.symbols,local_154.nsymbol,4,Symbolcmpp);
  ppsVar4 = local_154.symbols;
  iVar5 = 0;
  if (0 < local_154.nsymbol) {
    do {
      local_154.symbols[iVar5]->index = iVar5;
      iVar5 = iVar5 + 1;
    } while (iVar5 < local_154.nsymbol);
  }
  sVar1 = local_154.symbols[iVar5 + -1]->type;
  while (sVar1 == MULTITERMINAL) {
    sVar1 = local_154.symbols[iVar5 + -2]->type;
    iVar5 = iVar5 + -1;
  }
  local_154.nsymbol = iVar5 + -1;
  ppuVar6 = __ctype_b_loc();
  local_154.nterminal = 1;
  while ((*(byte *)((int)*ppuVar6 + (uint)(byte)*ppsVar4[local_154.nterminal]->name * 2 + 1) & 1) !=
         0) {
    local_154.nterminal = local_154.nterminal + 1;
  }
  if (local_154.rule == (rule *)0x0) {
    local_154.startRule = (rule *)0x0;
    pprVar11 = local_a4;
    for (iVar5 = 0x20; iVar5 != 0; iVar5 = iVar5 + -1) {
      *pprVar11 = (rule *)0x0;
      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;
    }
  }
  else {
    prVar8 = local_154.rule;
    iVar5 = 0;
    do {
      if (prVar8->code == (char *)0x0) {
        iVar9 = iVar5;
        iVar5 = -1;
      }
      else {
        iVar9 = iVar5 + 1;
      }
      prVar8->iRule = iVar5;
      prVar8 = prVar8->next;
      prVar7 = local_154.rule;
      iVar5 = iVar9;
    } while (prVar8 != (rule *)0x0);
    do {
      if (prVar7->iRule < 0) {
        prVar7->iRule = iVar9;
        iVar9 = iVar9 + 1;
      }
      pprVar11 = &prVar7->next;
      prVar7 = *pprVar11;
    } while (*pprVar11 != (rule *)0x0);
    local_154.startRule = local_154.rule;
    pprVar11 = local_a4;
    for (iVar5 = 0x20; prVar8 = local_154.rule, iVar5 != 0; iVar5 = iVar5 + -1) {
      *pprVar11 = (rule *)0x0;
      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;
    }
    do {
      prVar7 = prVar8->next;
      iVar5 = 0;
      prVar8->next = (rule *)0x0;
      if (local_a4[0] != (rule *)0x0) {
        prVar8 = Rule_merge(local_a4[0],prVar8);
        iVar5 = 1;
        local_a4[0] = (rule *)0x0;
        do {
          pA = local_a4[iVar5];
          if (pA == (rule *)0x0) break;
          prVar8 = Rule_merge(pA,prVar8);
          local_a4[iVar5] = (rule *)0x0;
          iVar5 = iVar5 + 1;
        } while (iVar5 != 0x20);
      }
      local_a4[iVar5] = prVar8;
      prVar8 = prVar7;
    } while (prVar7 != (rule *)0x0);
  }
  pprVar11 = local_a4;
  prVar8 = (rule *)0x0;
  do {
    prVar7 = *pprVar11;
    pprVar11 = pprVar11 + 1;
    prVar8 = Rule_merge(prVar7,prVar8);
  } while (local_a4 + 0x20 != pprVar11);
  local_154.rule = prVar8;
  if (main::rpflag == 0) {
    size = local_154.nterminal + 2;
    FindRulePrecedences(&local_154);
    FindFirstSets(&local_154);
    local_154.nstate = 0;
    FindStates(&local_154);
    local_154.sorted = State_arrayof();
    FindLinks(&local_154);
    FindFollowSets(&local_154);
    FindActions(&local_154);
    if (main::compress == 0) {
      CompressTables(&local_154);
    }
    if (main::noResort == 0) {
      ResortStates(&local_154);
    }
    if (main::quiet == 0) {
      ReportOutput(&local_154);
    }
    ReportTable(&local_154,main::mhflag);
    if (main::mhflag == 0) {
      ReportHeader(&local_154);
    }
  }
  else {
    Reprint(&local_154);
  }
  if (main::statistics != 0) {
    puts("Parser statistics:");
    stats_line("terminal symbols",local_154.nterminal);
    stats_line("non-terminal symbols",local_154.nsymbol - local_154.nterminal);
    stats_line("total symbols",local_154.nsymbol);
    stats_line("rules",local_154.nrule);
    stats_line("states",local_154.nxstate);
    stats_line("conflicts",local_154.nconflict);
    stats_line("action table entries",local_154.nactiontab);
    stats_line("lookahead table entries",local_154.nlookaheadtab);
    stats_line("total table size (bytes)",local_154.tablesize);
  }
  if (0 < local_154.nconflict) {
    __fprintf_chk(*(undefined4 *)puVar2,1,"%d parsing conflicts.\n",local_154.nconflict);
  }
  local_16c = 1;
  if (local_154.errorcnt < 1) {
    local_16c = (uint)(0 < local_154.nconflict);
  }
                    /* WARNING: Subroutine does not return */
  exit(local_16c);
}



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

void FUN_000112c0(undefined4 param_1,int *param_2)

{
  undefined *puVar1;
  void *pvVar2;
  int iVar3;
  ushort **ppuVar4;
  int iVar5;
  undefined4 uVar6;
  int iVar7;
  undefined4 *puVar8;
  int *piVar9;
  int iVar10;
  int in_GS_OFFSET;
  byte bVar11;
  undefined4 *puVar12;
  uint local_16c;
  undefined4 local_154;
  int local_150;
  int local_14c;
  undefined4 local_148;
  int local_140;
  size_t local_13c;
  int local_138;
  void *local_11c;
  int local_118;
  undefined4 local_114;
  int local_d0;
  int local_c4;
  undefined4 local_b4;
  undefined4 local_ac;
  int local_a8;
  int local_a4 [35];
  undefined1 *puStack_18;
  
  piVar9 = param_2;
  puVar1 = PTR_stderr_00024fe8;
  bVar11 = 0;
  puStack_18 = (undefined1 *)&param_1;
  local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14);
  DAT_000251c0 = param_2;
  DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8;
  DAT_000251bc = &DAT_00025040;
  if ((param_2 != (int *)0x0) && (*param_2 != 0)) {
    FUN_000138a0();
  }
  if (DAT_00025198 != 0) {
    puts("Lemon version 1.0");
                    /* WARNING: Subroutine does not return */
    exit(0);
  }
  iVar3 = FUN_000135b0();
  if (iVar3 != 1) {
    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);
                    /* WARNING: Subroutine does not return */
    exit(1);
  }
  puVar12 = &local_154;
  puVar8 = puVar12;
  for (iVar3 = 0x2c; iVar3 != 0; iVar3 = iVar3 + -1) {
    *puVar8 = 0;
    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;
  }
  if (DAT_000251ac == 0) {
    FUN_00012850(puVar12);
  }
  if (DAT_000251a8 == 0) {
    FUN_000128f0();
  }
  if (DAT_000251a4 == 0) {
    FUN_00012990();
  }
  local_a8 = *piVar9;
  iVar3 = FUN_00012020();
  if (iVar3 < 0) {
    local_d0 = 0;
  }
  else {
    local_d0 = DAT_000251c0[iVar3];
  }
  local_b4 = DAT_00025194;
  local_ac = DAT_00025190;
  FUN_00019b30(&DAT_0001e964);
  FUN_00019f50(puVar12);
  if (local_118 != 0) {
                    /* WARNING: Subroutine does not return */
    exit(local_118);
  }
  if (local_140 == 0) {
    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);
                    /* WARNING: Subroutine does not return */
    exit(1);
  }
  local_114 = FUN_00019710("error");
  FUN_00019b30("{default}");
  if (DAT_000251a8 == 0) {
    local_13c = 0;
  }
  else {
    local_13c = *(size_t *)(DAT_000251a8 + 4);
  }
  local_11c = (void *)FUN_0001c160();
  if (0 < (int)local_13c) {
    iVar3 = 0;
    do {
      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;
      iVar3 = iVar3 + 1;
    } while (iVar3 < (int)local_13c);
  }
  qsort(local_11c,local_13c,4,FUN_00011b40);
  pvVar2 = local_11c;
  iVar3 = 0;
  if (0 < (int)local_13c) {
    do {
      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;
      iVar3 = iVar3 + 1;
    } while (iVar3 < (int)local_13c);
  }
  iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);
  while (iVar10 == 2) {
    iVar3 = iVar3 + -1;
    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);
  }
  local_13c = iVar3 + -1;
  ppuVar4 = __ctype_b_loc();
  local_138 = 1;
  while ((*(byte *)((int)*ppuVar4 +
                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)
  {
    local_138 = local_138 + 1;
  }
  if (local_150 == 0) {
    local_14c = 0;
    piVar9 = local_a4;
    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {
      *piVar9 = 0;
      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;
    }
  }
  else {
    iVar3 = local_150;
    iVar10 = 0;
    do {
      if (*(int *)(iVar3 + 0x20) == 0) {
        iVar7 = iVar10;
        iVar10 = -1;
      }
      else {
        iVar7 = iVar10 + 1;
      }
      *(int *)(iVar3 + 0x3c) = iVar10;
      iVar3 = *(int *)(iVar3 + 0x4c);
      iVar5 = local_150;
      iVar10 = iVar7;
    } while (iVar3 != 0);
    do {
      if (*(int *)(iVar5 + 0x3c) < 0) {
        *(int *)(iVar5 + 0x3c) = iVar7;
        iVar7 = iVar7 + 1;
      }
      piVar9 = (int *)(iVar5 + 0x4c);
      iVar5 = *piVar9;
    } while (*piVar9 != 0);
    local_14c = local_150;
    piVar9 = local_a4;
    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {
      *piVar9 = 0;
      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;
    }
    do {
      iVar3 = *(int *)(local_150 + 0x4c);
      iVar10 = 0;
      *(undefined4 *)(local_150 + 0x4c) = 0;
      if (local_a4[0] != 0) {
        local_150 = FUN_00011a80();
        iVar10 = 1;
        local_a4[0] = 0;
        do {
          if (local_a4[iVar10] == 0) break;
          local_150 = FUN_00011a80();
          local_a4[iVar10] = 0;
          iVar10 = iVar10 + 1;
        } while (iVar10 != 0x20);
      }
      local_a4[iVar10] = local_150;
      local_150 = iVar3;
    } while (iVar3 != 0);
  }
  piVar9 = local_a4;
  do {
    piVar9 = piVar9 + 1;
    local_150 = FUN_00011a80();
  } while (local_a4 + 0x20 != piVar9);
  if (DAT_0002518c == 0) {
    DAT_000251b0 = local_138 + 2;
    puVar8 = puVar12;
    FUN_00013000(puVar12);
    FUN_00016270(puVar12);
    local_148 = 0;
    FUN_0001cfb0(puVar12);
    local_154 = FUN_0001c5a0();
    FUN_00013ee0(puVar12);
    FUN_000130f0(puVar12);
    uVar6 = FUN_000197b0(puVar12);
    if (DAT_00025188 == 0) {
      uVar6 = FUN_00019c10(puVar8);
    }
    if (DAT_00025184 == 0) {
      uVar6 = FUN_000160e0(puVar8);
    }
    if (DAT_00025180 == 0) {
      uVar6 = FUN_000147f0(puVar8);
    }
    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);
    if (DAT_0002517c == 0) {
      FUN_00015f30(puVar8);
    }
  }
  else {
    FUN_00014350(puVar12);
  }
  if (DAT_00025178 != 0) {
    puts("Parser statistics:");
    FUN_00011d70();
    FUN_00011d70();
    FUN_00011d70();
    FUN_00011d70();
    FUN_00011d70();
    FUN_00011d70();
    FUN_00011d70();
    FUN_00011d70();
    FUN_00011d70();
  }
  if (0 < local_c4) {
    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);
  }
  local_16c = 1;
  if (local_118 < 1) {
    local_16c = (uint)(0 < local_c4);
  }
                    /* WARNING: Subroutine does not return */
  exit(local_16c);
}


LEA ECX,[ESP + 0x4]
AND ESP,0xfffffff0
PUSH dword ptr [ECX + -0x4]
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000118f0
ADD EBX,0x13c6b
PUSH ECX
SUB ESP,0x158
MOV ESI,dword ptr [ECX + 0x4]
MOV EAX,GS:[0x14]
MOV dword ptr [EBP + -0x1c],EAX
XOR EAX,EAX
MOV EAX,dword ptr [EBX + 0xa8]
MOV dword ptr [EBX + 0x280],ESI
MOV EDX,dword ptr [EAX]
MOV dword ptr [EBP + 0xfffffea4],EAX
LEA EAX,[EBX + 0x100]
MOV dword ptr [EBX + 0x27c],EAX
MOV dword ptr [EBX + 0x278],EDX
TEST ESI,ESI
JZ 0x00011327
MOV EDI,dword ptr [ESI]
TEST EDI,EDI
JZ 0x00011327
MOV EAX,ESI
CALL 0x000138a0
MOV ECX,dword ptr [EBX + 0x258]
TEST ECX,ECX
JNZ 0x0001143c
CALL 0x000135b0
MOV dword ptr [EBP + 0xfffffe9c],EAX
CMP EAX,0x1
JZ 0x00011369
MOV EAX,dword ptr [EBP + 0xfffffea4]
PUSH dword ptr [EAX]
LEA EAX,[EBX + 0xffffac8c]
PUSH 0x2b
PUSH 0x1
PUSH EAX
CALL 0x000110e0
MOV dword ptr [ESP],0x1
CALL 0x00011140
LEA EDI,[EBP + 0xfffffeb4]
XOR EAX,EAX
MOV ECX,0x2c
CMP dword ptr [EBX + 0x26c],0x0
MOV dword ptr [EBP + 0xfffffe98],EDI
STOSD.REP ES:EDI
JZ 0x0001146b
CMP dword ptr [EBX + 0x268],0x0
JZ 0x00011461
CMP dword ptr [EBX + 0x264],0x0
JZ 0x00011457
MOV EAX,dword ptr [ESI]
MOV dword ptr [EBP + 0xffffff60],EAX
XOR EAX,EAX
CALL 0x00012020
TEST EAX,EAX
JS 0x00011475
MOV EDX,dword ptr [EBX + 0x280]
MOV EAX,dword ptr [EDX + EAX*0x4]
MOV dword ptr [EBP + 0xffffff38],EAX
MOV EAX,dword ptr [EBX + 0x254]
SUB ESP,0xc
MOV dword ptr [EBP + 0xffffff54],EAX
MOV EAX,dword ptr [EBX + 0x250]
MOV dword ptr [EBP + 0xffffff5c],EAX
LEA EAX,[EBX + 0xffff9a24]
PUSH EAX
CALL 0x00019b30
POP EDX
PUSH dword ptr [EBP + 0xfffffe98]
CALL 0x00019f50
MOV EAX,dword ptr [EBP + 0xfffffef0]
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0001159d
CMP dword ptr [EBP + 0xfffffec8],0x0
JNZ 0x0001147c
MOV EAX,dword ptr [EBP + 0xfffffea4]
PUSH dword ptr [EAX]
LEA EAX,[EBX + 0xffff9a26]
PUSH 0xf
PUSH 0x1
PUSH EAX
CALL 0x000110e0
MOV dword ptr [ESP],0x1
CALL 0x00011140
SUB ESP,0xc
LEA EAX,[EBX + 0xffff9a12]
PUSH EAX
CALL 0x00011130
MOV dword ptr [ESP],0x0
CALL 0x00011140
CALL 0x00012990
JMP 0x000113a5
CALL 0x000128f0
JMP 0x00011398
CALL 0x00012850
JMP 0x0001138b
XOR EAX,EAX
JMP 0x000113c5
SUB ESP,0xc
LEA EAX,[EBX + 0xffff9238]
PUSH EAX
CALL 0x00019710
MOV dword ptr [EBP + 0xfffffef4],EAX
LEA EAX,[EBX + 0xffff9881]
MOV dword ptr [ESP],EAX
CALL 0x00019b30
MOV EAX,dword ptr [EBX + 0x268]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001182a
MOV EAX,dword ptr [EAX + 0x4]
MOV dword ptr [EBP + 0xfffffecc],EAX
CALL 0x0001c160
MOV EDX,dword ptr [EBP + 0xfffffecc]
MOV dword ptr [EBP + 0xfffffeec],EAX
TEST EDX,EDX
JLE 0x000114e9
XOR EAX,EAX
MOV EDX,dword ptr [EBP + 0xfffffeec]
MOV EDX,dword ptr [EDX + EAX*0x4]
MOV dword ptr [EDX + 0x4],EAX
MOV EDX,dword ptr [EBP + 0xfffffecc]
ADD EAX,0x1
CMP EDX,EAX
JG 0x000114d0
LEA EAX,[EBX + 0xfffecc00]
PUSH EAX
PUSH 0x4
PUSH EDX
PUSH dword ptr [EBP + 0xfffffeec]
CALL 0x00011220
ADD ESP,0x10
XOR EAX,EAX
CMP dword ptr [EBP + 0xfffffecc],0x0
JLE 0x00011523
MOV EDX,dword ptr [EBP + 0xfffffeec]
MOV EDX,dword ptr [EDX + EAX*0x4]
MOV dword ptr [EDX + 0x4],EAX
ADD EAX,0x1
CMP dword ptr [EBP + 0xfffffecc],EAX
JG 0x0001150c
MOV ESI,dword ptr [EBP + 0xfffffeec]
MOV EDX,dword ptr [ESI + EAX*0x4 + -0x4]
CMP dword ptr [EDX + 0x8],0x2
JNZ 0x00011540
SUB EAX,0x1
MOV EDX,dword ptr [ESI + EAX*0x4 + -0x4]
CMP dword ptr [EDX + 0x8],0x2
JZ 0x00011533
SUB EAX,0x1
MOV dword ptr [EBP + 0xfffffecc],EAX
CALL 0x00011270
MOV ECX,dword ptr [EAX]
MOV EAX,0x1
JMP 0x0001155a
ADD EAX,0x1
MOV EDX,dword ptr [ESI + EAX*0x4]
MOV EDX,dword ptr [EDX]
MOVZX EDX,byte ptr [EDX]
TEST byte ptr [ECX + EDX*0x2 + 0x1],0x1
JNZ 0x00011557
MOV EDX,dword ptr [EBP + 0xfffffeb8]
MOV dword ptr [EBP + 0xfffffed0],EAX
TEST EDX,EDX
JZ 0x00011889
MOV EAX,EDX
XOR ECX,ECX
JMP 0x00011592
MOV ESI,ECX
ADD ECX,0x1
MOV dword ptr [EAX + 0x3c],ESI
MOV EAX,dword ptr [EAX + 0x4c]
TEST EAX,EAX
JZ 0x000115a6
CMP dword ptr [EAX + 0x20],0x0
JNZ 0x00011583
OR ESI,0xffffffff
JMP 0x00011588
SUB ESP,0xc
PUSH EAX
CALL 0x00011140
MOV EAX,EDX
CMP dword ptr [EAX + 0x3c],0x0
JNS 0x000115b4
MOV dword ptr [EAX + 0x3c],ECX
ADD ECX,0x1
MOV EAX,dword ptr [EAX + 0x4c]
TEST EAX,EAX
JNZ 0x000115a8
LEA ESI,[EBP + 0xffffff64]
MOV ECX,0x20
MOV dword ptr [EBP + 0xfffffebc],EDX
MOV EDI,ESI
STOSD.REP ES:EDI
MOV EAX,dword ptr [EDX + 0x4c]
XOR EDI,EDI
MOV dword ptr [EDX + 0x4c],0x0
MOV dword ptr [EBP + 0xfffffea0],EAX
MOV EAX,dword ptr [EBP + 0xffffff64]
TEST EAX,EAX
JZ 0x00011625
CALL 0x00011a80
MOV EDI,0x1
MOV dword ptr [EBP + 0xffffff64],0x0
MOV EDX,EAX
JMP 0x0001161e
CALL 0x00011a80
MOV dword ptr [ESI + EDI*0x4],0x0
ADD EDI,0x1
MOV EDX,EAX
CMP EDI,0x20
JZ 0x00011625
MOV EAX,dword ptr [ESI + EDI*0x4]
TEST EAX,EAX
JNZ 0x00011608
MOV dword ptr [EBP + EDI*0x4 + 0xffffff64],EDX
MOV EDX,dword ptr [EBP + 0xfffffea0]
TEST EDX,EDX
JNZ 0x000115d0
MOV EDI,ESI
XOR EAX,EAX
LEA ESI,[EBP + -0x1c]
LEA ESI,[ESI]
MOV EDX,EAX
MOV EAX,dword ptr [EDI]
ADD EDI,0x4
CALL 0x00011a80
CMP ESI,EDI
JNZ 0x00011640
CMP dword ptr [EBX + 0x24c],0x0
MOV dword ptr [EBP + 0xfffffeb8],EAX
JNZ 0x00011761
MOV EDI,dword ptr [EBP + 0xfffffe98]
SUB ESP,0xc
MOV EAX,dword ptr [EBP + 0xfffffed0]
PUSH EDI
ADD EAX,0x2
MOV dword ptr [EBX + 0x270],EAX
CALL 0x00013000
MOV dword ptr [ESP],EDI
CALL 0x00016270
MOV dword ptr [ESP],EDI
MOV dword ptr [EBP + 0xfffffec0],0x0
CALL 0x0001cfb0
CALL 0x0001c5a0
MOV dword ptr [ESP],EDI
MOV dword ptr [EBP + 0xfffffeb4],EAX
CALL 0x00013ee0
MOV dword ptr [ESP],EDI
CALL 0x000130f0
MOV dword ptr [ESP],EDI
CALL 0x000197b0
ADD ESP,0x10
CMP dword ptr [EBX + 0x248],0x0
JZ 0x00011831
CMP dword ptr [EBX + 0x244],0x0
JZ 0x00011873
CMP dword ptr [EBX + 0x240],0x0
JZ 0x0001185d
PUSH EAX
PUSH EAX
PUSH dword ptr [EBX + 0x23c]
PUSH dword ptr [EBP + 0xfffffe98]
CALL 0x00017470
ADD ESP,0x10
CMP dword ptr [EBX + 0x23c],0x0
JZ 0x00011847
CMP dword ptr [EBX + 0x238],0x0
JNZ 0x00011774
MOV EAX,dword ptr [EBP + 0xffffff44]
TEST EAX,EAX
JLE 0x00011738
PUSH EAX
LEA EAX,[EBX + 0xffff9ac9]
PUSH EAX
MOV EAX,dword ptr [EBP + 0xfffffea4]
PUSH 0x1
PUSH dword ptr [EAX]
CALL 0x00011230
ADD ESP,0x10
CMP dword ptr [EBP + 0xfffffef0],0x0
JG 0x00011753
XOR EAX,EAX
CMP dword ptr [EBP + 0xffffff44],0x0
SETG AL
MOV dword ptr [EBP + 0xfffffe9c],EAX
SUB ESP,0xc
PUSH dword ptr [EBP + 0xfffffe9c]
CALL 0x00011140
SUB ESP,0xc
PUSH dword ptr [EBP + 0xfffffe98]
CALL 0x00014350
ADD ESP,0x10
JMP 0x0001170b
SUB ESP,0xc
LEA EAX,[EBX + 0xffff9a36]
PUSH EAX
CALL 0x00011130
MOV EDX,dword ptr [EBP + 0xfffffed0]
LEA EAX,[EBX + 0xffff9a4d]
CALL 0x00011d70
MOV EDX,dword ptr [EBP + 0xfffffecc]
LEA EAX,[EBX + 0xffff9a49]
SUB EDX,dword ptr [EBP + 0xfffffed0]
CALL 0x00011d70
MOV EDX,dword ptr [EBP + 0xfffffecc]
LEA EAX,[EBX + 0xffff9a5e]
CALL 0x00011d70
MOV EDX,dword ptr [EBP + 0xfffffec8]
LEA EAX,[EBX + 0xffff9a6c]
CALL 0x00011d70
MOV EDX,dword ptr [EBP + 0xfffffec4]
LEA EAX,[EBX + 0xffff9a72]
CALL 0x00011d70
MOV EDX,dword ptr [EBP + 0xffffff44]
LEA EAX,[EBX + 0xffff9a79]
CALL 0x00011d70
MOV EDX,dword ptr [EBP + 0xffffff48]
LEA EAX,[EBX + 0xffff9a83]
CALL 0x00011d70
MOV EDX,dword ptr [EBP + 0xffffff4c]
LEA EAX,[EBX + 0xffff9a98]
CALL 0x00011d70
MOV EDX,dword ptr [EBP + 0xffffff50]
LEA EAX,[EBX + 0xffff9ab0]
CALL 0x00011d70
ADD ESP,0x10
JMP 0x00011714
XOR EAX,EAX
JMP 0x000114b3
SUB ESP,0xc
PUSH dword ptr [EBP + 0xfffffe98]
CALL 0x00019c10
ADD ESP,0x10
JMP 0x000116ce
SUB ESP,0xc
PUSH dword ptr [EBP + 0xfffffe98]
CALL 0x00015f30
ADD ESP,0x10
JMP 0x0001170b
SUB ESP,0xc
PUSH dword ptr [EBP + 0xfffffe98]
CALL 0x000147f0
ADD ESP,0x10
JMP 0x000116e8
SUB ESP,0xc
PUSH dword ptr [EBP + 0xfffffe98]
CALL 0x000160e0
ADD ESP,0x10
JMP 0x000116db
LEA ESI,[EBP + 0xffffff64]
MOV ECX,0x20
MOV EAX,EDX
MOV dword ptr [EBP + 0xfffffebc],0x0
MOV EDI,ESI
STOSD.REP ES:EDI
JMP 0x00011636
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000112c0(undefined4 param_1,int *param_2)\n\n{\n  undefined *puVar1;\n  void *pvVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  byte bVar11;\n  undefined4 *puVar12;\n  uint local_16c;\n  undefined4 local_154;\n  int local_150;\n  int local_14c;\n  undefined4 local_148;\n  int local_140;\n  size_t local_13c;\n  int local_138;\n  void *local_11c;\n  int local_118;\n  undefined4 local_114;\n  int local_d0;\n  int local_c4;\n  undefined4 local_b4;\n  undefined4 local_ac;\n  int local_a8;\n  int local_a4 [35];\n  undefined1 *puStack_18;\n  \n  piVar9 = param_2;\n  puVar1 = PTR_stderr_00024fe8;\n  bVar11 = 0;\n  puStack_18 = (undefined1 *)&param_1;\n  local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  DAT_000251c0 = param_2;\n  DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8;\n  DAT_000251bc = &DAT_00025040;\n  if ((param_2 != (int *)0x0) && (*param_2 != 0)) {\n    FUN_000138a0();\n  }\n  if (DAT_00025198 != 0) {\n    puts("Lemon version 1.0");\n                    /* WARNING: Subroutine does not return */\n    exit(0);\n  }\n  iVar3 = FUN_000135b0();\n  if (iVar3 != 1) {\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }\n  puVar12 = &local_154;\n  puVar8 = puVar12;\n  for (iVar3 = 0x2c; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar8 = 0;\n    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;\n  }\n  if (DAT_000251ac == 0) {\n    FUN_00012850(puVar12);\n  }\n  if (DAT_000251a8 == 0) {\n    FUN_000128f0();\n  }\n  if (DAT_000251a4 == 0) {\n    FUN_00012990();\n  }\n  local_a8 = *piVar9;\n  iVar3 = FUN_00012020();\n  if (iVar3 < 0) {\n    local_d0 = 0;\n  }\n  else {\n    local_d0 = DAT_000251c0[iVar3];\n  }\n  local_b4 = DAT_00025194;\n  local_ac = DAT_00025190;\n  FUN_00019b30(&DAT_0001e964);\n  FUN_00019f50(puVar12);\n  if (local_118 != 0) {\n                    /* WARNING: Subroutine does not return */\n    exit(local_118);\n  }\n  if (local_140 == 0) {\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }\n  local_114 = FUN_00019710("error");\n  FUN_00019b30("{default}");\n  if (DAT_000251a8 == 0) {\n    local_13c = 0;\n  }\n  else {\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }\n  local_11c = (void *)FUN_0001c160();\n  if (0 < (int)local_13c) {\n    iVar3 = 0;\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  qsort(local_11c,local_13c,4,FUN_00011b40);\n  pvVar2 = local_11c;\n  iVar3 = 0;\n  if (0 < (int)local_13c) {\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  while (iVar10 == 2) {\n    iVar3 = iVar3 + -1;\n    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  }\n  local_13c = iVar3 + -1;\n  ppuVar4 = __ctype_b_loc();\n  local_138 = 1;\n  while ((*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)\n  {\n    local_138 = local_138 + 1;\n  }\n  if (local_150 == 0) {\n    local_14c = 0;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n  }\n  else {\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }\n  piVar9 = local_a4;\n  do {\n    piVar9 = piVar9 + 1;\n    local_150 = FUN_00011a80();\n  } while (local_a4 + 0x20 != piVar9);\n  if (DAT_0002518c == 0) {\n    DAT_000251b0 = local_138 + 2;\n    puVar8 = puVar12;\n    FUN_00013000(puVar12);\n    FUN_00016270(puVar12);\n    local_148 = 0;\n    FUN_0001cfb0(puVar12);\n    local_154 = FUN_0001c5a0();\n    FUN_00013ee0(puVar12);\n    FUN_000130f0(puVar12);\n    uVar6 = FUN_000197b0(puVar12);\n    if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }\n    if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }\n    if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }\n    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);\n    if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }\n  }\n  else {\n    FUN_00014350(puVar12);\n  }\n  if (DAT_00025178 != 0) {\n    puts("Parser statistics:");\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n  }\n  if (0 < local_c4) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);\n  }\n  local_16c = 1;\n  if (local_118 < 1) {\n    local_16c = (uint)(0 < local_c4);\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(local_16c);\n}\n\n" comment (function_definition "void FUN_000112c0(undefined4 param_1,int *param_2)\n\n{\n  undefined *puVar1;\n  void *pvVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  byte bVar11;\n  undefined4 *puVar12;\n  uint local_16c;\n  undefined4 local_154;\n  int local_150;\n  int local_14c;\n  undefined4 local_148;\n  int local_140;\n  size_t local_13c;\n  int local_138;\n  void *local_11c;\n  int local_118;\n  undefined4 local_114;\n  int local_d0;\n  int local_c4;\n  undefined4 local_b4;\n  undefined4 local_ac;\n  int local_a8;\n  int local_a4 [35];\n  undefined1 *puStack_18;\n  \n  piVar9 = param_2;\n  puVar1 = PTR_stderr_00024fe8;\n  bVar11 = 0;\n  puStack_18 = (undefined1 *)&param_1;\n  local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  DAT_000251c0 = param_2;\n  DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8;\n  DAT_000251bc = &DAT_00025040;\n  if ((param_2 != (int *)0x0) && (*param_2 != 0)) {\n    FUN_000138a0();\n  }\n  if (DAT_00025198 != 0) {\n    puts("Lemon version 1.0");\n                    /* WARNING: Subroutine does not return */\n    exit(0);\n  }\n  iVar3 = FUN_000135b0();\n  if (iVar3 != 1) {\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }\n  puVar12 = &local_154;\n  puVar8 = puVar12;\n  for (iVar3 = 0x2c; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar8 = 0;\n    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;\n  }\n  if (DAT_000251ac == 0) {\n    FUN_00012850(puVar12);\n  }\n  if (DAT_000251a8 == 0) {\n    FUN_000128f0();\n  }\n  if (DAT_000251a4 == 0) {\n    FUN_00012990();\n  }\n  local_a8 = *piVar9;\n  iVar3 = FUN_00012020();\n  if (iVar3 < 0) {\n    local_d0 = 0;\n  }\n  else {\n    local_d0 = DAT_000251c0[iVar3];\n  }\n  local_b4 = DAT_00025194;\n  local_ac = DAT_00025190;\n  FUN_00019b30(&DAT_0001e964);\n  FUN_00019f50(puVar12);\n  if (local_118 != 0) {\n                    /* WARNING: Subroutine does not return */\n    exit(local_118);\n  }\n  if (local_140 == 0) {\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }\n  local_114 = FUN_00019710("error");\n  FUN_00019b30("{default}");\n  if (DAT_000251a8 == 0) {\n    local_13c = 0;\n  }\n  else {\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }\n  local_11c = (void *)FUN_0001c160();\n  if (0 < (int)local_13c) {\n    iVar3 = 0;\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  qsort(local_11c,local_13c,4,FUN_00011b40);\n  pvVar2 = local_11c;\n  iVar3 = 0;\n  if (0 < (int)local_13c) {\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  while (iVar10 == 2) {\n    iVar3 = iVar3 + -1;\n    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  }\n  local_13c = iVar3 + -1;\n  ppuVar4 = __ctype_b_loc();\n  local_138 = 1;\n  while ((*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)\n  {\n    local_138 = local_138 + 1;\n  }\n  if (local_150 == 0) {\n    local_14c = 0;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n  }\n  else {\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }\n  piVar9 = local_a4;\n  do {\n    piVar9 = piVar9 + 1;\n    local_150 = FUN_00011a80();\n  } while (local_a4 + 0x20 != piVar9);\n  if (DAT_0002518c == 0) {\n    DAT_000251b0 = local_138 + 2;\n    puVar8 = puVar12;\n    FUN_00013000(puVar12);\n    FUN_00016270(puVar12);\n    local_148 = 0;\n    FUN_0001cfb0(puVar12);\n    local_154 = FUN_0001c5a0();\n    FUN_00013ee0(puVar12);\n    FUN_000130f0(puVar12);\n    uVar6 = FUN_000197b0(puVar12);\n    if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }\n    if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }\n    if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }\n    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);\n    if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }\n  }\n  else {\n    FUN_00014350(puVar12);\n  }\n  if (DAT_00025178 != 0) {\n    puts("Parser statistics:");\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n  }\n  if (0 < local_c4) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);\n  }\n  local_16c = 1;\n  if (local_118 < 1) {\n    local_16c = (uint)(0 < local_c4);\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(local_16c);\n}" primitive_type (function_declarator "FUN_000112c0(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  void *pvVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  byte bVar11;\n  undefined4 *puVar12;\n  uint local_16c;\n  undefined4 local_154;\n  int local_150;\n  int local_14c;\n  undefined4 local_148;\n  int local_140;\n  size_t local_13c;\n  int local_138;\n  void *local_11c;\n  int local_118;\n  undefined4 local_114;\n  int local_d0;\n  int local_c4;\n  undefined4 local_b4;\n  undefined4 local_ac;\n  int local_a8;\n  int local_a4 [35];\n  undefined1 *puStack_18;\n  \n  piVar9 = param_2;\n  puVar1 = PTR_stderr_00024fe8;\n  bVar11 = 0;\n  puStack_18 = (undefined1 *)&param_1;\n  local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  DAT_000251c0 = param_2;\n  DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8;\n  DAT_000251bc = &DAT_00025040;\n  if ((param_2 != (int *)0x0) && (*param_2 != 0)) {\n    FUN_000138a0();\n  }\n  if (DAT_00025198 != 0) {\n    puts("Lemon version 1.0");\n                    /* WARNING: Subroutine does not return */\n    exit(0);\n  }\n  iVar3 = FUN_000135b0();\n  if (iVar3 != 1) {\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }\n  puVar12 = &local_154;\n  puVar8 = puVar12;\n  for (iVar3 = 0x2c; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar8 = 0;\n    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;\n  }\n  if (DAT_000251ac == 0) {\n    FUN_00012850(puVar12);\n  }\n  if (DAT_000251a8 == 0) {\n    FUN_000128f0();\n  }\n  if (DAT_000251a4 == 0) {\n    FUN_00012990();\n  }\n  local_a8 = *piVar9;\n  iVar3 = FUN_00012020();\n  if (iVar3 < 0) {\n    local_d0 = 0;\n  }\n  else {\n    local_d0 = DAT_000251c0[iVar3];\n  }\n  local_b4 = DAT_00025194;\n  local_ac = DAT_00025190;\n  FUN_00019b30(&DAT_0001e964);\n  FUN_00019f50(puVar12);\n  if (local_118 != 0) {\n                    /* WARNING: Subroutine does not return */\n    exit(local_118);\n  }\n  if (local_140 == 0) {\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }\n  local_114 = FUN_00019710("error");\n  FUN_00019b30("{default}");\n  if (DAT_000251a8 == 0) {\n    local_13c = 0;\n  }\n  else {\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }\n  local_11c = (void *)FUN_0001c160();\n  if (0 < (int)local_13c) {\n    iVar3 = 0;\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  qsort(local_11c,local_13c,4,FUN_00011b40);\n  pvVar2 = local_11c;\n  iVar3 = 0;\n  if (0 < (int)local_13c) {\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  while (iVar10 == 2) {\n    iVar3 = iVar3 + -1;\n    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  }\n  local_13c = iVar3 + -1;\n  ppuVar4 = __ctype_b_loc();\n  local_138 = 1;\n  while ((*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)\n  {\n    local_138 = local_138 + 1;\n  }\n  if (local_150 == 0) {\n    local_14c = 0;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n  }\n  else {\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }\n  piVar9 = local_a4;\n  do {\n    piVar9 = piVar9 + 1;\n    local_150 = FUN_00011a80();\n  } while (local_a4 + 0x20 != piVar9);\n  if (DAT_0002518c == 0) {\n    DAT_000251b0 = local_138 + 2;\n    puVar8 = puVar12;\n    FUN_00013000(puVar12);\n    FUN_00016270(puVar12);\n    local_148 = 0;\n    FUN_0001cfb0(puVar12);\n    local_154 = FUN_0001c5a0();\n    FUN_00013ee0(puVar12);\n    FUN_000130f0(puVar12);\n    uVar6 = FUN_000197b0(puVar12);\n    if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }\n    if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }\n    if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }\n    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);\n    if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }\n  }\n  else {\n    FUN_00014350(puVar12);\n  }\n  if (DAT_00025178 != 0) {\n    puts("Parser statistics:");\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n  }\n  if (0 < local_c4) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);\n  }\n  local_16c = 1;\n  if (local_118 < 1) {\n    local_16c = (uint)(0 < local_c4);\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(local_16c);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ushort **ppuVar4;" type_identifier (pointer_declarator "**ppuVar4" * (pointer_declarator "*ppuVar4" * identifier)) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar11;" type_identifier identifier ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "uint local_16c;" type_identifier identifier ;) (declaration "undefined4 local_154;" type_identifier identifier ;) (declaration "int local_150;" primitive_type identifier ;) (declaration "int local_14c;" primitive_type identifier ;) (declaration "undefined4 local_148;" type_identifier identifier ;) (declaration "int local_140;" primitive_type identifier ;) (declaration "size_t local_13c;" primitive_type identifier ;) (declaration "int local_138;" primitive_type identifier ;) (declaration "void *local_11c;" primitive_type (pointer_declarator "*local_11c" * identifier) ;) (declaration "int local_118;" primitive_type identifier ;) (declaration "undefined4 local_114;" type_identifier identifier ;) (declaration "int local_d0;" primitive_type identifier ;) (declaration "int local_c4;" primitive_type identifier ;) (declaration "undefined4 local_b4;" type_identifier identifier ;) (declaration "undefined4 local_ac;" type_identifier identifier ;) (declaration "int local_a8;" primitive_type identifier ;) (declaration "int local_a4 [35];" primitive_type (array_declarator "local_a4 [35]" identifier [ number_literal ]) ;) (declaration "undefined1 *puStack_18;" type_identifier (pointer_declarator "*puStack_18" * identifier) ;) (expression_statement "piVar9 = param_2;" (assignment_expression "piVar9 = param_2" identifier = identifier) ;) (expression_statement "puVar1 = PTR_stderr_00024fe8;" (assignment_expression "puVar1 = PTR_stderr_00024fe8" identifier = identifier) ;) (expression_statement "bVar11 = 0;" (assignment_expression "bVar11 = 0" identifier = number_literal) ;) (expression_statement "puStack_18 = (undefined1 *)&param_1;" (assignment_expression "puStack_18 = (undefined1 *)&param_1" identifier = (cast_expression "(undefined1 *)&param_1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&param_1" & identifier))) ;) (expression_statement "local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_a4[0x20]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "DAT_000251c0 = param_2;" (assignment_expression "DAT_000251c0 = param_2" identifier = identifier) ;) (expression_statement "DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8;" (assignment_expression "DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_00024fe8" * (cast_expression "(undefined4 *)PTR_stderr_00024fe8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "DAT_000251bc = &DAT_00025040;" (assignment_expression "DAT_000251bc = &DAT_00025040" identifier = (pointer_expression "&DAT_00025040" & identifier)) ;) (if_statement "if ((param_2 != (int *)0x0) && (*param_2 != 0)) {\n    FUN_000138a0();\n  }" if (parenthesized_expression "((param_2 != (int *)0x0) && (*param_2 != 0))" ( (binary_expression "(param_2 != (int *)0x0) && (*param_2 != 0)" (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*param_2 != 0)" ( (binary_expression "*param_2 != 0" (pointer_expression "*param_2" * identifier) != number_literal) ))) )) (compound_statement "{\n    FUN_000138a0();\n  }" { (expression_statement "FUN_000138a0();" (call_expression "FUN_000138a0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (DAT_00025198 != 0) {\n    puts("Lemon version 1.0");\n                    /* WARNING: Subroutine does not return */\n    exit(0);\n  }" if (parenthesized_expression "(DAT_00025198 != 0)" ( (binary_expression "DAT_00025198 != 0" identifier != number_literal) )) (compound_statement "{\n    puts("Lemon version 1.0");\n                    /* WARNING: Subroutine does not return */\n    exit(0);\n  }" { (expression_statement "puts("Lemon version 1.0");" (call_expression "puts("Lemon version 1.0")" identifier (argument_list "("Lemon version 1.0")" ( (string_literal ""Lemon version 1.0"" " string_content ") ))) ;) comment (expression_statement "exit(0);" (call_expression "exit(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })) (expression_statement "iVar3 = FUN_000135b0();" (assignment_expression "iVar3 = FUN_000135b0()" identifier = (call_expression "FUN_000135b0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 != 1) {\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }" if (parenthesized_expression "(iVar3 != 1)" ( (binary_expression "iVar3 != 1" identifier != number_literal) )) (compound_statement "{\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }" { (expression_statement "fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);" (call_expression "fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1)" identifier (argument_list "("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1)" ( (string_literal ""Exactly one filename argument is required.\n"" " string_content escape_sequence ") , number_literal , number_literal , (pointer_expression "*(FILE **)puVar1" * (cast_expression "(FILE **)puVar1" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) comment (expression_statement "exit(1);" (call_expression "exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "puVar12 = &local_154;" (assignment_expression "puVar12 = &local_154" identifier = (pointer_expression "&local_154" & identifier)) ;) (expression_statement "puVar8 = puVar12;" (assignment_expression "puVar8 = puVar12" identifier = identifier) ;) (for_statement "for (iVar3 = 0x2c; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar8 = 0;\n    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;\n  }" for ( (assignment_expression "iVar3 = 0x2c" identifier = number_literal) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar8 = 0;\n    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;\n  }" { (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "puVar8 = puVar8 + (uint)bVar11 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "puVar8 + (uint)bVar11 * -2 + 1" (binary_expression "puVar8 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (if_statement "if (DAT_000251ac == 0) {\n    FUN_00012850(puVar12);\n  }" if (parenthesized_expression "(DAT_000251ac == 0)" ( (binary_expression "DAT_000251ac == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00012850(puVar12);\n  }" { (expression_statement "FUN_00012850(puVar12);" (call_expression "FUN_00012850(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) })) (if_statement "if (DAT_000251a8 == 0) {\n    FUN_000128f0();\n  }" if (parenthesized_expression "(DAT_000251a8 == 0)" ( (binary_expression "DAT_000251a8 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_000128f0();\n  }" { (expression_statement "FUN_000128f0();" (call_expression "FUN_000128f0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (DAT_000251a4 == 0) {\n    FUN_00012990();\n  }" if (parenthesized_expression "(DAT_000251a4 == 0)" ( (binary_expression "DAT_000251a4 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00012990();\n  }" { (expression_statement "FUN_00012990();" (call_expression "FUN_00012990()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "local_a8 = *piVar9;" (assignment_expression "local_a8 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (expression_statement "iVar3 = FUN_00012020();" (assignment_expression "iVar3 = FUN_00012020()" identifier = (call_expression "FUN_00012020()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 < 0) {\n    local_d0 = 0;\n  }\n  else {\n    local_d0 = DAT_000251c0[iVar3];\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    local_d0 = 0;\n  }" { (expression_statement "local_d0 = 0;" (assignment_expression "local_d0 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    local_d0 = DAT_000251c0[iVar3];\n  }" else (compound_statement "{\n    local_d0 = DAT_000251c0[iVar3];\n  }" { (expression_statement "local_d0 = DAT_000251c0[iVar3];" (assignment_expression "local_d0 = DAT_000251c0[iVar3]" identifier = (subscript_expression "DAT_000251c0[iVar3]" identifier [ identifier ])) ;) }))) (expression_statement "local_b4 = DAT_00025194;" (assignment_expression "local_b4 = DAT_00025194" identifier = identifier) ;) (expression_statement "local_ac = DAT_00025190;" (assignment_expression "local_ac = DAT_00025190" identifier = identifier) ;) (expression_statement "FUN_00019b30(&DAT_0001e964);" (call_expression "FUN_00019b30(&DAT_0001e964)" identifier (argument_list "(&DAT_0001e964)" ( (pointer_expression "&DAT_0001e964" & identifier) ))) ;) (expression_statement "FUN_00019f50(puVar12);" (call_expression "FUN_00019f50(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) (if_statement "if (local_118 != 0) {\n                    /* WARNING: Subroutine does not return */\n    exit(local_118);\n  }" if (parenthesized_expression "(local_118 != 0)" ( (binary_expression "local_118 != 0" identifier != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    exit(local_118);\n  }" { comment (expression_statement "exit(local_118);" (call_expression "exit(local_118)" identifier (argument_list "(local_118)" ( identifier ))) ;) })) (if_statement "if (local_140 == 0) {\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }" if (parenthesized_expression "(local_140 == 0)" ( (binary_expression "local_140 == 0" identifier == number_literal) )) (compound_statement "{\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }" { (expression_statement "fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);" (call_expression "fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1)" identifier (argument_list "("Empty grammar.\n",1,0xf,*(FILE **)puVar1)" ( (string_literal ""Empty grammar.\n"" " string_content escape_sequence ") , number_literal , number_literal , (pointer_expression "*(FILE **)puVar1" * (cast_expression "(FILE **)puVar1" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) comment (expression_statement "exit(1);" (call_expression "exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "local_114 = FUN_00019710("error");" (assignment_expression "local_114 = FUN_00019710("error")" identifier = (call_expression "FUN_00019710("error")" identifier (argument_list "("error")" ( (string_literal ""error"" " string_content ") )))) ;) (expression_statement "FUN_00019b30("{default}");" (call_expression "FUN_00019b30("{default}")" identifier (argument_list "("{default}")" ( (string_literal ""{default}"" " string_content ") ))) ;) (if_statement "if (DAT_000251a8 == 0) {\n    local_13c = 0;\n  }\n  else {\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }" if (parenthesized_expression "(DAT_000251a8 == 0)" ( (binary_expression "DAT_000251a8 == 0" identifier == number_literal) )) (compound_statement "{\n    local_13c = 0;\n  }" { (expression_statement "local_13c = 0;" (assignment_expression "local_13c = 0" identifier = number_literal) ;) }) (else_clause "else {\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }" else (compound_statement "{\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }" { (expression_statement "local_13c = *(size_t *)(DAT_000251a8 + 4);" (assignment_expression "local_13c = *(size_t *)(DAT_000251a8 + 4)" identifier = (pointer_expression "*(size_t *)(DAT_000251a8 + 4)" * (cast_expression "(size_t *)(DAT_000251a8 + 4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000251a8 + 4)" ( (binary_expression "DAT_000251a8 + 4" identifier + number_literal) ))))) ;) }))) (expression_statement "local_11c = (void *)FUN_0001c160();" (assignment_expression "local_11c = (void *)FUN_0001c160()" identifier = (cast_expression "(void *)FUN_0001c160()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001c160()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (0 < (int)local_13c) {\n    iVar3 = 0;\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }" if (parenthesized_expression "(0 < (int)local_13c)" ( (binary_expression "0 < (int)local_13c" number_literal < (cast_expression "(int)local_13c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    iVar3 = 0;\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);" do (compound_statement "{\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    }" { (expression_statement "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;" (assignment_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3" (pointer_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4)" * (cast_expression "(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)local_11c + iVar3 * 4) + 4)" ( (binary_expression "*(int *)((int)local_11c + iVar3 * 4) + 4" (pointer_expression "*(int *)((int)local_11c + iVar3 * 4)" * (cast_expression "(int *)((int)local_11c + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_11c + iVar3 * 4)" ( (binary_expression "(int)local_11c + iVar3 * 4" (cast_expression "(int)local_11c" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < (int)local_13c)" ( (binary_expression "iVar3 < (int)local_13c" identifier < (cast_expression "(int)local_13c" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (expression_statement "qsort(local_11c,local_13c,4,FUN_00011b40);" (call_expression "qsort(local_11c,local_13c,4,FUN_00011b40)" identifier (argument_list "(local_11c,local_13c,4,FUN_00011b40)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "pvVar2 = local_11c;" (assignment_expression "pvVar2 = local_11c" identifier = identifier) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (0 < (int)local_13c) {\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }" if (parenthesized_expression "(0 < (int)local_13c)" ( (binary_expression "0 < (int)local_13c" number_literal < (cast_expression "(int)local_13c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }" { (do_statement "do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);" do (compound_statement "{\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    }" { (expression_statement "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;" (assignment_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3" (pointer_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4)" * (cast_expression "(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)local_11c + iVar3 * 4) + 4)" ( (binary_expression "*(int *)((int)local_11c + iVar3 * 4) + 4" (pointer_expression "*(int *)((int)local_11c + iVar3 * 4)" * (cast_expression "(int *)((int)local_11c + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_11c + iVar3 * 4)" ( (binary_expression "(int)local_11c + iVar3 * 4" (cast_expression "(int)local_11c" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < (int)local_13c)" ( (binary_expression "iVar3 < (int)local_13c" identifier < (cast_expression "(int)local_13c" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (expression_statement "iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);" (assignment_expression "iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" identifier = (pointer_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" * (cast_expression "(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" ( (binary_expression "*(int *)((int)local_11c + iVar3 * 4 + -4) + 8" (pointer_expression "*(int *)((int)local_11c + iVar3 * 4 + -4)" * (cast_expression "(int *)((int)local_11c + iVar3 * 4 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_11c + iVar3 * 4 + -4)" ( (binary_expression "(int)local_11c + iVar3 * 4 + -4" (binary_expression "(int)local_11c + iVar3 * 4" (cast_expression "(int)local_11c" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar3 * 4" identifier * number_literal)) + number_literal) )))) + number_literal) ))))) ;) (while_statement "while (iVar10 == 2) {\n    iVar3 = iVar3 + -1;\n    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  }" while (parenthesized_expression "(iVar10 == 2)" ( (binary_expression "iVar10 == 2" identifier == number_literal) )) (compound_statement "{\n    iVar3 = iVar3 + -1;\n    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  }" { (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);" (assignment_expression "iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" identifier = (pointer_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" * (cast_expression "(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" ( (binary_expression "*(int *)((int)local_11c + iVar3 * 4 + -4) + 8" (pointer_expression "*(int *)((int)local_11c + iVar3 * 4 + -4)" * (cast_expression "(int *)((int)local_11c + iVar3 * 4 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_11c + iVar3 * 4 + -4)" ( (binary_expression "(int)local_11c + iVar3 * 4 + -4" (binary_expression "(int)local_11c + iVar3 * 4" (cast_expression "(int)local_11c" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar3 * 4" identifier * number_literal)) + number_literal) )))) + number_literal) ))))) ;) })) (expression_statement "local_13c = iVar3 + -1;" (assignment_expression "local_13c = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "ppuVar4 = __ctype_b_loc();" (assignment_expression "ppuVar4 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_138 = 1;" (assignment_expression "local_138 = 1" identifier = number_literal) ;) (while_statement "while ((*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)\n  {\n    local_138 = local_138 + 1;\n  }" while (parenthesized_expression "((*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1" (pointer_expression "*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1)" ( (binary_expression "(int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1" (binary_expression "(int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2" (cast_expression "(int)*ppuVar4" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar4" * identifier)) + (binary_expression "(uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2" (binary_expression "(uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)((int)pvVar2 + local_138 * 4)" * (pointer_expression "*(undefined4 **)((int)pvVar2 + local_138 * 4)" * (cast_expression "(undefined4 **)((int)pvVar2 + local_138 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pvVar2 + local_138 * 4)" ( (binary_expression "(int)pvVar2 + local_138 * 4" (cast_expression "(int)pvVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "local_138 * 4" identifier * number_literal)) ))))))) * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    local_138 = local_138 + 1;\n  }" { (expression_statement "local_138 = local_138 + 1;" (assignment_expression "local_138 = local_138 + 1" identifier = (binary_expression "local_138 + 1" identifier + number_literal)) ;) })) (if_statement "if (local_150 == 0) {\n    local_14c = 0;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n  }\n  else {\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }" if (parenthesized_expression "(local_150 == 0)" ( (binary_expression "local_150 == 0" identifier == number_literal) )) (compound_statement "{\n    local_14c = 0;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n  }" { (expression_statement "local_14c = 0;" (assignment_expression "local_14c = 0" identifier = number_literal) ;) (expression_statement "piVar9 = local_a4;" (assignment_expression "piVar9 = local_a4" identifier = identifier) ;) (for_statement "for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }" for ( (assignment_expression "iVar3 = 0x20" identifier = number_literal) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }" { (expression_statement "*piVar9 = 0;" (assignment_expression "*piVar9 = 0" (pointer_expression "*piVar9" * identifier) = number_literal) ;) (expression_statement "piVar9 = piVar9 + (uint)bVar11 * -2 + 1;" (assignment_expression "piVar9 = piVar9 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "piVar9 + (uint)bVar11 * -2 + 1" (binary_expression "piVar9 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) }) (else_clause "else {\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }" else (compound_statement "{\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }" { (expression_statement "iVar3 = local_150;" (assignment_expression "iVar3 = local_150" identifier = identifier) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);" do (compound_statement "{\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    }" { (if_statement "if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }" if (parenthesized_expression "(*(int *)(iVar3 + 0x20) == 0)" ( (binary_expression "*(int *)(iVar3 + 0x20) == 0" (pointer_expression "*(int *)(iVar3 + 0x20)" * (cast_expression "(int *)(iVar3 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x20)" ( (binary_expression "iVar3 + 0x20" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }" { (expression_statement "iVar7 = iVar10;" (assignment_expression "iVar7 = iVar10" identifier = identifier) ;) (expression_statement "iVar10 = -1;" (assignment_expression "iVar10 = -1" identifier = number_literal) ;) }) (else_clause "else {\n        iVar7 = iVar10 + 1;\n      }" else (compound_statement "{\n        iVar7 = iVar10 + 1;\n      }" { (expression_statement "iVar7 = iVar10 + 1;" (assignment_expression "iVar7 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) }))) (expression_statement "*(int *)(iVar3 + 0x3c) = iVar10;" (assignment_expression "*(int *)(iVar3 + 0x3c) = iVar10" (pointer_expression "*(int *)(iVar3 + 0x3c)" * (cast_expression "(int *)(iVar3 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x3c)" ( (binary_expression "iVar3 + 0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = *(int *)(iVar3 + 0x4c);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x4c)" identifier = (pointer_expression "*(int *)(iVar3 + 0x4c)" * (cast_expression "(int *)(iVar3 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4c)" ( (binary_expression "iVar3 + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = local_150;" (assignment_expression "iVar5 = local_150" identifier = identifier) ;) (expression_statement "iVar10 = iVar7;" (assignment_expression "iVar10 = iVar7" identifier = identifier) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) (do_statement "do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);" do (compound_statement "{\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    }" { (if_statement "if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }" if (parenthesized_expression "(*(int *)(iVar5 + 0x3c) < 0)" ( (binary_expression "*(int *)(iVar5 + 0x3c) < 0" (pointer_expression "*(int *)(iVar5 + 0x3c)" * (cast_expression "(int *)(iVar5 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x3c)" ( (binary_expression "iVar5 + 0x3c" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }" { (expression_statement "*(int *)(iVar5 + 0x3c) = iVar7;" (assignment_expression "*(int *)(iVar5 + 0x3c) = iVar7" (pointer_expression "*(int *)(iVar5 + 0x3c)" * (cast_expression "(int *)(iVar5 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x3c)" ( (binary_expression "iVar5 + 0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) })) (expression_statement "piVar9 = (int *)(iVar5 + 0x4c);" (assignment_expression "piVar9 = (int *)(iVar5 + 0x4c)" identifier = (cast_expression "(int *)(iVar5 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x4c)" ( (binary_expression "iVar5 + 0x4c" identifier + number_literal) )))) ;) (expression_statement "iVar5 = *piVar9;" (assignment_expression "iVar5 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) }) while (parenthesized_expression "(*piVar9 != 0)" ( (binary_expression "*piVar9 != 0" (pointer_expression "*piVar9" * identifier) != number_literal) )) ;) (expression_statement "local_14c = local_150;" (assignment_expression "local_14c = local_150" identifier = identifier) ;) (expression_statement "piVar9 = local_a4;" (assignment_expression "piVar9 = local_a4" identifier = identifier) ;) (for_statement "for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }" for ( (assignment_expression "iVar3 = 0x20" identifier = number_literal) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }" { (expression_statement "*piVar9 = 0;" (assignment_expression "*piVar9 = 0" (pointer_expression "*piVar9" * identifier) = number_literal) ;) (expression_statement "piVar9 = piVar9 + (uint)bVar11 * -2 + 1;" (assignment_expression "piVar9 = piVar9 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "piVar9 + (uint)bVar11 * -2 + 1" (binary_expression "piVar9 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (do_statement "do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);" do (compound_statement "{\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    }" { (expression_statement "iVar3 = *(int *)(local_150 + 0x4c);" (assignment_expression "iVar3 = *(int *)(local_150 + 0x4c)" identifier = (pointer_expression "*(int *)(local_150 + 0x4c)" * (cast_expression "(int *)(local_150 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_150 + 0x4c)" ( (binary_expression "local_150 + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(local_150 + 0x4c) = 0;" (assignment_expression "*(undefined4 *)(local_150 + 0x4c) = 0" (pointer_expression "*(undefined4 *)(local_150 + 0x4c)" * (cast_expression "(undefined4 *)(local_150 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_150 + 0x4c)" ( (binary_expression "local_150 + 0x4c" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }" if (parenthesized_expression "(local_a4[0] != 0)" ( (binary_expression "local_a4[0] != 0" (subscript_expression "local_a4[0]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }" { (expression_statement "local_150 = FUN_00011a80();" (assignment_expression "local_150 = FUN_00011a80()" identifier = (call_expression "FUN_00011a80()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;) (expression_statement "local_a4[0] = 0;" (assignment_expression "local_a4[0] = 0" (subscript_expression "local_a4[0]" identifier [ number_literal ]) = number_literal) ;) (do_statement "do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);" do (compound_statement "{\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        }" { (if_statement "if (local_a4[iVar10] == 0) break;" if (parenthesized_expression "(local_a4[iVar10] == 0)" ( (binary_expression "local_a4[iVar10] == 0" (subscript_expression "local_a4[iVar10]" identifier [ identifier ]) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "local_150 = FUN_00011a80();" (assignment_expression "local_150 = FUN_00011a80()" identifier = (call_expression "FUN_00011a80()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_a4[iVar10] = 0;" (assignment_expression "local_a4[iVar10] = 0" (subscript_expression "local_a4[iVar10]" identifier [ identifier ]) = number_literal) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar10 != 0x20)" ( (binary_expression "iVar10 != 0x20" identifier != number_literal) )) ;) })) (expression_statement "local_a4[iVar10] = local_150;" (assignment_expression "local_a4[iVar10] = local_150" (subscript_expression "local_a4[iVar10]" identifier [ identifier ]) = identifier) ;) (expression_statement "local_150 = iVar3;" (assignment_expression "local_150 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }))) (expression_statement "piVar9 = local_a4;" (assignment_expression "piVar9 = local_a4" identifier = identifier) ;) (do_statement "do {\n    piVar9 = piVar9 + 1;\n    local_150 = FUN_00011a80();\n  } while (local_a4 + 0x20 != piVar9);" do (compound_statement "{\n    piVar9 = piVar9 + 1;\n    local_150 = FUN_00011a80();\n  }" { (expression_statement "piVar9 = piVar9 + 1;" (assignment_expression "piVar9 = piVar9 + 1" identifier = (binary_expression "piVar9 + 1" identifier + number_literal)) ;) (expression_statement "local_150 = FUN_00011a80();" (assignment_expression "local_150 = FUN_00011a80()" identifier = (call_expression "FUN_00011a80()" identifier (argument_list "()" ( )))) ;) }) while (parenthesized_expression "(local_a4 + 0x20 != piVar9)" ( (binary_expression "local_a4 + 0x20 != piVar9" (binary_expression "local_a4 + 0x20" identifier + number_literal) != identifier) )) ;) (if_statement "if (DAT_0002518c == 0) {\n    DAT_000251b0 = local_138 + 2;\n    puVar8 = puVar12;\n    FUN_00013000(puVar12);\n    FUN_00016270(puVar12);\n    local_148 = 0;\n    FUN_0001cfb0(puVar12);\n    local_154 = FUN_0001c5a0();\n    FUN_00013ee0(puVar12);\n    FUN_000130f0(puVar12);\n    uVar6 = FUN_000197b0(puVar12);\n    if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }\n    if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }\n    if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }\n    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);\n    if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }\n  }\n  else {\n    FUN_00014350(puVar12);\n  }" if (parenthesized_expression "(DAT_0002518c == 0)" ( (binary_expression "DAT_0002518c == 0" identifier == number_literal) )) (compound_statement "{\n    DAT_000251b0 = local_138 + 2;\n    puVar8 = puVar12;\n    FUN_00013000(puVar12);\n    FUN_00016270(puVar12);\n    local_148 = 0;\n    FUN_0001cfb0(puVar12);\n    local_154 = FUN_0001c5a0();\n    FUN_00013ee0(puVar12);\n    FUN_000130f0(puVar12);\n    uVar6 = FUN_000197b0(puVar12);\n    if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }\n    if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }\n    if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }\n    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);\n    if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }\n  }" { (expression_statement "DAT_000251b0 = local_138 + 2;" (assignment_expression "DAT_000251b0 = local_138 + 2" identifier = (binary_expression "local_138 + 2" identifier + number_literal)) ;) (expression_statement "puVar8 = puVar12;" (assignment_expression "puVar8 = puVar12" identifier = identifier) ;) (expression_statement "FUN_00013000(puVar12);" (call_expression "FUN_00013000(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "FUN_00016270(puVar12);" (call_expression "FUN_00016270(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "local_148 = 0;" (assignment_expression "local_148 = 0" identifier = number_literal) ;) (expression_statement "FUN_0001cfb0(puVar12);" (call_expression "FUN_0001cfb0(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "local_154 = FUN_0001c5a0();" (assignment_expression "local_154 = FUN_0001c5a0()" identifier = (call_expression "FUN_0001c5a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00013ee0(puVar12);" (call_expression "FUN_00013ee0(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "FUN_000130f0(puVar12);" (call_expression "FUN_000130f0(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "uVar6 = FUN_000197b0(puVar12);" (assignment_expression "uVar6 = FUN_000197b0(puVar12)" identifier = (call_expression "FUN_000197b0(puVar12)" identifier (argument_list "(puVar12)" ( identifier )))) ;) (if_statement "if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }" if (parenthesized_expression "(DAT_00025188 == 0)" ( (binary_expression "DAT_00025188 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar6 = FUN_00019c10(puVar8);\n    }" { (expression_statement "uVar6 = FUN_00019c10(puVar8);" (assignment_expression "uVar6 = FUN_00019c10(puVar8)" identifier = (call_expression "FUN_00019c10(puVar8)" identifier (argument_list "(puVar8)" ( identifier )))) ;) })) (if_statement "if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }" if (parenthesized_expression "(DAT_00025184 == 0)" ( (binary_expression "DAT_00025184 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar6 = FUN_000160e0(puVar8);\n    }" { (expression_statement "uVar6 = FUN_000160e0(puVar8);" (assignment_expression "uVar6 = FUN_000160e0(puVar8)" identifier = (call_expression "FUN_000160e0(puVar8)" identifier (argument_list "(puVar8)" ( identifier )))) ;) })) (if_statement "if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }" if (parenthesized_expression "(DAT_00025180 == 0)" ( (binary_expression "DAT_00025180 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar6 = FUN_000147f0(puVar8);\n    }" { (expression_statement "uVar6 = FUN_000147f0(puVar8);" (assignment_expression "uVar6 = FUN_000147f0(puVar8)" identifier = (call_expression "FUN_000147f0(puVar8)" identifier (argument_list "(puVar8)" ( identifier )))) ;) })) (expression_statement "FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);" (call_expression "FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6)" identifier (argument_list "(puVar8,DAT_0002517c,uVar6,uVar6)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }" if (parenthesized_expression "(DAT_0002517c == 0)" ( (binary_expression "DAT_0002517c == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_00015f30(puVar8);\n    }" { (expression_statement "FUN_00015f30(puVar8);" (call_expression "FUN_00015f30(puVar8)" identifier (argument_list "(puVar8)" ( identifier ))) ;) })) }) (else_clause "else {\n    FUN_00014350(puVar12);\n  }" else (compound_statement "{\n    FUN_00014350(puVar12);\n  }" { (expression_statement "FUN_00014350(puVar12);" (call_expression "FUN_00014350(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) }))) (if_statement "if (DAT_00025178 != 0) {\n    puts("Parser statistics:");\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n  }" if (parenthesized_expression "(DAT_00025178 != 0)" ( (binary_expression "DAT_00025178 != 0" identifier != number_literal) )) (compound_statement "{\n    puts("Parser statistics:");\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n  }" { (expression_statement "puts("Parser statistics:");" (call_expression "puts("Parser statistics:")" identifier (argument_list "("Parser statistics:")" ( (string_literal ""Parser statistics:"" " string_content ") ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (0 < local_c4) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);\n  }" if (parenthesized_expression "(0 < local_c4)" ( (binary_expression "0 < local_c4" number_literal < identifier) )) (compound_statement "{\n    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);\n  }" { (expression_statement "__fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);" (call_expression "__fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4)" identifier (argument_list "(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (string_literal ""%d parsing conflicts.\n"" " string_content escape_sequence ") , identifier ))) ;) })) (expression_statement "local_16c = 1;" (assignment_expression "local_16c = 1" identifier = number_literal) ;) (if_statement "if (local_118 < 1) {\n    local_16c = (uint)(0 < local_c4);\n  }" if (parenthesized_expression "(local_118 < 1)" ( (binary_expression "local_118 < 1" identifier < number_literal) )) (compound_statement "{\n    local_16c = (uint)(0 < local_c4);\n  }" { (expression_statement "local_16c = (uint)(0 < local_c4);" (assignment_expression "local_16c = (uint)(0 < local_c4)" identifier = (call_expression "(uint)(0 < local_c4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0 < local_c4)" ( (binary_expression "0 < local_c4" number_literal < identifier) )))) ;) })) comment (expression_statement "exit(local_16c);" (call_expression "exit(local_16c)" identifier (argument_list "(local_16c)" ( identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint main(int argc,char **argv)\n\n{\n  rule *pA;\n  symbol_type sVar1;\n  undefined *puVar2;\n  char **ppcVar3;\n  symbol **ppsVar4;\n  int iVar5;\n  ushort **ppuVar6;\n  rule *prVar7;\n  rule *prVar8;\n  int iVar9;\n  lemon *plVar10;\n  rule **pprVar11;\n  int in_GS_OFFSET;\n  byte bVar12;\n  uint local_16c;\n  lemon local_154;\n  rule *local_a4 [35];\n  FILE *pFStack_18;\n  \n  ppcVar3 = argv;\n  puVar2 = PTR_stderr_00024fe8;\n  bVar12 = 0;\n  pFStack_18 = (FILE *)&argc;\n  local_a4[0x20] = *(rule **)(in_GS_OFFSET + 0x14);\n  ::argv = argv;\n  errstream = *(FILE **)PTR_stderr_00024fe8;\n  op = main::options;\n  if ((argv != (char **)0x0) && (*argv != (char *)0x0)) {\n    OptInit(argv,(s_options *)errstream,pFStack_18);\n  }\n  if (main::version != 0) {\n    puts("Lemon version 1.0");\n                    /* WARNING: Subroutine does not return */\n    exit(0);\n  }\n  iVar5 = OptNArgs();\n  if (iVar5 != 1) {\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }\n  plVar10 = &local_154;\n  for (iVar5 = 0x2c; iVar5 != 0; iVar5 = iVar5 + -1) {\n    plVar10->sorted = (state **)0x0;\n    plVar10 = (lemon *)((int)plVar10 + (uint)bVar12 * -8 + 4);\n  }\n  if (x1a == (s_x1 *)0x0) {\n    Strsafe_init();\n  }\n  if (x2a == (s_x2 *)0x0) {\n    Symbol_init();\n  }\n  if (x3a == (s_x3 *)0x0) {\n    State_init();\n  }\n  local_154.argv0 = *ppcVar3;\n  iVar5 = argindex(0);\n  if (iVar5 < 0) {\n    local_154.filename = (char *)0x0;\n  }\n  else {\n    local_154.filename = ::argv[iVar5];\n  }\n  local_154.basisflag = main::basisflag;\n  local_154.nolinenosflag = main::nolinenosflag;\n  Symbol_new("$");\n  Parse(&local_154);\n  if (local_154.errorcnt != 0) {\n                    /* WARNING: Subroutine does not return */\n    exit(local_154.errorcnt);\n  }\n  if (local_154.nrule == 0) {\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }\n  local_154.errsym = Symbol_find("error");\n  Symbol_new("{default}");\n  if (x2a == (s_x2 *)0x0) {\n    local_154.nsymbol = 0;\n  }\n  else {\n    local_154.nsymbol = x2a->count;\n  }\n  local_154.symbols = Symbol_arrayof();\n  if (0 < local_154.nsymbol) {\n    iVar5 = 0;\n    do {\n      local_154.symbols[iVar5]->index = iVar5;\n      iVar5 = iVar5 + 1;\n    } while (iVar5 < local_154.nsymbol);\n  }\n  qsort(local_154.symbols,local_154.nsymbol,4,Symbolcmpp);\n  ppsVar4 = local_154.symbols;\n  iVar5 = 0;\n  if (0 < local_154.nsymbol) {\n    do {\n      local_154.symbols[iVar5]->index = iVar5;\n      iVar5 = iVar5 + 1;\n    } while (iVar5 < local_154.nsymbol);\n  }\n  sVar1 = local_154.symbols[iVar5 + -1]->type;\n  while (sVar1 == MULTITERMINAL) {\n    sVar1 = local_154.symbols[iVar5 + -2]->type;\n    iVar5 = iVar5 + -1;\n  }\n  local_154.nsymbol = iVar5 + -1;\n  ppuVar6 = __ctype_b_loc();\n  local_154.nterminal = 1;\n  while ((*(byte *)((int)*ppuVar6 + (uint)(byte)*ppsVar4[local_154.nterminal]->name * 2 + 1) & 1) !=\n         0) {\n    local_154.nterminal = local_154.nterminal + 1;\n  }\n  if (local_154.rule == (rule *)0x0) {\n    local_154.startRule = (rule *)0x0;\n    pprVar11 = local_a4;\n    for (iVar5 = 0x20; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *pprVar11 = (rule *)0x0;\n      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;\n    }\n  }\n  else {\n    prVar8 = local_154.rule;\n    iVar5 = 0;\n    do {\n      if (prVar8->code == (char *)0x0) {\n        iVar9 = iVar5;\n        iVar5 = -1;\n      }\n      else {\n        iVar9 = iVar5 + 1;\n      }\n      prVar8->iRule = iVar5;\n      prVar8 = prVar8->next;\n      prVar7 = local_154.rule;\n      iVar5 = iVar9;\n    } while (prVar8 != (rule *)0x0);\n    do {\n      if (prVar7->iRule < 0) {\n        prVar7->iRule = iVar9;\n        iVar9 = iVar9 + 1;\n      }\n      pprVar11 = &prVar7->next;\n      prVar7 = *pprVar11;\n    } while (*pprVar11 != (rule *)0x0);\n    local_154.startRule = local_154.rule;\n    pprVar11 = local_a4;\n    for (iVar5 = 0x20; prVar8 = local_154.rule, iVar5 != 0; iVar5 = iVar5 + -1) {\n      *pprVar11 = (rule *)0x0;\n      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;\n    }\n    do {\n      prVar7 = prVar8->next;\n      iVar5 = 0;\n      prVar8->next = (rule *)0x0;\n      if (local_a4[0] != (rule *)0x0) {\n        prVar8 = Rule_merge(local_a4[0],prVar8);\n        iVar5 = 1;\n        local_a4[0] = (rule *)0x0;\n        do {\n          pA = local_a4[iVar5];\n          if (pA == (rule *)0x0) break;\n          prVar8 = Rule_merge(pA,prVar8);\n          local_a4[iVar5] = (rule *)0x0;\n          iVar5 = iVar5 + 1;\n        } while (iVar5 != 0x20);\n      }\n      local_a4[iVar5] = prVar8;\n      prVar8 = prVar7;\n    } while (prVar7 != (rule *)0x0);\n  }\n  pprVar11 = local_a4;\n  prVar8 = (rule *)0x0;\n  do {\n    prVar7 = *pprVar11;\n    pprVar11 = pprVar11 + 1;\n    prVar8 = Rule_merge(prVar7,prVar8);\n  } while (local_a4 + 0x20 != pprVar11);\n  local_154.rule = prVar8;\n  if (main::rpflag == 0) {\n    size = local_154.nterminal + 2;\n    FindRulePrecedences(&local_154);\n    FindFirstSets(&local_154);\n    local_154.nstate = 0;\n    FindStates(&local_154);\n    local_154.sorted = State_arrayof();\n    FindLinks(&local_154);\n    FindFollowSets(&local_154);\n    FindActions(&local_154);\n    if (main::compress == 0) {\n      CompressTables(&local_154);\n    }\n    if (main::noResort == 0) {\n      ResortStates(&local_154);\n    }\n    if (main::quiet == 0) {\n      ReportOutput(&local_154);\n    }\n    ReportTable(&local_154,main::mhflag);\n    if (main::mhflag == 0) {\n      ReportHeader(&local_154);\n    }\n  }\n  else {\n    Reprint(&local_154);\n  }\n  if (main::statistics != 0) {\n    puts("Parser statistics:");\n    stats_line("terminal symbols",local_154.nterminal);\n    stats_line("non-terminal symbols",local_154.nsymbol - local_154.nterminal);\n    stats_line("total symbols",local_154.nsymbol);\n    stats_line("rules",local_154.nrule);\n    stats_line("states",local_154.nxstate);\n    stats_line("conflicts",local_154.nconflict);\n    stats_line("action table entries",local_154.nactiontab);\n    stats_line("lookahead table entries",local_154.nlookaheadtab);\n    stats_line("total table size (bytes)",local_154.tablesize);\n  }\n  if (0 < local_154.nconflict) {\n    __fprintf_chk(*(undefined4 *)puVar2,1,"%d parsing conflicts.\n",local_154.nconflict);\n  }\n  local_16c = 1;\n  if (local_154.errorcnt < 1) {\n    local_16c = (uint)(0 < local_154.nconflict);\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(local_16c);\n}\n\n" comment (function_definition "int main(int argc,char **argv)\n\n{\n  rule *pA;\n  symbol_type sVar1;\n  undefined *puVar2;\n  char **ppcVar3;\n  symbol **ppsVar4;\n  int iVar5;\n  ushort **ppuVar6;\n  rule *prVar7;\n  rule *prVar8;\n  int iVar9;\n  lemon *plVar10;\n  rule **pprVar11;\n  int in_GS_OFFSET;\n  byte bVar12;\n  uint local_16c;\n  lemon local_154;\n  rule *local_a4 [35];\n  FILE *pFStack_18;\n  \n  ppcVar3 = argv;\n  puVar2 = PTR_stderr_00024fe8;\n  bVar12 = 0;\n  pFStack_18 = (FILE *)&argc;\n  local_a4[0x20] = *(rule **)(in_GS_OFFSET + 0x14);\n  ::argv = argv;\n  errstream = *(FILE **)PTR_stderr_00024fe8;\n  op = main::options;\n  if ((argv != (char **)0x0) && (*argv != (char *)0x0)) {\n    OptInit(argv,(s_options *)errstream,pFStack_18);\n  }\n  if (main::version != 0) {\n    puts("Lemon version 1.0");\n                    /* WARNING: Subroutine does not return */\n    exit(0);\n  }\n  iVar5 = OptNArgs();\n  if (iVar5 != 1) {\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }\n  plVar10 = &local_154;\n  for (iVar5 = 0x2c; iVar5 != 0; iVar5 = iVar5 + -1) {\n    plVar10->sorted = (state **)0x0;\n    plVar10 = (lemon *)((int)plVar10 + (uint)bVar12 * -8 + 4);\n  }\n  if (x1a == (s_x1 *)0x0) {\n    Strsafe_init();\n  }\n  if (x2a == (s_x2 *)0x0) {\n    Symbol_init();\n  }\n  if (x3a == (s_x3 *)0x0) {\n    State_init();\n  }\n  local_154.argv0 = *ppcVar3;\n  iVar5 = argindex(0);\n  if (iVar5 < 0) {\n    local_154.filename = (char *)0x0;\n  }\n  else {\n    local_154.filename = ::argv[iVar5];\n  }\n  local_154.basisflag = main::basisflag;\n  local_154.nolinenosflag = main::nolinenosflag;\n  Symbol_new("$");\n  Parse(&local_154);\n  if (local_154.errorcnt != 0) {\n                    /* WARNING: Subroutine does not return */\n    exit(local_154.errorcnt);\n  }\n  if (local_154.nrule == 0) {\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }\n  local_154.errsym = Symbol_find("error");\n  Symbol_new("{default}");\n  if (x2a == (s_x2 *)0x0) {\n    local_154.nsymbol = 0;\n  }\n  else {\n    local_154.nsymbol = x2a->count;\n  }\n  local_154.symbols = Symbol_arrayof();\n  if (0 < local_154.nsymbol) {\n    iVar5 = 0;\n    do {\n      local_154.symbols[iVar5]->index = iVar5;\n      iVar5 = iVar5 + 1;\n    } while (iVar5 < local_154.nsymbol);\n  }\n  qsort(local_154.symbols,local_154.nsymbol,4,Symbolcmpp);\n  ppsVar4 = local_154.symbols;\n  iVar5 = 0;\n  if (0 < local_154.nsymbol) {\n    do {\n      local_154.symbols[iVar5]->index = iVar5;\n      iVar5 = iVar5 + 1;\n    } while (iVar5 < local_154.nsymbol);\n  }\n  sVar1 = local_154.symbols[iVar5 + -1]->type;\n  while (sVar1 == MULTITERMINAL) {\n    sVar1 = local_154.symbols[iVar5 + -2]->type;\n    iVar5 = iVar5 + -1;\n  }\n  local_154.nsymbol = iVar5 + -1;\n  ppuVar6 = __ctype_b_loc();\n  local_154.nterminal = 1;\n  while ((*(byte *)((int)*ppuVar6 + (uint)(byte)*ppsVar4[local_154.nterminal]->name * 2 + 1) & 1) !=\n         0) {\n    local_154.nterminal = local_154.nterminal + 1;\n  }\n  if (local_154.rule == (rule *)0x0) {\n    local_154.startRule = (rule *)0x0;\n    pprVar11 = local_a4;\n    for (iVar5 = 0x20; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *pprVar11 = (rule *)0x0;\n      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;\n    }\n  }\n  else {\n    prVar8 = local_154.rule;\n    iVar5 = 0;\n    do {\n      if (prVar8->code == (char *)0x0) {\n        iVar9 = iVar5;\n        iVar5 = -1;\n      }\n      else {\n        iVar9 = iVar5 + 1;\n      }\n      prVar8->iRule = iVar5;\n      prVar8 = prVar8->next;\n      prVar7 = local_154.rule;\n      iVar5 = iVar9;\n    } while (prVar8 != (rule *)0x0);\n    do {\n      if (prVar7->iRule < 0) {\n        prVar7->iRule = iVar9;\n        iVar9 = iVar9 + 1;\n      }\n      pprVar11 = &prVar7->next;\n      prVar7 = *pprVar11;\n    } while (*pprVar11 != (rule *)0x0);\n    local_154.startRule = local_154.rule;\n    pprVar11 = local_a4;\n    for (iVar5 = 0x20; prVar8 = local_154.rule, iVar5 != 0; iVar5 = iVar5 + -1) {\n      *pprVar11 = (rule *)0x0;\n      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;\n    }\n    do {\n      prVar7 = prVar8->next;\n      iVar5 = 0;\n      prVar8->next = (rule *)0x0;\n      if (local_a4[0] != (rule *)0x0) {\n        prVar8 = Rule_merge(local_a4[0],prVar8);\n        iVar5 = 1;\n        local_a4[0] = (rule *)0x0;\n        do {\n          pA = local_a4[iVar5];\n          if (pA == (rule *)0x0) break;\n          prVar8 = Rule_merge(pA,prVar8);\n          local_a4[iVar5] = (rule *)0x0;\n          iVar5 = iVar5 + 1;\n        } while (iVar5 != 0x20);\n      }\n      local_a4[iVar5] = prVar8;\n      prVar8 = prVar7;\n    } while (prVar7 != (rule *)0x0);\n  }\n  pprVar11 = local_a4;\n  prVar8 = (rule *)0x0;\n  do {\n    prVar7 = *pprVar11;\n    pprVar11 = pprVar11 + 1;\n    prVar8 = Rule_merge(prVar7,prVar8);\n  } while (local_a4 + 0x20 != pprVar11);\n  local_154.rule = prVar8;\n  if (main::rpflag == 0) {\n    size = local_154.nterminal + 2;\n    FindRulePrecedences(&local_154);\n    FindFirstSets(&local_154);\n    local_154.nstate = 0;\n    FindStates(&local_154);\n    local_154.sorted = State_arrayof();\n    FindLinks(&local_154);\n    FindFollowSets(&local_154);\n    FindActions(&local_154);\n    if (main::compress == 0) {\n      CompressTables(&local_154);\n    }\n    if (main::noResort == 0) {\n      ResortStates(&local_154);\n    }\n    if (main::quiet == 0) {\n      ReportOutput(&local_154);\n    }\n    ReportTable(&local_154,main::mhflag);\n    if (main::mhflag == 0) {\n      ReportHeader(&local_154);\n    }\n  }\n  else {\n    Reprint(&local_154);\n  }\n  if (main::statistics != 0) {\n    puts("Parser statistics:");\n    stats_line("terminal symbols",local_154.nterminal);\n    stats_line("non-terminal symbols",local_154.nsymbol - local_154.nterminal);\n    stats_line("total symbols",local_154.nsymbol);\n    stats_line("rules",local_154.nrule);\n    stats_line("states",local_154.nxstate);\n    stats_line("conflicts",local_154.nconflict);\n    stats_line("action table entries",local_154.nactiontab);\n    stats_line("lookahead table entries",local_154.nlookaheadtab);\n    stats_line("total table size (bytes)",local_154.tablesize);\n  }\n  if (0 < local_154.nconflict) {\n    __fprintf_chk(*(undefined4 *)puVar2,1,"%d parsing conflicts.\n",local_154.nconflict);\n  }\n  local_16c = 1;\n  if (local_154.errorcnt < 1) {\n    local_16c = (uint)(0 < local_154.nconflict);\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(local_16c);\n}" primitive_type (function_declarator "main(int argc,char **argv)" identifier (parameter_list "(int argc,char **argv)" ( (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "char **argv" primitive_type (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  rule *pA;\n  symbol_type sVar1;\n  undefined *puVar2;\n  char **ppcVar3;\n  symbol **ppsVar4;\n  int iVar5;\n  ushort **ppuVar6;\n  rule *prVar7;\n  rule *prVar8;\n  int iVar9;\n  lemon *plVar10;\n  rule **pprVar11;\n  int in_GS_OFFSET;\n  byte bVar12;\n  uint local_16c;\n  lemon local_154;\n  rule *local_a4 [35];\n  FILE *pFStack_18;\n  \n  ppcVar3 = argv;\n  puVar2 = PTR_stderr_00024fe8;\n  bVar12 = 0;\n  pFStack_18 = (FILE *)&argc;\n  local_a4[0x20] = *(rule **)(in_GS_OFFSET + 0x14);\n  ::argv = argv;\n  errstream = *(FILE **)PTR_stderr_00024fe8;\n  op = main::options;\n  if ((argv != (char **)0x0) && (*argv != (char *)0x0)) {\n    OptInit(argv,(s_options *)errstream,pFStack_18);\n  }\n  if (main::version != 0) {\n    puts("Lemon version 1.0");\n                    /* WARNING: Subroutine does not return */\n    exit(0);\n  }\n  iVar5 = OptNArgs();\n  if (iVar5 != 1) {\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }\n  plVar10 = &local_154;\n  for (iVar5 = 0x2c; iVar5 != 0; iVar5 = iVar5 + -1) {\n    plVar10->sorted = (state **)0x0;\n    plVar10 = (lemon *)((int)plVar10 + (uint)bVar12 * -8 + 4);\n  }\n  if (x1a == (s_x1 *)0x0) {\n    Strsafe_init();\n  }\n  if (x2a == (s_x2 *)0x0) {\n    Symbol_init();\n  }\n  if (x3a == (s_x3 *)0x0) {\n    State_init();\n  }\n  local_154.argv0 = *ppcVar3;\n  iVar5 = argindex(0);\n  if (iVar5 < 0) {\n    local_154.filename = (char *)0x0;\n  }\n  else {\n    local_154.filename = ::argv[iVar5];\n  }\n  local_154.basisflag = main::basisflag;\n  local_154.nolinenosflag = main::nolinenosflag;\n  Symbol_new("$");\n  Parse(&local_154);\n  if (local_154.errorcnt != 0) {\n                    /* WARNING: Subroutine does not return */\n    exit(local_154.errorcnt);\n  }\n  if (local_154.nrule == 0) {\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }\n  local_154.errsym = Symbol_find("error");\n  Symbol_new("{default}");\n  if (x2a == (s_x2 *)0x0) {\n    local_154.nsymbol = 0;\n  }\n  else {\n    local_154.nsymbol = x2a->count;\n  }\n  local_154.symbols = Symbol_arrayof();\n  if (0 < local_154.nsymbol) {\n    iVar5 = 0;\n    do {\n      local_154.symbols[iVar5]->index = iVar5;\n      iVar5 = iVar5 + 1;\n    } while (iVar5 < local_154.nsymbol);\n  }\n  qsort(local_154.symbols,local_154.nsymbol,4,Symbolcmpp);\n  ppsVar4 = local_154.symbols;\n  iVar5 = 0;\n  if (0 < local_154.nsymbol) {\n    do {\n      local_154.symbols[iVar5]->index = iVar5;\n      iVar5 = iVar5 + 1;\n    } while (iVar5 < local_154.nsymbol);\n  }\n  sVar1 = local_154.symbols[iVar5 + -1]->type;\n  while (sVar1 == MULTITERMINAL) {\n    sVar1 = local_154.symbols[iVar5 + -2]->type;\n    iVar5 = iVar5 + -1;\n  }\n  local_154.nsymbol = iVar5 + -1;\n  ppuVar6 = __ctype_b_loc();\n  local_154.nterminal = 1;\n  while ((*(byte *)((int)*ppuVar6 + (uint)(byte)*ppsVar4[local_154.nterminal]->name * 2 + 1) & 1) !=\n         0) {\n    local_154.nterminal = local_154.nterminal + 1;\n  }\n  if (local_154.rule == (rule *)0x0) {\n    local_154.startRule = (rule *)0x0;\n    pprVar11 = local_a4;\n    for (iVar5 = 0x20; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *pprVar11 = (rule *)0x0;\n      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;\n    }\n  }\n  else {\n    prVar8 = local_154.rule;\n    iVar5 = 0;\n    do {\n      if (prVar8->code == (char *)0x0) {\n        iVar9 = iVar5;\n        iVar5 = -1;\n      }\n      else {\n        iVar9 = iVar5 + 1;\n      }\n      prVar8->iRule = iVar5;\n      prVar8 = prVar8->next;\n      prVar7 = local_154.rule;\n      iVar5 = iVar9;\n    } while (prVar8 != (rule *)0x0);\n    do {\n      if (prVar7->iRule < 0) {\n        prVar7->iRule = iVar9;\n        iVar9 = iVar9 + 1;\n      }\n      pprVar11 = &prVar7->next;\n      prVar7 = *pprVar11;\n    } while (*pprVar11 != (rule *)0x0);\n    local_154.startRule = local_154.rule;\n    pprVar11 = local_a4;\n    for (iVar5 = 0x20; prVar8 = local_154.rule, iVar5 != 0; iVar5 = iVar5 + -1) {\n      *pprVar11 = (rule *)0x0;\n      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;\n    }\n    do {\n      prVar7 = prVar8->next;\n      iVar5 = 0;\n      prVar8->next = (rule *)0x0;\n      if (local_a4[0] != (rule *)0x0) {\n        prVar8 = Rule_merge(local_a4[0],prVar8);\n        iVar5 = 1;\n        local_a4[0] = (rule *)0x0;\n        do {\n          pA = local_a4[iVar5];\n          if (pA == (rule *)0x0) break;\n          prVar8 = Rule_merge(pA,prVar8);\n          local_a4[iVar5] = (rule *)0x0;\n          iVar5 = iVar5 + 1;\n        } while (iVar5 != 0x20);\n      }\n      local_a4[iVar5] = prVar8;\n      prVar8 = prVar7;\n    } while (prVar7 != (rule *)0x0);\n  }\n  pprVar11 = local_a4;\n  prVar8 = (rule *)0x0;\n  do {\n    prVar7 = *pprVar11;\n    pprVar11 = pprVar11 + 1;\n    prVar8 = Rule_merge(prVar7,prVar8);\n  } while (local_a4 + 0x20 != pprVar11);\n  local_154.rule = prVar8;\n  if (main::rpflag == 0) {\n    size = local_154.nterminal + 2;\n    FindRulePrecedences(&local_154);\n    FindFirstSets(&local_154);\n    local_154.nstate = 0;\n    FindStates(&local_154);\n    local_154.sorted = State_arrayof();\n    FindLinks(&local_154);\n    FindFollowSets(&local_154);\n    FindActions(&local_154);\n    if (main::compress == 0) {\n      CompressTables(&local_154);\n    }\n    if (main::noResort == 0) {\n      ResortStates(&local_154);\n    }\n    if (main::quiet == 0) {\n      ReportOutput(&local_154);\n    }\n    ReportTable(&local_154,main::mhflag);\n    if (main::mhflag == 0) {\n      ReportHeader(&local_154);\n    }\n  }\n  else {\n    Reprint(&local_154);\n  }\n  if (main::statistics != 0) {\n    puts("Parser statistics:");\n    stats_line("terminal symbols",local_154.nterminal);\n    stats_line("non-terminal symbols",local_154.nsymbol - local_154.nterminal);\n    stats_line("total symbols",local_154.nsymbol);\n    stats_line("rules",local_154.nrule);\n    stats_line("states",local_154.nxstate);\n    stats_line("conflicts",local_154.nconflict);\n    stats_line("action table entries",local_154.nactiontab);\n    stats_line("lookahead table entries",local_154.nlookaheadtab);\n    stats_line("total table size (bytes)",local_154.tablesize);\n  }\n  if (0 < local_154.nconflict) {\n    __fprintf_chk(*(undefined4 *)puVar2,1,"%d parsing conflicts.\n",local_154.nconflict);\n  }\n  local_16c = 1;\n  if (local_154.errorcnt < 1) {\n    local_16c = (uint)(0 < local_154.nconflict);\n  }\n                    /* WARNING: Subroutine does not return */\n  exit(local_16c);\n}" { (declaration "rule *pA;" type_identifier (pointer_declarator "*pA" * identifier) ;) (declaration "symbol_type sVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char **ppcVar3;" primitive_type (pointer_declarator "**ppcVar3" * (pointer_declarator "*ppcVar3" * identifier)) ;) (declaration "symbol **ppsVar4;" type_identifier (pointer_declarator "**ppsVar4" * (pointer_declarator "*ppsVar4" * identifier)) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "ushort **ppuVar6;" type_identifier (pointer_declarator "**ppuVar6" * (pointer_declarator "*ppuVar6" * identifier)) ;) (declaration "rule *prVar7;" type_identifier (pointer_declarator "*prVar7" * identifier) ;) (declaration "rule *prVar8;" type_identifier (pointer_declarator "*prVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "lemon *plVar10;" type_identifier (pointer_declarator "*plVar10" * identifier) ;) (declaration "rule **pprVar11;" type_identifier (pointer_declarator "**pprVar11" * (pointer_declarator "*pprVar11" * identifier)) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar12;" type_identifier identifier ;) (declaration "uint local_16c;" type_identifier identifier ;) (declaration "lemon local_154;" type_identifier identifier ;) (declaration "rule *local_a4 [35];" type_identifier (pointer_declarator "*local_a4 [35]" * (array_declarator "local_a4 [35]" identifier [ number_literal ])) ;) (declaration "FILE *pFStack_18;" type_identifier (pointer_declarator "*pFStack_18" * identifier) ;) (expression_statement "ppcVar3 = argv;" (assignment_expression "ppcVar3 = argv" identifier = identifier) ;) (expression_statement "puVar2 = PTR_stderr_00024fe8;" (assignment_expression "puVar2 = PTR_stderr_00024fe8" identifier = identifier) ;) (expression_statement "bVar12 = 0;" (assignment_expression "bVar12 = 0" identifier = number_literal) ;) (expression_statement "pFStack_18 = (FILE *)&argc;" (assignment_expression "pFStack_18 = (FILE *)&argc" identifier = (cast_expression "(FILE *)&argc" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&argc" & identifier))) ;) (expression_statement "local_a4[0x20] = *(rule **)(in_GS_OFFSET + 0x14);" (assignment_expression "local_a4[0x20] = *(rule **)(in_GS_OFFSET + 0x14)" (subscript_expression "local_a4[0x20]" identifier [ number_literal ]) = (pointer_expression "*(rule **)(in_GS_OFFSET + 0x14)" * (cast_expression "(rule **)(in_GS_OFFSET + 0x14)" ( (type_descriptor "rule **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (ERROR "::" : :) (expression_statement "argv = argv;" (assignment_expression "argv = argv" identifier = identifier) ;) (expression_statement "errstream = *(FILE **)PTR_stderr_00024fe8;" (assignment_expression "errstream = *(FILE **)PTR_stderr_00024fe8" identifier = (pointer_expression "*(FILE **)PTR_stderr_00024fe8" * (cast_expression "(FILE **)PTR_stderr_00024fe8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "op = main::options;" (assignment_expression "op = main" identifier = identifier) (ERROR "::options" : : identifier) ;) (if_statement "if ((argv != (char **)0x0) && (*argv != (char *)0x0)) {\n    OptInit(argv,(s_options *)errstream,pFStack_18);\n  }" if (parenthesized_expression "((argv != (char **)0x0) && (*argv != (char *)0x0))" ( (binary_expression "(argv != (char **)0x0) && (*argv != (char *)0x0)" (parenthesized_expression "(argv != (char **)0x0)" ( (binary_expression "argv != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) && (parenthesized_expression "(*argv != (char *)0x0)" ( (binary_expression "*argv != (char *)0x0" (pointer_expression "*argv" * identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    OptInit(argv,(s_options *)errstream,pFStack_18);\n  }" { (expression_statement "OptInit(argv,(s_options *)errstream,pFStack_18);" (call_expression "OptInit(argv,(s_options *)errstream,pFStack_18)" identifier (argument_list "(argv,(s_options *)errstream,pFStack_18)" ( identifier , (cast_expression "(s_options *)errstream" ( (type_descriptor "s_options *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;) })) (if_statement "if (main::version != 0) {\n    puts("Lemon version 1.0");\n                    /* WARNING: Subroutine does not return */\n    exit(0);\n  }" if (parenthesized_expression "(main::version != 0)" ( (ERROR "main::" identifier : :) (binary_expression "version != 0" identifier != number_literal) )) (compound_statement "{\n    puts("Lemon version 1.0");\n                    /* WARNING: Subroutine does not return */\n    exit(0);\n  }" { (expression_statement "puts("Lemon version 1.0");" (call_expression "puts("Lemon version 1.0")" identifier (argument_list "("Lemon version 1.0")" ( (string_literal ""Lemon version 1.0"" " string_content ") ))) ;) comment (expression_statement "exit(0);" (call_expression "exit(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })) (expression_statement "iVar5 = OptNArgs();" (assignment_expression "iVar5 = OptNArgs()" identifier = (call_expression "OptNArgs()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 != 1) {\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }" if (parenthesized_expression "(iVar5 != 1)" ( (binary_expression "iVar5 != 1" identifier != number_literal) )) (compound_statement "{\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }" { (expression_statement "fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar2);" (call_expression "fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar2)" identifier (argument_list "("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar2)" ( (string_literal ""Exactly one filename argument is required.\n"" " string_content escape_sequence ") , number_literal , number_literal , (pointer_expression "*(FILE **)puVar2" * (cast_expression "(FILE **)puVar2" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) comment (expression_statement "exit(1);" (call_expression "exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "plVar10 = &local_154;" (assignment_expression "plVar10 = &local_154" identifier = (pointer_expression "&local_154" & identifier)) ;) (for_statement "for (iVar5 = 0x2c; iVar5 != 0; iVar5 = iVar5 + -1) {\n    plVar10->sorted = (state **)0x0;\n    plVar10 = (lemon *)((int)plVar10 + (uint)bVar12 * -8 + 4);\n  }" for ( (assignment_expression "iVar5 = 0x2c" identifier = number_literal) ; (binary_expression "iVar5 != 0" identifier != number_literal) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n    plVar10->sorted = (state **)0x0;\n    plVar10 = (lemon *)((int)plVar10 + (uint)bVar12 * -8 + 4);\n  }" { (expression_statement "plVar10->sorted = (state **)0x0;" (assignment_expression "plVar10->sorted = (state **)0x0" (field_expression "plVar10->sorted" identifier -> field_identifier) = (cast_expression "(state **)0x0" ( (type_descriptor "state **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "plVar10 = (lemon *)((int)plVar10 + (uint)bVar12 * -8 + 4);" (assignment_expression "plVar10 = (lemon *)((int)plVar10 + (uint)bVar12 * -8 + 4)" identifier = (cast_expression "(lemon *)((int)plVar10 + (uint)bVar12 * -8 + 4)" ( (type_descriptor "lemon *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)plVar10 + (uint)bVar12 * -8 + 4)" ( (binary_expression "(int)plVar10 + (uint)bVar12 * -8 + 4" (binary_expression "(int)plVar10 + (uint)bVar12 * -8" (cast_expression "(int)plVar10" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar12 * -8" (cast_expression "(uint)bVar12" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) })) (if_statement "if (x1a == (s_x1 *)0x0) {\n    Strsafe_init();\n  }" if (parenthesized_expression "(x1a == (s_x1 *)0x0)" ( (binary_expression "x1a == (s_x1 *)0x0" identifier == (cast_expression "(s_x1 *)0x0" ( (type_descriptor "s_x1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    Strsafe_init();\n  }" { (expression_statement "Strsafe_init();" (call_expression "Strsafe_init()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (x2a == (s_x2 *)0x0) {\n    Symbol_init();\n  }" if (parenthesized_expression "(x2a == (s_x2 *)0x0)" ( (binary_expression "x2a == (s_x2 *)0x0" identifier == (cast_expression "(s_x2 *)0x0" ( (type_descriptor "s_x2 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    Symbol_init();\n  }" { (expression_statement "Symbol_init();" (call_expression "Symbol_init()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (x3a == (s_x3 *)0x0) {\n    State_init();\n  }" if (parenthesized_expression "(x3a == (s_x3 *)0x0)" ( (binary_expression "x3a == (s_x3 *)0x0" identifier == (cast_expression "(s_x3 *)0x0" ( (type_descriptor "s_x3 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    State_init();\n  }" { (expression_statement "State_init();" (call_expression "State_init()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "local_154.argv0 = *ppcVar3;" (assignment_expression "local_154.argv0 = *ppcVar3" (field_expression "local_154.argv0" identifier . field_identifier) = (pointer_expression "*ppcVar3" * identifier)) ;) (expression_statement "iVar5 = argindex(0);" (assignment_expression "iVar5 = argindex(0)" identifier = (call_expression "argindex(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (iVar5 < 0) {\n    local_154.filename = (char *)0x0;\n  }\n  else {\n    local_154.filename = ::argv[iVar5];\n  }" if (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) (compound_statement "{\n    local_154.filename = (char *)0x0;\n  }" { (expression_statement "local_154.filename = (char *)0x0;" (assignment_expression "local_154.filename = (char *)0x0" (field_expression "local_154.filename" identifier . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    local_154.filename = ::argv[iVar5];\n  }" else (compound_statement "{\n    local_154.filename = ::argv[iVar5];\n  }" { (expression_statement "local_154.filename = ::argv[iVar5];" (assignment_expression "local_154.filename = ::argv[iVar5]" (field_expression "local_154.filename" identifier . field_identifier) = (ERROR "::" : :) (subscript_expression "argv[iVar5]" identifier [ identifier ])) ;) }))) (expression_statement "local_154.basisflag = main::basisflag;" (assignment_expression "local_154.basisflag = main" (field_expression "local_154.basisflag" identifier . field_identifier) = identifier) (ERROR "::basisflag" : : identifier) ;) (expression_statement "local_154.nolinenosflag = main::nolinenosflag;" (assignment_expression "local_154.nolinenosflag = main" (field_expression "local_154.nolinenosflag" identifier . field_identifier) = identifier) (ERROR "::nolinenosflag" : : identifier) ;) (expression_statement "Symbol_new("$");" (call_expression "Symbol_new("$")" identifier (argument_list "("$")" ( (string_literal ""$"" " string_content ") ))) ;) (expression_statement "Parse(&local_154);" (call_expression "Parse(&local_154)" identifier (argument_list "(&local_154)" ( (pointer_expression "&local_154" & identifier) ))) ;) (if_statement "if (local_154.errorcnt != 0) {\n                    /* WARNING: Subroutine does not return */\n    exit(local_154.errorcnt);\n  }" if (parenthesized_expression "(local_154.errorcnt != 0)" ( (binary_expression "local_154.errorcnt != 0" (field_expression "local_154.errorcnt" identifier . field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    exit(local_154.errorcnt);\n  }" { comment (expression_statement "exit(local_154.errorcnt);" (call_expression "exit(local_154.errorcnt)" identifier (argument_list "(local_154.errorcnt)" ( (field_expression "local_154.errorcnt" identifier . field_identifier) ))) ;) })) (if_statement "if (local_154.nrule == 0) {\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }" if (parenthesized_expression "(local_154.nrule == 0)" ( (binary_expression "local_154.nrule == 0" (field_expression "local_154.nrule" identifier . field_identifier) == number_literal) )) (compound_statement "{\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar2);\n                    /* WARNING: Subroutine does not return */\n    exit(1);\n  }" { (expression_statement "fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar2);" (call_expression "fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar2)" identifier (argument_list "("Empty grammar.\n",1,0xf,*(FILE **)puVar2)" ( (string_literal ""Empty grammar.\n"" " string_content escape_sequence ") , number_literal , number_literal , (pointer_expression "*(FILE **)puVar2" * (cast_expression "(FILE **)puVar2" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) comment (expression_statement "exit(1);" (call_expression "exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "local_154.errsym = Symbol_find("error");" (assignment_expression "local_154.errsym = Symbol_find("error")" (field_expression "local_154.errsym" identifier . field_identifier) = (call_expression "Symbol_find("error")" identifier (argument_list "("error")" ( (string_literal ""error"" " string_content ") )))) ;) (expression_statement "Symbol_new("{default}");" (call_expression "Symbol_new("{default}")" identifier (argument_list "("{default}")" ( (string_literal ""{default}"" " string_content ") ))) ;) (if_statement "if (x2a == (s_x2 *)0x0) {\n    local_154.nsymbol = 0;\n  }\n  else {\n    local_154.nsymbol = x2a->count;\n  }" if (parenthesized_expression "(x2a == (s_x2 *)0x0)" ( (binary_expression "x2a == (s_x2 *)0x0" identifier == (cast_expression "(s_x2 *)0x0" ( (type_descriptor "s_x2 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_154.nsymbol = 0;\n  }" { (expression_statement "local_154.nsymbol = 0;" (assignment_expression "local_154.nsymbol = 0" (field_expression "local_154.nsymbol" identifier . field_identifier) = number_literal) ;) }) (else_clause "else {\n    local_154.nsymbol = x2a->count;\n  }" else (compound_statement "{\n    local_154.nsymbol = x2a->count;\n  }" { (expression_statement "local_154.nsymbol = x2a->count;" (assignment_expression "local_154.nsymbol = x2a->count" (field_expression "local_154.nsymbol" identifier . field_identifier) = (field_expression "x2a->count" identifier -> field_identifier)) ;) }))) (expression_statement "local_154.symbols = Symbol_arrayof();" (assignment_expression "local_154.symbols = Symbol_arrayof()" (field_expression "local_154.symbols" identifier . field_identifier) = (call_expression "Symbol_arrayof()" identifier (argument_list "()" ( )))) ;) (if_statement "if (0 < local_154.nsymbol) {\n    iVar5 = 0;\n    do {\n      local_154.symbols[iVar5]->index = iVar5;\n      iVar5 = iVar5 + 1;\n    } while (iVar5 < local_154.nsymbol);\n  }" if (parenthesized_expression "(0 < local_154.nsymbol)" ( (binary_expression "0 < local_154.nsymbol" number_literal < (field_expression "local_154.nsymbol" identifier . field_identifier)) )) (compound_statement "{\n    iVar5 = 0;\n    do {\n      local_154.symbols[iVar5]->index = iVar5;\n      iVar5 = iVar5 + 1;\n    } while (iVar5 < local_154.nsymbol);\n  }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      local_154.symbols[iVar5]->index = iVar5;\n      iVar5 = iVar5 + 1;\n    } while (iVar5 < local_154.nsymbol);" do (compound_statement "{\n      local_154.symbols[iVar5]->index = iVar5;\n      iVar5 = iVar5 + 1;\n    }" { (expression_statement "local_154.symbols[iVar5]->index = iVar5;" (assignment_expression "local_154.symbols[iVar5]->index = iVar5" (field_expression "local_154.symbols[iVar5]->index" (subscript_expression "local_154.symbols[iVar5]" (field_expression "local_154.symbols" identifier . field_identifier) [ identifier ]) -> field_identifier) = identifier) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 < local_154.nsymbol)" ( (binary_expression "iVar5 < local_154.nsymbol" identifier < (field_expression "local_154.nsymbol" identifier . field_identifier)) )) ;) })) (expression_statement "qsort(local_154.symbols,local_154.nsymbol,4,Symbolcmpp);" (call_expression "qsort(local_154.symbols,local_154.nsymbol,4,Symbolcmpp)" identifier (argument_list "(local_154.symbols,local_154.nsymbol,4,Symbolcmpp)" ( (field_expression "local_154.symbols" identifier . field_identifier) , (field_expression "local_154.nsymbol" identifier . field_identifier) , number_literal , identifier ))) ;) (expression_statement "ppsVar4 = local_154.symbols;" (assignment_expression "ppsVar4 = local_154.symbols" identifier = (field_expression "local_154.symbols" identifier . field_identifier)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (0 < local_154.nsymbol) {\n    do {\n      local_154.symbols[iVar5]->index = iVar5;\n      iVar5 = iVar5 + 1;\n    } while (iVar5 < local_154.nsymbol);\n  }" if (parenthesized_expression "(0 < local_154.nsymbol)" ( (binary_expression "0 < local_154.nsymbol" number_literal < (field_expression "local_154.nsymbol" identifier . field_identifier)) )) (compound_statement "{\n    do {\n      local_154.symbols[iVar5]->index = iVar5;\n      iVar5 = iVar5 + 1;\n    } while (iVar5 < local_154.nsymbol);\n  }" { (do_statement "do {\n      local_154.symbols[iVar5]->index = iVar5;\n      iVar5 = iVar5 + 1;\n    } while (iVar5 < local_154.nsymbol);" do (compound_statement "{\n      local_154.symbols[iVar5]->index = iVar5;\n      iVar5 = iVar5 + 1;\n    }" { (expression_statement "local_154.symbols[iVar5]->index = iVar5;" (assignment_expression "local_154.symbols[iVar5]->index = iVar5" (field_expression "local_154.symbols[iVar5]->index" (subscript_expression "local_154.symbols[iVar5]" (field_expression "local_154.symbols" identifier . field_identifier) [ identifier ]) -> field_identifier) = identifier) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 < local_154.nsymbol)" ( (binary_expression "iVar5 < local_154.nsymbol" identifier < (field_expression "local_154.nsymbol" identifier . field_identifier)) )) ;) })) (expression_statement "sVar1 = local_154.symbols[iVar5 + -1]->type;" (assignment_expression "sVar1 = local_154.symbols[iVar5 + -1]->type" identifier = (field_expression "local_154.symbols[iVar5 + -1]->type" (subscript_expression "local_154.symbols[iVar5 + -1]" (field_expression "local_154.symbols" identifier . field_identifier) [ (binary_expression "iVar5 + -1" identifier + number_literal) ]) -> field_identifier)) ;) (while_statement "while (sVar1 == MULTITERMINAL) {\n    sVar1 = local_154.symbols[iVar5 + -2]->type;\n    iVar5 = iVar5 + -1;\n  }" while (parenthesized_expression "(sVar1 == MULTITERMINAL)" ( (binary_expression "sVar1 == MULTITERMINAL" identifier == identifier) )) (compound_statement "{\n    sVar1 = local_154.symbols[iVar5 + -2]->type;\n    iVar5 = iVar5 + -1;\n  }" { (expression_statement "sVar1 = local_154.symbols[iVar5 + -2]->type;" (assignment_expression "sVar1 = local_154.symbols[iVar5 + -2]->type" identifier = (field_expression "local_154.symbols[iVar5 + -2]->type" (subscript_expression "local_154.symbols[iVar5 + -2]" (field_expression "local_154.symbols" identifier . field_identifier) [ (binary_expression "iVar5 + -2" identifier + number_literal) ]) -> field_identifier)) ;) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) })) (expression_statement "local_154.nsymbol = iVar5 + -1;" (assignment_expression "local_154.nsymbol = iVar5 + -1" (field_expression "local_154.nsymbol" identifier . field_identifier) = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "ppuVar6 = __ctype_b_loc();" (assignment_expression "ppuVar6 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_154.nterminal = 1;" (assignment_expression "local_154.nterminal = 1" (field_expression "local_154.nterminal" identifier . field_identifier) = number_literal) ;) (while_statement "while ((*(byte *)((int)*ppuVar6 + (uint)(byte)*ppsVar4[local_154.nterminal]->name * 2 + 1) & 1) !=\n         0) {\n    local_154.nterminal = local_154.nterminal + 1;\n  }" while (parenthesized_expression "((*(byte *)((int)*ppuVar6 + (uint)(byte)*ppsVar4[local_154.nterminal]->name * 2 + 1) & 1) !=\n         0)" ( (binary_expression "(*(byte *)((int)*ppuVar6 + (uint)(byte)*ppsVar4[local_154.nterminal]->name * 2 + 1) & 1) !=\n         0" (parenthesized_expression "(*(byte *)((int)*ppuVar6 + (uint)(byte)*ppsVar4[local_154.nterminal]->name * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)*ppuVar6 + (uint)(byte)*ppsVar4[local_154.nterminal]->name * 2 + 1) & 1" (pointer_expression "*(byte *)((int)*ppuVar6 + (uint)(byte)*ppsVar4[local_154.nterminal]->name * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar6 + (uint)(byte)*ppsVar4[local_154.nterminal]->name * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar6 + (uint)(byte)*ppsVar4[local_154.nterminal]->name * 2 + 1)" ( (binary_expression "(int)*ppuVar6 + (uint)(byte)*ppsVar4[local_154.nterminal]->name * 2 + 1" (binary_expression "(int)*ppuVar6 + (uint)(byte)*ppsVar4[local_154.nterminal]->name * 2" (cast_expression "(int)*ppuVar6" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar6" * identifier)) + (binary_expression "(uint)(byte)*ppsVar4[local_154.nterminal]->name * 2" (binary_expression "(uint)(byte)*ppsVar4[local_154.nterminal]->name" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) * (field_expression "ppsVar4[local_154.nterminal]->name" (subscript_expression "ppsVar4[local_154.nterminal]" identifier [ (field_expression "local_154.nterminal" identifier . field_identifier) ]) -> field_identifier)) * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    local_154.nterminal = local_154.nterminal + 1;\n  }" { (expression_statement "local_154.nterminal = local_154.nterminal + 1;" (assignment_expression "local_154.nterminal = local_154.nterminal + 1" (field_expression "local_154.nterminal" identifier . field_identifier) = (binary_expression "local_154.nterminal + 1" (field_expression "local_154.nterminal" identifier . field_identifier) + number_literal)) ;) })) (if_statement "if (local_154.rule == (rule *)0x0) {\n    local_154.startRule = (rule *)0x0;\n    pprVar11 = local_a4;\n    for (iVar5 = 0x20; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *pprVar11 = (rule *)0x0;\n      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;\n    }\n  }\n  else {\n    prVar8 = local_154.rule;\n    iVar5 = 0;\n    do {\n      if (prVar8->code == (char *)0x0) {\n        iVar9 = iVar5;\n        iVar5 = -1;\n      }\n      else {\n        iVar9 = iVar5 + 1;\n      }\n      prVar8->iRule = iVar5;\n      prVar8 = prVar8->next;\n      prVar7 = local_154.rule;\n      iVar5 = iVar9;\n    } while (prVar8 != (rule *)0x0);\n    do {\n      if (prVar7->iRule < 0) {\n        prVar7->iRule = iVar9;\n        iVar9 = iVar9 + 1;\n      }\n      pprVar11 = &prVar7->next;\n      prVar7 = *pprVar11;\n    } while (*pprVar11 != (rule *)0x0);\n    local_154.startRule = local_154.rule;\n    pprVar11 = local_a4;\n    for (iVar5 = 0x20; prVar8 = local_154.rule, iVar5 != 0; iVar5 = iVar5 + -1) {\n      *pprVar11 = (rule *)0x0;\n      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;\n    }\n    do {\n      prVar7 = prVar8->next;\n      iVar5 = 0;\n      prVar8->next = (rule *)0x0;\n      if (local_a4[0] != (rule *)0x0) {\n        prVar8 = Rule_merge(local_a4[0],prVar8);\n        iVar5 = 1;\n        local_a4[0] = (rule *)0x0;\n        do {\n          pA = local_a4[iVar5];\n          if (pA == (rule *)0x0) break;\n          prVar8 = Rule_merge(pA,prVar8);\n          local_a4[iVar5] = (rule *)0x0;\n          iVar5 = iVar5 + 1;\n        } while (iVar5 != 0x20);\n      }\n      local_a4[iVar5] = prVar8;\n      prVar8 = prVar7;\n    } while (prVar7 != (rule *)0x0);\n  }" if (parenthesized_expression "(local_154.rule == (rule *)0x0)" ( (binary_expression "local_154.rule == (rule *)0x0" (field_expression "local_154.rule" identifier . field_identifier) == (cast_expression "(rule *)0x0" ( (type_descriptor "rule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_154.startRule = (rule *)0x0;\n    pprVar11 = local_a4;\n    for (iVar5 = 0x20; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *pprVar11 = (rule *)0x0;\n      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;\n    }\n  }" { (expression_statement "local_154.startRule = (rule *)0x0;" (assignment_expression "local_154.startRule = (rule *)0x0" (field_expression "local_154.startRule" identifier . field_identifier) = (cast_expression "(rule *)0x0" ( (type_descriptor "rule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pprVar11 = local_a4;" (assignment_expression "pprVar11 = local_a4" identifier = identifier) ;) (for_statement "for (iVar5 = 0x20; iVar5 != 0; iVar5 = iVar5 + -1) {\n      *pprVar11 = (rule *)0x0;\n      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;\n    }" for ( (assignment_expression "iVar5 = 0x20" identifier = number_literal) ; (binary_expression "iVar5 != 0" identifier != number_literal) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n      *pprVar11 = (rule *)0x0;\n      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;\n    }" { (expression_statement "*pprVar11 = (rule *)0x0;" (assignment_expression "*pprVar11 = (rule *)0x0" (pointer_expression "*pprVar11" * identifier) = (cast_expression "(rule *)0x0" ( (type_descriptor "rule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;" (assignment_expression "pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1" identifier = (binary_expression "pprVar11 + (uint)bVar12 * -2 + 1" (binary_expression "pprVar11 + (uint)bVar12 * -2" identifier + (binary_expression "(uint)bVar12 * -2" (cast_expression "(uint)bVar12" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) }) (else_clause "else {\n    prVar8 = local_154.rule;\n    iVar5 = 0;\n    do {\n      if (prVar8->code == (char *)0x0) {\n        iVar9 = iVar5;\n        iVar5 = -1;\n      }\n      else {\n        iVar9 = iVar5 + 1;\n      }\n      prVar8->iRule = iVar5;\n      prVar8 = prVar8->next;\n      prVar7 = local_154.rule;\n      iVar5 = iVar9;\n    } while (prVar8 != (rule *)0x0);\n    do {\n      if (prVar7->iRule < 0) {\n        prVar7->iRule = iVar9;\n        iVar9 = iVar9 + 1;\n      }\n      pprVar11 = &prVar7->next;\n      prVar7 = *pprVar11;\n    } while (*pprVar11 != (rule *)0x0);\n    local_154.startRule = local_154.rule;\n    pprVar11 = local_a4;\n    for (iVar5 = 0x20; prVar8 = local_154.rule, iVar5 != 0; iVar5 = iVar5 + -1) {\n      *pprVar11 = (rule *)0x0;\n      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;\n    }\n    do {\n      prVar7 = prVar8->next;\n      iVar5 = 0;\n      prVar8->next = (rule *)0x0;\n      if (local_a4[0] != (rule *)0x0) {\n        prVar8 = Rule_merge(local_a4[0],prVar8);\n        iVar5 = 1;\n        local_a4[0] = (rule *)0x0;\n        do {\n          pA = local_a4[iVar5];\n          if (pA == (rule *)0x0) break;\n          prVar8 = Rule_merge(pA,prVar8);\n          local_a4[iVar5] = (rule *)0x0;\n          iVar5 = iVar5 + 1;\n        } while (iVar5 != 0x20);\n      }\n      local_a4[iVar5] = prVar8;\n      prVar8 = prVar7;\n    } while (prVar7 != (rule *)0x0);\n  }" else (compound_statement "{\n    prVar8 = local_154.rule;\n    iVar5 = 0;\n    do {\n      if (prVar8->code == (char *)0x0) {\n        iVar9 = iVar5;\n        iVar5 = -1;\n      }\n      else {\n        iVar9 = iVar5 + 1;\n      }\n      prVar8->iRule = iVar5;\n      prVar8 = prVar8->next;\n      prVar7 = local_154.rule;\n      iVar5 = iVar9;\n    } while (prVar8 != (rule *)0x0);\n    do {\n      if (prVar7->iRule < 0) {\n        prVar7->iRule = iVar9;\n        iVar9 = iVar9 + 1;\n      }\n      pprVar11 = &prVar7->next;\n      prVar7 = *pprVar11;\n    } while (*pprVar11 != (rule *)0x0);\n    local_154.startRule = local_154.rule;\n    pprVar11 = local_a4;\n    for (iVar5 = 0x20; prVar8 = local_154.rule, iVar5 != 0; iVar5 = iVar5 + -1) {\n      *pprVar11 = (rule *)0x0;\n      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;\n    }\n    do {\n      prVar7 = prVar8->next;\n      iVar5 = 0;\n      prVar8->next = (rule *)0x0;\n      if (local_a4[0] != (rule *)0x0) {\n        prVar8 = Rule_merge(local_a4[0],prVar8);\n        iVar5 = 1;\n        local_a4[0] = (rule *)0x0;\n        do {\n          pA = local_a4[iVar5];\n          if (pA == (rule *)0x0) break;\n          prVar8 = Rule_merge(pA,prVar8);\n          local_a4[iVar5] = (rule *)0x0;\n          iVar5 = iVar5 + 1;\n        } while (iVar5 != 0x20);\n      }\n      local_a4[iVar5] = prVar8;\n      prVar8 = prVar7;\n    } while (prVar7 != (rule *)0x0);\n  }" { (expression_statement "prVar8 = local_154.rule;" (assignment_expression "prVar8 = local_154.rule" identifier = (field_expression "local_154.rule" identifier . field_identifier)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n      if (prVar8->code == (char *)0x0) {\n        iVar9 = iVar5;\n        iVar5 = -1;\n      }\n      else {\n        iVar9 = iVar5 + 1;\n      }\n      prVar8->iRule = iVar5;\n      prVar8 = prVar8->next;\n      prVar7 = local_154.rule;\n      iVar5 = iVar9;\n    } while (prVar8 != (rule *)0x0);" do (compound_statement "{\n      if (prVar8->code == (char *)0x0) {\n        iVar9 = iVar5;\n        iVar5 = -1;\n      }\n      else {\n        iVar9 = iVar5 + 1;\n      }\n      prVar8->iRule = iVar5;\n      prVar8 = prVar8->next;\n      prVar7 = local_154.rule;\n      iVar5 = iVar9;\n    }" { (if_statement "if (prVar8->code == (char *)0x0) {\n        iVar9 = iVar5;\n        iVar5 = -1;\n      }\n      else {\n        iVar9 = iVar5 + 1;\n      }" if (parenthesized_expression "(prVar8->code == (char *)0x0)" ( (binary_expression "prVar8->code == (char *)0x0" (field_expression "prVar8->code" identifier -> field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar9 = iVar5;\n        iVar5 = -1;\n      }" { (expression_statement "iVar9 = iVar5;" (assignment_expression "iVar9 = iVar5" identifier = identifier) ;) (expression_statement "iVar5 = -1;" (assignment_expression "iVar5 = -1" identifier = number_literal) ;) }) (else_clause "else {\n        iVar9 = iVar5 + 1;\n      }" else (compound_statement "{\n        iVar9 = iVar5 + 1;\n      }" { (expression_statement "iVar9 = iVar5 + 1;" (assignment_expression "iVar9 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }))) (expression_statement "prVar8->iRule = iVar5;" (assignment_expression "prVar8->iRule = iVar5" (field_expression "prVar8->iRule" identifier -> field_identifier) = identifier) ;) (expression_statement "prVar8 = prVar8->next;" (assignment_expression "prVar8 = prVar8->next" identifier = (field_expression "prVar8->next" identifier -> field_identifier)) ;) (expression_statement "prVar7 = local_154.rule;" (assignment_expression "prVar7 = local_154.rule" identifier = (field_expression "local_154.rule" identifier . field_identifier)) ;) (expression_statement "iVar5 = iVar9;" (assignment_expression "iVar5 = iVar9" identifier = identifier) ;) }) while (parenthesized_expression "(prVar8 != (rule *)0x0)" ( (binary_expression "prVar8 != (rule *)0x0" identifier != (cast_expression "(rule *)0x0" ( (type_descriptor "rule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (do_statement "do {\n      if (prVar7->iRule < 0) {\n        prVar7->iRule = iVar9;\n        iVar9 = iVar9 + 1;\n      }\n      pprVar11 = &prVar7->next;\n      prVar7 = *pprVar11;\n    } while (*pprVar11 != (rule *)0x0);" do (compound_statement "{\n      if (prVar7->iRule < 0) {\n        prVar7->iRule = iVar9;\n        iVar9 = iVar9 + 1;\n      }\n      pprVar11 = &prVar7->next;\n      prVar7 = *pprVar11;\n    }" { (if_statement "if (prVar7->iRule < 0) {\n        prVar7->iRule = iVar9;\n        iVar9 = iVar9 + 1;\n      }" if (parenthesized_expression "(prVar7->iRule < 0)" ( (binary_expression "prVar7->iRule < 0" (field_expression "prVar7->iRule" identifier -> field_identifier) < number_literal) )) (compound_statement "{\n        prVar7->iRule = iVar9;\n        iVar9 = iVar9 + 1;\n      }" { (expression_statement "prVar7->iRule = iVar9;" (assignment_expression "prVar7->iRule = iVar9" (field_expression "prVar7->iRule" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) })) (expression_statement "pprVar11 = &prVar7->next;" (assignment_expression "pprVar11 = &prVar7->next" identifier = (pointer_expression "&prVar7->next" & (field_expression "prVar7->next" identifier -> field_identifier))) ;) (expression_statement "prVar7 = *pprVar11;" (assignment_expression "prVar7 = *pprVar11" identifier = (pointer_expression "*pprVar11" * identifier)) ;) }) while (parenthesized_expression "(*pprVar11 != (rule *)0x0)" ( (binary_expression "*pprVar11 != (rule *)0x0" (pointer_expression "*pprVar11" * identifier) != (cast_expression "(rule *)0x0" ( (type_descriptor "rule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "local_154.startRule = local_154.rule;" (assignment_expression "local_154.startRule = local_154.rule" (field_expression "local_154.startRule" identifier . field_identifier) = (field_expression "local_154.rule" identifier . field_identifier)) ;) (expression_statement "pprVar11 = local_a4;" (assignment_expression "pprVar11 = local_a4" identifier = identifier) ;) (for_statement "for (iVar5 = 0x20; prVar8 = local_154.rule, iVar5 != 0; iVar5 = iVar5 + -1) {\n      *pprVar11 = (rule *)0x0;\n      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;\n    }" for ( (assignment_expression "iVar5 = 0x20" identifier = number_literal) ; (comma_expression "prVar8 = local_154.rule, iVar5 != 0" (assignment_expression "prVar8 = local_154.rule" identifier = (field_expression "local_154.rule" identifier . field_identifier)) , (binary_expression "iVar5 != 0" identifier != number_literal)) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n      *pprVar11 = (rule *)0x0;\n      pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;\n    }" { (expression_statement "*pprVar11 = (rule *)0x0;" (assignment_expression "*pprVar11 = (rule *)0x0" (pointer_expression "*pprVar11" * identifier) = (cast_expression "(rule *)0x0" ( (type_descriptor "rule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1;" (assignment_expression "pprVar11 = pprVar11 + (uint)bVar12 * -2 + 1" identifier = (binary_expression "pprVar11 + (uint)bVar12 * -2 + 1" (binary_expression "pprVar11 + (uint)bVar12 * -2" identifier + (binary_expression "(uint)bVar12 * -2" (cast_expression "(uint)bVar12" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (do_statement "do {\n      prVar7 = prVar8->next;\n      iVar5 = 0;\n      prVar8->next = (rule *)0x0;\n      if (local_a4[0] != (rule *)0x0) {\n        prVar8 = Rule_merge(local_a4[0],prVar8);\n        iVar5 = 1;\n        local_a4[0] = (rule *)0x0;\n        do {\n          pA = local_a4[iVar5];\n          if (pA == (rule *)0x0) break;\n          prVar8 = Rule_merge(pA,prVar8);\n          local_a4[iVar5] = (rule *)0x0;\n          iVar5 = iVar5 + 1;\n        } while (iVar5 != 0x20);\n      }\n      local_a4[iVar5] = prVar8;\n      prVar8 = prVar7;\n    } while (prVar7 != (rule *)0x0);" do (compound_statement "{\n      prVar7 = prVar8->next;\n      iVar5 = 0;\n      prVar8->next = (rule *)0x0;\n      if (local_a4[0] != (rule *)0x0) {\n        prVar8 = Rule_merge(local_a4[0],prVar8);\n        iVar5 = 1;\n        local_a4[0] = (rule *)0x0;\n        do {\n          pA = local_a4[iVar5];\n          if (pA == (rule *)0x0) break;\n          prVar8 = Rule_merge(pA,prVar8);\n          local_a4[iVar5] = (rule *)0x0;\n          iVar5 = iVar5 + 1;\n        } while (iVar5 != 0x20);\n      }\n      local_a4[iVar5] = prVar8;\n      prVar8 = prVar7;\n    }" { (expression_statement "prVar7 = prVar8->next;" (assignment_expression "prVar7 = prVar8->next" identifier = (field_expression "prVar8->next" identifier -> field_identifier)) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "prVar8->next = (rule *)0x0;" (assignment_expression "prVar8->next = (rule *)0x0" (field_expression "prVar8->next" identifier -> field_identifier) = (cast_expression "(rule *)0x0" ( (type_descriptor "rule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (local_a4[0] != (rule *)0x0) {\n        prVar8 = Rule_merge(local_a4[0],prVar8);\n        iVar5 = 1;\n        local_a4[0] = (rule *)0x0;\n        do {\n          pA = local_a4[iVar5];\n          if (pA == (rule *)0x0) break;\n          prVar8 = Rule_merge(pA,prVar8);\n          local_a4[iVar5] = (rule *)0x0;\n          iVar5 = iVar5 + 1;\n        } while (iVar5 != 0x20);\n      }" if (parenthesized_expression "(local_a4[0] != (rule *)0x0)" ( (binary_expression "local_a4[0] != (rule *)0x0" (subscript_expression "local_a4[0]" identifier [ number_literal ]) != (cast_expression "(rule *)0x0" ( (type_descriptor "rule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        prVar8 = Rule_merge(local_a4[0],prVar8);\n        iVar5 = 1;\n        local_a4[0] = (rule *)0x0;\n        do {\n          pA = local_a4[iVar5];\n          if (pA == (rule *)0x0) break;\n          prVar8 = Rule_merge(pA,prVar8);\n          local_a4[iVar5] = (rule *)0x0;\n          iVar5 = iVar5 + 1;\n        } while (iVar5 != 0x20);\n      }" { (expression_statement "prVar8 = Rule_merge(local_a4[0],prVar8);" (assignment_expression "prVar8 = Rule_merge(local_a4[0],prVar8)" identifier = (call_expression "Rule_merge(local_a4[0],prVar8)" identifier (argument_list "(local_a4[0],prVar8)" ( (subscript_expression "local_a4[0]" identifier [ number_literal ]) , identifier )))) ;) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) (expression_statement "local_a4[0] = (rule *)0x0;" (assignment_expression "local_a4[0] = (rule *)0x0" (subscript_expression "local_a4[0]" identifier [ number_literal ]) = (cast_expression "(rule *)0x0" ( (type_descriptor "rule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          pA = local_a4[iVar5];\n          if (pA == (rule *)0x0) break;\n          prVar8 = Rule_merge(pA,prVar8);\n          local_a4[iVar5] = (rule *)0x0;\n          iVar5 = iVar5 + 1;\n        } while (iVar5 != 0x20);" do (compound_statement "{\n          pA = local_a4[iVar5];\n          if (pA == (rule *)0x0) break;\n          prVar8 = Rule_merge(pA,prVar8);\n          local_a4[iVar5] = (rule *)0x0;\n          iVar5 = iVar5 + 1;\n        }" { (expression_statement "pA = local_a4[iVar5];" (assignment_expression "pA = local_a4[iVar5]" identifier = (subscript_expression "local_a4[iVar5]" identifier [ identifier ])) ;) (if_statement "if (pA == (rule *)0x0) break;" if (parenthesized_expression "(pA == (rule *)0x0)" ( (binary_expression "pA == (rule *)0x0" identifier == (cast_expression "(rule *)0x0" ( (type_descriptor "rule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "prVar8 = Rule_merge(pA,prVar8);" (assignment_expression "prVar8 = Rule_merge(pA,prVar8)" identifier = (call_expression "Rule_merge(pA,prVar8)" identifier (argument_list "(pA,prVar8)" ( identifier , identifier )))) ;) (expression_statement "local_a4[iVar5] = (rule *)0x0;" (assignment_expression "local_a4[iVar5] = (rule *)0x0" (subscript_expression "local_a4[iVar5]" identifier [ identifier ]) = (cast_expression "(rule *)0x0" ( (type_descriptor "rule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0x20)" ( (binary_expression "iVar5 != 0x20" identifier != number_literal) )) ;) })) (expression_statement "local_a4[iVar5] = prVar8;" (assignment_expression "local_a4[iVar5] = prVar8" (subscript_expression "local_a4[iVar5]" identifier [ identifier ]) = identifier) ;) (expression_statement "prVar8 = prVar7;" (assignment_expression "prVar8 = prVar7" identifier = identifier) ;) }) while (parenthesized_expression "(prVar7 != (rule *)0x0)" ( (binary_expression "prVar7 != (rule *)0x0" identifier != (cast_expression "(rule *)0x0" ( (type_descriptor "rule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (expression_statement "pprVar11 = local_a4;" (assignment_expression "pprVar11 = local_a4" identifier = identifier) ;) (expression_statement "prVar8 = (rule *)0x0;" (assignment_expression "prVar8 = (rule *)0x0" identifier = (cast_expression "(rule *)0x0" ( (type_descriptor "rule *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n    prVar7 = *pprVar11;\n    pprVar11 = pprVar11 + 1;\n    prVar8 = Rule_merge(prVar7,prVar8);\n  } while (local_a4 + 0x20 != pprVar11);" do (compound_statement "{\n    prVar7 = *pprVar11;\n    pprVar11 = pprVar11 + 1;\n    prVar8 = Rule_merge(prVar7,prVar8);\n  }" { (expression_statement "prVar7 = *pprVar11;" (assignment_expression "prVar7 = *pprVar11" identifier = (pointer_expression "*pprVar11" * identifier)) ;) (expression_statement "pprVar11 = pprVar11 + 1;" (assignment_expression "pprVar11 = pprVar11 + 1" identifier = (binary_expression "pprVar11 + 1" identifier + number_literal)) ;) (expression_statement "prVar8 = Rule_merge(prVar7,prVar8);" (assignment_expression "prVar8 = Rule_merge(prVar7,prVar8)" identifier = (call_expression "Rule_merge(prVar7,prVar8)" identifier (argument_list "(prVar7,prVar8)" ( identifier , identifier )))) ;) }) while (parenthesized_expression "(local_a4 + 0x20 != pprVar11)" ( (binary_expression "local_a4 + 0x20 != pprVar11" (binary_expression "local_a4 + 0x20" identifier + number_literal) != identifier) )) ;) (expression_statement "local_154.rule = prVar8;" (assignment_expression "local_154.rule = prVar8" (field_expression "local_154.rule" identifier . field_identifier) = identifier) ;) (if_statement "if (main::rpflag == 0) {\n    size = local_154.nterminal + 2;\n    FindRulePrecedences(&local_154);\n    FindFirstSets(&local_154);\n    local_154.nstate = 0;\n    FindStates(&local_154);\n    local_154.sorted = State_arrayof();\n    FindLinks(&local_154);\n    FindFollowSets(&local_154);\n    FindActions(&local_154);\n    if (main::compress == 0) {\n      CompressTables(&local_154);\n    }\n    if (main::noResort == 0) {\n      ResortStates(&local_154);\n    }\n    if (main::quiet == 0) {\n      ReportOutput(&local_154);\n    }\n    ReportTable(&local_154,main::mhflag);\n    if (main::mhflag == 0) {\n      ReportHeader(&local_154);\n    }\n  }\n  else {\n    Reprint(&local_154);\n  }" if (parenthesized_expression "(main::rpflag == 0)" ( (ERROR "main::" identifier : :) (binary_expression "rpflag == 0" identifier == number_literal) )) (compound_statement "{\n    size = local_154.nterminal + 2;\n    FindRulePrecedences(&local_154);\n    FindFirstSets(&local_154);\n    local_154.nstate = 0;\n    FindStates(&local_154);\n    local_154.sorted = State_arrayof();\n    FindLinks(&local_154);\n    FindFollowSets(&local_154);\n    FindActions(&local_154);\n    if (main::compress == 0) {\n      CompressTables(&local_154);\n    }\n    if (main::noResort == 0) {\n      ResortStates(&local_154);\n    }\n    if (main::quiet == 0) {\n      ReportOutput(&local_154);\n    }\n    ReportTable(&local_154,main::mhflag);\n    if (main::mhflag == 0) {\n      ReportHeader(&local_154);\n    }\n  }" { (expression_statement "size = local_154.nterminal + 2;" (assignment_expression "size = local_154.nterminal + 2" identifier = (binary_expression "local_154.nterminal + 2" (field_expression "local_154.nterminal" identifier . field_identifier) + number_literal)) ;) (expression_statement "FindRulePrecedences(&local_154);" (call_expression "FindRulePrecedences(&local_154)" identifier (argument_list "(&local_154)" ( (pointer_expression "&local_154" & identifier) ))) ;) (expression_statement "FindFirstSets(&local_154);" (call_expression "FindFirstSets(&local_154)" identifier (argument_list "(&local_154)" ( (pointer_expression "&local_154" & identifier) ))) ;) (expression_statement "local_154.nstate = 0;" (assignment_expression "local_154.nstate = 0" (field_expression "local_154.nstate" identifier . field_identifier) = number_literal) ;) (expression_statement "FindStates(&local_154);" (call_expression "FindStates(&local_154)" identifier (argument_list "(&local_154)" ( (pointer_expression "&local_154" & identifier) ))) ;) (expression_statement "local_154.sorted = State_arrayof();" (assignment_expression "local_154.sorted = State_arrayof()" (field_expression "local_154.sorted" identifier . field_identifier) = (call_expression "State_arrayof()" identifier (argument_list "()" ( )))) ;) (expression_statement "FindLinks(&local_154);" (call_expression "FindLinks(&local_154)" identifier (argument_list "(&local_154)" ( (pointer_expression "&local_154" & identifier) ))) ;) (expression_statement "FindFollowSets(&local_154);" (call_expression "FindFollowSets(&local_154)" identifier (argument_list "(&local_154)" ( (pointer_expression "&local_154" & identifier) ))) ;) (expression_statement "FindActions(&local_154);" (call_expression "FindActions(&local_154)" identifier (argument_list "(&local_154)" ( (pointer_expression "&local_154" & identifier) ))) ;) (if_statement "if (main::compress == 0) {\n      CompressTables(&local_154);\n    }" if (parenthesized_expression "(main::compress == 0)" ( (ERROR "main::" identifier : :) (binary_expression "compress == 0" identifier == number_literal) )) (compound_statement "{\n      CompressTables(&local_154);\n    }" { (expression_statement "CompressTables(&local_154);" (call_expression "CompressTables(&local_154)" identifier (argument_list "(&local_154)" ( (pointer_expression "&local_154" & identifier) ))) ;) })) (if_statement "if (main::noResort == 0) {\n      ResortStates(&local_154);\n    }" if (parenthesized_expression "(main::noResort == 0)" ( (ERROR "main::" identifier : :) (binary_expression "noResort == 0" identifier == number_literal) )) (compound_statement "{\n      ResortStates(&local_154);\n    }" { (expression_statement "ResortStates(&local_154);" (call_expression "ResortStates(&local_154)" identifier (argument_list "(&local_154)" ( (pointer_expression "&local_154" & identifier) ))) ;) })) (if_statement "if (main::quiet == 0) {\n      ReportOutput(&local_154);\n    }" if (parenthesized_expression "(main::quiet == 0)" ( (ERROR "main::" identifier : :) (binary_expression "quiet == 0" identifier == number_literal) )) (compound_statement "{\n      ReportOutput(&local_154);\n    }" { (expression_statement "ReportOutput(&local_154);" (call_expression "ReportOutput(&local_154)" identifier (argument_list "(&local_154)" ( (pointer_expression "&local_154" & identifier) ))) ;) })) (expression_statement "ReportTable(&local_154,main::mhflag);" (call_expression "ReportTable(&local_154,main::mhflag)" identifier (argument_list "(&local_154,main::mhflag)" ( (pointer_expression "&local_154" & identifier) , (ERROR "main::" identifier : :) identifier ))) ;) (if_statement "if (main::mhflag == 0) {\n      ReportHeader(&local_154);\n    }" if (parenthesized_expression "(main::mhflag == 0)" ( (ERROR "main::" identifier : :) (binary_expression "mhflag == 0" identifier == number_literal) )) (compound_statement "{\n      ReportHeader(&local_154);\n    }" { (expression_statement "ReportHeader(&local_154);" (call_expression "ReportHeader(&local_154)" identifier (argument_list "(&local_154)" ( (pointer_expression "&local_154" & identifier) ))) ;) })) }) (else_clause "else {\n    Reprint(&local_154);\n  }" else (compound_statement "{\n    Reprint(&local_154);\n  }" { (expression_statement "Reprint(&local_154);" (call_expression "Reprint(&local_154)" identifier (argument_list "(&local_154)" ( (pointer_expression "&local_154" & identifier) ))) ;) }))) (if_statement "if (main::statistics != 0) {\n    puts("Parser statistics:");\n    stats_line("terminal symbols",local_154.nterminal);\n    stats_line("non-terminal symbols",local_154.nsymbol - local_154.nterminal);\n    stats_line("total symbols",local_154.nsymbol);\n    stats_line("rules",local_154.nrule);\n    stats_line("states",local_154.nxstate);\n    stats_line("conflicts",local_154.nconflict);\n    stats_line("action table entries",local_154.nactiontab);\n    stats_line("lookahead table entries",local_154.nlookaheadtab);\n    stats_line("total table size (bytes)",local_154.tablesize);\n  }" if (parenthesized_expression "(main::statistics != 0)" ( (ERROR "main::" identifier : :) (binary_expression "statistics != 0" identifier != number_literal) )) (compound_statement "{\n    puts("Parser statistics:");\n    stats_line("terminal symbols",local_154.nterminal);\n    stats_line("non-terminal symbols",local_154.nsymbol - local_154.nterminal);\n    stats_line("total symbols",local_154.nsymbol);\n    stats_line("rules",local_154.nrule);\n    stats_line("states",local_154.nxstate);\n    stats_line("conflicts",local_154.nconflict);\n    stats_line("action table entries",local_154.nactiontab);\n    stats_line("lookahead table entries",local_154.nlookaheadtab);\n    stats_line("total table size (bytes)",local_154.tablesize);\n  }" { (expression_statement "puts("Parser statistics:");" (call_expression "puts("Parser statistics:")" identifier (argument_list "("Parser statistics:")" ( (string_literal ""Parser statistics:"" " string_content ") ))) ;) (expression_statement "stats_line("terminal symbols",local_154.nterminal);" (call_expression "stats_line("terminal symbols",local_154.nterminal)" identifier (argument_list "("terminal symbols",local_154.nterminal)" ( (string_literal ""terminal symbols"" " string_content ") , (field_expression "local_154.nterminal" identifier . field_identifier) ))) ;) (expression_statement "stats_line("non-terminal symbols",local_154.nsymbol - local_154.nterminal);" (call_expression "stats_line("non-terminal symbols",local_154.nsymbol - local_154.nterminal)" identifier (argument_list "("non-terminal symbols",local_154.nsymbol - local_154.nterminal)" ( (string_literal ""non-terminal symbols"" " string_content ") , (binary_expression "local_154.nsymbol - local_154.nterminal" (field_expression "local_154.nsymbol" identifier . field_identifier) - (field_expression "local_154.nterminal" identifier . field_identifier)) ))) ;) (expression_statement "stats_line("total symbols",local_154.nsymbol);" (call_expression "stats_line("total symbols",local_154.nsymbol)" identifier (argument_list "("total symbols",local_154.nsymbol)" ( (string_literal ""total symbols"" " string_content ") , (field_expression "local_154.nsymbol" identifier . field_identifier) ))) ;) (expression_statement "stats_line("rules",local_154.nrule);" (call_expression "stats_line("rules",local_154.nrule)" identifier (argument_list "("rules",local_154.nrule)" ( (string_literal ""rules"" " string_content ") , (field_expression "local_154.nrule" identifier . field_identifier) ))) ;) (expression_statement "stats_line("states",local_154.nxstate);" (call_expression "stats_line("states",local_154.nxstate)" identifier (argument_list "("states",local_154.nxstate)" ( (string_literal ""states"" " string_content ") , (field_expression "local_154.nxstate" identifier . field_identifier) ))) ;) (expression_statement "stats_line("conflicts",local_154.nconflict);" (call_expression "stats_line("conflicts",local_154.nconflict)" identifier (argument_list "("conflicts",local_154.nconflict)" ( (string_literal ""conflicts"" " string_content ") , (field_expression "local_154.nconflict" identifier . field_identifier) ))) ;) (expression_statement "stats_line("action table entries",local_154.nactiontab);" (call_expression "stats_line("action table entries",local_154.nactiontab)" identifier (argument_list "("action table entries",local_154.nactiontab)" ( (string_literal ""action table entries"" " string_content ") , (field_expression "local_154.nactiontab" identifier . field_identifier) ))) ;) (expression_statement "stats_line("lookahead table entries",local_154.nlookaheadtab);" (call_expression "stats_line("lookahead table entries",local_154.nlookaheadtab)" identifier (argument_list "("lookahead table entries",local_154.nlookaheadtab)" ( (string_literal ""lookahead table entries"" " string_content ") , (field_expression "local_154.nlookaheadtab" identifier . field_identifier) ))) ;) (expression_statement "stats_line("total table size (bytes)",local_154.tablesize);" (call_expression "stats_line("total table size (bytes)",local_154.tablesize)" identifier (argument_list "("total table size (bytes)",local_154.tablesize)" ( (string_literal ""total table size (bytes)"" " string_content ") , (field_expression "local_154.tablesize" identifier . field_identifier) ))) ;) })) (if_statement "if (0 < local_154.nconflict) {\n    __fprintf_chk(*(undefined4 *)puVar2,1,"%d parsing conflicts.\n",local_154.nconflict);\n  }" if (parenthesized_expression "(0 < local_154.nconflict)" ( (binary_expression "0 < local_154.nconflict" number_literal < (field_expression "local_154.nconflict" identifier . field_identifier)) )) (compound_statement "{\n    __fprintf_chk(*(undefined4 *)puVar2,1,"%d parsing conflicts.\n",local_154.nconflict);\n  }" { (expression_statement "__fprintf_chk(*(undefined4 *)puVar2,1,"%d parsing conflicts.\n",local_154.nconflict);" (call_expression "__fprintf_chk(*(undefined4 *)puVar2,1,"%d parsing conflicts.\n",local_154.nconflict)" identifier (argument_list "(*(undefined4 *)puVar2,1,"%d parsing conflicts.\n",local_154.nconflict)" ( (pointer_expression "*(undefined4 *)puVar2" * (cast_expression "(undefined4 *)puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (string_literal ""%d parsing conflicts.\n"" " string_content escape_sequence ") , (field_expression "local_154.nconflict" identifier . field_identifier) ))) ;) })) (expression_statement "local_16c = 1;" (assignment_expression "local_16c = 1" identifier = number_literal) ;) (if_statement "if (local_154.errorcnt < 1) {\n    local_16c = (uint)(0 < local_154.nconflict);\n  }" if (parenthesized_expression "(local_154.errorcnt < 1)" ( (binary_expression "local_154.errorcnt < 1" (field_expression "local_154.errorcnt" identifier . field_identifier) < number_literal) )) (compound_statement "{\n    local_16c = (uint)(0 < local_154.nconflict);\n  }" { (expression_statement "local_16c = (uint)(0 < local_154.nconflict);" (assignment_expression "local_16c = (uint)(0 < local_154.nconflict)" identifier = (call_expression "(uint)(0 < local_154.nconflict)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0 < local_154.nconflict)" ( (binary_expression "0 < local_154.nconflict" number_literal < (field_expression "local_154.nconflict" identifier . field_identifier)) )))) ;) })) comment (expression_statement "exit(local_16c);" (call_expression "exit(local_16c)" identifier (argument_list "(local_16c)" ( identifier ))) ;) })))
(translation_unit "void FUN_000112c0(undefined4 param_1,int *param_2)\n\n{\n  undefined *puVar1;\n  void *pvVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  byte bVar11;\n  undefined4 *puVar12;\n  uint local_16c;\n  undefined4 local_154;\n  int local_150;\n  int local_14c;\n  undefined4 local_148;\n  int local_140;\n  size_t local_13c;\n  int local_138;\n  void *local_11c;\n  int local_118;\n  undefined4 local_114;\n  int local_d0;\n  int local_c4;\n  undefined4 local_b4;\n  undefined4 local_ac;\n  int local_a8;\n  int local_a4 [35];\n  undefined1 *puStack_18;\n  \n  piVar9 = param_2;\n  puVar1 = PTR_stderr_00024fe8;\n  bVar11 = 0;\n  puStack_18 = (undefined1 *)&param_1;\n  local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  DAT_000251c0 = param_2;\n  DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8;\n  DAT_000251bc = &DAT_00025040;\n  if ((param_2 != (int *)0x0) && (*param_2 != 0)) {\n    FUN_000138a0();\n  }\n  if (DAT_00025198 != 0) {\n    puts("Lemon version 1.0");\n                    \n    exit(0);\n  }\n  iVar3 = FUN_000135b0();\n  if (iVar3 != 1) {\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);\n                    \n    exit(1);\n  }\n  puVar12 = &local_154;\n  puVar8 = puVar12;\n  for (iVar3 = 0x2c; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar8 = 0;\n    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;\n  }\n  if (DAT_000251ac == 0) {\n    FUN_00012850(puVar12);\n  }\n  if (DAT_000251a8 == 0) {\n    FUN_000128f0();\n  }\n  if (DAT_000251a4 == 0) {\n    FUN_00012990();\n  }\n  local_a8 = *piVar9;\n  iVar3 = FUN_00012020();\n  if (iVar3 < 0) {\n    local_d0 = 0;\n  }\n  else {\n    local_d0 = DAT_000251c0[iVar3];\n  }\n  local_b4 = DAT_00025194;\n  local_ac = DAT_00025190;\n  FUN_00019b30(&DAT_0001e964);\n  FUN_00019f50(puVar12);\n  if (local_118 != 0) {\n                    \n    exit(local_118);\n  }\n  if (local_140 == 0) {\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);\n                    \n    exit(1);\n  }\n  local_114 = FUN_00019710("error");\n  FUN_00019b30("{default}");\n  if (DAT_000251a8 == 0) {\n    local_13c = 0;\n  }\n  else {\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }\n  local_11c = (void *)FUN_0001c160();\n  if (0 < (int)local_13c) {\n    iVar3 = 0;\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  qsort(local_11c,local_13c,4,FUN_00011b40);\n  pvVar2 = local_11c;\n  iVar3 = 0;\n  if (0 < (int)local_13c) {\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  while (iVar10 == 2) {\n    iVar3 = iVar3 + -1;\n    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  }\n  local_13c = iVar3 + -1;\n  ppuVar4 = __ctype_b_loc();\n  local_138 = 1;\n  while ((*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)\n  {\n    local_138 = local_138 + 1;\n  }\n  if (local_150 == 0) {\n    local_14c = 0;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n  }\n  else {\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }\n  piVar9 = local_a4;\n  do {\n    piVar9 = piVar9 + 1;\n    local_150 = FUN_00011a80();\n  } while (local_a4 + 0x20 != piVar9);\n  if (DAT_0002518c == 0) {\n    DAT_000251b0 = local_138 + 2;\n    puVar8 = puVar12;\n    FUN_00013000(puVar12);\n    FUN_00016270(puVar12);\n    local_148 = 0;\n    FUN_0001cfb0(puVar12);\n    local_154 = FUN_0001c5a0();\n    FUN_00013ee0(puVar12);\n    FUN_000130f0(puVar12);\n    uVar6 = FUN_000197b0(puVar12);\n    if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }\n    if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }\n    if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }\n    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);\n    if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }\n  }\n  else {\n    FUN_00014350(puVar12);\n  }\n  if (DAT_00025178 != 0) {\n    puts("Parser statistics:");\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n  }\n  if (0 < local_c4) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);\n  }\n  local_16c = 1;\n  if (local_118 < 1) {\n    local_16c = (uint)(0 < local_c4);\n  }\n                    \n  exit(local_16c);\n}\n\n" (function_definition "void FUN_000112c0(undefined4 param_1,int *param_2)\n\n{\n  undefined *puVar1;\n  void *pvVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  byte bVar11;\n  undefined4 *puVar12;\n  uint local_16c;\n  undefined4 local_154;\n  int local_150;\n  int local_14c;\n  undefined4 local_148;\n  int local_140;\n  size_t local_13c;\n  int local_138;\n  void *local_11c;\n  int local_118;\n  undefined4 local_114;\n  int local_d0;\n  int local_c4;\n  undefined4 local_b4;\n  undefined4 local_ac;\n  int local_a8;\n  int local_a4 [35];\n  undefined1 *puStack_18;\n  \n  piVar9 = param_2;\n  puVar1 = PTR_stderr_00024fe8;\n  bVar11 = 0;\n  puStack_18 = (undefined1 *)&param_1;\n  local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  DAT_000251c0 = param_2;\n  DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8;\n  DAT_000251bc = &DAT_00025040;\n  if ((param_2 != (int *)0x0) && (*param_2 != 0)) {\n    FUN_000138a0();\n  }\n  if (DAT_00025198 != 0) {\n    puts("Lemon version 1.0");\n                    \n    exit(0);\n  }\n  iVar3 = FUN_000135b0();\n  if (iVar3 != 1) {\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);\n                    \n    exit(1);\n  }\n  puVar12 = &local_154;\n  puVar8 = puVar12;\n  for (iVar3 = 0x2c; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar8 = 0;\n    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;\n  }\n  if (DAT_000251ac == 0) {\n    FUN_00012850(puVar12);\n  }\n  if (DAT_000251a8 == 0) {\n    FUN_000128f0();\n  }\n  if (DAT_000251a4 == 0) {\n    FUN_00012990();\n  }\n  local_a8 = *piVar9;\n  iVar3 = FUN_00012020();\n  if (iVar3 < 0) {\n    local_d0 = 0;\n  }\n  else {\n    local_d0 = DAT_000251c0[iVar3];\n  }\n  local_b4 = DAT_00025194;\n  local_ac = DAT_00025190;\n  FUN_00019b30(&DAT_0001e964);\n  FUN_00019f50(puVar12);\n  if (local_118 != 0) {\n                    \n    exit(local_118);\n  }\n  if (local_140 == 0) {\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);\n                    \n    exit(1);\n  }\n  local_114 = FUN_00019710("error");\n  FUN_00019b30("{default}");\n  if (DAT_000251a8 == 0) {\n    local_13c = 0;\n  }\n  else {\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }\n  local_11c = (void *)FUN_0001c160();\n  if (0 < (int)local_13c) {\n    iVar3 = 0;\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  qsort(local_11c,local_13c,4,FUN_00011b40);\n  pvVar2 = local_11c;\n  iVar3 = 0;\n  if (0 < (int)local_13c) {\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  while (iVar10 == 2) {\n    iVar3 = iVar3 + -1;\n    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  }\n  local_13c = iVar3 + -1;\n  ppuVar4 = __ctype_b_loc();\n  local_138 = 1;\n  while ((*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)\n  {\n    local_138 = local_138 + 1;\n  }\n  if (local_150 == 0) {\n    local_14c = 0;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n  }\n  else {\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }\n  piVar9 = local_a4;\n  do {\n    piVar9 = piVar9 + 1;\n    local_150 = FUN_00011a80();\n  } while (local_a4 + 0x20 != piVar9);\n  if (DAT_0002518c == 0) {\n    DAT_000251b0 = local_138 + 2;\n    puVar8 = puVar12;\n    FUN_00013000(puVar12);\n    FUN_00016270(puVar12);\n    local_148 = 0;\n    FUN_0001cfb0(puVar12);\n    local_154 = FUN_0001c5a0();\n    FUN_00013ee0(puVar12);\n    FUN_000130f0(puVar12);\n    uVar6 = FUN_000197b0(puVar12);\n    if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }\n    if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }\n    if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }\n    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);\n    if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }\n  }\n  else {\n    FUN_00014350(puVar12);\n  }\n  if (DAT_00025178 != 0) {\n    puts("Parser statistics:");\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n  }\n  if (0 < local_c4) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);\n  }\n  local_16c = 1;\n  if (local_118 < 1) {\n    local_16c = (uint)(0 < local_c4);\n  }\n                    \n  exit(local_16c);\n}" primitive_type (function_declarator "FUN_000112c0(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  void *pvVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  byte bVar11;\n  undefined4 *puVar12;\n  uint local_16c;\n  undefined4 local_154;\n  int local_150;\n  int local_14c;\n  undefined4 local_148;\n  int local_140;\n  size_t local_13c;\n  int local_138;\n  void *local_11c;\n  int local_118;\n  undefined4 local_114;\n  int local_d0;\n  int local_c4;\n  undefined4 local_b4;\n  undefined4 local_ac;\n  int local_a8;\n  int local_a4 [35];\n  undefined1 *puStack_18;\n  \n  piVar9 = param_2;\n  puVar1 = PTR_stderr_00024fe8;\n  bVar11 = 0;\n  puStack_18 = (undefined1 *)&param_1;\n  local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  DAT_000251c0 = param_2;\n  DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8;\n  DAT_000251bc = &DAT_00025040;\n  if ((param_2 != (int *)0x0) && (*param_2 != 0)) {\n    FUN_000138a0();\n  }\n  if (DAT_00025198 != 0) {\n    puts("Lemon version 1.0");\n                    \n    exit(0);\n  }\n  iVar3 = FUN_000135b0();\n  if (iVar3 != 1) {\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);\n                    \n    exit(1);\n  }\n  puVar12 = &local_154;\n  puVar8 = puVar12;\n  for (iVar3 = 0x2c; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar8 = 0;\n    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;\n  }\n  if (DAT_000251ac == 0) {\n    FUN_00012850(puVar12);\n  }\n  if (DAT_000251a8 == 0) {\n    FUN_000128f0();\n  }\n  if (DAT_000251a4 == 0) {\n    FUN_00012990();\n  }\n  local_a8 = *piVar9;\n  iVar3 = FUN_00012020();\n  if (iVar3 < 0) {\n    local_d0 = 0;\n  }\n  else {\n    local_d0 = DAT_000251c0[iVar3];\n  }\n  local_b4 = DAT_00025194;\n  local_ac = DAT_00025190;\n  FUN_00019b30(&DAT_0001e964);\n  FUN_00019f50(puVar12);\n  if (local_118 != 0) {\n                    \n    exit(local_118);\n  }\n  if (local_140 == 0) {\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);\n                    \n    exit(1);\n  }\n  local_114 = FUN_00019710("error");\n  FUN_00019b30("{default}");\n  if (DAT_000251a8 == 0) {\n    local_13c = 0;\n  }\n  else {\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }\n  local_11c = (void *)FUN_0001c160();\n  if (0 < (int)local_13c) {\n    iVar3 = 0;\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  qsort(local_11c,local_13c,4,FUN_00011b40);\n  pvVar2 = local_11c;\n  iVar3 = 0;\n  if (0 < (int)local_13c) {\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  while (iVar10 == 2) {\n    iVar3 = iVar3 + -1;\n    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  }\n  local_13c = iVar3 + -1;\n  ppuVar4 = __ctype_b_loc();\n  local_138 = 1;\n  while ((*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)\n  {\n    local_138 = local_138 + 1;\n  }\n  if (local_150 == 0) {\n    local_14c = 0;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n  }\n  else {\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }\n  piVar9 = local_a4;\n  do {\n    piVar9 = piVar9 + 1;\n    local_150 = FUN_00011a80();\n  } while (local_a4 + 0x20 != piVar9);\n  if (DAT_0002518c == 0) {\n    DAT_000251b0 = local_138 + 2;\n    puVar8 = puVar12;\n    FUN_00013000(puVar12);\n    FUN_00016270(puVar12);\n    local_148 = 0;\n    FUN_0001cfb0(puVar12);\n    local_154 = FUN_0001c5a0();\n    FUN_00013ee0(puVar12);\n    FUN_000130f0(puVar12);\n    uVar6 = FUN_000197b0(puVar12);\n    if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }\n    if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }\n    if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }\n    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);\n    if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }\n  }\n  else {\n    FUN_00014350(puVar12);\n  }\n  if (DAT_00025178 != 0) {\n    puts("Parser statistics:");\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n  }\n  if (0 < local_c4) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);\n  }\n  local_16c = 1;\n  if (local_118 < 1) {\n    local_16c = (uint)(0 < local_c4);\n  }\n                    \n  exit(local_16c);\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ushort **ppuVar4;" type_identifier (pointer_declarator "**ppuVar4" * (pointer_declarator "*ppuVar4" * identifier)) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar11;" type_identifier identifier ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "uint local_16c;" type_identifier identifier ;) (declaration "undefined4 local_154;" type_identifier identifier ;) (declaration "int local_150;" primitive_type identifier ;) (declaration "int local_14c;" primitive_type identifier ;) (declaration "undefined4 local_148;" type_identifier identifier ;) (declaration "int local_140;" primitive_type identifier ;) (declaration "size_t local_13c;" primitive_type identifier ;) (declaration "int local_138;" primitive_type identifier ;) (declaration "void *local_11c;" primitive_type (pointer_declarator "*local_11c" * identifier) ;) (declaration "int local_118;" primitive_type identifier ;) (declaration "undefined4 local_114;" type_identifier identifier ;) (declaration "int local_d0;" primitive_type identifier ;) (declaration "int local_c4;" primitive_type identifier ;) (declaration "undefined4 local_b4;" type_identifier identifier ;) (declaration "undefined4 local_ac;" type_identifier identifier ;) (declaration "int local_a8;" primitive_type identifier ;) (declaration "int local_a4 [35];" primitive_type (array_declarator "local_a4 [35]" identifier [ number_literal ]) ;) (declaration "undefined1 *puStack_18;" type_identifier (pointer_declarator "*puStack_18" * identifier) ;) (expression_statement "piVar9 = param_2;" (assignment_expression "piVar9 = param_2" identifier = identifier) ;) (expression_statement "puVar1 = PTR_stderr_00024fe8;" (assignment_expression "puVar1 = PTR_stderr_00024fe8" identifier = identifier) ;) (expression_statement "bVar11 = 0;" (assignment_expression "bVar11 = 0" identifier = number_literal) ;) (expression_statement "puStack_18 = (undefined1 *)&param_1;" (assignment_expression "puStack_18 = (undefined1 *)&param_1" identifier = (cast_expression "(undefined1 *)&param_1" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&param_1" & identifier))) ;) (expression_statement "local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_a4[0x20]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" * (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "DAT_000251c0 = param_2;" (assignment_expression "DAT_000251c0 = param_2" identifier = identifier) ;) (expression_statement "DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8;" (assignment_expression "DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_00024fe8" * (cast_expression "(undefined4 *)PTR_stderr_00024fe8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "DAT_000251bc = &DAT_00025040;" (assignment_expression "DAT_000251bc = &DAT_00025040" identifier = (pointer_expression "&DAT_00025040" & identifier)) ;) (if_statement "if ((param_2 != (int *)0x0) && (*param_2 != 0)) {\n    FUN_000138a0();\n  }" if (parenthesized_expression "((param_2 != (int *)0x0) && (*param_2 != 0))" ( (binary_expression "(param_2 != (int *)0x0) && (*param_2 != 0)" (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*param_2 != 0)" ( (binary_expression "*param_2 != 0" (pointer_expression "*param_2" * identifier) != number_literal) ))) )) (compound_statement "{\n    FUN_000138a0();\n  }" { (expression_statement "FUN_000138a0();" (call_expression "FUN_000138a0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (DAT_00025198 != 0) {\n    puts("Lemon version 1.0");\n                    \n    exit(0);\n  }" if (parenthesized_expression "(DAT_00025198 != 0)" ( (binary_expression "DAT_00025198 != 0" identifier != number_literal) )) (compound_statement "{\n    puts("Lemon version 1.0");\n                    \n    exit(0);\n  }" { (expression_statement "puts("Lemon version 1.0");" (call_expression "puts("Lemon version 1.0")" identifier (argument_list "("Lemon version 1.0")" ( (string_literal ""Lemon version 1.0"" " string_content ") ))) ;) (expression_statement "exit(0);" (call_expression "exit(0)" identifier (argument_list "(0)" ( number_literal ))) ;) })) (expression_statement "iVar3 = FUN_000135b0();" (assignment_expression "iVar3 = FUN_000135b0()" identifier = (call_expression "FUN_000135b0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 != 1) {\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);\n                    \n    exit(1);\n  }" if (parenthesized_expression "(iVar3 != 1)" ( (binary_expression "iVar3 != 1" identifier != number_literal) )) (compound_statement "{\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);\n                    \n    exit(1);\n  }" { (expression_statement "fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);" (call_expression "fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1)" identifier (argument_list "("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1)" ( (string_literal ""Exactly one filename argument is required.\n"" " string_content escape_sequence ") , number_literal , number_literal , (pointer_expression "*(FILE **)puVar1" * (cast_expression "(FILE **)puVar1" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "exit(1);" (call_expression "exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "puVar12 = &local_154;" (assignment_expression "puVar12 = &local_154" identifier = (pointer_expression "&local_154" & identifier)) ;) (expression_statement "puVar8 = puVar12;" (assignment_expression "puVar8 = puVar12" identifier = identifier) ;) (for_statement "for (iVar3 = 0x2c; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar8 = 0;\n    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;\n  }" for ( (assignment_expression "iVar3 = 0x2c" identifier = number_literal) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar8 = 0;\n    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;\n  }" { (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "puVar8 = puVar8 + (uint)bVar11 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "puVar8 + (uint)bVar11 * -2 + 1" (binary_expression "puVar8 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (if_statement "if (DAT_000251ac == 0) {\n    FUN_00012850(puVar12);\n  }" if (parenthesized_expression "(DAT_000251ac == 0)" ( (binary_expression "DAT_000251ac == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00012850(puVar12);\n  }" { (expression_statement "FUN_00012850(puVar12);" (call_expression "FUN_00012850(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) })) (if_statement "if (DAT_000251a8 == 0) {\n    FUN_000128f0();\n  }" if (parenthesized_expression "(DAT_000251a8 == 0)" ( (binary_expression "DAT_000251a8 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_000128f0();\n  }" { (expression_statement "FUN_000128f0();" (call_expression "FUN_000128f0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (DAT_000251a4 == 0) {\n    FUN_00012990();\n  }" if (parenthesized_expression "(DAT_000251a4 == 0)" ( (binary_expression "DAT_000251a4 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00012990();\n  }" { (expression_statement "FUN_00012990();" (call_expression "FUN_00012990()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "local_a8 = *piVar9;" (assignment_expression "local_a8 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (expression_statement "iVar3 = FUN_00012020();" (assignment_expression "iVar3 = FUN_00012020()" identifier = (call_expression "FUN_00012020()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 < 0) {\n    local_d0 = 0;\n  }\n  else {\n    local_d0 = DAT_000251c0[iVar3];\n  }" if (parenthesized_expression "(iVar3 < 0)" ( (binary_expression "iVar3 < 0" identifier < number_literal) )) (compound_statement "{\n    local_d0 = 0;\n  }" { (expression_statement "local_d0 = 0;" (assignment_expression "local_d0 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    local_d0 = DAT_000251c0[iVar3];\n  }" else (compound_statement "{\n    local_d0 = DAT_000251c0[iVar3];\n  }" { (expression_statement "local_d0 = DAT_000251c0[iVar3];" (assignment_expression "local_d0 = DAT_000251c0[iVar3]" identifier = (subscript_expression "DAT_000251c0[iVar3]" identifier [ identifier ])) ;) }))) (expression_statement "local_b4 = DAT_00025194;" (assignment_expression "local_b4 = DAT_00025194" identifier = identifier) ;) (expression_statement "local_ac = DAT_00025190;" (assignment_expression "local_ac = DAT_00025190" identifier = identifier) ;) (expression_statement "FUN_00019b30(&DAT_0001e964);" (call_expression "FUN_00019b30(&DAT_0001e964)" identifier (argument_list "(&DAT_0001e964)" ( (pointer_expression "&DAT_0001e964" & identifier) ))) ;) (expression_statement "FUN_00019f50(puVar12);" (call_expression "FUN_00019f50(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) (if_statement "if (local_118 != 0) {\n                    \n    exit(local_118);\n  }" if (parenthesized_expression "(local_118 != 0)" ( (binary_expression "local_118 != 0" identifier != number_literal) )) (compound_statement "{\n                    \n    exit(local_118);\n  }" { (expression_statement "exit(local_118);" (call_expression "exit(local_118)" identifier (argument_list "(local_118)" ( identifier ))) ;) })) (if_statement "if (local_140 == 0) {\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);\n                    \n    exit(1);\n  }" if (parenthesized_expression "(local_140 == 0)" ( (binary_expression "local_140 == 0" identifier == number_literal) )) (compound_statement "{\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);\n                    \n    exit(1);\n  }" { (expression_statement "fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);" (call_expression "fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1)" identifier (argument_list "("Empty grammar.\n",1,0xf,*(FILE **)puVar1)" ( (string_literal ""Empty grammar.\n"" " string_content escape_sequence ") , number_literal , number_literal , (pointer_expression "*(FILE **)puVar1" * (cast_expression "(FILE **)puVar1" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (expression_statement "exit(1);" (call_expression "exit(1)" identifier (argument_list "(1)" ( number_literal ))) ;) })) (expression_statement "local_114 = FUN_00019710("error");" (assignment_expression "local_114 = FUN_00019710("error")" identifier = (call_expression "FUN_00019710("error")" identifier (argument_list "("error")" ( (string_literal ""error"" " string_content ") )))) ;) (expression_statement "FUN_00019b30("{default}");" (call_expression "FUN_00019b30("{default}")" identifier (argument_list "("{default}")" ( (string_literal ""{default}"" " string_content ") ))) ;) (if_statement "if (DAT_000251a8 == 0) {\n    local_13c = 0;\n  }\n  else {\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }" if (parenthesized_expression "(DAT_000251a8 == 0)" ( (binary_expression "DAT_000251a8 == 0" identifier == number_literal) )) (compound_statement "{\n    local_13c = 0;\n  }" { (expression_statement "local_13c = 0;" (assignment_expression "local_13c = 0" identifier = number_literal) ;) }) (else_clause "else {\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }" else (compound_statement "{\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }" { (expression_statement "local_13c = *(size_t *)(DAT_000251a8 + 4);" (assignment_expression "local_13c = *(size_t *)(DAT_000251a8 + 4)" identifier = (pointer_expression "*(size_t *)(DAT_000251a8 + 4)" * (cast_expression "(size_t *)(DAT_000251a8 + 4)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000251a8 + 4)" ( (binary_expression "DAT_000251a8 + 4" identifier + number_literal) ))))) ;) }))) (expression_statement "local_11c = (void *)FUN_0001c160();" (assignment_expression "local_11c = (void *)FUN_0001c160()" identifier = (cast_expression "(void *)FUN_0001c160()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0001c160()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (0 < (int)local_13c) {\n    iVar3 = 0;\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }" if (parenthesized_expression "(0 < (int)local_13c)" ( (binary_expression "0 < (int)local_13c" number_literal < (cast_expression "(int)local_13c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    iVar3 = 0;\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);" do (compound_statement "{\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    }" { (expression_statement "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;" (assignment_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3" (pointer_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4)" * (cast_expression "(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)local_11c + iVar3 * 4) + 4)" ( (binary_expression "*(int *)((int)local_11c + iVar3 * 4) + 4" (pointer_expression "*(int *)((int)local_11c + iVar3 * 4)" * (cast_expression "(int *)((int)local_11c + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_11c + iVar3 * 4)" ( (binary_expression "(int)local_11c + iVar3 * 4" (cast_expression "(int)local_11c" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < (int)local_13c)" ( (binary_expression "iVar3 < (int)local_13c" identifier < (cast_expression "(int)local_13c" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (expression_statement "qsort(local_11c,local_13c,4,FUN_00011b40);" (call_expression "qsort(local_11c,local_13c,4,FUN_00011b40)" identifier (argument_list "(local_11c,local_13c,4,FUN_00011b40)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "pvVar2 = local_11c;" (assignment_expression "pvVar2 = local_11c" identifier = identifier) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (0 < (int)local_13c) {\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }" if (parenthesized_expression "(0 < (int)local_13c)" ( (binary_expression "0 < (int)local_13c" number_literal < (cast_expression "(int)local_13c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }" { (do_statement "do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);" do (compound_statement "{\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    }" { (expression_statement "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;" (assignment_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3" (pointer_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4)" * (cast_expression "(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)local_11c + iVar3 * 4) + 4)" ( (binary_expression "*(int *)((int)local_11c + iVar3 * 4) + 4" (pointer_expression "*(int *)((int)local_11c + iVar3 * 4)" * (cast_expression "(int *)((int)local_11c + iVar3 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_11c + iVar3 * 4)" ( (binary_expression "(int)local_11c + iVar3 * 4" (cast_expression "(int)local_11c" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < (int)local_13c)" ( (binary_expression "iVar3 < (int)local_13c" identifier < (cast_expression "(int)local_13c" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (expression_statement "iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);" (assignment_expression "iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" identifier = (pointer_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" * (cast_expression "(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" ( (binary_expression "*(int *)((int)local_11c + iVar3 * 4 + -4) + 8" (pointer_expression "*(int *)((int)local_11c + iVar3 * 4 + -4)" * (cast_expression "(int *)((int)local_11c + iVar3 * 4 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_11c + iVar3 * 4 + -4)" ( (binary_expression "(int)local_11c + iVar3 * 4 + -4" (binary_expression "(int)local_11c + iVar3 * 4" (cast_expression "(int)local_11c" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar3 * 4" identifier * number_literal)) + number_literal) )))) + number_literal) ))))) ;) (while_statement "while (iVar10 == 2) {\n    iVar3 = iVar3 + -1;\n    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  }" while (parenthesized_expression "(iVar10 == 2)" ( (binary_expression "iVar10 == 2" identifier == number_literal) )) (compound_statement "{\n    iVar3 = iVar3 + -1;\n    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  }" { (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);" (assignment_expression "iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" identifier = (pointer_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" * (cast_expression "(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" ( (binary_expression "*(int *)((int)local_11c + iVar3 * 4 + -4) + 8" (pointer_expression "*(int *)((int)local_11c + iVar3 * 4 + -4)" * (cast_expression "(int *)((int)local_11c + iVar3 * 4 + -4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_11c + iVar3 * 4 + -4)" ( (binary_expression "(int)local_11c + iVar3 * 4 + -4" (binary_expression "(int)local_11c + iVar3 * 4" (cast_expression "(int)local_11c" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar3 * 4" identifier * number_literal)) + number_literal) )))) + number_literal) ))))) ;) })) (expression_statement "local_13c = iVar3 + -1;" (assignment_expression "local_13c = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ;) (expression_statement "ppuVar4 = __ctype_b_loc();" (assignment_expression "ppuVar4 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_138 = 1;" (assignment_expression "local_138 = 1" identifier = number_literal) ;) (while_statement "while ((*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)\n  {\n    local_138 = local_138 + 1;\n  }" while (parenthesized_expression "((*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)" ( (binary_expression "(*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1)" ( (binary_expression "*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1" (pointer_expression "*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1)" * (cast_expression "(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1)" ( (binary_expression "(int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1" (binary_expression "(int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2" (cast_expression "(int)*ppuVar4" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*ppuVar4" * identifier)) + (binary_expression "(uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2" (binary_expression "(uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(undefined4 **)((int)pvVar2 + local_138 * 4)" * (pointer_expression "*(undefined4 **)((int)pvVar2 + local_138 * 4)" * (cast_expression "(undefined4 **)((int)pvVar2 + local_138 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pvVar2 + local_138 * 4)" ( (binary_expression "(int)pvVar2 + local_138 * 4" (cast_expression "(int)pvVar2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "local_138 * 4" identifier * number_literal)) ))))))) * number_literal)) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    local_138 = local_138 + 1;\n  }" { (expression_statement "local_138 = local_138 + 1;" (assignment_expression "local_138 = local_138 + 1" identifier = (binary_expression "local_138 + 1" identifier + number_literal)) ;) })) (if_statement "if (local_150 == 0) {\n    local_14c = 0;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n  }\n  else {\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }" if (parenthesized_expression "(local_150 == 0)" ( (binary_expression "local_150 == 0" identifier == number_literal) )) (compound_statement "{\n    local_14c = 0;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n  }" { (expression_statement "local_14c = 0;" (assignment_expression "local_14c = 0" identifier = number_literal) ;) (expression_statement "piVar9 = local_a4;" (assignment_expression "piVar9 = local_a4" identifier = identifier) ;) (for_statement "for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }" for ( (assignment_expression "iVar3 = 0x20" identifier = number_literal) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }" { (expression_statement "*piVar9 = 0;" (assignment_expression "*piVar9 = 0" (pointer_expression "*piVar9" * identifier) = number_literal) ;) (expression_statement "piVar9 = piVar9 + (uint)bVar11 * -2 + 1;" (assignment_expression "piVar9 = piVar9 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "piVar9 + (uint)bVar11 * -2 + 1" (binary_expression "piVar9 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) }) (else_clause "else {\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }" else (compound_statement "{\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }" { (expression_statement "iVar3 = local_150;" (assignment_expression "iVar3 = local_150" identifier = identifier) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);" do (compound_statement "{\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    }" { (if_statement "if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }" if (parenthesized_expression "(*(int *)(iVar3 + 0x20) == 0)" ( (binary_expression "*(int *)(iVar3 + 0x20) == 0" (pointer_expression "*(int *)(iVar3 + 0x20)" * (cast_expression "(int *)(iVar3 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x20)" ( (binary_expression "iVar3 + 0x20" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }" { (expression_statement "iVar7 = iVar10;" (assignment_expression "iVar7 = iVar10" identifier = identifier) ;) (expression_statement "iVar10 = -1;" (assignment_expression "iVar10 = -1" identifier = number_literal) ;) }) (else_clause "else {\n        iVar7 = iVar10 + 1;\n      }" else (compound_statement "{\n        iVar7 = iVar10 + 1;\n      }" { (expression_statement "iVar7 = iVar10 + 1;" (assignment_expression "iVar7 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) }))) (expression_statement "*(int *)(iVar3 + 0x3c) = iVar10;" (assignment_expression "*(int *)(iVar3 + 0x3c) = iVar10" (pointer_expression "*(int *)(iVar3 + 0x3c)" * (cast_expression "(int *)(iVar3 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x3c)" ( (binary_expression "iVar3 + 0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = *(int *)(iVar3 + 0x4c);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x4c)" identifier = (pointer_expression "*(int *)(iVar3 + 0x4c)" * (cast_expression "(int *)(iVar3 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4c)" ( (binary_expression "iVar3 + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "iVar5 = local_150;" (assignment_expression "iVar5 = local_150" identifier = identifier) ;) (expression_statement "iVar10 = iVar7;" (assignment_expression "iVar10 = iVar7" identifier = identifier) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) (do_statement "do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);" do (compound_statement "{\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    }" { (if_statement "if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }" if (parenthesized_expression "(*(int *)(iVar5 + 0x3c) < 0)" ( (binary_expression "*(int *)(iVar5 + 0x3c) < 0" (pointer_expression "*(int *)(iVar5 + 0x3c)" * (cast_expression "(int *)(iVar5 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x3c)" ( (binary_expression "iVar5 + 0x3c" identifier + number_literal) )))) < number_literal) )) (compound_statement "{\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }" { (expression_statement "*(int *)(iVar5 + 0x3c) = iVar7;" (assignment_expression "*(int *)(iVar5 + 0x3c) = iVar7" (pointer_expression "*(int *)(iVar5 + 0x3c)" * (cast_expression "(int *)(iVar5 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x3c)" ( (binary_expression "iVar5 + 0x3c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) })) (expression_statement "piVar9 = (int *)(iVar5 + 0x4c);" (assignment_expression "piVar9 = (int *)(iVar5 + 0x4c)" identifier = (cast_expression "(int *)(iVar5 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x4c)" ( (binary_expression "iVar5 + 0x4c" identifier + number_literal) )))) ;) (expression_statement "iVar5 = *piVar9;" (assignment_expression "iVar5 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) }) while (parenthesized_expression "(*piVar9 != 0)" ( (binary_expression "*piVar9 != 0" (pointer_expression "*piVar9" * identifier) != number_literal) )) ;) (expression_statement "local_14c = local_150;" (assignment_expression "local_14c = local_150" identifier = identifier) ;) (expression_statement "piVar9 = local_a4;" (assignment_expression "piVar9 = local_a4" identifier = identifier) ;) (for_statement "for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }" for ( (assignment_expression "iVar3 = 0x20" identifier = number_literal) ; (binary_expression "iVar3 != 0" identifier != number_literal) ; (assignment_expression "iVar3 = iVar3 + -1" identifier = (binary_expression "iVar3 + -1" identifier + number_literal)) ) (compound_statement "{\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }" { (expression_statement "*piVar9 = 0;" (assignment_expression "*piVar9 = 0" (pointer_expression "*piVar9" * identifier) = number_literal) ;) (expression_statement "piVar9 = piVar9 + (uint)bVar11 * -2 + 1;" (assignment_expression "piVar9 = piVar9 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "piVar9 + (uint)bVar11 * -2 + 1" (binary_expression "piVar9 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (do_statement "do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);" do (compound_statement "{\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    }" { (expression_statement "iVar3 = *(int *)(local_150 + 0x4c);" (assignment_expression "iVar3 = *(int *)(local_150 + 0x4c)" identifier = (pointer_expression "*(int *)(local_150 + 0x4c)" * (cast_expression "(int *)(local_150 + 0x4c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_150 + 0x4c)" ( (binary_expression "local_150 + 0x4c" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(local_150 + 0x4c) = 0;" (assignment_expression "*(undefined4 *)(local_150 + 0x4c) = 0" (pointer_expression "*(undefined4 *)(local_150 + 0x4c)" * (cast_expression "(undefined4 *)(local_150 + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_150 + 0x4c)" ( (binary_expression "local_150 + 0x4c" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }" if (parenthesized_expression "(local_a4[0] != 0)" ( (binary_expression "local_a4[0] != 0" (subscript_expression "local_a4[0]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }" { (expression_statement "local_150 = FUN_00011a80();" (assignment_expression "local_150 = FUN_00011a80()" identifier = (call_expression "FUN_00011a80()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;) (expression_statement "local_a4[0] = 0;" (assignment_expression "local_a4[0] = 0" (subscript_expression "local_a4[0]" identifier [ number_literal ]) = number_literal) ;) (do_statement "do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);" do (compound_statement "{\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        }" { (if_statement "if (local_a4[iVar10] == 0) break;" if (parenthesized_expression "(local_a4[iVar10] == 0)" ( (binary_expression "local_a4[iVar10] == 0" (subscript_expression "local_a4[iVar10]" identifier [ identifier ]) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "local_150 = FUN_00011a80();" (assignment_expression "local_150 = FUN_00011a80()" identifier = (call_expression "FUN_00011a80()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_a4[iVar10] = 0;" (assignment_expression "local_a4[iVar10] = 0" (subscript_expression "local_a4[iVar10]" identifier [ identifier ]) = number_literal) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar10 != 0x20)" ( (binary_expression "iVar10 != 0x20" identifier != number_literal) )) ;) })) (expression_statement "local_a4[iVar10] = local_150;" (assignment_expression "local_a4[iVar10] = local_150" (subscript_expression "local_a4[iVar10]" identifier [ identifier ]) = identifier) ;) (expression_statement "local_150 = iVar3;" (assignment_expression "local_150 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;) }))) (expression_statement "piVar9 = local_a4;" (assignment_expression "piVar9 = local_a4" identifier = identifier) ;) (do_statement "do {\n    piVar9 = piVar9 + 1;\n    local_150 = FUN_00011a80();\n  } while (local_a4 + 0x20 != piVar9);" do (compound_statement "{\n    piVar9 = piVar9 + 1;\n    local_150 = FUN_00011a80();\n  }" { (expression_statement "piVar9 = piVar9 + 1;" (assignment_expression "piVar9 = piVar9 + 1" identifier = (binary_expression "piVar9 + 1" identifier + number_literal)) ;) (expression_statement "local_150 = FUN_00011a80();" (assignment_expression "local_150 = FUN_00011a80()" identifier = (call_expression "FUN_00011a80()" identifier (argument_list "()" ( )))) ;) }) while (parenthesized_expression "(local_a4 + 0x20 != piVar9)" ( (binary_expression "local_a4 + 0x20 != piVar9" (binary_expression "local_a4 + 0x20" identifier + number_literal) != identifier) )) ;) (if_statement "if (DAT_0002518c == 0) {\n    DAT_000251b0 = local_138 + 2;\n    puVar8 = puVar12;\n    FUN_00013000(puVar12);\n    FUN_00016270(puVar12);\n    local_148 = 0;\n    FUN_0001cfb0(puVar12);\n    local_154 = FUN_0001c5a0();\n    FUN_00013ee0(puVar12);\n    FUN_000130f0(puVar12);\n    uVar6 = FUN_000197b0(puVar12);\n    if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }\n    if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }\n    if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }\n    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);\n    if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }\n  }\n  else {\n    FUN_00014350(puVar12);\n  }" if (parenthesized_expression "(DAT_0002518c == 0)" ( (binary_expression "DAT_0002518c == 0" identifier == number_literal) )) (compound_statement "{\n    DAT_000251b0 = local_138 + 2;\n    puVar8 = puVar12;\n    FUN_00013000(puVar12);\n    FUN_00016270(puVar12);\n    local_148 = 0;\n    FUN_0001cfb0(puVar12);\n    local_154 = FUN_0001c5a0();\n    FUN_00013ee0(puVar12);\n    FUN_000130f0(puVar12);\n    uVar6 = FUN_000197b0(puVar12);\n    if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }\n    if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }\n    if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }\n    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);\n    if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }\n  }" { (expression_statement "DAT_000251b0 = local_138 + 2;" (assignment_expression "DAT_000251b0 = local_138 + 2" identifier = (binary_expression "local_138 + 2" identifier + number_literal)) ;) (expression_statement "puVar8 = puVar12;" (assignment_expression "puVar8 = puVar12" identifier = identifier) ;) (expression_statement "FUN_00013000(puVar12);" (call_expression "FUN_00013000(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "FUN_00016270(puVar12);" (call_expression "FUN_00016270(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "local_148 = 0;" (assignment_expression "local_148 = 0" identifier = number_literal) ;) (expression_statement "FUN_0001cfb0(puVar12);" (call_expression "FUN_0001cfb0(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "local_154 = FUN_0001c5a0();" (assignment_expression "local_154 = FUN_0001c5a0()" identifier = (call_expression "FUN_0001c5a0()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00013ee0(puVar12);" (call_expression "FUN_00013ee0(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "FUN_000130f0(puVar12);" (call_expression "FUN_000130f0(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) (expression_statement "uVar6 = FUN_000197b0(puVar12);" (assignment_expression "uVar6 = FUN_000197b0(puVar12)" identifier = (call_expression "FUN_000197b0(puVar12)" identifier (argument_list "(puVar12)" ( identifier )))) ;) (if_statement "if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }" if (parenthesized_expression "(DAT_00025188 == 0)" ( (binary_expression "DAT_00025188 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar6 = FUN_00019c10(puVar8);\n    }" { (expression_statement "uVar6 = FUN_00019c10(puVar8);" (assignment_expression "uVar6 = FUN_00019c10(puVar8)" identifier = (call_expression "FUN_00019c10(puVar8)" identifier (argument_list "(puVar8)" ( identifier )))) ;) })) (if_statement "if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }" if (parenthesized_expression "(DAT_00025184 == 0)" ( (binary_expression "DAT_00025184 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar6 = FUN_000160e0(puVar8);\n    }" { (expression_statement "uVar6 = FUN_000160e0(puVar8);" (assignment_expression "uVar6 = FUN_000160e0(puVar8)" identifier = (call_expression "FUN_000160e0(puVar8)" identifier (argument_list "(puVar8)" ( identifier )))) ;) })) (if_statement "if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }" if (parenthesized_expression "(DAT_00025180 == 0)" ( (binary_expression "DAT_00025180 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar6 = FUN_000147f0(puVar8);\n    }" { (expression_statement "uVar6 = FUN_000147f0(puVar8);" (assignment_expression "uVar6 = FUN_000147f0(puVar8)" identifier = (call_expression "FUN_000147f0(puVar8)" identifier (argument_list "(puVar8)" ( identifier )))) ;) })) (expression_statement "FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);" (call_expression "FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6)" identifier (argument_list "(puVar8,DAT_0002517c,uVar6,uVar6)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }" if (parenthesized_expression "(DAT_0002517c == 0)" ( (binary_expression "DAT_0002517c == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_00015f30(puVar8);\n    }" { (expression_statement "FUN_00015f30(puVar8);" (call_expression "FUN_00015f30(puVar8)" identifier (argument_list "(puVar8)" ( identifier ))) ;) })) }) (else_clause "else {\n    FUN_00014350(puVar12);\n  }" else (compound_statement "{\n    FUN_00014350(puVar12);\n  }" { (expression_statement "FUN_00014350(puVar12);" (call_expression "FUN_00014350(puVar12)" identifier (argument_list "(puVar12)" ( identifier ))) ;) }))) (if_statement "if (DAT_00025178 != 0) {\n    puts("Parser statistics:");\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n  }" if (parenthesized_expression "(DAT_00025178 != 0)" ( (binary_expression "DAT_00025178 != 0" identifier != number_literal) )) (compound_statement "{\n    puts("Parser statistics:");\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n  }" { (expression_statement "puts("Parser statistics:");" (call_expression "puts("Parser statistics:")" identifier (argument_list "("Parser statistics:")" ( (string_literal ""Parser statistics:"" " string_content ") ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (0 < local_c4) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);\n  }" if (parenthesized_expression "(0 < local_c4)" ( (binary_expression "0 < local_c4" number_literal < identifier) )) (compound_statement "{\n    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);\n  }" { (expression_statement "__fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);" (call_expression "__fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4)" identifier (argument_list "(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , (string_literal ""%d parsing conflicts.\n"" " string_content escape_sequence ") , identifier ))) ;) })) (expression_statement "local_16c = 1;" (assignment_expression "local_16c = 1" identifier = number_literal) ;) (if_statement "if (local_118 < 1) {\n    local_16c = (uint)(0 < local_c4);\n  }" if (parenthesized_expression "(local_118 < 1)" ( (binary_expression "local_118 < 1" identifier < number_literal) )) (compound_statement "{\n    local_16c = (uint)(0 < local_c4);\n  }" { (expression_statement "local_16c = (uint)(0 < local_c4);" (assignment_expression "local_16c = (uint)(0 < local_c4)" identifier = (call_expression "(uint)(0 < local_c4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0 < local_c4)" ( (binary_expression "0 < local_c4" number_literal < identifier) )))) ;) })) (expression_statement "exit(local_16c);" (call_expression "exit(local_16c)" identifier (argument_list "(local_16c)" ( identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != 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 (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == 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 (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) )))) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) )))) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) ;) })) (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 (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) + LIT) )))) + LIT) ))))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (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) )))) + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression IDENT * LIT)) ))))))) * LIT)) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) != IDENT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , (string_literal " string_content escape_sequence ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })))
(function_definition "void FUN_000112c0(undefined4 param_1,int *param_2)\n\n{\n  undefined *puVar1;\n  void *pvVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  byte bVar11;\n  undefined4 *puVar12;\n  uint local_16c;\n  undefined4 local_154;\n  int local_150;\n  int local_14c;\n  undefined4 local_148;\n  int local_140;\n  size_t local_13c;\n  int local_138;\n  void *local_11c;\n  int local_118;\n  undefined4 local_114;\n  int local_d0;\n  int local_c4;\n  undefined4 local_b4;\n  undefined4 local_ac;\n  int local_a8;\n  int local_a4 [35];\n  undefined1 *puStack_18;\n  \n  piVar9 = param_2;\n  puVar1 = PTR_stderr_00024fe8;\n  bVar11 = 0;\n  puStack_18 = (undefined1 *)&param_1;\n  local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  DAT_000251c0 = param_2;\n  DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8;\n  DAT_000251bc = &DAT_00025040;\n  if ((param_2 != (int *)0x0) && (*param_2 != 0)) {\n    FUN_000138a0();\n  }\n  if (DAT_00025198 != 0) {\n    puts("Lemon version 1.0");\n                    \n    exit(0);\n  }\n  iVar3 = FUN_000135b0();\n  if (iVar3 != 1) {\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);\n                    \n    exit(1);\n  }\n  puVar12 = &local_154;\n  puVar8 = puVar12;\n  for (iVar3 = 0x2c; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar8 = 0;\n    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;\n  }\n  if (DAT_000251ac == 0) {\n    FUN_00012850(puVar12);\n  }\n  if (DAT_000251a8 == 0) {\n    FUN_000128f0();\n  }\n  if (DAT_000251a4 == 0) {\n    FUN_00012990();\n  }\n  local_a8 = *piVar9;\n  iVar3 = FUN_00012020();\n  if (iVar3 < 0) {\n    local_d0 = 0;\n  }\n  else {\n    local_d0 = DAT_000251c0[iVar3];\n  }\n  local_b4 = DAT_00025194;\n  local_ac = DAT_00025190;\n  FUN_00019b30(&DAT_0001e964);\n  FUN_00019f50(puVar12);\n  if (local_118 != 0) {\n                    \n    exit(local_118);\n  }\n  if (local_140 == 0) {\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);\n                    \n    exit(1);\n  }\n  local_114 = FUN_00019710("error");\n  FUN_00019b30("{default}");\n  if (DAT_000251a8 == 0) {\n    local_13c = 0;\n  }\n  else {\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }\n  local_11c = (void *)FUN_0001c160();\n  if (0 < (int)local_13c) {\n    iVar3 = 0;\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  qsort(local_11c,local_13c,4,FUN_00011b40);\n  pvVar2 = local_11c;\n  iVar3 = 0;\n  if (0 < (int)local_13c) {\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  while (iVar10 == 2) {\n    iVar3 = iVar3 + -1;\n    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  }\n  local_13c = iVar3 + -1;\n  ppuVar4 = __ctype_b_loc();\n  local_138 = 1;\n  while ((*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)\n  {\n    local_138 = local_138 + 1;\n  }\n  if (local_150 == 0) {\n    local_14c = 0;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n  }\n  else {\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }\n  piVar9 = local_a4;\n  do {\n    piVar9 = piVar9 + 1;\n    local_150 = FUN_00011a80();\n  } while (local_a4 + 0x20 != piVar9);\n  if (DAT_0002518c == 0) {\n    DAT_000251b0 = local_138 + 2;\n    puVar8 = puVar12;\n    FUN_00013000(puVar12);\n    FUN_00016270(puVar12);\n    local_148 = 0;\n    FUN_0001cfb0(puVar12);\n    local_154 = FUN_0001c5a0();\n    FUN_00013ee0(puVar12);\n    FUN_000130f0(puVar12);\n    uVar6 = FUN_000197b0(puVar12);\n    if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }\n    if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }\n    if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }\n    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);\n    if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }\n  }\n  else {\n    FUN_00014350(puVar12);\n  }\n  if (DAT_00025178 != 0) {\n    puts("Parser statistics:");\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n  }\n  if (0 < local_c4) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);\n  }\n  local_16c = 1;\n  if (local_118 < 1) {\n    local_16c = (uint)(0 < local_c4);\n  }\n                    \n  exit(local_16c);\n}" (primitive_type "void") (function_declarator "FUN_000112c0(undefined4 param_1,int *param_2)" (identifier "FUN_000112c0") (parameter_list "(undefined4 param_1,int *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  void *pvVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int *piVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  byte bVar11;\n  undefined4 *puVar12;\n  uint local_16c;\n  undefined4 local_154;\n  int local_150;\n  int local_14c;\n  undefined4 local_148;\n  int local_140;\n  size_t local_13c;\n  int local_138;\n  void *local_11c;\n  int local_118;\n  undefined4 local_114;\n  int local_d0;\n  int local_c4;\n  undefined4 local_b4;\n  undefined4 local_ac;\n  int local_a8;\n  int local_a4 [35];\n  undefined1 *puStack_18;\n  \n  piVar9 = param_2;\n  puVar1 = PTR_stderr_00024fe8;\n  bVar11 = 0;\n  puStack_18 = (undefined1 *)&param_1;\n  local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14);\n  DAT_000251c0 = param_2;\n  DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8;\n  DAT_000251bc = &DAT_00025040;\n  if ((param_2 != (int *)0x0) && (*param_2 != 0)) {\n    FUN_000138a0();\n  }\n  if (DAT_00025198 != 0) {\n    puts("Lemon version 1.0");\n                    \n    exit(0);\n  }\n  iVar3 = FUN_000135b0();\n  if (iVar3 != 1) {\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);\n                    \n    exit(1);\n  }\n  puVar12 = &local_154;\n  puVar8 = puVar12;\n  for (iVar3 = 0x2c; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar8 = 0;\n    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;\n  }\n  if (DAT_000251ac == 0) {\n    FUN_00012850(puVar12);\n  }\n  if (DAT_000251a8 == 0) {\n    FUN_000128f0();\n  }\n  if (DAT_000251a4 == 0) {\n    FUN_00012990();\n  }\n  local_a8 = *piVar9;\n  iVar3 = FUN_00012020();\n  if (iVar3 < 0) {\n    local_d0 = 0;\n  }\n  else {\n    local_d0 = DAT_000251c0[iVar3];\n  }\n  local_b4 = DAT_00025194;\n  local_ac = DAT_00025190;\n  FUN_00019b30(&DAT_0001e964);\n  FUN_00019f50(puVar12);\n  if (local_118 != 0) {\n                    \n    exit(local_118);\n  }\n  if (local_140 == 0) {\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);\n                    \n    exit(1);\n  }\n  local_114 = FUN_00019710("error");\n  FUN_00019b30("{default}");\n  if (DAT_000251a8 == 0) {\n    local_13c = 0;\n  }\n  else {\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }\n  local_11c = (void *)FUN_0001c160();\n  if (0 < (int)local_13c) {\n    iVar3 = 0;\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  qsort(local_11c,local_13c,4,FUN_00011b40);\n  pvVar2 = local_11c;\n  iVar3 = 0;\n  if (0 < (int)local_13c) {\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }\n  iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  while (iVar10 == 2) {\n    iVar3 = iVar3 + -1;\n    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  }\n  local_13c = iVar3 + -1;\n  ppuVar4 = __ctype_b_loc();\n  local_138 = 1;\n  while ((*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)\n  {\n    local_138 = local_138 + 1;\n  }\n  if (local_150 == 0) {\n    local_14c = 0;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n  }\n  else {\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }\n  piVar9 = local_a4;\n  do {\n    piVar9 = piVar9 + 1;\n    local_150 = FUN_00011a80();\n  } while (local_a4 + 0x20 != piVar9);\n  if (DAT_0002518c == 0) {\n    DAT_000251b0 = local_138 + 2;\n    puVar8 = puVar12;\n    FUN_00013000(puVar12);\n    FUN_00016270(puVar12);\n    local_148 = 0;\n    FUN_0001cfb0(puVar12);\n    local_154 = FUN_0001c5a0();\n    FUN_00013ee0(puVar12);\n    FUN_000130f0(puVar12);\n    uVar6 = FUN_000197b0(puVar12);\n    if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }\n    if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }\n    if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }\n    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);\n    if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }\n  }\n  else {\n    FUN_00014350(puVar12);\n  }\n  if (DAT_00025178 != 0) {\n    puts("Parser statistics:");\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n  }\n  if (0 < local_c4) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);\n  }\n  local_16c = 1;\n  if (local_118 < 1) {\n    local_16c = (uint)(0 < local_c4);\n  }\n                    \n  exit(local_16c);\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "void *pvVar2;" (primitive_type "void") (pointer_declarator "*pvVar2" (* "*") (identifier "pvVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "ushort **ppuVar4;" (type_identifier "ushort") (pointer_declarator "**ppuVar4" (* "*") (pointer_declarator "*ppuVar4" (* "*") (identifier "ppuVar4"))) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "int *piVar9;" (primitive_type "int") (pointer_declarator "*piVar9" (* "*") (identifier "piVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "byte bVar11;" (type_identifier "byte") (identifier "bVar11") (; ";")) (declaration "undefined4 *puVar12;" (type_identifier "undefined4") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "uint local_16c;" (type_identifier "uint") (identifier "local_16c") (; ";")) (declaration "undefined4 local_154;" (type_identifier "undefined4") (identifier "local_154") (; ";")) (declaration "int local_150;" (primitive_type "int") (identifier "local_150") (; ";")) (declaration "int local_14c;" (primitive_type "int") (identifier "local_14c") (; ";")) (declaration "undefined4 local_148;" (type_identifier "undefined4") (identifier "local_148") (; ";")) (declaration "int local_140;" (primitive_type "int") (identifier "local_140") (; ";")) (declaration "size_t local_13c;" (primitive_type "size_t") (identifier "local_13c") (; ";")) (declaration "int local_138;" (primitive_type "int") (identifier "local_138") (; ";")) (declaration "void *local_11c;" (primitive_type "void") (pointer_declarator "*local_11c" (* "*") (identifier "local_11c")) (; ";")) (declaration "int local_118;" (primitive_type "int") (identifier "local_118") (; ";")) (declaration "undefined4 local_114;" (type_identifier "undefined4") (identifier "local_114") (; ";")) (declaration "int local_d0;" (primitive_type "int") (identifier "local_d0") (; ";")) (declaration "int local_c4;" (primitive_type "int") (identifier "local_c4") (; ";")) (declaration "undefined4 local_b4;" (type_identifier "undefined4") (identifier "local_b4") (; ";")) (declaration "undefined4 local_ac;" (type_identifier "undefined4") (identifier "local_ac") (; ";")) (declaration "int local_a8;" (primitive_type "int") (identifier "local_a8") (; ";")) (declaration "int local_a4 [35];" (primitive_type "int") (array_declarator "local_a4 [35]" (identifier "local_a4") ([ "[") (number_literal "35") (] "]")) (; ";")) (declaration "undefined1 *puStack_18;" (type_identifier "undefined1") (pointer_declarator "*puStack_18" (* "*") (identifier "puStack_18")) (; ";")) (expression_statement "piVar9 = param_2;" (assignment_expression "piVar9 = param_2" (identifier "piVar9") (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar1 = PTR_stderr_00024fe8;" (assignment_expression "puVar1 = PTR_stderr_00024fe8" (identifier "puVar1") (= "=") (identifier "PTR_stderr_00024fe8")) (; ";")) (expression_statement "bVar11 = 0;" (assignment_expression "bVar11 = 0" (identifier "bVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "puStack_18 = (undefined1 *)&param_1;" (assignment_expression "puStack_18 = (undefined1 *)&param_1" (identifier "puStack_18") (= "=") (cast_expression "(undefined1 *)&param_1" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&param_1" (& "&") (identifier "param_1")))) (; ";")) (expression_statement "local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_a4[0x20]" (identifier "local_a4") ([ "[") (number_literal "0x20") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(undefined4 *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "DAT_000251c0 = param_2;" (assignment_expression "DAT_000251c0 = param_2" (identifier "DAT_000251c0") (= "=") (identifier "param_2")) (; ";")) (expression_statement "DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8;" (assignment_expression "DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8" (identifier "DAT_000251b8") (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_00024fe8" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00024fe8" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00024fe8")))) (; ";")) (expression_statement "DAT_000251bc = &DAT_00025040;" (assignment_expression "DAT_000251bc = &DAT_00025040" (identifier "DAT_000251bc") (= "=") (pointer_expression "&DAT_00025040" (& "&") (identifier "DAT_00025040"))) (; ";")) (if_statement "if ((param_2 != (int *)0x0) && (*param_2 != 0)) {\n    FUN_000138a0();\n  }" (if "if") (parenthesized_expression "((param_2 != (int *)0x0) && (*param_2 != 0))" (( "(") (binary_expression "(param_2 != (int *)0x0) && (*param_2 != 0)" (parenthesized_expression "(param_2 != (int *)0x0)" (( "(") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*param_2 != 0)" (( "(") (binary_expression "*param_2 != 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    FUN_000138a0();\n  }" ({ "{") (expression_statement "FUN_000138a0();" (call_expression "FUN_000138a0()" (identifier "FUN_000138a0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (DAT_00025198 != 0) {\n    puts("Lemon version 1.0");\n                    \n    exit(0);\n  }" (if "if") (parenthesized_expression "(DAT_00025198 != 0)" (( "(") (binary_expression "DAT_00025198 != 0" (identifier "DAT_00025198") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puts("Lemon version 1.0");\n                    \n    exit(0);\n  }" ({ "{") (expression_statement "puts("Lemon version 1.0");" (call_expression "puts("Lemon version 1.0")" (identifier "puts") (argument_list "("Lemon version 1.0")" (( "(") (string_literal ""Lemon version 1.0"" (" """) (string_content "Lemon version 1.0") (" """)) () ")"))) (; ";")) (expression_statement "exit(0);" (call_expression "exit(0)" (identifier "exit") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar3 = FUN_000135b0();" (assignment_expression "iVar3 = FUN_000135b0()" (identifier "iVar3") (= "=") (call_expression "FUN_000135b0()" (identifier "FUN_000135b0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 != 1) {\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);\n                    \n    exit(1);\n  }" (if "if") (parenthesized_expression "(iVar3 != 1)" (( "(") (binary_expression "iVar3 != 1" (identifier "iVar3") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);\n                    \n    exit(1);\n  }" ({ "{") (expression_statement "fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);" (call_expression "fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1)" (identifier "fwrite") (argument_list "("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1)" (( "(") (string_literal ""Exactly one filename argument is required.\n"" (" """) (string_content "Exactly one filename argument is required.") (escape_sequence "\n") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "0x2b") (, ",") (pointer_expression "*(FILE **)puVar1" (* "*") (cast_expression "(FILE **)puVar1" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1"))) () ")"))) (; ";")) (expression_statement "exit(1);" (call_expression "exit(1)" (identifier "exit") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar12 = &local_154;" (assignment_expression "puVar12 = &local_154" (identifier "puVar12") (= "=") (pointer_expression "&local_154" (& "&") (identifier "local_154"))) (; ";")) (expression_statement "puVar8 = puVar12;" (assignment_expression "puVar8 = puVar12" (identifier "puVar8") (= "=") (identifier "puVar12")) (; ";")) (for_statement "for (iVar3 = 0x2c; iVar3 != 0; iVar3 = iVar3 + -1) {\n    *puVar8 = 0;\n    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;\n  }" (for "for") (( "(") (assignment_expression "iVar3 = 0x2c" (identifier "iVar3") (= "=") (number_literal "0x2c")) (; ";") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n    *puVar8 = 0;\n    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;\n  }" ({ "{") (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar8 = puVar8 + (uint)bVar11 * -2 + 1;" (assignment_expression "puVar8 = puVar8 + (uint)bVar11 * -2 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + (uint)bVar11 * -2 + 1" (binary_expression "puVar8 + (uint)bVar11 * -2" (identifier "puVar8") (+ "+") (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar11")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (DAT_000251ac == 0) {\n    FUN_00012850(puVar12);\n  }" (if "if") (parenthesized_expression "(DAT_000251ac == 0)" (( "(") (binary_expression "DAT_000251ac == 0" (identifier "DAT_000251ac") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00012850(puVar12);\n  }" ({ "{") (expression_statement "FUN_00012850(puVar12);" (call_expression "FUN_00012850(puVar12)" (identifier "FUN_00012850") (argument_list "(puVar12)" (( "(") (identifier "puVar12") () ")"))) (; ";")) (} "}"))) (if_statement "if (DAT_000251a8 == 0) {\n    FUN_000128f0();\n  }" (if "if") (parenthesized_expression "(DAT_000251a8 == 0)" (( "(") (binary_expression "DAT_000251a8 == 0" (identifier "DAT_000251a8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_000128f0();\n  }" ({ "{") (expression_statement "FUN_000128f0();" (call_expression "FUN_000128f0()" (identifier "FUN_000128f0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (DAT_000251a4 == 0) {\n    FUN_00012990();\n  }" (if "if") (parenthesized_expression "(DAT_000251a4 == 0)" (( "(") (binary_expression "DAT_000251a4 == 0" (identifier "DAT_000251a4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00012990();\n  }" ({ "{") (expression_statement "FUN_00012990();" (call_expression "FUN_00012990()" (identifier "FUN_00012990") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "local_a8 = *piVar9;" (assignment_expression "local_a8 = *piVar9" (identifier "local_a8") (= "=") (pointer_expression "*piVar9" (* "*") (identifier "piVar9"))) (; ";")) (expression_statement "iVar3 = FUN_00012020();" (assignment_expression "iVar3 = FUN_00012020()" (identifier "iVar3") (= "=") (call_expression "FUN_00012020()" (identifier "FUN_00012020") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 < 0) {\n    local_d0 = 0;\n  }\n  else {\n    local_d0 = DAT_000251c0[iVar3];\n  }" (if "if") (parenthesized_expression "(iVar3 < 0)" (( "(") (binary_expression "iVar3 < 0" (identifier "iVar3") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    local_d0 = 0;\n  }" ({ "{") (expression_statement "local_d0 = 0;" (assignment_expression "local_d0 = 0" (identifier "local_d0") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    local_d0 = DAT_000251c0[iVar3];\n  }" (else "else") (compound_statement "{\n    local_d0 = DAT_000251c0[iVar3];\n  }" ({ "{") (expression_statement "local_d0 = DAT_000251c0[iVar3];" (assignment_expression "local_d0 = DAT_000251c0[iVar3]" (identifier "local_d0") (= "=") (subscript_expression "DAT_000251c0[iVar3]" (identifier "DAT_000251c0") ([ "[") (identifier "iVar3") (] "]"))) (; ";")) (} "}")))) (expression_statement "local_b4 = DAT_00025194;" (assignment_expression "local_b4 = DAT_00025194" (identifier "local_b4") (= "=") (identifier "DAT_00025194")) (; ";")) (expression_statement "local_ac = DAT_00025190;" (assignment_expression "local_ac = DAT_00025190" (identifier "local_ac") (= "=") (identifier "DAT_00025190")) (; ";")) (expression_statement "FUN_00019b30(&DAT_0001e964);" (call_expression "FUN_00019b30(&DAT_0001e964)" (identifier "FUN_00019b30") (argument_list "(&DAT_0001e964)" (( "(") (pointer_expression "&DAT_0001e964" (& "&") (identifier "DAT_0001e964")) () ")"))) (; ";")) (expression_statement "FUN_00019f50(puVar12);" (call_expression "FUN_00019f50(puVar12)" (identifier "FUN_00019f50") (argument_list "(puVar12)" (( "(") (identifier "puVar12") () ")"))) (; ";")) (if_statement "if (local_118 != 0) {\n                    \n    exit(local_118);\n  }" (if "if") (parenthesized_expression "(local_118 != 0)" (( "(") (binary_expression "local_118 != 0" (identifier "local_118") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    exit(local_118);\n  }" ({ "{") (expression_statement "exit(local_118);" (call_expression "exit(local_118)" (identifier "exit") (argument_list "(local_118)" (( "(") (identifier "local_118") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_140 == 0) {\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);\n                    \n    exit(1);\n  }" (if "if") (parenthesized_expression "(local_140 == 0)" (( "(") (binary_expression "local_140 == 0" (identifier "local_140") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);\n                    \n    exit(1);\n  }" ({ "{") (expression_statement "fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);" (call_expression "fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1)" (identifier "fwrite") (argument_list "("Empty grammar.\n",1,0xf,*(FILE **)puVar1)" (( "(") (string_literal ""Empty grammar.\n"" (" """) (string_content "Empty grammar.") (escape_sequence "\n") (" """)) (, ",") (number_literal "1") (, ",") (number_literal "0xf") (, ",") (pointer_expression "*(FILE **)puVar1" (* "*") (cast_expression "(FILE **)puVar1" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar1"))) () ")"))) (; ";")) (expression_statement "exit(1);" (call_expression "exit(1)" (identifier "exit") (argument_list "(1)" (( "(") (number_literal "1") () ")"))) (; ";")) (} "}"))) (expression_statement "local_114 = FUN_00019710("error");" (assignment_expression "local_114 = FUN_00019710("error")" (identifier "local_114") (= "=") (call_expression "FUN_00019710("error")" (identifier "FUN_00019710") (argument_list "("error")" (( "(") (string_literal ""error"" (" """) (string_content "error") (" """)) () ")")))) (; ";")) (expression_statement "FUN_00019b30("{default}");" (call_expression "FUN_00019b30("{default}")" (identifier "FUN_00019b30") (argument_list "("{default}")" (( "(") (string_literal ""{default}"" (" """) (string_content "{default}") (" """)) () ")"))) (; ";")) (if_statement "if (DAT_000251a8 == 0) {\n    local_13c = 0;\n  }\n  else {\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }" (if "if") (parenthesized_expression "(DAT_000251a8 == 0)" (( "(") (binary_expression "DAT_000251a8 == 0" (identifier "DAT_000251a8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_13c = 0;\n  }" ({ "{") (expression_statement "local_13c = 0;" (assignment_expression "local_13c = 0" (identifier "local_13c") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }" (else "else") (compound_statement "{\n    local_13c = *(size_t *)(DAT_000251a8 + 4);\n  }" ({ "{") (expression_statement "local_13c = *(size_t *)(DAT_000251a8 + 4);" (assignment_expression "local_13c = *(size_t *)(DAT_000251a8 + 4)" (identifier "local_13c") (= "=") (pointer_expression "*(size_t *)(DAT_000251a8 + 4)" (* "*") (cast_expression "(size_t *)(DAT_000251a8 + 4)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000251a8 + 4)" (( "(") (binary_expression "DAT_000251a8 + 4" (identifier "DAT_000251a8") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}")))) (expression_statement "local_11c = (void *)FUN_0001c160();" (assignment_expression "local_11c = (void *)FUN_0001c160()" (identifier "local_11c") (= "=") (cast_expression "(void *)FUN_0001c160()" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0001c160()" (identifier "FUN_0001c160") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (0 < (int)local_13c) {\n    iVar3 = 0;\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }" (if "if") (parenthesized_expression "(0 < (int)local_13c)" (( "(") (binary_expression "0 < (int)local_13c" (number_literal "0") (< "<") (cast_expression "(int)local_13c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_13c"))) () ")")) (compound_statement "{\n    iVar3 = 0;\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);" (do "do") (compound_statement "{\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    }" ({ "{") (expression_statement "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;" (assignment_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3" (pointer_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4)" (* "*") (cast_expression "(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)((int)local_11c + iVar3 * 4) + 4)" (( "(") (binary_expression "*(int *)((int)local_11c + iVar3 * 4) + 4" (pointer_expression "*(int *)((int)local_11c + iVar3 * 4)" (* "*") (cast_expression "(int *)((int)local_11c + iVar3 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_11c + iVar3 * 4)" (( "(") (binary_expression "(int)local_11c + iVar3 * 4" (cast_expression "(int)local_11c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_11c")) (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")")))) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 < (int)local_13c)" (( "(") (binary_expression "iVar3 < (int)local_13c" (identifier "iVar3") (< "<") (cast_expression "(int)local_13c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_13c"))) () ")")) (; ";")) (} "}"))) (expression_statement "qsort(local_11c,local_13c,4,FUN_00011b40);" (call_expression "qsort(local_11c,local_13c,4,FUN_00011b40)" (identifier "qsort") (argument_list "(local_11c,local_13c,4,FUN_00011b40)" (( "(") (identifier "local_11c") (, ",") (identifier "local_13c") (, ",") (number_literal "4") (, ",") (identifier "FUN_00011b40") () ")"))) (; ";")) (expression_statement "pvVar2 = local_11c;" (assignment_expression "pvVar2 = local_11c" (identifier "pvVar2") (= "=") (identifier "local_11c")) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < (int)local_13c) {\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }" (if "if") (parenthesized_expression "(0 < (int)local_13c)" (( "(") (binary_expression "0 < (int)local_13c" (number_literal "0") (< "<") (cast_expression "(int)local_13c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_13c"))) () ")")) (compound_statement "{\n    do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);\n  }" ({ "{") (do_statement "do {\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    } while (iVar3 < (int)local_13c);" (do "do") (compound_statement "{\n      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;\n      iVar3 = iVar3 + 1;\n    }" ({ "{") (expression_statement "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;" (assignment_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3" (pointer_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4)" (* "*") (cast_expression "(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)((int)local_11c + iVar3 * 4) + 4)" (( "(") (binary_expression "*(int *)((int)local_11c + iVar3 * 4) + 4" (pointer_expression "*(int *)((int)local_11c + iVar3 * 4)" (* "*") (cast_expression "(int *)((int)local_11c + iVar3 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_11c + iVar3 * 4)" (( "(") (binary_expression "(int)local_11c + iVar3 * 4" (cast_expression "(int)local_11c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_11c")) (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")")))) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 < (int)local_13c)" (( "(") (binary_expression "iVar3 < (int)local_13c" (identifier "iVar3") (< "<") (cast_expression "(int)local_13c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_13c"))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);" (assignment_expression "iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" (* "*") (cast_expression "(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" (( "(") (binary_expression "*(int *)((int)local_11c + iVar3 * 4 + -4) + 8" (pointer_expression "*(int *)((int)local_11c + iVar3 * 4 + -4)" (* "*") (cast_expression "(int *)((int)local_11c + iVar3 * 4 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_11c + iVar3 * 4 + -4)" (( "(") (binary_expression "(int)local_11c + iVar3 * 4 + -4" (binary_expression "(int)local_11c + iVar3 * 4" (cast_expression "(int)local_11c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_11c")) (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) (+ "+") (number_literal "-4")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (while_statement "while (iVar10 == 2) {\n    iVar3 = iVar3 + -1;\n    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  }" (while "while") (parenthesized_expression "(iVar10 == 2)" (( "(") (binary_expression "iVar10 == 2" (identifier "iVar10") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    iVar3 = iVar3 + -1;\n    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);\n  }" ({ "{") (expression_statement "iVar3 = iVar3 + -1;" (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);" (assignment_expression "iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" (* "*") (cast_expression "(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8)" (( "(") (binary_expression "*(int *)((int)local_11c + iVar3 * 4 + -4) + 8" (pointer_expression "*(int *)((int)local_11c + iVar3 * 4 + -4)" (* "*") (cast_expression "(int *)((int)local_11c + iVar3 * 4 + -4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_11c + iVar3 * 4 + -4)" (( "(") (binary_expression "(int)local_11c + iVar3 * 4 + -4" (binary_expression "(int)local_11c + iVar3 * 4" (cast_expression "(int)local_11c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_11c")) (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) (+ "+") (number_literal "-4")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}"))) (expression_statement "local_13c = iVar3 + -1;" (assignment_expression "local_13c = iVar3 + -1" (identifier "local_13c") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "ppuVar4 = __ctype_b_loc();" (assignment_expression "ppuVar4 = __ctype_b_loc()" (identifier "ppuVar4") (= "=") (call_expression "__ctype_b_loc()" (identifier "__ctype_b_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_138 = 1;" (assignment_expression "local_138 = 1" (identifier "local_138") (= "=") (number_literal "1")) (; ";")) (while_statement "while ((*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)\n  {\n    local_138 = local_138 + 1;\n  }" (while "while") (parenthesized_expression "((*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)" (( "(") (binary_expression "(*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0" (parenthesized_expression "(*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1)" (( "(") (binary_expression "*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1" (pointer_expression "*(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1)" (* "*") (cast_expression "(byte *)((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1)" (( "(") (binary_expression "(int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1" (binary_expression "(int)*ppuVar4 +\n                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2" (cast_expression "(int)*ppuVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*ppuVar4" (* "*") (identifier "ppuVar4"))) (+ "+") (binary_expression "(uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2" (binary_expression "(uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(undefined4 **)((int)pvVar2 + local_138 * 4)" (* "*") (pointer_expression "*(undefined4 **)((int)pvVar2 + local_138 * 4)" (* "*") (cast_expression "(undefined4 **)((int)pvVar2 + local_138 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)pvVar2 + local_138 * 4)" (( "(") (binary_expression "(int)pvVar2 + local_138 * 4" (cast_expression "(int)pvVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar2")) (+ "+") (binary_expression "local_138 * 4" (identifier "local_138") (* "*") (number_literal "4"))) () ")"))))))) (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    local_138 = local_138 + 1;\n  }" ({ "{") (expression_statement "local_138 = local_138 + 1;" (assignment_expression "local_138 = local_138 + 1" (identifier "local_138") (= "=") (binary_expression "local_138 + 1" (identifier "local_138") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (local_150 == 0) {\n    local_14c = 0;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n  }\n  else {\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }" (if "if") (parenthesized_expression "(local_150 == 0)" (( "(") (binary_expression "local_150 == 0" (identifier "local_150") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_14c = 0;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n  }" ({ "{") (expression_statement "local_14c = 0;" (assignment_expression "local_14c = 0" (identifier "local_14c") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar9 = local_a4;" (assignment_expression "piVar9 = local_a4" (identifier "piVar9") (= "=") (identifier "local_a4")) (; ";")) (for_statement "for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }" (for "for") (( "(") (assignment_expression "iVar3 = 0x20" (identifier "iVar3") (= "=") (number_literal "0x20")) (; ";") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }" ({ "{") (expression_statement "*piVar9 = 0;" (assignment_expression "*piVar9 = 0" (pointer_expression "*piVar9" (* "*") (identifier "piVar9")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar9 = piVar9 + (uint)bVar11 * -2 + 1;" (assignment_expression "piVar9 = piVar9 + (uint)bVar11 * -2 + 1" (identifier "piVar9") (= "=") (binary_expression "piVar9 + (uint)bVar11 * -2 + 1" (binary_expression "piVar9 + (uint)bVar11 * -2" (identifier "piVar9") (+ "+") (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar11")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }" (else "else") (compound_statement "{\n    iVar3 = local_150;\n    iVar10 = 0;\n    do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);\n    do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);\n    local_14c = local_150;\n    piVar9 = local_a4;\n    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }\n    do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);\n  }" ({ "{") (expression_statement "iVar3 = local_150;" (assignment_expression "iVar3 = local_150" (identifier "iVar3") (= "=") (identifier "local_150")) (; ";")) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    } while (iVar3 != 0);" (do "do") (compound_statement "{\n      if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }\n      *(int *)(iVar3 + 0x3c) = iVar10;\n      iVar3 = *(int *)(iVar3 + 0x4c);\n      iVar5 = local_150;\n      iVar10 = iVar7;\n    }" ({ "{") (if_statement "if (*(int *)(iVar3 + 0x20) == 0) {\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }\n      else {\n        iVar7 = iVar10 + 1;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar3 + 0x20) == 0)" (( "(") (binary_expression "*(int *)(iVar3 + 0x20) == 0" (pointer_expression "*(int *)(iVar3 + 0x20)" (* "*") (cast_expression "(int *)(iVar3 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x20)" (( "(") (binary_expression "iVar3 + 0x20" (identifier "iVar3") (+ "+") (number_literal "0x20")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar7 = iVar10;\n        iVar10 = -1;\n      }" ({ "{") (expression_statement "iVar7 = iVar10;" (assignment_expression "iVar7 = iVar10" (identifier "iVar7") (= "=") (identifier "iVar10")) (; ";")) (expression_statement "iVar10 = -1;" (assignment_expression "iVar10 = -1" (identifier "iVar10") (= "=") (number_literal "-1")) (; ";")) (} "}")) (else_clause "else {\n        iVar7 = iVar10 + 1;\n      }" (else "else") (compound_statement "{\n        iVar7 = iVar10 + 1;\n      }" ({ "{") (expression_statement "iVar7 = iVar10 + 1;" (assignment_expression "iVar7 = iVar10 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "*(int *)(iVar3 + 0x3c) = iVar10;" (assignment_expression "*(int *)(iVar3 + 0x3c) = iVar10" (pointer_expression "*(int *)(iVar3 + 0x3c)" (* "*") (cast_expression "(int *)(iVar3 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x3c)" (( "(") (binary_expression "iVar3 + 0x3c" (identifier "iVar3") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "iVar3 = *(int *)(iVar3 + 0x4c);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x4c)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar3 + 0x4c)" (* "*") (cast_expression "(int *)(iVar3 + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x4c)" (( "(") (binary_expression "iVar3 + 0x4c" (identifier "iVar3") (+ "+") (number_literal "0x4c")) () ")"))))) (; ";")) (expression_statement "iVar5 = local_150;" (assignment_expression "iVar5 = local_150" (identifier "iVar5") (= "=") (identifier "local_150")) (; ";")) (expression_statement "iVar10 = iVar7;" (assignment_expression "iVar10 = iVar7" (identifier "iVar10") (= "=") (identifier "iVar7")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (do_statement "do {\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    } while (*piVar9 != 0);" (do "do") (compound_statement "{\n      if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }\n      piVar9 = (int *)(iVar5 + 0x4c);\n      iVar5 = *piVar9;\n    }" ({ "{") (if_statement "if (*(int *)(iVar5 + 0x3c) < 0) {\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar5 + 0x3c) < 0)" (( "(") (binary_expression "*(int *)(iVar5 + 0x3c) < 0" (pointer_expression "*(int *)(iVar5 + 0x3c)" (* "*") (cast_expression "(int *)(iVar5 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x3c)" (( "(") (binary_expression "iVar5 + 0x3c" (identifier "iVar5") (+ "+") (number_literal "0x3c")) () ")")))) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n        *(int *)(iVar5 + 0x3c) = iVar7;\n        iVar7 = iVar7 + 1;\n      }" ({ "{") (expression_statement "*(int *)(iVar5 + 0x3c) = iVar7;" (assignment_expression "*(int *)(iVar5 + 0x3c) = iVar7" (pointer_expression "*(int *)(iVar5 + 0x3c)" (* "*") (cast_expression "(int *)(iVar5 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x3c)" (( "(") (binary_expression "iVar5 + 0x3c" (identifier "iVar5") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "piVar9 = (int *)(iVar5 + 0x4c);" (assignment_expression "piVar9 = (int *)(iVar5 + 0x4c)" (identifier "piVar9") (= "=") (cast_expression "(int *)(iVar5 + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x4c)" (( "(") (binary_expression "iVar5 + 0x4c" (identifier "iVar5") (+ "+") (number_literal "0x4c")) () ")")))) (; ";")) (expression_statement "iVar5 = *piVar9;" (assignment_expression "iVar5 = *piVar9" (identifier "iVar5") (= "=") (pointer_expression "*piVar9" (* "*") (identifier "piVar9"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*piVar9 != 0)" (( "(") (binary_expression "*piVar9 != 0" (pointer_expression "*piVar9" (* "*") (identifier "piVar9")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "local_14c = local_150;" (assignment_expression "local_14c = local_150" (identifier "local_14c") (= "=") (identifier "local_150")) (; ";")) (expression_statement "piVar9 = local_a4;" (assignment_expression "piVar9 = local_a4" (identifier "piVar9") (= "=") (identifier "local_a4")) (; ";")) (for_statement "for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }" (for "for") (( "(") (assignment_expression "iVar3 = 0x20" (identifier "iVar3") (= "=") (number_literal "0x20")) (; ";") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar3 = iVar3 + -1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + -1" (identifier "iVar3") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n      *piVar9 = 0;\n      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;\n    }" ({ "{") (expression_statement "*piVar9 = 0;" (assignment_expression "*piVar9 = 0" (pointer_expression "*piVar9" (* "*") (identifier "piVar9")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar9 = piVar9 + (uint)bVar11 * -2 + 1;" (assignment_expression "piVar9 = piVar9 + (uint)bVar11 * -2 + 1" (identifier "piVar9") (= "=") (binary_expression "piVar9 + (uint)bVar11 * -2 + 1" (binary_expression "piVar9 + (uint)bVar11 * -2" (identifier "piVar9") (+ "+") (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar11")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (do_statement "do {\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    } while (iVar3 != 0);" (do "do") (compound_statement "{\n      iVar3 = *(int *)(local_150 + 0x4c);\n      iVar10 = 0;\n      *(undefined4 *)(local_150 + 0x4c) = 0;\n      if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }\n      local_a4[iVar10] = local_150;\n      local_150 = iVar3;\n    }" ({ "{") (expression_statement "iVar3 = *(int *)(local_150 + 0x4c);" (assignment_expression "iVar3 = *(int *)(local_150 + 0x4c)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(local_150 + 0x4c)" (* "*") (cast_expression "(int *)(local_150 + 0x4c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_150 + 0x4c)" (( "(") (binary_expression "local_150 + 0x4c" (identifier "local_150") (+ "+") (number_literal "0x4c")) () ")"))))) (; ";")) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(local_150 + 0x4c) = 0;" (assignment_expression "*(undefined4 *)(local_150 + 0x4c) = 0" (pointer_expression "*(undefined4 *)(local_150 + 0x4c)" (* "*") (cast_expression "(undefined4 *)(local_150 + 0x4c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_150 + 0x4c)" (( "(") (binary_expression "local_150 + 0x4c" (identifier "local_150") (+ "+") (number_literal "0x4c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_a4[0] != 0) {\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }" (if "if") (parenthesized_expression "(local_a4[0] != 0)" (( "(") (binary_expression "local_a4[0] != 0" (subscript_expression "local_a4[0]" (identifier "local_a4") ([ "[") (number_literal "0") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        local_150 = FUN_00011a80();\n        iVar10 = 1;\n        local_a4[0] = 0;\n        do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);\n      }" ({ "{") (expression_statement "local_150 = FUN_00011a80();" (assignment_expression "local_150 = FUN_00011a80()" (identifier "local_150") (= "=") (call_expression "FUN_00011a80()" (identifier "FUN_00011a80") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" (identifier "iVar10") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_a4[0] = 0;" (assignment_expression "local_a4[0] = 0" (subscript_expression "local_a4[0]" (identifier "local_a4") ([ "[") (number_literal "0") (] "]")) (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        } while (iVar10 != 0x20);" (do "do") (compound_statement "{\n          if (local_a4[iVar10] == 0) break;\n          local_150 = FUN_00011a80();\n          local_a4[iVar10] = 0;\n          iVar10 = iVar10 + 1;\n        }" ({ "{") (if_statement "if (local_a4[iVar10] == 0) break;" (if "if") (parenthesized_expression "(local_a4[iVar10] == 0)" (( "(") (binary_expression "local_a4[iVar10] == 0" (subscript_expression "local_a4[iVar10]" (identifier "local_a4") ([ "[") (identifier "iVar10") (] "]")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "local_150 = FUN_00011a80();" (assignment_expression "local_150 = FUN_00011a80()" (identifier "local_150") (= "=") (call_expression "FUN_00011a80()" (identifier "FUN_00011a80") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_a4[iVar10] = 0;" (assignment_expression "local_a4[iVar10] = 0" (subscript_expression "local_a4[iVar10]" (identifier "local_a4") ([ "[") (identifier "iVar10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar10 != 0x20)" (( "(") (binary_expression "iVar10 != 0x20" (identifier "iVar10") (!= "!=") (number_literal "0x20")) () ")")) (; ";")) (} "}"))) (expression_statement "local_a4[iVar10] = local_150;" (assignment_expression "local_a4[iVar10] = local_150" (subscript_expression "local_a4[iVar10]" (identifier "local_a4") ([ "[") (identifier "iVar10") (] "]")) (= "=") (identifier "local_150")) (; ";")) (expression_statement "local_150 = iVar3;" (assignment_expression "local_150 = iVar3" (identifier "local_150") (= "=") (identifier "iVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (expression_statement "piVar9 = local_a4;" (assignment_expression "piVar9 = local_a4" (identifier "piVar9") (= "=") (identifier "local_a4")) (; ";")) (do_statement "do {\n    piVar9 = piVar9 + 1;\n    local_150 = FUN_00011a80();\n  } while (local_a4 + 0x20 != piVar9);" (do "do") (compound_statement "{\n    piVar9 = piVar9 + 1;\n    local_150 = FUN_00011a80();\n  }" ({ "{") (expression_statement "piVar9 = piVar9 + 1;" (assignment_expression "piVar9 = piVar9 + 1" (identifier "piVar9") (= "=") (binary_expression "piVar9 + 1" (identifier "piVar9") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_150 = FUN_00011a80();" (assignment_expression "local_150 = FUN_00011a80()" (identifier "local_150") (= "=") (call_expression "FUN_00011a80()" (identifier "FUN_00011a80") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_a4 + 0x20 != piVar9)" (( "(") (binary_expression "local_a4 + 0x20 != piVar9" (binary_expression "local_a4 + 0x20" (identifier "local_a4") (+ "+") (number_literal "0x20")) (!= "!=") (identifier "piVar9")) () ")")) (; ";")) (if_statement "if (DAT_0002518c == 0) {\n    DAT_000251b0 = local_138 + 2;\n    puVar8 = puVar12;\n    FUN_00013000(puVar12);\n    FUN_00016270(puVar12);\n    local_148 = 0;\n    FUN_0001cfb0(puVar12);\n    local_154 = FUN_0001c5a0();\n    FUN_00013ee0(puVar12);\n    FUN_000130f0(puVar12);\n    uVar6 = FUN_000197b0(puVar12);\n    if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }\n    if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }\n    if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }\n    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);\n    if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }\n  }\n  else {\n    FUN_00014350(puVar12);\n  }" (if "if") (parenthesized_expression "(DAT_0002518c == 0)" (( "(") (binary_expression "DAT_0002518c == 0" (identifier "DAT_0002518c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    DAT_000251b0 = local_138 + 2;\n    puVar8 = puVar12;\n    FUN_00013000(puVar12);\n    FUN_00016270(puVar12);\n    local_148 = 0;\n    FUN_0001cfb0(puVar12);\n    local_154 = FUN_0001c5a0();\n    FUN_00013ee0(puVar12);\n    FUN_000130f0(puVar12);\n    uVar6 = FUN_000197b0(puVar12);\n    if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }\n    if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }\n    if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }\n    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);\n    if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }\n  }" ({ "{") (expression_statement "DAT_000251b0 = local_138 + 2;" (assignment_expression "DAT_000251b0 = local_138 + 2" (identifier "DAT_000251b0") (= "=") (binary_expression "local_138 + 2" (identifier "local_138") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "puVar8 = puVar12;" (assignment_expression "puVar8 = puVar12" (identifier "puVar8") (= "=") (identifier "puVar12")) (; ";")) (expression_statement "FUN_00013000(puVar12);" (call_expression "FUN_00013000(puVar12)" (identifier "FUN_00013000") (argument_list "(puVar12)" (( "(") (identifier "puVar12") () ")"))) (; ";")) (expression_statement "FUN_00016270(puVar12);" (call_expression "FUN_00016270(puVar12)" (identifier "FUN_00016270") (argument_list "(puVar12)" (( "(") (identifier "puVar12") () ")"))) (; ";")) (expression_statement "local_148 = 0;" (assignment_expression "local_148 = 0" (identifier "local_148") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0001cfb0(puVar12);" (call_expression "FUN_0001cfb0(puVar12)" (identifier "FUN_0001cfb0") (argument_list "(puVar12)" (( "(") (identifier "puVar12") () ")"))) (; ";")) (expression_statement "local_154 = FUN_0001c5a0();" (assignment_expression "local_154 = FUN_0001c5a0()" (identifier "local_154") (= "=") (call_expression "FUN_0001c5a0()" (identifier "FUN_0001c5a0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_00013ee0(puVar12);" (call_expression "FUN_00013ee0(puVar12)" (identifier "FUN_00013ee0") (argument_list "(puVar12)" (( "(") (identifier "puVar12") () ")"))) (; ";")) (expression_statement "FUN_000130f0(puVar12);" (call_expression "FUN_000130f0(puVar12)" (identifier "FUN_000130f0") (argument_list "(puVar12)" (( "(") (identifier "puVar12") () ")"))) (; ";")) (expression_statement "uVar6 = FUN_000197b0(puVar12);" (assignment_expression "uVar6 = FUN_000197b0(puVar12)" (identifier "uVar6") (= "=") (call_expression "FUN_000197b0(puVar12)" (identifier "FUN_000197b0") (argument_list "(puVar12)" (( "(") (identifier "puVar12") () ")")))) (; ";")) (if_statement "if (DAT_00025188 == 0) {\n      uVar6 = FUN_00019c10(puVar8);\n    }" (if "if") (parenthesized_expression "(DAT_00025188 == 0)" (( "(") (binary_expression "DAT_00025188 == 0" (identifier "DAT_00025188") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar6 = FUN_00019c10(puVar8);\n    }" ({ "{") (expression_statement "uVar6 = FUN_00019c10(puVar8);" (assignment_expression "uVar6 = FUN_00019c10(puVar8)" (identifier "uVar6") (= "=") (call_expression "FUN_00019c10(puVar8)" (identifier "FUN_00019c10") (argument_list "(puVar8)" (( "(") (identifier "puVar8") () ")")))) (; ";")) (} "}"))) (if_statement "if (DAT_00025184 == 0) {\n      uVar6 = FUN_000160e0(puVar8);\n    }" (if "if") (parenthesized_expression "(DAT_00025184 == 0)" (( "(") (binary_expression "DAT_00025184 == 0" (identifier "DAT_00025184") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar6 = FUN_000160e0(puVar8);\n    }" ({ "{") (expression_statement "uVar6 = FUN_000160e0(puVar8);" (assignment_expression "uVar6 = FUN_000160e0(puVar8)" (identifier "uVar6") (= "=") (call_expression "FUN_000160e0(puVar8)" (identifier "FUN_000160e0") (argument_list "(puVar8)" (( "(") (identifier "puVar8") () ")")))) (; ";")) (} "}"))) (if_statement "if (DAT_00025180 == 0) {\n      uVar6 = FUN_000147f0(puVar8);\n    }" (if "if") (parenthesized_expression "(DAT_00025180 == 0)" (( "(") (binary_expression "DAT_00025180 == 0" (identifier "DAT_00025180") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar6 = FUN_000147f0(puVar8);\n    }" ({ "{") (expression_statement "uVar6 = FUN_000147f0(puVar8);" (assignment_expression "uVar6 = FUN_000147f0(puVar8)" (identifier "uVar6") (= "=") (call_expression "FUN_000147f0(puVar8)" (identifier "FUN_000147f0") (argument_list "(puVar8)" (( "(") (identifier "puVar8") () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);" (call_expression "FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6)" (identifier "FUN_00017470") (argument_list "(puVar8,DAT_0002517c,uVar6,uVar6)" (( "(") (identifier "puVar8") (, ",") (identifier "DAT_0002517c") (, ",") (identifier "uVar6") (, ",") (identifier "uVar6") () ")"))) (; ";")) (if_statement "if (DAT_0002517c == 0) {\n      FUN_00015f30(puVar8);\n    }" (if "if") (parenthesized_expression "(DAT_0002517c == 0)" (( "(") (binary_expression "DAT_0002517c == 0" (identifier "DAT_0002517c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00015f30(puVar8);\n    }" ({ "{") (expression_statement "FUN_00015f30(puVar8);" (call_expression "FUN_00015f30(puVar8)" (identifier "FUN_00015f30") (argument_list "(puVar8)" (( "(") (identifier "puVar8") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    FUN_00014350(puVar12);\n  }" (else "else") (compound_statement "{\n    FUN_00014350(puVar12);\n  }" ({ "{") (expression_statement "FUN_00014350(puVar12);" (call_expression "FUN_00014350(puVar12)" (identifier "FUN_00014350") (argument_list "(puVar12)" (( "(") (identifier "puVar12") () ")"))) (; ";")) (} "}")))) (if_statement "if (DAT_00025178 != 0) {\n    puts("Parser statistics:");\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n  }" (if "if") (parenthesized_expression "(DAT_00025178 != 0)" (( "(") (binary_expression "DAT_00025178 != 0" (identifier "DAT_00025178") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    puts("Parser statistics:");\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n    FUN_00011d70();\n  }" ({ "{") (expression_statement "puts("Parser statistics:");" (call_expression "puts("Parser statistics:")" (identifier "puts") (argument_list "("Parser statistics:")" (( "(") (string_literal ""Parser statistics:"" (" """) (string_content "Parser statistics:") (" """)) () ")"))) (; ";")) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" (identifier "FUN_00011d70") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" (identifier "FUN_00011d70") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" (identifier "FUN_00011d70") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" (identifier "FUN_00011d70") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" (identifier "FUN_00011d70") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" (identifier "FUN_00011d70") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" (identifier "FUN_00011d70") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" (identifier "FUN_00011d70") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00011d70();" (call_expression "FUN_00011d70()" (identifier "FUN_00011d70") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (0 < local_c4) {\n    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);\n  }" (if "if") (parenthesized_expression "(0 < local_c4)" (( "(") (binary_expression "0 < local_c4" (number_literal "0") (< "<") (identifier "local_c4")) () ")")) (compound_statement "{\n    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);\n  }" ({ "{") (expression_statement "__fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);" (call_expression "__fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4)" (identifier "__fprintf_chk") (argument_list "(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4)" (( "(") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (, ",") (number_literal "1") (, ",") (string_literal ""%d parsing conflicts.\n"" (" """) (string_content "%d parsing conflicts.") (escape_sequence "\n") (" """)) (, ",") (identifier "local_c4") () ")"))) (; ";")) (} "}"))) (expression_statement "local_16c = 1;" (assignment_expression "local_16c = 1" (identifier "local_16c") (= "=") (number_literal "1")) (; ";")) (if_statement "if (local_118 < 1) {\n    local_16c = (uint)(0 < local_c4);\n  }" (if "if") (parenthesized_expression "(local_118 < 1)" (( "(") (binary_expression "local_118 < 1" (identifier "local_118") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    local_16c = (uint)(0 < local_c4);\n  }" ({ "{") (expression_statement "local_16c = (uint)(0 < local_c4);" (assignment_expression "local_16c = (uint)(0 < local_c4)" (identifier "local_16c") (= "=") (call_expression "(uint)(0 < local_c4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0 < local_c4)" (( "(") (binary_expression "0 < local_c4" (number_literal "0") (< "<") (identifier "local_c4")) () ")")))) (; ";")) (} "}"))) (expression_statement "exit(local_16c);" (call_expression "exit(local_16c)" (identifier "exit") (argument_list "(local_16c)" (( "(") (identifier "local_16c") () ")"))) (; ";")) (} "}")))

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

int function_1(int argc,char **var_2)

{
  type_1 *var_29;
  type_2 var_22;
  type_3 *puVar2;
  char **ppcVar3;
  type_4 **ppsVar4;
  int var_8;
  type_5 **ppuVar6;
  type_1 *var_30;
  type_1 *var_26;
  int var_27;
  type_6 *plVar10;
  type_1 **var_25;
  int var_1;
  type_7 bVar12;
  type_8 local_16c;
  type_6 local_154;
  type_1 *var_31 [35];
  type_9 *pFStack_18;
  
  ppcVar3 = var_2;
  puVar2 = PTR_stderr_00024fe8;
  bVar12 = 0;
  pFStack_18 = (type_9 *)&argc;
  var_31[0x20] = *(type_1 **)(var_1 + 0x14);
  ::var_2 = var_2;
  errstream = *(type_9 **)PTR_stderr_00024fe8;
  op = function_1::options;
  if ((var_2 != (char **)0x0) && (*var_2 != (char *)0x0)) {
    var_3(var_2,(type_10 *)errstream,pFStack_18);
  }
  if (function_1::var_4 != 0) {
    var_5("Lemon version 1.0");
                    /* WARNING: Subroutine does not return */
    var_6(0);
  }
  var_8 = var_7();
  if (var_8 != 1) {
    var_9("Exactly one filename argument is required.\n",1,0x2b,*(type_9 **)puVar2);
                    /* WARNING: Subroutine does not return */
    var_6(1);
  }
  plVar10 = &local_154;
  for (var_8 = 0x2c; var_8 != 0; var_8 = var_8 + -1) {
    plVar10->sorted = (type_11 **)0x0;
    plVar10 = (type_6 *)((int)plVar10 + (type_8)bVar12 * -8 + 4);
  }
  if (var_10 == (type_12 *)0x0) {
    var_11();
  }
  if (var_12 == (type_13 *)0x0) {
    var_13();
  }
  if (var_14 == (type_14 *)0x0) {
    var_15();
  }
  local_154.argv0 = *ppcVar3;
  var_8 = var_16(0);
  if (var_8 < 0) {
    local_154.filename = (char *)0x0;
  }
  else {
    local_154.filename = ::var_2[var_8];
  }
  local_154.basisflag = function_1::basisflag;
  local_154.nolinenosflag = function_1::nolinenosflag;
  var_17("$");
  var_18(&local_154);
  if (local_154.errorcnt != 0) {
                    /* WARNING: Subroutine does not return */
    var_6(local_154.errorcnt);
  }
  if (local_154.nrule == 0) {
    var_9("Empty grammar.\n",1,0xf,*(type_9 **)puVar2);
                    /* WARNING: Subroutine does not return */
    var_6(1);
  }
  local_154.errsym = var_19("error");
  var_17("{default}");
  if (var_12 == (type_13 *)0x0) {
    local_154.nsymbol = 0;
  }
  else {
    local_154.nsymbol = var_12->count;
  }
  local_154.symbols = var_20();
  if (0 < local_154.nsymbol) {
    var_8 = 0;
    do {
      local_154.symbols[var_8]->index = var_8;
      var_8 = var_8 + 1;
    } while (var_8 < local_154.nsymbol);
  }
  var_21(local_154.symbols,local_154.nsymbol,4,Symbolcmpp);
  ppsVar4 = local_154.symbols;
  var_8 = 0;
  if (0 < local_154.nsymbol) {
    do {
      local_154.symbols[var_8]->index = var_8;
      var_8 = var_8 + 1;
    } while (var_8 < local_154.nsymbol);
  }
  var_22 = local_154.symbols[var_8 + -1]->type;
  while (var_22 == var_23) {
    var_22 = local_154.symbols[var_8 + -2]->type;
    var_8 = var_8 + -1;
  }
  local_154.nsymbol = var_8 + -1;
  ppuVar6 = var_24();
  local_154.nterminal = 1;
  while ((*(type_7 *)((int)*ppuVar6 + (type_8)(type_7)*ppsVar4[local_154.nterminal]->name * 2 + 1) & 1) !=
         0) {
    local_154.nterminal = local_154.nterminal + 1;
  }
  if (local_154.type_1 == (type_1 *)0x0) {
    local_154.startRule = (type_1 *)0x0;
    var_25 = var_31;
    for (var_8 = 0x20; var_8 != 0; var_8 = var_8 + -1) {
      *var_25 = (type_1 *)0x0;
      var_25 = var_25 + (type_8)bVar12 * -2 + 1;
    }
  }
  else {
    var_26 = local_154.type_1;
    var_8 = 0;
    do {
      if (var_26->code == (char *)0x0) {
        var_27 = var_8;
        var_8 = -1;
      }
      else {
        var_27 = var_8 + 1;
      }
      var_26->iRule = var_8;
      var_26 = var_26->next;
      var_30 = local_154.type_1;
      var_8 = var_27;
    } while (var_26 != (type_1 *)0x0);
    do {
      if (var_30->iRule < 0) {
        var_30->iRule = var_27;
        var_27 = var_27 + 1;
      }
      var_25 = &var_30->next;
      var_30 = *var_25;
    } while (*var_25 != (type_1 *)0x0);
    local_154.startRule = local_154.type_1;
    var_25 = var_31;
    for (var_8 = 0x20; var_26 = local_154.type_1, var_8 != 0; var_8 = var_8 + -1) {
      *var_25 = (type_1 *)0x0;
      var_25 = var_25 + (type_8)bVar12 * -2 + 1;
    }
    do {
      var_30 = var_26->next;
      var_8 = 0;
      var_26->next = (type_1 *)0x0;
      if (var_31[0] != (type_1 *)0x0) {
        var_26 = var_28(var_31[0],var_26);
        var_8 = 1;
        var_31[0] = (type_1 *)0x0;
        do {
          var_29 = var_31[var_8];
          if (var_29 == (type_1 *)0x0) break;
          var_26 = var_28(var_29,var_26);
          var_31[var_8] = (type_1 *)0x0;
          var_8 = var_8 + 1;
        } while (var_8 != 0x20);
      }
      var_31[var_8] = var_26;
      var_26 = var_30;
    } while (var_30 != (type_1 *)0x0);
  }
  var_25 = var_31;
  var_26 = (type_1 *)0x0;
  do {
    var_30 = *var_25;
    var_25 = var_25 + 1;
    var_26 = var_28(var_30,var_26);
  } while (var_31 + 0x20 != var_25);
  local_154.type_1 = var_26;
  if (function_1::var_32 == 0) {
    size = local_154.nterminal + 2;
    var_33(&local_154);
    var_34(&local_154);
    local_154.nstate = 0;
    var_35(&local_154);
    local_154.sorted = var_36();
    var_37(&local_154);
    var_38(&local_154);
    var_39(&local_154);
    if (function_1::var_40 == 0) {
      var_41(&local_154);
    }
    if (function_1::var_42 == 0) {
      var_43(&local_154);
    }
    if (function_1::var_44 == 0) {
      var_45(&local_154);
    }
    var_46(&local_154,function_1::var_47);
    if (function_1::var_47 == 0) {
      var_48(&local_154);
    }
  }
  else {
    var_49(&local_154);
  }
  if (function_1::var_50 != 0) {
    var_5("Parser statistics:");
    var_51("terminal symbols",local_154.nterminal);
    var_51("non-terminal symbols",local_154.nsymbol - local_154.nterminal);
    var_51("total symbols",local_154.nsymbol);
    var_51("rules",local_154.nrule);
    var_51("states",local_154.nxstate);
    var_51("conflicts",local_154.nconflict);
    var_51("action table entries",local_154.nactiontab);
    var_51("lookahead table entries",local_154.nlookaheadtab);
    var_51("total table size (bytes)",local_154.tablesize);
  }
  if (0 < local_154.nconflict) {
    var_52(*(type_15 *)puVar2,1,"%d parsing conflicts.\n",local_154.nconflict);
  }
  local_16c = 1;
  if (local_154.errorcnt < 1) {
    local_16c = (type_8)(0 < local_154.nconflict);
  }
                    /* WARNING: Subroutine does not return */
  var_6(local_16c);
}


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

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

void MASKED(undefined4 param_1,int *param_2)

{
  undefined *puVar1;
  void *pvVar2;
  int iVar3;
  ushort **ppuVar4;
  int iVar5;
  undefined4 uVar6;
  int iVar7;
  undefined4 *puVar8;
  int *piVar9;
  int iVar10;
  int in_GS_OFFSET;
  byte bVar11;
  undefined4 *puVar12;
  uint local_16c;
  undefined4 local_154;
  int local_150;
  int local_14c;
  undefined4 local_148;
  int local_140;
  size_t local_13c;
  int local_138;
  void *local_11c;
  int local_118;
  undefined4 local_114;
  int local_d0;
  int local_c4;
  undefined4 local_b4;
  undefined4 local_ac;
  int local_a8;
  int local_a4 [35];
  undefined1 *puStack_18;
  
  piVar9 = param_2;
  puVar1 = PTR_stderr_00024fe8;
  bVar11 = 0;
  puStack_18 = (undefined1 *)&param_1;
  local_a4[0x20] = *(undefined4 *)(in_GS_OFFSET + 0x14);
  DAT_000251c0 = param_2;
  DAT_000251b8 = *(undefined4 *)PTR_stderr_00024fe8;
  DAT_000251bc = &DAT_00025040;
  if ((param_2 != (int *)0x0) && (*param_2 != 0)) {
    FUN_000138a0();
  }
  if (DAT_00025198 != 0) {
    puts("Lemon version 1.0");
                    /* WARNING: Subroutine does not return */
    exit(0);
  }
  iVar3 = FUN_000135b0();
  if (iVar3 != 1) {
    fwrite("Exactly one filename argument is required.\n",1,0x2b,*(FILE **)puVar1);
                    /* WARNING: Subroutine does not return */
    exit(1);
  }
  puVar12 = &local_154;
  puVar8 = puVar12;
  for (iVar3 = 0x2c; iVar3 != 0; iVar3 = iVar3 + -1) {
    *puVar8 = 0;
    puVar8 = puVar8 + (uint)bVar11 * -2 + 1;
  }
  if (DAT_000251ac == 0) {
    FUN_00012850(puVar12);
  }
  if (DAT_000251a8 == 0) {
    FUN_000128f0();
  }
  if (DAT_000251a4 == 0) {
    FUN_00012990();
  }
  local_a8 = *piVar9;
  iVar3 = FUN_00012020();
  if (iVar3 < 0) {
    local_d0 = 0;
  }
  else {
    local_d0 = DAT_000251c0[iVar3];
  }
  local_b4 = DAT_00025194;
  local_ac = DAT_00025190;
  FUN_00019b30(&DAT_0001e964);
  FUN_00019f50(puVar12);
  if (local_118 != 0) {
                    /* WARNING: Subroutine does not return */
    exit(local_118);
  }
  if (local_140 == 0) {
    fwrite("Empty grammar.\n",1,0xf,*(FILE **)puVar1);
                    /* WARNING: Subroutine does not return */
    exit(1);
  }
  local_114 = FUN_00019710("error");
  FUN_00019b30("{default}");
  if (DAT_000251a8 == 0) {
    local_13c = 0;
  }
  else {
    local_13c = *(size_t *)(DAT_000251a8 + 4);
  }
  local_11c = (void *)FUN_0001c160();
  if (0 < (int)local_13c) {
    iVar3 = 0;
    do {
      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;
      iVar3 = iVar3 + 1;
    } while (iVar3 < (int)local_13c);
  }
  qsort(local_11c,local_13c,4,FUN_00011b40);
  pvVar2 = local_11c;
  iVar3 = 0;
  if (0 < (int)local_13c) {
    do {
      *(int *)(*(int *)((int)local_11c + iVar3 * 4) + 4) = iVar3;
      iVar3 = iVar3 + 1;
    } while (iVar3 < (int)local_13c);
  }
  iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);
  while (iVar10 == 2) {
    iVar3 = iVar3 + -1;
    iVar10 = *(int *)(*(int *)((int)local_11c + iVar3 * 4 + -4) + 8);
  }
  local_13c = iVar3 + -1;
  ppuVar4 = __ctype_b_loc();
  local_138 = 1;
  while ((*(byte *)((int)*ppuVar4 +
                   (uint)*(byte *)**(undefined4 **)((int)pvVar2 + local_138 * 4) * 2 + 1) & 1) != 0)
  {
    local_138 = local_138 + 1;
  }
  if (local_150 == 0) {
    local_14c = 0;
    piVar9 = local_a4;
    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {
      *piVar9 = 0;
      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;
    }
  }
  else {
    iVar3 = local_150;
    iVar10 = 0;
    do {
      if (*(int *)(iVar3 + 0x20) == 0) {
        iVar7 = iVar10;
        iVar10 = -1;
      }
      else {
        iVar7 = iVar10 + 1;
      }
      *(int *)(iVar3 + 0x3c) = iVar10;
      iVar3 = *(int *)(iVar3 + 0x4c);
      iVar5 = local_150;
      iVar10 = iVar7;
    } while (iVar3 != 0);
    do {
      if (*(int *)(iVar5 + 0x3c) < 0) {
        *(int *)(iVar5 + 0x3c) = iVar7;
        iVar7 = iVar7 + 1;
      }
      piVar9 = (int *)(iVar5 + 0x4c);
      iVar5 = *piVar9;
    } while (*piVar9 != 0);
    local_14c = local_150;
    piVar9 = local_a4;
    for (iVar3 = 0x20; iVar3 != 0; iVar3 = iVar3 + -1) {
      *piVar9 = 0;
      piVar9 = piVar9 + (uint)bVar11 * -2 + 1;
    }
    do {
      iVar3 = *(int *)(local_150 + 0x4c);
      iVar10 = 0;
      *(undefined4 *)(local_150 + 0x4c) = 0;
      if (local_a4[0] != 0) {
        local_150 = FUN_00011a80();
        iVar10 = 1;
        local_a4[0] = 0;
        do {
          if (local_a4[iVar10] == 0) break;
          local_150 = FUN_00011a80();
          local_a4[iVar10] = 0;
          iVar10 = iVar10 + 1;
        } while (iVar10 != 0x20);
      }
      local_a4[iVar10] = local_150;
      local_150 = iVar3;
    } while (iVar3 != 0);
  }
  piVar9 = local_a4;
  do {
    piVar9 = piVar9 + 1;
    local_150 = FUN_00011a80();
  } while (local_a4 + 0x20 != piVar9);
  if (DAT_0002518c == 0) {
    DAT_000251b0 = local_138 + 2;
    puVar8 = puVar12;
    FUN_00013000(puVar12);
    FUN_00016270(puVar12);
    local_148 = 0;
    FUN_0001cfb0(puVar12);
    local_154 = FUN_0001c5a0();
    FUN_00013ee0(puVar12);
    FUN_000130f0(puVar12);
    uVar6 = FUN_000197b0(puVar12);
    if (DAT_00025188 == 0) {
      uVar6 = FUN_00019c10(puVar8);
    }
    if (DAT_00025184 == 0) {
      uVar6 = FUN_000160e0(puVar8);
    }
    if (DAT_00025180 == 0) {
      uVar6 = FUN_000147f0(puVar8);
    }
    FUN_00017470(puVar8,DAT_0002517c,uVar6,uVar6);
    if (DAT_0002517c == 0) {
      FUN_00015f30(puVar8);
    }
  }
  else {
    FUN_00014350(puVar12);
  }
  if (DAT_00025178 != 0) {
    puts("Parser statistics:");
    FUN_00011d70();
    FUN_00011d70();
    FUN_00011d70();
    FUN_00011d70();
    FUN_00011d70();
    FUN_00011d70();
    FUN_00011d70();
    FUN_00011d70();
    FUN_00011d70();
  }
  if (0 < local_c4) {
    __fprintf_chk(*(undefined4 *)puVar1,1,"%d parsing conflicts.\n",local_c4);
  }
  local_16c = 1;
  if (local_118 < 1) {
    local_16c = (uint)(0 < local_c4);
  }
                    /* WARNING: Subroutine does not return */
  exit(local_16c);
}

