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

int __regparm2 fts5ExprNodeFirst(Fts5Expr *pExpr,Fts5ExprNode *pNode)

{
  Fts5IndexIter **ppFVar1;
  Fts5ExprNode **ppFVar2;
  Fts5ExprNearset *pFVar3;
  Fts5Colset *nToken;
  undefined4 uVar4;
  Fts5ExprPhrase *pFVar5;
  Fts5IndexIter *pFVar6;
  bool bVar7;
  bool bVar8;
  i64 iVar9;
  int iVar10;
  char *pToken;
  int iVar11;
  int extraout_ECX;
  int extraout_ECX_00;
  int extraout_ECX_01;
  int iVar12;
  int iVar13;
  Fts5ExprTerm *pFVar14;
  Fts5ExprNode *pFVar15;
  Fts5Expr *in_stack_00000004;
  Fts5ExprNode *in_stack_00000008;
  Fts5Colset *in_stack_ffffffb0;
  Fts5IndexIter **in_stack_ffffffb4;
  Fts5ExprTerm *local_34;
  int local_2c;
  Fts5ExprPhrase *local_28;
  int local_24;
  
  pNode->bEof = 0;
  pNode->bNomatch = 0;
  iVar11 = pNode->eType;
  if ((iVar11 == 4) || (iVar11 == 9)) {
    pFVar3 = pNode->pNear;
    if (0 < pFVar3->nPhrase) {
      local_28 = pFVar3->apPhrase[0];
      iVar11 = local_28->nTerm;
      if (iVar11 != 0) {
        local_24 = 0;
        do {
          local_2c = 0;
          local_34 = local_28->aTerm;
          if (0 < iVar11) {
            do {
              pFVar14 = local_34;
              bVar8 = false;
              do {
                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {
                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;
                  sqlite3Fts5IterClose(pFVar14->pIter);
                  pFVar14->pIter = (Fts5IndexIter *)0x0;
                }
                nToken = pFVar3->pColset;
                pToken = (char *)(uint)(local_34->bPrefix != '\0');
                if (pExpr->bDesc != 0) {
                  pToken = (char *)((uint)pToken | 2);
                }
                strlen(pFVar14->zTerm);
                iVar11 = sqlite3Fts5IndexQuery
                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,
                                    in_stack_ffffffb0,in_stack_ffffffb4);
                if (iVar11 != 0) {
                  return iVar11;
                }
                ppFVar1 = &pFVar14->pIter;
                pFVar14 = pFVar14->pSynonym;
                bVar7 = true;
                if ((*ppFVar1)->bEof != '\0') {
                  bVar7 = bVar8;
                }
                bVar8 = bVar7;
              } while (pFVar14 != (Fts5ExprTerm *)0x0);
              if (!bVar7) goto LAB_000dba30;
              local_2c = local_2c + 1;
              local_34 = local_34 + 1;
            } while (local_2c < local_28->nTerm);
          }
          if (pFVar3->nPhrase <= local_24 + 1) {
            iVar11 = pNode->eType;
            goto LAB_000dbc43;
          }
          local_28 = pFVar3[1].apPhrase[local_24 + -3];
          iVar11 = local_28->nTerm;
          local_24 = local_24 + 1;
        } while (iVar11 != 0);
      }
      goto LAB_000dba30;
    }
LAB_000dbc43:
    pNode->bEof = 0;
  }
  else {
    if (pNode->xNext == (_func_int_Fts5Expr_ptr_Fts5ExprNode_ptr_int_i64 *)0x0) {
LAB_000dba30:
      pNode->bEof = 1;
      return 0;
    }
    iVar10 = pNode->nChild;
    pFVar15 = pNode->apChild[0];
    iVar12 = 0;
    iVar13 = 0;
    if (iVar10 < 1) {
      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);
      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;
      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;
      if (iVar11 == 1) {
        if (iVar10 == 0) {
          pNode->bEof = 1;
        }
      }
      else if (iVar11 != 2) {
        pNode->bEof = pFVar15->bEof;
      }
    }
    else {
      while( true ) {
        iVar10 = fts5ExprNodeFirst(pExpr,pFVar15);
        iVar11 = pNode->nChild;
        iVar12 = iVar12 + pFVar15->bEof;
        if ((iVar11 <= iVar13 + 1) || (iVar10 != 0)) break;
        pFVar15 = pNode[1].apChild[iVar13 + -8];
        iVar13 = iVar13 + 1;
      }
      pFVar15 = pNode->apChild[0];
      iVar13 = pNode->eType;
      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);
      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;
      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;
      if (iVar13 == 1) {
        if (iVar11 == iVar12) {
          pNode->bEof = 1;
          pNode->bNomatch = 0;
          if (0 < pNode->nChild) {
            iVar11 = 0;
            do {
              ppFVar2 = pNode->apChild + iVar11;
              iVar11 = iVar11 + 1;
              fts5ExprSetEof(*ppFVar2);
              iVar10 = extraout_ECX_01;
            } while (iVar11 < pNode->nChild);
          }
        }
      }
      else if (iVar13 == 2) {
        if (0 < iVar12) {
          pNode->bEof = 1;
          pNode->bNomatch = 0;
          if (0 < iVar11) {
            fts5ExprSetEof(pFVar15);
            iVar11 = 1;
            iVar10 = extraout_ECX;
            if (1 < pNode->nChild) {
              do {
                ppFVar2 = pNode->apChild + iVar11;
                iVar11 = iVar11 + 1;
                fts5ExprSetEof(*ppFVar2);
                iVar10 = extraout_ECX_00;
              } while (iVar11 < pNode->nChild);
            }
          }
        }
      }
      else {
        pNode->bEof = pFVar15->bEof;
      }
      if (iVar10 != 0) {
        return iVar10;
      }
    }
    if (pNode->bEof != 0) {
      return 0;
    }
    iVar11 = pNode->eType;
  }
  if (iVar11 == 2) {
    iVar11 = fts5ExprNodeTest_AND(pExpr,pNode);
    return iVar11;
  }
  if (iVar11 < 3) {
    if (iVar11 == 1) {
      fts5ExprNodeTest_OR(pExpr,pNode);
      return 0;
    }
  }
  else {
    if (iVar11 == 4) {
      pFVar5 = pNode->pNear->apPhrase[0];
      pFVar6 = pFVar5->aTerm[0].pIter;
      (pFVar5->poslist).n = pFVar6->nData;
      if (pExpr->pConfig->eDetail == 0) {
        (pFVar5->poslist).p = pFVar6->pData;
      }
      iVar9 = pFVar6->iRowid;
      *(undefined4 *)((int)&pNode->iRowid + 4) = *(undefined4 *)((int)&pFVar6->iRowid + 4);
      *(int *)&pNode->iRowid = (int)iVar9;
      pNode->bNomatch = (uint)((pFVar5->poslist).n == 0);
      return 0;
    }
    if (iVar11 == 9) {
      iVar11 = fts5ExprNodeTest_STRING(in_stack_00000004,in_stack_00000008);
      return iVar11;
    }
  }
  iVar11 = fts5ExprNodeTest_NOT(pExpr,pNode);
  return iVar11;
}



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

int __regparm3 FUN_000db860(int param_1,int *param_2)

{
  undefined4 uVar1;
  int *piVar2;
  bool bVar3;
  bool bVar4;
  int iVar5;
  int iVar6;
  int extraout_ECX;
  int extraout_ECX_00;
  int extraout_ECX_01;
  int iVar7;
  int iVar8;
  char *pcVar9;
  int iVar10;
  byte bVar11;
  char *local_34;
  int local_2c;
  int local_28;
  int local_24;
  
  param_2[1] = 0;
  param_2[2] = 0;
  iVar6 = *param_2;
  if ((iVar6 == 4) || (iVar6 == 9)) {
    iVar10 = param_2[6];
    if (0 < *(int *)(iVar10 + 8)) {
      local_28 = *(int *)(iVar10 + 0xc);
      iVar6 = *(int *)(local_28 + 0x10);
      if (iVar6 != 0) {
        local_24 = 0;
        do {
          local_2c = 0;
          local_34 = (char *)(local_28 + 0x14);
          if (0 < iVar6) {
            do {
              pcVar9 = local_34;
              bVar4 = false;
              do {
                if (*(int *)(pcVar9 + 8) != 0) {
                  FUN_00089dc0();
                  pcVar9[8] = '\0';
                  pcVar9[9] = '\0';
                  pcVar9[10] = '\0';
                  pcVar9[0xb] = '\0';
                }
                uVar1 = *(undefined4 *)(iVar10 + 4);
                bVar11 = *local_34 != '\0';
                if (*(int *)(param_1 + 0xc) != 0) {
                  bVar11 = bVar11 | 2;
                }
                strlen(*(char **)(pcVar9 + 4));
                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);
                if (iVar6 != 0) {
                  return iVar6;
                }
                piVar2 = (int *)(pcVar9 + 8);
                pcVar9 = *(char **)(pcVar9 + 0xc);
                bVar3 = true;
                if (*(char *)(*piVar2 + 0x10) != '\0') {
                  bVar3 = bVar4;
                }
                bVar4 = bVar3;
              } while (pcVar9 != (char *)0x0);
              if (!bVar3) goto LAB_000dba30;
              local_2c = local_2c + 1;
              local_34 = local_34 + 0x10;
            } while (local_2c < *(int *)(local_28 + 0x10));
          }
          local_24 = local_24 + 1;
          if (*(int *)(iVar10 + 8) <= local_24) {
            iVar6 = *param_2;
            goto LAB_000dbc43;
          }
          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);
          iVar6 = *(int *)(local_28 + 0x10);
        } while (iVar6 != 0);
      }
      goto LAB_000dba30;
    }
