
int fts5ExprNodeNext_STRING(Fts5Expr *pExpr,Fts5ExprNode *pNode,int bFromValid,i64 iFrom)

{
  Fts5ExprPhrase *pFVar1;
  Fts5ExprTerm *pFVar2;
  long lVar3;
  Fts5Iter *pFVar4;
  bool bVar5;
  int iVar6;
  Fts5ExprTerm *pFVar7;
  Fts5ExprTerm *pFVar8;
  Fts5ExprTerm *pFVar9;
  Fts5Index *p;
  long lVar10;
  uint uVar11;
  
  pFVar1 = pNode->pNear->apPhrase[0];
  pNode->bNomatch = 0;
  pFVar2 = pFVar1->aTerm[0].pSynonym;
  if (pFVar2 == (Fts5ExprTerm *)0x0) {
    pFVar4 = (Fts5Iter *)pFVar1->aTerm[0].pIter;
    if (bFromValid == 0) {
      fts5MultiIterNext(pFVar4->pIndex,pFVar4,0,0);
      iVar6 = pFVar4->pIndex->rc;
      pFVar4->pIndex->rc = 0;
    }
    else {
      fts5MultiIterNextFrom(pFVar4->pIndex,pFVar4,iFrom);
      iVar6 = pFVar4->pIndex->rc;
      pFVar4->pIndex->rc = 0;
    }
    if (iVar6 != 0) {
      pNode->bEof = 1;
      return iVar6;
    }
    uVar11 = (uint)((pFVar4->base).bEof != '\0');
  }
  else {
    pFVar9 = pFVar1->aTerm;
    lVar10 = 0;
    bVar5 = false;
    pFVar8 = pFVar9;
    while( true ) {
      pFVar7 = pFVar2;
      if (pFVar8->pIter->bEof == '\0') {
        lVar3 = pFVar8->pIter->iRowid;
        if (bVar5) {
          if (pExpr->bDesc != (uint)(lVar3 < lVar10)) {
            lVar10 = lVar3;
          }
        }
        else {
          bVar5 = true;
          lVar10 = lVar3;
        }
      }
      if (pFVar7 == (Fts5ExprTerm *)0x0) break;
      pFVar2 = pFVar7->pSynonym;
      pFVar8 = pFVar7;
    }
    uVar11 = 1;
LAB_001cd601:
    do {
      pFVar4 = (Fts5Iter *)pFVar9->pIter;
      if ((pFVar4->base).bEof == '\0') {
        lVar3 = (pFVar4->base).iRowid;
        if (lVar3 == lVar10) {
          p = pFVar4->pIndex;
          if (bFromValid == 0) {
            fts5MultiIterNext(p,pFVar4,0,0);
            iVar6 = pFVar4->pIndex->rc;
            pFVar4->pIndex->rc = 0;
          }
          else {
LAB_001cd684:
            fts5MultiIterNextFrom(p,pFVar4,iFrom);
            iVar6 = pFVar4->pIndex->rc;
            pFVar4->pIndex->rc = 0;
          }
          if (iVar6 != 0) {
            pNode->bEof = 1;
            return iVar6;
          }
          if (pFVar9->pIter->bEof != '\0') {
            pFVar9 = pFVar9->pSynonym;
            if (pFVar9 == (Fts5ExprTerm *)0x0) break;
            goto LAB_001cd601;
          }
        }
        else if (((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))
        {
          p = pFVar4->pIndex;
          goto LAB_001cd684;
        }
        uVar11 = 0;
      }
      pFVar9 = pFVar9->pSynonym;
    } while (pFVar9 != (Fts5ExprTerm *)0x0);
  }
  pNode->bEof = uVar11;
  if (uVar11 != 0) {
    return 0;
  }
  iVar6 = fts5ExprNodeTest_STRING(pExpr,pNode);
  return iVar6;
}



ulong FUN_001cd540(long param_1,long param_2,int param_3,long param_4)

{
  uint uVar1;
  long *plVar2;
  bool bVar3;
  long lVar4;
  ulong uVar5;
  long lVar6;
  long lVar7;
  long lVar8;
  long lVar9;
  uint uVar10;
  
  lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18);
  *(undefined4 *)(param_2 + 8) = 0;
  if (*(long *)(lVar8 + 0x38) == 0) {
    lVar8 = *(long *)(lVar8 + 0x30);
    if (param_3 == 0) {
      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);
      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);
      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;
    }
    else {
      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);
      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);
      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;
    }
    uVar5 = (ulong)uVar10;
    if (uVar10 != 0) {
      *(undefined4 *)(param_2 + 4) = 1;
      return uVar5;
    }
    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');
  }
  else {
    lVar7 = lVar8 + 0x20;
    lVar9 = 0;
    bVar3 = false;
    lVar8 = *(long *)(lVar8 + 0x38);
    lVar6 = lVar7;
    while( true ) {
      lVar4 = lVar8;
      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {
        lVar8 = **(long **)(lVar6 + 0x10);
        if (bVar3) {
          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {
            lVar9 = lVar8;
          }
        }
        else {
          bVar3 = true;
          lVar9 = lVar8;
        }
      }
      if (lVar4 == 0) break;
      lVar8 = *(long *)(lVar4 + 0x18);
      lVar6 = lVar4;
    }
    uVar10 = 1;
LAB_001cd601:
    do {
      plVar2 = *(long **)(lVar7 + 0x10);
      if (*(char *)((long)plVar2 + 0x14) == '\0') {
        lVar8 = *plVar2;
        if (lVar8 == lVar9) {
          lVar8 = plVar2[3];
          if (param_3 == 0) {
            FUN_001cc520(lVar8,plVar2,0,0);
            uVar1 = *(uint *)(plVar2[3] + 0x34);
            *(undefined4 *)(plVar2[3] + 0x34) = 0;
          }
          else {
LAB_001cd684:
            FUN_001cca20(lVar8,plVar2,param_4);
            uVar1 = *(uint *)(plVar2[3] + 0x34);
            *(undefined4 *)(plVar2[3] + 0x34) = 0;
          }
          if (uVar1 != 0) {
            *(undefined4 *)(param_2 + 4) = 1;
            return (ulong)uVar1;
          }
          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {
            lVar7 = *(long *)(lVar7 + 0x18);
            if (lVar7 == 0) break;
            goto LAB_001cd601;
          }
        }
        else if (((param_3 != 0) && (lVar8 != param_4)) &&
                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {
          lVar8 = plVar2[3];
          goto LAB_001cd684;
        }
        uVar10 = 0;
      }
      lVar7 = *(long *)(lVar7 + 0x18);
    } while (lVar7 != 0);
    uVar5 = 0;
  }
  *(uint *)(param_2 + 4) = uVar10;
  if (uVar10 != 0) {
    return uVar5;
  }
  uVar5 = FUN_001cca90(param_1,param_2);
  return uVar5;
}