LAB_000dbc43:
    param_2[1] = 0;
  }
  else {
    if (param_2[3] == 0) {
LAB_000dba30:
      param_2[1] = 1;
      return 0;
    }
    iVar10 = param_2[8];
    iVar7 = 0;
    iVar8 = 0;
    if (param_2[7] < 1) {
      iVar8 = *(int *)(iVar10 + 0x14);
      param_2[4] = *(int *)(iVar10 + 0x10);
      param_2[5] = iVar8;
      if (iVar6 == 1) {
        if (param_2[7] == 0) {
          param_2[1] = 1;
        }
      }
      else if (iVar6 != 2) {
        param_2[1] = *(int *)(iVar10 + 4);
      }
    }
    else {
      while( true ) {
        iVar5 = FUN_000db860();
        iVar6 = param_2[7];
        iVar7 = iVar7 + *(int *)(iVar10 + 4);
        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;
        iVar10 = param_2[iVar8 + 9];
        iVar8 = iVar8 + 1;
      }
      iVar10 = param_2[8];
      iVar8 = *(int *)(iVar10 + 0x14);
      param_2[4] = *(int *)(iVar10 + 0x10);
      param_2[5] = iVar8;
      if (*param_2 == 1) {
        if (iVar6 == iVar7) {
          param_2[1] = 1;
          param_2[2] = 0;
          if (0 < param_2[7]) {
            iVar6 = 0;
            do {
              iVar6 = iVar6 + 1;
              FUN_0001fa60();
              iVar5 = extraout_ECX_01;
            } while (iVar6 < param_2[7]);
          }
        }
      }
      else if (*param_2 == 2) {
        if (0 < iVar7) {
          param_2[1] = 1;
          param_2[2] = 0;
          if (0 < iVar6) {
            FUN_0001fa60();
            iVar6 = 1;
            iVar5 = extraout_ECX;
            if (1 < param_2[7]) {
              do {
                iVar6 = iVar6 + 1;
                FUN_0001fa60();
                iVar5 = extraout_ECX_00;
              } while (iVar6 < param_2[7]);
            }
          }
        }
      }
      else {
        param_2[1] = *(int *)(iVar10 + 4);
      }
      if (iVar5 != 0) {
        return iVar5;
      }
    }
    if (param_2[1] != 0) {
      return 0;
    }
    iVar6 = *param_2;
  }
  if (iVar6 == 2) {
    iVar6 = FUN_000327d0();
    return iVar6;
  }
  if (iVar6 < 3) {
    if (iVar6 == 1) {
      FUN_00032a40();
      return 0;
    }
  }
  else {
    if (iVar6 == 4) {
      iVar6 = *(int *)(param_2[6] + 0xc);
      piVar2 = *(int **)(iVar6 + 0x1c);
      *(int *)(iVar6 + 8) = piVar2[3];
      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {
        *(int *)(iVar6 + 4) = piVar2[2];
      }
      iVar10 = *piVar2;
      param_2[5] = piVar2[1];
      param_2[4] = iVar10;
      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);
      return 0;
    }
    if (iVar6 == 9) {
      iVar6 = FUN_000d7e20();
      return iVar6;
    }
  }
  iVar6 = FUN_00032bb0();
  return iVar6;
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014cf0
ADD EBX,0x6d669
SUB ESP,0x3c
MOV dword ptr [EDX + 0x4],0x0
MOV dword ptr [EDX + 0x8],0x0
MOV EDX,dword ptr [EDX]
MOV dword ptr [ESP + 0x8],EAX
CMP EDX,0x4
JZ 0x000db8e0
CMP EDX,0x9
JZ 0x000db8e0
MOV ECX,dword ptr [EBP + 0xc]
TEST ECX,ECX
JZ 0x000dba30
MOV ECX,dword ptr [EBP + 0x1c]
MOV EDI,dword ptr [EBP + 0x20]
XOR EBX,EBX
XOR ESI,ESI
TEST ECX,ECX
JLE 0x000dbb70
MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,EDI
ADD ESI,0x1
CALL 0x000db860
MOV EDX,dword ptr [EBP + 0x1c]
ADD EBX,dword ptr [EDI + 0x4]
MOV EDI,EBX
CMP EDX,ESI
JLE 0x000dba48
TEST EAX,EAX
JNZ 0x000dba48
MOV EDI,dword ptr [EBP + ESI*0x4 + 0x20]
JMP 0x000db8af
MOV EAX,dword ptr [EBP + 0x18]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JLE 0x000dbc43
MOV EAX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0x24],EAX
MOV EAX,dword ptr [EAX + 0x10]
TEST EAX,EAX
JZ 0x000dba30
MOV dword ptr [ESP + 0x28],0x0
MOV dword ptr [ESP + 0x2c],EBP
MOV ECX,dword ptr [ESP + 0x24]
MOV dword ptr [ESP + 0x20],0x0
ADD ECX,0x14
MOV dword ptr [ESP + 0x18],ECX
TEST EAX,EAX
JLE 0x000db9f4
MOV dword ptr [ESP + 0xc],0x0
MOV ESI,dword ptr [ESP + 0x18]
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [ESI + 0x8]
TEST EAX,EAX
JZ 0x000db953
CALL 0x00089dc0
MOV dword ptr [ESI + 0x8],0x0
LEA EAX,[ESI + 0x8]
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,dword ptr [ESP + 0x1c]
MOV EDX,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [ESP + 0x18]
CMP byte ptr [EAX],0x0
SETNZ AL
MOVZX EAX,AL
MOV EDI,EAX
MOV EAX,dword ptr [ESP + 0x8]
MOV EBP,dword ptr [EAX + 0xc]
TEST EBP,EBP
JZ 0x000db97e
OR EDI,0x2
MOV EBP,dword ptr [ESI + 0x4]
MOV dword ptr [ESP + 0x14],EDX
SUB ESP,0xc
PUSH EBP
CALL 0x00014230
ADD ESP,0xc
PUSH dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ESP + 0x1c]
MOV ECX,EAX
PUSH EDX
MOV EDX,EBP
PUSH EDI
MOV EAX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EAX]
CALL 0x000dadf0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000dbab8
MOV EAX,dword ptr [ESI + 0x8]
MOV ESI,dword ptr [ESI + 0xc]
CMP byte ptr [EAX + 0x10],0x0
MOV EAX,0x1
CMOVNZ EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0xc],EAX
TEST ESI,ESI
JNZ 0x000db940
TEST EAX,EAX
JZ 0x000dba25
MOV ECX,dword ptr [ESP + 0x24]
ADD dword ptr [ESP + 0x20],0x1
ADD dword ptr [ESP + 0x18],0x10
MOV EAX,dword ptr [ESP + 0x20]
CMP EAX,dword ptr [ECX + 0x10]
JL 0x000db92f
MOV ECX,dword ptr [ESP + 0x1c]
ADD dword ptr [ESP + 0x28],0x1
MOV EAX,dword ptr [ESP + 0x28]
CMP EAX,dword ptr [ECX + 0x8]
JGE 0x000dbc3c
MOV EAX,dword ptr [ESP + 0x1c]
MOV ECX,dword ptr [ESP + 0x28]
MOV EAX,dword ptr [EAX + ECX*0x4 + 0xc]
MOV dword ptr [ESP + 0x24],EAX
MOV EAX,dword ptr [EAX + 0x10]
TEST EAX,EAX
JNZ 0x000db914
MOV EBP,dword ptr [ESP + 0x2c]
LEA ESI,[ESI]
MOV dword ptr [EBP + 0x4],0x1
XOR ECX,ECX
ADD ESP,0x3c
MOV EAX,ECX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ECX,EAX
MOV EAX,dword ptr [EBP + 0x20]
MOV dword ptr [ESP + 0xc],EDX
MOV EDX,dword ptr [EBP]
MOV EBX,dword ptr [EAX + 0x10]
MOV ESI,dword ptr [EAX + 0x14]
MOV dword ptr [EBP + 0x10],EBX
MOV dword ptr [EBP + 0x14],ESI
CMP EDX,0x1
JZ 0x000dbb30
CMP EDX,0x2
JZ 0x000dbac8
MOV EAX,dword ptr [EAX + 0x4]
MOV dword ptr [EBP + 0x4],EAX
TEST ECX,ECX
JNZ 0x000dba39
MOV ESI,dword ptr [EBP + 0x4]
TEST ESI,ESI
JNZ 0x000dbba0
MOV EDX,dword ptr [EBP]
CMP EDX,0x2
JZ 0x000dbbb0
JLE 0x000dbb10
CMP EDX,0x4
JZ 0x000dbbc8
CMP EDX,0x9
JNZ 0x000dbc10
MOV EAX,dword ptr [ESP + 0x8]
ADD ESP,0x3c
MOV EDX,EBP
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x000d7e20
ADD ESP,0x3c
MOV ECX,EAX
POP EBX
MOV EAX,ECX
POP ESI
POP EDI
POP EBP
RET
TEST EDI,EDI
JLE 0x000dba74
MOV EDX,dword ptr [ESP + 0xc]
MOV dword ptr [EBP + 0x4],0x1
MOV dword ptr [EBP + 0x8],0x0
TEST EDX,EDX
JLE 0x000dba74
CALL 0x0001fa60
XOR EBX,EBX
ADD EBX,0x1
CMP EBX,dword ptr [EBP + 0x1c]
JGE 0x000dba74
MOV EAX,dword ptr [EBP + EBX*0x4 + 0x20]
ADD EBX,0x1
CALL 0x0001fa60
CMP EBX,dword ptr [EBP + 0x1c]
JL 0x000dbaf5
JMP 0x000dba74
CMP EDX,0x1
JNZ 0x000dbc10
MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,EBP
CALL 0x00032a40
XOR ECX,ECX
JMP 0x000dba39
CMP dword ptr [ESP + 0xc],EDI
JNZ 0x000dba74
MOV EDI,dword ptr [EBP + 0x1c]
MOV dword ptr [EBP + 0x4],0x1
MOV dword ptr [EBP + 0x8],0x0
TEST EDI,EDI
JLE 0x000dba74
XOR EBX,EBX
MOV EAX,dword ptr [EBP + EBX*0x4 + 0x20]
ADD EBX,0x1
CALL 0x0001fa60
CMP EBX,dword ptr [EBP + 0x1c]
JL 0x000dbb55
JMP 0x000dba74
MOV EBX,dword ptr [EDI + 0x10]
MOV ESI,dword ptr [EDI + 0x14]
MOV dword ptr [EBP + 0x10],EBX
MOV dword ptr [EBP + 0x14],ESI
CMP EDX,0x1
JZ 0x000dbc28
CMP EDX,0x2
JZ 0x000dba78
MOV EAX,dword ptr [EDI + 0x4]
MOV dword ptr [EBP + 0x4],EAX
JMP 0x000dba78
XOR ECX,ECX
JMP 0x000dba39
MOV EAX,dword ptr [ESP + 0x8]
ADD ESP,0x3c
MOV EDX,EBP
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x000327d0
MOV EAX,dword ptr [EBP + 0x18]
MOV EDI,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [EAX + 0xc]
MOV EAX,dword ptr [ECX + 0x1c]
MOV EDX,dword ptr [EAX + 0xc]
MOV dword ptr [ECX + 0x8],EDX
MOV EDX,dword ptr [EDI + 0x4]
MOV EBX,dword ptr [EDX + 0x30]
TEST EBX,EBX
JNZ 0x000dbbeb
MOV EDX,dword ptr [EAX + 0x8]
MOV dword ptr [ECX + 0x4],EDX
MOV EDX,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [EAX]
MOV dword ptr [EBP + 0x14],EDX
MOV dword ptr [EBP + 0x10],EAX
MOV EDX,dword ptr [ECX + 0x8]
XOR EAX,EAX
TEST EDX,EDX
SETZ AL
XOR ECX,ECX
MOV dword ptr [EBP + 0x8],EAX
JMP 0x000dba39
MOV EAX,dword ptr [ESP + 0x8]
ADD ESP,0x3c
MOV EDX,EBP
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x00032bb0
TEST ECX,ECX
JNZ 0x000dba78
MOV dword ptr [EBP + 0x4],0x1
JMP 0x000dba78
MOV EBP,dword ptr [ESP + 0x2c]
MOV EDX,dword ptr [EBP]
MOV dword ptr [EBP + 0x4],0x0
JMP 0x000dba86
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 FUN_000db860(int param_1,int *param_2)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  bool bVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int extraout_ECX_01;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int iVar10;\n  byte bVar11;\n  char *local_34;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  param_2[1] = 0;\n  param_2[2] = 0;\n  iVar6 = *param_2;\n  if ((iVar6 == 4) || (iVar6 == 9)) {\n    iVar10 = param_2[6];\n    if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    param_2[1] = 0;\n  }\n  else {\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }\n  if (iVar6 == 2) {\n    iVar6 = FUN_000327d0();\n    return iVar6;\n  }\n  if (iVar6 < 3) {\n    if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }\n  }\n  else {\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }\n  iVar6 = FUN_00032bb0();\n  return iVar6;\n}\n\n" comment (function_definition "int __regparm3 FUN_000db860(int param_1,int *param_2)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  bool bVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int extraout_ECX_01;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int iVar10;\n  byte bVar11;\n  char *local_34;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  param_2[1] = 0;\n  param_2[2] = 0;\n  iVar6 = *param_2;\n  if ((iVar6 == 4) || (iVar6 == 9)) {\n    iVar10 = param_2[6];\n    if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    param_2[1] = 0;\n  }\n  else {\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }\n  if (iVar6 == 2) {\n    iVar6 = FUN_000327d0();\n    return iVar6;\n  }\n  if (iVar6 < 3) {\n    if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }\n  }\n  else {\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }\n  iVar6 = FUN_00032bb0();\n  return iVar6;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000db860(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  bool bVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int extraout_ECX_01;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int iVar10;\n  byte bVar11;\n  char *local_34;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  param_2[1] = 0;\n  param_2[2] = 0;\n  iVar6 = *param_2;\n  if ((iVar6 == 4) || (iVar6 == 9)) {\n    iVar10 = param_2[6];\n    if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    param_2[1] = 0;\n  }\n  else {\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }\n  if (iVar6 == 2) {\n    iVar6 = FUN_000327d0();\n    return iVar6;\n  }\n  if (iVar6 < 3) {\n    if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }\n  }\n  else {\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }\n  iVar6 = FUN_00032bb0();\n  return iVar6;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "int extraout_ECX_00;" primitive_type identifier ;) (declaration "int extraout_ECX_01;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "byte bVar11;" type_identifier identifier ;) (declaration "char *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar6 = *param_2;" (assignment_expression "iVar6 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if ((iVar6 == 4) || (iVar6 == 9)) {\n    iVar10 = param_2[6];\n    if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    param_2[1] = 0;\n  }\n  else {\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }" if (parenthesized_expression "((iVar6 == 4) || (iVar6 == 9))" ( (binary_expression "(iVar6 == 4) || (iVar6 == 9)" (parenthesized_expression "(iVar6 == 4)" ( (binary_expression "iVar6 == 4" identifier == number_literal) )) || (parenthesized_expression "(iVar6 == 9)" ( (binary_expression "iVar6 == 9" identifier == number_literal) ))) )) (compound_statement "{\n    iVar10 = param_2[6];\n    if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    param_2[1] = 0;\n  }" { (expression_statement "iVar10 = param_2[6];" (assignment_expression "iVar10 = param_2[6]" identifier = (subscript_expression "param_2[6]" identifier [ number_literal ])) ;) (if_statement "if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }" if (parenthesized_expression "(0 < *(int *)(iVar10 + 8))" ( (binary_expression "0 < *(int *)(iVar10 + 8)" number_literal < (pointer_expression "*(int *)(iVar10 + 8)" * (cast_expression "(int *)(iVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 8)" ( (binary_expression "iVar10 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }" { (expression_statement "local_28 = *(int *)(iVar10 + 0xc);" (assignment_expression "local_28 = *(int *)(iVar10 + 0xc)" identifier = (pointer_expression "*(int *)(iVar10 + 0xc)" * (cast_expression "(int *)(iVar10 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xc)" ( (binary_expression "iVar10 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(local_28 + 0x10);" (assignment_expression "iVar6 = *(int *)(local_28 + 0x10)" identifier = (pointer_expression "*(int *)(local_28 + 0x10)" * (cast_expression "(int *)(local_28 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x10)" ( (binary_expression "local_28 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }" { (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (do_statement "do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);" do (compound_statement "{\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_34 = (char *)(local_28 + 0x14);" (assignment_expression "local_34 = (char *)(local_28 + 0x14)" identifier = (cast_expression "(char *)(local_28 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x14)" ( (binary_expression "local_28 + 0x14" identifier + number_literal) )))) ;) (if_statement "if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }" if (parenthesized_expression "(0 < iVar6)" ( (binary_expression "0 < iVar6" number_literal < identifier) )) (compound_statement "{\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }" { (do_statement "do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));" do (compound_statement "{\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            }" { (expression_statement "pcVar9 = local_34;" (assignment_expression "pcVar9 = local_34" identifier = identifier) ;) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (do_statement "do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);" do (compound_statement "{\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              }" { (if_statement "if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }" if (parenthesized_expression "(*(int *)(pcVar9 + 8) != 0)" ( (binary_expression "*(int *)(pcVar9 + 8) != 0" (pointer_expression "*(int *)(pcVar9 + 8)" * (cast_expression "(int *)(pcVar9 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar9 + 8)" ( (binary_expression "pcVar9 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }" { (expression_statement "FUN_00089dc0();" (call_expression "FUN_00089dc0()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar9[8] = '\0';" (assignment_expression "pcVar9[8] = '\0'" (subscript_expression "pcVar9[8]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar9[9] = '\0';" (assignment_expression "pcVar9[9] = '\0'" (subscript_expression "pcVar9[9]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar9[10] = '\0';" (assignment_expression "pcVar9[10] = '\0'" (subscript_expression "pcVar9[10]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar9[0xb] = '\0';" (assignment_expression "pcVar9[0xb] = '\0'" (subscript_expression "pcVar9[0xb]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "uVar1 = *(undefined4 *)(iVar10 + 4);" (assignment_expression "uVar1 = *(undefined4 *)(iVar10 + 4)" identifier = (pointer_expression "*(undefined4 *)(iVar10 + 4)" * (cast_expression "(undefined4 *)(iVar10 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) ))))) ;) (expression_statement "bVar11 = *local_34 != '\0';" (assignment_expression "bVar11 = *local_34 != '\0'" identifier = (binary_expression "*local_34 != '\0'" (pointer_expression "*local_34" * identifier) != (char_literal "'\0'" ' escape_sequence '))) ;) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }" if (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  bVar11 = bVar11 | 2;\n                }" { (expression_statement "bVar11 = bVar11 | 2;" (assignment_expression "bVar11 = bVar11 | 2" identifier = (binary_expression "bVar11 | 2" identifier | number_literal)) ;) })) (expression_statement "strlen(*(char **)(pcVar9 + 4));" (call_expression "strlen(*(char **)(pcVar9 + 4))" identifier (argument_list "(*(char **)(pcVar9 + 4))" ( (pointer_expression "*(char **)(pcVar9 + 4)" * (cast_expression "(char **)(pcVar9 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar9 + 4)" ( (binary_expression "pcVar9 + 4" identifier + number_literal) )))) ))) ;) (expression_statement "iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);" (assignment_expression "iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8)" identifier = (call_expression "FUN_000dadf0(bVar11,uVar1,pcVar9 + 8)" identifier (argument_list "(bVar11,uVar1,pcVar9 + 8)" ( identifier , identifier , (binary_expression "pcVar9 + 8" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) {\n                  return iVar6;\n                }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n                  return iVar6;\n                }" { (return_statement "return iVar6;" return identifier ;) })) (expression_statement "piVar2 = (int *)(pcVar9 + 8);" (assignment_expression "piVar2 = (int *)(pcVar9 + 8)" identifier = (cast_expression "(int *)(pcVar9 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar9 + 8)" ( (binary_expression "pcVar9 + 8" identifier + number_literal) )))) ;) (expression_statement "pcVar9 = *(char **)(pcVar9 + 0xc);" (assignment_expression "pcVar9 = *(char **)(pcVar9 + 0xc)" identifier = (pointer_expression "*(char **)(pcVar9 + 0xc)" * (cast_expression "(char **)(pcVar9 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar9 + 0xc)" ( (binary_expression "pcVar9 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) (if_statement "if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }" if (parenthesized_expression "(*(char *)(*piVar2 + 0x10) != '\0')" ( (binary_expression "*(char *)(*piVar2 + 0x10) != '\0'" (pointer_expression "*(char *)(*piVar2 + 0x10)" * (cast_expression "(char *)(*piVar2 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 0x10)" ( (binary_expression "*piVar2 + 0x10" (pointer_expression "*piVar2" * identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                  bVar3 = bVar4;\n                }" { (expression_statement "bVar3 = bVar4;" (assignment_expression "bVar3 = bVar4" identifier = identifier) ;) })) (expression_statement "bVar4 = bVar3;" (assignment_expression "bVar4 = bVar3" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (if_statement "if (!bVar3) goto LAB_000dba30;" if (parenthesized_expression "(!bVar3)" ( (unary_expression "!bVar3" ! identifier) )) (goto_statement "goto LAB_000dba30;" goto statement_identifier ;)) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "local_34 = local_34 + 0x10;" (assignment_expression "local_34 = local_34 + 0x10" identifier = (binary_expression "local_34 + 0x10" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_2c < *(int *)(local_28 + 0x10))" ( (binary_expression "local_2c < *(int *)(local_28 + 0x10)" identifier < (pointer_expression "*(int *)(local_28 + 0x10)" * (cast_expression "(int *)(local_28 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x10)" ( (binary_expression "local_28 + 0x10" identifier + number_literal) ))))) )) ;) })) (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) ;) (if_statement "if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }" if (parenthesized_expression "(*(int *)(iVar10 + 8) <= local_24)" ( (binary_expression "*(int *)(iVar10 + 8) <= local_24" (pointer_expression "*(int *)(iVar10 + 8)" * (cast_expression "(int *)(iVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 8)" ( (binary_expression "iVar10 + 8" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }" { (expression_statement "iVar6 = *param_2;" (assignment_expression "iVar6 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (goto_statement "goto LAB_000dbc43;" goto statement_identifier ;) })) (expression_statement "local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);" (assignment_expression "local_28 = *(int *)(iVar10 + 0xc + local_24 * 4)" identifier = (pointer_expression "*(int *)(iVar10 + 0xc + local_24 * 4)" * (cast_expression "(int *)(iVar10 + 0xc + local_24 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xc + local_24 * 4)" ( (binary_expression "iVar10 + 0xc + local_24 * 4" (binary_expression "iVar10 + 0xc" identifier + number_literal) + (binary_expression "local_24 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar6 = *(int *)(local_28 + 0x10);" (assignment_expression "iVar6 = *(int *)(local_28 + 0x10)" identifier = (pointer_expression "*(int *)(local_28 + 0x10)" * (cast_expression "(int *)(local_28 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x10)" ( (binary_expression "local_28 + 0x10" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) })) (goto_statement "goto LAB_000dba30;" goto statement_identifier ;) })) (labeled_statement "LAB_000dbc43:\n    param_2[1] = 0;" statement_identifier : (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;)) }) (else_clause "else {\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }" else (compound_statement "{\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }" { (if_statement "if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }" if (parenthesized_expression "(param_2[3] == 0)" ( (binary_expression "param_2[3] == 0" (subscript_expression "param_2[3]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }" { (labeled_statement "LAB_000dba30:\n      param_2[1] = 1;" statement_identifier : (expression_statement "param_2[1] = 1;" (assignment_expression "param_2[1] = 1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;)) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar10 = param_2[8];" (assignment_expression "iVar10 = param_2[8]" identifier = (subscript_expression "param_2[8]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (if_statement "if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }" if (parenthesized_expression "(param_2[7] < 1)" ( (binary_expression "param_2[7] < 1" (subscript_expression "param_2[7]" identifier [ number_literal ]) < number_literal) )) (compound_statement "{\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }" { (expression_statement "iVar8 = *(int *)(iVar10 + 0x14);" (assignment_expression "iVar8 = *(int *)(iVar10 + 0x14)" identifier = (pointer_expression "*(int *)(iVar10 + 0x14)" * (cast_expression "(int *)(iVar10 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "param_2[4] = *(int *)(iVar10 + 0x10);" (assignment_expression "param_2[4] = *(int *)(iVar10 + 0x10)" (subscript_expression "param_2[4]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar10 + 0x10)" * (cast_expression "(int *)(iVar10 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "param_2[5] = iVar8;" (assignment_expression "param_2[5] = iVar8" (subscript_expression "param_2[5]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" if (parenthesized_expression "(iVar6 == 1)" ( (binary_expression "iVar6 == 1" identifier == number_literal) )) (compound_statement "{\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }" { (if_statement "if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }" if (parenthesized_expression "(param_2[7] == 0)" ( (binary_expression "param_2[7] == 0" (subscript_expression "param_2[7]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          param_2[1] = 1;\n        }" { (expression_statement "param_2[1] = 1;" (assignment_expression "param_2[1] = 1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) })) }) (else_clause "else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" else (if_statement "if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" if (parenthesized_expression "(iVar6 != 2)" ( (binary_expression "iVar6 != 2" identifier != number_literal) )) (compound_statement "{\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" { (expression_statement "param_2[1] = *(int *)(iVar10 + 4);" (assignment_expression "param_2[1] = *(int *)(iVar10 + 4)" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) ))))) ;) })))) }) (else_clause "else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }" else (compound_statement "{\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }" { (while_statement "while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }" { (expression_statement "iVar5 = FUN_000db860();" (assignment_expression "iVar5 = FUN_000db860()" identifier = (call_expression "FUN_000db860()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = param_2[7];" (assignment_expression "iVar6 = param_2[7]" identifier = (subscript_expression "param_2[7]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = iVar7 + *(int *)(iVar10 + 4);" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar10 + 4)" identifier = (binary_expression "iVar7 + *(int *)(iVar10 + 4)" identifier + (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) )))))) ;) (if_statement "if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;" if (parenthesized_expression "((iVar6 <= iVar8 + 1) || (iVar5 != 0))" ( (binary_expression "(iVar6 <= iVar8 + 1) || (iVar5 != 0)" (parenthesized_expression "(iVar6 <= iVar8 + 1)" ( (binary_expression "iVar6 <= iVar8 + 1" identifier <= (binary_expression "iVar8 + 1" identifier + number_literal)) )) || (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar10 = param_2[iVar8 + 9];" (assignment_expression "iVar10 = param_2[iVar8 + 9]" identifier = (subscript_expression "param_2[iVar8 + 9]" identifier [ (binary_expression "iVar8 + 9" identifier + number_literal) ])) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar10 = param_2[8];" (assignment_expression "iVar10 = param_2[8]" identifier = (subscript_expression "param_2[8]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = *(int *)(iVar10 + 0x14);" (assignment_expression "iVar8 = *(int *)(iVar10 + 0x14)" identifier = (pointer_expression "*(int *)(iVar10 + 0x14)" * (cast_expression "(int *)(iVar10 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "param_2[4] = *(int *)(iVar10 + 0x10);" (assignment_expression "param_2[4] = *(int *)(iVar10 + 0x10)" (subscript_expression "param_2[4]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar10 + 0x10)" * (cast_expression "(int *)(iVar10 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "param_2[5] = iVar8;" (assignment_expression "param_2[5] = iVar8" (subscript_expression "param_2[5]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" if (parenthesized_expression "(*param_2 == 1)" ( (binary_expression "*param_2 == 1" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }" { (if_statement "if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }" if (parenthesized_expression "(iVar6 == iVar7)" ( (binary_expression "iVar6 == iVar7" identifier == identifier) )) (compound_statement "{\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }" { (expression_statement "param_2[1] = 1;" (assignment_expression "param_2[1] = 1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }" if (parenthesized_expression "(0 < param_2[7])" ( (binary_expression "0 < param_2[7]" number_literal < (subscript_expression "param_2[7]" identifier [ number_literal ])) )) (compound_statement "{\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);" do (compound_statement "{\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            }" { (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0001fa60();" (call_expression "FUN_0001fa60()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar5 = extraout_ECX_01;" (assignment_expression "iVar5 = extraout_ECX_01" identifier = identifier) ;) }) while (parenthesized_expression "(iVar6 < param_2[7])" ( (binary_expression "iVar6 < param_2[7]" identifier < (subscript_expression "param_2[7]" identifier [ number_literal ])) )) ;) })) })) }) (else_clause "else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" else (if_statement "if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" if (parenthesized_expression "(*param_2 == 2)" ( (binary_expression "*param_2 == 2" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }" { (if_statement "if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }" { (expression_statement "param_2[1] = 1;" (assignment_expression "param_2[1] = 1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }" if (parenthesized_expression "(0 < iVar6)" ( (binary_expression "0 < iVar6" number_literal < identifier) )) (compound_statement "{\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }" { (expression_statement "FUN_0001fa60();" (call_expression "FUN_0001fa60()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "iVar5 = extraout_ECX;" (assignment_expression "iVar5 = extraout_ECX" identifier = identifier) ;) (if_statement "if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }" if (parenthesized_expression "(1 < param_2[7])" ( (binary_expression "1 < param_2[7]" number_literal < (subscript_expression "param_2[7]" identifier [ number_literal ])) )) (compound_statement "{\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }" { (do_statement "do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);" do (compound_statement "{\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              }" { (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0001fa60();" (call_expression "FUN_0001fa60()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar5 = extraout_ECX_00;" (assignment_expression "iVar5 = extraout_ECX_00" identifier = identifier) ;) }) while (parenthesized_expression "(iVar6 < param_2[7])" ( (binary_expression "iVar6 < param_2[7]" identifier < (subscript_expression "param_2[7]" identifier [ number_literal ])) )) ;) })) })) })) }) (else_clause "else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" else (compound_statement "{\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" { (expression_statement "param_2[1] = *(int *)(iVar10 + 4);" (assignment_expression "param_2[1] = *(int *)(iVar10 + 4)" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) ))))) ;) }))))) (if_statement "if (iVar5 != 0) {\n        return iVar5;\n      }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n        return iVar5;\n      }" { (return_statement "return iVar5;" return identifier ;) })) }))) (if_statement "if (param_2[1] != 0) {\n      return 0;\n    }" if (parenthesized_expression "(param_2[1] != 0)" ( (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar6 = *param_2;" (assignment_expression "iVar6 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) }))) (if_statement "if (iVar6 == 2) {\n    iVar6 = FUN_000327d0();\n    return iVar6;\n  }" if (parenthesized_expression "(iVar6 == 2)" ( (binary_expression "iVar6 == 2" identifier == number_literal) )) (compound_statement "{\n    iVar6 = FUN_000327d0();\n    return iVar6;\n  }" { (expression_statement "iVar6 = FUN_000327d0();" (assignment_expression "iVar6 = FUN_000327d0()" identifier = (call_expression "FUN_000327d0()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar6;" return identifier ;) })) (if_statement "if (iVar6 < 3) {\n    if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }\n  }\n  else {\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }" if (parenthesized_expression "(iVar6 < 3)" ( (binary_expression "iVar6 < 3" identifier < number_literal) )) (compound_statement "{\n    if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }\n  }" { (if_statement "if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }" if (parenthesized_expression "(iVar6 == 1)" ( (binary_expression "iVar6 == 1" identifier == number_literal) )) (compound_statement "{\n      FUN_00032a40();\n      return 0;\n    }" { (expression_statement "FUN_00032a40();" (call_expression "FUN_00032a40()" identifier (argument_list "()" ( ))) ;) (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else {\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }" else (compound_statement "{\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }" { (if_statement "if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }" if (parenthesized_expression "(iVar6 == 4)" ( (binary_expression "iVar6 == 4" identifier == number_literal) )) (compound_statement "{\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }" { (expression_statement "iVar6 = *(int *)(param_2[6] + 0xc);" (assignment_expression "iVar6 = *(int *)(param_2[6] + 0xc)" identifier = (pointer_expression "*(int *)(param_2[6] + 0xc)" * (cast_expression "(int *)(param_2[6] + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[6] + 0xc)" ( (binary_expression "param_2[6] + 0xc" (subscript_expression "param_2[6]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "piVar2 = *(int **)(iVar6 + 0x1c);" (assignment_expression "piVar2 = *(int **)(iVar6 + 0x1c)" identifier = (pointer_expression "*(int **)(iVar6 + 0x1c)" * (cast_expression "(int **)(iVar6 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar6 + 8) = piVar2[3];" (assignment_expression "*(int *)(iVar6 + 8) = piVar2[3]" (pointer_expression "*(int *)(iVar6 + 8)" * (cast_expression "(int *)(iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) = (subscript_expression "piVar2[3]" identifier [ number_literal ])) ;) (if_statement "if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }" if (parenthesized_expression "(*(int *)(*(int *)(param_1 + 4) + 0x30) == 0)" ( (binary_expression "*(int *)(*(int *)(param_1 + 4) + 0x30) == 0" (pointer_expression "*(int *)(*(int *)(param_1 + 4) + 0x30)" * (cast_expression "(int *)(*(int *)(param_1 + 4) + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 0x30)" ( (binary_expression "*(int *)(param_1 + 4) + 0x30" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) )))) == number_literal) )) (compound_statement "{\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }" { (expression_statement "*(int *)(iVar6 + 4) = piVar2[2];" (assignment_expression "*(int *)(iVar6 + 4) = piVar2[2]" (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) })) (expression_statement "iVar10 = *piVar2;" (assignment_expression "iVar10 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "param_2[5] = piVar2[1];" (assignment_expression "param_2[5] = piVar2[1]" (subscript_expression "param_2[5]" identifier [ number_literal ]) = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "param_2[4] = iVar10;" (assignment_expression "param_2[4] = iVar10" (subscript_expression "param_2[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);" (assignment_expression "param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0)" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (call_expression "(uint)(*(int *)(iVar6 + 8) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar6 + 8) == 0)" ( (binary_expression "*(int *)(iVar6 + 8) == 0" (pointer_expression "*(int *)(iVar6 + 8)" * (cast_expression "(int *)(iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) == number_literal) )))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }" if (parenthesized_expression "(iVar6 == 9)" ( (binary_expression "iVar6 == 9" identifier == number_literal) )) (compound_statement "{\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }" { (expression_statement "iVar6 = FUN_000d7e20();" (assignment_expression "iVar6 = FUN_000d7e20()" identifier = (call_expression "FUN_000d7e20()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar6;" return identifier ;) })) }))) (expression_statement "iVar6 = FUN_00032bb0();" (assignment_expression "iVar6 = FUN_00032bb0()" identifier = (call_expression "FUN_00032bb0()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar6;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm2 fts5ExprNodeFirst(Fts5Expr *pExpr,Fts5ExprNode *pNode)\n\n{\n  Fts5IndexIter **ppFVar1;\n  Fts5ExprNode **ppFVar2;\n  Fts5ExprNearset *pFVar3;\n  Fts5Colset *nToken;\n  undefined4 uVar4;\n  Fts5ExprPhrase *pFVar5;\n  Fts5IndexIter *pFVar6;\n  bool bVar7;\n  bool bVar8;\n  i64 iVar9;\n  int iVar10;\n  char *pToken;\n  int iVar11;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int extraout_ECX_01;\n  int iVar12;\n  int iVar13;\n  Fts5ExprTerm *pFVar14;\n  Fts5ExprNode *pFVar15;\n  Fts5Expr *in_stack_00000004;\n  Fts5ExprNode *in_stack_00000008;\n  Fts5Colset *in_stack_ffffffb0;\n  Fts5IndexIter **in_stack_ffffffb4;\n  Fts5ExprTerm *local_34;\n  int local_2c;\n  Fts5ExprPhrase *local_28;\n  int local_24;\n  \n  pNode->bEof = 0;\n  pNode->bNomatch = 0;\n  iVar11 = pNode->eType;\n  if ((iVar11 == 4) || (iVar11 == 9)) {\n    pFVar3 = pNode->pNear;\n    if (0 < pFVar3->nPhrase) {\n      local_28 = pFVar3->apPhrase[0];\n      iVar11 = local_28->nTerm;\n      if (iVar11 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = local_28->aTerm;\n          if (0 < iVar11) {\n            do {\n              pFVar14 = local_34;\n              bVar8 = false;\n              do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);\n              if (!bVar7) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 1;\n            } while (local_2c < local_28->nTerm);\n          }\n          if (pFVar3->nPhrase <= local_24 + 1) {\n            iVar11 = pNode->eType;\n            goto LAB_000dbc43;\n          }\n          local_28 = pFVar3[1].apPhrase[local_24 + -3];\n          iVar11 = local_28->nTerm;\n          local_24 = local_24 + 1;\n        } while (iVar11 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    pNode->bEof = 0;\n  }\n  else {\n    if (pNode->xNext == (_func_int_Fts5Expr_ptr_Fts5ExprNode_ptr_int_i64 *)0x0) {\nLAB_000dba30:\n      pNode->bEof = 1;\n      return 0;\n    }\n    iVar10 = pNode->nChild;\n    pFVar15 = pNode->apChild[0];\n    iVar12 = 0;\n    iVar13 = 0;\n    if (iVar10 < 1) {\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar11 == 1) {\n        if (iVar10 == 0) {\n          pNode->bEof = 1;\n        }\n      }\n      else if (iVar11 != 2) {\n        pNode->bEof = pFVar15->bEof;\n      }\n    }\n    else {\n      while( true ) {\n        iVar10 = fts5ExprNodeFirst(pExpr,pFVar15);\n        iVar11 = pNode->nChild;\n        iVar12 = iVar12 + pFVar15->bEof;\n        if ((iVar11 <= iVar13 + 1) || (iVar10 != 0)) break;\n        pFVar15 = pNode[1].apChild[iVar13 + -8];\n        iVar13 = iVar13 + 1;\n      }\n      pFVar15 = pNode->apChild[0];\n      iVar13 = pNode->eType;\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar13 == 1) {\n        if (iVar11 == iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < pNode->nChild) {\n            iVar11 = 0;\n            do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);\n          }\n        }\n      }\n      else if (iVar13 == 2) {\n        if (0 < iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }\n        }\n      }\n      else {\n        pNode->bEof = pFVar15->bEof;\n      }\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n    }\n    if (pNode->bEof != 0) {\n      return 0;\n    }\n    iVar11 = pNode->eType;\n  }\n  if (iVar11 == 2) {\n    iVar11 = fts5ExprNodeTest_AND(pExpr,pNode);\n    return iVar11;\n  }\n  if (iVar11 < 3) {\n    if (iVar11 == 1) {\n      fts5ExprNodeTest_OR(pExpr,pNode);\n      return 0;\n    }\n  }\n  else {\n    if (iVar11 == 4) {\n      pFVar5 = pNode->pNear->apPhrase[0];\n      pFVar6 = pFVar5->aTerm[0].pIter;\n      (pFVar5->poslist).n = pFVar6->nData;\n      if (pExpr->pConfig->eDetail == 0) {\n        (pFVar5->poslist).p = pFVar6->pData;\n      }\n      iVar9 = pFVar6->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = *(undefined4 *)((int)&pFVar6->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)iVar9;\n      pNode->bNomatch = (uint)((pFVar5->poslist).n == 0);\n      return 0;\n    }\n    if (iVar11 == 9) {\n      iVar11 = fts5ExprNodeTest_STRING(in_stack_00000004,in_stack_00000008);\n      return iVar11;\n    }\n  }\n  iVar11 = fts5ExprNodeTest_NOT(pExpr,pNode);\n  return iVar11;\n}\n\n" comment (function_definition "int __regparm2 fts5ExprNodeFirst(Fts5Expr *pExpr,Fts5ExprNode *pNode)\n\n{\n  Fts5IndexIter **ppFVar1;\n  Fts5ExprNode **ppFVar2;\n  Fts5ExprNearset *pFVar3;\n  Fts5Colset *nToken;\n  undefined4 uVar4;\n  Fts5ExprPhrase *pFVar5;\n  Fts5IndexIter *pFVar6;\n  bool bVar7;\n  bool bVar8;\n  i64 iVar9;\n  int iVar10;\n  char *pToken;\n  int iVar11;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int extraout_ECX_01;\n  int iVar12;\n  int iVar13;\n  Fts5ExprTerm *pFVar14;\n  Fts5ExprNode *pFVar15;\n  Fts5Expr *in_stack_00000004;\n  Fts5ExprNode *in_stack_00000008;\n  Fts5Colset *in_stack_ffffffb0;\n  Fts5IndexIter **in_stack_ffffffb4;\n  Fts5ExprTerm *local_34;\n  int local_2c;\n  Fts5ExprPhrase *local_28;\n  int local_24;\n  \n  pNode->bEof = 0;\n  pNode->bNomatch = 0;\n  iVar11 = pNode->eType;\n  if ((iVar11 == 4) || (iVar11 == 9)) {\n    pFVar3 = pNode->pNear;\n    if (0 < pFVar3->nPhrase) {\n      local_28 = pFVar3->apPhrase[0];\n      iVar11 = local_28->nTerm;\n      if (iVar11 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = local_28->aTerm;\n          if (0 < iVar11) {\n            do {\n              pFVar14 = local_34;\n              bVar8 = false;\n              do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);\n              if (!bVar7) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 1;\n            } while (local_2c < local_28->nTerm);\n          }\n          if (pFVar3->nPhrase <= local_24 + 1) {\n            iVar11 = pNode->eType;\n            goto LAB_000dbc43;\n          }\n          local_28 = pFVar3[1].apPhrase[local_24 + -3];\n          iVar11 = local_28->nTerm;\n          local_24 = local_24 + 1;\n        } while (iVar11 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    pNode->bEof = 0;\n  }\n  else {\n    if (pNode->xNext == (_func_int_Fts5Expr_ptr_Fts5ExprNode_ptr_int_i64 *)0x0) {\nLAB_000dba30:\n      pNode->bEof = 1;\n      return 0;\n    }\n    iVar10 = pNode->nChild;\n    pFVar15 = pNode->apChild[0];\n    iVar12 = 0;\n    iVar13 = 0;\n    if (iVar10 < 1) {\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar11 == 1) {\n        if (iVar10 == 0) {\n          pNode->bEof = 1;\n        }\n      }\n      else if (iVar11 != 2) {\n        pNode->bEof = pFVar15->bEof;\n      }\n    }\n    else {\n      while( true ) {\n        iVar10 = fts5ExprNodeFirst(pExpr,pFVar15);\n        iVar11 = pNode->nChild;\n        iVar12 = iVar12 + pFVar15->bEof;\n        if ((iVar11 <= iVar13 + 1) || (iVar10 != 0)) break;\n        pFVar15 = pNode[1].apChild[iVar13 + -8];\n        iVar13 = iVar13 + 1;\n      }\n      pFVar15 = pNode->apChild[0];\n      iVar13 = pNode->eType;\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar13 == 1) {\n        if (iVar11 == iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < pNode->nChild) {\n            iVar11 = 0;\n            do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);\n          }\n        }\n      }\n      else if (iVar13 == 2) {\n        if (0 < iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }\n        }\n      }\n      else {\n        pNode->bEof = pFVar15->bEof;\n      }\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n    }\n    if (pNode->bEof != 0) {\n      return 0;\n    }\n    iVar11 = pNode->eType;\n  }\n  if (iVar11 == 2) {\n    iVar11 = fts5ExprNodeTest_AND(pExpr,pNode);\n    return iVar11;\n  }\n  if (iVar11 < 3) {\n    if (iVar11 == 1) {\n      fts5ExprNodeTest_OR(pExpr,pNode);\n      return 0;\n    }\n  }\n  else {\n    if (iVar11 == 4) {\n      pFVar5 = pNode->pNear->apPhrase[0];\n      pFVar6 = pFVar5->aTerm[0].pIter;\n      (pFVar5->poslist).n = pFVar6->nData;\n      if (pExpr->pConfig->eDetail == 0) {\n        (pFVar5->poslist).p = pFVar6->pData;\n      }\n      iVar9 = pFVar6->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = *(undefined4 *)((int)&pFVar6->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)iVar9;\n      pNode->bNomatch = (uint)((pFVar5->poslist).n == 0);\n      return 0;\n    }\n    if (iVar11 == 9) {\n      iVar11 = fts5ExprNodeTest_STRING(in_stack_00000004,in_stack_00000008);\n      return iVar11;\n    }\n  }\n  iVar11 = fts5ExprNodeTest_NOT(pExpr,pNode);\n  return iVar11;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "fts5ExprNodeFirst(Fts5Expr *pExpr,Fts5ExprNode *pNode)" identifier (parameter_list "(Fts5Expr *pExpr,Fts5ExprNode *pNode)" ( (parameter_declaration "Fts5Expr *pExpr" type_identifier (pointer_declarator "*pExpr" * identifier)) , (parameter_declaration "Fts5ExprNode *pNode" type_identifier (pointer_declarator "*pNode" * identifier)) ))) (compound_statement "{\n  Fts5IndexIter **ppFVar1;\n  Fts5ExprNode **ppFVar2;\n  Fts5ExprNearset *pFVar3;\n  Fts5Colset *nToken;\n  undefined4 uVar4;\n  Fts5ExprPhrase *pFVar5;\n  Fts5IndexIter *pFVar6;\n  bool bVar7;\n  bool bVar8;\n  i64 iVar9;\n  int iVar10;\n  char *pToken;\n  int iVar11;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int extraout_ECX_01;\n  int iVar12;\n  int iVar13;\n  Fts5ExprTerm *pFVar14;\n  Fts5ExprNode *pFVar15;\n  Fts5Expr *in_stack_00000004;\n  Fts5ExprNode *in_stack_00000008;\n  Fts5Colset *in_stack_ffffffb0;\n  Fts5IndexIter **in_stack_ffffffb4;\n  Fts5ExprTerm *local_34;\n  int local_2c;\n  Fts5ExprPhrase *local_28;\n  int local_24;\n  \n  pNode->bEof = 0;\n  pNode->bNomatch = 0;\n  iVar11 = pNode->eType;\n  if ((iVar11 == 4) || (iVar11 == 9)) {\n    pFVar3 = pNode->pNear;\n    if (0 < pFVar3->nPhrase) {\n      local_28 = pFVar3->apPhrase[0];\n      iVar11 = local_28->nTerm;\n      if (iVar11 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = local_28->aTerm;\n          if (0 < iVar11) {\n            do {\n              pFVar14 = local_34;\n              bVar8 = false;\n              do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);\n              if (!bVar7) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 1;\n            } while (local_2c < local_28->nTerm);\n          }\n          if (pFVar3->nPhrase <= local_24 + 1) {\n            iVar11 = pNode->eType;\n            goto LAB_000dbc43;\n          }\n          local_28 = pFVar3[1].apPhrase[local_24 + -3];\n          iVar11 = local_28->nTerm;\n          local_24 = local_24 + 1;\n        } while (iVar11 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    pNode->bEof = 0;\n  }\n  else {\n    if (pNode->xNext == (_func_int_Fts5Expr_ptr_Fts5ExprNode_ptr_int_i64 *)0x0) {\nLAB_000dba30:\n      pNode->bEof = 1;\n      return 0;\n    }\n    iVar10 = pNode->nChild;\n    pFVar15 = pNode->apChild[0];\n    iVar12 = 0;\n    iVar13 = 0;\n    if (iVar10 < 1) {\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar11 == 1) {\n        if (iVar10 == 0) {\n          pNode->bEof = 1;\n        }\n      }\n      else if (iVar11 != 2) {\n        pNode->bEof = pFVar15->bEof;\n      }\n    }\n    else {\n      while( true ) {\n        iVar10 = fts5ExprNodeFirst(pExpr,pFVar15);\n        iVar11 = pNode->nChild;\n        iVar12 = iVar12 + pFVar15->bEof;\n        if ((iVar11 <= iVar13 + 1) || (iVar10 != 0)) break;\n        pFVar15 = pNode[1].apChild[iVar13 + -8];\n        iVar13 = iVar13 + 1;\n      }\n      pFVar15 = pNode->apChild[0];\n      iVar13 = pNode->eType;\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar13 == 1) {\n        if (iVar11 == iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < pNode->nChild) {\n            iVar11 = 0;\n            do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);\n          }\n        }\n      }\n      else if (iVar13 == 2) {\n        if (0 < iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }\n        }\n      }\n      else {\n        pNode->bEof = pFVar15->bEof;\n      }\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n    }\n    if (pNode->bEof != 0) {\n      return 0;\n    }\n    iVar11 = pNode->eType;\n  }\n  if (iVar11 == 2) {\n    iVar11 = fts5ExprNodeTest_AND(pExpr,pNode);\n    return iVar11;\n  }\n  if (iVar11 < 3) {\n    if (iVar11 == 1) {\n      fts5ExprNodeTest_OR(pExpr,pNode);\n      return 0;\n    }\n  }\n  else {\n    if (iVar11 == 4) {\n      pFVar5 = pNode->pNear->apPhrase[0];\n      pFVar6 = pFVar5->aTerm[0].pIter;\n      (pFVar5->poslist).n = pFVar6->nData;\n      if (pExpr->pConfig->eDetail == 0) {\n        (pFVar5->poslist).p = pFVar6->pData;\n      }\n      iVar9 = pFVar6->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = *(undefined4 *)((int)&pFVar6->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)iVar9;\n      pNode->bNomatch = (uint)((pFVar5->poslist).n == 0);\n      return 0;\n    }\n    if (iVar11 == 9) {\n      iVar11 = fts5ExprNodeTest_STRING(in_stack_00000004,in_stack_00000008);\n      return iVar11;\n    }\n  }\n  iVar11 = fts5ExprNodeTest_NOT(pExpr,pNode);\n  return iVar11;\n}" { (declaration "Fts5IndexIter **ppFVar1;" type_identifier (pointer_declarator "**ppFVar1" * (pointer_declarator "*ppFVar1" * identifier)) ;) (declaration "Fts5ExprNode **ppFVar2;" type_identifier (pointer_declarator "**ppFVar2" * (pointer_declarator "*ppFVar2" * identifier)) ;) (declaration "Fts5ExprNearset *pFVar3;" type_identifier (pointer_declarator "*pFVar3" * identifier) ;) (declaration "Fts5Colset *nToken;" type_identifier (pointer_declarator "*nToken" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "Fts5ExprPhrase *pFVar5;" type_identifier (pointer_declarator "*pFVar5" * identifier) ;) (declaration "Fts5IndexIter *pFVar6;" type_identifier (pointer_declarator "*pFVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "bool bVar8;" primitive_type identifier ;) (declaration "i64 iVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "char *pToken;" primitive_type (pointer_declarator "*pToken" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "int extraout_ECX_00;" primitive_type identifier ;) (declaration "int extraout_ECX_01;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "Fts5ExprTerm *pFVar14;" type_identifier (pointer_declarator "*pFVar14" * identifier) ;) (declaration "Fts5ExprNode *pFVar15;" type_identifier (pointer_declarator "*pFVar15" * identifier) ;) (declaration "Fts5Expr *in_stack_00000004;" type_identifier (pointer_declarator "*in_stack_00000004" * identifier) ;) (declaration "Fts5ExprNode *in_stack_00000008;" type_identifier (pointer_declarator "*in_stack_00000008" * identifier) ;) (declaration "Fts5Colset *in_stack_ffffffb0;" type_identifier (pointer_declarator "*in_stack_ffffffb0" * identifier) ;) (declaration "Fts5IndexIter **in_stack_ffffffb4;" type_identifier (pointer_declarator "**in_stack_ffffffb4" * (pointer_declarator "*in_stack_ffffffb4" * identifier)) ;) (declaration "Fts5ExprTerm *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "Fts5ExprPhrase *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "pNode->bEof = 0;" (assignment_expression "pNode->bEof = 0" (field_expression "pNode->bEof" identifier -> field_identifier) = number_literal) ;) (expression_statement "pNode->bNomatch = 0;" (assignment_expression "pNode->bNomatch = 0" (field_expression "pNode->bNomatch" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar11 = pNode->eType;" (assignment_expression "iVar11 = pNode->eType" identifier = (field_expression "pNode->eType" identifier -> field_identifier)) ;) (if_statement "if ((iVar11 == 4) || (iVar11 == 9)) {\n    pFVar3 = pNode->pNear;\n    if (0 < pFVar3->nPhrase) {\n      local_28 = pFVar3->apPhrase[0];\n      iVar11 = local_28->nTerm;\n      if (iVar11 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = local_28->aTerm;\n          if (0 < iVar11) {\n            do {\n              pFVar14 = local_34;\n              bVar8 = false;\n              do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);\n              if (!bVar7) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 1;\n            } while (local_2c < local_28->nTerm);\n          }\n          if (pFVar3->nPhrase <= local_24 + 1) {\n            iVar11 = pNode->eType;\n            goto LAB_000dbc43;\n          }\n          local_28 = pFVar3[1].apPhrase[local_24 + -3];\n          iVar11 = local_28->nTerm;\n          local_24 = local_24 + 1;\n        } while (iVar11 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    pNode->bEof = 0;\n  }\n  else {\n    if (pNode->xNext == (_func_int_Fts5Expr_ptr_Fts5ExprNode_ptr_int_i64 *)0x0) {\nLAB_000dba30:\n      pNode->bEof = 1;\n      return 0;\n    }\n    iVar10 = pNode->nChild;\n    pFVar15 = pNode->apChild[0];\n    iVar12 = 0;\n    iVar13 = 0;\n    if (iVar10 < 1) {\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar11 == 1) {\n        if (iVar10 == 0) {\n          pNode->bEof = 1;\n        }\n      }\n      else if (iVar11 != 2) {\n        pNode->bEof = pFVar15->bEof;\n      }\n    }\n    else {\n      while( true ) {\n        iVar10 = fts5ExprNodeFirst(pExpr,pFVar15);\n        iVar11 = pNode->nChild;\n        iVar12 = iVar12 + pFVar15->bEof;\n        if ((iVar11 <= iVar13 + 1) || (iVar10 != 0)) break;\n        pFVar15 = pNode[1].apChild[iVar13 + -8];\n        iVar13 = iVar13 + 1;\n      }\n      pFVar15 = pNode->apChild[0];\n      iVar13 = pNode->eType;\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar13 == 1) {\n        if (iVar11 == iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < pNode->nChild) {\n            iVar11 = 0;\n            do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);\n          }\n        }\n      }\n      else if (iVar13 == 2) {\n        if (0 < iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }\n        }\n      }\n      else {\n        pNode->bEof = pFVar15->bEof;\n      }\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n    }\n    if (pNode->bEof != 0) {\n      return 0;\n    }\n    iVar11 = pNode->eType;\n  }" if (parenthesized_expression "((iVar11 == 4) || (iVar11 == 9))" ( (binary_expression "(iVar11 == 4) || (iVar11 == 9)" (parenthesized_expression "(iVar11 == 4)" ( (binary_expression "iVar11 == 4" identifier == number_literal) )) || (parenthesized_expression "(iVar11 == 9)" ( (binary_expression "iVar11 == 9" identifier == number_literal) ))) )) (compound_statement "{\n    pFVar3 = pNode->pNear;\n    if (0 < pFVar3->nPhrase) {\n      local_28 = pFVar3->apPhrase[0];\n      iVar11 = local_28->nTerm;\n      if (iVar11 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = local_28->aTerm;\n          if (0 < iVar11) {\n            do {\n              pFVar14 = local_34;\n              bVar8 = false;\n              do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);\n              if (!bVar7) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 1;\n            } while (local_2c < local_28->nTerm);\n          }\n          if (pFVar3->nPhrase <= local_24 + 1) {\n            iVar11 = pNode->eType;\n            goto LAB_000dbc43;\n          }\n          local_28 = pFVar3[1].apPhrase[local_24 + -3];\n          iVar11 = local_28->nTerm;\n          local_24 = local_24 + 1;\n        } while (iVar11 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    pNode->bEof = 0;\n  }" { (expression_statement "pFVar3 = pNode->pNear;" (assignment_expression "pFVar3 = pNode->pNear" identifier = (field_expression "pNode->pNear" identifier -> field_identifier)) ;) (if_statement "if (0 < pFVar3->nPhrase) {\n      local_28 = pFVar3->apPhrase[0];\n      iVar11 = local_28->nTerm;\n      if (iVar11 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = local_28->aTerm;\n          if (0 < iVar11) {\n            do {\n              pFVar14 = local_34;\n              bVar8 = false;\n              do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);\n              if (!bVar7) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 1;\n            } while (local_2c < local_28->nTerm);\n          }\n          if (pFVar3->nPhrase <= local_24 + 1) {\n            iVar11 = pNode->eType;\n            goto LAB_000dbc43;\n          }\n          local_28 = pFVar3[1].apPhrase[local_24 + -3];\n          iVar11 = local_28->nTerm;\n          local_24 = local_24 + 1;\n        } while (iVar11 != 0);\n      }\n      goto LAB_000dba30;\n    }" if (parenthesized_expression "(0 < pFVar3->nPhrase)" ( (binary_expression "0 < pFVar3->nPhrase" number_literal < (field_expression "pFVar3->nPhrase" identifier -> field_identifier)) )) (compound_statement "{\n      local_28 = pFVar3->apPhrase[0];\n      iVar11 = local_28->nTerm;\n      if (iVar11 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = local_28->aTerm;\n          if (0 < iVar11) {\n            do {\n              pFVar14 = local_34;\n              bVar8 = false;\n              do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);\n              if (!bVar7) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 1;\n            } while (local_2c < local_28->nTerm);\n          }\n          if (pFVar3->nPhrase <= local_24 + 1) {\n            iVar11 = pNode->eType;\n            goto LAB_000dbc43;\n          }\n          local_28 = pFVar3[1].apPhrase[local_24 + -3];\n          iVar11 = local_28->nTerm;\n          local_24 = local_24 + 1;\n        } while (iVar11 != 0);\n      }\n      goto LAB_000dba30;\n    }" { (expression_statement "local_28 = pFVar3->apPhrase[0];" (assignment_expression "local_28 = pFVar3->apPhrase[0]" identifier = (subscript_expression "pFVar3->apPhrase[0]" (field_expression "pFVar3->apPhrase" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "iVar11 = local_28->nTerm;" (assignment_expression "iVar11 = local_28->nTerm" identifier = (field_expression "local_28->nTerm" identifier -> field_identifier)) ;) (if_statement "if (iVar11 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = local_28->aTerm;\n          if (0 < iVar11) {\n            do {\n              pFVar14 = local_34;\n              bVar8 = false;\n              do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);\n              if (!bVar7) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 1;\n            } while (local_2c < local_28->nTerm);\n          }\n          if (pFVar3->nPhrase <= local_24 + 1) {\n            iVar11 = pNode->eType;\n            goto LAB_000dbc43;\n          }\n          local_28 = pFVar3[1].apPhrase[local_24 + -3];\n          iVar11 = local_28->nTerm;\n          local_24 = local_24 + 1;\n        } while (iVar11 != 0);\n      }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = local_28->aTerm;\n          if (0 < iVar11) {\n            do {\n              pFVar14 = local_34;\n              bVar8 = false;\n              do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);\n              if (!bVar7) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 1;\n            } while (local_2c < local_28->nTerm);\n          }\n          if (pFVar3->nPhrase <= local_24 + 1) {\n            iVar11 = pNode->eType;\n            goto LAB_000dbc43;\n          }\n          local_28 = pFVar3[1].apPhrase[local_24 + -3];\n          iVar11 = local_28->nTerm;\n          local_24 = local_24 + 1;\n        } while (iVar11 != 0);\n      }" { (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (do_statement "do {\n          local_2c = 0;\n          local_34 = local_28->aTerm;\n          if (0 < iVar11) {\n            do {\n              pFVar14 = local_34;\n              bVar8 = false;\n              do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);\n              if (!bVar7) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 1;\n            } while (local_2c < local_28->nTerm);\n          }\n          if (pFVar3->nPhrase <= local_24 + 1) {\n            iVar11 = pNode->eType;\n            goto LAB_000dbc43;\n          }\n          local_28 = pFVar3[1].apPhrase[local_24 + -3];\n          iVar11 = local_28->nTerm;\n          local_24 = local_24 + 1;\n        } while (iVar11 != 0);" do (compound_statement "{\n          local_2c = 0;\n          local_34 = local_28->aTerm;\n          if (0 < iVar11) {\n            do {\n              pFVar14 = local_34;\n              bVar8 = false;\n              do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);\n              if (!bVar7) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 1;\n            } while (local_2c < local_28->nTerm);\n          }\n          if (pFVar3->nPhrase <= local_24 + 1) {\n            iVar11 = pNode->eType;\n            goto LAB_000dbc43;\n          }\n          local_28 = pFVar3[1].apPhrase[local_24 + -3];\n          iVar11 = local_28->nTerm;\n          local_24 = local_24 + 1;\n        }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_34 = local_28->aTerm;" (assignment_expression "local_34 = local_28->aTerm" identifier = (field_expression "local_28->aTerm" identifier -> field_identifier)) ;) (if_statement "if (0 < iVar11) {\n            do {\n              pFVar14 = local_34;\n              bVar8 = false;\n              do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);\n              if (!bVar7) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 1;\n            } while (local_2c < local_28->nTerm);\n          }" if (parenthesized_expression "(0 < iVar11)" ( (binary_expression "0 < iVar11" number_literal < identifier) )) (compound_statement "{\n            do {\n              pFVar14 = local_34;\n              bVar8 = false;\n              do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);\n              if (!bVar7) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 1;\n            } while (local_2c < local_28->nTerm);\n          }" { (do_statement "do {\n              pFVar14 = local_34;\n              bVar8 = false;\n              do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);\n              if (!bVar7) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 1;\n            } while (local_2c < local_28->nTerm);" do (compound_statement "{\n              pFVar14 = local_34;\n              bVar8 = false;\n              do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);\n              if (!bVar7) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 1;\n            }" { (expression_statement "pFVar14 = local_34;" (assignment_expression "pFVar14 = local_34" identifier = identifier) ;) (expression_statement "bVar8 = false;" (assignment_expression "bVar8 = false" identifier = false) ;) (do_statement "do {\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              } while (pFVar14 != (Fts5ExprTerm *)0x0);" do (compound_statement "{\n                if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }\n                nToken = pFVar3->pColset;\n                pToken = (char *)(uint)(local_34->bPrefix != '\0');\n                if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }\n                strlen(pFVar14->zTerm);\n                iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);\n                if (iVar11 != 0) {\n                  return iVar11;\n                }\n                ppFVar1 = &pFVar14->pIter;\n                pFVar14 = pFVar14->pSynonym;\n                bVar7 = true;\n                if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }\n                bVar8 = bVar7;\n              }" { (if_statement "if (pFVar14->pIter != (Fts5IndexIter *)0x0) {\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }" if (parenthesized_expression "(pFVar14->pIter != (Fts5IndexIter *)0x0)" ( (binary_expression "pFVar14->pIter != (Fts5IndexIter *)0x0" (field_expression "pFVar14->pIter" identifier -> field_identifier) != (cast_expression "(Fts5IndexIter *)0x0" ( (type_descriptor "Fts5IndexIter *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;\n                  sqlite3Fts5IterClose(pFVar14->pIter);\n                  pFVar14->pIter = (Fts5IndexIter *)0x0;\n                }" { (expression_statement "in_stack_ffffffb0 = (Fts5Colset *)0xdb94c;" (assignment_expression "in_stack_ffffffb0 = (Fts5Colset *)0xdb94c" identifier = (cast_expression "(Fts5Colset *)0xdb94c" ( (type_descriptor "Fts5Colset *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "sqlite3Fts5IterClose(pFVar14->pIter);" (call_expression "sqlite3Fts5IterClose(pFVar14->pIter)" identifier (argument_list "(pFVar14->pIter)" ( (field_expression "pFVar14->pIter" identifier -> field_identifier) ))) ;) (expression_statement "pFVar14->pIter = (Fts5IndexIter *)0x0;" (assignment_expression "pFVar14->pIter = (Fts5IndexIter *)0x0" (field_expression "pFVar14->pIter" identifier -> field_identifier) = (cast_expression "(Fts5IndexIter *)0x0" ( (type_descriptor "Fts5IndexIter *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "nToken = pFVar3->pColset;" (assignment_expression "nToken = pFVar3->pColset" identifier = (field_expression "pFVar3->pColset" identifier -> field_identifier)) ;) (expression_statement "pToken = (char *)(uint)(local_34->bPrefix != '\0');" (assignment_expression "pToken = (char *)(uint)(local_34->bPrefix != '\0')" identifier = (cast_expression "(char *)(uint)(local_34->bPrefix != '\0')" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(uint)(local_34->bPrefix != '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_34->bPrefix != '\0')" ( (binary_expression "local_34->bPrefix != '\0'" (field_expression "local_34->bPrefix" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) ))))) ;) (if_statement "if (pExpr->bDesc != 0) {\n                  pToken = (char *)((uint)pToken | 2);\n                }" if (parenthesized_expression "(pExpr->bDesc != 0)" ( (binary_expression "pExpr->bDesc != 0" (field_expression "pExpr->bDesc" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                  pToken = (char *)((uint)pToken | 2);\n                }" { (expression_statement "pToken = (char *)((uint)pToken | 2);" (assignment_expression "pToken = (char *)((uint)pToken | 2)" identifier = (cast_expression "(char *)((uint)pToken | 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)pToken | 2)" ( (binary_expression "(uint)pToken | 2" (cast_expression "(uint)pToken" ( (type_descriptor "uint" type_identifier) ) identifier) | number_literal) )))) ;) })) (expression_statement "strlen(pFVar14->zTerm);" (call_expression "strlen(pFVar14->zTerm)" identifier (argument_list "(pFVar14->zTerm)" ( (field_expression "pFVar14->zTerm" identifier -> field_identifier) ))) ;) (expression_statement "iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4);" (assignment_expression "iVar11 = sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4)" identifier = (call_expression "sqlite3Fts5IndexQuery\n                                   (pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4)" identifier (argument_list "(pExpr->pIndex,pToken,(int)nToken,(int)&pFVar14->pIter,\n                                    in_stack_ffffffb0,in_stack_ffffffb4)" ( (field_expression "pExpr->pIndex" identifier -> field_identifier) , identifier , (cast_expression "(int)nToken" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(int)&pFVar14->pIter" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pFVar14->pIter" & (field_expression "pFVar14->pIter" identifier -> field_identifier))) , identifier , identifier )))) ;) (if_statement "if (iVar11 != 0) {\n                  return iVar11;\n                }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n                  return iVar11;\n                }" { (return_statement "return iVar11;" return identifier ;) })) (expression_statement "ppFVar1 = &pFVar14->pIter;" (assignment_expression "ppFVar1 = &pFVar14->pIter" identifier = (pointer_expression "&pFVar14->pIter" & (field_expression "pFVar14->pIter" identifier -> field_identifier))) ;) (expression_statement "pFVar14 = pFVar14->pSynonym;" (assignment_expression "pFVar14 = pFVar14->pSynonym" identifier = (field_expression "pFVar14->pSynonym" identifier -> field_identifier)) ;) (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;) (if_statement "if ((*ppFVar1)->bEof != '\0') {\n                  bVar7 = bVar8;\n                }" if (parenthesized_expression "((*ppFVar1)->bEof != '\0')" ( (binary_expression "(*ppFVar1)->bEof != '\0'" (field_expression "(*ppFVar1)->bEof" (parenthesized_expression "(*ppFVar1)" ( (pointer_expression "*ppFVar1" * identifier) )) -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                  bVar7 = bVar8;\n                }" { (expression_statement "bVar7 = bVar8;" (assignment_expression "bVar7 = bVar8" identifier = identifier) ;) })) (expression_statement "bVar8 = bVar7;" (assignment_expression "bVar8 = bVar7" identifier = identifier) ;) }) while (parenthesized_expression "(pFVar14 != (Fts5ExprTerm *)0x0)" ( (binary_expression "pFVar14 != (Fts5ExprTerm *)0x0" identifier != (cast_expression "(Fts5ExprTerm *)0x0" ( (type_descriptor "Fts5ExprTerm *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (if_statement "if (!bVar7) goto LAB_000dba30;" if (parenthesized_expression "(!bVar7)" ( (unary_expression "!bVar7" ! identifier) )) (goto_statement "goto LAB_000dba30;" goto statement_identifier ;)) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "local_34 = local_34 + 1;" (assignment_expression "local_34 = local_34 + 1" identifier = (binary_expression "local_34 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_2c < local_28->nTerm)" ( (binary_expression "local_2c < local_28->nTerm" identifier < (field_expression "local_28->nTerm" identifier -> field_identifier)) )) ;) })) (if_statement "if (pFVar3->nPhrase <= local_24 + 1) {\n            iVar11 = pNode->eType;\n            goto LAB_000dbc43;\n          }" if (parenthesized_expression "(pFVar3->nPhrase <= local_24 + 1)" ( (binary_expression "pFVar3->nPhrase <= local_24 + 1" (field_expression "pFVar3->nPhrase" identifier -> field_identifier) <= (binary_expression "local_24 + 1" identifier + number_literal)) )) (compound_statement "{\n            iVar11 = pNode->eType;\n            goto LAB_000dbc43;\n          }" { (expression_statement "iVar11 = pNode->eType;" (assignment_expression "iVar11 = pNode->eType" identifier = (field_expression "pNode->eType" identifier -> field_identifier)) ;) (goto_statement "goto LAB_000dbc43;" goto statement_identifier ;) })) (expression_statement "local_28 = pFVar3[1].apPhrase[local_24 + -3];" (assignment_expression "local_28 = pFVar3[1].apPhrase[local_24 + -3]" identifier = (subscript_expression "pFVar3[1].apPhrase[local_24 + -3]" (field_expression "pFVar3[1].apPhrase" (subscript_expression "pFVar3[1]" identifier [ number_literal ]) . field_identifier) [ (binary_expression "local_24 + -3" identifier + number_literal) ])) ;) (expression_statement "iVar11 = local_28->nTerm;" (assignment_expression "iVar11 = local_28->nTerm" identifier = (field_expression "local_28->nTerm" identifier -> field_identifier)) ;) (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) ;) })) (goto_statement "goto LAB_000dba30;" goto statement_identifier ;) })) (labeled_statement "LAB_000dbc43:\n    pNode->bEof = 0;" statement_identifier : (expression_statement "pNode->bEof = 0;" (assignment_expression "pNode->bEof = 0" (field_expression "pNode->bEof" identifier -> field_identifier) = number_literal) ;)) }) (else_clause "else {\n    if (pNode->xNext == (_func_int_Fts5Expr_ptr_Fts5ExprNode_ptr_int_i64 *)0x0) {\nLAB_000dba30:\n      pNode->bEof = 1;\n      return 0;\n    }\n    iVar10 = pNode->nChild;\n    pFVar15 = pNode->apChild[0];\n    iVar12 = 0;\n    iVar13 = 0;\n    if (iVar10 < 1) {\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar11 == 1) {\n        if (iVar10 == 0) {\n          pNode->bEof = 1;\n        }\n      }\n      else if (iVar11 != 2) {\n        pNode->bEof = pFVar15->bEof;\n      }\n    }\n    else {\n      while( true ) {\n        iVar10 = fts5ExprNodeFirst(pExpr,pFVar15);\n        iVar11 = pNode->nChild;\n        iVar12 = iVar12 + pFVar15->bEof;\n        if ((iVar11 <= iVar13 + 1) || (iVar10 != 0)) break;\n        pFVar15 = pNode[1].apChild[iVar13 + -8];\n        iVar13 = iVar13 + 1;\n      }\n      pFVar15 = pNode->apChild[0];\n      iVar13 = pNode->eType;\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar13 == 1) {\n        if (iVar11 == iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < pNode->nChild) {\n            iVar11 = 0;\n            do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);\n          }\n        }\n      }\n      else if (iVar13 == 2) {\n        if (0 < iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }\n        }\n      }\n      else {\n        pNode->bEof = pFVar15->bEof;\n      }\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n    }\n    if (pNode->bEof != 0) {\n      return 0;\n    }\n    iVar11 = pNode->eType;\n  }" else (compound_statement "{\n    if (pNode->xNext == (_func_int_Fts5Expr_ptr_Fts5ExprNode_ptr_int_i64 *)0x0) {\nLAB_000dba30:\n      pNode->bEof = 1;\n      return 0;\n    }\n    iVar10 = pNode->nChild;\n    pFVar15 = pNode->apChild[0];\n    iVar12 = 0;\n    iVar13 = 0;\n    if (iVar10 < 1) {\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar11 == 1) {\n        if (iVar10 == 0) {\n          pNode->bEof = 1;\n        }\n      }\n      else if (iVar11 != 2) {\n        pNode->bEof = pFVar15->bEof;\n      }\n    }\n    else {\n      while( true ) {\n        iVar10 = fts5ExprNodeFirst(pExpr,pFVar15);\n        iVar11 = pNode->nChild;\n        iVar12 = iVar12 + pFVar15->bEof;\n        if ((iVar11 <= iVar13 + 1) || (iVar10 != 0)) break;\n        pFVar15 = pNode[1].apChild[iVar13 + -8];\n        iVar13 = iVar13 + 1;\n      }\n      pFVar15 = pNode->apChild[0];\n      iVar13 = pNode->eType;\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar13 == 1) {\n        if (iVar11 == iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < pNode->nChild) {\n            iVar11 = 0;\n            do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);\n          }\n        }\n      }\n      else if (iVar13 == 2) {\n        if (0 < iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }\n        }\n      }\n      else {\n        pNode->bEof = pFVar15->bEof;\n      }\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n    }\n    if (pNode->bEof != 0) {\n      return 0;\n    }\n    iVar11 = pNode->eType;\n  }" { (if_statement "if (pNode->xNext == (_func_int_Fts5Expr_ptr_Fts5ExprNode_ptr_int_i64 *)0x0) {\nLAB_000dba30:\n      pNode->bEof = 1;\n      return 0;\n    }" if (parenthesized_expression "(pNode->xNext == (_func_int_Fts5Expr_ptr_Fts5ExprNode_ptr_int_i64 *)0x0)" ( (binary_expression "pNode->xNext == (_func_int_Fts5Expr_ptr_Fts5ExprNode_ptr_int_i64 *)0x0" (field_expression "pNode->xNext" identifier -> field_identifier) == (cast_expression "(_func_int_Fts5Expr_ptr_Fts5ExprNode_ptr_int_i64 *)0x0" ( (type_descriptor "_func_int_Fts5Expr_ptr_Fts5ExprNode_ptr_int_i64 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000dba30:\n      pNode->bEof = 1;\n      return 0;\n    }" { (labeled_statement "LAB_000dba30:\n      pNode->bEof = 1;" statement_identifier : (expression_statement "pNode->bEof = 1;" (assignment_expression "pNode->bEof = 1" (field_expression "pNode->bEof" identifier -> field_identifier) = number_literal) ;)) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar10 = pNode->nChild;" (assignment_expression "iVar10 = pNode->nChild" identifier = (field_expression "pNode->nChild" identifier -> field_identifier)) ;) (expression_statement "pFVar15 = pNode->apChild[0];" (assignment_expression "pFVar15 = pNode->apChild[0]" identifier = (subscript_expression "pNode->apChild[0]" (field_expression "pNode->apChild" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (if_statement "if (iVar10 < 1) {\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar11 == 1) {\n        if (iVar10 == 0) {\n          pNode->bEof = 1;\n        }\n      }\n      else if (iVar11 != 2) {\n        pNode->bEof = pFVar15->bEof;\n      }\n    }\n    else {\n      while( true ) {\n        iVar10 = fts5ExprNodeFirst(pExpr,pFVar15);\n        iVar11 = pNode->nChild;\n        iVar12 = iVar12 + pFVar15->bEof;\n        if ((iVar11 <= iVar13 + 1) || (iVar10 != 0)) break;\n        pFVar15 = pNode[1].apChild[iVar13 + -8];\n        iVar13 = iVar13 + 1;\n      }\n      pFVar15 = pNode->apChild[0];\n      iVar13 = pNode->eType;\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar13 == 1) {\n        if (iVar11 == iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < pNode->nChild) {\n            iVar11 = 0;\n            do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);\n          }\n        }\n      }\n      else if (iVar13 == 2) {\n        if (0 < iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }\n        }\n      }\n      else {\n        pNode->bEof = pFVar15->bEof;\n      }\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n    }" if (parenthesized_expression "(iVar10 < 1)" ( (binary_expression "iVar10 < 1" identifier < number_literal) )) (compound_statement "{\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar11 == 1) {\n        if (iVar10 == 0) {\n          pNode->bEof = 1;\n        }\n      }\n      else if (iVar11 != 2) {\n        pNode->bEof = pFVar15->bEof;\n      }\n    }" { (expression_statement "uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);" (assignment_expression "uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&pFVar15->iRowid + 4)" * (cast_expression "(undefined4 *)((int)&pFVar15->iRowid + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pFVar15->iRowid + 4)" ( (binary_expression "(int)&pFVar15->iRowid + 4" (cast_expression "(int)&pFVar15->iRowid" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pFVar15->iRowid" & (field_expression "pFVar15->iRowid" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "*(int *)&pNode->iRowid = (int)pFVar15->iRowid;" (assignment_expression "*(int *)&pNode->iRowid = (int)pFVar15->iRowid" (pointer_expression "*(int *)&pNode->iRowid" * (cast_expression "(int *)&pNode->iRowid" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pNode->iRowid" & (field_expression "pNode->iRowid" identifier -> field_identifier)))) = (cast_expression "(int)pFVar15->iRowid" ( (type_descriptor "int" primitive_type) ) (field_expression "pFVar15->iRowid" identifier -> field_identifier))) ;) (expression_statement "*(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;" (assignment_expression "*(undefined4 *)((int)&pNode->iRowid + 4) = uVar4" (pointer_expression "*(undefined4 *)((int)&pNode->iRowid + 4)" * (cast_expression "(undefined4 *)((int)&pNode->iRowid + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pNode->iRowid + 4)" ( (binary_expression "(int)&pNode->iRowid + 4" (cast_expression "(int)&pNode->iRowid" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pNode->iRowid" & (field_expression "pNode->iRowid" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (if_statement "if (iVar11 == 1) {\n        if (iVar10 == 0) {\n          pNode->bEof = 1;\n        }\n      }\n      else if (iVar11 != 2) {\n        pNode->bEof = pFVar15->bEof;\n      }" if (parenthesized_expression "(iVar11 == 1)" ( (binary_expression "iVar11 == 1" identifier == number_literal) )) (compound_statement "{\n        if (iVar10 == 0) {\n          pNode->bEof = 1;\n        }\n      }" { (if_statement "if (iVar10 == 0) {\n          pNode->bEof = 1;\n        }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n          pNode->bEof = 1;\n        }" { (expression_statement "pNode->bEof = 1;" (assignment_expression "pNode->bEof = 1" (field_expression "pNode->bEof" identifier -> field_identifier) = number_literal) ;) })) }) (else_clause "else if (iVar11 != 2) {\n        pNode->bEof = pFVar15->bEof;\n      }" else (if_statement "if (iVar11 != 2) {\n        pNode->bEof = pFVar15->bEof;\n      }" if (parenthesized_expression "(iVar11 != 2)" ( (binary_expression "iVar11 != 2" identifier != number_literal) )) (compound_statement "{\n        pNode->bEof = pFVar15->bEof;\n      }" { (expression_statement "pNode->bEof = pFVar15->bEof;" (assignment_expression "pNode->bEof = pFVar15->bEof" (field_expression "pNode->bEof" identifier -> field_identifier) = (field_expression "pFVar15->bEof" identifier -> field_identifier)) ;) })))) }) (else_clause "else {\n      while( true ) {\n        iVar10 = fts5ExprNodeFirst(pExpr,pFVar15);\n        iVar11 = pNode->nChild;\n        iVar12 = iVar12 + pFVar15->bEof;\n        if ((iVar11 <= iVar13 + 1) || (iVar10 != 0)) break;\n        pFVar15 = pNode[1].apChild[iVar13 + -8];\n        iVar13 = iVar13 + 1;\n      }\n      pFVar15 = pNode->apChild[0];\n      iVar13 = pNode->eType;\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar13 == 1) {\n        if (iVar11 == iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < pNode->nChild) {\n            iVar11 = 0;\n            do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);\n          }\n        }\n      }\n      else if (iVar13 == 2) {\n        if (0 < iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }\n        }\n      }\n      else {\n        pNode->bEof = pFVar15->bEof;\n      }\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n    }" else (compound_statement "{\n      while( true ) {\n        iVar10 = fts5ExprNodeFirst(pExpr,pFVar15);\n        iVar11 = pNode->nChild;\n        iVar12 = iVar12 + pFVar15->bEof;\n        if ((iVar11 <= iVar13 + 1) || (iVar10 != 0)) break;\n        pFVar15 = pNode[1].apChild[iVar13 + -8];\n        iVar13 = iVar13 + 1;\n      }\n      pFVar15 = pNode->apChild[0];\n      iVar13 = pNode->eType;\n      uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;\n      if (iVar13 == 1) {\n        if (iVar11 == iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < pNode->nChild) {\n            iVar11 = 0;\n            do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);\n          }\n        }\n      }\n      else if (iVar13 == 2) {\n        if (0 < iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }\n        }\n      }\n      else {\n        pNode->bEof = pFVar15->bEof;\n      }\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n    }" { (while_statement "while( true ) {\n        iVar10 = fts5ExprNodeFirst(pExpr,pFVar15);\n        iVar11 = pNode->nChild;\n        iVar12 = iVar12 + pFVar15->bEof;\n        if ((iVar11 <= iVar13 + 1) || (iVar10 != 0)) break;\n        pFVar15 = pNode[1].apChild[iVar13 + -8];\n        iVar13 = iVar13 + 1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar10 = fts5ExprNodeFirst(pExpr,pFVar15);\n        iVar11 = pNode->nChild;\n        iVar12 = iVar12 + pFVar15->bEof;\n        if ((iVar11 <= iVar13 + 1) || (iVar10 != 0)) break;\n        pFVar15 = pNode[1].apChild[iVar13 + -8];\n        iVar13 = iVar13 + 1;\n      }" { (expression_statement "iVar10 = fts5ExprNodeFirst(pExpr,pFVar15);" (assignment_expression "iVar10 = fts5ExprNodeFirst(pExpr,pFVar15)" identifier = (call_expression "fts5ExprNodeFirst(pExpr,pFVar15)" identifier (argument_list "(pExpr,pFVar15)" ( identifier , identifier )))) ;) (expression_statement "iVar11 = pNode->nChild;" (assignment_expression "iVar11 = pNode->nChild" identifier = (field_expression "pNode->nChild" identifier -> field_identifier)) ;) (expression_statement "iVar12 = iVar12 + pFVar15->bEof;" (assignment_expression "iVar12 = iVar12 + pFVar15->bEof" identifier = (binary_expression "iVar12 + pFVar15->bEof" identifier + (field_expression "pFVar15->bEof" identifier -> field_identifier))) ;) (if_statement "if ((iVar11 <= iVar13 + 1) || (iVar10 != 0)) break;" if (parenthesized_expression "((iVar11 <= iVar13 + 1) || (iVar10 != 0))" ( (binary_expression "(iVar11 <= iVar13 + 1) || (iVar10 != 0)" (parenthesized_expression "(iVar11 <= iVar13 + 1)" ( (binary_expression "iVar11 <= iVar13 + 1" identifier <= (binary_expression "iVar13 + 1" identifier + number_literal)) )) || (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "pFVar15 = pNode[1].apChild[iVar13 + -8];" (assignment_expression "pFVar15 = pNode[1].apChild[iVar13 + -8]" identifier = (subscript_expression "pNode[1].apChild[iVar13 + -8]" (field_expression "pNode[1].apChild" (subscript_expression "pNode[1]" identifier [ number_literal ]) . field_identifier) [ (binary_expression "iVar13 + -8" identifier + number_literal) ])) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) })) (expression_statement "pFVar15 = pNode->apChild[0];" (assignment_expression "pFVar15 = pNode->apChild[0]" identifier = (subscript_expression "pNode->apChild[0]" (field_expression "pNode->apChild" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "iVar13 = pNode->eType;" (assignment_expression "iVar13 = pNode->eType" identifier = (field_expression "pNode->eType" identifier -> field_identifier)) ;) (expression_statement "uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4);" (assignment_expression "uVar4 = *(undefined4 *)((int)&pFVar15->iRowid + 4)" identifier = (pointer_expression "*(undefined4 *)((int)&pFVar15->iRowid + 4)" * (cast_expression "(undefined4 *)((int)&pFVar15->iRowid + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pFVar15->iRowid + 4)" ( (binary_expression "(int)&pFVar15->iRowid + 4" (cast_expression "(int)&pFVar15->iRowid" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pFVar15->iRowid" & (field_expression "pFVar15->iRowid" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "*(int *)&pNode->iRowid = (int)pFVar15->iRowid;" (assignment_expression "*(int *)&pNode->iRowid = (int)pFVar15->iRowid" (pointer_expression "*(int *)&pNode->iRowid" * (cast_expression "(int *)&pNode->iRowid" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pNode->iRowid" & (field_expression "pNode->iRowid" identifier -> field_identifier)))) = (cast_expression "(int)pFVar15->iRowid" ( (type_descriptor "int" primitive_type) ) (field_expression "pFVar15->iRowid" identifier -> field_identifier))) ;) (expression_statement "*(undefined4 *)((int)&pNode->iRowid + 4) = uVar4;" (assignment_expression "*(undefined4 *)((int)&pNode->iRowid + 4) = uVar4" (pointer_expression "*(undefined4 *)((int)&pNode->iRowid + 4)" * (cast_expression "(undefined4 *)((int)&pNode->iRowid + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pNode->iRowid + 4)" ( (binary_expression "(int)&pNode->iRowid + 4" (cast_expression "(int)&pNode->iRowid" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pNode->iRowid" & (field_expression "pNode->iRowid" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (if_statement "if (iVar13 == 1) {\n        if (iVar11 == iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < pNode->nChild) {\n            iVar11 = 0;\n            do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);\n          }\n        }\n      }\n      else if (iVar13 == 2) {\n        if (0 < iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }\n        }\n      }\n      else {\n        pNode->bEof = pFVar15->bEof;\n      }" if (parenthesized_expression "(iVar13 == 1)" ( (binary_expression "iVar13 == 1" identifier == number_literal) )) (compound_statement "{\n        if (iVar11 == iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < pNode->nChild) {\n            iVar11 = 0;\n            do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);\n          }\n        }\n      }" { (if_statement "if (iVar11 == iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < pNode->nChild) {\n            iVar11 = 0;\n            do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);\n          }\n        }" if (parenthesized_expression "(iVar11 == iVar12)" ( (binary_expression "iVar11 == iVar12" identifier == identifier) )) (compound_statement "{\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < pNode->nChild) {\n            iVar11 = 0;\n            do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);\n          }\n        }" { (expression_statement "pNode->bEof = 1;" (assignment_expression "pNode->bEof = 1" (field_expression "pNode->bEof" identifier -> field_identifier) = number_literal) ;) (expression_statement "pNode->bNomatch = 0;" (assignment_expression "pNode->bNomatch = 0" (field_expression "pNode->bNomatch" identifier -> field_identifier) = number_literal) ;) (if_statement "if (0 < pNode->nChild) {\n            iVar11 = 0;\n            do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);\n          }" if (parenthesized_expression "(0 < pNode->nChild)" ( (binary_expression "0 < pNode->nChild" number_literal < (field_expression "pNode->nChild" identifier -> field_identifier)) )) (compound_statement "{\n            iVar11 = 0;\n            do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);\n          }" { (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (do_statement "do {\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            } while (iVar11 < pNode->nChild);" do (compound_statement "{\n              ppFVar2 = pNode->apChild + iVar11;\n              iVar11 = iVar11 + 1;\n              fts5ExprSetEof(*ppFVar2);\n              iVar10 = extraout_ECX_01;\n            }" { (expression_statement "ppFVar2 = pNode->apChild + iVar11;" (assignment_expression "ppFVar2 = pNode->apChild + iVar11" identifier = (binary_expression "pNode->apChild + iVar11" (field_expression "pNode->apChild" identifier -> field_identifier) + identifier)) ;) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "fts5ExprSetEof(*ppFVar2);" (call_expression "fts5ExprSetEof(*ppFVar2)" identifier (argument_list "(*ppFVar2)" ( (pointer_expression "*ppFVar2" * identifier) ))) ;) (expression_statement "iVar10 = extraout_ECX_01;" (assignment_expression "iVar10 = extraout_ECX_01" identifier = identifier) ;) }) while (parenthesized_expression "(iVar11 < pNode->nChild)" ( (binary_expression "iVar11 < pNode->nChild" identifier < (field_expression "pNode->nChild" identifier -> field_identifier)) )) ;) })) })) }) (else_clause "else if (iVar13 == 2) {\n        if (0 < iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }\n        }\n      }\n      else {\n        pNode->bEof = pFVar15->bEof;\n      }" else (if_statement "if (iVar13 == 2) {\n        if (0 < iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }\n        }\n      }\n      else {\n        pNode->bEof = pFVar15->bEof;\n      }" if (parenthesized_expression "(iVar13 == 2)" ( (binary_expression "iVar13 == 2" identifier == number_literal) )) (compound_statement "{\n        if (0 < iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }\n        }\n      }" { (if_statement "if (0 < iVar12) {\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }\n        }" if (parenthesized_expression "(0 < iVar12)" ( (binary_expression "0 < iVar12" number_literal < identifier) )) (compound_statement "{\n          pNode->bEof = 1;\n          pNode->bNomatch = 0;\n          if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }\n        }" { (expression_statement "pNode->bEof = 1;" (assignment_expression "pNode->bEof = 1" (field_expression "pNode->bEof" identifier -> field_identifier) = number_literal) ;) (expression_statement "pNode->bNomatch = 0;" (assignment_expression "pNode->bNomatch = 0" (field_expression "pNode->bNomatch" identifier -> field_identifier) = number_literal) ;) (if_statement "if (0 < iVar11) {\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }" if (parenthesized_expression "(0 < iVar11)" ( (binary_expression "0 < iVar11" number_literal < identifier) )) (compound_statement "{\n            fts5ExprSetEof(pFVar15);\n            iVar11 = 1;\n            iVar10 = extraout_ECX;\n            if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }\n          }" { (expression_statement "fts5ExprSetEof(pFVar15);" (call_expression "fts5ExprSetEof(pFVar15)" identifier (argument_list "(pFVar15)" ( identifier ))) ;) (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;) (expression_statement "iVar10 = extraout_ECX;" (assignment_expression "iVar10 = extraout_ECX" identifier = identifier) ;) (if_statement "if (1 < pNode->nChild) {\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }" if (parenthesized_expression "(1 < pNode->nChild)" ( (binary_expression "1 < pNode->nChild" number_literal < (field_expression "pNode->nChild" identifier -> field_identifier)) )) (compound_statement "{\n              do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);\n            }" { (do_statement "do {\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              } while (iVar11 < pNode->nChild);" do (compound_statement "{\n                ppFVar2 = pNode->apChild + iVar11;\n                iVar11 = iVar11 + 1;\n                fts5ExprSetEof(*ppFVar2);\n                iVar10 = extraout_ECX_00;\n              }" { (expression_statement "ppFVar2 = pNode->apChild + iVar11;" (assignment_expression "ppFVar2 = pNode->apChild + iVar11" identifier = (binary_expression "pNode->apChild + iVar11" (field_expression "pNode->apChild" identifier -> field_identifier) + identifier)) ;) (expression_statement "iVar11 = iVar11 + 1;" (assignment_expression "iVar11 = iVar11 + 1" identifier = (binary_expression "iVar11 + 1" identifier + number_literal)) ;) (expression_statement "fts5ExprSetEof(*ppFVar2);" (call_expression "fts5ExprSetEof(*ppFVar2)" identifier (argument_list "(*ppFVar2)" ( (pointer_expression "*ppFVar2" * identifier) ))) ;) (expression_statement "iVar10 = extraout_ECX_00;" (assignment_expression "iVar10 = extraout_ECX_00" identifier = identifier) ;) }) while (parenthesized_expression "(iVar11 < pNode->nChild)" ( (binary_expression "iVar11 < pNode->nChild" identifier < (field_expression "pNode->nChild" identifier -> field_identifier)) )) ;) })) })) })) }) (else_clause "else {\n        pNode->bEof = pFVar15->bEof;\n      }" else (compound_statement "{\n        pNode->bEof = pFVar15->bEof;\n      }" { (expression_statement "pNode->bEof = pFVar15->bEof;" (assignment_expression "pNode->bEof = pFVar15->bEof" (field_expression "pNode->bEof" identifier -> field_identifier) = (field_expression "pFVar15->bEof" identifier -> field_identifier)) ;) }))))) (if_statement "if (iVar10 != 0) {\n        return iVar10;\n      }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n        return iVar10;\n      }" { (return_statement "return iVar10;" return identifier ;) })) }))) (if_statement "if (pNode->bEof != 0) {\n      return 0;\n    }" if (parenthesized_expression "(pNode->bEof != 0)" ( (binary_expression "pNode->bEof != 0" (field_expression "pNode->bEof" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar11 = pNode->eType;" (assignment_expression "iVar11 = pNode->eType" identifier = (field_expression "pNode->eType" identifier -> field_identifier)) ;) }))) (if_statement "if (iVar11 == 2) {\n    iVar11 = fts5ExprNodeTest_AND(pExpr,pNode);\n    return iVar11;\n  }" if (parenthesized_expression "(iVar11 == 2)" ( (binary_expression "iVar11 == 2" identifier == number_literal) )) (compound_statement "{\n    iVar11 = fts5ExprNodeTest_AND(pExpr,pNode);\n    return iVar11;\n  }" { (expression_statement "iVar11 = fts5ExprNodeTest_AND(pExpr,pNode);" (assignment_expression "iVar11 = fts5ExprNodeTest_AND(pExpr,pNode)" identifier = (call_expression "fts5ExprNodeTest_AND(pExpr,pNode)" identifier (argument_list "(pExpr,pNode)" ( identifier , identifier )))) ;) (return_statement "return iVar11;" return identifier ;) })) (if_statement "if (iVar11 < 3) {\n    if (iVar11 == 1) {\n      fts5ExprNodeTest_OR(pExpr,pNode);\n      return 0;\n    }\n  }\n  else {\n    if (iVar11 == 4) {\n      pFVar5 = pNode->pNear->apPhrase[0];\n      pFVar6 = pFVar5->aTerm[0].pIter;\n      (pFVar5->poslist).n = pFVar6->nData;\n      if (pExpr->pConfig->eDetail == 0) {\n        (pFVar5->poslist).p = pFVar6->pData;\n      }\n      iVar9 = pFVar6->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = *(undefined4 *)((int)&pFVar6->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)iVar9;\n      pNode->bNomatch = (uint)((pFVar5->poslist).n == 0);\n      return 0;\n    }\n    if (iVar11 == 9) {\n      iVar11 = fts5ExprNodeTest_STRING(in_stack_00000004,in_stack_00000008);\n      return iVar11;\n    }\n  }" if (parenthesized_expression "(iVar11 < 3)" ( (binary_expression "iVar11 < 3" identifier < number_literal) )) (compound_statement "{\n    if (iVar11 == 1) {\n      fts5ExprNodeTest_OR(pExpr,pNode);\n      return 0;\n    }\n  }" { (if_statement "if (iVar11 == 1) {\n      fts5ExprNodeTest_OR(pExpr,pNode);\n      return 0;\n    }" if (parenthesized_expression "(iVar11 == 1)" ( (binary_expression "iVar11 == 1" identifier == number_literal) )) (compound_statement "{\n      fts5ExprNodeTest_OR(pExpr,pNode);\n      return 0;\n    }" { (expression_statement "fts5ExprNodeTest_OR(pExpr,pNode);" (call_expression "fts5ExprNodeTest_OR(pExpr,pNode)" identifier (argument_list "(pExpr,pNode)" ( identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else {\n    if (iVar11 == 4) {\n      pFVar5 = pNode->pNear->apPhrase[0];\n      pFVar6 = pFVar5->aTerm[0].pIter;\n      (pFVar5->poslist).n = pFVar6->nData;\n      if (pExpr->pConfig->eDetail == 0) {\n        (pFVar5->poslist).p = pFVar6->pData;\n      }\n      iVar9 = pFVar6->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = *(undefined4 *)((int)&pFVar6->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)iVar9;\n      pNode->bNomatch = (uint)((pFVar5->poslist).n == 0);\n      return 0;\n    }\n    if (iVar11 == 9) {\n      iVar11 = fts5ExprNodeTest_STRING(in_stack_00000004,in_stack_00000008);\n      return iVar11;\n    }\n  }" else (compound_statement "{\n    if (iVar11 == 4) {\n      pFVar5 = pNode->pNear->apPhrase[0];\n      pFVar6 = pFVar5->aTerm[0].pIter;\n      (pFVar5->poslist).n = pFVar6->nData;\n      if (pExpr->pConfig->eDetail == 0) {\n        (pFVar5->poslist).p = pFVar6->pData;\n      }\n      iVar9 = pFVar6->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = *(undefined4 *)((int)&pFVar6->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)iVar9;\n      pNode->bNomatch = (uint)((pFVar5->poslist).n == 0);\n      return 0;\n    }\n    if (iVar11 == 9) {\n      iVar11 = fts5ExprNodeTest_STRING(in_stack_00000004,in_stack_00000008);\n      return iVar11;\n    }\n  }" { (if_statement "if (iVar11 == 4) {\n      pFVar5 = pNode->pNear->apPhrase[0];\n      pFVar6 = pFVar5->aTerm[0].pIter;\n      (pFVar5->poslist).n = pFVar6->nData;\n      if (pExpr->pConfig->eDetail == 0) {\n        (pFVar5->poslist).p = pFVar6->pData;\n      }\n      iVar9 = pFVar6->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = *(undefined4 *)((int)&pFVar6->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)iVar9;\n      pNode->bNomatch = (uint)((pFVar5->poslist).n == 0);\n      return 0;\n    }" if (parenthesized_expression "(iVar11 == 4)" ( (binary_expression "iVar11 == 4" identifier == number_literal) )) (compound_statement "{\n      pFVar5 = pNode->pNear->apPhrase[0];\n      pFVar6 = pFVar5->aTerm[0].pIter;\n      (pFVar5->poslist).n = pFVar6->nData;\n      if (pExpr->pConfig->eDetail == 0) {\n        (pFVar5->poslist).p = pFVar6->pData;\n      }\n      iVar9 = pFVar6->iRowid;\n      *(undefined4 *)((int)&pNode->iRowid + 4) = *(undefined4 *)((int)&pFVar6->iRowid + 4);\n      *(int *)&pNode->iRowid = (int)iVar9;\n      pNode->bNomatch = (uint)((pFVar5->poslist).n == 0);\n      return 0;\n    }" { (expression_statement "pFVar5 = pNode->pNear->apPhrase[0];" (assignment_expression "pFVar5 = pNode->pNear->apPhrase[0]" identifier = (subscript_expression "pNode->pNear->apPhrase[0]" (field_expression "pNode->pNear->apPhrase" (field_expression "pNode->pNear" identifier -> field_identifier) -> field_identifier) [ number_literal ])) ;) (expression_statement "pFVar6 = pFVar5->aTerm[0].pIter;" (assignment_expression "pFVar6 = pFVar5->aTerm[0].pIter" identifier = (field_expression "pFVar5->aTerm[0].pIter" (subscript_expression "pFVar5->aTerm[0]" (field_expression "pFVar5->aTerm" identifier -> field_identifier) [ number_literal ]) . field_identifier)) ;) (expression_statement "(pFVar5->poslist).n = pFVar6->nData;" (assignment_expression "(pFVar5->poslist).n = pFVar6->nData" (field_expression "(pFVar5->poslist).n" (parenthesized_expression "(pFVar5->poslist)" ( (field_expression "pFVar5->poslist" identifier -> field_identifier) )) . field_identifier) = (field_expression "pFVar6->nData" identifier -> field_identifier)) ;) (if_statement "if (pExpr->pConfig->eDetail == 0) {\n        (pFVar5->poslist).p = pFVar6->pData;\n      }" if (parenthesized_expression "(pExpr->pConfig->eDetail == 0)" ( (binary_expression "pExpr->pConfig->eDetail == 0" (field_expression "pExpr->pConfig->eDetail" (field_expression "pExpr->pConfig" identifier -> field_identifier) -> field_identifier) == number_literal) )) (compound_statement "{\n        (pFVar5->poslist).p = pFVar6->pData;\n      }" { (expression_statement "(pFVar5->poslist).p = pFVar6->pData;" (assignment_expression "(pFVar5->poslist).p = pFVar6->pData" (field_expression "(pFVar5->poslist).p" (parenthesized_expression "(pFVar5->poslist)" ( (field_expression "pFVar5->poslist" identifier -> field_identifier) )) . field_identifier) = (field_expression "pFVar6->pData" identifier -> field_identifier)) ;) })) (expression_statement "iVar9 = pFVar6->iRowid;" (assignment_expression "iVar9 = pFVar6->iRowid" identifier = (field_expression "pFVar6->iRowid" identifier -> field_identifier)) ;) (expression_statement "*(undefined4 *)((int)&pNode->iRowid + 4) = *(undefined4 *)((int)&pFVar6->iRowid + 4);" (assignment_expression "*(undefined4 *)((int)&pNode->iRowid + 4) = *(undefined4 *)((int)&pFVar6->iRowid + 4)" (pointer_expression "*(undefined4 *)((int)&pNode->iRowid + 4)" * (cast_expression "(undefined4 *)((int)&pNode->iRowid + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pNode->iRowid + 4)" ( (binary_expression "(int)&pNode->iRowid + 4" (cast_expression "(int)&pNode->iRowid" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pNode->iRowid" & (field_expression "pNode->iRowid" identifier -> field_identifier))) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)&pFVar6->iRowid + 4)" * (cast_expression "(undefined4 *)((int)&pFVar6->iRowid + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pFVar6->iRowid + 4)" ( (binary_expression "(int)&pFVar6->iRowid + 4" (cast_expression "(int)&pFVar6->iRowid" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pFVar6->iRowid" & (field_expression "pFVar6->iRowid" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "*(int *)&pNode->iRowid = (int)iVar9;" (assignment_expression "*(int *)&pNode->iRowid = (int)iVar9" (pointer_expression "*(int *)&pNode->iRowid" * (cast_expression "(int *)&pNode->iRowid" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pNode->iRowid" & (field_expression "pNode->iRowid" identifier -> field_identifier)))) = (cast_expression "(int)iVar9" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pNode->bNomatch = (uint)((pFVar5->poslist).n == 0);" (assignment_expression "pNode->bNomatch = (uint)((pFVar5->poslist).n == 0)" (field_expression "pNode->bNomatch" identifier -> field_identifier) = (call_expression "(uint)((pFVar5->poslist).n == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((pFVar5->poslist).n == 0)" ( (binary_expression "(pFVar5->poslist).n == 0" (field_expression "(pFVar5->poslist).n" (parenthesized_expression "(pFVar5->poslist)" ( (field_expression "pFVar5->poslist" identifier -> field_identifier) )) . field_identifier) == number_literal) )))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar11 == 9) {\n      iVar11 = fts5ExprNodeTest_STRING(in_stack_00000004,in_stack_00000008);\n      return iVar11;\n    }" if (parenthesized_expression "(iVar11 == 9)" ( (binary_expression "iVar11 == 9" identifier == number_literal) )) (compound_statement "{\n      iVar11 = fts5ExprNodeTest_STRING(in_stack_00000004,in_stack_00000008);\n      return iVar11;\n    }" { (expression_statement "iVar11 = fts5ExprNodeTest_STRING(in_stack_00000004,in_stack_00000008);" (assignment_expression "iVar11 = fts5ExprNodeTest_STRING(in_stack_00000004,in_stack_00000008)" identifier = (call_expression "fts5ExprNodeTest_STRING(in_stack_00000004,in_stack_00000008)" identifier (argument_list "(in_stack_00000004,in_stack_00000008)" ( identifier , identifier )))) ;) (return_statement "return iVar11;" return identifier ;) })) }))) (expression_statement "iVar11 = fts5ExprNodeTest_NOT(pExpr,pNode);" (assignment_expression "iVar11 = fts5ExprNodeTest_NOT(pExpr,pNode)" identifier = (call_expression "fts5ExprNodeTest_NOT(pExpr,pNode)" identifier (argument_list "(pExpr,pNode)" ( identifier , identifier )))) ;) (return_statement "return iVar11;" return identifier ;) })))
(translation_unit "int __regparm3 FUN_000db860(int param_1,int *param_2)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  bool bVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int extraout_ECX_01;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int iVar10;\n  byte bVar11;\n  char *local_34;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  param_2[1] = 0;\n  param_2[2] = 0;\n  iVar6 = *param_2;\n  if ((iVar6 == 4) || (iVar6 == 9)) {\n    iVar10 = param_2[6];\n    if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    param_2[1] = 0;\n  }\n  else {\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }\n  if (iVar6 == 2) {\n    iVar6 = FUN_000327d0();\n    return iVar6;\n  }\n  if (iVar6 < 3) {\n    if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }\n  }\n  else {\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }\n  iVar6 = FUN_00032bb0();\n  return iVar6;\n}\n\n" (function_definition "int __regparm3 FUN_000db860(int param_1,int *param_2)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  bool bVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int extraout_ECX_01;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int iVar10;\n  byte bVar11;\n  char *local_34;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  param_2[1] = 0;\n  param_2[2] = 0;\n  iVar6 = *param_2;\n  if ((iVar6 == 4) || (iVar6 == 9)) {\n    iVar10 = param_2[6];\n    if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    param_2[1] = 0;\n  }\n  else {\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }\n  if (iVar6 == 2) {\n    iVar6 = FUN_000327d0();\n    return iVar6;\n  }\n  if (iVar6 < 3) {\n    if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }\n  }\n  else {\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }\n  iVar6 = FUN_00032bb0();\n  return iVar6;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000db860(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  bool bVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int extraout_ECX_01;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int iVar10;\n  byte bVar11;\n  char *local_34;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  param_2[1] = 0;\n  param_2[2] = 0;\n  iVar6 = *param_2;\n  if ((iVar6 == 4) || (iVar6 == 9)) {\n    iVar10 = param_2[6];\n    if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    param_2[1] = 0;\n  }\n  else {\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }\n  if (iVar6 == 2) {\n    iVar6 = FUN_000327d0();\n    return iVar6;\n  }\n  if (iVar6 < 3) {\n    if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }\n  }\n  else {\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }\n  iVar6 = FUN_00032bb0();\n  return iVar6;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int extraout_ECX;" primitive_type identifier ;) (declaration "int extraout_ECX_00;" primitive_type identifier ;) (declaration "int extraout_ECX_01;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "byte bVar11;" type_identifier identifier ;) (declaration "char *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar6 = *param_2;" (assignment_expression "iVar6 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if ((iVar6 == 4) || (iVar6 == 9)) {\n    iVar10 = param_2[6];\n    if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    param_2[1] = 0;\n  }\n  else {\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }" if (parenthesized_expression "((iVar6 == 4) || (iVar6 == 9))" ( (binary_expression "(iVar6 == 4) || (iVar6 == 9)" (parenthesized_expression "(iVar6 == 4)" ( (binary_expression "iVar6 == 4" identifier == number_literal) )) || (parenthesized_expression "(iVar6 == 9)" ( (binary_expression "iVar6 == 9" identifier == number_literal) ))) )) (compound_statement "{\n    iVar10 = param_2[6];\n    if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    param_2[1] = 0;\n  }" { (expression_statement "iVar10 = param_2[6];" (assignment_expression "iVar10 = param_2[6]" identifier = (subscript_expression "param_2[6]" identifier [ number_literal ])) ;) (if_statement "if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }" if (parenthesized_expression "(0 < *(int *)(iVar10 + 8))" ( (binary_expression "0 < *(int *)(iVar10 + 8)" number_literal < (pointer_expression "*(int *)(iVar10 + 8)" * (cast_expression "(int *)(iVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 8)" ( (binary_expression "iVar10 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }" { (expression_statement "local_28 = *(int *)(iVar10 + 0xc);" (assignment_expression "local_28 = *(int *)(iVar10 + 0xc)" identifier = (pointer_expression "*(int *)(iVar10 + 0xc)" * (cast_expression "(int *)(iVar10 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xc)" ( (binary_expression "iVar10 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(local_28 + 0x10);" (assignment_expression "iVar6 = *(int *)(local_28 + 0x10)" identifier = (pointer_expression "*(int *)(local_28 + 0x10)" * (cast_expression "(int *)(local_28 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x10)" ( (binary_expression "local_28 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }" { (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (do_statement "do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);" do (compound_statement "{\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_34 = (char *)(local_28 + 0x14);" (assignment_expression "local_34 = (char *)(local_28 + 0x14)" identifier = (cast_expression "(char *)(local_28 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x14)" ( (binary_expression "local_28 + 0x14" identifier + number_literal) )))) ;) (if_statement "if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }" if (parenthesized_expression "(0 < iVar6)" ( (binary_expression "0 < iVar6" number_literal < identifier) )) (compound_statement "{\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }" { (do_statement "do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));" do (compound_statement "{\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            }" { (expression_statement "pcVar9 = local_34;" (assignment_expression "pcVar9 = local_34" identifier = identifier) ;) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (do_statement "do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);" do (compound_statement "{\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              }" { (if_statement "if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }" if (parenthesized_expression "(*(int *)(pcVar9 + 8) != 0)" ( (binary_expression "*(int *)(pcVar9 + 8) != 0" (pointer_expression "*(int *)(pcVar9 + 8)" * (cast_expression "(int *)(pcVar9 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar9 + 8)" ( (binary_expression "pcVar9 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }" { (expression_statement "FUN_00089dc0();" (call_expression "FUN_00089dc0()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar9[8] = '\0';" (assignment_expression "pcVar9[8] = '\0'" (subscript_expression "pcVar9[8]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar9[9] = '\0';" (assignment_expression "pcVar9[9] = '\0'" (subscript_expression "pcVar9[9]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar9[10] = '\0';" (assignment_expression "pcVar9[10] = '\0'" (subscript_expression "pcVar9[10]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "pcVar9[0xb] = '\0';" (assignment_expression "pcVar9[0xb] = '\0'" (subscript_expression "pcVar9[0xb]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "uVar1 = *(undefined4 *)(iVar10 + 4);" (assignment_expression "uVar1 = *(undefined4 *)(iVar10 + 4)" identifier = (pointer_expression "*(undefined4 *)(iVar10 + 4)" * (cast_expression "(undefined4 *)(iVar10 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) ))))) ;) (expression_statement "bVar11 = *local_34 != '\0';" (assignment_expression "bVar11 = *local_34 != '\0'" identifier = (binary_expression "*local_34 != '\0'" (pointer_expression "*local_34" * identifier) != (char_literal "'\0'" ' escape_sequence '))) ;) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }" if (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  bVar11 = bVar11 | 2;\n                }" { (expression_statement "bVar11 = bVar11 | 2;" (assignment_expression "bVar11 = bVar11 | 2" identifier = (binary_expression "bVar11 | 2" identifier | number_literal)) ;) })) (expression_statement "strlen(*(char **)(pcVar9 + 4));" (call_expression "strlen(*(char **)(pcVar9 + 4))" identifier (argument_list "(*(char **)(pcVar9 + 4))" ( (pointer_expression "*(char **)(pcVar9 + 4)" * (cast_expression "(char **)(pcVar9 + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar9 + 4)" ( (binary_expression "pcVar9 + 4" identifier + number_literal) )))) ))) ;) (expression_statement "iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);" (assignment_expression "iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8)" identifier = (call_expression "FUN_000dadf0(bVar11,uVar1,pcVar9 + 8)" identifier (argument_list "(bVar11,uVar1,pcVar9 + 8)" ( identifier , identifier , (binary_expression "pcVar9 + 8" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) {\n                  return iVar6;\n                }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n                  return iVar6;\n                }" { (return_statement "return iVar6;" return identifier ;) })) (expression_statement "piVar2 = (int *)(pcVar9 + 8);" (assignment_expression "piVar2 = (int *)(pcVar9 + 8)" identifier = (cast_expression "(int *)(pcVar9 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar9 + 8)" ( (binary_expression "pcVar9 + 8" identifier + number_literal) )))) ;) (expression_statement "pcVar9 = *(char **)(pcVar9 + 0xc);" (assignment_expression "pcVar9 = *(char **)(pcVar9 + 0xc)" identifier = (pointer_expression "*(char **)(pcVar9 + 0xc)" * (cast_expression "(char **)(pcVar9 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar9 + 0xc)" ( (binary_expression "pcVar9 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) (if_statement "if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }" if (parenthesized_expression "(*(char *)(*piVar2 + 0x10) != '\0')" ( (binary_expression "*(char *)(*piVar2 + 0x10) != '\0'" (pointer_expression "*(char *)(*piVar2 + 0x10)" * (cast_expression "(char *)(*piVar2 + 0x10)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 0x10)" ( (binary_expression "*piVar2 + 0x10" (pointer_expression "*piVar2" * identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                  bVar3 = bVar4;\n                }" { (expression_statement "bVar3 = bVar4;" (assignment_expression "bVar3 = bVar4" identifier = identifier) ;) })) (expression_statement "bVar4 = bVar3;" (assignment_expression "bVar4 = bVar3" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (if_statement "if (!bVar3) goto LAB_000dba30;" if (parenthesized_expression "(!bVar3)" ( (unary_expression "!bVar3" ! identifier) )) (goto_statement "goto LAB_000dba30;" goto statement_identifier ;)) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" identifier = (binary_expression "local_2c + 1" identifier + number_literal)) ;) (expression_statement "local_34 = local_34 + 0x10;" (assignment_expression "local_34 = local_34 + 0x10" identifier = (binary_expression "local_34 + 0x10" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_2c < *(int *)(local_28 + 0x10))" ( (binary_expression "local_2c < *(int *)(local_28 + 0x10)" identifier < (pointer_expression "*(int *)(local_28 + 0x10)" * (cast_expression "(int *)(local_28 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x10)" ( (binary_expression "local_28 + 0x10" identifier + number_literal) ))))) )) ;) })) (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" identifier = (binary_expression "local_24 + 1" identifier + number_literal)) ;) (if_statement "if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }" if (parenthesized_expression "(*(int *)(iVar10 + 8) <= local_24)" ( (binary_expression "*(int *)(iVar10 + 8) <= local_24" (pointer_expression "*(int *)(iVar10 + 8)" * (cast_expression "(int *)(iVar10 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 8)" ( (binary_expression "iVar10 + 8" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }" { (expression_statement "iVar6 = *param_2;" (assignment_expression "iVar6 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (goto_statement "goto LAB_000dbc43;" goto statement_identifier ;) })) (expression_statement "local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);" (assignment_expression "local_28 = *(int *)(iVar10 + 0xc + local_24 * 4)" identifier = (pointer_expression "*(int *)(iVar10 + 0xc + local_24 * 4)" * (cast_expression "(int *)(iVar10 + 0xc + local_24 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xc + local_24 * 4)" ( (binary_expression "iVar10 + 0xc + local_24 * 4" (binary_expression "iVar10 + 0xc" identifier + number_literal) + (binary_expression "local_24 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar6 = *(int *)(local_28 + 0x10);" (assignment_expression "iVar6 = *(int *)(local_28 + 0x10)" identifier = (pointer_expression "*(int *)(local_28 + 0x10)" * (cast_expression "(int *)(local_28 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x10)" ( (binary_expression "local_28 + 0x10" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) })) (goto_statement "goto LAB_000dba30;" goto statement_identifier ;) })) (labeled_statement "LAB_000dbc43:\n    param_2[1] = 0;" statement_identifier : (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;)) }) (else_clause "else {\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }" else (compound_statement "{\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }" { (if_statement "if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }" if (parenthesized_expression "(param_2[3] == 0)" ( (binary_expression "param_2[3] == 0" (subscript_expression "param_2[3]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }" { (labeled_statement "LAB_000dba30:\n      param_2[1] = 1;" statement_identifier : (expression_statement "param_2[1] = 1;" (assignment_expression "param_2[1] = 1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;)) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar10 = param_2[8];" (assignment_expression "iVar10 = param_2[8]" identifier = (subscript_expression "param_2[8]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (if_statement "if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }" if (parenthesized_expression "(param_2[7] < 1)" ( (binary_expression "param_2[7] < 1" (subscript_expression "param_2[7]" identifier [ number_literal ]) < number_literal) )) (compound_statement "{\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }" { (expression_statement "iVar8 = *(int *)(iVar10 + 0x14);" (assignment_expression "iVar8 = *(int *)(iVar10 + 0x14)" identifier = (pointer_expression "*(int *)(iVar10 + 0x14)" * (cast_expression "(int *)(iVar10 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "param_2[4] = *(int *)(iVar10 + 0x10);" (assignment_expression "param_2[4] = *(int *)(iVar10 + 0x10)" (subscript_expression "param_2[4]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar10 + 0x10)" * (cast_expression "(int *)(iVar10 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "param_2[5] = iVar8;" (assignment_expression "param_2[5] = iVar8" (subscript_expression "param_2[5]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" if (parenthesized_expression "(iVar6 == 1)" ( (binary_expression "iVar6 == 1" identifier == number_literal) )) (compound_statement "{\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }" { (if_statement "if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }" if (parenthesized_expression "(param_2[7] == 0)" ( (binary_expression "param_2[7] == 0" (subscript_expression "param_2[7]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          param_2[1] = 1;\n        }" { (expression_statement "param_2[1] = 1;" (assignment_expression "param_2[1] = 1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) })) }) (else_clause "else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" else (if_statement "if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" if (parenthesized_expression "(iVar6 != 2)" ( (binary_expression "iVar6 != 2" identifier != number_literal) )) (compound_statement "{\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" { (expression_statement "param_2[1] = *(int *)(iVar10 + 4);" (assignment_expression "param_2[1] = *(int *)(iVar10 + 4)" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) ))))) ;) })))) }) (else_clause "else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }" else (compound_statement "{\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }" { (while_statement "while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }" { (expression_statement "iVar5 = FUN_000db860();" (assignment_expression "iVar5 = FUN_000db860()" identifier = (call_expression "FUN_000db860()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = param_2[7];" (assignment_expression "iVar6 = param_2[7]" identifier = (subscript_expression "param_2[7]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = iVar7 + *(int *)(iVar10 + 4);" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar10 + 4)" identifier = (binary_expression "iVar7 + *(int *)(iVar10 + 4)" identifier + (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) )))))) ;) (if_statement "if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;" if (parenthesized_expression "((iVar6 <= iVar8 + 1) || (iVar5 != 0))" ( (binary_expression "(iVar6 <= iVar8 + 1) || (iVar5 != 0)" (parenthesized_expression "(iVar6 <= iVar8 + 1)" ( (binary_expression "iVar6 <= iVar8 + 1" identifier <= (binary_expression "iVar8 + 1" identifier + number_literal)) )) || (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar10 = param_2[iVar8 + 9];" (assignment_expression "iVar10 = param_2[iVar8 + 9]" identifier = (subscript_expression "param_2[iVar8 + 9]" identifier [ (binary_expression "iVar8 + 9" identifier + number_literal) ])) ;) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar10 = param_2[8];" (assignment_expression "iVar10 = param_2[8]" identifier = (subscript_expression "param_2[8]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = *(int *)(iVar10 + 0x14);" (assignment_expression "iVar8 = *(int *)(iVar10 + 0x14)" identifier = (pointer_expression "*(int *)(iVar10 + 0x14)" * (cast_expression "(int *)(iVar10 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x14)" ( (binary_expression "iVar10 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "param_2[4] = *(int *)(iVar10 + 0x10);" (assignment_expression "param_2[4] = *(int *)(iVar10 + 0x10)" (subscript_expression "param_2[4]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar10 + 0x10)" * (cast_expression "(int *)(iVar10 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x10)" ( (binary_expression "iVar10 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "param_2[5] = iVar8;" (assignment_expression "param_2[5] = iVar8" (subscript_expression "param_2[5]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" if (parenthesized_expression "(*param_2 == 1)" ( (binary_expression "*param_2 == 1" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }" { (if_statement "if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }" if (parenthesized_expression "(iVar6 == iVar7)" ( (binary_expression "iVar6 == iVar7" identifier == identifier) )) (compound_statement "{\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }" { (expression_statement "param_2[1] = 1;" (assignment_expression "param_2[1] = 1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }" if (parenthesized_expression "(0 < param_2[7])" ( (binary_expression "0 < param_2[7]" number_literal < (subscript_expression "param_2[7]" identifier [ number_literal ])) )) (compound_statement "{\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);" do (compound_statement "{\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            }" { (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0001fa60();" (call_expression "FUN_0001fa60()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar5 = extraout_ECX_01;" (assignment_expression "iVar5 = extraout_ECX_01" identifier = identifier) ;) }) while (parenthesized_expression "(iVar6 < param_2[7])" ( (binary_expression "iVar6 < param_2[7]" identifier < (subscript_expression "param_2[7]" identifier [ number_literal ])) )) ;) })) })) }) (else_clause "else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" else (if_statement "if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" if (parenthesized_expression "(*param_2 == 2)" ( (binary_expression "*param_2 == 2" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }" { (if_statement "if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }" { (expression_statement "param_2[1] = 1;" (assignment_expression "param_2[1] = 1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }" if (parenthesized_expression "(0 < iVar6)" ( (binary_expression "0 < iVar6" number_literal < identifier) )) (compound_statement "{\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }" { (expression_statement "FUN_0001fa60();" (call_expression "FUN_0001fa60()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "iVar5 = extraout_ECX;" (assignment_expression "iVar5 = extraout_ECX" identifier = identifier) ;) (if_statement "if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }" if (parenthesized_expression "(1 < param_2[7])" ( (binary_expression "1 < param_2[7]" number_literal < (subscript_expression "param_2[7]" identifier [ number_literal ])) )) (compound_statement "{\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }" { (do_statement "do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);" do (compound_statement "{\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              }" { (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0001fa60();" (call_expression "FUN_0001fa60()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar5 = extraout_ECX_00;" (assignment_expression "iVar5 = extraout_ECX_00" identifier = identifier) ;) }) while (parenthesized_expression "(iVar6 < param_2[7])" ( (binary_expression "iVar6 < param_2[7]" identifier < (subscript_expression "param_2[7]" identifier [ number_literal ])) )) ;) })) })) })) }) (else_clause "else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" else (compound_statement "{\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" { (expression_statement "param_2[1] = *(int *)(iVar10 + 4);" (assignment_expression "param_2[1] = *(int *)(iVar10 + 4)" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) ))))) ;) }))))) (if_statement "if (iVar5 != 0) {\n        return iVar5;\n      }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n        return iVar5;\n      }" { (return_statement "return iVar5;" return identifier ;) })) }))) (if_statement "if (param_2[1] != 0) {\n      return 0;\n    }" if (parenthesized_expression "(param_2[1] != 0)" ( (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar6 = *param_2;" (assignment_expression "iVar6 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) }))) (if_statement "if (iVar6 == 2) {\n    iVar6 = FUN_000327d0();\n    return iVar6;\n  }" if (parenthesized_expression "(iVar6 == 2)" ( (binary_expression "iVar6 == 2" identifier == number_literal) )) (compound_statement "{\n    iVar6 = FUN_000327d0();\n    return iVar6;\n  }" { (expression_statement "iVar6 = FUN_000327d0();" (assignment_expression "iVar6 = FUN_000327d0()" identifier = (call_expression "FUN_000327d0()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar6;" return identifier ;) })) (if_statement "if (iVar6 < 3) {\n    if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }\n  }\n  else {\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }" if (parenthesized_expression "(iVar6 < 3)" ( (binary_expression "iVar6 < 3" identifier < number_literal) )) (compound_statement "{\n    if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }\n  }" { (if_statement "if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }" if (parenthesized_expression "(iVar6 == 1)" ( (binary_expression "iVar6 == 1" identifier == number_literal) )) (compound_statement "{\n      FUN_00032a40();\n      return 0;\n    }" { (expression_statement "FUN_00032a40();" (call_expression "FUN_00032a40()" identifier (argument_list "()" ( ))) ;) (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else {\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }" else (compound_statement "{\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }" { (if_statement "if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }" if (parenthesized_expression "(iVar6 == 4)" ( (binary_expression "iVar6 == 4" identifier == number_literal) )) (compound_statement "{\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }" { (expression_statement "iVar6 = *(int *)(param_2[6] + 0xc);" (assignment_expression "iVar6 = *(int *)(param_2[6] + 0xc)" identifier = (pointer_expression "*(int *)(param_2[6] + 0xc)" * (cast_expression "(int *)(param_2[6] + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[6] + 0xc)" ( (binary_expression "param_2[6] + 0xc" (subscript_expression "param_2[6]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "piVar2 = *(int **)(iVar6 + 0x1c);" (assignment_expression "piVar2 = *(int **)(iVar6 + 0x1c)" identifier = (pointer_expression "*(int **)(iVar6 + 0x1c)" * (cast_expression "(int **)(iVar6 + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar6 + 8) = piVar2[3];" (assignment_expression "*(int *)(iVar6 + 8) = piVar2[3]" (pointer_expression "*(int *)(iVar6 + 8)" * (cast_expression "(int *)(iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) = (subscript_expression "piVar2[3]" identifier [ number_literal ])) ;) (if_statement "if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }" if (parenthesized_expression "(*(int *)(*(int *)(param_1 + 4) + 0x30) == 0)" ( (binary_expression "*(int *)(*(int *)(param_1 + 4) + 0x30) == 0" (pointer_expression "*(int *)(*(int *)(param_1 + 4) + 0x30)" * (cast_expression "(int *)(*(int *)(param_1 + 4) + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 0x30)" ( (binary_expression "*(int *)(param_1 + 4) + 0x30" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) )))) == number_literal) )) (compound_statement "{\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }" { (expression_statement "*(int *)(iVar6 + 4) = piVar2[2];" (assignment_expression "*(int *)(iVar6 + 4) = piVar2[2]" (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) = (subscript_expression "piVar2[2]" identifier [ number_literal ])) ;) })) (expression_statement "iVar10 = *piVar2;" (assignment_expression "iVar10 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "param_2[5] = piVar2[1];" (assignment_expression "param_2[5] = piVar2[1]" (subscript_expression "param_2[5]" identifier [ number_literal ]) = (subscript_expression "piVar2[1]" identifier [ number_literal ])) ;) (expression_statement "param_2[4] = iVar10;" (assignment_expression "param_2[4] = iVar10" (subscript_expression "param_2[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);" (assignment_expression "param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0)" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (call_expression "(uint)(*(int *)(iVar6 + 8) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar6 + 8) == 0)" ( (binary_expression "*(int *)(iVar6 + 8) == 0" (pointer_expression "*(int *)(iVar6 + 8)" * (cast_expression "(int *)(iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) == number_literal) )))) ;) (return_statement "return 0;" return number_literal ;) })) (if_statement "if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }" if (parenthesized_expression "(iVar6 == 9)" ( (binary_expression "iVar6 == 9" identifier == number_literal) )) (compound_statement "{\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }" { (expression_statement "iVar6 = FUN_000d7e20();" (assignment_expression "iVar6 = FUN_000d7e20()" identifier = (call_expression "FUN_000d7e20()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar6;" return identifier ;) })) }))) (expression_statement "iVar6 = FUN_00032bb0();" (assignment_expression "iVar6 = FUN_00032bb0()" identifier = (call_expression "FUN_00032bb0()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar6;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (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 (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) })) (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 = (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence '))) ;) (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 = (binary_expression IDENT | LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < LIT) )) (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 (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })))) }) (else_clause else (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= (binary_expression IDENT + LIT)) )) || (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression IDENT + LIT) ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (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 (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) )) ;) })) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) )) ;) })) })) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_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 IDENT + LIT) )))) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )))) ;) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return IDENT ;) })))
(function_definition "int __regparm3 FUN_000db860(int param_1,int *param_2)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  bool bVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int extraout_ECX_01;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int iVar10;\n  byte bVar11;\n  char *local_34;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  param_2[1] = 0;\n  param_2[2] = 0;\n  iVar6 = *param_2;\n  if ((iVar6 == 4) || (iVar6 == 9)) {\n    iVar10 = param_2[6];\n    if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    param_2[1] = 0;\n  }\n  else {\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }\n  if (iVar6 == 2) {\n    iVar6 = FUN_000327d0();\n    return iVar6;\n  }\n  if (iVar6 < 3) {\n    if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }\n  }\n  else {\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }\n  iVar6 = FUN_00032bb0();\n  return iVar6;\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000db860(int param_1,int *param_2)" (identifier "FUN_000db860") (parameter_list "(int param_1,int *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  bool bVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  int extraout_ECX;\n  int extraout_ECX_00;\n  int extraout_ECX_01;\n  int iVar7;\n  int iVar8;\n  char *pcVar9;\n  int iVar10;\n  byte bVar11;\n  char *local_34;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  param_2[1] = 0;\n  param_2[2] = 0;\n  iVar6 = *param_2;\n  if ((iVar6 == 4) || (iVar6 == 9)) {\n    iVar10 = param_2[6];\n    if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    param_2[1] = 0;\n  }\n  else {\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }\n  if (iVar6 == 2) {\n    iVar6 = FUN_000327d0();\n    return iVar6;\n  }\n  if (iVar6 < 3) {\n    if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }\n  }\n  else {\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }\n  iVar6 = FUN_00032bb0();\n  return iVar6;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (declaration "bool bVar4;" (primitive_type "bool") (identifier "bVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int extraout_ECX;" (primitive_type "int") (identifier "extraout_ECX") (; ";")) (declaration "int extraout_ECX_00;" (primitive_type "int") (identifier "extraout_ECX_00") (; ";")) (declaration "int extraout_ECX_01;" (primitive_type "int") (identifier "extraout_ECX_01") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "byte bVar11;" (type_identifier "byte") (identifier "bVar11") (; ";")) (declaration "char *local_34;" (primitive_type "char") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar6 = *param_2;" (assignment_expression "iVar6 = *param_2" (identifier "iVar6") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if ((iVar6 == 4) || (iVar6 == 9)) {\n    iVar10 = param_2[6];\n    if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    param_2[1] = 0;\n  }\n  else {\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }" (if "if") (parenthesized_expression "((iVar6 == 4) || (iVar6 == 9))" (( "(") (binary_expression "(iVar6 == 4) || (iVar6 == 9)" (parenthesized_expression "(iVar6 == 4)" (( "(") (binary_expression "iVar6 == 4" (identifier "iVar6") (== "==") (number_literal "4")) () ")")) (|| "||") (parenthesized_expression "(iVar6 == 9)" (( "(") (binary_expression "iVar6 == 9" (identifier "iVar6") (== "==") (number_literal "9")) () ")"))) () ")")) (compound_statement "{\n    iVar10 = param_2[6];\n    if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }\nLAB_000dbc43:\n    param_2[1] = 0;\n  }" ({ "{") (expression_statement "iVar10 = param_2[6];" (assignment_expression "iVar10 = param_2[6]" (identifier "iVar10") (= "=") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]"))) (; ";")) (if_statement "if (0 < *(int *)(iVar10 + 8)) {\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }" (if "if") (parenthesized_expression "(0 < *(int *)(iVar10 + 8))" (( "(") (binary_expression "0 < *(int *)(iVar10 + 8)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar10 + 8)" (* "*") (cast_expression "(int *)(iVar10 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 8)" (( "(") (binary_expression "iVar10 + 8" (identifier "iVar10") (+ "+") (number_literal "8")) () ")"))))) () ")")) (compound_statement "{\n      local_28 = *(int *)(iVar10 + 0xc);\n      iVar6 = *(int *)(local_28 + 0x10);\n      if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }\n      goto LAB_000dba30;\n    }" ({ "{") (expression_statement "local_28 = *(int *)(iVar10 + 0xc);" (assignment_expression "local_28 = *(int *)(iVar10 + 0xc)" (identifier "local_28") (= "=") (pointer_expression "*(int *)(iVar10 + 0xc)" (* "*") (cast_expression "(int *)(iVar10 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0xc)" (( "(") (binary_expression "iVar10 + 0xc" (identifier "iVar10") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "iVar6 = *(int *)(local_28 + 0x10);" (assignment_expression "iVar6 = *(int *)(local_28 + 0x10)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(local_28 + 0x10)" (* "*") (cast_expression "(int *)(local_28 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 0x10)" (( "(") (binary_expression "local_28 + 0x10" (identifier "local_28") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (iVar6 != 0) {\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        local_24 = 0;\n        do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);\n      }" ({ "{") (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        } while (iVar6 != 0);" (do "do") (compound_statement "{\n          local_2c = 0;\n          local_34 = (char *)(local_28 + 0x14);\n          if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }\n          local_24 = local_24 + 1;\n          if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }\n          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);\n          iVar6 = *(int *)(local_28 + 0x10);\n        }" ({ "{") (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_34 = (char *)(local_28 + 0x14);" (assignment_expression "local_34 = (char *)(local_28 + 0x14)" (identifier "local_34") (= "=") (cast_expression "(char *)(local_28 + 0x14)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 0x14)" (( "(") (binary_expression "local_28 + 0x14" (identifier "local_28") (+ "+") (number_literal "0x14")) () ")")))) (; ";")) (if_statement "if (0 < iVar6) {\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }" (if "if") (parenthesized_expression "(0 < iVar6)" (( "(") (binary_expression "0 < iVar6" (number_literal "0") (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n            do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));\n          }" ({ "{") (do_statement "do {\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            } while (local_2c < *(int *)(local_28 + 0x10));" (do "do") (compound_statement "{\n              pcVar9 = local_34;\n              bVar4 = false;\n              do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);\n              if (!bVar3) goto LAB_000dba30;\n              local_2c = local_2c + 1;\n              local_34 = local_34 + 0x10;\n            }" ({ "{") (expression_statement "pcVar9 = local_34;" (assignment_expression "pcVar9 = local_34" (identifier "pcVar9") (= "=") (identifier "local_34")) (; ";")) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" (identifier "bVar4") (= "=") (false "false")) (; ";")) (do_statement "do {\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              } while (pcVar9 != (char *)0x0);" (do "do") (compound_statement "{\n                if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }\n                uVar1 = *(undefined4 *)(iVar10 + 4);\n                bVar11 = *local_34 != '\0';\n                if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }\n                strlen(*(char **)(pcVar9 + 4));\n                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);\n                if (iVar6 != 0) {\n                  return iVar6;\n                }\n                piVar2 = (int *)(pcVar9 + 8);\n                pcVar9 = *(char **)(pcVar9 + 0xc);\n                bVar3 = true;\n                if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }\n                bVar4 = bVar3;\n              }" ({ "{") (if_statement "if (*(int *)(pcVar9 + 8) != 0) {\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }" (if "if") (parenthesized_expression "(*(int *)(pcVar9 + 8) != 0)" (( "(") (binary_expression "*(int *)(pcVar9 + 8) != 0" (pointer_expression "*(int *)(pcVar9 + 8)" (* "*") (cast_expression "(int *)(pcVar9 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar9 + 8)" (( "(") (binary_expression "pcVar9 + 8" (identifier "pcVar9") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  FUN_00089dc0();\n                  pcVar9[8] = '\0';\n                  pcVar9[9] = '\0';\n                  pcVar9[10] = '\0';\n                  pcVar9[0xb] = '\0';\n                }" ({ "{") (expression_statement "FUN_00089dc0();" (call_expression "FUN_00089dc0()" (identifier "FUN_00089dc0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar9[8] = '\0';" (assignment_expression "pcVar9[8] = '\0'" (subscript_expression "pcVar9[8]" (identifier "pcVar9") ([ "[") (number_literal "8") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "pcVar9[9] = '\0';" (assignment_expression "pcVar9[9] = '\0'" (subscript_expression "pcVar9[9]" (identifier "pcVar9") ([ "[") (number_literal "9") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "pcVar9[10] = '\0';" (assignment_expression "pcVar9[10] = '\0'" (subscript_expression "pcVar9[10]" (identifier "pcVar9") ([ "[") (number_literal "10") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "pcVar9[0xb] = '\0';" (assignment_expression "pcVar9[0xb] = '\0'" (subscript_expression "pcVar9[0xb]" (identifier "pcVar9") ([ "[") (number_literal "0xb") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}"))) (expression_statement "uVar1 = *(undefined4 *)(iVar10 + 4);" (assignment_expression "uVar1 = *(undefined4 *)(iVar10 + 4)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(iVar10 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4)" (( "(") (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "bVar11 = *local_34 != '\0';" (assignment_expression "bVar11 = *local_34 != '\0'" (identifier "bVar11") (= "=") (binary_expression "*local_34 != '\0'" (pointer_expression "*local_34" (* "*") (identifier "local_34")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) (; ";")) (if_statement "if (*(int *)(param_1 + 0xc) != 0) {\n                  bVar11 = bVar11 | 2;\n                }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  bVar11 = bVar11 | 2;\n                }" ({ "{") (expression_statement "bVar11 = bVar11 | 2;" (assignment_expression "bVar11 = bVar11 | 2" (identifier "bVar11") (= "=") (binary_expression "bVar11 | 2" (identifier "bVar11") (| "|") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "strlen(*(char **)(pcVar9 + 4));" (call_expression "strlen(*(char **)(pcVar9 + 4))" (identifier "strlen") (argument_list "(*(char **)(pcVar9 + 4))" (( "(") (pointer_expression "*(char **)(pcVar9 + 4)" (* "*") (cast_expression "(char **)(pcVar9 + 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar9 + 4)" (( "(") (binary_expression "pcVar9 + 4" (identifier "pcVar9") (+ "+") (number_literal "4")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);" (assignment_expression "iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8)" (identifier "iVar6") (= "=") (call_expression "FUN_000dadf0(bVar11,uVar1,pcVar9 + 8)" (identifier "FUN_000dadf0") (argument_list "(bVar11,uVar1,pcVar9 + 8)" (( "(") (identifier "bVar11") (, ",") (identifier "uVar1") (, ",") (binary_expression "pcVar9 + 8" (identifier "pcVar9") (+ "+") (number_literal "8")) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n                  return iVar6;\n                }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  return iVar6;\n                }" ({ "{") (return_statement "return iVar6;" (return "return") (identifier "iVar6") (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)(pcVar9 + 8);" (assignment_expression "piVar2 = (int *)(pcVar9 + 8)" (identifier "piVar2") (= "=") (cast_expression "(int *)(pcVar9 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar9 + 8)" (( "(") (binary_expression "pcVar9 + 8" (identifier "pcVar9") (+ "+") (number_literal "8")) () ")")))) (; ";")) (expression_statement "pcVar9 = *(char **)(pcVar9 + 0xc);" (assignment_expression "pcVar9 = *(char **)(pcVar9 + 0xc)" (identifier "pcVar9") (= "=") (pointer_expression "*(char **)(pcVar9 + 0xc)" (* "*") (cast_expression "(char **)(pcVar9 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar9 + 0xc)" (( "(") (binary_expression "pcVar9 + 0xc" (identifier "pcVar9") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" (identifier "bVar3") (= "=") (true "true")) (; ";")) (if_statement "if (*(char *)(*piVar2 + 0x10) != '\0') {\n                  bVar3 = bVar4;\n                }" (if "if") (parenthesized_expression "(*(char *)(*piVar2 + 0x10) != '\0')" (( "(") (binary_expression "*(char *)(*piVar2 + 0x10) != '\0'" (pointer_expression "*(char *)(*piVar2 + 0x10)" (* "*") (cast_expression "(char *)(*piVar2 + 0x10)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar2 + 0x10)" (( "(") (binary_expression "*piVar2 + 0x10" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                  bVar3 = bVar4;\n                }" ({ "{") (expression_statement "bVar3 = bVar4;" (assignment_expression "bVar3 = bVar4" (identifier "bVar3") (= "=") (identifier "bVar4")) (; ";")) (} "}"))) (expression_statement "bVar4 = bVar3;" (assignment_expression "bVar4 = bVar3" (identifier "bVar4") (= "=") (identifier "bVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pcVar9 != (char *)0x0)" (( "(") (binary_expression "pcVar9 != (char *)0x0" (identifier "pcVar9") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (if_statement "if (!bVar3) goto LAB_000dba30;" (if "if") (parenthesized_expression "(!bVar3)" (( "(") (unary_expression "!bVar3" (! "!") (identifier "bVar3")) () ")")) (goto_statement "goto LAB_000dba30;" (goto "goto") (statement_identifier "LAB_000dba30") (; ";"))) (expression_statement "local_2c = local_2c + 1;" (assignment_expression "local_2c = local_2c + 1" (identifier "local_2c") (= "=") (binary_expression "local_2c + 1" (identifier "local_2c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_34 = local_34 + 0x10;" (assignment_expression "local_34 = local_34 + 0x10" (identifier "local_34") (= "=") (binary_expression "local_34 + 0x10" (identifier "local_34") (+ "+") (number_literal "0x10"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_2c < *(int *)(local_28 + 0x10))" (( "(") (binary_expression "local_2c < *(int *)(local_28 + 0x10)" (identifier "local_2c") (< "<") (pointer_expression "*(int *)(local_28 + 0x10)" (* "*") (cast_expression "(int *)(local_28 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 0x10)" (( "(") (binary_expression "local_28 + 0x10" (identifier "local_28") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "local_24 = local_24 + 1;" (assignment_expression "local_24 = local_24 + 1" (identifier "local_24") (= "=") (binary_expression "local_24 + 1" (identifier "local_24") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*(int *)(iVar10 + 8) <= local_24) {\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }" (if "if") (parenthesized_expression "(*(int *)(iVar10 + 8) <= local_24)" (( "(") (binary_expression "*(int *)(iVar10 + 8) <= local_24" (pointer_expression "*(int *)(iVar10 + 8)" (* "*") (cast_expression "(int *)(iVar10 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 8)" (( "(") (binary_expression "iVar10 + 8" (identifier "iVar10") (+ "+") (number_literal "8")) () ")")))) (<= "<=") (identifier "local_24")) () ")")) (compound_statement "{\n            iVar6 = *param_2;\n            goto LAB_000dbc43;\n          }" ({ "{") (expression_statement "iVar6 = *param_2;" (assignment_expression "iVar6 = *param_2" (identifier "iVar6") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (goto_statement "goto LAB_000dbc43;" (goto "goto") (statement_identifier "LAB_000dbc43") (; ";")) (} "}"))) (expression_statement "local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);" (assignment_expression "local_28 = *(int *)(iVar10 + 0xc + local_24 * 4)" (identifier "local_28") (= "=") (pointer_expression "*(int *)(iVar10 + 0xc + local_24 * 4)" (* "*") (cast_expression "(int *)(iVar10 + 0xc + local_24 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0xc + local_24 * 4)" (( "(") (binary_expression "iVar10 + 0xc + local_24 * 4" (binary_expression "iVar10 + 0xc" (identifier "iVar10") (+ "+") (number_literal "0xc")) (+ "+") (binary_expression "local_24 * 4" (identifier "local_24") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar6 = *(int *)(local_28 + 0x10);" (assignment_expression "iVar6 = *(int *)(local_28 + 0x10)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(local_28 + 0x10)" (* "*") (cast_expression "(int *)(local_28 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 0x10)" (( "(") (binary_expression "local_28 + 0x10" (identifier "local_28") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (goto_statement "goto LAB_000dba30;" (goto "goto") (statement_identifier "LAB_000dba30") (; ";")) (} "}"))) (labeled_statement "LAB_000dbc43:\n    param_2[1] = 0;" (statement_identifier "LAB_000dbc43") (: ":") (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else {\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }" (else "else") (compound_statement "{\n    if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }\n    iVar10 = param_2[8];\n    iVar7 = 0;\n    iVar8 = 0;\n    if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }\n    if (param_2[1] != 0) {\n      return 0;\n    }\n    iVar6 = *param_2;\n  }" ({ "{") (if_statement "if (param_2[3] == 0) {\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }" (if "if") (parenthesized_expression "(param_2[3] == 0)" (( "(") (binary_expression "param_2[3] == 0" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000dba30:\n      param_2[1] = 1;\n      return 0;\n    }" ({ "{") (labeled_statement "LAB_000dba30:\n      param_2[1] = 1;" (statement_identifier "LAB_000dba30") (: ":") (expression_statement "param_2[1] = 1;" (assignment_expression "param_2[1] = 1" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "1")) (; ";"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar10 = param_2[8];" (assignment_expression "iVar10 = param_2[8]" (identifier "iVar10") (= "=") (subscript_expression "param_2[8]" (identifier "param_2") ([ "[") (number_literal "8") (] "]"))) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_2[7] < 1) {\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }\n    else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }" (if "if") (parenthesized_expression "(param_2[7] < 1)" (( "(") (binary_expression "param_2[7] < 1" (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n    }" ({ "{") (expression_statement "iVar8 = *(int *)(iVar10 + 0x14);" (assignment_expression "iVar8 = *(int *)(iVar10 + 0x14)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar10 + 0x14)" (* "*") (cast_expression "(int *)(iVar10 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x14)" (( "(") (binary_expression "iVar10 + 0x14" (identifier "iVar10") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "param_2[4] = *(int *)(iVar10 + 0x10);" (assignment_expression "param_2[4] = *(int *)(iVar10 + 0x10)" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*(int *)(iVar10 + 0x10)" (* "*") (cast_expression "(int *)(iVar10 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x10)" (( "(") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "param_2[5] = iVar8;" (assignment_expression "param_2[5] = iVar8" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (if_statement "if (iVar6 == 1) {\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }\n      else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" (if "if") (parenthesized_expression "(iVar6 == 1)" (( "(") (binary_expression "iVar6 == 1" (identifier "iVar6") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }\n      }" ({ "{") (if_statement "if (param_2[7] == 0) {\n          param_2[1] = 1;\n        }" (if "if") (parenthesized_expression "(param_2[7] == 0)" (( "(") (binary_expression "param_2[7] == 0" (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          param_2[1] = 1;\n        }" ({ "{") (expression_statement "param_2[1] = 1;" (assignment_expression "param_2[1] = 1" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}"))) (} "}")) (else_clause "else if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" (else "else") (if_statement "if (iVar6 != 2) {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" (if "if") (parenthesized_expression "(iVar6 != 2)" (( "(") (binary_expression "iVar6 != 2" (identifier "iVar6") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" ({ "{") (expression_statement "param_2[1] = *(int *)(iVar10 + 4);" (assignment_expression "param_2[1] = *(int *)(iVar10 + 4)" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "*(int *)(iVar10 + 4)" (* "*") (cast_expression "(int *)(iVar10 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4)" (( "(") (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}"))))) (} "}")) (else_clause "else {\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }" (else "else") (compound_statement "{\n      while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }\n      iVar10 = param_2[8];\n      iVar8 = *(int *)(iVar10 + 0x14);\n      param_2[4] = *(int *)(iVar10 + 0x10);\n      param_2[5] = iVar8;\n      if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }\n      if (iVar5 != 0) {\n        return iVar5;\n      }\n    }" ({ "{") (while_statement "while( true ) {\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        iVar5 = FUN_000db860();\n        iVar6 = param_2[7];\n        iVar7 = iVar7 + *(int *)(iVar10 + 4);\n        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;\n        iVar10 = param_2[iVar8 + 9];\n        iVar8 = iVar8 + 1;\n      }" ({ "{") (expression_statement "iVar5 = FUN_000db860();" (assignment_expression "iVar5 = FUN_000db860()" (identifier "iVar5") (= "=") (call_expression "FUN_000db860()" (identifier "FUN_000db860") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar6 = param_2[7];" (assignment_expression "iVar6 = param_2[7]" (identifier "iVar6") (= "=") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "iVar7 = iVar7 + *(int *)(iVar10 + 4);" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar10 + 4)" (identifier "iVar7") (= "=") (binary_expression "iVar7 + *(int *)(iVar10 + 4)" (identifier "iVar7") (+ "+") (pointer_expression "*(int *)(iVar10 + 4)" (* "*") (cast_expression "(int *)(iVar10 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4)" (( "(") (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) () ")")))))) (; ";")) (if_statement "if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;" (if "if") (parenthesized_expression "((iVar6 <= iVar8 + 1) || (iVar5 != 0))" (( "(") (binary_expression "(iVar6 <= iVar8 + 1) || (iVar5 != 0)" (parenthesized_expression "(iVar6 <= iVar8 + 1)" (( "(") (binary_expression "iVar6 <= iVar8 + 1" (identifier "iVar6") (<= "<=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) () ")")) (|| "||") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar10 = param_2[iVar8 + 9];" (assignment_expression "iVar10 = param_2[iVar8 + 9]" (identifier "iVar10") (= "=") (subscript_expression "param_2[iVar8 + 9]" (identifier "param_2") ([ "[") (binary_expression "iVar8 + 9" (identifier "iVar8") (+ "+") (number_literal "9")) (] "]"))) (; ";")) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar10 = param_2[8];" (assignment_expression "iVar10 = param_2[8]" (identifier "iVar10") (= "=") (subscript_expression "param_2[8]" (identifier "param_2") ([ "[") (number_literal "8") (] "]"))) (; ";")) (expression_statement "iVar8 = *(int *)(iVar10 + 0x14);" (assignment_expression "iVar8 = *(int *)(iVar10 + 0x14)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar10 + 0x14)" (* "*") (cast_expression "(int *)(iVar10 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x14)" (( "(") (binary_expression "iVar10 + 0x14" (identifier "iVar10") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "param_2[4] = *(int *)(iVar10 + 0x10);" (assignment_expression "param_2[4] = *(int *)(iVar10 + 0x10)" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (= "=") (pointer_expression "*(int *)(iVar10 + 0x10)" (* "*") (cast_expression "(int *)(iVar10 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x10)" (( "(") (binary_expression "iVar10 + 0x10" (identifier "iVar10") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "param_2[5] = iVar8;" (assignment_expression "param_2[5] = iVar8" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (if_statement "if (*param_2 == 1) {\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }\n      else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" (if "if") (parenthesized_expression "(*param_2 == 1)" (( "(") (binary_expression "*param_2 == 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }\n      }" ({ "{") (if_statement "if (iVar6 == iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }" (if "if") (parenthesized_expression "(iVar6 == iVar7)" (( "(") (binary_expression "iVar6 == iVar7" (identifier "iVar6") (== "==") (identifier "iVar7")) () ")")) (compound_statement "{\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }\n        }" ({ "{") (expression_statement "param_2[1] = 1;" (assignment_expression "param_2[1] = 1" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < param_2[7]) {\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }" (if "if") (parenthesized_expression "(0 < param_2[7])" (( "(") (binary_expression "0 < param_2[7]" (number_literal "0") (< "<") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]"))) () ")")) (compound_statement "{\n            iVar6 = 0;\n            do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);\n          }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            } while (iVar6 < param_2[7]);" (do "do") (compound_statement "{\n              iVar6 = iVar6 + 1;\n              FUN_0001fa60();\n              iVar5 = extraout_ECX_01;\n            }" ({ "{") (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_0001fa60();" (call_expression "FUN_0001fa60()" (identifier "FUN_0001fa60") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar5 = extraout_ECX_01;" (assignment_expression "iVar5 = extraout_ECX_01" (identifier "iVar5") (= "=") (identifier "extraout_ECX_01")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 < param_2[7])" (( "(") (binary_expression "iVar6 < param_2[7]" (identifier "iVar6") (< "<") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]"))) () ")")) (; ";")) (} "}"))) (} "}"))) (} "}")) (else_clause "else if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" (else "else") (if_statement "if (*param_2 == 2) {\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }\n      else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" (if "if") (parenthesized_expression "(*param_2 == 2)" (( "(") (binary_expression "*param_2 == 2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }\n      }" ({ "{") (if_statement "if (0 < iVar7) {\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }" (if "if") (parenthesized_expression "(0 < iVar7)" (( "(") (binary_expression "0 < iVar7" (number_literal "0") (< "<") (identifier "iVar7")) () ")")) (compound_statement "{\n          param_2[1] = 1;\n          param_2[2] = 0;\n          if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }\n        }" ({ "{") (expression_statement "param_2[1] = 1;" (assignment_expression "param_2[1] = 1" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "param_2[2] = 0;" (assignment_expression "param_2[2] = 0" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < iVar6) {\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }" (if "if") (parenthesized_expression "(0 < iVar6)" (( "(") (binary_expression "0 < iVar6" (number_literal "0") (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n            FUN_0001fa60();\n            iVar6 = 1;\n            iVar5 = extraout_ECX;\n            if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }\n          }" ({ "{") (expression_statement "FUN_0001fa60();" (call_expression "FUN_0001fa60()" (identifier "FUN_0001fa60") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" (identifier "iVar6") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar5 = extraout_ECX;" (assignment_expression "iVar5 = extraout_ECX" (identifier "iVar5") (= "=") (identifier "extraout_ECX")) (; ";")) (if_statement "if (1 < param_2[7]) {\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }" (if "if") (parenthesized_expression "(1 < param_2[7])" (( "(") (binary_expression "1 < param_2[7]" (number_literal "1") (< "<") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]"))) () ")")) (compound_statement "{\n              do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);\n            }" ({ "{") (do_statement "do {\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              } while (iVar6 < param_2[7]);" (do "do") (compound_statement "{\n                iVar6 = iVar6 + 1;\n                FUN_0001fa60();\n                iVar5 = extraout_ECX_00;\n              }" ({ "{") (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_0001fa60();" (call_expression "FUN_0001fa60()" (identifier "FUN_0001fa60") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar5 = extraout_ECX_00;" (assignment_expression "iVar5 = extraout_ECX_00" (identifier "iVar5") (= "=") (identifier "extraout_ECX_00")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 < param_2[7])" (( "(") (binary_expression "iVar6 < param_2[7]" (identifier "iVar6") (< "<") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]"))) () ")")) (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}")) (else_clause "else {\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" (else "else") (compound_statement "{\n        param_2[1] = *(int *)(iVar10 + 4);\n      }" ({ "{") (expression_statement "param_2[1] = *(int *)(iVar10 + 4);" (assignment_expression "param_2[1] = *(int *)(iVar10 + 4)" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "*(int *)(iVar10 + 4)" (* "*") (cast_expression "(int *)(iVar10 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4)" (( "(") (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}")))))) (if_statement "if (iVar5 != 0) {\n        return iVar5;\n      }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return iVar5;\n      }" ({ "{") (return_statement "return iVar5;" (return "return") (identifier "iVar5") (; ";")) (} "}"))) (} "}")))) (if_statement "if (param_2[1] != 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(param_2[1] != 0)" (( "(") (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar6 = *param_2;" (assignment_expression "iVar6 = *param_2" (identifier "iVar6") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (} "}")))) (if_statement "if (iVar6 == 2) {\n    iVar6 = FUN_000327d0();\n    return iVar6;\n  }" (if "if") (parenthesized_expression "(iVar6 == 2)" (( "(") (binary_expression "iVar6 == 2" (identifier "iVar6") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    iVar6 = FUN_000327d0();\n    return iVar6;\n  }" ({ "{") (expression_statement "iVar6 = FUN_000327d0();" (assignment_expression "iVar6 = FUN_000327d0()" (identifier "iVar6") (= "=") (call_expression "FUN_000327d0()" (identifier "FUN_000327d0") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar6;" (return "return") (identifier "iVar6") (; ";")) (} "}"))) (if_statement "if (iVar6 < 3) {\n    if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }\n  }\n  else {\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }" (if "if") (parenthesized_expression "(iVar6 < 3)" (( "(") (binary_expression "iVar6 < 3" (identifier "iVar6") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n    if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }\n  }" ({ "{") (if_statement "if (iVar6 == 1) {\n      FUN_00032a40();\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar6 == 1)" (( "(") (binary_expression "iVar6 == 1" (identifier "iVar6") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      FUN_00032a40();\n      return 0;\n    }" ({ "{") (expression_statement "FUN_00032a40();" (call_expression "FUN_00032a40()" (identifier "FUN_00032a40") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }" (else "else") (compound_statement "{\n    if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }\n    if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }\n  }" ({ "{") (if_statement "if (iVar6 == 4) {\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar6 == 4)" (( "(") (binary_expression "iVar6 == 4" (identifier "iVar6") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n      iVar6 = *(int *)(param_2[6] + 0xc);\n      piVar2 = *(int **)(iVar6 + 0x1c);\n      *(int *)(iVar6 + 8) = piVar2[3];\n      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }\n      iVar10 = *piVar2;\n      param_2[5] = piVar2[1];\n      param_2[4] = iVar10;\n      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);\n      return 0;\n    }" ({ "{") (expression_statement "iVar6 = *(int *)(param_2[6] + 0xc);" (assignment_expression "iVar6 = *(int *)(param_2[6] + 0xc)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_2[6] + 0xc)" (* "*") (cast_expression "(int *)(param_2[6] + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[6] + 0xc)" (( "(") (binary_expression "param_2[6] + 0xc" (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "piVar2 = *(int **)(iVar6 + 0x1c);" (assignment_expression "piVar2 = *(int **)(iVar6 + 0x1c)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(iVar6 + 0x1c)" (* "*") (cast_expression "(int **)(iVar6 + 0x1c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 0x1c)" (( "(") (binary_expression "iVar6 + 0x1c" (identifier "iVar6") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "*(int *)(iVar6 + 8) = piVar2[3];" (assignment_expression "*(int *)(iVar6 + 8) = piVar2[3]" (pointer_expression "*(int *)(iVar6 + 8)" (* "*") (cast_expression "(int *)(iVar6 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 8)" (( "(") (binary_expression "iVar6 + 8" (identifier "iVar6") (+ "+") (number_literal "8")) () ")")))) (= "=") (subscript_expression "piVar2[3]" (identifier "piVar2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }" (if "if") (parenthesized_expression "(*(int *)(*(int *)(param_1 + 4) + 0x30) == 0)" (( "(") (binary_expression "*(int *)(*(int *)(param_1 + 4) + 0x30) == 0" (pointer_expression "*(int *)(*(int *)(param_1 + 4) + 0x30)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 4) + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 4) + 0x30)" (( "(") (binary_expression "*(int *)(param_1 + 4) + 0x30" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x30")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        *(int *)(iVar6 + 4) = piVar2[2];\n      }" ({ "{") (expression_statement "*(int *)(iVar6 + 4) = piVar2[2];" (assignment_expression "*(int *)(iVar6 + 4) = piVar2[2]" (pointer_expression "*(int *)(iVar6 + 4)" (* "*") (cast_expression "(int *)(iVar6 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")")))) (= "=") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}"))) (expression_statement "iVar10 = *piVar2;" (assignment_expression "iVar10 = *piVar2" (identifier "iVar10") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (expression_statement "param_2[5] = piVar2[1];" (assignment_expression "param_2[5] = piVar2[1]" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (= "=") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_2[4] = iVar10;" (assignment_expression "param_2[4] = iVar10" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);" (assignment_expression "param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0)" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (call_expression "(uint)(*(int *)(iVar6 + 8) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(iVar6 + 8) == 0)" (( "(") (binary_expression "*(int *)(iVar6 + 8) == 0" (pointer_expression "*(int *)(iVar6 + 8)" (* "*") (cast_expression "(int *)(iVar6 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 8)" (( "(") (binary_expression "iVar6 + 8" (identifier "iVar6") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (iVar6 == 9) {\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }" (if "if") (parenthesized_expression "(iVar6 == 9)" (( "(") (binary_expression "iVar6 == 9" (identifier "iVar6") (== "==") (number_literal "9")) () ")")) (compound_statement "{\n      iVar6 = FUN_000d7e20();\n      return iVar6;\n    }" ({ "{") (expression_statement "iVar6 = FUN_000d7e20();" (assignment_expression "iVar6 = FUN_000d7e20()" (identifier "iVar6") (= "=") (call_expression "FUN_000d7e20()" (identifier "FUN_000d7e20") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar6;" (return "return") (identifier "iVar6") (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar6 = FUN_00032bb0();" (assignment_expression "iVar6 = FUN_00032bb0()" (identifier "iVar6") (= "=") (call_expression "FUN_00032bb0()" (identifier "FUN_00032bb0") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar6;" (return "return") (identifier "iVar6") (; ";")) (} "}")))

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

int __regparm2 function_1(type_1 *pExpr,type_2 *pNode)

{
  type_3 **ppFVar1;
  type_2 **ppFVar2;
  type_4 *pFVar3;
  type_5 *nToken;
  type_6 uVar4;
  type_7 *pFVar5;
  type_3 *pFVar6;
  bool bVar7;
  bool bVar8;
  type_8 iVar9;
  int var_9;
  char *pToken;
  int var_1;
  int extraout_ECX;
  int extraout_ECX_00;
  int extraout_ECX_01;
  int var_10;
  int var_11;
  type_9 *var_5;
  type_2 *pFVar15;
  type_1 *in_stack_00000004;
  type_2 *in_stack_00000008;
  type_5 *in_stack_ffffffb0;
  type_3 **in_stack_ffffffb4;
  type_9 *var_7;
  int var_6;
  type_7 *local_28;
  int var_8;
  
  pNode->bEof = 0;
  pNode->bNomatch = 0;
  var_1 = pNode->eType;
  if ((var_1 == 4) || (var_1 == 9)) {
    pFVar3 = pNode->pNear;
    if (0 < pFVar3->nPhrase) {
      local_28 = pFVar3->apPhrase[0];
      var_1 = local_28->nTerm;
      if (var_1 != 0) {
        var_8 = 0;
        do {
          var_6 = 0;
          var_7 = local_28->aTerm;
          if (0 < var_1) {
            do {
              var_5 = var_7;
              bVar8 = false;
              do {
                if (var_5->pIter != (type_3 *)0x0) {
                  in_stack_ffffffb0 = (type_5 *)0xdb94c;
                  var_2(var_5->pIter);
                  var_5->pIter = (type_3 *)0x0;
                }
                nToken = pFVar3->pColset;
                pToken = (char *)(type_10)(var_7->bPrefix != '\0');
                if (pExpr->bDesc != 0) {
                  pToken = (char *)((type_10)pToken | 2);
                }
                var_3(var_5->zTerm);
                var_1 = var_4
                                   (pExpr->pIndex,pToken,(int)nToken,(int)&var_5->pIter,
                                    in_stack_ffffffb0,in_stack_ffffffb4);
                if (var_1 != 0) {
                  return var_1;
                }
                ppFVar1 = &var_5->pIter;
                var_5 = var_5->pSynonym;
                bVar7 = true;
                if ((*ppFVar1)->bEof != '\0') {
                  bVar7 = bVar8;
                }
                bVar8 = bVar7;
              } while (var_5 != (type_9 *)0x0);
              if (!bVar7) goto LAB_000dba30;
              var_6 = var_6 + 1;
              var_7 = var_7 + 1;
            } while (var_6 < local_28->nTerm);
          }
          if (pFVar3->nPhrase <= var_8 + 1) {
            var_1 = pNode->eType;
            goto LAB_000dbc43;
          }
          local_28 = pFVar3[1].apPhrase[var_8 + -3];
          var_1 = local_28->nTerm;
          var_8 = var_8 + 1;
        } while (var_1 != 0);
      }
      goto LAB_000dba30;
    }
LAB_000dbc43:
    pNode->bEof = 0;
  }
  else {
    if (pNode->xNext == (type_11 *)0x0) {
LAB_000dba30:
      pNode->bEof = 1;
      return 0;
    }
    var_9 = pNode->nChild;
    pFVar15 = pNode->apChild[0];
    var_10 = 0;
    var_11 = 0;
    if (var_9 < 1) {
      uVar4 = *(type_6 *)((int)&pFVar15->iRowid + 4);
      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;
      *(type_6 *)((int)&pNode->iRowid + 4) = uVar4;
      if (var_1 == 1) {
        if (var_9 == 0) {
          pNode->bEof = 1;
        }
      }
      else if (var_1 != 2) {
        pNode->bEof = pFVar15->bEof;
      }
    }
    else {
      while( true ) {
        var_9 = function_1(pExpr,pFVar15);
        var_1 = pNode->nChild;
        var_10 = var_10 + pFVar15->bEof;
        if ((var_1 <= var_11 + 1) || (var_9 != 0)) break;
        pFVar15 = pNode[1].apChild[var_11 + -8];
        var_11 = var_11 + 1;
      }
      pFVar15 = pNode->apChild[0];
      var_11 = pNode->eType;
      uVar4 = *(type_6 *)((int)&pFVar15->iRowid + 4);
      *(int *)&pNode->iRowid = (int)pFVar15->iRowid;
      *(type_6 *)((int)&pNode->iRowid + 4) = uVar4;
      if (var_11 == 1) {
        if (var_1 == var_10) {
          pNode->bEof = 1;
          pNode->bNomatch = 0;
          if (0 < pNode->nChild) {
            var_1 = 0;
            do {
              ppFVar2 = pNode->apChild + var_1;
              var_1 = var_1 + 1;
              var_12(*ppFVar2);
              var_9 = extraout_ECX_01;
            } while (var_1 < pNode->nChild);
          }
        }
      }
      else if (var_11 == 2) {
        if (0 < var_10) {
          pNode->bEof = 1;
          pNode->bNomatch = 0;
          if (0 < var_1) {
            var_12(pFVar15);
            var_1 = 1;
            var_9 = extraout_ECX;
            if (1 < pNode->nChild) {
              do {
                ppFVar2 = pNode->apChild + var_1;
                var_1 = var_1 + 1;
                var_12(*ppFVar2);
                var_9 = extraout_ECX_00;
              } while (var_1 < pNode->nChild);
            }
          }
        }
      }
      else {
        pNode->bEof = pFVar15->bEof;
      }
      if (var_9 != 0) {
        return var_9;
      }
    }
    if (pNode->bEof != 0) {
      return 0;
    }
    var_1 = pNode->eType;
  }
  if (var_1 == 2) {
    var_1 = var_13(pExpr,pNode);
    return var_1;
  }
  if (var_1 < 3) {
    if (var_1 == 1) {
      var_14(pExpr,pNode);
      return 0;
    }
  }
  else {
    if (var_1 == 4) {
      pFVar5 = pNode->pNear->apPhrase[0];
      pFVar6 = pFVar5->aTerm[0].pIter;
      (pFVar5->poslist).n = pFVar6->nData;
      if (pExpr->pConfig->eDetail == 0) {
        (pFVar5->poslist).p = pFVar6->pData;
      }
      iVar9 = pFVar6->iRowid;
      *(type_6 *)((int)&pNode->iRowid + 4) = *(type_6 *)((int)&pFVar6->iRowid + 4);
      *(int *)&pNode->iRowid = (int)iVar9;
      pNode->bNomatch = (type_10)((pFVar5->poslist).n == 0);
      return 0;
    }
    if (var_1 == 9) {
      var_1 = var_15(in_stack_00000004,in_stack_00000008);
      return var_1;
    }
  }
  var_1 = var_16(pExpr,pNode);
  return var_1;
}


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

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

int __regparm3 MASKED(int param_1,int *param_2)

{
  undefined4 uVar1;
  int *piVar2;
  bool bVar3;
  bool bVar4;
  int iVar5;
  int iVar6;
  int extraout_ECX;
  int extraout_ECX_00;
  int extraout_ECX_01;
  int iVar7;
  int iVar8;
  char *pcVar9;
  int iVar10;
  byte bVar11;
  char *local_34;
  int local_2c;
  int local_28;
  int local_24;
  
  param_2[1] = 0;
  param_2[2] = 0;
  iVar6 = *param_2;
  if ((iVar6 == 4) || (iVar6 == 9)) {
    iVar10 = param_2[6];
    if (0 < *(int *)(iVar10 + 8)) {
      local_28 = *(int *)(iVar10 + 0xc);
      iVar6 = *(int *)(local_28 + 0x10);
      if (iVar6 != 0) {
        local_24 = 0;
        do {
          local_2c = 0;
          local_34 = (char *)(local_28 + 0x14);
          if (0 < iVar6) {
            do {
              pcVar9 = local_34;
              bVar4 = false;
              do {
                if (*(int *)(pcVar9 + 8) != 0) {
                  FUN_00089dc0();
                  pcVar9[8] = '\0';
                  pcVar9[9] = '\0';
                  pcVar9[10] = '\0';
                  pcVar9[0xb] = '\0';
                }
                uVar1 = *(undefined4 *)(iVar10 + 4);
                bVar11 = *local_34 != '\0';
                if (*(int *)(param_1 + 0xc) != 0) {
                  bVar11 = bVar11 | 2;
                }
                strlen(*(char **)(pcVar9 + 4));
                iVar6 = FUN_000dadf0(bVar11,uVar1,pcVar9 + 8);
                if (iVar6 != 0) {
                  return iVar6;
                }
                piVar2 = (int *)(pcVar9 + 8);
                pcVar9 = *(char **)(pcVar9 + 0xc);
                bVar3 = true;
                if (*(char *)(*piVar2 + 0x10) != '\0') {
                  bVar3 = bVar4;
                }
                bVar4 = bVar3;
              } while (pcVar9 != (char *)0x0);
              if (!bVar3) goto LAB_000dba30;
              local_2c = local_2c + 1;
              local_34 = local_34 + 0x10;
            } while (local_2c < *(int *)(local_28 + 0x10));
          }
          local_24 = local_24 + 1;
          if (*(int *)(iVar10 + 8) <= local_24) {
            iVar6 = *param_2;
            goto LAB_000dbc43;
          }
          local_28 = *(int *)(iVar10 + 0xc + local_24 * 4);
          iVar6 = *(int *)(local_28 + 0x10);
        } while (iVar6 != 0);
      }
      goto LAB_000dba30;
    }
LAB_000dbc43:
    param_2[1] = 0;
  }
  else {
    if (param_2[3] == 0) {
LAB_000dba30:
      param_2[1] = 1;
      return 0;
    }
    iVar10 = param_2[8];
    iVar7 = 0;
    iVar8 = 0;
    if (param_2[7] < 1) {
      iVar8 = *(int *)(iVar10 + 0x14);
      param_2[4] = *(int *)(iVar10 + 0x10);
      param_2[5] = iVar8;
      if (iVar6 == 1) {
        if (param_2[7] == 0) {
          param_2[1] = 1;
        }
      }
      else if (iVar6 != 2) {
        param_2[1] = *(int *)(iVar10 + 4);
      }
    }
    else {
      while( true ) {
        iVar5 = MASKED();
        iVar6 = param_2[7];
        iVar7 = iVar7 + *(int *)(iVar10 + 4);
        if ((iVar6 <= iVar8 + 1) || (iVar5 != 0)) break;
        iVar10 = param_2[iVar8 + 9];
        iVar8 = iVar8 + 1;
      }
      iVar10 = param_2[8];
      iVar8 = *(int *)(iVar10 + 0x14);
      param_2[4] = *(int *)(iVar10 + 0x10);
      param_2[5] = iVar8;
      if (*param_2 == 1) {
        if (iVar6 == iVar7) {
          param_2[1] = 1;
          param_2[2] = 0;
          if (0 < param_2[7]) {
            iVar6 = 0;
            do {
              iVar6 = iVar6 + 1;
              FUN_0001fa60();
              iVar5 = extraout_ECX_01;
            } while (iVar6 < param_2[7]);
          }
        }
      }
      else if (*param_2 == 2) {
        if (0 < iVar7) {
          param_2[1] = 1;
          param_2[2] = 0;
          if (0 < iVar6) {
            FUN_0001fa60();
            iVar6 = 1;
            iVar5 = extraout_ECX;
            if (1 < param_2[7]) {
              do {
                iVar6 = iVar6 + 1;
                FUN_0001fa60();
                iVar5 = extraout_ECX_00;
              } while (iVar6 < param_2[7]);
            }
          }
        }
      }
      else {
        param_2[1] = *(int *)(iVar10 + 4);
      }
      if (iVar5 != 0) {
        return iVar5;
      }
    }
    if (param_2[1] != 0) {
      return 0;
    }
    iVar6 = *param_2;
  }
  if (iVar6 == 2) {
    iVar6 = FUN_000327d0();
    return iVar6;
  }
  if (iVar6 < 3) {
    if (iVar6 == 1) {
      FUN_00032a40();
      return 0;
    }
  }
  else {
    if (iVar6 == 4) {
      iVar6 = *(int *)(param_2[6] + 0xc);
      piVar2 = *(int **)(iVar6 + 0x1c);
      *(int *)(iVar6 + 8) = piVar2[3];
      if (*(int *)(*(int *)(param_1 + 4) + 0x30) == 0) {
        *(int *)(iVar6 + 4) = piVar2[2];
      }
      iVar10 = *piVar2;
      param_2[5] = piVar2[1];
      param_2[4] = iVar10;
      param_2[2] = (uint)(*(int *)(iVar6 + 8) == 0);
      return 0;
    }
    if (iVar6 == 9) {
      iVar6 = FUN_000d7e20();
      return iVar6;
    }
  }
  iVar6 = FUN_00032bb0();
  return iVar6;
}