PUSH R15
MOV R15,RSI
PUSH R14
MOV R14D,EDX
PUSH R13
MOV R13,RCX
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x18
MOV RAX,qword ptr [RSI + 0x20]
MOV qword ptr [RSP],RDI
MOV RBX,qword ptr [RAX + 0x18]
MOV dword ptr [RSI + 0x8],0x0
MOV RAX,qword ptr [RBX + 0x38]
TEST RAX,RAX
JZ 0x001cd6d8
ADD RBX,0x20
MOV EDI,dword ptr [RDI + 0x18]
XOR R8D,R8D
XOR ECX,ECX
MOV RDX,RBX
JMP 0x001cd5ab
XOR ESI,ESI
CMP RDX,R8
SETL SIL
CMP EDI,ESI
CMOVNZ R8,RDX
TEST RAX,RAX
JZ 0x001cd5c9
MOV RDX,RAX
MOV RAX,qword ptr [RAX + 0x18]
MOV RDX,qword ptr [RDX + 0x10]
CMP byte ptr [RDX + 0x14],0x0
JNZ 0x001cd59f
MOV RDX,qword ptr [RDX]
TEST ECX,ECX
JNZ 0x001cd590
MOV R8,RDX
MOV ECX,0x1
TEST RAX,RAX
JNZ 0x001cd5a4
MOV R12D,0x1
JMP 0x001cd601
TEST R14D,R14D
JZ 0x001cd5f5
CMP RAX,R13
JZ 0x001cd5f5
MOV RSI,qword ptr [RSP]
SETG AL
MOVZX EAX,AL
CMP EAX,dword ptr [RSI + 0x18]
JZ 0x001cd680
XOR R12D,R12D
MOV RBX,qword ptr [RBX + 0x18]
TEST RBX,RBX
JZ 0x001cd660
MOV RBP,qword ptr [RBX + 0x10]
CMP byte ptr [RBP + 0x14],0x0
JNZ 0x001cd5f8
MOV RAX,qword ptr [RBP]
CMP RAX,R8
JNZ 0x001cd5d8
MOV RDI,qword ptr [RBP + 0x18]
TEST R14D,R14D
JNZ 0x001cd684
XOR EDX,EDX
XOR ECX,ECX
MOV RSI,RBP
MOV qword ptr [RSP + 0x8],R8
CALL 0x001cc520
MOV RDX,qword ptr [RBP + 0x18]
MOV EAX,dword ptr [RDX + 0x34]
MOV dword ptr [RDX + 0x34],0x0
MOV R8,qword ptr [RSP + 0x8]
TEST EAX,EAX
JNZ 0x001cd6ab
MOV RAX,qword ptr [RBX + 0x10]
CMP byte ptr [RAX + 0x14],0x0
JZ 0x001cd5f5
MOV RBX,qword ptr [RBX + 0x18]
TEST RBX,RBX
JNZ 0x001cd601
NOP dword ptr [RAX + RAX*0x1]
XOR EAX,EAX
MOV dword ptr [R15 + 0x4],R12D
TEST R12D,R12D
JZ 0x001cd6ba
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RDI,qword ptr [RBP + 0x18]
MOV RDX,R13
MOV RSI,RBP
MOV qword ptr [RSP + 0x8],R8
CALL 0x001cca20
MOV RDX,qword ptr [RBP + 0x18]
MOV EAX,dword ptr [RDX + 0x34]
MOV dword ptr [RDX + 0x34],0x0
MOV R8,qword ptr [RSP + 0x8]
TEST EAX,EAX
JZ 0x001cd645
MOV R12D,0x1
MOV dword ptr [R15 + 0x4],R12D
TEST R12D,R12D
JNZ 0x001cd66b
MOV RDI,qword ptr [RSP]
ADD RSP,0x18
MOV RSI,R15
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
JMP 0x001cca90
MOV RBX,qword ptr [RBX + 0x30]
MOV RDI,qword ptr [RBX + 0x18]
TEST EDX,EDX
JNZ 0x001cd720
XOR EDX,EDX
XOR ECX,ECX
MOV RSI,RBX
CALL 0x001cc520
MOV RDX,qword ptr [RBX + 0x18]
MOV EAX,dword ptr [RDX + 0x34]
MOV dword ptr [RDX + 0x34],0x0
TEST EAX,EAX
JZ 0x001cd73d
MOV dword ptr [R15 + 0x4],0x1
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RDX,RCX
MOV RSI,RBX
CALL 0x001cca20
MOV RDX,qword ptr [RBX + 0x18]
MOV EAX,dword ptr [RDX + 0x34]
MOV dword ptr [RDX + 0x34],0x0
TEST EAX,EAX
JNZ 0x001cd702
XOR R12D,R12D
CMP byte ptr [RBX + 0x14],0x0
SETNZ R12B
JMP 0x001cd662
(translation_unit "ulong FUN_001cd540(long param_1,long param_2,int param_3,long param_4)\n\n{\n  uint uVar1;\n  long *plVar2;\n  bool bVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  uint uVar10;\n  \n  lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18);\n  *(undefined4 *)(param_2 + 8) = 0;\n  if (*(long *)(lVar8 + 0x38) == 0) {\n    lVar8 = *(long *)(lVar8 + 0x30);\n    if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    uVar5 = (ulong)uVar10;\n    if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }\n    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');\n  }\n  else {\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }\n  *(uint *)(param_2 + 4) = uVar10;\n  if (uVar10 != 0) {\n    return uVar5;\n  }\n  uVar5 = FUN_001cca90(param_1,param_2);\n  return uVar5;\n}\n\n" (function_definition "ulong FUN_001cd540(long param_1,long param_2,int param_3,long param_4)\n\n{\n  uint uVar1;\n  long *plVar2;\n  bool bVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  uint uVar10;\n  \n  lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18);\n  *(undefined4 *)(param_2 + 8) = 0;\n  if (*(long *)(lVar8 + 0x38) == 0) {\n    lVar8 = *(long *)(lVar8 + 0x30);\n    if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    uVar5 = (ulong)uVar10;\n    if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }\n    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');\n  }\n  else {\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }\n  *(uint *)(param_2 + 4) = uVar10;\n  if (uVar10 != 0) {\n    return uVar5;\n  }\n  uVar5 = FUN_001cca90(param_1,param_2);\n  return uVar5;\n}" type_identifier (function_declarator "FUN_001cd540(long param_1,long param_2,int param_3,long param_4)" identifier (parameter_list "(long param_1,long param_2,int param_3,long param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  uint uVar1;\n  long *plVar2;\n  bool bVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  uint uVar10;\n  \n  lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18);\n  *(undefined4 *)(param_2 + 8) = 0;\n  if (*(long *)(lVar8 + 0x38) == 0) {\n    lVar8 = *(long *)(lVar8 + 0x30);\n    if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    uVar5 = (ulong)uVar10;\n    if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }\n    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');\n  }\n  else {\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }\n  *(uint *)(param_2 + 4) = uVar10;\n  if (uVar10 != 0) {\n    return uVar5;\n  }\n  uVar5 = FUN_001cca90(param_1,param_2);\n  return uVar5;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (expression_statement "lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18);" (assignment_expression "lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18)" identifier = (pointer_expression "*(long *)(*(long *)(param_2 + 0x20) + 0x18)" * (cast_expression "(long *)(*(long *)(param_2 + 0x20) + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 0x20) + 0x18)" ( (binary_expression "*(long *)(param_2 + 0x20) + 0x18" (pointer_expression "*(long *)(param_2 + 0x20)" * (cast_expression "(long *)(param_2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_2 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 8) = 0" (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (*(long *)(lVar8 + 0x38) == 0) {\n    lVar8 = *(long *)(lVar8 + 0x30);\n    if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    uVar5 = (ulong)uVar10;\n    if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }\n    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');\n  }\n  else {\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }" if (parenthesized_expression "(*(long *)(lVar8 + 0x38) == 0)" ( (binary_expression "*(long *)(lVar8 + 0x38) == 0" (pointer_expression "*(long *)(lVar8 + 0x38)" * (cast_expression "(long *)(lVar8 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x38)" ( (binary_expression "lVar8 + 0x38" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    lVar8 = *(long *)(lVar8 + 0x30);\n    if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    uVar5 = (ulong)uVar10;\n    if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }\n    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');\n  }" { (expression_statement "lVar8 = *(long *)(lVar8 + 0x30);" (assignment_expression "lVar8 = *(long *)(lVar8 + 0x30)" identifier = (pointer_expression "*(long *)(lVar8 + 0x30)" * (cast_expression "(long *)(lVar8 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x30)" ( (binary_expression "lVar8 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }" { (expression_statement "FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);" (call_expression "FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0)" identifier (argument_list "(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0)" ( (pointer_expression "*(undefined8 *)(lVar8 + 0x18)" * (cast_expression "(undefined8 *)(lVar8 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x18)" ( (binary_expression "lVar8 + 0x18" identifier + number_literal) )))) , identifier , number_literal , number_literal ))) ;) (expression_statement "uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);" (assignment_expression "uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" identifier = (pointer_expression "*(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" * (cast_expression "(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar8 + 0x18) + 0x34)" ( (binary_expression "*(long *)(lVar8 + 0x18) + 0x34" (pointer_expression "*(long *)(lVar8 + 0x18)" * (cast_expression "(long *)(lVar8 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x18)" ( (binary_expression "lVar8 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;" (assignment_expression "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0" (pointer_expression "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34)" * (cast_expression "(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar8 + 0x18) + 0x34)" ( (binary_expression "*(long *)(lVar8 + 0x18) + 0x34" (pointer_expression "*(long *)(lVar8 + 0x18)" * (cast_expression "(long *)(lVar8 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x18)" ( (binary_expression "lVar8 + 0x18" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }" else (compound_statement "{\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }" { (expression_statement "FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);" (call_expression "FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4)" identifier (argument_list "(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4)" ( (pointer_expression "*(undefined8 *)(lVar8 + 0x18)" * (cast_expression "(undefined8 *)(lVar8 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x18)" ( (binary_expression "lVar8 + 0x18" identifier + number_literal) )))) , identifier , identifier ))) ;) (expression_statement "uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);" (assignment_expression "uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" identifier = (pointer_expression "*(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" * (cast_expression "(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar8 + 0x18) + 0x34)" ( (binary_expression "*(long *)(lVar8 + 0x18) + 0x34" (pointer_expression "*(long *)(lVar8 + 0x18)" * (cast_expression "(long *)(lVar8 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x18)" ( (binary_expression "lVar8 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;" (assignment_expression "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0" (pointer_expression "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34)" * (cast_expression "(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar8 + 0x18) + 0x34)" ( (binary_expression "*(long *)(lVar8 + 0x18) + 0x34" (pointer_expression "*(long *)(lVar8 + 0x18)" * (cast_expression "(long *)(lVar8 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x18)" ( (binary_expression "lVar8 + 0x18" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }))) (expression_statement "uVar5 = (ulong)uVar10;" (assignment_expression "uVar5 = (ulong)uVar10" identifier = (cast_expression "(ulong)uVar10" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }" if (parenthesized_expression "(uVar10 != 0)" ( (binary_expression "uVar10 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }" { (expression_statement "*(undefined4 *)(param_2 + 4) = 1;" (assignment_expression "*(undefined4 *)(param_2 + 4) = 1" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return uVar5;" return identifier ;) })) (expression_statement "uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');" (assignment_expression "uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0')" identifier = (call_expression "(uint)(*(char *)(lVar8 + 0x14) != '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(char *)(lVar8 + 0x14) != '\0')" ( (binary_expression "*(char *)(lVar8 + 0x14) != '\0'" (pointer_expression "*(char *)(lVar8 + 0x14)" * (cast_expression "(char *)(lVar8 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x14)" ( (binary_expression "lVar8 + 0x14" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )))) ;) }) (else_clause "else {\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }" else (compound_statement "{\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }" { (expression_statement "lVar7 = lVar8 + 0x20;" (assignment_expression "lVar7 = lVar8 + 0x20" identifier = (binary_expression "lVar8 + 0x20" identifier + number_literal)) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "lVar8 = *(long *)(lVar8 + 0x38);" (assignment_expression "lVar8 = *(long *)(lVar8 + 0x38)" identifier = (pointer_expression "*(long *)(lVar8 + 0x38)" * (cast_expression "(long *)(lVar8 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x38)" ( (binary_expression "lVar8 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "lVar6 = lVar7;" (assignment_expression "lVar6 = lVar7" identifier = identifier) ;) (while_statement "while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }" { (expression_statement "lVar4 = lVar8;" (assignment_expression "lVar4 = lVar8" identifier = identifier) ;) (if_statement "if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }" if (parenthesized_expression "(*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0')" ( (binary_expression "*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0'" (pointer_expression "*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14)" * (cast_expression "(char *)((long)*(long **)(lVar6 + 0x10) + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)*(long **)(lVar6 + 0x10) + 0x14)" ( (binary_expression "(long)*(long **)(lVar6 + 0x10) + 0x14" (cast_expression "(long)*(long **)(lVar6 + 0x10)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*(long **)(lVar6 + 0x10)" * (cast_expression "(long **)(lVar6 + 0x10)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar6 + 0x10)" ( (binary_expression "lVar6 + 0x10" identifier + number_literal) ))))) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }" { (expression_statement "lVar8 = **(long **)(lVar6 + 0x10);" (assignment_expression "lVar8 = **(long **)(lVar6 + 0x10)" identifier = (pointer_expression "**(long **)(lVar6 + 0x10)" * (pointer_expression "*(long **)(lVar6 + 0x10)" * (cast_expression "(long **)(lVar6 + 0x10)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar6 + 0x10)" ( (binary_expression "lVar6 + 0x10" identifier + number_literal) )))))) ;) (if_statement "if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }" { (if_statement "if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }" if (parenthesized_expression "(*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9))" ( (binary_expression "*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)" (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) != (call_expression "(uint)(lVar8 < lVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar8 < lVar9)" ( (binary_expression "lVar8 < lVar9" identifier < identifier) )))) )) (compound_statement "{\n            lVar9 = lVar8;\n          }" { (expression_statement "lVar9 = lVar8;" (assignment_expression "lVar9 = lVar8" identifier = identifier) ;) })) }) (else_clause "else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }" else (compound_statement "{\n          bVar3 = true;\n          lVar9 = lVar8;\n        }" { (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) (expression_statement "lVar9 = lVar8;" (assignment_expression "lVar9 = lVar8" identifier = identifier) ;) }))) })) (if_statement "if (lVar4 == 0) break;" if (parenthesized_expression "(lVar4 == 0)" ( (binary_expression "lVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar8 = *(long *)(lVar4 + 0x18);" (assignment_expression "lVar8 = *(long *)(lVar4 + 0x18)" identifier = (pointer_expression "*(long *)(lVar4 + 0x18)" * (cast_expression "(long *)(lVar4 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x18)" ( (binary_expression "lVar4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "lVar6 = lVar4;" (assignment_expression "lVar6 = lVar4" identifier = identifier) ;) })) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) (labeled_statement "LAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);" statement_identifier : (do_statement "do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);" do (compound_statement "{\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    }" { (expression_statement "plVar2 = *(long **)(lVar7 + 0x10);" (assignment_expression "plVar2 = *(long **)(lVar7 + 0x10)" identifier = (pointer_expression "*(long **)(lVar7 + 0x10)" * (cast_expression "(long **)(lVar7 + 0x10)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar7 + 0x10)" ( (binary_expression "lVar7 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }" if (parenthesized_expression "(*(char *)((long)plVar2 + 0x14) == '\0')" ( (binary_expression "*(char *)((long)plVar2 + 0x14) == '\0'" (pointer_expression "*(char *)((long)plVar2 + 0x14)" * (cast_expression "(char *)((long)plVar2 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar2 + 0x14)" ( (binary_expression "(long)plVar2 + 0x14" (cast_expression "(long)plVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }" { (expression_statement "lVar8 = *plVar2;" (assignment_expression "lVar8 = *plVar2" identifier = (pointer_expression "*plVar2" * identifier)) ;) (if_statement "if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }" if (parenthesized_expression "(lVar8 == lVar9)" ( (binary_expression "lVar8 == lVar9" identifier == identifier) )) (compound_statement "{\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }" { (expression_statement "lVar8 = plVar2[3];" (assignment_expression "lVar8 = plVar2[3]" identifier = (subscript_expression "plVar2[3]" identifier [ number_literal ])) ;) (if_statement "if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }" { (expression_statement "FUN_001cc520(lVar8,plVar2,0,0);" (call_expression "FUN_001cc520(lVar8,plVar2,0,0)" identifier (argument_list "(lVar8,plVar2,0,0)" ( identifier , identifier , number_literal , number_literal ))) ;) (expression_statement "uVar1 = *(uint *)(plVar2[3] + 0x34);" (assignment_expression "uVar1 = *(uint *)(plVar2[3] + 0x34)" identifier = (pointer_expression "*(uint *)(plVar2[3] + 0x34)" * (cast_expression "(uint *)(plVar2[3] + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2[3] + 0x34)" ( (binary_expression "plVar2[3] + 0x34" (subscript_expression "plVar2[3]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(plVar2[3] + 0x34) = 0;" (assignment_expression "*(undefined4 *)(plVar2[3] + 0x34) = 0" (pointer_expression "*(undefined4 *)(plVar2[3] + 0x34)" * (cast_expression "(undefined4 *)(plVar2[3] + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2[3] + 0x34)" ( (binary_expression "plVar2[3] + 0x34" (subscript_expression "plVar2[3]" identifier [ number_literal ]) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }" else (compound_statement "{\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }" { (labeled_statement "LAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);" statement_identifier : (expression_statement "FUN_001cca20(lVar8,plVar2,param_4);" (call_expression "FUN_001cca20(lVar8,plVar2,param_4)" identifier (argument_list "(lVar8,plVar2,param_4)" ( identifier , identifier , identifier ))) ;)) (expression_statement "uVar1 = *(uint *)(plVar2[3] + 0x34);" (assignment_expression "uVar1 = *(uint *)(plVar2[3] + 0x34)" identifier = (pointer_expression "*(uint *)(plVar2[3] + 0x34)" * (cast_expression "(uint *)(plVar2[3] + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2[3] + 0x34)" ( (binary_expression "plVar2[3] + 0x34" (subscript_expression "plVar2[3]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(plVar2[3] + 0x34) = 0;" (assignment_expression "*(undefined4 *)(plVar2[3] + 0x34) = 0" (pointer_expression "*(undefined4 *)(plVar2[3] + 0x34)" * (cast_expression "(undefined4 *)(plVar2[3] + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2[3] + 0x34)" ( (binary_expression "plVar2[3] + 0x34" (subscript_expression "plVar2[3]" identifier [ number_literal ]) + number_literal) )))) = number_literal) ;) }))) (if_statement "if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }" { (expression_statement "*(undefined4 *)(param_2 + 4) = 1;" (assignment_expression "*(undefined4 *)(param_2 + 4) = 1" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return (ulong)uVar1;" return (cast_expression "(ulong)uVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) ;) })) (if_statement "if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }" if (parenthesized_expression "(*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0')" ( (binary_expression "*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0'" (pointer_expression "*(char *)(*(long *)(lVar7 + 0x10) + 0x14)" * (cast_expression "(char *)(*(long *)(lVar7 + 0x10) + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x10) + 0x14)" ( (binary_expression "*(long *)(lVar7 + 0x10) + 0x14" (pointer_expression "*(long *)(lVar7 + 0x10)" * (cast_expression "(long *)(lVar7 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x10)" ( (binary_expression "lVar7 + 0x10" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }" { (expression_statement "lVar7 = *(long *)(lVar7 + 0x18);" (assignment_expression "lVar7 = *(long *)(lVar7 + 0x18)" identifier = (pointer_expression "*(long *)(lVar7 + 0x18)" * (cast_expression "(long *)(lVar7 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x18)" ( (binary_expression "lVar7 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (lVar7 == 0) break;" if (parenthesized_expression "(lVar7 == 0)" ( (binary_expression "lVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (goto_statement "goto LAB_001cd601;" goto statement_identifier ;) })) }) (else_clause "else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }" else (if_statement "if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }" if (parenthesized_expression "(((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18)))" ( (binary_expression "((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))" (parenthesized_expression "((param_3 != 0) && (lVar8 != param_4))" ( (binary_expression "(param_3 != 0) && (lVar8 != param_4)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) && (parenthesized_expression "(lVar8 != param_4)" ( (binary_expression "lVar8 != param_4" identifier != identifier) ))) )) && (parenthesized_expression "((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))" ( (binary_expression "(uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18)" (call_expression "(uint)(param_4 < lVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4 < lVar8)" ( (binary_expression "param_4 < lVar8" identifier < identifier) ))) == (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ))) )) (compound_statement "{\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }" { (expression_statement "lVar8 = plVar2[3];" (assignment_expression "lVar8 = plVar2[3]" identifier = (subscript_expression "plVar2[3]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_001cd684;" goto statement_identifier ;) })))) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) })) (expression_statement "lVar7 = *(long *)(lVar7 + 0x18);" (assignment_expression "lVar7 = *(long *)(lVar7 + 0x18)" identifier = (pointer_expression "*(long *)(lVar7 + 0x18)" * (cast_expression "(long *)(lVar7 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x18)" ( (binary_expression "lVar7 + 0x18" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(lVar7 != 0)" ( (binary_expression "lVar7 != 0" identifier != number_literal) )) ;)) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }))) (expression_statement "*(uint *)(param_2 + 4) = uVar10;" (assignment_expression "*(uint *)(param_2 + 4) = uVar10" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (uVar10 != 0) {\n    return uVar5;\n  }" if (parenthesized_expression "(uVar10 != 0)" ( (binary_expression "uVar10 != 0" identifier != number_literal) )) (compound_statement "{\n    return uVar5;\n  }" { (return_statement "return uVar5;" return identifier ;) })) (expression_statement "uVar5 = FUN_001cca90(param_1,param_2);" (assignment_expression "uVar5 = FUN_001cca90(param_1,param_2)" identifier = (call_expression "FUN_001cca90(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit "int fts5ExprNodeNext_STRING(Fts5Expr *pExpr,Fts5ExprNode *pNode,int bFromValid,i64 iFrom)\n\n{\n  Fts5ExprPhrase *pFVar1;\n  Fts5ExprTerm *pFVar2;\n  long lVar3;\n  Fts5Iter *pFVar4;\n  bool bVar5;\n  int iVar6;\n  Fts5ExprTerm *pFVar7;\n  Fts5ExprTerm *pFVar8;\n  Fts5ExprTerm *pFVar9;\n  Fts5Index *p;\n  long lVar10;\n  uint uVar11;\n  \n  pFVar1 = pNode->pNear->apPhrase[0];\n  pNode->bNomatch = 0;\n  pFVar2 = pFVar1->aTerm[0].pSynonym;\n  if (pFVar2 == (Fts5ExprTerm *)0x0) {\n    pFVar4 = (Fts5Iter *)pFVar1->aTerm[0].pIter;\n    if (bFromValid == 0) {\n      fts5MultiIterNext(pFVar4->pIndex,pFVar4,0,0);\n      iVar6 = pFVar4->pIndex->rc;\n      pFVar4->pIndex->rc = 0;\n    }\n    else {\n      fts5MultiIterNextFrom(pFVar4->pIndex,pFVar4,iFrom);\n      iVar6 = pFVar4->pIndex->rc;\n      pFVar4->pIndex->rc = 0;\n    }\n    if (iVar6 != 0) {\n      pNode->bEof = 1;\n      return iVar6;\n    }\n    uVar11 = (uint)((pFVar4->base).bEof != '\0');\n  }\n  else {\n    pFVar9 = pFVar1->aTerm;\n    lVar10 = 0;\n    bVar5 = false;\n    pFVar8 = pFVar9;\n    while( true ) {\n      pFVar7 = pFVar2;\n      if (pFVar8->pIter->bEof == '\0') {\n        lVar3 = pFVar8->pIter->iRowid;\n        if (bVar5) {\n          if (pExpr->bDesc != (uint)(lVar3 < lVar10)) {\n            lVar10 = lVar3;\n          }\n        }\n        else {\n          bVar5 = true;\n          lVar10 = lVar3;\n        }\n      }\n      if (pFVar7 == (Fts5ExprTerm *)0x0) break;\n      pFVar2 = pFVar7->pSynonym;\n      pFVar8 = pFVar7;\n    }\n    uVar11 = 1;\nLAB_001cd601:\n    do {\n      pFVar4 = (Fts5Iter *)pFVar9->pIter;\n      if ((pFVar4->base).bEof == '\0') {\n        lVar3 = (pFVar4->base).iRowid;\n        if (lVar3 == lVar10) {\n          p = pFVar4->pIndex;\n          if (bFromValid == 0) {\n            fts5MultiIterNext(p,pFVar4,0,0);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          else {\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          if (iVar6 != 0) {\n            pNode->bEof = 1;\n            return iVar6;\n          }\n          if (pFVar9->pIter->bEof != '\0') {\n            pFVar9 = pFVar9->pSynonym;\n            if (pFVar9 == (Fts5ExprTerm *)0x0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))\n        {\n          p = pFVar4->pIndex;\n          goto LAB_001cd684;\n        }\n        uVar11 = 0;\n      }\n      pFVar9 = pFVar9->pSynonym;\n    } while (pFVar9 != (Fts5ExprTerm *)0x0);\n  }\n  pNode->bEof = uVar11;\n  if (uVar11 != 0) {\n    return 0;\n  }\n  iVar6 = fts5ExprNodeTest_STRING(pExpr,pNode);\n  return iVar6;\n}\n\n" (function_definition "int fts5ExprNodeNext_STRING(Fts5Expr *pExpr,Fts5ExprNode *pNode,int bFromValid,i64 iFrom)\n\n{\n  Fts5ExprPhrase *pFVar1;\n  Fts5ExprTerm *pFVar2;\n  long lVar3;\n  Fts5Iter *pFVar4;\n  bool bVar5;\n  int iVar6;\n  Fts5ExprTerm *pFVar7;\n  Fts5ExprTerm *pFVar8;\n  Fts5ExprTerm *pFVar9;\n  Fts5Index *p;\n  long lVar10;\n  uint uVar11;\n  \n  pFVar1 = pNode->pNear->apPhrase[0];\n  pNode->bNomatch = 0;\n  pFVar2 = pFVar1->aTerm[0].pSynonym;\n  if (pFVar2 == (Fts5ExprTerm *)0x0) {\n    pFVar4 = (Fts5Iter *)pFVar1->aTerm[0].pIter;\n    if (bFromValid == 0) {\n      fts5MultiIterNext(pFVar4->pIndex,pFVar4,0,0);\n      iVar6 = pFVar4->pIndex->rc;\n      pFVar4->pIndex->rc = 0;\n    }\n    else {\n      fts5MultiIterNextFrom(pFVar4->pIndex,pFVar4,iFrom);\n      iVar6 = pFVar4->pIndex->rc;\n      pFVar4->pIndex->rc = 0;\n    }\n    if (iVar6 != 0) {\n      pNode->bEof = 1;\n      return iVar6;\n    }\n    uVar11 = (uint)((pFVar4->base).bEof != '\0');\n  }\n  else {\n    pFVar9 = pFVar1->aTerm;\n    lVar10 = 0;\n    bVar5 = false;\n    pFVar8 = pFVar9;\n    while( true ) {\n      pFVar7 = pFVar2;\n      if (pFVar8->pIter->bEof == '\0') {\n        lVar3 = pFVar8->pIter->iRowid;\n        if (bVar5) {\n          if (pExpr->bDesc != (uint)(lVar3 < lVar10)) {\n            lVar10 = lVar3;\n          }\n        }\n        else {\n          bVar5 = true;\n          lVar10 = lVar3;\n        }\n      }\n      if (pFVar7 == (Fts5ExprTerm *)0x0) break;\n      pFVar2 = pFVar7->pSynonym;\n      pFVar8 = pFVar7;\n    }\n    uVar11 = 1;\nLAB_001cd601:\n    do {\n      pFVar4 = (Fts5Iter *)pFVar9->pIter;\n      if ((pFVar4->base).bEof == '\0') {\n        lVar3 = (pFVar4->base).iRowid;\n        if (lVar3 == lVar10) {\n          p = pFVar4->pIndex;\n          if (bFromValid == 0) {\n            fts5MultiIterNext(p,pFVar4,0,0);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          else {\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          if (iVar6 != 0) {\n            pNode->bEof = 1;\n            return iVar6;\n          }\n          if (pFVar9->pIter->bEof != '\0') {\n            pFVar9 = pFVar9->pSynonym;\n            if (pFVar9 == (Fts5ExprTerm *)0x0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))\n        {\n          p = pFVar4->pIndex;\n          goto LAB_001cd684;\n        }\n        uVar11 = 0;\n      }\n      pFVar9 = pFVar9->pSynonym;\n    } while (pFVar9 != (Fts5ExprTerm *)0x0);\n  }\n  pNode->bEof = uVar11;\n  if (uVar11 != 0) {\n    return 0;\n  }\n  iVar6 = fts5ExprNodeTest_STRING(pExpr,pNode);\n  return iVar6;\n}" primitive_type (function_declarator "fts5ExprNodeNext_STRING(Fts5Expr *pExpr,Fts5ExprNode *pNode,int bFromValid,i64 iFrom)" identifier (parameter_list "(Fts5Expr *pExpr,Fts5ExprNode *pNode,int bFromValid,i64 iFrom)" ( (parameter_declaration "Fts5Expr *pExpr" type_identifier (pointer_declarator "*pExpr" * identifier)) , (parameter_declaration "Fts5ExprNode *pNode" type_identifier (pointer_declarator "*pNode" * identifier)) , (parameter_declaration "int bFromValid" primitive_type identifier) , (parameter_declaration "i64 iFrom" type_identifier identifier) ))) (compound_statement "{\n  Fts5ExprPhrase *pFVar1;\n  Fts5ExprTerm *pFVar2;\n  long lVar3;\n  Fts5Iter *pFVar4;\n  bool bVar5;\n  int iVar6;\n  Fts5ExprTerm *pFVar7;\n  Fts5ExprTerm *pFVar8;\n  Fts5ExprTerm *pFVar9;\n  Fts5Index *p;\n  long lVar10;\n  uint uVar11;\n  \n  pFVar1 = pNode->pNear->apPhrase[0];\n  pNode->bNomatch = 0;\n  pFVar2 = pFVar1->aTerm[0].pSynonym;\n  if (pFVar2 == (Fts5ExprTerm *)0x0) {\n    pFVar4 = (Fts5Iter *)pFVar1->aTerm[0].pIter;\n    if (bFromValid == 0) {\n      fts5MultiIterNext(pFVar4->pIndex,pFVar4,0,0);\n      iVar6 = pFVar4->pIndex->rc;\n      pFVar4->pIndex->rc = 0;\n    }\n    else {\n      fts5MultiIterNextFrom(pFVar4->pIndex,pFVar4,iFrom);\n      iVar6 = pFVar4->pIndex->rc;\n      pFVar4->pIndex->rc = 0;\n    }\n    if (iVar6 != 0) {\n      pNode->bEof = 1;\n      return iVar6;\n    }\n    uVar11 = (uint)((pFVar4->base).bEof != '\0');\n  }\n  else {\n    pFVar9 = pFVar1->aTerm;\n    lVar10 = 0;\n    bVar5 = false;\n    pFVar8 = pFVar9;\n    while( true ) {\n      pFVar7 = pFVar2;\n      if (pFVar8->pIter->bEof == '\0') {\n        lVar3 = pFVar8->pIter->iRowid;\n        if (bVar5) {\n          if (pExpr->bDesc != (uint)(lVar3 < lVar10)) {\n            lVar10 = lVar3;\n          }\n        }\n        else {\n          bVar5 = true;\n          lVar10 = lVar3;\n        }\n      }\n      if (pFVar7 == (Fts5ExprTerm *)0x0) break;\n      pFVar2 = pFVar7->pSynonym;\n      pFVar8 = pFVar7;\n    }\n    uVar11 = 1;\nLAB_001cd601:\n    do {\n      pFVar4 = (Fts5Iter *)pFVar9->pIter;\n      if ((pFVar4->base).bEof == '\0') {\n        lVar3 = (pFVar4->base).iRowid;\n        if (lVar3 == lVar10) {\n          p = pFVar4->pIndex;\n          if (bFromValid == 0) {\n            fts5MultiIterNext(p,pFVar4,0,0);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          else {\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          if (iVar6 != 0) {\n            pNode->bEof = 1;\n            return iVar6;\n          }\n          if (pFVar9->pIter->bEof != '\0') {\n            pFVar9 = pFVar9->pSynonym;\n            if (pFVar9 == (Fts5ExprTerm *)0x0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))\n        {\n          p = pFVar4->pIndex;\n          goto LAB_001cd684;\n        }\n        uVar11 = 0;\n      }\n      pFVar9 = pFVar9->pSynonym;\n    } while (pFVar9 != (Fts5ExprTerm *)0x0);\n  }\n  pNode->bEof = uVar11;\n  if (uVar11 != 0) {\n    return 0;\n  }\n  iVar6 = fts5ExprNodeTest_STRING(pExpr,pNode);\n  return iVar6;\n}" { (declaration "Fts5ExprPhrase *pFVar1;" type_identifier (pointer_declarator "*pFVar1" * identifier) ;) (declaration "Fts5ExprTerm *pFVar2;" type_identifier (pointer_declarator "*pFVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "Fts5Iter *pFVar4;" type_identifier (pointer_declarator "*pFVar4" * identifier) ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "Fts5ExprTerm *pFVar7;" type_identifier (pointer_declarator "*pFVar7" * identifier) ;) (declaration "Fts5ExprTerm *pFVar8;" type_identifier (pointer_declarator "*pFVar8" * identifier) ;) (declaration "Fts5ExprTerm *pFVar9;" type_identifier (pointer_declarator "*pFVar9" * identifier) ;) (declaration "Fts5Index *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (expression_statement "pFVar1 = pNode->pNear->apPhrase[0];" (assignment_expression "pFVar1 = 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 "pNode->bNomatch = 0;" (assignment_expression "pNode->bNomatch = 0" (field_expression "pNode->bNomatch" identifier -> field_identifier) = number_literal) ;) (expression_statement "pFVar2 = pFVar1->aTerm[0].pSynonym;" (assignment_expression "pFVar2 = pFVar1->aTerm[0].pSynonym" identifier = (field_expression "pFVar1->aTerm[0].pSynonym" (subscript_expression "pFVar1->aTerm[0]" (field_expression "pFVar1->aTerm" identifier -> field_identifier) [ number_literal ]) . field_identifier)) ;) (if_statement "if (pFVar2 == (Fts5ExprTerm *)0x0) {\n    pFVar4 = (Fts5Iter *)pFVar1->aTerm[0].pIter;\n    if (bFromValid == 0) {\n      fts5MultiIterNext(pFVar4->pIndex,pFVar4,0,0);\n      iVar6 = pFVar4->pIndex->rc;\n      pFVar4->pIndex->rc = 0;\n    }\n    else {\n      fts5MultiIterNextFrom(pFVar4->pIndex,pFVar4,iFrom);\n      iVar6 = pFVar4->pIndex->rc;\n      pFVar4->pIndex->rc = 0;\n    }\n    if (iVar6 != 0) {\n      pNode->bEof = 1;\n      return iVar6;\n    }\n    uVar11 = (uint)((pFVar4->base).bEof != '\0');\n  }\n  else {\n    pFVar9 = pFVar1->aTerm;\n    lVar10 = 0;\n    bVar5 = false;\n    pFVar8 = pFVar9;\n    while( true ) {\n      pFVar7 = pFVar2;\n      if (pFVar8->pIter->bEof == '\0') {\n        lVar3 = pFVar8->pIter->iRowid;\n        if (bVar5) {\n          if (pExpr->bDesc != (uint)(lVar3 < lVar10)) {\n            lVar10 = lVar3;\n          }\n        }\n        else {\n          bVar5 = true;\n          lVar10 = lVar3;\n        }\n      }\n      if (pFVar7 == (Fts5ExprTerm *)0x0) break;\n      pFVar2 = pFVar7->pSynonym;\n      pFVar8 = pFVar7;\n    }\n    uVar11 = 1;\nLAB_001cd601:\n    do {\n      pFVar4 = (Fts5Iter *)pFVar9->pIter;\n      if ((pFVar4->base).bEof == '\0') {\n        lVar3 = (pFVar4->base).iRowid;\n        if (lVar3 == lVar10) {\n          p = pFVar4->pIndex;\n          if (bFromValid == 0) {\n            fts5MultiIterNext(p,pFVar4,0,0);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          else {\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          if (iVar6 != 0) {\n            pNode->bEof = 1;\n            return iVar6;\n          }\n          if (pFVar9->pIter->bEof != '\0') {\n            pFVar9 = pFVar9->pSynonym;\n            if (pFVar9 == (Fts5ExprTerm *)0x0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))\n        {\n          p = pFVar4->pIndex;\n          goto LAB_001cd684;\n        }\n        uVar11 = 0;\n      }\n      pFVar9 = pFVar9->pSynonym;\n    } while (pFVar9 != (Fts5ExprTerm *)0x0);\n  }" if (parenthesized_expression "(pFVar2 == (Fts5ExprTerm *)0x0)" ( (binary_expression "pFVar2 == (Fts5ExprTerm *)0x0" identifier == (cast_expression "(Fts5ExprTerm *)0x0" ( (type_descriptor "Fts5ExprTerm *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pFVar4 = (Fts5Iter *)pFVar1->aTerm[0].pIter;\n    if (bFromValid == 0) {\n      fts5MultiIterNext(pFVar4->pIndex,pFVar4,0,0);\n      iVar6 = pFVar4->pIndex->rc;\n      pFVar4->pIndex->rc = 0;\n    }\n    else {\n      fts5MultiIterNextFrom(pFVar4->pIndex,pFVar4,iFrom);\n      iVar6 = pFVar4->pIndex->rc;\n      pFVar4->pIndex->rc = 0;\n    }\n    if (iVar6 != 0) {\n      pNode->bEof = 1;\n      return iVar6;\n    }\n    uVar11 = (uint)((pFVar4->base).bEof != '\0');\n  }" { (expression_statement "pFVar4 = (Fts5Iter *)pFVar1->aTerm[0].pIter;" (assignment_expression "pFVar4 = (Fts5Iter *)pFVar1->aTerm[0].pIter" identifier = (cast_expression "(Fts5Iter *)pFVar1->aTerm[0].pIter" ( (type_descriptor "Fts5Iter *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pFVar1->aTerm[0].pIter" (subscript_expression "pFVar1->aTerm[0]" (field_expression "pFVar1->aTerm" identifier -> field_identifier) [ number_literal ]) . field_identifier))) ;) (if_statement "if (bFromValid == 0) {\n      fts5MultiIterNext(pFVar4->pIndex,pFVar4,0,0);\n      iVar6 = pFVar4->pIndex->rc;\n      pFVar4->pIndex->rc = 0;\n    }\n    else {\n      fts5MultiIterNextFrom(pFVar4->pIndex,pFVar4,iFrom);\n      iVar6 = pFVar4->pIndex->rc;\n      pFVar4->pIndex->rc = 0;\n    }" if (parenthesized_expression "(bFromValid == 0)" ( (binary_expression "bFromValid == 0" identifier == number_literal) )) (compound_statement "{\n      fts5MultiIterNext(pFVar4->pIndex,pFVar4,0,0);\n      iVar6 = pFVar4->pIndex->rc;\n      pFVar4->pIndex->rc = 0;\n    }" { (expression_statement "fts5MultiIterNext(pFVar4->pIndex,pFVar4,0,0);" (call_expression "fts5MultiIterNext(pFVar4->pIndex,pFVar4,0,0)" identifier (argument_list "(pFVar4->pIndex,pFVar4,0,0)" ( (field_expression "pFVar4->pIndex" identifier -> field_identifier) , identifier , number_literal , number_literal ))) ;) (expression_statement "iVar6 = pFVar4->pIndex->rc;" (assignment_expression "iVar6 = pFVar4->pIndex->rc" identifier = (field_expression "pFVar4->pIndex->rc" (field_expression "pFVar4->pIndex" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "pFVar4->pIndex->rc = 0;" (assignment_expression "pFVar4->pIndex->rc = 0" (field_expression "pFVar4->pIndex->rc" (field_expression "pFVar4->pIndex" identifier -> field_identifier) -> field_identifier) = number_literal) ;) }) (else_clause "else {\n      fts5MultiIterNextFrom(pFVar4->pIndex,pFVar4,iFrom);\n      iVar6 = pFVar4->pIndex->rc;\n      pFVar4->pIndex->rc = 0;\n    }" else (compound_statement "{\n      fts5MultiIterNextFrom(pFVar4->pIndex,pFVar4,iFrom);\n      iVar6 = pFVar4->pIndex->rc;\n      pFVar4->pIndex->rc = 0;\n    }" { (expression_statement "fts5MultiIterNextFrom(pFVar4->pIndex,pFVar4,iFrom);" (call_expression "fts5MultiIterNextFrom(pFVar4->pIndex,pFVar4,iFrom)" identifier (argument_list "(pFVar4->pIndex,pFVar4,iFrom)" ( (field_expression "pFVar4->pIndex" identifier -> field_identifier) , identifier , identifier ))) ;) (expression_statement "iVar6 = pFVar4->pIndex->rc;" (assignment_expression "iVar6 = pFVar4->pIndex->rc" identifier = (field_expression "pFVar4->pIndex->rc" (field_expression "pFVar4->pIndex" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "pFVar4->pIndex->rc = 0;" (assignment_expression "pFVar4->pIndex->rc = 0" (field_expression "pFVar4->pIndex->rc" (field_expression "pFVar4->pIndex" identifier -> field_identifier) -> field_identifier) = number_literal) ;) }))) (if_statement "if (iVar6 != 0) {\n      pNode->bEof = 1;\n      return iVar6;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      pNode->bEof = 1;\n      return iVar6;\n    }" { (expression_statement "pNode->bEof = 1;" (assignment_expression "pNode->bEof = 1" (field_expression "pNode->bEof" identifier -> field_identifier) = number_literal) ;) (return_statement "return iVar6;" return identifier ;) })) (expression_statement "uVar11 = (uint)((pFVar4->base).bEof != '\0');" (assignment_expression "uVar11 = (uint)((pFVar4->base).bEof != '\0')" identifier = (call_expression "(uint)((pFVar4->base).bEof != '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((pFVar4->base).bEof != '\0')" ( (binary_expression "(pFVar4->base).bEof != '\0'" (field_expression "(pFVar4->base).bEof" (parenthesized_expression "(pFVar4->base)" ( (field_expression "pFVar4->base" identifier -> field_identifier) )) . field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )))) ;) }) (else_clause "else {\n    pFVar9 = pFVar1->aTerm;\n    lVar10 = 0;\n    bVar5 = false;\n    pFVar8 = pFVar9;\n    while( true ) {\n      pFVar7 = pFVar2;\n      if (pFVar8->pIter->bEof == '\0') {\n        lVar3 = pFVar8->pIter->iRowid;\n        if (bVar5) {\n          if (pExpr->bDesc != (uint)(lVar3 < lVar10)) {\n            lVar10 = lVar3;\n          }\n        }\n        else {\n          bVar5 = true;\n          lVar10 = lVar3;\n        }\n      }\n      if (pFVar7 == (Fts5ExprTerm *)0x0) break;\n      pFVar2 = pFVar7->pSynonym;\n      pFVar8 = pFVar7;\n    }\n    uVar11 = 1;\nLAB_001cd601:\n    do {\n      pFVar4 = (Fts5Iter *)pFVar9->pIter;\n      if ((pFVar4->base).bEof == '\0') {\n        lVar3 = (pFVar4->base).iRowid;\n        if (lVar3 == lVar10) {\n          p = pFVar4->pIndex;\n          if (bFromValid == 0) {\n            fts5MultiIterNext(p,pFVar4,0,0);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          else {\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          if (iVar6 != 0) {\n            pNode->bEof = 1;\n            return iVar6;\n          }\n          if (pFVar9->pIter->bEof != '\0') {\n            pFVar9 = pFVar9->pSynonym;\n            if (pFVar9 == (Fts5ExprTerm *)0x0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))\n        {\n          p = pFVar4->pIndex;\n          goto LAB_001cd684;\n        }\n        uVar11 = 0;\n      }\n      pFVar9 = pFVar9->pSynonym;\n    } while (pFVar9 != (Fts5ExprTerm *)0x0);\n  }" else (compound_statement "{\n    pFVar9 = pFVar1->aTerm;\n    lVar10 = 0;\n    bVar5 = false;\n    pFVar8 = pFVar9;\n    while( true ) {\n      pFVar7 = pFVar2;\n      if (pFVar8->pIter->bEof == '\0') {\n        lVar3 = pFVar8->pIter->iRowid;\n        if (bVar5) {\n          if (pExpr->bDesc != (uint)(lVar3 < lVar10)) {\n            lVar10 = lVar3;\n          }\n        }\n        else {\n          bVar5 = true;\n          lVar10 = lVar3;\n        }\n      }\n      if (pFVar7 == (Fts5ExprTerm *)0x0) break;\n      pFVar2 = pFVar7->pSynonym;\n      pFVar8 = pFVar7;\n    }\n    uVar11 = 1;\nLAB_001cd601:\n    do {\n      pFVar4 = (Fts5Iter *)pFVar9->pIter;\n      if ((pFVar4->base).bEof == '\0') {\n        lVar3 = (pFVar4->base).iRowid;\n        if (lVar3 == lVar10) {\n          p = pFVar4->pIndex;\n          if (bFromValid == 0) {\n            fts5MultiIterNext(p,pFVar4,0,0);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          else {\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          if (iVar6 != 0) {\n            pNode->bEof = 1;\n            return iVar6;\n          }\n          if (pFVar9->pIter->bEof != '\0') {\n            pFVar9 = pFVar9->pSynonym;\n            if (pFVar9 == (Fts5ExprTerm *)0x0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))\n        {\n          p = pFVar4->pIndex;\n          goto LAB_001cd684;\n        }\n        uVar11 = 0;\n      }\n      pFVar9 = pFVar9->pSynonym;\n    } while (pFVar9 != (Fts5ExprTerm *)0x0);\n  }" { (expression_statement "pFVar9 = pFVar1->aTerm;" (assignment_expression "pFVar9 = pFVar1->aTerm" identifier = (field_expression "pFVar1->aTerm" identifier -> field_identifier)) ;) (expression_statement "lVar10 = 0;" (assignment_expression "lVar10 = 0" identifier = number_literal) ;) (expression_statement "bVar5 = false;" (assignment_expression "bVar5 = false" identifier = false) ;) (expression_statement "pFVar8 = pFVar9;" (assignment_expression "pFVar8 = pFVar9" identifier = identifier) ;) (while_statement "while( true ) {\n      pFVar7 = pFVar2;\n      if (pFVar8->pIter->bEof == '\0') {\n        lVar3 = pFVar8->pIter->iRowid;\n        if (bVar5) {\n          if (pExpr->bDesc != (uint)(lVar3 < lVar10)) {\n            lVar10 = lVar3;\n          }\n        }\n        else {\n          bVar5 = true;\n          lVar10 = lVar3;\n        }\n      }\n      if (pFVar7 == (Fts5ExprTerm *)0x0) break;\n      pFVar2 = pFVar7->pSynonym;\n      pFVar8 = pFVar7;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pFVar7 = pFVar2;\n      if (pFVar8->pIter->bEof == '\0') {\n        lVar3 = pFVar8->pIter->iRowid;\n        if (bVar5) {\n          if (pExpr->bDesc != (uint)(lVar3 < lVar10)) {\n            lVar10 = lVar3;\n          }\n        }\n        else {\n          bVar5 = true;\n          lVar10 = lVar3;\n        }\n      }\n      if (pFVar7 == (Fts5ExprTerm *)0x0) break;\n      pFVar2 = pFVar7->pSynonym;\n      pFVar8 = pFVar7;\n    }" { (expression_statement "pFVar7 = pFVar2;" (assignment_expression "pFVar7 = pFVar2" identifier = identifier) ;) (if_statement "if (pFVar8->pIter->bEof == '\0') {\n        lVar3 = pFVar8->pIter->iRowid;\n        if (bVar5) {\n          if (pExpr->bDesc != (uint)(lVar3 < lVar10)) {\n            lVar10 = lVar3;\n          }\n        }\n        else {\n          bVar5 = true;\n          lVar10 = lVar3;\n        }\n      }" if (parenthesized_expression "(pFVar8->pIter->bEof == '\0')" ( (binary_expression "pFVar8->pIter->bEof == '\0'" (field_expression "pFVar8->pIter->bEof" (field_expression "pFVar8->pIter" identifier -> field_identifier) -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        lVar3 = pFVar8->pIter->iRowid;\n        if (bVar5) {\n          if (pExpr->bDesc != (uint)(lVar3 < lVar10)) {\n            lVar10 = lVar3;\n          }\n        }\n        else {\n          bVar5 = true;\n          lVar10 = lVar3;\n        }\n      }" { (expression_statement "lVar3 = pFVar8->pIter->iRowid;" (assignment_expression "lVar3 = pFVar8->pIter->iRowid" identifier = (field_expression "pFVar8->pIter->iRowid" (field_expression "pFVar8->pIter" identifier -> field_identifier) -> field_identifier)) ;) (if_statement "if (bVar5) {\n          if (pExpr->bDesc != (uint)(lVar3 < lVar10)) {\n            lVar10 = lVar3;\n          }\n        }\n        else {\n          bVar5 = true;\n          lVar10 = lVar3;\n        }" if (parenthesized_expression "(bVar5)" ( identifier )) (compound_statement "{\n          if (pExpr->bDesc != (uint)(lVar3 < lVar10)) {\n            lVar10 = lVar3;\n          }\n        }" { (if_statement "if (pExpr->bDesc != (uint)(lVar3 < lVar10)) {\n            lVar10 = lVar3;\n          }" if (parenthesized_expression "(pExpr->bDesc != (uint)(lVar3 < lVar10))" ( (binary_expression "pExpr->bDesc != (uint)(lVar3 < lVar10)" (field_expression "pExpr->bDesc" identifier -> field_identifier) != (call_expression "(uint)(lVar3 < lVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar3 < lVar10)" ( (binary_expression "lVar3 < lVar10" identifier < identifier) )))) )) (compound_statement "{\n            lVar10 = lVar3;\n          }" { (expression_statement "lVar10 = lVar3;" (assignment_expression "lVar10 = lVar3" identifier = identifier) ;) })) }) (else_clause "else {\n          bVar5 = true;\n          lVar10 = lVar3;\n        }" else (compound_statement "{\n          bVar5 = true;\n          lVar10 = lVar3;\n        }" { (expression_statement "bVar5 = true;" (assignment_expression "bVar5 = true" identifier = true) ;) (expression_statement "lVar10 = lVar3;" (assignment_expression "lVar10 = lVar3" identifier = identifier) ;) }))) })) (if_statement "if (pFVar7 == (Fts5ExprTerm *)0x0) break;" if (parenthesized_expression "(pFVar7 == (Fts5ExprTerm *)0x0)" ( (binary_expression "pFVar7 == (Fts5ExprTerm *)0x0" identifier == (cast_expression "(Fts5ExprTerm *)0x0" ( (type_descriptor "Fts5ExprTerm *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (expression_statement "pFVar2 = pFVar7->pSynonym;" (assignment_expression "pFVar2 = pFVar7->pSynonym" identifier = (field_expression "pFVar7->pSynonym" identifier -> field_identifier)) ;) (expression_statement "pFVar8 = pFVar7;" (assignment_expression "pFVar8 = pFVar7" identifier = identifier) ;) })) (expression_statement "uVar11 = 1;" (assignment_expression "uVar11 = 1" identifier = number_literal) ;) (labeled_statement "LAB_001cd601:\n    do {\n      pFVar4 = (Fts5Iter *)pFVar9->pIter;\n      if ((pFVar4->base).bEof == '\0') {\n        lVar3 = (pFVar4->base).iRowid;\n        if (lVar3 == lVar10) {\n          p = pFVar4->pIndex;\n          if (bFromValid == 0) {\n            fts5MultiIterNext(p,pFVar4,0,0);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          else {\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          if (iVar6 != 0) {\n            pNode->bEof = 1;\n            return iVar6;\n          }\n          if (pFVar9->pIter->bEof != '\0') {\n            pFVar9 = pFVar9->pSynonym;\n            if (pFVar9 == (Fts5ExprTerm *)0x0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))\n        {\n          p = pFVar4->pIndex;\n          goto LAB_001cd684;\n        }\n        uVar11 = 0;\n      }\n      pFVar9 = pFVar9->pSynonym;\n    } while (pFVar9 != (Fts5ExprTerm *)0x0);" statement_identifier : (do_statement "do {\n      pFVar4 = (Fts5Iter *)pFVar9->pIter;\n      if ((pFVar4->base).bEof == '\0') {\n        lVar3 = (pFVar4->base).iRowid;\n        if (lVar3 == lVar10) {\n          p = pFVar4->pIndex;\n          if (bFromValid == 0) {\n            fts5MultiIterNext(p,pFVar4,0,0);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          else {\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          if (iVar6 != 0) {\n            pNode->bEof = 1;\n            return iVar6;\n          }\n          if (pFVar9->pIter->bEof != '\0') {\n            pFVar9 = pFVar9->pSynonym;\n            if (pFVar9 == (Fts5ExprTerm *)0x0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))\n        {\n          p = pFVar4->pIndex;\n          goto LAB_001cd684;\n        }\n        uVar11 = 0;\n      }\n      pFVar9 = pFVar9->pSynonym;\n    } while (pFVar9 != (Fts5ExprTerm *)0x0);" do (compound_statement "{\n      pFVar4 = (Fts5Iter *)pFVar9->pIter;\n      if ((pFVar4->base).bEof == '\0') {\n        lVar3 = (pFVar4->base).iRowid;\n        if (lVar3 == lVar10) {\n          p = pFVar4->pIndex;\n          if (bFromValid == 0) {\n            fts5MultiIterNext(p,pFVar4,0,0);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          else {\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          if (iVar6 != 0) {\n            pNode->bEof = 1;\n            return iVar6;\n          }\n          if (pFVar9->pIter->bEof != '\0') {\n            pFVar9 = pFVar9->pSynonym;\n            if (pFVar9 == (Fts5ExprTerm *)0x0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))\n        {\n          p = pFVar4->pIndex;\n          goto LAB_001cd684;\n        }\n        uVar11 = 0;\n      }\n      pFVar9 = pFVar9->pSynonym;\n    }" { (expression_statement "pFVar4 = (Fts5Iter *)pFVar9->pIter;" (assignment_expression "pFVar4 = (Fts5Iter *)pFVar9->pIter" identifier = (cast_expression "(Fts5Iter *)pFVar9->pIter" ( (type_descriptor "Fts5Iter *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pFVar9->pIter" identifier -> field_identifier))) ;) (if_statement "if ((pFVar4->base).bEof == '\0') {\n        lVar3 = (pFVar4->base).iRowid;\n        if (lVar3 == lVar10) {\n          p = pFVar4->pIndex;\n          if (bFromValid == 0) {\n            fts5MultiIterNext(p,pFVar4,0,0);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          else {\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          if (iVar6 != 0) {\n            pNode->bEof = 1;\n            return iVar6;\n          }\n          if (pFVar9->pIter->bEof != '\0') {\n            pFVar9 = pFVar9->pSynonym;\n            if (pFVar9 == (Fts5ExprTerm *)0x0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))\n        {\n          p = pFVar4->pIndex;\n          goto LAB_001cd684;\n        }\n        uVar11 = 0;\n      }" if (parenthesized_expression "((pFVar4->base).bEof == '\0')" ( (binary_expression "(pFVar4->base).bEof == '\0'" (field_expression "(pFVar4->base).bEof" (parenthesized_expression "(pFVar4->base)" ( (field_expression "pFVar4->base" identifier -> field_identifier) )) . field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        lVar3 = (pFVar4->base).iRowid;\n        if (lVar3 == lVar10) {\n          p = pFVar4->pIndex;\n          if (bFromValid == 0) {\n            fts5MultiIterNext(p,pFVar4,0,0);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          else {\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          if (iVar6 != 0) {\n            pNode->bEof = 1;\n            return iVar6;\n          }\n          if (pFVar9->pIter->bEof != '\0') {\n            pFVar9 = pFVar9->pSynonym;\n            if (pFVar9 == (Fts5ExprTerm *)0x0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))\n        {\n          p = pFVar4->pIndex;\n          goto LAB_001cd684;\n        }\n        uVar11 = 0;\n      }" { (expression_statement "lVar3 = (pFVar4->base).iRowid;" (assignment_expression "lVar3 = (pFVar4->base).iRowid" identifier = (field_expression "(pFVar4->base).iRowid" (parenthesized_expression "(pFVar4->base)" ( (field_expression "pFVar4->base" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (lVar3 == lVar10) {\n          p = pFVar4->pIndex;\n          if (bFromValid == 0) {\n            fts5MultiIterNext(p,pFVar4,0,0);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          else {\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          if (iVar6 != 0) {\n            pNode->bEof = 1;\n            return iVar6;\n          }\n          if (pFVar9->pIter->bEof != '\0') {\n            pFVar9 = pFVar9->pSynonym;\n            if (pFVar9 == (Fts5ExprTerm *)0x0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))\n        {\n          p = pFVar4->pIndex;\n          goto LAB_001cd684;\n        }" if (parenthesized_expression "(lVar3 == lVar10)" ( (binary_expression "lVar3 == lVar10" identifier == identifier) )) (compound_statement "{\n          p = pFVar4->pIndex;\n          if (bFromValid == 0) {\n            fts5MultiIterNext(p,pFVar4,0,0);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          else {\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          if (iVar6 != 0) {\n            pNode->bEof = 1;\n            return iVar6;\n          }\n          if (pFVar9->pIter->bEof != '\0') {\n            pFVar9 = pFVar9->pSynonym;\n            if (pFVar9 == (Fts5ExprTerm *)0x0) break;\n            goto LAB_001cd601;\n          }\n        }" { (expression_statement "p = pFVar4->pIndex;" (assignment_expression "p = pFVar4->pIndex" identifier = (field_expression "pFVar4->pIndex" identifier -> field_identifier)) ;) (if_statement "if (bFromValid == 0) {\n            fts5MultiIterNext(p,pFVar4,0,0);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }\n          else {\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }" if (parenthesized_expression "(bFromValid == 0)" ( (binary_expression "bFromValid == 0" identifier == number_literal) )) (compound_statement "{\n            fts5MultiIterNext(p,pFVar4,0,0);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }" { (expression_statement "fts5MultiIterNext(p,pFVar4,0,0);" (call_expression "fts5MultiIterNext(p,pFVar4,0,0)" identifier (argument_list "(p,pFVar4,0,0)" ( identifier , identifier , number_literal , number_literal ))) ;) (expression_statement "iVar6 = pFVar4->pIndex->rc;" (assignment_expression "iVar6 = pFVar4->pIndex->rc" identifier = (field_expression "pFVar4->pIndex->rc" (field_expression "pFVar4->pIndex" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "pFVar4->pIndex->rc = 0;" (assignment_expression "pFVar4->pIndex->rc = 0" (field_expression "pFVar4->pIndex->rc" (field_expression "pFVar4->pIndex" identifier -> field_identifier) -> field_identifier) = number_literal) ;) }) (else_clause "else {\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }" else (compound_statement "{\nLAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);\n            iVar6 = pFVar4->pIndex->rc;\n            pFVar4->pIndex->rc = 0;\n          }" { (labeled_statement "LAB_001cd684:\n            fts5MultiIterNextFrom(p,pFVar4,iFrom);" statement_identifier : (expression_statement "fts5MultiIterNextFrom(p,pFVar4,iFrom);" (call_expression "fts5MultiIterNextFrom(p,pFVar4,iFrom)" identifier (argument_list "(p,pFVar4,iFrom)" ( identifier , identifier , identifier ))) ;)) (expression_statement "iVar6 = pFVar4->pIndex->rc;" (assignment_expression "iVar6 = pFVar4->pIndex->rc" identifier = (field_expression "pFVar4->pIndex->rc" (field_expression "pFVar4->pIndex" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "pFVar4->pIndex->rc = 0;" (assignment_expression "pFVar4->pIndex->rc = 0" (field_expression "pFVar4->pIndex->rc" (field_expression "pFVar4->pIndex" identifier -> field_identifier) -> field_identifier) = number_literal) ;) }))) (if_statement "if (iVar6 != 0) {\n            pNode->bEof = 1;\n            return iVar6;\n          }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n            pNode->bEof = 1;\n            return iVar6;\n          }" { (expression_statement "pNode->bEof = 1;" (assignment_expression "pNode->bEof = 1" (field_expression "pNode->bEof" identifier -> field_identifier) = number_literal) ;) (return_statement "return iVar6;" return identifier ;) })) (if_statement "if (pFVar9->pIter->bEof != '\0') {\n            pFVar9 = pFVar9->pSynonym;\n            if (pFVar9 == (Fts5ExprTerm *)0x0) break;\n            goto LAB_001cd601;\n          }" if (parenthesized_expression "(pFVar9->pIter->bEof != '\0')" ( (binary_expression "pFVar9->pIter->bEof != '\0'" (field_expression "pFVar9->pIter->bEof" (field_expression "pFVar9->pIter" identifier -> field_identifier) -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            pFVar9 = pFVar9->pSynonym;\n            if (pFVar9 == (Fts5ExprTerm *)0x0) break;\n            goto LAB_001cd601;\n          }" { (expression_statement "pFVar9 = pFVar9->pSynonym;" (assignment_expression "pFVar9 = pFVar9->pSynonym" identifier = (field_expression "pFVar9->pSynonym" identifier -> field_identifier)) ;) (if_statement "if (pFVar9 == (Fts5ExprTerm *)0x0) break;" if (parenthesized_expression "(pFVar9 == (Fts5ExprTerm *)0x0)" ( (binary_expression "pFVar9 == (Fts5ExprTerm *)0x0" identifier == (cast_expression "(Fts5ExprTerm *)0x0" ( (type_descriptor "Fts5ExprTerm *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (goto_statement "goto LAB_001cd601;" goto statement_identifier ;) })) }) (else_clause "else if (((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))\n        {\n          p = pFVar4->pIndex;\n          goto LAB_001cd684;\n        }" else (if_statement "if (((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))\n        {\n          p = pFVar4->pIndex;\n          goto LAB_001cd684;\n        }" if (parenthesized_expression "(((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc))" ( (binary_expression "((bFromValid != 0) && (lVar3 != iFrom)) && ((uint)(iFrom < lVar3) == pExpr->bDesc)" (parenthesized_expression "((bFromValid != 0) && (lVar3 != iFrom))" ( (binary_expression "(bFromValid != 0) && (lVar3 != iFrom)" (parenthesized_expression "(bFromValid != 0)" ( (binary_expression "bFromValid != 0" identifier != number_literal) )) && (parenthesized_expression "(lVar3 != iFrom)" ( (binary_expression "lVar3 != iFrom" identifier != identifier) ))) )) && (parenthesized_expression "((uint)(iFrom < lVar3) == pExpr->bDesc)" ( (binary_expression "(uint)(iFrom < lVar3) == pExpr->bDesc" (call_expression "(uint)(iFrom < lVar3)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iFrom < lVar3)" ( (binary_expression "iFrom < lVar3" identifier < identifier) ))) == (field_expression "pExpr->bDesc" identifier -> field_identifier)) ))) )) (compound_statement "{\n          p = pFVar4->pIndex;\n          goto LAB_001cd684;\n        }" { (expression_statement "p = pFVar4->pIndex;" (assignment_expression "p = pFVar4->pIndex" identifier = (field_expression "pFVar4->pIndex" identifier -> field_identifier)) ;) (goto_statement "goto LAB_001cd684;" goto statement_identifier ;) })))) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) })) (expression_statement "pFVar9 = pFVar9->pSynonym;" (assignment_expression "pFVar9 = pFVar9->pSynonym" identifier = (field_expression "pFVar9->pSynonym" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(pFVar9 != (Fts5ExprTerm *)0x0)" ( (binary_expression "pFVar9 != (Fts5ExprTerm *)0x0" identifier != (cast_expression "(Fts5ExprTerm *)0x0" ( (type_descriptor "Fts5ExprTerm *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;)) }))) (expression_statement "pNode->bEof = uVar11;" (assignment_expression "pNode->bEof = uVar11" (field_expression "pNode->bEof" identifier -> field_identifier) = identifier) ;) (if_statement "if (uVar11 != 0) {\n    return 0;\n  }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar6 = fts5ExprNodeTest_STRING(pExpr,pNode);" (assignment_expression "iVar6 = fts5ExprNodeTest_STRING(pExpr,pNode)" identifier = (call_expression "fts5ExprNodeTest_STRING(pExpr,pNode)" identifier (argument_list "(pExpr,pNode)" ( identifier , identifier )))) ;) (return_statement "return iVar6;" return identifier ;) })))
(translation_unit "ulong FUN_001cd540(long param_1,long param_2,int param_3,long param_4)\n\n{\n  uint uVar1;\n  long *plVar2;\n  bool bVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  uint uVar10;\n  \n  lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18);\n  *(undefined4 *)(param_2 + 8) = 0;\n  if (*(long *)(lVar8 + 0x38) == 0) {\n    lVar8 = *(long *)(lVar8 + 0x30);\n    if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    uVar5 = (ulong)uVar10;\n    if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }\n    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');\n  }\n  else {\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }\n  *(uint *)(param_2 + 4) = uVar10;\n  if (uVar10 != 0) {\n    return uVar5;\n  }\n  uVar5 = FUN_001cca90(param_1,param_2);\n  return uVar5;\n}\n\n" (function_definition "ulong FUN_001cd540(long param_1,long param_2,int param_3,long param_4)\n\n{\n  uint uVar1;\n  long *plVar2;\n  bool bVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  uint uVar10;\n  \n  lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18);\n  *(undefined4 *)(param_2 + 8) = 0;\n  if (*(long *)(lVar8 + 0x38) == 0) {\n    lVar8 = *(long *)(lVar8 + 0x30);\n    if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    uVar5 = (ulong)uVar10;\n    if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }\n    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');\n  }\n  else {\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }\n  *(uint *)(param_2 + 4) = uVar10;\n  if (uVar10 != 0) {\n    return uVar5;\n  }\n  uVar5 = FUN_001cca90(param_1,param_2);\n  return uVar5;\n}" type_identifier (function_declarator "FUN_001cd540(long param_1,long param_2,int param_3,long param_4)" identifier (parameter_list "(long param_1,long param_2,int param_3,long param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  uint uVar1;\n  long *plVar2;\n  bool bVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  uint uVar10;\n  \n  lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18);\n  *(undefined4 *)(param_2 + 8) = 0;\n  if (*(long *)(lVar8 + 0x38) == 0) {\n    lVar8 = *(long *)(lVar8 + 0x30);\n    if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    uVar5 = (ulong)uVar10;\n    if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }\n    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');\n  }\n  else {\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }\n  *(uint *)(param_2 + 4) = uVar10;\n  if (uVar10 != 0) {\n    return uVar5;\n  }\n  uVar5 = FUN_001cca90(param_1,param_2);\n  return uVar5;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (expression_statement "lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18);" (assignment_expression "lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18)" identifier = (pointer_expression "*(long *)(*(long *)(param_2 + 0x20) + 0x18)" * (cast_expression "(long *)(*(long *)(param_2 + 0x20) + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 0x20) + 0x18)" ( (binary_expression "*(long *)(param_2 + 0x20) + 0x18" (pointer_expression "*(long *)(param_2 + 0x20)" * (cast_expression "(long *)(param_2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_2 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 8) = 0" (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (*(long *)(lVar8 + 0x38) == 0) {\n    lVar8 = *(long *)(lVar8 + 0x30);\n    if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    uVar5 = (ulong)uVar10;\n    if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }\n    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');\n  }\n  else {\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }" if (parenthesized_expression "(*(long *)(lVar8 + 0x38) == 0)" ( (binary_expression "*(long *)(lVar8 + 0x38) == 0" (pointer_expression "*(long *)(lVar8 + 0x38)" * (cast_expression "(long *)(lVar8 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x38)" ( (binary_expression "lVar8 + 0x38" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    lVar8 = *(long *)(lVar8 + 0x30);\n    if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    uVar5 = (ulong)uVar10;\n    if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }\n    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');\n  }" { (expression_statement "lVar8 = *(long *)(lVar8 + 0x30);" (assignment_expression "lVar8 = *(long *)(lVar8 + 0x30)" identifier = (pointer_expression "*(long *)(lVar8 + 0x30)" * (cast_expression "(long *)(lVar8 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x30)" ( (binary_expression "lVar8 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }" { (expression_statement "FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);" (call_expression "FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0)" identifier (argument_list "(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0)" ( (pointer_expression "*(undefined8 *)(lVar8 + 0x18)" * (cast_expression "(undefined8 *)(lVar8 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x18)" ( (binary_expression "lVar8 + 0x18" identifier + number_literal) )))) , identifier , number_literal , number_literal ))) ;) (expression_statement "uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);" (assignment_expression "uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" identifier = (pointer_expression "*(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" * (cast_expression "(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar8 + 0x18) + 0x34)" ( (binary_expression "*(long *)(lVar8 + 0x18) + 0x34" (pointer_expression "*(long *)(lVar8 + 0x18)" * (cast_expression "(long *)(lVar8 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x18)" ( (binary_expression "lVar8 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;" (assignment_expression "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0" (pointer_expression "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34)" * (cast_expression "(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar8 + 0x18) + 0x34)" ( (binary_expression "*(long *)(lVar8 + 0x18) + 0x34" (pointer_expression "*(long *)(lVar8 + 0x18)" * (cast_expression "(long *)(lVar8 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x18)" ( (binary_expression "lVar8 + 0x18" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }" else (compound_statement "{\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }" { (expression_statement "FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);" (call_expression "FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4)" identifier (argument_list "(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4)" ( (pointer_expression "*(undefined8 *)(lVar8 + 0x18)" * (cast_expression "(undefined8 *)(lVar8 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x18)" ( (binary_expression "lVar8 + 0x18" identifier + number_literal) )))) , identifier , identifier ))) ;) (expression_statement "uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);" (assignment_expression "uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" identifier = (pointer_expression "*(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" * (cast_expression "(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar8 + 0x18) + 0x34)" ( (binary_expression "*(long *)(lVar8 + 0x18) + 0x34" (pointer_expression "*(long *)(lVar8 + 0x18)" * (cast_expression "(long *)(lVar8 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x18)" ( (binary_expression "lVar8 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;" (assignment_expression "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0" (pointer_expression "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34)" * (cast_expression "(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar8 + 0x18) + 0x34)" ( (binary_expression "*(long *)(lVar8 + 0x18) + 0x34" (pointer_expression "*(long *)(lVar8 + 0x18)" * (cast_expression "(long *)(lVar8 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x18)" ( (binary_expression "lVar8 + 0x18" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) }))) (expression_statement "uVar5 = (ulong)uVar10;" (assignment_expression "uVar5 = (ulong)uVar10" identifier = (cast_expression "(ulong)uVar10" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }" if (parenthesized_expression "(uVar10 != 0)" ( (binary_expression "uVar10 != 0" identifier != number_literal) )) (compound_statement "{\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }" { (expression_statement "*(undefined4 *)(param_2 + 4) = 1;" (assignment_expression "*(undefined4 *)(param_2 + 4) = 1" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return uVar5;" return identifier ;) })) (expression_statement "uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');" (assignment_expression "uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0')" identifier = (call_expression "(uint)(*(char *)(lVar8 + 0x14) != '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(char *)(lVar8 + 0x14) != '\0')" ( (binary_expression "*(char *)(lVar8 + 0x14) != '\0'" (pointer_expression "*(char *)(lVar8 + 0x14)" * (cast_expression "(char *)(lVar8 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x14)" ( (binary_expression "lVar8 + 0x14" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )))) ;) }) (else_clause "else {\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }" else (compound_statement "{\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }" { (expression_statement "lVar7 = lVar8 + 0x20;" (assignment_expression "lVar7 = lVar8 + 0x20" identifier = (binary_expression "lVar8 + 0x20" identifier + number_literal)) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "lVar8 = *(long *)(lVar8 + 0x38);" (assignment_expression "lVar8 = *(long *)(lVar8 + 0x38)" identifier = (pointer_expression "*(long *)(lVar8 + 0x38)" * (cast_expression "(long *)(lVar8 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar8 + 0x38)" ( (binary_expression "lVar8 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "lVar6 = lVar7;" (assignment_expression "lVar6 = lVar7" identifier = identifier) ;) (while_statement "while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }" { (expression_statement "lVar4 = lVar8;" (assignment_expression "lVar4 = lVar8" identifier = identifier) ;) (if_statement "if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }" if (parenthesized_expression "(*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0')" ( (binary_expression "*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0'" (pointer_expression "*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14)" * (cast_expression "(char *)((long)*(long **)(lVar6 + 0x10) + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)*(long **)(lVar6 + 0x10) + 0x14)" ( (binary_expression "(long)*(long **)(lVar6 + 0x10) + 0x14" (cast_expression "(long)*(long **)(lVar6 + 0x10)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*(long **)(lVar6 + 0x10)" * (cast_expression "(long **)(lVar6 + 0x10)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar6 + 0x10)" ( (binary_expression "lVar6 + 0x10" identifier + number_literal) ))))) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }" { (expression_statement "lVar8 = **(long **)(lVar6 + 0x10);" (assignment_expression "lVar8 = **(long **)(lVar6 + 0x10)" identifier = (pointer_expression "**(long **)(lVar6 + 0x10)" * (pointer_expression "*(long **)(lVar6 + 0x10)" * (cast_expression "(long **)(lVar6 + 0x10)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar6 + 0x10)" ( (binary_expression "lVar6 + 0x10" identifier + number_literal) )))))) ;) (if_statement "if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }" { (if_statement "if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }" if (parenthesized_expression "(*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9))" ( (binary_expression "*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)" (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) != (call_expression "(uint)(lVar8 < lVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar8 < lVar9)" ( (binary_expression "lVar8 < lVar9" identifier < identifier) )))) )) (compound_statement "{\n            lVar9 = lVar8;\n          }" { (expression_statement "lVar9 = lVar8;" (assignment_expression "lVar9 = lVar8" identifier = identifier) ;) })) }) (else_clause "else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }" else (compound_statement "{\n          bVar3 = true;\n          lVar9 = lVar8;\n        }" { (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) (expression_statement "lVar9 = lVar8;" (assignment_expression "lVar9 = lVar8" identifier = identifier) ;) }))) })) (if_statement "if (lVar4 == 0) break;" if (parenthesized_expression "(lVar4 == 0)" ( (binary_expression "lVar4 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar8 = *(long *)(lVar4 + 0x18);" (assignment_expression "lVar8 = *(long *)(lVar4 + 0x18)" identifier = (pointer_expression "*(long *)(lVar4 + 0x18)" * (cast_expression "(long *)(lVar4 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x18)" ( (binary_expression "lVar4 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "lVar6 = lVar4;" (assignment_expression "lVar6 = lVar4" identifier = identifier) ;) })) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) (labeled_statement "LAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);" statement_identifier : (do_statement "do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);" do (compound_statement "{\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    }" { (expression_statement "plVar2 = *(long **)(lVar7 + 0x10);" (assignment_expression "plVar2 = *(long **)(lVar7 + 0x10)" identifier = (pointer_expression "*(long **)(lVar7 + 0x10)" * (cast_expression "(long **)(lVar7 + 0x10)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar7 + 0x10)" ( (binary_expression "lVar7 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }" if (parenthesized_expression "(*(char *)((long)plVar2 + 0x14) == '\0')" ( (binary_expression "*(char *)((long)plVar2 + 0x14) == '\0'" (pointer_expression "*(char *)((long)plVar2 + 0x14)" * (cast_expression "(char *)((long)plVar2 + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)plVar2 + 0x14)" ( (binary_expression "(long)plVar2 + 0x14" (cast_expression "(long)plVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }" { (expression_statement "lVar8 = *plVar2;" (assignment_expression "lVar8 = *plVar2" identifier = (pointer_expression "*plVar2" * identifier)) ;) (if_statement "if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }" if (parenthesized_expression "(lVar8 == lVar9)" ( (binary_expression "lVar8 == lVar9" identifier == identifier) )) (compound_statement "{\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }" { (expression_statement "lVar8 = plVar2[3];" (assignment_expression "lVar8 = plVar2[3]" identifier = (subscript_expression "plVar2[3]" identifier [ number_literal ])) ;) (if_statement "if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }" { (expression_statement "FUN_001cc520(lVar8,plVar2,0,0);" (call_expression "FUN_001cc520(lVar8,plVar2,0,0)" identifier (argument_list "(lVar8,plVar2,0,0)" ( identifier , identifier , number_literal , number_literal ))) ;) (expression_statement "uVar1 = *(uint *)(plVar2[3] + 0x34);" (assignment_expression "uVar1 = *(uint *)(plVar2[3] + 0x34)" identifier = (pointer_expression "*(uint *)(plVar2[3] + 0x34)" * (cast_expression "(uint *)(plVar2[3] + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2[3] + 0x34)" ( (binary_expression "plVar2[3] + 0x34" (subscript_expression "plVar2[3]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(plVar2[3] + 0x34) = 0;" (assignment_expression "*(undefined4 *)(plVar2[3] + 0x34) = 0" (pointer_expression "*(undefined4 *)(plVar2[3] + 0x34)" * (cast_expression "(undefined4 *)(plVar2[3] + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2[3] + 0x34)" ( (binary_expression "plVar2[3] + 0x34" (subscript_expression "plVar2[3]" identifier [ number_literal ]) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }" else (compound_statement "{\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }" { (labeled_statement "LAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);" statement_identifier : (expression_statement "FUN_001cca20(lVar8,plVar2,param_4);" (call_expression "FUN_001cca20(lVar8,plVar2,param_4)" identifier (argument_list "(lVar8,plVar2,param_4)" ( identifier , identifier , identifier ))) ;)) (expression_statement "uVar1 = *(uint *)(plVar2[3] + 0x34);" (assignment_expression "uVar1 = *(uint *)(plVar2[3] + 0x34)" identifier = (pointer_expression "*(uint *)(plVar2[3] + 0x34)" * (cast_expression "(uint *)(plVar2[3] + 0x34)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2[3] + 0x34)" ( (binary_expression "plVar2[3] + 0x34" (subscript_expression "plVar2[3]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(plVar2[3] + 0x34) = 0;" (assignment_expression "*(undefined4 *)(plVar2[3] + 0x34) = 0" (pointer_expression "*(undefined4 *)(plVar2[3] + 0x34)" * (cast_expression "(undefined4 *)(plVar2[3] + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar2[3] + 0x34)" ( (binary_expression "plVar2[3] + 0x34" (subscript_expression "plVar2[3]" identifier [ number_literal ]) + number_literal) )))) = number_literal) ;) }))) (if_statement "if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }" { (expression_statement "*(undefined4 *)(param_2 + 4) = 1;" (assignment_expression "*(undefined4 *)(param_2 + 4) = 1" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = number_literal) ;) (return_statement "return (ulong)uVar1;" return (cast_expression "(ulong)uVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) ;) })) (if_statement "if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }" if (parenthesized_expression "(*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0')" ( (binary_expression "*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0'" (pointer_expression "*(char *)(*(long *)(lVar7 + 0x10) + 0x14)" * (cast_expression "(char *)(*(long *)(lVar7 + 0x10) + 0x14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x10) + 0x14)" ( (binary_expression "*(long *)(lVar7 + 0x10) + 0x14" (pointer_expression "*(long *)(lVar7 + 0x10)" * (cast_expression "(long *)(lVar7 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x10)" ( (binary_expression "lVar7 + 0x10" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }" { (expression_statement "lVar7 = *(long *)(lVar7 + 0x18);" (assignment_expression "lVar7 = *(long *)(lVar7 + 0x18)" identifier = (pointer_expression "*(long *)(lVar7 + 0x18)" * (cast_expression "(long *)(lVar7 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x18)" ( (binary_expression "lVar7 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (lVar7 == 0) break;" if (parenthesized_expression "(lVar7 == 0)" ( (binary_expression "lVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (goto_statement "goto LAB_001cd601;" goto statement_identifier ;) })) }) (else_clause "else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }" else (if_statement "if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }" if (parenthesized_expression "(((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18)))" ( (binary_expression "((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))" (parenthesized_expression "((param_3 != 0) && (lVar8 != param_4))" ( (binary_expression "(param_3 != 0) && (lVar8 != param_4)" (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) && (parenthesized_expression "(lVar8 != param_4)" ( (binary_expression "lVar8 != param_4" identifier != identifier) ))) )) && (parenthesized_expression "((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))" ( (binary_expression "(uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18)" (call_expression "(uint)(param_4 < lVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_4 < lVar8)" ( (binary_expression "param_4 < lVar8" identifier < identifier) ))) == (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ))) )) (compound_statement "{\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }" { (expression_statement "lVar8 = plVar2[3];" (assignment_expression "lVar8 = plVar2[3]" identifier = (subscript_expression "plVar2[3]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_001cd684;" goto statement_identifier ;) })))) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) })) (expression_statement "lVar7 = *(long *)(lVar7 + 0x18);" (assignment_expression "lVar7 = *(long *)(lVar7 + 0x18)" identifier = (pointer_expression "*(long *)(lVar7 + 0x18)" * (cast_expression "(long *)(lVar7 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x18)" ( (binary_expression "lVar7 + 0x18" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(lVar7 != 0)" ( (binary_expression "lVar7 != 0" identifier != number_literal) )) ;)) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }))) (expression_statement "*(uint *)(param_2 + 4) = uVar10;" (assignment_expression "*(uint *)(param_2 + 4) = uVar10" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = identifier) ;) (if_statement "if (uVar10 != 0) {\n    return uVar5;\n  }" if (parenthesized_expression "(uVar10 != 0)" ( (binary_expression "uVar10 != 0" identifier != number_literal) )) (compound_statement "{\n    return uVar5;\n  }" { (return_statement "return uVar5;" return identifier ;) })) (expression_statement "uVar5 = FUN_001cca90(param_1,param_2);" (assignment_expression "uVar5 = FUN_001cca90(param_1,param_2)" identifier = (call_expression "FUN_001cca90(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (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) )))) != (char_literal ' escape_sequence ')) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( IDENT )) (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) )))) != (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (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 (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , LIT ))) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;)) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return (cast_expression ( (type_descriptor TYPE) ) IDENT) ;) })) (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (goto_statement goto statement_identifier ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) && (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })))) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (return_statement return IDENT ;) })))
(function_definition "ulong FUN_001cd540(long param_1,long param_2,int param_3,long param_4)\n\n{\n  uint uVar1;\n  long *plVar2;\n  bool bVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  uint uVar10;\n  \n  lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18);\n  *(undefined4 *)(param_2 + 8) = 0;\n  if (*(long *)(lVar8 + 0x38) == 0) {\n    lVar8 = *(long *)(lVar8 + 0x30);\n    if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    uVar5 = (ulong)uVar10;\n    if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }\n    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');\n  }\n  else {\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }\n  *(uint *)(param_2 + 4) = uVar10;\n  if (uVar10 != 0) {\n    return uVar5;\n  }\n  uVar5 = FUN_001cca90(param_1,param_2);\n  return uVar5;\n}" (type_identifier "ulong") (function_declarator "FUN_001cd540(long param_1,long param_2,int param_3,long param_4)" (identifier "FUN_001cd540") (parameter_list "(long param_1,long param_2,int param_3,long param_4)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "long param_4" (sized_type_specifier "long" (long "long")) (identifier "param_4")) () ")"))) (compound_statement "{\n  uint uVar1;\n  long *plVar2;\n  bool bVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  long lVar9;\n  uint uVar10;\n  \n  lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18);\n  *(undefined4 *)(param_2 + 8) = 0;\n  if (*(long *)(lVar8 + 0x38) == 0) {\n    lVar8 = *(long *)(lVar8 + 0x30);\n    if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    uVar5 = (ulong)uVar10;\n    if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }\n    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');\n  }\n  else {\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }\n  *(uint *)(param_2 + 4) = uVar10;\n  if (uVar10 != 0) {\n    return uVar5;\n  }\n  uVar5 = FUN_001cca90(param_1,param_2);\n  return uVar5;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (declaration "long lVar6;" (sized_type_specifier "long" (long "long")) (identifier "lVar6") (; ";")) (declaration "long lVar7;" (sized_type_specifier "long" (long "long")) (identifier "lVar7") (; ";")) (declaration "long lVar8;" (sized_type_specifier "long" (long "long")) (identifier "lVar8") (; ";")) (declaration "long lVar9;" (sized_type_specifier "long" (long "long")) (identifier "lVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (expression_statement "lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18);" (assignment_expression "lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18)" (identifier "lVar8") (= "=") (pointer_expression "*(long *)(*(long *)(param_2 + 0x20) + 0x18)" (* "*") (cast_expression "(long *)(*(long *)(param_2 + 0x20) + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_2 + 0x20) + 0x18)" (( "(") (binary_expression "*(long *)(param_2 + 0x20) + 0x18" (pointer_expression "*(long *)(param_2 + 0x20)" (* "*") (cast_expression "(long *)(param_2 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_2 + 8) = 0" (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(long *)(lVar8 + 0x38) == 0) {\n    lVar8 = *(long *)(lVar8 + 0x30);\n    if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    uVar5 = (ulong)uVar10;\n    if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }\n    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');\n  }\n  else {\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }" (if "if") (parenthesized_expression "(*(long *)(lVar8 + 0x38) == 0)" (( "(") (binary_expression "*(long *)(lVar8 + 0x38) == 0" (pointer_expression "*(long *)(lVar8 + 0x38)" (* "*") (cast_expression "(long *)(lVar8 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar8 + 0x38)" (( "(") (binary_expression "lVar8 + 0x38" (identifier "lVar8") (+ "+") (number_literal "0x38")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    lVar8 = *(long *)(lVar8 + 0x30);\n    if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    uVar5 = (ulong)uVar10;\n    if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }\n    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');\n  }" ({ "{") (expression_statement "lVar8 = *(long *)(lVar8 + 0x30);" (assignment_expression "lVar8 = *(long *)(lVar8 + 0x30)" (identifier "lVar8") (= "=") (pointer_expression "*(long *)(lVar8 + 0x30)" (* "*") (cast_expression "(long *)(lVar8 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar8 + 0x30)" (( "(") (binary_expression "lVar8 + 0x30" (identifier "lVar8") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (if_statement "if (param_3 == 0) {\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }\n    else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }" ({ "{") (expression_statement "FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);" (call_expression "FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0)" (identifier "FUN_001cc520") (argument_list "(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0)" (( "(") (pointer_expression "*(undefined8 *)(lVar8 + 0x18)" (* "*") (cast_expression "(undefined8 *)(lVar8 + 0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar8 + 0x18)" (( "(") (binary_expression "lVar8 + 0x18" (identifier "lVar8") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (identifier "lVar8") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);" (assignment_expression "uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" (identifier "uVar10") (= "=") (pointer_expression "*(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" (* "*") (cast_expression "(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar8 + 0x18) + 0x34)" (( "(") (binary_expression "*(long *)(lVar8 + 0x18) + 0x34" (pointer_expression "*(long *)(lVar8 + 0x18)" (* "*") (cast_expression "(long *)(lVar8 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar8 + 0x18)" (( "(") (binary_expression "lVar8 + 0x18" (identifier "lVar8") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;" (assignment_expression "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0" (pointer_expression "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34)" (* "*") (cast_expression "(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar8 + 0x18) + 0x34)" (( "(") (binary_expression "*(long *)(lVar8 + 0x18) + 0x34" (pointer_expression "*(long *)(lVar8 + 0x18)" (* "*") (cast_expression "(long *)(lVar8 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar8 + 0x18)" (( "(") (binary_expression "lVar8 + 0x18" (identifier "lVar8") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0x34")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }" (else "else") (compound_statement "{\n      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);\n      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);\n      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;\n    }" ({ "{") (expression_statement "FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);" (call_expression "FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4)" (identifier "FUN_001cca20") (argument_list "(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4)" (( "(") (pointer_expression "*(undefined8 *)(lVar8 + 0x18)" (* "*") (cast_expression "(undefined8 *)(lVar8 + 0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar8 + 0x18)" (( "(") (binary_expression "lVar8 + 0x18" (identifier "lVar8") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (identifier "lVar8") (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);" (assignment_expression "uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" (identifier "uVar10") (= "=") (pointer_expression "*(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" (* "*") (cast_expression "(uint *)(*(long *)(lVar8 + 0x18) + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar8 + 0x18) + 0x34)" (( "(") (binary_expression "*(long *)(lVar8 + 0x18) + 0x34" (pointer_expression "*(long *)(lVar8 + 0x18)" (* "*") (cast_expression "(long *)(lVar8 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar8 + 0x18)" (( "(") (binary_expression "lVar8 + 0x18" (identifier "lVar8") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;" (assignment_expression "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0" (pointer_expression "*(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34)" (* "*") (cast_expression "(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar8 + 0x18) + 0x34)" (( "(") (binary_expression "*(long *)(lVar8 + 0x18) + 0x34" (pointer_expression "*(long *)(lVar8 + 0x18)" (* "*") (cast_expression "(long *)(lVar8 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar8 + 0x18)" (( "(") (binary_expression "lVar8 + 0x18" (identifier "lVar8") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0x34")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "uVar5 = (ulong)uVar10;" (assignment_expression "uVar5 = (ulong)uVar10" (identifier "uVar5") (= "=") (cast_expression "(ulong)uVar10" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar10"))) (; ";")) (if_statement "if (uVar10 != 0) {\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }" (if "if") (parenthesized_expression "(uVar10 != 0)" (( "(") (binary_expression "uVar10 != 0" (identifier "uVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined4 *)(param_2 + 4) = 1;\n      return uVar5;\n    }" ({ "{") (expression_statement "*(undefined4 *)(param_2 + 4) = 1;" (assignment_expression "*(undefined4 *)(param_2 + 4) = 1" (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}"))) (expression_statement "uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');" (assignment_expression "uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0')" (identifier "uVar10") (= "=") (call_expression "(uint)(*(char *)(lVar8 + 0x14) != '\0')" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(char *)(lVar8 + 0x14) != '\0')" (( "(") (binary_expression "*(char *)(lVar8 + 0x14) != '\0'" (pointer_expression "*(char *)(lVar8 + 0x14)" (* "*") (cast_expression "(char *)(lVar8 + 0x14)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar8 + 0x14)" (( "(") (binary_expression "lVar8 + 0x14" (identifier "lVar8") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }" (else "else") (compound_statement "{\n    lVar7 = lVar8 + 0x20;\n    lVar9 = 0;\n    bVar3 = false;\n    lVar8 = *(long *)(lVar8 + 0x38);\n    lVar6 = lVar7;\n    while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }\n    uVar10 = 1;\nLAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);\n    uVar5 = 0;\n  }" ({ "{") (expression_statement "lVar7 = lVar8 + 0x20;" (assignment_expression "lVar7 = lVar8 + 0x20" (identifier "lVar7") (= "=") (binary_expression "lVar8 + 0x20" (identifier "lVar8") (+ "+") (number_literal "0x20"))) (; ";")) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" (identifier "lVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (; ";")) (expression_statement "lVar8 = *(long *)(lVar8 + 0x38);" (assignment_expression "lVar8 = *(long *)(lVar8 + 0x38)" (identifier "lVar8") (= "=") (pointer_expression "*(long *)(lVar8 + 0x38)" (* "*") (cast_expression "(long *)(lVar8 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar8 + 0x38)" (( "(") (binary_expression "lVar8 + 0x38" (identifier "lVar8") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "lVar6 = lVar7;" (assignment_expression "lVar6 = lVar7" (identifier "lVar6") (= "=") (identifier "lVar7")) (; ";")) (while_statement "while( true ) {\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      lVar4 = lVar8;\n      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }\n      if (lVar4 == 0) break;\n      lVar8 = *(long *)(lVar4 + 0x18);\n      lVar6 = lVar4;\n    }" ({ "{") (expression_statement "lVar4 = lVar8;" (assignment_expression "lVar4 = lVar8" (identifier "lVar4") (= "=") (identifier "lVar8")) (; ";")) (if_statement "if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }" (if "if") (parenthesized_expression "(*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0')" (( "(") (binary_expression "*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0'" (pointer_expression "*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14)" (* "*") (cast_expression "(char *)((long)*(long **)(lVar6 + 0x10) + 0x14)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)*(long **)(lVar6 + 0x10) + 0x14)" (( "(") (binary_expression "(long)*(long **)(lVar6 + 0x10) + 0x14" (cast_expression "(long)*(long **)(lVar6 + 0x10)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*(long **)(lVar6 + 0x10)" (* "*") (cast_expression "(long **)(lVar6 + 0x10)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar6 + 0x10)" (( "(") (binary_expression "lVar6 + 0x10" (identifier "lVar6") (+ "+") (number_literal "0x10")) () ")"))))) (+ "+") (number_literal "0x14")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        lVar8 = **(long **)(lVar6 + 0x10);\n        if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }\n      }" ({ "{") (expression_statement "lVar8 = **(long **)(lVar6 + 0x10);" (assignment_expression "lVar8 = **(long **)(lVar6 + 0x10)" (identifier "lVar8") (= "=") (pointer_expression "**(long **)(lVar6 + 0x10)" (* "*") (pointer_expression "*(long **)(lVar6 + 0x10)" (* "*") (cast_expression "(long **)(lVar6 + 0x10)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar6 + 0x10)" (( "(") (binary_expression "lVar6 + 0x10" (identifier "lVar6") (+ "+") (number_literal "0x10")) () ")")))))) (; ";")) (if_statement "if (bVar3) {\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }\n        else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }" (if "if") (parenthesized_expression "(bVar3)" (( "(") (identifier "bVar3") () ")")) (compound_statement "{\n          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }\n        }" ({ "{") (if_statement "if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {\n            lVar9 = lVar8;\n          }" (if "if") (parenthesized_expression "(*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9))" (( "(") (binary_expression "*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)" (pointer_expression "*(uint *)(param_1 + 0x18)" (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (call_expression "(uint)(lVar8 < lVar9)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(lVar8 < lVar9)" (( "(") (binary_expression "lVar8 < lVar9" (identifier "lVar8") (< "<") (identifier "lVar9")) () ")")))) () ")")) (compound_statement "{\n            lVar9 = lVar8;\n          }" ({ "{") (expression_statement "lVar9 = lVar8;" (assignment_expression "lVar9 = lVar8" (identifier "lVar9") (= "=") (identifier "lVar8")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          bVar3 = true;\n          lVar9 = lVar8;\n        }" (else "else") (compound_statement "{\n          bVar3 = true;\n          lVar9 = lVar8;\n        }" ({ "{") (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" (identifier "bVar3") (= "=") (true "true")) (; ";")) (expression_statement "lVar9 = lVar8;" (assignment_expression "lVar9 = lVar8" (identifier "lVar9") (= "=") (identifier "lVar8")) (; ";")) (} "}")))) (} "}"))) (if_statement "if (lVar4 == 0) break;" (if "if") (parenthesized_expression "(lVar4 == 0)" (( "(") (binary_expression "lVar4 == 0" (identifier "lVar4") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "lVar8 = *(long *)(lVar4 + 0x18);" (assignment_expression "lVar8 = *(long *)(lVar4 + 0x18)" (identifier "lVar8") (= "=") (pointer_expression "*(long *)(lVar4 + 0x18)" (* "*") (cast_expression "(long *)(lVar4 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x18)" (( "(") (binary_expression "lVar4 + 0x18" (identifier "lVar4") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "lVar6 = lVar4;" (assignment_expression "lVar6 = lVar4" (identifier "lVar6") (= "=") (identifier "lVar4")) (; ";")) (} "}"))) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" (identifier "uVar10") (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_001cd601:\n    do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);" (statement_identifier "LAB_001cd601") (: ":") (do_statement "do {\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    } while (lVar7 != 0);" (do "do") (compound_statement "{\n      plVar2 = *(long **)(lVar7 + 0x10);\n      if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }\n      lVar7 = *(long *)(lVar7 + 0x18);\n    }" ({ "{") (expression_statement "plVar2 = *(long **)(lVar7 + 0x10);" (assignment_expression "plVar2 = *(long **)(lVar7 + 0x10)" (identifier "plVar2") (= "=") (pointer_expression "*(long **)(lVar7 + 0x10)" (* "*") (cast_expression "(long **)(lVar7 + 0x10)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar7 + 0x10)" (( "(") (binary_expression "lVar7 + 0x10" (identifier "lVar7") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (*(char *)((long)plVar2 + 0x14) == '\0') {\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }" (if "if") (parenthesized_expression "(*(char *)((long)plVar2 + 0x14) == '\0')" (( "(") (binary_expression "*(char *)((long)plVar2 + 0x14) == '\0'" (pointer_expression "*(char *)((long)plVar2 + 0x14)" (* "*") (cast_expression "(char *)((long)plVar2 + 0x14)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)plVar2 + 0x14)" (( "(") (binary_expression "(long)plVar2 + 0x14" (cast_expression "(long)plVar2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar2")) (+ "+") (number_literal "0x14")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        lVar8 = *plVar2;\n        if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }\n        uVar10 = 0;\n      }" ({ "{") (expression_statement "lVar8 = *plVar2;" (assignment_expression "lVar8 = *plVar2" (identifier "lVar8") (= "=") (pointer_expression "*plVar2" (* "*") (identifier "plVar2"))) (; ";")) (if_statement "if (lVar8 == lVar9) {\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }\n        else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }" (if "if") (parenthesized_expression "(lVar8 == lVar9)" (( "(") (binary_expression "lVar8 == lVar9" (identifier "lVar8") (== "==") (identifier "lVar9")) () ")")) (compound_statement "{\n          lVar8 = plVar2[3];\n          if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }\n          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }\n        }" ({ "{") (expression_statement "lVar8 = plVar2[3];" (assignment_expression "lVar8 = plVar2[3]" (identifier "lVar8") (= "=") (subscript_expression "plVar2[3]" (identifier "plVar2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (param_3 == 0) {\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }\n          else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            FUN_001cc520(lVar8,plVar2,0,0);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }" ({ "{") (expression_statement "FUN_001cc520(lVar8,plVar2,0,0);" (call_expression "FUN_001cc520(lVar8,plVar2,0,0)" (identifier "FUN_001cc520") (argument_list "(lVar8,plVar2,0,0)" (( "(") (identifier "lVar8") (, ",") (identifier "plVar2") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "uVar1 = *(uint *)(plVar2[3] + 0x34);" (assignment_expression "uVar1 = *(uint *)(plVar2[3] + 0x34)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(plVar2[3] + 0x34)" (* "*") (cast_expression "(uint *)(plVar2[3] + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(plVar2[3] + 0x34)" (( "(") (binary_expression "plVar2[3] + 0x34" (subscript_expression "plVar2[3]" (identifier "plVar2") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(plVar2[3] + 0x34) = 0;" (assignment_expression "*(undefined4 *)(plVar2[3] + 0x34) = 0" (pointer_expression "*(undefined4 *)(plVar2[3] + 0x34)" (* "*") (cast_expression "(undefined4 *)(plVar2[3] + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(plVar2[3] + 0x34)" (( "(") (binary_expression "plVar2[3] + 0x34" (subscript_expression "plVar2[3]" (identifier "plVar2") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "0x34")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }" (else "else") (compound_statement "{\nLAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);\n            uVar1 = *(uint *)(plVar2[3] + 0x34);\n            *(undefined4 *)(plVar2[3] + 0x34) = 0;\n          }" ({ "{") (labeled_statement "LAB_001cd684:\n            FUN_001cca20(lVar8,plVar2,param_4);" (statement_identifier "LAB_001cd684") (: ":") (expression_statement "FUN_001cca20(lVar8,plVar2,param_4);" (call_expression "FUN_001cca20(lVar8,plVar2,param_4)" (identifier "FUN_001cca20") (argument_list "(lVar8,plVar2,param_4)" (( "(") (identifier "lVar8") (, ",") (identifier "plVar2") (, ",") (identifier "param_4") () ")"))) (; ";"))) (expression_statement "uVar1 = *(uint *)(plVar2[3] + 0x34);" (assignment_expression "uVar1 = *(uint *)(plVar2[3] + 0x34)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(plVar2[3] + 0x34)" (* "*") (cast_expression "(uint *)(plVar2[3] + 0x34)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(plVar2[3] + 0x34)" (( "(") (binary_expression "plVar2[3] + 0x34" (subscript_expression "plVar2[3]" (identifier "plVar2") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(plVar2[3] + 0x34) = 0;" (assignment_expression "*(undefined4 *)(plVar2[3] + 0x34) = 0" (pointer_expression "*(undefined4 *)(plVar2[3] + 0x34)" (* "*") (cast_expression "(undefined4 *)(plVar2[3] + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(plVar2[3] + 0x34)" (( "(") (binary_expression "plVar2[3] + 0x34" (subscript_expression "plVar2[3]" (identifier "plVar2") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "0x34")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")))) (if_statement "if (uVar1 != 0) {\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }" (if "if") (parenthesized_expression "(uVar1 != 0)" (( "(") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            *(undefined4 *)(param_2 + 4) = 1;\n            return (ulong)uVar1;\n          }" ({ "{") (expression_statement "*(undefined4 *)(param_2 + 4) = 1;" (assignment_expression "*(undefined4 *)(param_2 + 4) = 1" (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return (ulong)uVar1;" (return "return") (cast_expression "(ulong)uVar1" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar1")) (; ";")) (} "}"))) (if_statement "if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }" (if "if") (parenthesized_expression "(*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0')" (( "(") (binary_expression "*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0'" (pointer_expression "*(char *)(*(long *)(lVar7 + 0x10) + 0x14)" (* "*") (cast_expression "(char *)(*(long *)(lVar7 + 0x10) + 0x14)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar7 + 0x10) + 0x14)" (( "(") (binary_expression "*(long *)(lVar7 + 0x10) + 0x14" (pointer_expression "*(long *)(lVar7 + 0x10)" (* "*") (cast_expression "(long *)(lVar7 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x10)" (( "(") (binary_expression "lVar7 + 0x10" (identifier "lVar7") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            lVar7 = *(long *)(lVar7 + 0x18);\n            if (lVar7 == 0) break;\n            goto LAB_001cd601;\n          }" ({ "{") (expression_statement "lVar7 = *(long *)(lVar7 + 0x18);" (assignment_expression "lVar7 = *(long *)(lVar7 + 0x18)" (identifier "lVar7") (= "=") (pointer_expression "*(long *)(lVar7 + 0x18)" (* "*") (cast_expression "(long *)(lVar7 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x18)" (( "(") (binary_expression "lVar7 + 0x18" (identifier "lVar7") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (lVar7 == 0) break;" (if "if") (parenthesized_expression "(lVar7 == 0)" (( "(") (binary_expression "lVar7 == 0" (identifier "lVar7") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (goto_statement "goto LAB_001cd601;" (goto "goto") (statement_identifier "LAB_001cd601") (; ";")) (} "}"))) (} "}")) (else_clause "else if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }" (else "else") (if_statement "if (((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }" (if "if") (parenthesized_expression "(((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18)))" (( "(") (binary_expression "((param_3 != 0) && (lVar8 != param_4)) &&\n                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))" (parenthesized_expression "((param_3 != 0) && (lVar8 != param_4))" (( "(") (binary_expression "(param_3 != 0) && (lVar8 != param_4)" (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(lVar8 != param_4)" (( "(") (binary_expression "lVar8 != param_4" (identifier "lVar8") (!= "!=") (identifier "param_4")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))" (( "(") (binary_expression "(uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18)" (call_expression "(uint)(param_4 < lVar8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_4 < lVar8)" (( "(") (binary_expression "param_4 < lVar8" (identifier "param_4") (< "<") (identifier "lVar8")) () ")"))) (== "==") (pointer_expression "*(uint *)(param_1 + 0x18)" (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n          lVar8 = plVar2[3];\n          goto LAB_001cd684;\n        }" ({ "{") (expression_statement "lVar8 = plVar2[3];" (assignment_expression "lVar8 = plVar2[3]" (identifier "lVar8") (= "=") (subscript_expression "plVar2[3]" (identifier "plVar2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (goto_statement "goto LAB_001cd684;" (goto "goto") (statement_identifier "LAB_001cd684") (; ";")) (} "}"))))) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "lVar7 = *(long *)(lVar7 + 0x18);" (assignment_expression "lVar7 = *(long *)(lVar7 + 0x18)" (identifier "lVar7") (= "=") (pointer_expression "*(long *)(lVar7 + 0x18)" (* "*") (cast_expression "(long *)(lVar7 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x18)" (( "(") (binary_expression "lVar7 + 0x18" (identifier "lVar7") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar7 != 0)" (( "(") (binary_expression "lVar7 != 0" (identifier "lVar7") (!= "!=") (number_literal "0")) () ")")) (; ";"))) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "*(uint *)(param_2 + 4) = uVar10;" (assignment_expression "*(uint *)(param_2 + 4) = uVar10" (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar10")) (; ";")) (if_statement "if (uVar10 != 0) {\n    return uVar5;\n  }" (if "if") (parenthesized_expression "(uVar10 != 0)" (( "(") (binary_expression "uVar10 != 0" (identifier "uVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return uVar5;\n  }" ({ "{") (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}"))) (expression_statement "uVar5 = FUN_001cca90(param_1,param_2);" (assignment_expression "uVar5 = FUN_001cca90(param_1,param_2)" (identifier "uVar5") (= "=") (call_expression "FUN_001cca90(param_1,param_2)" (identifier "FUN_001cca90") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))

int function_1(type_1 *pExpr,type_2 *pNode,int var_2,type_3 var_10)

{
  type_4 *pFVar1;
  type_5 *var_1;
  long var_6;
  type_6 *pFVar4;
  bool bVar5;
  int var_5;
  type_5 *var_8;
  type_5 *pFVar8;
  type_5 *var_9;
  type_7 *p;
  long var_7;
  type_8 var_11;
  
  pFVar1 = pNode->pNear->apPhrase[0];
  pNode->bNomatch = 0;
  var_1 = pFVar1->aTerm[0].pSynonym;
  if (var_1 == (type_5 *)0x0) {
    pFVar4 = (type_6 *)pFVar1->aTerm[0].pIter;
    if (var_2 == 0) {
      var_3(pFVar4->pIndex,pFVar4,0,0);
      var_5 = pFVar4->pIndex->rc;
      pFVar4->pIndex->rc = 0;
    }
    else {
      var_4(pFVar4->pIndex,pFVar4,var_10);
      var_5 = pFVar4->pIndex->rc;
      pFVar4->pIndex->rc = 0;
    }
    if (var_5 != 0) {
      pNode->bEof = 1;
      return var_5;
    }
    var_11 = (type_8)((pFVar4->base).bEof != '\0');
  }
  else {
    var_9 = pFVar1->aTerm;
    var_7 = 0;
    bVar5 = false;
    pFVar8 = var_9;
    while( true ) {
      var_8 = var_1;
      if (pFVar8->pIter->bEof == '\0') {
        var_6 = pFVar8->pIter->iRowid;
        if (bVar5) {
          if (pExpr->bDesc != (type_8)(var_6 < var_7)) {
            var_7 = var_6;
          }
        }
        else {
          bVar5 = true;
          var_7 = var_6;
        }
      }
      if (var_8 == (type_5 *)0x0) break;
      var_1 = var_8->pSynonym;
      pFVar8 = var_8;
    }
    var_11 = 1;
LAB_001cd601:
    do {
      pFVar4 = (type_6 *)var_9->pIter;
      if ((pFVar4->base).bEof == '\0') {
        var_6 = (pFVar4->base).iRowid;
        if (var_6 == var_7) {
          p = pFVar4->pIndex;
          if (var_2 == 0) {
            var_3(p,pFVar4,0,0);
            var_5 = pFVar4->pIndex->rc;
            pFVar4->pIndex->rc = 0;
          }
          else {
LAB_001cd684:
            var_4(p,pFVar4,var_10);
            var_5 = pFVar4->pIndex->rc;
            pFVar4->pIndex->rc = 0;
          }
          if (var_5 != 0) {
            pNode->bEof = 1;
            return var_5;
          }
          if (var_9->pIter->bEof != '\0') {
            var_9 = var_9->pSynonym;
            if (var_9 == (type_5 *)0x0) break;
            goto LAB_001cd601;
          }
        }
        else if (((var_2 != 0) && (var_6 != var_10)) && ((type_8)(var_10 < var_6) == pExpr->bDesc))
        {
          p = pFVar4->pIndex;
          goto LAB_001cd684;
        }
        var_11 = 0;
      }
      var_9 = var_9->pSynonym;
    } while (var_9 != (type_5 *)0x0);
  }
  pNode->bEof = var_11;
  if (var_11 != 0) {
    return 0;
  }
  var_5 = var_12(pExpr,pNode);
  return var_5;
}


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

ulong MASKED(long param_1,long param_2,int param_3,long param_4)

{
  uint uVar1;
  long *plVar2;
  bool bVar3;
  long lVar4;
  ulong uVar5;
  long lVar6;
  long lVar7;
  long lVar8;
  long lVar9;
  uint uVar10;
  
  lVar8 = *(long *)(*(long *)(param_2 + 0x20) + 0x18);
  *(undefined4 *)(param_2 + 8) = 0;
  if (*(long *)(lVar8 + 0x38) == 0) {
    lVar8 = *(long *)(lVar8 + 0x30);
    if (param_3 == 0) {
      FUN_001cc520(*(undefined8 *)(lVar8 + 0x18),lVar8,0,0);
      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);
      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;
    }
    else {
      FUN_001cca20(*(undefined8 *)(lVar8 + 0x18),lVar8,param_4);
      uVar10 = *(uint *)(*(long *)(lVar8 + 0x18) + 0x34);
      *(undefined4 *)(*(long *)(lVar8 + 0x18) + 0x34) = 0;
    }
    uVar5 = (ulong)uVar10;
    if (uVar10 != 0) {
      *(undefined4 *)(param_2 + 4) = 1;
      return uVar5;
    }
    uVar10 = (uint)(*(char *)(lVar8 + 0x14) != '\0');
  }
  else {
    lVar7 = lVar8 + 0x20;
    lVar9 = 0;
    bVar3 = false;
    lVar8 = *(long *)(lVar8 + 0x38);
    lVar6 = lVar7;
    while( true ) {
      lVar4 = lVar8;
      if (*(char *)((long)*(long **)(lVar6 + 0x10) + 0x14) == '\0') {
        lVar8 = **(long **)(lVar6 + 0x10);
        if (bVar3) {
          if (*(uint *)(param_1 + 0x18) != (uint)(lVar8 < lVar9)) {
            lVar9 = lVar8;
          }
        }
        else {
          bVar3 = true;
          lVar9 = lVar8;
        }
      }
      if (lVar4 == 0) break;
      lVar8 = *(long *)(lVar4 + 0x18);
      lVar6 = lVar4;
    }
    uVar10 = 1;
LAB_001cd601:
    do {
      plVar2 = *(long **)(lVar7 + 0x10);
      if (*(char *)((long)plVar2 + 0x14) == '\0') {
        lVar8 = *plVar2;
        if (lVar8 == lVar9) {
          lVar8 = plVar2[3];
          if (param_3 == 0) {
            FUN_001cc520(lVar8,plVar2,0,0);
            uVar1 = *(uint *)(plVar2[3] + 0x34);
            *(undefined4 *)(plVar2[3] + 0x34) = 0;
          }
          else {
LAB_001cd684:
            FUN_001cca20(lVar8,plVar2,param_4);
            uVar1 = *(uint *)(plVar2[3] + 0x34);
            *(undefined4 *)(plVar2[3] + 0x34) = 0;
          }
          if (uVar1 != 0) {
            *(undefined4 *)(param_2 + 4) = 1;
            return (ulong)uVar1;
          }
          if (*(char *)(*(long *)(lVar7 + 0x10) + 0x14) != '\0') {
            lVar7 = *(long *)(lVar7 + 0x18);
            if (lVar7 == 0) break;
            goto LAB_001cd601;
          }
        }
        else if (((param_3 != 0) && (lVar8 != param_4)) &&
                ((uint)(param_4 < lVar8) == *(uint *)(param_1 + 0x18))) {
          lVar8 = plVar2[3];
          goto LAB_001cd684;
        }
        uVar10 = 0;
      }
      lVar7 = *(long *)(lVar7 + 0x18);
    } while (lVar7 != 0);
    uVar5 = 0;
  }
  *(uint *)(param_2 + 4) = uVar10;
  if (uVar10 != 0) {
    return uVar5;
  }
  uVar5 = FUN_001cca90(param_1,param_2);
  return uVar5;
}

