
int pager_end_transaction(Pager *pPager,int hasSuper,int bCommit)

{
  u8 uVar1;
  sqlite3_file *pId;
  Wal *pWal;
  PCache *pPVar2;
  PgHdr *pPVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  long size;
  long in_FS_OFFSET;
  i64 sz;
  long local_30;
  
  local_30 = *(long *)(in_FS_OFFSET + 0x28);
  if ((pPager->eState < 2) && (iVar5 = 0, pPager->eLock < 2)) goto LAB_0011b806;
  releaseAllSavepoints(pPager);
  pId = pPager->jfd;
  if (pId->pMethods == (sqlite3_io_methods *)0x0) {
LAB_0011b53e:
    sqlite3BitvecDestroy(pPager->pInJournal);
    pPager->pInJournal = (Bitvec *)0x0;
    pPager->nRec = 0;
LAB_0011b556:
    if (((pPager->memDb == '\0') && (pPager->tempFile != '\0')) &&
       ((bCommit == 0 ||
        ((pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||
         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19)))))) {
      pPVar2 = pPager->pPCache;
      for (pPVar3 = pPVar2->pDirty; pPVar3 != (PgHdr *)0x0; pPVar3 = pPVar3->pDirtyNext) {
        pPVar3->flags = pPVar3->flags & 0xfff3;
      }
      pPVar2->pSynced = pPVar2->pDirtyTail;
    }
    else {
      sqlite3PcacheCleanAll(pPager->pPCache);
    }
    sqlite3PcacheTruncate(pPager->pPCache,pPager->dbSize);
    iVar4 = 0;
  }
  else {
    if (pId->pMethods == &MemJournalMethods) {
      sqlite3OsClose(pId);
      goto LAB_0011b53e;
    }
    uVar1 = pPager->journalMode;
    if (uVar1 == '\x03') {
      iVar4 = 0;
      if (((pPager->journalOff != 0) && (iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0)) &&
         (pPager->fullSync != '\0')) {
        iVar4 = sqlite3OsSync(pPager->jfd,(uint)pPager->syncFlags);
      }
      pPager->journalOff = 0;
    }
    else if ((uVar1 == '\x01') || ((pPager->exclusiveMode != '\0' && (uVar1 != '\x05')))) {
      if (hasSuper == 0) {
        iVar4 = 0;
        if (pPager->journalOff != 0) {
          size = pPager->journalSizeLimit;
          if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;
          iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);
LAB_0011b772:
          if (iVar4 == 0) {
            if (pPager->noSync == '\0') {
              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));
            }
            if ((((iVar4 == 0) && (0 < size)) &&
                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {
              iVar4 = sqlite3OsTruncate(pPager->jfd,size);
            }
          }
        }
      }
      else {
        iVar4 = 0;
        if (pPager->journalOff != 0) {
          size = pPager->journalSizeLimit;
LAB_0011b766:
          iVar4 = sqlite3OsTruncate(pId,0);
          goto LAB_0011b772;
        }
      }
      pPager->journalOff = 0;
    }
    else {
      uVar1 = pPager->tempFile;
      sqlite3OsClose(pId);
      if (uVar1 != '\0') goto LAB_0011b53e;
      iVar4 = sqlite3OsDelete(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync);
    }
    sqlite3BitvecDestroy(pPager->pInJournal);
    pPager->pInJournal = (Bitvec *)0x0;
    pPager->nRec = 0;
    if (iVar4 == 0) goto LAB_0011b556;
  }
  if (pPager->pWal == (Wal *)0x0) {
    if ((iVar4 == 0) && (bCommit != 0)) {
      iVar5 = 0;
      if (pPager->dbSize < pPager->dbFileSize) {
        iVar4 = pager_truncate(pPager,pPager->dbSize);
        goto LAB_0011b5c6;
      }
      goto LAB_0011b702;
    }
    iVar5 = 0;
    if (pPager->exclusiveMode != '\0') goto LAB_0011b7f8;
LAB_0011b7e8:
    iVar5 = pagerUnlockDb(pPager,1);
  }
  else {
    iVar5 = sqlite3WalEndWriteTransaction(pPager->pWal);
LAB_0011b5c6:
    if ((iVar4 == 0) && (bCommit != 0)) {
LAB_0011b702:
      iVar4 = sqlite3OsFileControl(pPager->fd,0x16,(void *)0x0);
      if (iVar4 != 0xc) goto LAB_0011b5d3;
      if (pPager->exclusiveMode != '\0') {
        pPager->eState = '\x01';
        pPager->setSuper = '\0';
        goto LAB_0011b806;
      }
      iVar4 = 0;
LAB_0011b5dd:
      pWal = pPager->pWal;
      if (pWal == (Wal *)0x0) goto LAB_0011b7e8;
      if (pWal->exclusiveMode != '\0') {
        pWal->exclusiveMode = '\0';
        iVar6 = walLockShared(pWal,pWal->readLock + 3);
        if (iVar6 == 0) {
          if (pWal->exclusiveMode == '\0') goto LAB_0011b7e8;
        }
        else {
          pWal->exclusiveMode = '\x01';
        }
      }
    }
    else {
LAB_0011b5d3:
      if (pPager->exclusiveMode == '\0') goto LAB_0011b5dd;
    }
  }
LAB_0011b7f8:
  pPager->eState = '\x01';
  pPager->setSuper = '\0';
  if (iVar4 != 0) {
    iVar5 = iVar4;
  }
LAB_0011b806:
  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {
    return iVar5;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}



int FUN_0011b46c(undefined8 *param_1,int param_2,int param_3)

{
  char cVar1;
  undefined8 *puVar2;
  long *plVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  long lVar7;
  long in_FS_OFFSET;
  long local_38;
  long local_30;
  
  local_30 = *(long *)(in_FS_OFFSET + 0x28);
  if ((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))
  goto LAB_0011b806;
  FUN_0011b2ec(param_1);
  puVar2 = (undefined8 *)param_1[10];
  if ((undefined *)*puVar2 == (undefined *)0x0) {
LAB_0011b53e:
    FUN_0011ad6e(param_1[8]);
    param_1[8] = 0;
    *(undefined4 *)(param_1 + 6) = 0;
LAB_0011b556:
    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&
       ((param_3 == 0 ||
        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {
      plVar3 = (long *)param_1[0x23];
      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {
        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;
      }
      plVar3[2] = plVar3[1];
    }
    else {
      FUN_0010e1ab(param_1[0x23]);
    }
    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));
    iVar4 = 0;
  }
  else {
    if ((undefined *)*puVar2 == &DAT_003af280) {
      FUN_0010c9dd();
      goto LAB_0011b53e;
    }
    cVar1 = *(char *)((long)param_1 + 9);
    if (cVar1 == '\x03') {
      iVar4 = 0;
      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&
         (*(char *)((long)param_1 + 0xc) != '\0')) {
        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));
      }
      param_1[0xc] = 0;
    }
    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {
      if (param_2 == 0) {
        iVar4 = 0;
        if (param_1[0xc] != 0) {
          lVar7 = param_1[0x19];
          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;
          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);
LAB_0011b772:
          if (iVar4 == 0) {
            if (*(char *)((long)param_1 + 0xb) == '\0') {
              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);
            }
            if ((((iVar4 == 0) && (0 < lVar7)) &&
                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {
              iVar4 = FUN_0010ca15(param_1[10],lVar7);
            }
          }
        }
      }
      else {
        iVar4 = 0;
        if (param_1[0xc] != 0) {
          lVar7 = param_1[0x19];
LAB_0011b766:
          iVar4 = FUN_0010ca15(puVar2,0);
          goto LAB_0011b772;
        }
      }
      param_1[0xc] = 0;
    }
    else {
      cVar1 = *(char *)(param_1 + 2);
      FUN_0010c9dd();
      if (cVar1 != '\0') goto LAB_0011b53e;
      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));
    }
    FUN_0011ad6e(param_1[8]);
    param_1[8] = 0;
    *(undefined4 *)(param_1 + 6) = 0;
    if (iVar4 == 0) goto LAB_0011b556;
  }
  if (param_1[0x24] == 0) {
    if ((iVar4 == 0) && (param_3 != 0)) {
      iVar5 = 0;
      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {
        iVar4 = FUN_001144d9(param_1);
        goto LAB_0011b5c6;
      }
      goto LAB_0011b702;
    }
    iVar5 = 0;
    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;
LAB_0011b7e8:
    iVar5 = FUN_0010e54d(param_1,1);
  }
  else {
    iVar5 = FUN_0010eb3c();
LAB_0011b5c6:
    if ((iVar4 == 0) && (param_3 != 0)) {
LAB_0011b702:
      iVar4 = FUN_0010ca49(param_1[9],0x16,0);
      if (iVar4 != 0xc) goto LAB_0011b5d3;
      if (*(char *)(param_1 + 1) != '\0') {
        *(undefined1 *)((long)param_1 + 0x14) = 1;
        *(undefined1 *)((long)param_1 + 0x17) = 0;
        goto LAB_0011b806;
      }
      iVar4 = 0;
LAB_0011b5dd:
      lVar7 = param_1[0x24];
      if (lVar7 == 0) goto LAB_0011b7e8;
      if (*(char *)(lVar7 + 0x3f) != '\0') {
        *(undefined1 *)(lVar7 + 0x3f) = 0;
        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);
        if (iVar6 == 0) {
          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;
        }
        else {
          *(undefined1 *)(lVar7 + 0x3f) = 1;
        }
      }
    }
    else {
LAB_0011b5d3:
      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;
    }
  }
LAB_0011b7f8:
  *(undefined1 *)((long)param_1 + 0x14) = 1;
  *(undefined1 *)((long)param_1 + 0x17) = 0;
  if (iVar4 != 0) {
    iVar5 = iVar4;
  }
LAB_0011b806:
  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {
    return iVar5;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}


PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x18
MOV RBX,RDI
MOV EBP,ESI
MOV R13D,EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x8],RAX
XOR EAX,EAX
CMP byte ptr [RDI + 0x14],0x1
JA 0x0011b4a4
MOV R12D,0x0
CMP byte ptr [RDI + 0x15],0x1
JBE 0x0011b806
MOV RDI,RBX
CALL 0x0011b2ec
MOV RDI,qword ptr [RBX + 0x50]
MOV RAX,qword ptr [RDI]
TEST RAX,RAX
JZ 0x0011b53e
LEA RDX,[0x3af280]
CMP RAX,RDX
JZ 0x0011b539
MOVZX EAX,byte ptr [RBX + 0x9]
CMP AL,0x3
JZ 0x0011b61f
CMP AL,0x1
JZ 0x0011b4ea
CMP byte ptr [RBX + 0x8],0x0
JZ 0x0011b68d
CMP AL,0x5
JZ 0x0011b68d
TEST EBP,EBP
JNZ 0x0011b753
CMP byte ptr [RBX + 0x10],0x0
SETNZ AL
CMP qword ptr [RBX + 0x60],0x0
JZ 0x0011b7a5
MOV R12,qword ptr [RBX + 0xc8]
TEST R12,R12
JZ 0x0011b766
TEST AL,AL
JNZ 0x0011b766
MOV ECX,0x0
MOV EDX,0x1c
LEA RSI,[0x192670]
CALL 0x0010ca06
MOV EBP,EAX
JMP 0x0011b772
CALL 0x0010c9dd
MOV RDI,qword ptr [RBX + 0x40]
CALL 0x0011ad6e
MOV qword ptr [RBX + 0x40],0x0
MOV dword ptr [RBX + 0x30],0x0
CMP byte ptr [RBX + 0x13],0x0
JNZ 0x0011b58e
CMP byte ptr [RBX + 0x10],0x0
JZ 0x0011b58e
TEST R13D,R13D
JZ 0x0011b6b9
MOV RAX,qword ptr [RBX + 0x48]
CMP qword ptr [RAX],0x0
JZ 0x0011b6b9
MOV RDI,qword ptr [RBX + 0x118]
CALL 0x0010e27f
CMP EAX,0x18
JLE 0x0011b6b9
MOV RDI,qword ptr [RBX + 0x118]
CALL 0x0010e1ab
MOV ESI,dword ptr [RBX + 0x1c]
MOV RDI,qword ptr [RBX + 0x118]
CALL 0x0011441d
MOV EBP,0x0
MOV RDI,qword ptr [RBX + 0x120]
TEST RDI,RDI
JZ 0x0011b6e3
CALL 0x0010eb3c
MOV R12D,EAX
TEST EBP,EBP
JNZ 0x0011b5d3
TEST R13D,R13D
JNZ 0x0011b702
CMP byte ptr [RBX + 0x8],0x0
JNZ 0x0011b7f8
MOV R13,qword ptr [RBX + 0x120]
TEST R13,R13
JZ 0x0011b7e8
CMP byte ptr [R13 + 0x3f],0x0
JZ 0x0011b7f8
MOV byte ptr [R13 + 0x3f],0x0
MOVSX ESI,word ptr [R13 + 0x3c]
ADD ESI,0x3
MOV RDI,R13
CALL 0x0010e9b5
TEST EAX,EAX
JZ 0x0011b743
MOV byte ptr [R13 + 0x3f],0x1
JMP 0x0011b7f8
MOV EBP,0x0
CMP qword ptr [RBX + 0x60],0x0
JNZ 0x0011b638
MOV qword ptr [RBX + 0x60],0x0
JMP 0x0011b7ad
MOV ESI,0x0
CALL 0x0010ca15
MOV EBP,EAX
TEST EAX,EAX
JNZ 0x0011b62b
CMP byte ptr [RBX + 0xc],0x0
JZ 0x0011b62b
MOVZX ESI,byte ptr [RBX + 0xe]
MOV RDI,qword ptr [RBX + 0x50]
CALL 0x0010ca24
MOV EBP,EAX
JMP 0x0011b62b
MOVZX ESI,byte ptr [RBX + 0xe]
OR ESI,0x10
MOVZX ESI,SIL
MOV RDI,qword ptr [RBX + 0x50]
CALL 0x0010ca24
MOV EBP,EAX
JMP 0x0011b780
MOV RDI,qword ptr [RBX + 0x50]
MOV RSI,R12
CALL 0x0010ca15
MOV EBP,EAX
JMP 0x0011b7a5
MOVZX EBP,byte ptr [RBX + 0x10]
CALL 0x0010c9dd
TEST BPL,BPL
JNZ 0x0011b53e
MOVZX EDX,byte ptr [RBX + 0xd]
MOV RSI,qword ptr [RBX + 0xd8]
MOV RDI,qword ptr [RBX]
CALL 0x0010cabb
MOV EBP,EAX
JMP 0x0011b7ad
MOV RDX,qword ptr [RBX + 0x118]
MOV RAX,qword ptr [RDX]
TEST RAX,RAX
JZ 0x0011b6d6
AND word ptr [RAX + 0x34],0xfff3
MOV RAX,qword ptr [RAX + 0x38]
TEST RAX,RAX
JNZ 0x0011b6c8
MOV RAX,qword ptr [RDX + 0x8]
MOV qword ptr [RDX + 0x10],RAX
JMP 0x0011b59a
TEST EBP,EBP
JNZ 0x0011b7dc
TEST R13D,R13D
JZ 0x0011b7dc
MOV ESI,dword ptr [RBX + 0x1c]
MOV R12D,0x0
CMP dword ptr [RBX + 0x24],ESI
JA 0x0011b734
MOV RDI,qword ptr [RBX + 0x48]
MOV EDX,0x0
MOV ESI,0x16
CALL 0x0010ca49
MOV EBP,EAX
CMP EAX,0xc
JNZ 0x0011b5d3
CMP byte ptr [RBX + 0x8],0x0
JNZ 0x0011b7d2
MOV EBP,0x0
JMP 0x0011b5dd
MOV RDI,RBX
CALL 0x001144d9
MOV EBP,EAX
JMP 0x0011b5c6
CMP byte ptr [R13 + 0x3f],0x0
JZ 0x0011b7e8
JMP 0x0011b7f8
MOV EBP,0x0
CMP qword ptr [RBX + 0x60],0x0
JZ 0x0011b7a5
MOV R12,qword ptr [RBX + 0xc8]
MOV ESI,0x0
CALL 0x0010ca15
MOV EBP,EAX
TEST EBP,EBP
JNZ 0x0011b7a5
CMP byte ptr [RBX + 0xb],0x0
JZ 0x0011b65f
TEST EBP,EBP
JNZ 0x0011b7a5
TEST R12,R12
JLE 0x0011b7a5
MOV RSI,RSP
MOV RDI,qword ptr [RBX + 0x50]
CALL 0x0010ca3a
MOV EBP,EAX
TEST EAX,EAX
JNZ 0x0011b7a5
CMP qword ptr [RSP],R12
JG 0x0011b67a
MOV qword ptr [RBX + 0x60],0x0
MOV RDI,qword ptr [RBX + 0x40]
CALL 0x0011ad6e
MOV qword ptr [RBX + 0x40],0x0
MOV dword ptr [RBX + 0x30],0x0
TEST EBP,EBP
JNZ 0x0011b5ae
JMP 0x0011b556
MOV byte ptr [RBX + 0x14],0x1
MOV byte ptr [RBX + 0x17],0x0
JMP 0x0011b806
MOV R12D,0x0
CMP byte ptr [RBX + 0x8],0x0
JNZ 0x0011b7f8
MOV ESI,0x1
MOV RDI,RBX
CALL 0x0010e54d
MOV R12D,EAX
MOV byte ptr [RBX + 0x14],0x1
MOV byte ptr [RBX + 0x17],0x0
TEST EBP,EBP
CMOVNZ R12D,EBP
MOV EAX,R12D
MOV RCX,qword ptr [RSP + 0x8]
XOR RCX,qword ptr FS:[0x28]
JNZ 0x0011b824
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
RET
CALL 0x0010c0d0
(translation_unit "int FUN_0011b46c(undefined8 *param_1,int param_2,int param_3)\n\n{\n  char cVar1;\n  undefined8 *puVar2;\n  long *plVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  long lVar7;\n  long in_FS_OFFSET;\n  long local_38;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if ((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))\n  goto LAB_0011b806;\n  FUN_0011b2ec(param_1);\n  puVar2 = (undefined8 *)param_1[10];\n  if ((undefined *)*puVar2 == (undefined *)0x0) {\nLAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\nLAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }\n    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));\n    iVar4 = 0;\n  }\n  else {\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }\n  if (param_1[0x24] == 0) {\n    if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);\n  }\n  else {\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }\nLAB_0011b7f8:\n  *(undefined1 *)((long)param_1 + 0x14) = 1;\n  *(undefined1 *)((long)param_1 + 0x17) = 0;\n  if (iVar4 != 0) {\n    iVar5 = iVar4;\n  }\nLAB_0011b806:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "int FUN_0011b46c(undefined8 *param_1,int param_2,int param_3)\n\n{\n  char cVar1;\n  undefined8 *puVar2;\n  long *plVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  long lVar7;\n  long in_FS_OFFSET;\n  long local_38;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if ((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))\n  goto LAB_0011b806;\n  FUN_0011b2ec(param_1);\n  puVar2 = (undefined8 *)param_1[10];\n  if ((undefined *)*puVar2 == (undefined *)0x0) {\nLAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\nLAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }\n    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));\n    iVar4 = 0;\n  }\n  else {\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }\n  if (param_1[0x24] == 0) {\n    if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);\n  }\n  else {\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }\nLAB_0011b7f8:\n  *(undefined1 *)((long)param_1 + 0x14) = 1;\n  *(undefined1 *)((long)param_1 + 0x17) = 0;\n  if (iVar4 != 0) {\n    iVar5 = iVar4;\n  }\nLAB_0011b806:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "FUN_0011b46c(undefined8 *param_1,int param_2,int param_3)" identifier (parameter_list "(undefined8 *param_1,int param_2,int param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  undefined8 *puVar2;\n  long *plVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  long lVar7;\n  long in_FS_OFFSET;\n  long local_38;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if ((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))\n  goto LAB_0011b806;\n  FUN_0011b2ec(param_1);\n  puVar2 = (undefined8 *)param_1[10];\n  if ((undefined *)*puVar2 == (undefined *)0x0) {\nLAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\nLAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }\n    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));\n    iVar4 = 0;\n  }\n  else {\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }\n  if (param_1[0x24] == 0) {\n    if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);\n  }\n  else {\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }\nLAB_0011b7f8:\n  *(undefined1 *)((long)param_1 + 0x14) = 1;\n  *(undefined1 *)((long)param_1 + 0x17) = 0;\n  if (iVar4 != 0) {\n    iVar5 = iVar4;\n  }\nLAB_0011b806:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_38;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_30;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_30 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_30 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))\n  goto LAB_0011b806;" if (parenthesized_expression "((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))" ( (binary_expression "(*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2)" (parenthesized_expression "(*(byte *)((long)param_1 + 0x14) < 2)" ( (binary_expression "*(byte *)((long)param_1 + 0x14) < 2" (pointer_expression "*(byte *)((long)param_1 + 0x14)" * (cast_expression "(byte *)((long)param_1 + 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x14)" ( (binary_expression "(long)param_1 + 0x14" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) < number_literal) )) && (parenthesized_expression "(iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2)" ( (comma_expression "iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2" (assignment_expression "iVar5 = 0" identifier = number_literal) , (binary_expression "*(byte *)((long)param_1 + 0x15) < 2" (pointer_expression "*(byte *)((long)param_1 + 0x15)" * (cast_expression "(byte *)((long)param_1 + 0x15)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x15)" ( (binary_expression "(long)param_1 + 0x15" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) < number_literal)) ))) )) (goto_statement "goto LAB_0011b806;" goto statement_identifier ;)) (expression_statement "FUN_0011b2ec(param_1);" (call_expression "FUN_0011b2ec(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "puVar2 = (undefined8 *)param_1[10];" (assignment_expression "puVar2 = (undefined8 *)param_1[10]" identifier = (cast_expression "(undefined8 *)param_1[10]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[10]" identifier [ number_literal ]))) ;) (if_statement "if ((undefined *)*puVar2 == (undefined *)0x0) {\nLAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\nLAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }\n    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));\n    iVar4 = 0;\n  }\n  else {\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }" if (parenthesized_expression "((undefined *)*puVar2 == (undefined *)0x0)" ( (binary_expression "(undefined *)*puVar2 == (undefined *)0x0" (cast_expression "(undefined *)*puVar2" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier)) == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\nLAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }\n    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));\n    iVar4 = 0;\n  }" { (labeled_statement "LAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);" statement_identifier : (expression_statement "FUN_0011ad6e(param_1[8]);" (call_expression "FUN_0011ad6e(param_1[8])" identifier (argument_list "(param_1[8])" ( (subscript_expression "param_1[8]" identifier [ number_literal ]) ))) ;)) (expression_statement "param_1[8] = 0;" (assignment_expression "param_1[8] = 0" (subscript_expression "param_1[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 6) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 6) = 0" (pointer_expression "*(undefined4 *)(param_1 + 6)" * (cast_expression "(undefined4 *)(param_1 + 6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 6)" ( (binary_expression "param_1 + 6" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "LAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }" statement_identifier : (if_statement "if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }" if (parenthesized_expression "(((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19))))))" ( (binary_expression "((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))" (parenthesized_expression "((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0'))" ( (binary_expression "(*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')" (parenthesized_expression "(*(char *)((long)param_1 + 0x13) == '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x13) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0x13)" * (cast_expression "(char *)((long)param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x13)" ( (binary_expression "(long)param_1 + 0x13" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(char *)(param_1 + 2) != '\0')" ( (binary_expression "*(char *)(param_1 + 2) != '\0'" (pointer_expression "*(char *)(param_1 + 2)" * (cast_expression "(char *)(param_1 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))" ( (parenthesized_expression "(param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19))))" ( (binary_expression "param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))" (binary_expression "param_3 == 0" identifier == number_literal) || (parenthesized_expression "((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))" ( (parenthesized_expression "(*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19))" ( (binary_expression "*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)" (binary_expression "*(long *)param_1[9] == 0" (pointer_expression "*(long *)param_1[9]" * (cast_expression "(long *)param_1[9]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ]))) == number_literal) || (parenthesized_expression "(iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)" ( (comma_expression "iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19" (assignment_expression "iVar5 = FUN_0010e27f(param_1[0x23])" identifier = (call_expression "FUN_0010e27f(param_1[0x23])" identifier (argument_list "(param_1[0x23])" ( (subscript_expression "param_1[0x23]" identifier [ number_literal ]) )))) , (binary_expression "iVar5 < 0x19" identifier < number_literal)) ))) )) ))) )) ))) )) (compound_statement "{\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }" { (expression_statement "plVar3 = (long *)param_1[0x23];" (assignment_expression "plVar3 = (long *)param_1[0x23]" identifier = (cast_expression "(long *)param_1[0x23]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x23]" identifier [ number_literal ]))) ;) (for_statement "for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }" for ( (assignment_expression "lVar7 = *plVar3" identifier = (pointer_expression "*plVar3" * identifier)) ; (binary_expression "lVar7 != 0" identifier != number_literal) ; (assignment_expression "lVar7 = *(long *)(lVar7 + 0x38)" identifier = (pointer_expression "*(long *)(lVar7 + 0x38)" * (cast_expression "(long *)(lVar7 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x38)" ( (binary_expression "lVar7 + 0x38" identifier + number_literal) ))))) ) (compound_statement "{\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }" { (expression_statement "*(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;" (assignment_expression "*(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3" (pointer_expression "*(ushort *)(lVar7 + 0x34)" * (cast_expression "(ushort *)(lVar7 + 0x34)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x34)" ( (binary_expression "lVar7 + 0x34" identifier + number_literal) )))) = (binary_expression "*(ushort *)(lVar7 + 0x34) & 0xfff3" (pointer_expression "*(ushort *)(lVar7 + 0x34)" * (cast_expression "(ushort *)(lVar7 + 0x34)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x34)" ( (binary_expression "lVar7 + 0x34" identifier + number_literal) )))) & number_literal)) ;) })) (expression_statement "plVar3[2] = plVar3[1];" (assignment_expression "plVar3[2] = plVar3[1]" (subscript_expression "plVar3[2]" identifier [ number_literal ]) = (subscript_expression "plVar3[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n      FUN_0010e1ab(param_1[0x23]);\n    }" else (compound_statement "{\n      FUN_0010e1ab(param_1[0x23]);\n    }" { (expression_statement "FUN_0010e1ab(param_1[0x23]);" (call_expression "FUN_0010e1ab(param_1[0x23])" identifier (argument_list "(param_1[0x23])" ( (subscript_expression "param_1[0x23]" identifier [ number_literal ]) ))) ;) })))) (expression_statement "FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));" (call_expression "FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c))" identifier (argument_list "(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c))" ( (subscript_expression "param_1[0x23]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)((long)param_1 + 0x1c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x1c)" ( (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }" else (compound_statement "{\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }" { (if_statement "if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }" if (parenthesized_expression "((undefined *)*puVar2 == &DAT_003af280)" ( (binary_expression "(undefined *)*puVar2 == &DAT_003af280" (cast_expression "(undefined *)*puVar2" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier)) == (pointer_expression "&DAT_003af280" & identifier)) )) (compound_statement "{\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }" { (expression_statement "FUN_0010c9dd();" (call_expression "FUN_0010c9dd()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_0011b53e;" goto statement_identifier ;) })) (expression_statement "cVar1 = *(char *)((long)param_1 + 9);" (assignment_expression "cVar1 = *(char *)((long)param_1 + 9)" identifier = (pointer_expression "*(char *)((long)param_1 + 9)" * (cast_expression "(char *)((long)param_1 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 9)" ( (binary_expression "(long)param_1 + 9" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (if_statement "if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }" if (parenthesized_expression "(cVar1 == '\x03')" ( (binary_expression "cVar1 == '\x03'" identifier == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }" if (parenthesized_expression "(((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0'))" ( (binary_expression "((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')" (parenthesized_expression "((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0))" ( (binary_expression "(param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)" (parenthesized_expression "(param_1[0xc] != 0)" ( (binary_expression "param_1[0xc] != 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0" (assignment_expression "iVar4 = FUN_0010ca15(puVar2,0)" identifier = (call_expression "FUN_0010ca15(puVar2,0)" identifier (argument_list "(puVar2,0)" ( identifier , number_literal )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(*(char *)((long)param_1 + 0xc) != '\0')" ( (binary_expression "*(char *)((long)param_1 + 0xc) != '\0'" (pointer_expression "*(char *)((long)param_1 + 0xc)" * (cast_expression "(char *)((long)param_1 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xc)" ( (binary_expression "(long)param_1 + 0xc" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }" { (expression_statement "iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));" (assignment_expression "iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe))" identifier = (call_expression "FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe))" identifier (argument_list "(param_1[10],*(undefined1 *)((long)param_1 + 0xe))" ( (subscript_expression "param_1[10]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)((long)param_1 + 0xe)" * (cast_expression "(undefined1 *)((long)param_1 + 0xe)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xe)" ( (binary_expression "(long)param_1 + 0xe" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) )))) ;) })) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }" else (if_statement "if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }" if (parenthesized_expression "((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05'))))" ( (binary_expression "(cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))" (parenthesized_expression "(cVar1 == '\x01')" ( (binary_expression "cVar1 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) || (parenthesized_expression "((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))" ( (parenthesized_expression "(*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05'))" ( (binary_expression "*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')" (binary_expression "*(char *)(param_1 + 1) != '\0'" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(cVar1 != '\x05')" ( (binary_expression "cVar1 != '\x05'" identifier != (char_literal "'\x05'" ' escape_sequence ')) ))) )) ))) )) (compound_statement "{\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }" { (if_statement "if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }" if (parenthesized_expression "(param_1[0xc] != 0)" ( (binary_expression "param_1[0xc] != 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }" { (expression_statement "lVar7 = param_1[0x19];" (assignment_expression "lVar7 = param_1[0x19]" identifier = (subscript_expression "param_1[0x19]" identifier [ number_literal ])) ;) (if_statement "if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;" if (parenthesized_expression "((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0'))" ( (binary_expression "(lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')" (parenthesized_expression "(lVar7 == 0)" ( (binary_expression "lVar7 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(char *)(param_1 + 2) != '\0')" ( (binary_expression "*(char *)(param_1 + 2) != '\0'" (pointer_expression "*(char *)(param_1 + 2)" * (cast_expression "(char *)(param_1 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_0011b766;" goto statement_identifier ;)) (expression_statement "iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);" (assignment_expression "iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0)" identifier = (call_expression "FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0)" identifier (argument_list "(puVar2,&DAT_00192670,0x1c,0)" ( identifier , (pointer_expression "&DAT_00192670" & identifier) , number_literal , number_literal )))) ;) (labeled_statement "LAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }" statement_identifier : (if_statement "if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }" { (if_statement "if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }" if (parenthesized_expression "(*(char *)((long)param_1 + 0xb) == '\0')" ( (binary_expression "*(char *)((long)param_1 + 0xb) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0xb)" * (cast_expression "(char *)((long)param_1 + 0xb)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xb)" ( (binary_expression "(long)param_1 + 0xb" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }" { (expression_statement "iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);" (assignment_expression "iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10)" identifier = (call_expression "FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10)" identifier (argument_list "(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10)" ( (subscript_expression "param_1[10]" identifier [ number_literal ]) , (binary_expression "*(byte *)((long)param_1 + 0xe) | 0x10" (pointer_expression "*(byte *)((long)param_1 + 0xe)" * (cast_expression "(byte *)((long)param_1 + 0xe)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xe)" ( (binary_expression "(long)param_1 + 0xe" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) | number_literal) )))) ;) })) (if_statement "if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }" if (parenthesized_expression "((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38))" ( (binary_expression "(((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)" (parenthesized_expression "(((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0))" ( (binary_expression "((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)" (parenthesized_expression "((iVar4 == 0) && (0 < lVar7))" ( (binary_expression "(iVar4 == 0) && (0 < lVar7)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(0 < lVar7)" ( (binary_expression "0 < lVar7" number_literal < identifier) ))) )) && (parenthesized_expression "(iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0" (assignment_expression "iVar4 = FUN_0010ca3a(param_1[10],&local_38)" identifier = (call_expression "FUN_0010ca3a(param_1[10],&local_38)" identifier (argument_list "(param_1[10],&local_38)" ( (subscript_expression "param_1[10]" identifier [ number_literal ]) , (pointer_expression "&local_38" & identifier) )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(lVar7 < local_38)" ( (binary_expression "lVar7 < local_38" identifier < identifier) ))) )) (compound_statement "{\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }" { (expression_statement "iVar4 = FUN_0010ca15(param_1[10],lVar7);" (assignment_expression "iVar4 = FUN_0010ca15(param_1[10],lVar7)" identifier = (call_expression "FUN_0010ca15(param_1[10],lVar7)" identifier (argument_list "(param_1[10],lVar7)" ( (subscript_expression "param_1[10]" identifier [ number_literal ]) , identifier )))) ;) })) }))) })) }) (else_clause "else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }" else (compound_statement "{\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }" if (parenthesized_expression "(param_1[0xc] != 0)" ( (binary_expression "param_1[0xc] != 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }" { (expression_statement "lVar7 = param_1[0x19];" (assignment_expression "lVar7 = param_1[0x19]" identifier = (subscript_expression "param_1[0x19]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);" statement_identifier : (expression_statement "iVar4 = FUN_0010ca15(puVar2,0);" (assignment_expression "iVar4 = FUN_0010ca15(puVar2,0)" identifier = (call_expression "FUN_0010ca15(puVar2,0)" identifier (argument_list "(puVar2,0)" ( identifier , number_literal )))) ;)) (goto_statement "goto LAB_0011b772;" goto statement_identifier ;) })) }))) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }" else (compound_statement "{\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }" { (expression_statement "cVar1 = *(char *)(param_1 + 2);" (assignment_expression "cVar1 = *(char *)(param_1 + 2)" identifier = (pointer_expression "*(char *)(param_1 + 2)" * (cast_expression "(char *)(param_1 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (expression_statement "FUN_0010c9dd();" (call_expression "FUN_0010c9dd()" identifier (argument_list "()" ( ))) ;) (if_statement "if (cVar1 != '\0') goto LAB_0011b53e;" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011b53e;" goto statement_identifier ;)) (expression_statement "iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));" (assignment_expression "iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd))" identifier = (call_expression "FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd))" identifier (argument_list "(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd))" ( (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[0x1b]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)((long)param_1 + 0xd)" * (cast_expression "(undefined1 *)((long)param_1 + 0xd)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xd)" ( (binary_expression "(long)param_1 + 0xd" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) )))) ;) }))))) (expression_statement "FUN_0011ad6e(param_1[8]);" (call_expression "FUN_0011ad6e(param_1[8])" identifier (argument_list "(param_1[8])" ( (subscript_expression "param_1[8]" identifier [ number_literal ]) ))) ;) (expression_statement "param_1[8] = 0;" (assignment_expression "param_1[8] = 0" (subscript_expression "param_1[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 6) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 6) = 0" (pointer_expression "*(undefined4 *)(param_1 + 6)" * (cast_expression "(undefined4 *)(param_1 + 6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 6)" ( (binary_expression "param_1 + 6" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (iVar4 == 0) goto LAB_0011b556;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0011b556;" goto statement_identifier ;)) }))) (if_statement "if (param_1[0x24] == 0) {\n    if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);\n  }\n  else {\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }" if (parenthesized_expression "(param_1[0x24] == 0)" ( (binary_expression "param_1[0x24] == 0" (subscript_expression "param_1[0x24]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);\n  }" { (if_statement "if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }" if (parenthesized_expression "((iVar4 == 0) && (param_3 != 0))" ( (binary_expression "(iVar4 == 0) && (param_3 != 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }" if (parenthesized_expression "(*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24))" ( (binary_expression "*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)" (pointer_expression "*(uint *)((long)param_1 + 0x1c)" * (cast_expression "(uint *)((long)param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x1c)" ( (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) < (pointer_expression "*(uint *)((long)param_1 + 0x24)" * (cast_expression "(uint *)((long)param_1 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x24)" ( (binary_expression "(long)param_1 + 0x24" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) )) (compound_statement "{\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }" { (expression_statement "iVar4 = FUN_001144d9(param_1);" (assignment_expression "iVar4 = FUN_001144d9(param_1)" identifier = (call_expression "FUN_001144d9(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (goto_statement "goto LAB_0011b5c6;" goto statement_identifier ;) })) (goto_statement "goto LAB_0011b702;" goto statement_identifier ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;" if (parenthesized_expression "(*(char *)(param_1 + 1) != '\0')" ( (binary_expression "*(char *)(param_1 + 1) != '\0'" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011b7f8;" goto statement_identifier ;)) (labeled_statement "LAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);" statement_identifier : (expression_statement "iVar5 = FUN_0010e54d(param_1,1);" (assignment_expression "iVar5 = FUN_0010e54d(param_1,1)" identifier = (call_expression "FUN_0010e54d(param_1,1)" identifier (argument_list "(param_1,1)" ( identifier , number_literal )))) ;)) }) (else_clause "else {\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }" else (compound_statement "{\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }" { (expression_statement "iVar5 = FUN_0010eb3c();" (assignment_expression "iVar5 = FUN_0010eb3c()" identifier = (call_expression "FUN_0010eb3c()" identifier (argument_list "()" ( )))) ;) (labeled_statement "LAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }" statement_identifier : (if_statement "if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }" if (parenthesized_expression "((iVar4 == 0) && (param_3 != 0))" ( (binary_expression "(iVar4 == 0) && (param_3 != 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) ))) )) (compound_statement "{\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }" { (labeled_statement "LAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);" statement_identifier : (expression_statement "iVar4 = FUN_0010ca49(param_1[9],0x16,0);" (assignment_expression "iVar4 = FUN_0010ca49(param_1[9],0x16,0)" identifier = (call_expression "FUN_0010ca49(param_1[9],0x16,0)" identifier (argument_list "(param_1[9],0x16,0)" ( (subscript_expression "param_1[9]" identifier [ number_literal ]) , number_literal , number_literal )))) ;)) (if_statement "if (iVar4 != 0xc) goto LAB_0011b5d3;" if (parenthesized_expression "(iVar4 != 0xc)" ( (binary_expression "iVar4 != 0xc" identifier != number_literal) )) (goto_statement "goto LAB_0011b5d3;" goto statement_identifier ;)) (if_statement "if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }" if (parenthesized_expression "(*(char *)(param_1 + 1) != '\0')" ( (binary_expression "*(char *)(param_1 + 1) != '\0'" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }" { (expression_statement "*(undefined1 *)((long)param_1 + 0x14) = 1;" (assignment_expression "*(undefined1 *)((long)param_1 + 0x14) = 1" (pointer_expression "*(undefined1 *)((long)param_1 + 0x14)" * (cast_expression "(undefined1 *)((long)param_1 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x14)" ( (binary_expression "(long)param_1 + 0x14" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((long)param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0x17)" * (cast_expression "(undefined1 *)((long)param_1 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x17)" ( (binary_expression "(long)param_1 + 0x17" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_0011b806;" goto statement_identifier ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0011b5dd:\n      lVar7 = param_1[0x24];" statement_identifier : (expression_statement "lVar7 = param_1[0x24];" (assignment_expression "lVar7 = param_1[0x24]" identifier = (subscript_expression "param_1[0x24]" identifier [ number_literal ])) ;)) (if_statement "if (lVar7 == 0) goto LAB_0011b7e8;" if (parenthesized_expression "(lVar7 == 0)" ( (binary_expression "lVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0011b7e8;" goto statement_identifier ;)) (if_statement "if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }" if (parenthesized_expression "(*(char *)(lVar7 + 0x3f) != '\0')" ( (binary_expression "*(char *)(lVar7 + 0x3f) != '\0'" (pointer_expression "*(char *)(lVar7 + 0x3f)" * (cast_expression "(char *)(lVar7 + 0x3f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x3f)" ( (binary_expression "lVar7 + 0x3f" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }" { (expression_statement "*(undefined1 *)(lVar7 + 0x3f) = 0;" (assignment_expression "*(undefined1 *)(lVar7 + 0x3f) = 0" (pointer_expression "*(undefined1 *)(lVar7 + 0x3f)" * (cast_expression "(undefined1 *)(lVar7 + 0x3f)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x3f)" ( (binary_expression "lVar7 + 0x3f" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);" (assignment_expression "iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3)" identifier = (call_expression "FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3)" identifier (argument_list "(lVar7,*(short *)(lVar7 + 0x3c) + 3)" ( identifier , (binary_expression "*(short *)(lVar7 + 0x3c) + 3" (pointer_expression "*(short *)(lVar7 + 0x3c)" * (cast_expression "(short *)(lVar7 + 0x3c)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x3c)" ( (binary_expression "lVar7 + 0x3c" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }" { (if_statement "if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;" if (parenthesized_expression "(*(char *)(lVar7 + 0x3f) == '\0')" ( (binary_expression "*(char *)(lVar7 + 0x3f) == '\0'" (pointer_expression "*(char *)(lVar7 + 0x3f)" * (cast_expression "(char *)(lVar7 + 0x3f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x3f)" ( (binary_expression "lVar7 + 0x3f" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011b7e8;" goto statement_identifier ;)) }) (else_clause "else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }" else (compound_statement "{\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }" { (expression_statement "*(undefined1 *)(lVar7 + 0x3f) = 1;" (assignment_expression "*(undefined1 *)(lVar7 + 0x3f) = 1" (pointer_expression "*(undefined1 *)(lVar7 + 0x3f)" * (cast_expression "(undefined1 *)(lVar7 + 0x3f)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x3f)" ( (binary_expression "lVar7 + 0x3f" identifier + number_literal) )))) = number_literal) ;) }))) })) }) (else_clause "else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }" else (compound_statement "{\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }" { (labeled_statement "LAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;" statement_identifier : (if_statement "if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;" if (parenthesized_expression "(*(char *)(param_1 + 1) == '\0')" ( (binary_expression "*(char *)(param_1 + 1) == '\0'" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011b5dd;" goto statement_identifier ;))) })))) }))) (labeled_statement "LAB_0011b7f8:\n  *(undefined1 *)((long)param_1 + 0x14) = 1;" statement_identifier : (expression_statement "*(undefined1 *)((long)param_1 + 0x14) = 1;" (assignment_expression "*(undefined1 *)((long)param_1 + 0x14) = 1" (pointer_expression "*(undefined1 *)((long)param_1 + 0x14)" * (cast_expression "(undefined1 *)((long)param_1 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x14)" ( (binary_expression "(long)param_1 + 0x14" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;)) (expression_statement "*(undefined1 *)((long)param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0x17)" * (cast_expression "(undefined1 *)((long)param_1 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x17)" ( (binary_expression "(long)param_1 + 0x17" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (if_statement "if (iVar4 != 0) {\n    iVar5 = iVar4;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar5 = iVar4;\n  }" { (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) })) (labeled_statement "LAB_0011b806:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }" statement_identifier : (if_statement "if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }" if (parenthesized_expression "(local_30 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_30 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar5;\n  }" { (return_statement "return iVar5;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int pager_end_transaction(Pager *pPager,int hasSuper,int bCommit)\n\n{\n  u8 uVar1;\n  sqlite3_file *pId;\n  Wal *pWal;\n  PCache *pPVar2;\n  PgHdr *pPVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  long size;\n  long in_FS_OFFSET;\n  i64 sz;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if ((pPager->eState < 2) && (iVar5 = 0, pPager->eLock < 2)) goto LAB_0011b806;\n  releaseAllSavepoints(pPager);\n  pId = pPager->jfd;\n  if (pId->pMethods == (sqlite3_io_methods *)0x0) {\nLAB_0011b53e:\n    sqlite3BitvecDestroy(pPager->pInJournal);\n    pPager->pInJournal = (Bitvec *)0x0;\n    pPager->nRec = 0;\nLAB_0011b556:\n    if (((pPager->memDb == '\0') && (pPager->tempFile != '\0')) &&\n       ((bCommit == 0 ||\n        ((pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||\n         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19)))))) {\n      pPVar2 = pPager->pPCache;\n      for (pPVar3 = pPVar2->pDirty; pPVar3 != (PgHdr *)0x0; pPVar3 = pPVar3->pDirtyNext) {\n        pPVar3->flags = pPVar3->flags & 0xfff3;\n      }\n      pPVar2->pSynced = pPVar2->pDirtyTail;\n    }\n    else {\n      sqlite3PcacheCleanAll(pPager->pPCache);\n    }\n    sqlite3PcacheTruncate(pPager->pPCache,pPager->dbSize);\n    iVar4 = 0;\n  }\n  else {\n    if (pId->pMethods == &MemJournalMethods) {\n      sqlite3OsClose(pId);\n      goto LAB_0011b53e;\n    }\n    uVar1 = pPager->journalMode;\n    if (uVar1 == '\x03') {\n      iVar4 = 0;\n      if (((pPager->journalOff != 0) && (iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0)) &&\n         (pPager->fullSync != '\0')) {\n        iVar4 = sqlite3OsSync(pPager->jfd,(uint)pPager->syncFlags);\n      }\n      pPager->journalOff = 0;\n    }\n    else if ((uVar1 == '\x01') || ((pPager->exclusiveMode != '\0' && (uVar1 != '\x05')))) {\n      if (hasSuper == 0) {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\n          if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;\n          iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\nLAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);\n          goto LAB_0011b772;\n        }\n      }\n      pPager->journalOff = 0;\n    }\n    else {\n      uVar1 = pPager->tempFile;\n      sqlite3OsClose(pId);\n      if (uVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = sqlite3OsDelete(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync);\n    }\n    sqlite3BitvecDestroy(pPager->pInJournal);\n    pPager->pInJournal = (Bitvec *)0x0;\n    pPager->nRec = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }\n  if (pPager->pWal == (Wal *)0x0) {\n    if ((iVar4 == 0) && (bCommit != 0)) {\n      iVar5 = 0;\n      if (pPager->dbSize < pPager->dbFileSize) {\n        iVar4 = pager_truncate(pPager,pPager->dbSize);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (pPager->exclusiveMode != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = pagerUnlockDb(pPager,1);\n  }\n  else {\n    iVar5 = sqlite3WalEndWriteTransaction(pPager->pWal);\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (bCommit != 0)) {\nLAB_0011b702:\n      iVar4 = sqlite3OsFileControl(pPager->fd,0x16,(void *)0x0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (pPager->exclusiveMode != '\0') {\n        pPager->eState = '\x01';\n        pPager->setSuper = '\0';\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      pWal = pPager->pWal;\n      if (pWal == (Wal *)0x0) goto LAB_0011b7e8;\n      if (pWal->exclusiveMode != '\0') {\n        pWal->exclusiveMode = '\0';\n        iVar6 = walLockShared(pWal,pWal->readLock + 3);\n        if (iVar6 == 0) {\n          if (pWal->exclusiveMode == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          pWal->exclusiveMode = '\x01';\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (pPager->exclusiveMode == '\0') goto LAB_0011b5dd;\n    }\n  }\nLAB_0011b7f8:\n  pPager->eState = '\x01';\n  pPager->setSuper = '\0';\n  if (iVar4 != 0) {\n    iVar5 = iVar4;\n  }\nLAB_0011b806:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "int pager_end_transaction(Pager *pPager,int hasSuper,int bCommit)\n\n{\n  u8 uVar1;\n  sqlite3_file *pId;\n  Wal *pWal;\n  PCache *pPVar2;\n  PgHdr *pPVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  long size;\n  long in_FS_OFFSET;\n  i64 sz;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if ((pPager->eState < 2) && (iVar5 = 0, pPager->eLock < 2)) goto LAB_0011b806;\n  releaseAllSavepoints(pPager);\n  pId = pPager->jfd;\n  if (pId->pMethods == (sqlite3_io_methods *)0x0) {\nLAB_0011b53e:\n    sqlite3BitvecDestroy(pPager->pInJournal);\n    pPager->pInJournal = (Bitvec *)0x0;\n    pPager->nRec = 0;\nLAB_0011b556:\n    if (((pPager->memDb == '\0') && (pPager->tempFile != '\0')) &&\n       ((bCommit == 0 ||\n        ((pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||\n         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19)))))) {\n      pPVar2 = pPager->pPCache;\n      for (pPVar3 = pPVar2->pDirty; pPVar3 != (PgHdr *)0x0; pPVar3 = pPVar3->pDirtyNext) {\n        pPVar3->flags = pPVar3->flags & 0xfff3;\n      }\n      pPVar2->pSynced = pPVar2->pDirtyTail;\n    }\n    else {\n      sqlite3PcacheCleanAll(pPager->pPCache);\n    }\n    sqlite3PcacheTruncate(pPager->pPCache,pPager->dbSize);\n    iVar4 = 0;\n  }\n  else {\n    if (pId->pMethods == &MemJournalMethods) {\n      sqlite3OsClose(pId);\n      goto LAB_0011b53e;\n    }\n    uVar1 = pPager->journalMode;\n    if (uVar1 == '\x03') {\n      iVar4 = 0;\n      if (((pPager->journalOff != 0) && (iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0)) &&\n         (pPager->fullSync != '\0')) {\n        iVar4 = sqlite3OsSync(pPager->jfd,(uint)pPager->syncFlags);\n      }\n      pPager->journalOff = 0;\n    }\n    else if ((uVar1 == '\x01') || ((pPager->exclusiveMode != '\0' && (uVar1 != '\x05')))) {\n      if (hasSuper == 0) {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\n          if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;\n          iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\nLAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);\n          goto LAB_0011b772;\n        }\n      }\n      pPager->journalOff = 0;\n    }\n    else {\n      uVar1 = pPager->tempFile;\n      sqlite3OsClose(pId);\n      if (uVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = sqlite3OsDelete(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync);\n    }\n    sqlite3BitvecDestroy(pPager->pInJournal);\n    pPager->pInJournal = (Bitvec *)0x0;\n    pPager->nRec = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }\n  if (pPager->pWal == (Wal *)0x0) {\n    if ((iVar4 == 0) && (bCommit != 0)) {\n      iVar5 = 0;\n      if (pPager->dbSize < pPager->dbFileSize) {\n        iVar4 = pager_truncate(pPager,pPager->dbSize);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (pPager->exclusiveMode != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = pagerUnlockDb(pPager,1);\n  }\n  else {\n    iVar5 = sqlite3WalEndWriteTransaction(pPager->pWal);\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (bCommit != 0)) {\nLAB_0011b702:\n      iVar4 = sqlite3OsFileControl(pPager->fd,0x16,(void *)0x0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (pPager->exclusiveMode != '\0') {\n        pPager->eState = '\x01';\n        pPager->setSuper = '\0';\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      pWal = pPager->pWal;\n      if (pWal == (Wal *)0x0) goto LAB_0011b7e8;\n      if (pWal->exclusiveMode != '\0') {\n        pWal->exclusiveMode = '\0';\n        iVar6 = walLockShared(pWal,pWal->readLock + 3);\n        if (iVar6 == 0) {\n          if (pWal->exclusiveMode == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          pWal->exclusiveMode = '\x01';\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (pPager->exclusiveMode == '\0') goto LAB_0011b5dd;\n    }\n  }\nLAB_0011b7f8:\n  pPager->eState = '\x01';\n  pPager->setSuper = '\0';\n  if (iVar4 != 0) {\n    iVar5 = iVar4;\n  }\nLAB_0011b806:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "pager_end_transaction(Pager *pPager,int hasSuper,int bCommit)" identifier (parameter_list "(Pager *pPager,int hasSuper,int bCommit)" ( (parameter_declaration "Pager *pPager" type_identifier (pointer_declarator "*pPager" * identifier)) , (parameter_declaration "int hasSuper" primitive_type identifier) , (parameter_declaration "int bCommit" primitive_type identifier) ))) (compound_statement "{\n  u8 uVar1;\n  sqlite3_file *pId;\n  Wal *pWal;\n  PCache *pPVar2;\n  PgHdr *pPVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  long size;\n  long in_FS_OFFSET;\n  i64 sz;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if ((pPager->eState < 2) && (iVar5 = 0, pPager->eLock < 2)) goto LAB_0011b806;\n  releaseAllSavepoints(pPager);\n  pId = pPager->jfd;\n  if (pId->pMethods == (sqlite3_io_methods *)0x0) {\nLAB_0011b53e:\n    sqlite3BitvecDestroy(pPager->pInJournal);\n    pPager->pInJournal = (Bitvec *)0x0;\n    pPager->nRec = 0;\nLAB_0011b556:\n    if (((pPager->memDb == '\0') && (pPager->tempFile != '\0')) &&\n       ((bCommit == 0 ||\n        ((pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||\n         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19)))))) {\n      pPVar2 = pPager->pPCache;\n      for (pPVar3 = pPVar2->pDirty; pPVar3 != (PgHdr *)0x0; pPVar3 = pPVar3->pDirtyNext) {\n        pPVar3->flags = pPVar3->flags & 0xfff3;\n      }\n      pPVar2->pSynced = pPVar2->pDirtyTail;\n    }\n    else {\n      sqlite3PcacheCleanAll(pPager->pPCache);\n    }\n    sqlite3PcacheTruncate(pPager->pPCache,pPager->dbSize);\n    iVar4 = 0;\n  }\n  else {\n    if (pId->pMethods == &MemJournalMethods) {\n      sqlite3OsClose(pId);\n      goto LAB_0011b53e;\n    }\n    uVar1 = pPager->journalMode;\n    if (uVar1 == '\x03') {\n      iVar4 = 0;\n      if (((pPager->journalOff != 0) && (iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0)) &&\n         (pPager->fullSync != '\0')) {\n        iVar4 = sqlite3OsSync(pPager->jfd,(uint)pPager->syncFlags);\n      }\n      pPager->journalOff = 0;\n    }\n    else if ((uVar1 == '\x01') || ((pPager->exclusiveMode != '\0' && (uVar1 != '\x05')))) {\n      if (hasSuper == 0) {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\n          if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;\n          iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\nLAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);\n          goto LAB_0011b772;\n        }\n      }\n      pPager->journalOff = 0;\n    }\n    else {\n      uVar1 = pPager->tempFile;\n      sqlite3OsClose(pId);\n      if (uVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = sqlite3OsDelete(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync);\n    }\n    sqlite3BitvecDestroy(pPager->pInJournal);\n    pPager->pInJournal = (Bitvec *)0x0;\n    pPager->nRec = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }\n  if (pPager->pWal == (Wal *)0x0) {\n    if ((iVar4 == 0) && (bCommit != 0)) {\n      iVar5 = 0;\n      if (pPager->dbSize < pPager->dbFileSize) {\n        iVar4 = pager_truncate(pPager,pPager->dbSize);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (pPager->exclusiveMode != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = pagerUnlockDb(pPager,1);\n  }\n  else {\n    iVar5 = sqlite3WalEndWriteTransaction(pPager->pWal);\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (bCommit != 0)) {\nLAB_0011b702:\n      iVar4 = sqlite3OsFileControl(pPager->fd,0x16,(void *)0x0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (pPager->exclusiveMode != '\0') {\n        pPager->eState = '\x01';\n        pPager->setSuper = '\0';\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      pWal = pPager->pWal;\n      if (pWal == (Wal *)0x0) goto LAB_0011b7e8;\n      if (pWal->exclusiveMode != '\0') {\n        pWal->exclusiveMode = '\0';\n        iVar6 = walLockShared(pWal,pWal->readLock + 3);\n        if (iVar6 == 0) {\n          if (pWal->exclusiveMode == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          pWal->exclusiveMode = '\x01';\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (pPager->exclusiveMode == '\0') goto LAB_0011b5dd;\n    }\n  }\nLAB_0011b7f8:\n  pPager->eState = '\x01';\n  pPager->setSuper = '\0';\n  if (iVar4 != 0) {\n    iVar5 = iVar4;\n  }\nLAB_0011b806:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "u8 uVar1;" type_identifier identifier ;) (declaration "sqlite3_file *pId;" type_identifier (pointer_declarator "*pId" * identifier) ;) (declaration "Wal *pWal;" type_identifier (pointer_declarator "*pWal" * identifier) ;) (declaration "PCache *pPVar2;" type_identifier (pointer_declarator "*pPVar2" * identifier) ;) (declaration "PgHdr *pPVar3;" type_identifier (pointer_declarator "*pPVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "long size;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "i64 sz;" type_identifier identifier ;) (declaration "long local_30;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_30 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_30 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((pPager->eState < 2) && (iVar5 = 0, pPager->eLock < 2)) goto LAB_0011b806;" if (parenthesized_expression "((pPager->eState < 2) && (iVar5 = 0, pPager->eLock < 2))" ( (binary_expression "(pPager->eState < 2) && (iVar5 = 0, pPager->eLock < 2)" (parenthesized_expression "(pPager->eState < 2)" ( (binary_expression "pPager->eState < 2" (field_expression "pPager->eState" identifier -> field_identifier) < number_literal) )) && (parenthesized_expression "(iVar5 = 0, pPager->eLock < 2)" ( (comma_expression "iVar5 = 0, pPager->eLock < 2" (assignment_expression "iVar5 = 0" identifier = number_literal) , (binary_expression "pPager->eLock < 2" (field_expression "pPager->eLock" identifier -> field_identifier) < number_literal)) ))) )) (goto_statement "goto LAB_0011b806;" goto statement_identifier ;)) (expression_statement "releaseAllSavepoints(pPager);" (call_expression "releaseAllSavepoints(pPager)" identifier (argument_list "(pPager)" ( identifier ))) ;) (expression_statement "pId = pPager->jfd;" (assignment_expression "pId = pPager->jfd" identifier = (field_expression "pPager->jfd" identifier -> field_identifier)) ;) (if_statement "if (pId->pMethods == (sqlite3_io_methods *)0x0) {\nLAB_0011b53e:\n    sqlite3BitvecDestroy(pPager->pInJournal);\n    pPager->pInJournal = (Bitvec *)0x0;\n    pPager->nRec = 0;\nLAB_0011b556:\n    if (((pPager->memDb == '\0') && (pPager->tempFile != '\0')) &&\n       ((bCommit == 0 ||\n        ((pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||\n         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19)))))) {\n      pPVar2 = pPager->pPCache;\n      for (pPVar3 = pPVar2->pDirty; pPVar3 != (PgHdr *)0x0; pPVar3 = pPVar3->pDirtyNext) {\n        pPVar3->flags = pPVar3->flags & 0xfff3;\n      }\n      pPVar2->pSynced = pPVar2->pDirtyTail;\n    }\n    else {\n      sqlite3PcacheCleanAll(pPager->pPCache);\n    }\n    sqlite3PcacheTruncate(pPager->pPCache,pPager->dbSize);\n    iVar4 = 0;\n  }\n  else {\n    if (pId->pMethods == &MemJournalMethods) {\n      sqlite3OsClose(pId);\n      goto LAB_0011b53e;\n    }\n    uVar1 = pPager->journalMode;\n    if (uVar1 == '\x03') {\n      iVar4 = 0;\n      if (((pPager->journalOff != 0) && (iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0)) &&\n         (pPager->fullSync != '\0')) {\n        iVar4 = sqlite3OsSync(pPager->jfd,(uint)pPager->syncFlags);\n      }\n      pPager->journalOff = 0;\n    }\n    else if ((uVar1 == '\x01') || ((pPager->exclusiveMode != '\0' && (uVar1 != '\x05')))) {\n      if (hasSuper == 0) {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\n          if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;\n          iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\nLAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);\n          goto LAB_0011b772;\n        }\n      }\n      pPager->journalOff = 0;\n    }\n    else {\n      uVar1 = pPager->tempFile;\n      sqlite3OsClose(pId);\n      if (uVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = sqlite3OsDelete(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync);\n    }\n    sqlite3BitvecDestroy(pPager->pInJournal);\n    pPager->pInJournal = (Bitvec *)0x0;\n    pPager->nRec = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }" if (parenthesized_expression "(pId->pMethods == (sqlite3_io_methods *)0x0)" ( (binary_expression "pId->pMethods == (sqlite3_io_methods *)0x0" (field_expression "pId->pMethods" identifier -> field_identifier) == (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0011b53e:\n    sqlite3BitvecDestroy(pPager->pInJournal);\n    pPager->pInJournal = (Bitvec *)0x0;\n    pPager->nRec = 0;\nLAB_0011b556:\n    if (((pPager->memDb == '\0') && (pPager->tempFile != '\0')) &&\n       ((bCommit == 0 ||\n        ((pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||\n         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19)))))) {\n      pPVar2 = pPager->pPCache;\n      for (pPVar3 = pPVar2->pDirty; pPVar3 != (PgHdr *)0x0; pPVar3 = pPVar3->pDirtyNext) {\n        pPVar3->flags = pPVar3->flags & 0xfff3;\n      }\n      pPVar2->pSynced = pPVar2->pDirtyTail;\n    }\n    else {\n      sqlite3PcacheCleanAll(pPager->pPCache);\n    }\n    sqlite3PcacheTruncate(pPager->pPCache,pPager->dbSize);\n    iVar4 = 0;\n  }" { (labeled_statement "LAB_0011b53e:\n    sqlite3BitvecDestroy(pPager->pInJournal);" statement_identifier : (expression_statement "sqlite3BitvecDestroy(pPager->pInJournal);" (call_expression "sqlite3BitvecDestroy(pPager->pInJournal)" identifier (argument_list "(pPager->pInJournal)" ( (field_expression "pPager->pInJournal" identifier -> field_identifier) ))) ;)) (expression_statement "pPager->pInJournal = (Bitvec *)0x0;" (assignment_expression "pPager->pInJournal = (Bitvec *)0x0" (field_expression "pPager->pInJournal" identifier -> field_identifier) = (cast_expression "(Bitvec *)0x0" ( (type_descriptor "Bitvec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pPager->nRec = 0;" (assignment_expression "pPager->nRec = 0" (field_expression "pPager->nRec" identifier -> field_identifier) = number_literal) ;) (labeled_statement "LAB_0011b556:\n    if (((pPager->memDb == '\0') && (pPager->tempFile != '\0')) &&\n       ((bCommit == 0 ||\n        ((pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||\n         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19)))))) {\n      pPVar2 = pPager->pPCache;\n      for (pPVar3 = pPVar2->pDirty; pPVar3 != (PgHdr *)0x0; pPVar3 = pPVar3->pDirtyNext) {\n        pPVar3->flags = pPVar3->flags & 0xfff3;\n      }\n      pPVar2->pSynced = pPVar2->pDirtyTail;\n    }\n    else {\n      sqlite3PcacheCleanAll(pPager->pPCache);\n    }" statement_identifier : (if_statement "if (((pPager->memDb == '\0') && (pPager->tempFile != '\0')) &&\n       ((bCommit == 0 ||\n        ((pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||\n         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19)))))) {\n      pPVar2 = pPager->pPCache;\n      for (pPVar3 = pPVar2->pDirty; pPVar3 != (PgHdr *)0x0; pPVar3 = pPVar3->pDirtyNext) {\n        pPVar3->flags = pPVar3->flags & 0xfff3;\n      }\n      pPVar2->pSynced = pPVar2->pDirtyTail;\n    }\n    else {\n      sqlite3PcacheCleanAll(pPager->pPCache);\n    }" if (parenthesized_expression "(((pPager->memDb == '\0') && (pPager->tempFile != '\0')) &&\n       ((bCommit == 0 ||\n        ((pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||\n         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19))))))" ( (binary_expression "((pPager->memDb == '\0') && (pPager->tempFile != '\0')) &&\n       ((bCommit == 0 ||\n        ((pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||\n         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19)))))" (parenthesized_expression "((pPager->memDb == '\0') && (pPager->tempFile != '\0'))" ( (binary_expression "(pPager->memDb == '\0') && (pPager->tempFile != '\0')" (parenthesized_expression "(pPager->memDb == '\0')" ( (binary_expression "pPager->memDb == '\0'" (field_expression "pPager->memDb" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(pPager->tempFile != '\0')" ( (binary_expression "pPager->tempFile != '\0'" (field_expression "pPager->tempFile" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "((bCommit == 0 ||\n        ((pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||\n         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19)))))" ( (parenthesized_expression "(bCommit == 0 ||\n        ((pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||\n         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19))))" ( (binary_expression "bCommit == 0 ||\n        ((pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||\n         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19)))" (binary_expression "bCommit == 0" identifier == number_literal) || (parenthesized_expression "((pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||\n         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19)))" ( (parenthesized_expression "(pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||\n         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19))" ( (binary_expression "pPager->fd->pMethods == (sqlite3_io_methods *)0x0 ||\n         (iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19)" (binary_expression "pPager->fd->pMethods == (sqlite3_io_methods *)0x0" (field_expression "pPager->fd->pMethods" (field_expression "pPager->fd" identifier -> field_identifier) -> field_identifier) == (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19)" ( (comma_expression "iVar5 = sqlite3PCachePercentDirty(pPager->pPCache), iVar5 < 0x19" (assignment_expression "iVar5 = sqlite3PCachePercentDirty(pPager->pPCache)" identifier = (call_expression "sqlite3PCachePercentDirty(pPager->pPCache)" identifier (argument_list "(pPager->pPCache)" ( (field_expression "pPager->pPCache" identifier -> field_identifier) )))) , (binary_expression "iVar5 < 0x19" identifier < number_literal)) ))) )) ))) )) ))) )) (compound_statement "{\n      pPVar2 = pPager->pPCache;\n      for (pPVar3 = pPVar2->pDirty; pPVar3 != (PgHdr *)0x0; pPVar3 = pPVar3->pDirtyNext) {\n        pPVar3->flags = pPVar3->flags & 0xfff3;\n      }\n      pPVar2->pSynced = pPVar2->pDirtyTail;\n    }" { (expression_statement "pPVar2 = pPager->pPCache;" (assignment_expression "pPVar2 = pPager->pPCache" identifier = (field_expression "pPager->pPCache" identifier -> field_identifier)) ;) (for_statement "for (pPVar3 = pPVar2->pDirty; pPVar3 != (PgHdr *)0x0; pPVar3 = pPVar3->pDirtyNext) {\n        pPVar3->flags = pPVar3->flags & 0xfff3;\n      }" for ( (assignment_expression "pPVar3 = pPVar2->pDirty" identifier = (field_expression "pPVar2->pDirty" identifier -> field_identifier)) ; (binary_expression "pPVar3 != (PgHdr *)0x0" identifier != (cast_expression "(PgHdr *)0x0" ( (type_descriptor "PgHdr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "pPVar3 = pPVar3->pDirtyNext" identifier = (field_expression "pPVar3->pDirtyNext" identifier -> field_identifier)) ) (compound_statement "{\n        pPVar3->flags = pPVar3->flags & 0xfff3;\n      }" { (expression_statement "pPVar3->flags = pPVar3->flags & 0xfff3;" (assignment_expression "pPVar3->flags = pPVar3->flags & 0xfff3" (field_expression "pPVar3->flags" identifier -> field_identifier) = (binary_expression "pPVar3->flags & 0xfff3" (field_expression "pPVar3->flags" identifier -> field_identifier) & number_literal)) ;) })) (expression_statement "pPVar2->pSynced = pPVar2->pDirtyTail;" (assignment_expression "pPVar2->pSynced = pPVar2->pDirtyTail" (field_expression "pPVar2->pSynced" identifier -> field_identifier) = (field_expression "pPVar2->pDirtyTail" identifier -> field_identifier)) ;) }) (else_clause "else {\n      sqlite3PcacheCleanAll(pPager->pPCache);\n    }" else (compound_statement "{\n      sqlite3PcacheCleanAll(pPager->pPCache);\n    }" { (expression_statement "sqlite3PcacheCleanAll(pPager->pPCache);" (call_expression "sqlite3PcacheCleanAll(pPager->pPCache)" identifier (argument_list "(pPager->pPCache)" ( (field_expression "pPager->pPCache" identifier -> field_identifier) ))) ;) })))) (expression_statement "sqlite3PcacheTruncate(pPager->pPCache,pPager->dbSize);" (call_expression "sqlite3PcacheTruncate(pPager->pPCache,pPager->dbSize)" identifier (argument_list "(pPager->pPCache,pPager->dbSize)" ( (field_expression "pPager->pPCache" identifier -> field_identifier) , (field_expression "pPager->dbSize" identifier -> field_identifier) ))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    if (pId->pMethods == &MemJournalMethods) {\n      sqlite3OsClose(pId);\n      goto LAB_0011b53e;\n    }\n    uVar1 = pPager->journalMode;\n    if (uVar1 == '\x03') {\n      iVar4 = 0;\n      if (((pPager->journalOff != 0) && (iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0)) &&\n         (pPager->fullSync != '\0')) {\n        iVar4 = sqlite3OsSync(pPager->jfd,(uint)pPager->syncFlags);\n      }\n      pPager->journalOff = 0;\n    }\n    else if ((uVar1 == '\x01') || ((pPager->exclusiveMode != '\0' && (uVar1 != '\x05')))) {\n      if (hasSuper == 0) {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\n          if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;\n          iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\nLAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);\n          goto LAB_0011b772;\n        }\n      }\n      pPager->journalOff = 0;\n    }\n    else {\n      uVar1 = pPager->tempFile;\n      sqlite3OsClose(pId);\n      if (uVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = sqlite3OsDelete(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync);\n    }\n    sqlite3BitvecDestroy(pPager->pInJournal);\n    pPager->pInJournal = (Bitvec *)0x0;\n    pPager->nRec = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }" else (compound_statement "{\n    if (pId->pMethods == &MemJournalMethods) {\n      sqlite3OsClose(pId);\n      goto LAB_0011b53e;\n    }\n    uVar1 = pPager->journalMode;\n    if (uVar1 == '\x03') {\n      iVar4 = 0;\n      if (((pPager->journalOff != 0) && (iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0)) &&\n         (pPager->fullSync != '\0')) {\n        iVar4 = sqlite3OsSync(pPager->jfd,(uint)pPager->syncFlags);\n      }\n      pPager->journalOff = 0;\n    }\n    else if ((uVar1 == '\x01') || ((pPager->exclusiveMode != '\0' && (uVar1 != '\x05')))) {\n      if (hasSuper == 0) {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\n          if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;\n          iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\nLAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);\n          goto LAB_0011b772;\n        }\n      }\n      pPager->journalOff = 0;\n    }\n    else {\n      uVar1 = pPager->tempFile;\n      sqlite3OsClose(pId);\n      if (uVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = sqlite3OsDelete(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync);\n    }\n    sqlite3BitvecDestroy(pPager->pInJournal);\n    pPager->pInJournal = (Bitvec *)0x0;\n    pPager->nRec = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }" { (if_statement "if (pId->pMethods == &MemJournalMethods) {\n      sqlite3OsClose(pId);\n      goto LAB_0011b53e;\n    }" if (parenthesized_expression "(pId->pMethods == &MemJournalMethods)" ( (binary_expression "pId->pMethods == &MemJournalMethods" (field_expression "pId->pMethods" identifier -> field_identifier) == (pointer_expression "&MemJournalMethods" & identifier)) )) (compound_statement "{\n      sqlite3OsClose(pId);\n      goto LAB_0011b53e;\n    }" { (expression_statement "sqlite3OsClose(pId);" (call_expression "sqlite3OsClose(pId)" identifier (argument_list "(pId)" ( identifier ))) ;) (goto_statement "goto LAB_0011b53e;" goto statement_identifier ;) })) (expression_statement "uVar1 = pPager->journalMode;" (assignment_expression "uVar1 = pPager->journalMode" identifier = (field_expression "pPager->journalMode" identifier -> field_identifier)) ;) (if_statement "if (uVar1 == '\x03') {\n      iVar4 = 0;\n      if (((pPager->journalOff != 0) && (iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0)) &&\n         (pPager->fullSync != '\0')) {\n        iVar4 = sqlite3OsSync(pPager->jfd,(uint)pPager->syncFlags);\n      }\n      pPager->journalOff = 0;\n    }\n    else if ((uVar1 == '\x01') || ((pPager->exclusiveMode != '\0' && (uVar1 != '\x05')))) {\n      if (hasSuper == 0) {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\n          if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;\n          iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\nLAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);\n          goto LAB_0011b772;\n        }\n      }\n      pPager->journalOff = 0;\n    }\n    else {\n      uVar1 = pPager->tempFile;\n      sqlite3OsClose(pId);\n      if (uVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = sqlite3OsDelete(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync);\n    }" if (parenthesized_expression "(uVar1 == '\x03')" ( (binary_expression "uVar1 == '\x03'" identifier == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n      iVar4 = 0;\n      if (((pPager->journalOff != 0) && (iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0)) &&\n         (pPager->fullSync != '\0')) {\n        iVar4 = sqlite3OsSync(pPager->jfd,(uint)pPager->syncFlags);\n      }\n      pPager->journalOff = 0;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (((pPager->journalOff != 0) && (iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0)) &&\n         (pPager->fullSync != '\0')) {\n        iVar4 = sqlite3OsSync(pPager->jfd,(uint)pPager->syncFlags);\n      }" if (parenthesized_expression "(((pPager->journalOff != 0) && (iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0)) &&\n         (pPager->fullSync != '\0'))" ( (binary_expression "((pPager->journalOff != 0) && (iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0)) &&\n         (pPager->fullSync != '\0')" (parenthesized_expression "((pPager->journalOff != 0) && (iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0))" ( (binary_expression "(pPager->journalOff != 0) && (iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0)" (parenthesized_expression "(pPager->journalOff != 0)" ( (binary_expression "pPager->journalOff != 0" (field_expression "pPager->journalOff" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "(iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0)" ( (comma_expression "iVar4 = sqlite3OsTruncate(pId,0), iVar4 == 0" (assignment_expression "iVar4 = sqlite3OsTruncate(pId,0)" identifier = (call_expression "sqlite3OsTruncate(pId,0)" identifier (argument_list "(pId,0)" ( identifier , number_literal )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(pPager->fullSync != '\0')" ( (binary_expression "pPager->fullSync != '\0'" (field_expression "pPager->fullSync" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        iVar4 = sqlite3OsSync(pPager->jfd,(uint)pPager->syncFlags);\n      }" { (expression_statement "iVar4 = sqlite3OsSync(pPager->jfd,(uint)pPager->syncFlags);" (assignment_expression "iVar4 = sqlite3OsSync(pPager->jfd,(uint)pPager->syncFlags)" identifier = (call_expression "sqlite3OsSync(pPager->jfd,(uint)pPager->syncFlags)" identifier (argument_list "(pPager->jfd,(uint)pPager->syncFlags)" ( (field_expression "pPager->jfd" identifier -> field_identifier) , (cast_expression "(uint)pPager->syncFlags" ( (type_descriptor "uint" type_identifier) ) (field_expression "pPager->syncFlags" identifier -> field_identifier)) )))) ;) })) (expression_statement "pPager->journalOff = 0;" (assignment_expression "pPager->journalOff = 0" (field_expression "pPager->journalOff" identifier -> field_identifier) = number_literal) ;) }) (else_clause "else if ((uVar1 == '\x01') || ((pPager->exclusiveMode != '\0' && (uVar1 != '\x05')))) {\n      if (hasSuper == 0) {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\n          if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;\n          iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\nLAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);\n          goto LAB_0011b772;\n        }\n      }\n      pPager->journalOff = 0;\n    }\n    else {\n      uVar1 = pPager->tempFile;\n      sqlite3OsClose(pId);\n      if (uVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = sqlite3OsDelete(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync);\n    }" else (if_statement "if ((uVar1 == '\x01') || ((pPager->exclusiveMode != '\0' && (uVar1 != '\x05')))) {\n      if (hasSuper == 0) {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\n          if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;\n          iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\nLAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);\n          goto LAB_0011b772;\n        }\n      }\n      pPager->journalOff = 0;\n    }\n    else {\n      uVar1 = pPager->tempFile;\n      sqlite3OsClose(pId);\n      if (uVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = sqlite3OsDelete(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync);\n    }" if (parenthesized_expression "((uVar1 == '\x01') || ((pPager->exclusiveMode != '\0' && (uVar1 != '\x05'))))" ( (binary_expression "(uVar1 == '\x01') || ((pPager->exclusiveMode != '\0' && (uVar1 != '\x05')))" (parenthesized_expression "(uVar1 == '\x01')" ( (binary_expression "uVar1 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) || (parenthesized_expression "((pPager->exclusiveMode != '\0' && (uVar1 != '\x05')))" ( (parenthesized_expression "(pPager->exclusiveMode != '\0' && (uVar1 != '\x05'))" ( (binary_expression "pPager->exclusiveMode != '\0' && (uVar1 != '\x05')" (binary_expression "pPager->exclusiveMode != '\0'" (field_expression "pPager->exclusiveMode" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(uVar1 != '\x05')" ( (binary_expression "uVar1 != '\x05'" identifier != (char_literal "'\x05'" ' escape_sequence ')) ))) )) ))) )) (compound_statement "{\n      if (hasSuper == 0) {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\n          if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;\n          iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\nLAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);\n          goto LAB_0011b772;\n        }\n      }\n      pPager->journalOff = 0;\n    }" { (if_statement "if (hasSuper == 0) {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\n          if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;\n          iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\nLAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);\n          goto LAB_0011b772;\n        }\n      }" if (parenthesized_expression "(hasSuper == 0)" ( (binary_expression "hasSuper == 0" identifier == number_literal) )) (compound_statement "{\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\n          if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;\n          iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }\n        }\n      }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\n          if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;\n          iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }\n        }" if (parenthesized_expression "(pPager->journalOff != 0)" ( (binary_expression "pPager->journalOff != 0" (field_expression "pPager->journalOff" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n          size = pPager->journalSizeLimit;\n          if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;\n          iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }\n        }" { (expression_statement "size = pPager->journalSizeLimit;" (assignment_expression "size = pPager->journalSizeLimit" identifier = (field_expression "pPager->journalSizeLimit" identifier -> field_identifier)) ;) (if_statement "if ((size == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;" if (parenthesized_expression "((size == 0) || (pPager->tempFile != '\0'))" ( (binary_expression "(size == 0) || (pPager->tempFile != '\0')" (parenthesized_expression "(size == 0)" ( (binary_expression "size == 0" identifier == number_literal) )) || (parenthesized_expression "(pPager->tempFile != '\0')" ( (binary_expression "pPager->tempFile != '\0'" (field_expression "pPager->tempFile" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_0011b766;" goto statement_identifier ;)) (expression_statement "iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0);" (assignment_expression "iVar4 = sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0)" identifier = (call_expression "sqlite3OsWrite(pId,zeroHdr_18699,0x1c,0)" identifier (argument_list "(pId,zeroHdr_18699,0x1c,0)" ( identifier , identifier , number_literal , number_literal )))) ;) (labeled_statement "LAB_0011b772:\n          if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }" statement_identifier : (if_statement "if (iVar4 == 0) {\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n            if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }\n            if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }\n          }" { (if_statement "if (pPager->noSync == '\0') {\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }" if (parenthesized_expression "(pPager->noSync == '\0')" ( (binary_expression "pPager->noSync == '\0'" (field_expression "pPager->noSync" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));\n            }" { (expression_statement "iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10));" (assignment_expression "iVar4 = sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10))" identifier = (call_expression "sqlite3OsSync(pPager->jfd,(uint)(pPager->syncFlags | 0x10))" identifier (argument_list "(pPager->jfd,(uint)(pPager->syncFlags | 0x10))" ( (field_expression "pPager->jfd" identifier -> field_identifier) , (call_expression "(uint)(pPager->syncFlags | 0x10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pPager->syncFlags | 0x10)" ( (binary_expression "pPager->syncFlags | 0x10" (field_expression "pPager->syncFlags" identifier -> field_identifier) | number_literal) ))) )))) ;) })) (if_statement "if ((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)) {\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }" if (parenthesized_expression "((((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz))" ( (binary_expression "(((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)) && (size < sz)" (parenthesized_expression "(((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0))" ( (binary_expression "((iVar4 == 0) && (0 < size)) &&\n                (iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)" (parenthesized_expression "((iVar4 == 0) && (0 < size))" ( (binary_expression "(iVar4 == 0) && (0 < size)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(0 < size)" ( (binary_expression "0 < size" number_literal < identifier) ))) )) && (parenthesized_expression "(iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0)" ( (comma_expression "iVar4 = sqlite3OsFileSize(pPager->jfd,&sz), iVar4 == 0" (assignment_expression "iVar4 = sqlite3OsFileSize(pPager->jfd,&sz)" identifier = (call_expression "sqlite3OsFileSize(pPager->jfd,&sz)" identifier (argument_list "(pPager->jfd,&sz)" ( (field_expression "pPager->jfd" identifier -> field_identifier) , (pointer_expression "&sz" & identifier) )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(size < sz)" ( (binary_expression "size < sz" identifier < identifier) ))) )) (compound_statement "{\n              iVar4 = sqlite3OsTruncate(pPager->jfd,size);\n            }" { (expression_statement "iVar4 = sqlite3OsTruncate(pPager->jfd,size);" (assignment_expression "iVar4 = sqlite3OsTruncate(pPager->jfd,size)" identifier = (call_expression "sqlite3OsTruncate(pPager->jfd,size)" identifier (argument_list "(pPager->jfd,size)" ( (field_expression "pPager->jfd" identifier -> field_identifier) , identifier )))) ;) })) }))) })) }) (else_clause "else {\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\nLAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);\n          goto LAB_0011b772;\n        }\n      }" else (compound_statement "{\n        iVar4 = 0;\n        if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\nLAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);\n          goto LAB_0011b772;\n        }\n      }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (pPager->journalOff != 0) {\n          size = pPager->journalSizeLimit;\nLAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);\n          goto LAB_0011b772;\n        }" if (parenthesized_expression "(pPager->journalOff != 0)" ( (binary_expression "pPager->journalOff != 0" (field_expression "pPager->journalOff" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n          size = pPager->journalSizeLimit;\nLAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);\n          goto LAB_0011b772;\n        }" { (expression_statement "size = pPager->journalSizeLimit;" (assignment_expression "size = pPager->journalSizeLimit" identifier = (field_expression "pPager->journalSizeLimit" identifier -> field_identifier)) ;) (labeled_statement "LAB_0011b766:\n          iVar4 = sqlite3OsTruncate(pId,0);" statement_identifier : (expression_statement "iVar4 = sqlite3OsTruncate(pId,0);" (assignment_expression "iVar4 = sqlite3OsTruncate(pId,0)" identifier = (call_expression "sqlite3OsTruncate(pId,0)" identifier (argument_list "(pId,0)" ( identifier , number_literal )))) ;)) (goto_statement "goto LAB_0011b772;" goto statement_identifier ;) })) }))) (expression_statement "pPager->journalOff = 0;" (assignment_expression "pPager->journalOff = 0" (field_expression "pPager->journalOff" identifier -> field_identifier) = number_literal) ;) }) (else_clause "else {\n      uVar1 = pPager->tempFile;\n      sqlite3OsClose(pId);\n      if (uVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = sqlite3OsDelete(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync);\n    }" else (compound_statement "{\n      uVar1 = pPager->tempFile;\n      sqlite3OsClose(pId);\n      if (uVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = sqlite3OsDelete(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync);\n    }" { (expression_statement "uVar1 = pPager->tempFile;" (assignment_expression "uVar1 = pPager->tempFile" identifier = (field_expression "pPager->tempFile" identifier -> field_identifier)) ;) (expression_statement "sqlite3OsClose(pId);" (call_expression "sqlite3OsClose(pId)" identifier (argument_list "(pId)" ( identifier ))) ;) (if_statement "if (uVar1 != '\0') goto LAB_0011b53e;" if (parenthesized_expression "(uVar1 != '\0')" ( (binary_expression "uVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011b53e;" goto statement_identifier ;)) (expression_statement "iVar4 = sqlite3OsDelete(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync);" (assignment_expression "iVar4 = sqlite3OsDelete(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync)" identifier = (call_expression "sqlite3OsDelete(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync)" identifier (argument_list "(pPager->pVfs,pPager->zJournal,(uint)pPager->extraSync)" ( (field_expression "pPager->pVfs" identifier -> field_identifier) , (field_expression "pPager->zJournal" identifier -> field_identifier) , (cast_expression "(uint)pPager->extraSync" ( (type_descriptor "uint" type_identifier) ) (field_expression "pPager->extraSync" identifier -> field_identifier)) )))) ;) }))))) (expression_statement "sqlite3BitvecDestroy(pPager->pInJournal);" (call_expression "sqlite3BitvecDestroy(pPager->pInJournal)" identifier (argument_list "(pPager->pInJournal)" ( (field_expression "pPager->pInJournal" identifier -> field_identifier) ))) ;) (expression_statement "pPager->pInJournal = (Bitvec *)0x0;" (assignment_expression "pPager->pInJournal = (Bitvec *)0x0" (field_expression "pPager->pInJournal" identifier -> field_identifier) = (cast_expression "(Bitvec *)0x0" ( (type_descriptor "Bitvec *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pPager->nRec = 0;" (assignment_expression "pPager->nRec = 0" (field_expression "pPager->nRec" identifier -> field_identifier) = number_literal) ;) (if_statement "if (iVar4 == 0) goto LAB_0011b556;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0011b556;" goto statement_identifier ;)) }))) (if_statement "if (pPager->pWal == (Wal *)0x0) {\n    if ((iVar4 == 0) && (bCommit != 0)) {\n      iVar5 = 0;\n      if (pPager->dbSize < pPager->dbFileSize) {\n        iVar4 = pager_truncate(pPager,pPager->dbSize);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (pPager->exclusiveMode != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = pagerUnlockDb(pPager,1);\n  }\n  else {\n    iVar5 = sqlite3WalEndWriteTransaction(pPager->pWal);\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (bCommit != 0)) {\nLAB_0011b702:\n      iVar4 = sqlite3OsFileControl(pPager->fd,0x16,(void *)0x0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (pPager->exclusiveMode != '\0') {\n        pPager->eState = '\x01';\n        pPager->setSuper = '\0';\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      pWal = pPager->pWal;\n      if (pWal == (Wal *)0x0) goto LAB_0011b7e8;\n      if (pWal->exclusiveMode != '\0') {\n        pWal->exclusiveMode = '\0';\n        iVar6 = walLockShared(pWal,pWal->readLock + 3);\n        if (iVar6 == 0) {\n          if (pWal->exclusiveMode == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          pWal->exclusiveMode = '\x01';\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (pPager->exclusiveMode == '\0') goto LAB_0011b5dd;\n    }\n  }" if (parenthesized_expression "(pPager->pWal == (Wal *)0x0)" ( (binary_expression "pPager->pWal == (Wal *)0x0" (field_expression "pPager->pWal" identifier -> field_identifier) == (cast_expression "(Wal *)0x0" ( (type_descriptor "Wal *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((iVar4 == 0) && (bCommit != 0)) {\n      iVar5 = 0;\n      if (pPager->dbSize < pPager->dbFileSize) {\n        iVar4 = pager_truncate(pPager,pPager->dbSize);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (pPager->exclusiveMode != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = pagerUnlockDb(pPager,1);\n  }" { (if_statement "if ((iVar4 == 0) && (bCommit != 0)) {\n      iVar5 = 0;\n      if (pPager->dbSize < pPager->dbFileSize) {\n        iVar4 = pager_truncate(pPager,pPager->dbSize);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }" if (parenthesized_expression "((iVar4 == 0) && (bCommit != 0))" ( (binary_expression "(iVar4 == 0) && (bCommit != 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(bCommit != 0)" ( (binary_expression "bCommit != 0" identifier != number_literal) ))) )) (compound_statement "{\n      iVar5 = 0;\n      if (pPager->dbSize < pPager->dbFileSize) {\n        iVar4 = pager_truncate(pPager,pPager->dbSize);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (pPager->dbSize < pPager->dbFileSize) {\n        iVar4 = pager_truncate(pPager,pPager->dbSize);\n        goto LAB_0011b5c6;\n      }" if (parenthesized_expression "(pPager->dbSize < pPager->dbFileSize)" ( (binary_expression "pPager->dbSize < pPager->dbFileSize" (field_expression "pPager->dbSize" identifier -> field_identifier) < (field_expression "pPager->dbFileSize" identifier -> field_identifier)) )) (compound_statement "{\n        iVar4 = pager_truncate(pPager,pPager->dbSize);\n        goto LAB_0011b5c6;\n      }" { (expression_statement "iVar4 = pager_truncate(pPager,pPager->dbSize);" (assignment_expression "iVar4 = pager_truncate(pPager,pPager->dbSize)" identifier = (call_expression "pager_truncate(pPager,pPager->dbSize)" identifier (argument_list "(pPager,pPager->dbSize)" ( identifier , (field_expression "pPager->dbSize" identifier -> field_identifier) )))) ;) (goto_statement "goto LAB_0011b5c6;" goto statement_identifier ;) })) (goto_statement "goto LAB_0011b702;" goto statement_identifier ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (pPager->exclusiveMode != '\0') goto LAB_0011b7f8;" if (parenthesized_expression "(pPager->exclusiveMode != '\0')" ( (binary_expression "pPager->exclusiveMode != '\0'" (field_expression "pPager->exclusiveMode" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011b7f8;" goto statement_identifier ;)) (labeled_statement "LAB_0011b7e8:\n    iVar5 = pagerUnlockDb(pPager,1);" statement_identifier : (expression_statement "iVar5 = pagerUnlockDb(pPager,1);" (assignment_expression "iVar5 = pagerUnlockDb(pPager,1)" identifier = (call_expression "pagerUnlockDb(pPager,1)" identifier (argument_list "(pPager,1)" ( identifier , number_literal )))) ;)) }) (else_clause "else {\n    iVar5 = sqlite3WalEndWriteTransaction(pPager->pWal);\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (bCommit != 0)) {\nLAB_0011b702:\n      iVar4 = sqlite3OsFileControl(pPager->fd,0x16,(void *)0x0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (pPager->exclusiveMode != '\0') {\n        pPager->eState = '\x01';\n        pPager->setSuper = '\0';\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      pWal = pPager->pWal;\n      if (pWal == (Wal *)0x0) goto LAB_0011b7e8;\n      if (pWal->exclusiveMode != '\0') {\n        pWal->exclusiveMode = '\0';\n        iVar6 = walLockShared(pWal,pWal->readLock + 3);\n        if (iVar6 == 0) {\n          if (pWal->exclusiveMode == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          pWal->exclusiveMode = '\x01';\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (pPager->exclusiveMode == '\0') goto LAB_0011b5dd;\n    }\n  }" else (compound_statement "{\n    iVar5 = sqlite3WalEndWriteTransaction(pPager->pWal);\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (bCommit != 0)) {\nLAB_0011b702:\n      iVar4 = sqlite3OsFileControl(pPager->fd,0x16,(void *)0x0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (pPager->exclusiveMode != '\0') {\n        pPager->eState = '\x01';\n        pPager->setSuper = '\0';\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      pWal = pPager->pWal;\n      if (pWal == (Wal *)0x0) goto LAB_0011b7e8;\n      if (pWal->exclusiveMode != '\0') {\n        pWal->exclusiveMode = '\0';\n        iVar6 = walLockShared(pWal,pWal->readLock + 3);\n        if (iVar6 == 0) {\n          if (pWal->exclusiveMode == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          pWal->exclusiveMode = '\x01';\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (pPager->exclusiveMode == '\0') goto LAB_0011b5dd;\n    }\n  }" { (expression_statement "iVar5 = sqlite3WalEndWriteTransaction(pPager->pWal);" (assignment_expression "iVar5 = sqlite3WalEndWriteTransaction(pPager->pWal)" identifier = (call_expression "sqlite3WalEndWriteTransaction(pPager->pWal)" identifier (argument_list "(pPager->pWal)" ( (field_expression "pPager->pWal" identifier -> field_identifier) )))) ;) (labeled_statement "LAB_0011b5c6:\n    if ((iVar4 == 0) && (bCommit != 0)) {\nLAB_0011b702:\n      iVar4 = sqlite3OsFileControl(pPager->fd,0x16,(void *)0x0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (pPager->exclusiveMode != '\0') {\n        pPager->eState = '\x01';\n        pPager->setSuper = '\0';\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      pWal = pPager->pWal;\n      if (pWal == (Wal *)0x0) goto LAB_0011b7e8;\n      if (pWal->exclusiveMode != '\0') {\n        pWal->exclusiveMode = '\0';\n        iVar6 = walLockShared(pWal,pWal->readLock + 3);\n        if (iVar6 == 0) {\n          if (pWal->exclusiveMode == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          pWal->exclusiveMode = '\x01';\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (pPager->exclusiveMode == '\0') goto LAB_0011b5dd;\n    }" statement_identifier : (if_statement "if ((iVar4 == 0) && (bCommit != 0)) {\nLAB_0011b702:\n      iVar4 = sqlite3OsFileControl(pPager->fd,0x16,(void *)0x0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (pPager->exclusiveMode != '\0') {\n        pPager->eState = '\x01';\n        pPager->setSuper = '\0';\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      pWal = pPager->pWal;\n      if (pWal == (Wal *)0x0) goto LAB_0011b7e8;\n      if (pWal->exclusiveMode != '\0') {\n        pWal->exclusiveMode = '\0';\n        iVar6 = walLockShared(pWal,pWal->readLock + 3);\n        if (iVar6 == 0) {\n          if (pWal->exclusiveMode == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          pWal->exclusiveMode = '\x01';\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (pPager->exclusiveMode == '\0') goto LAB_0011b5dd;\n    }" if (parenthesized_expression "((iVar4 == 0) && (bCommit != 0))" ( (binary_expression "(iVar4 == 0) && (bCommit != 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(bCommit != 0)" ( (binary_expression "bCommit != 0" identifier != number_literal) ))) )) (compound_statement "{\nLAB_0011b702:\n      iVar4 = sqlite3OsFileControl(pPager->fd,0x16,(void *)0x0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (pPager->exclusiveMode != '\0') {\n        pPager->eState = '\x01';\n        pPager->setSuper = '\0';\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      pWal = pPager->pWal;\n      if (pWal == (Wal *)0x0) goto LAB_0011b7e8;\n      if (pWal->exclusiveMode != '\0') {\n        pWal->exclusiveMode = '\0';\n        iVar6 = walLockShared(pWal,pWal->readLock + 3);\n        if (iVar6 == 0) {\n          if (pWal->exclusiveMode == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          pWal->exclusiveMode = '\x01';\n        }\n      }\n    }" { (labeled_statement "LAB_0011b702:\n      iVar4 = sqlite3OsFileControl(pPager->fd,0x16,(void *)0x0);" statement_identifier : (expression_statement "iVar4 = sqlite3OsFileControl(pPager->fd,0x16,(void *)0x0);" (assignment_expression "iVar4 = sqlite3OsFileControl(pPager->fd,0x16,(void *)0x0)" identifier = (call_expression "sqlite3OsFileControl(pPager->fd,0x16,(void *)0x0)" identifier (argument_list "(pPager->fd,0x16,(void *)0x0)" ( (field_expression "pPager->fd" identifier -> field_identifier) , number_literal , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;)) (if_statement "if (iVar4 != 0xc) goto LAB_0011b5d3;" if (parenthesized_expression "(iVar4 != 0xc)" ( (binary_expression "iVar4 != 0xc" identifier != number_literal) )) (goto_statement "goto LAB_0011b5d3;" goto statement_identifier ;)) (if_statement "if (pPager->exclusiveMode != '\0') {\n        pPager->eState = '\x01';\n        pPager->setSuper = '\0';\n        goto LAB_0011b806;\n      }" if (parenthesized_expression "(pPager->exclusiveMode != '\0')" ( (binary_expression "pPager->exclusiveMode != '\0'" (field_expression "pPager->exclusiveMode" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        pPager->eState = '\x01';\n        pPager->setSuper = '\0';\n        goto LAB_0011b806;\n      }" { (expression_statement "pPager->eState = '\x01';" (assignment_expression "pPager->eState = '\x01'" (field_expression "pPager->eState" identifier -> field_identifier) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "pPager->setSuper = '\0';" (assignment_expression "pPager->setSuper = '\0'" (field_expression "pPager->setSuper" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (goto_statement "goto LAB_0011b806;" goto statement_identifier ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0011b5dd:\n      pWal = pPager->pWal;" statement_identifier : (expression_statement "pWal = pPager->pWal;" (assignment_expression "pWal = pPager->pWal" identifier = (field_expression "pPager->pWal" identifier -> field_identifier)) ;)) (if_statement "if (pWal == (Wal *)0x0) goto LAB_0011b7e8;" if (parenthesized_expression "(pWal == (Wal *)0x0)" ( (binary_expression "pWal == (Wal *)0x0" identifier == (cast_expression "(Wal *)0x0" ( (type_descriptor "Wal *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0011b7e8;" goto statement_identifier ;)) (if_statement "if (pWal->exclusiveMode != '\0') {\n        pWal->exclusiveMode = '\0';\n        iVar6 = walLockShared(pWal,pWal->readLock + 3);\n        if (iVar6 == 0) {\n          if (pWal->exclusiveMode == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          pWal->exclusiveMode = '\x01';\n        }\n      }" if (parenthesized_expression "(pWal->exclusiveMode != '\0')" ( (binary_expression "pWal->exclusiveMode != '\0'" (field_expression "pWal->exclusiveMode" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        pWal->exclusiveMode = '\0';\n        iVar6 = walLockShared(pWal,pWal->readLock + 3);\n        if (iVar6 == 0) {\n          if (pWal->exclusiveMode == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          pWal->exclusiveMode = '\x01';\n        }\n      }" { (expression_statement "pWal->exclusiveMode = '\0';" (assignment_expression "pWal->exclusiveMode = '\0'" (field_expression "pWal->exclusiveMode" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar6 = walLockShared(pWal,pWal->readLock + 3);" (assignment_expression "iVar6 = walLockShared(pWal,pWal->readLock + 3)" identifier = (call_expression "walLockShared(pWal,pWal->readLock + 3)" identifier (argument_list "(pWal,pWal->readLock + 3)" ( identifier , (binary_expression "pWal->readLock + 3" (field_expression "pWal->readLock" identifier -> field_identifier) + number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n          if (pWal->exclusiveMode == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          pWal->exclusiveMode = '\x01';\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          if (pWal->exclusiveMode == '\0') goto LAB_0011b7e8;\n        }" { (if_statement "if (pWal->exclusiveMode == '\0') goto LAB_0011b7e8;" if (parenthesized_expression "(pWal->exclusiveMode == '\0')" ( (binary_expression "pWal->exclusiveMode == '\0'" (field_expression "pWal->exclusiveMode" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011b7e8;" goto statement_identifier ;)) }) (else_clause "else {\n          pWal->exclusiveMode = '\x01';\n        }" else (compound_statement "{\n          pWal->exclusiveMode = '\x01';\n        }" { (expression_statement "pWal->exclusiveMode = '\x01';" (assignment_expression "pWal->exclusiveMode = '\x01'" (field_expression "pWal->exclusiveMode" identifier -> field_identifier) = (char_literal "'\x01'" ' escape_sequence ')) ;) }))) })) }) (else_clause "else {\nLAB_0011b5d3:\n      if (pPager->exclusiveMode == '\0') goto LAB_0011b5dd;\n    }" else (compound_statement "{\nLAB_0011b5d3:\n      if (pPager->exclusiveMode == '\0') goto LAB_0011b5dd;\n    }" { (labeled_statement "LAB_0011b5d3:\n      if (pPager->exclusiveMode == '\0') goto LAB_0011b5dd;" statement_identifier : (if_statement "if (pPager->exclusiveMode == '\0') goto LAB_0011b5dd;" if (parenthesized_expression "(pPager->exclusiveMode == '\0')" ( (binary_expression "pPager->exclusiveMode == '\0'" (field_expression "pPager->exclusiveMode" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011b5dd;" goto statement_identifier ;))) })))) }))) (labeled_statement "LAB_0011b7f8:\n  pPager->eState = '\x01';" statement_identifier : (expression_statement "pPager->eState = '\x01';" (assignment_expression "pPager->eState = '\x01'" (field_expression "pPager->eState" identifier -> field_identifier) = (char_literal "'\x01'" ' escape_sequence ')) ;)) (expression_statement "pPager->setSuper = '\0';" (assignment_expression "pPager->setSuper = '\0'" (field_expression "pPager->setSuper" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (iVar4 != 0) {\n    iVar5 = iVar4;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar5 = iVar4;\n  }" { (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) })) (labeled_statement "LAB_0011b806:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }" statement_identifier : (if_statement "if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }" if (parenthesized_expression "(local_30 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_30 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar5;\n  }" { (return_statement "return iVar5;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int FUN_0011b46c(undefined8 *param_1,int param_2,int param_3)\n\n{\n  char cVar1;\n  undefined8 *puVar2;\n  long *plVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  long lVar7;\n  long in_FS_OFFSET;\n  long local_38;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if ((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))\n  goto LAB_0011b806;\n  FUN_0011b2ec(param_1);\n  puVar2 = (undefined8 *)param_1[10];\n  if ((undefined *)*puVar2 == (undefined *)0x0) {\nLAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\nLAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }\n    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));\n    iVar4 = 0;\n  }\n  else {\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }\n  if (param_1[0x24] == 0) {\n    if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);\n  }\n  else {\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }\nLAB_0011b7f8:\n  *(undefined1 *)((long)param_1 + 0x14) = 1;\n  *(undefined1 *)((long)param_1 + 0x17) = 0;\n  if (iVar4 != 0) {\n    iVar5 = iVar4;\n  }\nLAB_0011b806:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }\n                    \n  __stack_chk_fail();\n}\n\n" (function_definition "int FUN_0011b46c(undefined8 *param_1,int param_2,int param_3)\n\n{\n  char cVar1;\n  undefined8 *puVar2;\n  long *plVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  long lVar7;\n  long in_FS_OFFSET;\n  long local_38;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if ((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))\n  goto LAB_0011b806;\n  FUN_0011b2ec(param_1);\n  puVar2 = (undefined8 *)param_1[10];\n  if ((undefined *)*puVar2 == (undefined *)0x0) {\nLAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\nLAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }\n    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));\n    iVar4 = 0;\n  }\n  else {\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }\n  if (param_1[0x24] == 0) {\n    if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);\n  }\n  else {\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }\nLAB_0011b7f8:\n  *(undefined1 *)((long)param_1 + 0x14) = 1;\n  *(undefined1 *)((long)param_1 + 0x17) = 0;\n  if (iVar4 != 0) {\n    iVar5 = iVar4;\n  }\nLAB_0011b806:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }\n                    \n  __stack_chk_fail();\n}" primitive_type (function_declarator "FUN_0011b46c(undefined8 *param_1,int param_2,int param_3)" identifier (parameter_list "(undefined8 *param_1,int param_2,int param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  undefined8 *puVar2;\n  long *plVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  long lVar7;\n  long in_FS_OFFSET;\n  long local_38;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if ((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))\n  goto LAB_0011b806;\n  FUN_0011b2ec(param_1);\n  puVar2 = (undefined8 *)param_1[10];\n  if ((undefined *)*puVar2 == (undefined *)0x0) {\nLAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\nLAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }\n    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));\n    iVar4 = 0;\n  }\n  else {\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }\n  if (param_1[0x24] == 0) {\n    if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);\n  }\n  else {\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }\nLAB_0011b7f8:\n  *(undefined1 *)((long)param_1 + 0x14) = 1;\n  *(undefined1 *)((long)param_1 + 0x17) = 0;\n  if (iVar4 != 0) {\n    iVar5 = iVar4;\n  }\nLAB_0011b806:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }\n                    \n  __stack_chk_fail();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "long *plVar3;" (sized_type_specifier "long" long) (pointer_declarator "*plVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_38;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_30;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_30 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_30 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))\n  goto LAB_0011b806;" if (parenthesized_expression "((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))" ( (binary_expression "(*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2)" (parenthesized_expression "(*(byte *)((long)param_1 + 0x14) < 2)" ( (binary_expression "*(byte *)((long)param_1 + 0x14) < 2" (pointer_expression "*(byte *)((long)param_1 + 0x14)" * (cast_expression "(byte *)((long)param_1 + 0x14)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x14)" ( (binary_expression "(long)param_1 + 0x14" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) < number_literal) )) && (parenthesized_expression "(iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2)" ( (comma_expression "iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2" (assignment_expression "iVar5 = 0" identifier = number_literal) , (binary_expression "*(byte *)((long)param_1 + 0x15) < 2" (pointer_expression "*(byte *)((long)param_1 + 0x15)" * (cast_expression "(byte *)((long)param_1 + 0x15)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x15)" ( (binary_expression "(long)param_1 + 0x15" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) < number_literal)) ))) )) (goto_statement "goto LAB_0011b806;" goto statement_identifier ;)) (expression_statement "FUN_0011b2ec(param_1);" (call_expression "FUN_0011b2ec(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "puVar2 = (undefined8 *)param_1[10];" (assignment_expression "puVar2 = (undefined8 *)param_1[10]" identifier = (cast_expression "(undefined8 *)param_1[10]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[10]" identifier [ number_literal ]))) ;) (if_statement "if ((undefined *)*puVar2 == (undefined *)0x0) {\nLAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\nLAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }\n    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));\n    iVar4 = 0;\n  }\n  else {\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }" if (parenthesized_expression "((undefined *)*puVar2 == (undefined *)0x0)" ( (binary_expression "(undefined *)*puVar2 == (undefined *)0x0" (cast_expression "(undefined *)*puVar2" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier)) == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\nLAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }\n    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));\n    iVar4 = 0;\n  }" { (labeled_statement "LAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);" statement_identifier : (expression_statement "FUN_0011ad6e(param_1[8]);" (call_expression "FUN_0011ad6e(param_1[8])" identifier (argument_list "(param_1[8])" ( (subscript_expression "param_1[8]" identifier [ number_literal ]) ))) ;)) (expression_statement "param_1[8] = 0;" (assignment_expression "param_1[8] = 0" (subscript_expression "param_1[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 6) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 6) = 0" (pointer_expression "*(undefined4 *)(param_1 + 6)" * (cast_expression "(undefined4 *)(param_1 + 6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 6)" ( (binary_expression "param_1 + 6" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "LAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }" statement_identifier : (if_statement "if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }" if (parenthesized_expression "(((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19))))))" ( (binary_expression "((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))" (parenthesized_expression "((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0'))" ( (binary_expression "(*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')" (parenthesized_expression "(*(char *)((long)param_1 + 0x13) == '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x13) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0x13)" * (cast_expression "(char *)((long)param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x13)" ( (binary_expression "(long)param_1 + 0x13" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(char *)(param_1 + 2) != '\0')" ( (binary_expression "*(char *)(param_1 + 2) != '\0'" (pointer_expression "*(char *)(param_1 + 2)" * (cast_expression "(char *)(param_1 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))" ( (parenthesized_expression "(param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19))))" ( (binary_expression "param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))" (binary_expression "param_3 == 0" identifier == number_literal) || (parenthesized_expression "((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))" ( (parenthesized_expression "(*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19))" ( (binary_expression "*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)" (binary_expression "*(long *)param_1[9] == 0" (pointer_expression "*(long *)param_1[9]" * (cast_expression "(long *)param_1[9]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[9]" identifier [ number_literal ]))) == number_literal) || (parenthesized_expression "(iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)" ( (comma_expression "iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19" (assignment_expression "iVar5 = FUN_0010e27f(param_1[0x23])" identifier = (call_expression "FUN_0010e27f(param_1[0x23])" identifier (argument_list "(param_1[0x23])" ( (subscript_expression "param_1[0x23]" identifier [ number_literal ]) )))) , (binary_expression "iVar5 < 0x19" identifier < number_literal)) ))) )) ))) )) ))) )) (compound_statement "{\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }" { (expression_statement "plVar3 = (long *)param_1[0x23];" (assignment_expression "plVar3 = (long *)param_1[0x23]" identifier = (cast_expression "(long *)param_1[0x23]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x23]" identifier [ number_literal ]))) ;) (for_statement "for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }" for ( (assignment_expression "lVar7 = *plVar3" identifier = (pointer_expression "*plVar3" * identifier)) ; (binary_expression "lVar7 != 0" identifier != number_literal) ; (assignment_expression "lVar7 = *(long *)(lVar7 + 0x38)" identifier = (pointer_expression "*(long *)(lVar7 + 0x38)" * (cast_expression "(long *)(lVar7 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x38)" ( (binary_expression "lVar7 + 0x38" identifier + number_literal) ))))) ) (compound_statement "{\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }" { (expression_statement "*(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;" (assignment_expression "*(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3" (pointer_expression "*(ushort *)(lVar7 + 0x34)" * (cast_expression "(ushort *)(lVar7 + 0x34)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x34)" ( (binary_expression "lVar7 + 0x34" identifier + number_literal) )))) = (binary_expression "*(ushort *)(lVar7 + 0x34) & 0xfff3" (pointer_expression "*(ushort *)(lVar7 + 0x34)" * (cast_expression "(ushort *)(lVar7 + 0x34)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x34)" ( (binary_expression "lVar7 + 0x34" identifier + number_literal) )))) & number_literal)) ;) })) (expression_statement "plVar3[2] = plVar3[1];" (assignment_expression "plVar3[2] = plVar3[1]" (subscript_expression "plVar3[2]" identifier [ number_literal ]) = (subscript_expression "plVar3[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n      FUN_0010e1ab(param_1[0x23]);\n    }" else (compound_statement "{\n      FUN_0010e1ab(param_1[0x23]);\n    }" { (expression_statement "FUN_0010e1ab(param_1[0x23]);" (call_expression "FUN_0010e1ab(param_1[0x23])" identifier (argument_list "(param_1[0x23])" ( (subscript_expression "param_1[0x23]" identifier [ number_literal ]) ))) ;) })))) (expression_statement "FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));" (call_expression "FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c))" identifier (argument_list "(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c))" ( (subscript_expression "param_1[0x23]" identifier [ number_literal ]) , (pointer_expression "*(undefined4 *)((long)param_1 + 0x1c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x1c)" ( (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }" else (compound_statement "{\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }" { (if_statement "if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }" if (parenthesized_expression "((undefined *)*puVar2 == &DAT_003af280)" ( (binary_expression "(undefined *)*puVar2 == &DAT_003af280" (cast_expression "(undefined *)*puVar2" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier)) == (pointer_expression "&DAT_003af280" & identifier)) )) (compound_statement "{\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }" { (expression_statement "FUN_0010c9dd();" (call_expression "FUN_0010c9dd()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_0011b53e;" goto statement_identifier ;) })) (expression_statement "cVar1 = *(char *)((long)param_1 + 9);" (assignment_expression "cVar1 = *(char *)((long)param_1 + 9)" identifier = (pointer_expression "*(char *)((long)param_1 + 9)" * (cast_expression "(char *)((long)param_1 + 9)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 9)" ( (binary_expression "(long)param_1 + 9" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (if_statement "if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }" if (parenthesized_expression "(cVar1 == '\x03')" ( (binary_expression "cVar1 == '\x03'" identifier == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }" if (parenthesized_expression "(((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0'))" ( (binary_expression "((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')" (parenthesized_expression "((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0))" ( (binary_expression "(param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)" (parenthesized_expression "(param_1[0xc] != 0)" ( (binary_expression "param_1[0xc] != 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0" (assignment_expression "iVar4 = FUN_0010ca15(puVar2,0)" identifier = (call_expression "FUN_0010ca15(puVar2,0)" identifier (argument_list "(puVar2,0)" ( identifier , number_literal )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(*(char *)((long)param_1 + 0xc) != '\0')" ( (binary_expression "*(char *)((long)param_1 + 0xc) != '\0'" (pointer_expression "*(char *)((long)param_1 + 0xc)" * (cast_expression "(char *)((long)param_1 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xc)" ( (binary_expression "(long)param_1 + 0xc" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }" { (expression_statement "iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));" (assignment_expression "iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe))" identifier = (call_expression "FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe))" identifier (argument_list "(param_1[10],*(undefined1 *)((long)param_1 + 0xe))" ( (subscript_expression "param_1[10]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)((long)param_1 + 0xe)" * (cast_expression "(undefined1 *)((long)param_1 + 0xe)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xe)" ( (binary_expression "(long)param_1 + 0xe" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) )))) ;) })) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }" else (if_statement "if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }" if (parenthesized_expression "((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05'))))" ( (binary_expression "(cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))" (parenthesized_expression "(cVar1 == '\x01')" ( (binary_expression "cVar1 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) )) || (parenthesized_expression "((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))" ( (parenthesized_expression "(*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05'))" ( (binary_expression "*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')" (binary_expression "*(char *)(param_1 + 1) != '\0'" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(cVar1 != '\x05')" ( (binary_expression "cVar1 != '\x05'" identifier != (char_literal "'\x05'" ' escape_sequence ')) ))) )) ))) )) (compound_statement "{\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }" { (if_statement "if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }" if (parenthesized_expression "(param_1[0xc] != 0)" ( (binary_expression "param_1[0xc] != 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }" { (expression_statement "lVar7 = param_1[0x19];" (assignment_expression "lVar7 = param_1[0x19]" identifier = (subscript_expression "param_1[0x19]" identifier [ number_literal ])) ;) (if_statement "if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;" if (parenthesized_expression "((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0'))" ( (binary_expression "(lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')" (parenthesized_expression "(lVar7 == 0)" ( (binary_expression "lVar7 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(char *)(param_1 + 2) != '\0')" ( (binary_expression "*(char *)(param_1 + 2) != '\0'" (pointer_expression "*(char *)(param_1 + 2)" * (cast_expression "(char *)(param_1 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_0011b766;" goto statement_identifier ;)) (expression_statement "iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);" (assignment_expression "iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0)" identifier = (call_expression "FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0)" identifier (argument_list "(puVar2,&DAT_00192670,0x1c,0)" ( identifier , (pointer_expression "&DAT_00192670" & identifier) , number_literal , number_literal )))) ;) (labeled_statement "LAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }" statement_identifier : (if_statement "if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }" { (if_statement "if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }" if (parenthesized_expression "(*(char *)((long)param_1 + 0xb) == '\0')" ( (binary_expression "*(char *)((long)param_1 + 0xb) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0xb)" * (cast_expression "(char *)((long)param_1 + 0xb)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xb)" ( (binary_expression "(long)param_1 + 0xb" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }" { (expression_statement "iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);" (assignment_expression "iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10)" identifier = (call_expression "FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10)" identifier (argument_list "(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10)" ( (subscript_expression "param_1[10]" identifier [ number_literal ]) , (binary_expression "*(byte *)((long)param_1 + 0xe) | 0x10" (pointer_expression "*(byte *)((long)param_1 + 0xe)" * (cast_expression "(byte *)((long)param_1 + 0xe)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xe)" ( (binary_expression "(long)param_1 + 0xe" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) | number_literal) )))) ;) })) (if_statement "if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }" if (parenthesized_expression "((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38))" ( (binary_expression "(((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)" (parenthesized_expression "(((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0))" ( (binary_expression "((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)" (parenthesized_expression "((iVar4 == 0) && (0 < lVar7))" ( (binary_expression "(iVar4 == 0) && (0 < lVar7)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(0 < lVar7)" ( (binary_expression "0 < lVar7" number_literal < identifier) ))) )) && (parenthesized_expression "(iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0" (assignment_expression "iVar4 = FUN_0010ca3a(param_1[10],&local_38)" identifier = (call_expression "FUN_0010ca3a(param_1[10],&local_38)" identifier (argument_list "(param_1[10],&local_38)" ( (subscript_expression "param_1[10]" identifier [ number_literal ]) , (pointer_expression "&local_38" & identifier) )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "(lVar7 < local_38)" ( (binary_expression "lVar7 < local_38" identifier < identifier) ))) )) (compound_statement "{\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }" { (expression_statement "iVar4 = FUN_0010ca15(param_1[10],lVar7);" (assignment_expression "iVar4 = FUN_0010ca15(param_1[10],lVar7)" identifier = (call_expression "FUN_0010ca15(param_1[10],lVar7)" identifier (argument_list "(param_1[10],lVar7)" ( (subscript_expression "param_1[10]" identifier [ number_literal ]) , identifier )))) ;) })) }))) })) }) (else_clause "else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }" else (compound_statement "{\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }" if (parenthesized_expression "(param_1[0xc] != 0)" ( (binary_expression "param_1[0xc] != 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }" { (expression_statement "lVar7 = param_1[0x19];" (assignment_expression "lVar7 = param_1[0x19]" identifier = (subscript_expression "param_1[0x19]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);" statement_identifier : (expression_statement "iVar4 = FUN_0010ca15(puVar2,0);" (assignment_expression "iVar4 = FUN_0010ca15(puVar2,0)" identifier = (call_expression "FUN_0010ca15(puVar2,0)" identifier (argument_list "(puVar2,0)" ( identifier , number_literal )))) ;)) (goto_statement "goto LAB_0011b772;" goto statement_identifier ;) })) }))) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = number_literal) ;) }) (else_clause "else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }" else (compound_statement "{\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }" { (expression_statement "cVar1 = *(char *)(param_1 + 2);" (assignment_expression "cVar1 = *(char *)(param_1 + 2)" identifier = (pointer_expression "*(char *)(param_1 + 2)" * (cast_expression "(char *)(param_1 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (expression_statement "FUN_0010c9dd();" (call_expression "FUN_0010c9dd()" identifier (argument_list "()" ( ))) ;) (if_statement "if (cVar1 != '\0') goto LAB_0011b53e;" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011b53e;" goto statement_identifier ;)) (expression_statement "iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));" (assignment_expression "iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd))" identifier = (call_expression "FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd))" identifier (argument_list "(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd))" ( (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[0x1b]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)((long)param_1 + 0xd)" * (cast_expression "(undefined1 *)((long)param_1 + 0xd)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xd)" ( (binary_expression "(long)param_1 + 0xd" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) )))) ;) }))))) (expression_statement "FUN_0011ad6e(param_1[8]);" (call_expression "FUN_0011ad6e(param_1[8])" identifier (argument_list "(param_1[8])" ( (subscript_expression "param_1[8]" identifier [ number_literal ]) ))) ;) (expression_statement "param_1[8] = 0;" (assignment_expression "param_1[8] = 0" (subscript_expression "param_1[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 6) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 6) = 0" (pointer_expression "*(undefined4 *)(param_1 + 6)" * (cast_expression "(undefined4 *)(param_1 + 6)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 6)" ( (binary_expression "param_1 + 6" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (iVar4 == 0) goto LAB_0011b556;" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0011b556;" goto statement_identifier ;)) }))) (if_statement "if (param_1[0x24] == 0) {\n    if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);\n  }\n  else {\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }" if (parenthesized_expression "(param_1[0x24] == 0)" ( (binary_expression "param_1[0x24] == 0" (subscript_expression "param_1[0x24]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);\n  }" { (if_statement "if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }" if (parenthesized_expression "((iVar4 == 0) && (param_3 != 0))" ( (binary_expression "(iVar4 == 0) && (param_3 != 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) ))) )) (compound_statement "{\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }" if (parenthesized_expression "(*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24))" ( (binary_expression "*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)" (pointer_expression "*(uint *)((long)param_1 + 0x1c)" * (cast_expression "(uint *)((long)param_1 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x1c)" ( (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) < (pointer_expression "*(uint *)((long)param_1 + 0x24)" * (cast_expression "(uint *)((long)param_1 + 0x24)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x24)" ( (binary_expression "(long)param_1 + 0x24" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) )) (compound_statement "{\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }" { (expression_statement "iVar4 = FUN_001144d9(param_1);" (assignment_expression "iVar4 = FUN_001144d9(param_1)" identifier = (call_expression "FUN_001144d9(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (goto_statement "goto LAB_0011b5c6;" goto statement_identifier ;) })) (goto_statement "goto LAB_0011b702;" goto statement_identifier ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;" if (parenthesized_expression "(*(char *)(param_1 + 1) != '\0')" ( (binary_expression "*(char *)(param_1 + 1) != '\0'" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011b7f8;" goto statement_identifier ;)) (labeled_statement "LAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);" statement_identifier : (expression_statement "iVar5 = FUN_0010e54d(param_1,1);" (assignment_expression "iVar5 = FUN_0010e54d(param_1,1)" identifier = (call_expression "FUN_0010e54d(param_1,1)" identifier (argument_list "(param_1,1)" ( identifier , number_literal )))) ;)) }) (else_clause "else {\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }" else (compound_statement "{\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }" { (expression_statement "iVar5 = FUN_0010eb3c();" (assignment_expression "iVar5 = FUN_0010eb3c()" identifier = (call_expression "FUN_0010eb3c()" identifier (argument_list "()" ( )))) ;) (labeled_statement "LAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }" statement_identifier : (if_statement "if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }" if (parenthesized_expression "((iVar4 == 0) && (param_3 != 0))" ( (binary_expression "(iVar4 == 0) && (param_3 != 0)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) && (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) ))) )) (compound_statement "{\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }" { (labeled_statement "LAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);" statement_identifier : (expression_statement "iVar4 = FUN_0010ca49(param_1[9],0x16,0);" (assignment_expression "iVar4 = FUN_0010ca49(param_1[9],0x16,0)" identifier = (call_expression "FUN_0010ca49(param_1[9],0x16,0)" identifier (argument_list "(param_1[9],0x16,0)" ( (subscript_expression "param_1[9]" identifier [ number_literal ]) , number_literal , number_literal )))) ;)) (if_statement "if (iVar4 != 0xc) goto LAB_0011b5d3;" if (parenthesized_expression "(iVar4 != 0xc)" ( (binary_expression "iVar4 != 0xc" identifier != number_literal) )) (goto_statement "goto LAB_0011b5d3;" goto statement_identifier ;)) (if_statement "if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }" if (parenthesized_expression "(*(char *)(param_1 + 1) != '\0')" ( (binary_expression "*(char *)(param_1 + 1) != '\0'" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }" { (expression_statement "*(undefined1 *)((long)param_1 + 0x14) = 1;" (assignment_expression "*(undefined1 *)((long)param_1 + 0x14) = 1" (pointer_expression "*(undefined1 *)((long)param_1 + 0x14)" * (cast_expression "(undefined1 *)((long)param_1 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x14)" ( (binary_expression "(long)param_1 + 0x14" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)((long)param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0x17)" * (cast_expression "(undefined1 *)((long)param_1 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x17)" ( (binary_expression "(long)param_1 + 0x17" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_0011b806;" goto statement_identifier ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0011b5dd:\n      lVar7 = param_1[0x24];" statement_identifier : (expression_statement "lVar7 = param_1[0x24];" (assignment_expression "lVar7 = param_1[0x24]" identifier = (subscript_expression "param_1[0x24]" identifier [ number_literal ])) ;)) (if_statement "if (lVar7 == 0) goto LAB_0011b7e8;" if (parenthesized_expression "(lVar7 == 0)" ( (binary_expression "lVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0011b7e8;" goto statement_identifier ;)) (if_statement "if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }" if (parenthesized_expression "(*(char *)(lVar7 + 0x3f) != '\0')" ( (binary_expression "*(char *)(lVar7 + 0x3f) != '\0'" (pointer_expression "*(char *)(lVar7 + 0x3f)" * (cast_expression "(char *)(lVar7 + 0x3f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x3f)" ( (binary_expression "lVar7 + 0x3f" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }" { (expression_statement "*(undefined1 *)(lVar7 + 0x3f) = 0;" (assignment_expression "*(undefined1 *)(lVar7 + 0x3f) = 0" (pointer_expression "*(undefined1 *)(lVar7 + 0x3f)" * (cast_expression "(undefined1 *)(lVar7 + 0x3f)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x3f)" ( (binary_expression "lVar7 + 0x3f" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);" (assignment_expression "iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3)" identifier = (call_expression "FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3)" identifier (argument_list "(lVar7,*(short *)(lVar7 + 0x3c) + 3)" ( identifier , (binary_expression "*(short *)(lVar7 + 0x3c) + 3" (pointer_expression "*(short *)(lVar7 + 0x3c)" * (cast_expression "(short *)(lVar7 + 0x3c)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x3c)" ( (binary_expression "lVar7 + 0x3c" identifier + number_literal) )))) + number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }" { (if_statement "if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;" if (parenthesized_expression "(*(char *)(lVar7 + 0x3f) == '\0')" ( (binary_expression "*(char *)(lVar7 + 0x3f) == '\0'" (pointer_expression "*(char *)(lVar7 + 0x3f)" * (cast_expression "(char *)(lVar7 + 0x3f)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x3f)" ( (binary_expression "lVar7 + 0x3f" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011b7e8;" goto statement_identifier ;)) }) (else_clause "else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }" else (compound_statement "{\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }" { (expression_statement "*(undefined1 *)(lVar7 + 0x3f) = 1;" (assignment_expression "*(undefined1 *)(lVar7 + 0x3f) = 1" (pointer_expression "*(undefined1 *)(lVar7 + 0x3f)" * (cast_expression "(undefined1 *)(lVar7 + 0x3f)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x3f)" ( (binary_expression "lVar7 + 0x3f" identifier + number_literal) )))) = number_literal) ;) }))) })) }) (else_clause "else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }" else (compound_statement "{\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }" { (labeled_statement "LAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;" statement_identifier : (if_statement "if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;" if (parenthesized_expression "(*(char *)(param_1 + 1) == '\0')" ( (binary_expression "*(char *)(param_1 + 1) == '\0'" (pointer_expression "*(char *)(param_1 + 1)" * (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0011b5dd;" goto statement_identifier ;))) })))) }))) (labeled_statement "LAB_0011b7f8:\n  *(undefined1 *)((long)param_1 + 0x14) = 1;" statement_identifier : (expression_statement "*(undefined1 *)((long)param_1 + 0x14) = 1;" (assignment_expression "*(undefined1 *)((long)param_1 + 0x14) = 1" (pointer_expression "*(undefined1 *)((long)param_1 + 0x14)" * (cast_expression "(undefined1 *)((long)param_1 + 0x14)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x14)" ( (binary_expression "(long)param_1 + 0x14" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;)) (expression_statement "*(undefined1 *)((long)param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0x17)" * (cast_expression "(undefined1 *)((long)param_1 + 0x17)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x17)" ( (binary_expression "(long)param_1 + 0x17" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (if_statement "if (iVar4 != 0) {\n    iVar5 = iVar4;\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar5 = iVar4;\n  }" { (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) })) (labeled_statement "LAB_0011b806:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }" statement_identifier : (if_statement "if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }" if (parenthesized_expression "(local_30 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_30 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar5;\n  }" { (return_statement "return iVar5;" return identifier ;) }))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE 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 ;) (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 (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) )))) < LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (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) )))) < LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;)) (expression_statement (assignment_expression (subscript_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) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (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 ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) == LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) , (binary_expression IDENT < LIT)) ))) )) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (for_statement for ( (assignment_expression IDENT = (pointer_expression * IDENT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (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) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })))) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) == (pointer_expression & IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) , (binary_expression IDENT == LIT)) ))) )) && (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 = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) )))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) && (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) ))) )) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT , LIT )))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (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 = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (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) )))) | LIT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression LIT < IDENT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (pointer_expression & IDENT) )))) , (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT )))) ;) })) }))) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;)) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) )))) ;) }))))) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression (subscript_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 IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = 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) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , LIT , LIT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_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) )))) = LIT) ;) (expression_statement (assignment_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) )))) = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (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) )))) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }))) })) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;))) })))) }))) (labeled_statement statement_identifier : (expression_statement (assignment_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) )))) = LIT) ;)) (expression_statement (assignment_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) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "int FUN_0011b46c(undefined8 *param_1,int param_2,int param_3)\n\n{\n  char cVar1;\n  undefined8 *puVar2;\n  long *plVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  long lVar7;\n  long in_FS_OFFSET;\n  long local_38;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if ((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))\n  goto LAB_0011b806;\n  FUN_0011b2ec(param_1);\n  puVar2 = (undefined8 *)param_1[10];\n  if ((undefined *)*puVar2 == (undefined *)0x0) {\nLAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\nLAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }\n    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));\n    iVar4 = 0;\n  }\n  else {\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }\n  if (param_1[0x24] == 0) {\n    if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);\n  }\n  else {\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }\nLAB_0011b7f8:\n  *(undefined1 *)((long)param_1 + 0x14) = 1;\n  *(undefined1 *)((long)param_1 + 0x17) = 0;\n  if (iVar4 != 0) {\n    iVar5 = iVar4;\n  }\nLAB_0011b806:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }\n                    \n  __stack_chk_fail();\n}" (primitive_type "int") (function_declarator "FUN_0011b46c(undefined8 *param_1,int param_2,int param_3)" (identifier "FUN_0011b46c") (parameter_list "(undefined8 *param_1,int param_2,int param_3)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  char cVar1;\n  undefined8 *puVar2;\n  long *plVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  long lVar7;\n  long in_FS_OFFSET;\n  long local_38;\n  long local_30;\n  \n  local_30 = *(long *)(in_FS_OFFSET + 0x28);\n  if ((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))\n  goto LAB_0011b806;\n  FUN_0011b2ec(param_1);\n  puVar2 = (undefined8 *)param_1[10];\n  if ((undefined *)*puVar2 == (undefined *)0x0) {\nLAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\nLAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }\n    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));\n    iVar4 = 0;\n  }\n  else {\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }\n  if (param_1[0x24] == 0) {\n    if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);\n  }\n  else {\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }\nLAB_0011b7f8:\n  *(undefined1 *)((long)param_1 + 0x14) = 1;\n  *(undefined1 *)((long)param_1 + 0x17) = 0;\n  if (iVar4 != 0) {\n    iVar5 = iVar4;\n  }\nLAB_0011b806:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }\n                    \n  __stack_chk_fail();\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "undefined8 *puVar2;" (type_identifier "undefined8") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "long *plVar3;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar3" (* "*") (identifier "plVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "long lVar7;" (sized_type_specifier "long" (long "long")) (identifier "lVar7") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "long local_38;" (sized_type_specifier "long" (long "long")) (identifier "local_38") (; ";")) (declaration "long local_30;" (sized_type_specifier "long" (long "long")) (identifier "local_30") (; ";")) (expression_statement "local_30 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_30 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_30") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if ((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))\n  goto LAB_0011b806;" (if "if") (parenthesized_expression "((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))" (( "(") (binary_expression "(*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2)" (parenthesized_expression "(*(byte *)((long)param_1 + 0x14) < 2)" (( "(") (binary_expression "*(byte *)((long)param_1 + 0x14) < 2" (pointer_expression "*(byte *)((long)param_1 + 0x14)" (* "*") (cast_expression "(byte *)((long)param_1 + 0x14)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x14)" (( "(") (binary_expression "(long)param_1 + 0x14" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x14")) () ")")))) (< "<") (number_literal "2")) () ")")) (&& "&&") (parenthesized_expression "(iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2)" (( "(") (comma_expression "iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (, ",") (binary_expression "*(byte *)((long)param_1 + 0x15) < 2" (pointer_expression "*(byte *)((long)param_1 + 0x15)" (* "*") (cast_expression "(byte *)((long)param_1 + 0x15)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x15)" (( "(") (binary_expression "(long)param_1 + 0x15" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x15")) () ")")))) (< "<") (number_literal "2"))) () ")"))) () ")")) (goto_statement "goto LAB_0011b806;" (goto "goto") (statement_identifier "LAB_0011b806") (; ";"))) (expression_statement "FUN_0011b2ec(param_1);" (call_expression "FUN_0011b2ec(param_1)" (identifier "FUN_0011b2ec") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "puVar2 = (undefined8 *)param_1[10];" (assignment_expression "puVar2 = (undefined8 *)param_1[10]" (identifier "puVar2") (= "=") (cast_expression "(undefined8 *)param_1[10]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")))) (; ";")) (if_statement "if ((undefined *)*puVar2 == (undefined *)0x0) {\nLAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\nLAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }\n    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));\n    iVar4 = 0;\n  }\n  else {\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }" (if "if") (parenthesized_expression "((undefined *)*puVar2 == (undefined *)0x0)" (( "(") (binary_expression "(undefined *)*puVar2 == (undefined *)0x0" (cast_expression "(undefined *)*puVar2" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\nLAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }\n    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));\n    iVar4 = 0;\n  }" ({ "{") (labeled_statement "LAB_0011b53e:\n    FUN_0011ad6e(param_1[8]);" (statement_identifier "LAB_0011b53e") (: ":") (expression_statement "FUN_0011ad6e(param_1[8]);" (call_expression "FUN_0011ad6e(param_1[8])" (identifier "FUN_0011ad6e") (argument_list "(param_1[8])" (( "(") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) () ")"))) (; ";"))) (expression_statement "param_1[8] = 0;" (assignment_expression "param_1[8] = 0" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 6) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 6) = 0" (pointer_expression "*(undefined4 *)(param_1 + 6)" (* "*") (cast_expression "(undefined4 *)(param_1 + 6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 6)" (( "(") (binary_expression "param_1 + 6" (identifier "param_1") (+ "+") (number_literal "6")) () ")")))) (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0011b556:\n    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }" (statement_identifier "LAB_0011b556") (: ":") (if_statement "if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }\n    else {\n      FUN_0010e1ab(param_1[0x23]);\n    }" (if "if") (parenthesized_expression "(((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19))))))" (( "(") (binary_expression "((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&\n       ((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))" (parenthesized_expression "((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0'))" (( "(") (binary_expression "(*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')" (parenthesized_expression "(*(char *)((long)param_1 + 0x13) == '\0')" (( "(") (binary_expression "*(char *)((long)param_1 + 0x13) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0x13)" (* "*") (cast_expression "(char *)((long)param_1 + 0x13)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x13)" (( "(") (binary_expression "(long)param_1 + 0x13" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x13")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(param_1 + 2) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 2) != '\0'" (pointer_expression "*(char *)(param_1 + 2)" (* "*") (cast_expression "(char *)(param_1 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))" (( "(") (parenthesized_expression "(param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19))))" (( "(") (binary_expression "param_3 == 0 ||\n        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))" (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))" (( "(") (parenthesized_expression "(*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19))" (( "(") (binary_expression "*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)" (binary_expression "*(long *)param_1[9] == 0" (pointer_expression "*(long *)param_1[9]" (* "*") (cast_expression "(long *)param_1[9]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")))) (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)" (( "(") (comma_expression "iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19" (assignment_expression "iVar5 = FUN_0010e27f(param_1[0x23])" (identifier "iVar5") (= "=") (call_expression "FUN_0010e27f(param_1[0x23])" (identifier "FUN_0010e27f") (argument_list "(param_1[0x23])" (( "(") (subscript_expression "param_1[0x23]" (identifier "param_1") ([ "[") (number_literal "0x23") (] "]")) () ")")))) (, ",") (binary_expression "iVar5 < 0x19" (identifier "iVar5") (< "<") (number_literal "0x19"))) () ")"))) () ")")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      plVar3 = (long *)param_1[0x23];\n      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }\n      plVar3[2] = plVar3[1];\n    }" ({ "{") (expression_statement "plVar3 = (long *)param_1[0x23];" (assignment_expression "plVar3 = (long *)param_1[0x23]" (identifier "plVar3") (= "=") (cast_expression "(long *)param_1[0x23]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x23]" (identifier "param_1") ([ "[") (number_literal "0x23") (] "]")))) (; ";")) (for_statement "for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }" (for "for") (( "(") (assignment_expression "lVar7 = *plVar3" (identifier "lVar7") (= "=") (pointer_expression "*plVar3" (* "*") (identifier "plVar3"))) (; ";") (binary_expression "lVar7 != 0" (identifier "lVar7") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "lVar7 = *(long *)(lVar7 + 0x38)" (identifier "lVar7") (= "=") (pointer_expression "*(long *)(lVar7 + 0x38)" (* "*") (cast_expression "(long *)(lVar7 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x38)" (( "(") (binary_expression "lVar7 + 0x38" (identifier "lVar7") (+ "+") (number_literal "0x38")) () ")"))))) () ")") (compound_statement "{\n        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;\n      }" ({ "{") (expression_statement "*(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;" (assignment_expression "*(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3" (pointer_expression "*(ushort *)(lVar7 + 0x34)" (* "*") (cast_expression "(ushort *)(lVar7 + 0x34)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x34)" (( "(") (binary_expression "lVar7 + 0x34" (identifier "lVar7") (+ "+") (number_literal "0x34")) () ")")))) (= "=") (binary_expression "*(ushort *)(lVar7 + 0x34) & 0xfff3" (pointer_expression "*(ushort *)(lVar7 + 0x34)" (* "*") (cast_expression "(ushort *)(lVar7 + 0x34)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x34)" (( "(") (binary_expression "lVar7 + 0x34" (identifier "lVar7") (+ "+") (number_literal "0x34")) () ")")))) (& "&") (number_literal "0xfff3"))) (; ";")) (} "}"))) (expression_statement "plVar3[2] = plVar3[1];" (assignment_expression "plVar3[2] = plVar3[1]" (subscript_expression "plVar3[2]" (identifier "plVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "plVar3[1]" (identifier "plVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n      FUN_0010e1ab(param_1[0x23]);\n    }" (else "else") (compound_statement "{\n      FUN_0010e1ab(param_1[0x23]);\n    }" ({ "{") (expression_statement "FUN_0010e1ab(param_1[0x23]);" (call_expression "FUN_0010e1ab(param_1[0x23])" (identifier "FUN_0010e1ab") (argument_list "(param_1[0x23])" (( "(") (subscript_expression "param_1[0x23]" (identifier "param_1") ([ "[") (number_literal "0x23") (] "]")) () ")"))) (; ";")) (} "}"))))) (expression_statement "FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));" (call_expression "FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c))" (identifier "FUN_0011441d") (argument_list "(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c))" (( "(") (subscript_expression "param_1[0x23]" (identifier "param_1") ([ "[") (number_literal "0x23") (] "]")) (, ",") (pointer_expression "*(undefined4 *)((long)param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)((long)param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x1c)" (( "(") (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x1c")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }" (else "else") (compound_statement "{\n    if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }\n    cVar1 = *(char *)((long)param_1 + 9);\n    if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }\n    FUN_0011ad6e(param_1[8]);\n    param_1[8] = 0;\n    *(undefined4 *)(param_1 + 6) = 0;\n    if (iVar4 == 0) goto LAB_0011b556;\n  }" ({ "{") (if_statement "if ((undefined *)*puVar2 == &DAT_003af280) {\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }" (if "if") (parenthesized_expression "((undefined *)*puVar2 == &DAT_003af280)" (( "(") (binary_expression "(undefined *)*puVar2 == &DAT_003af280" (cast_expression "(undefined *)*puVar2" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (== "==") (pointer_expression "&DAT_003af280" (& "&") (identifier "DAT_003af280"))) () ")")) (compound_statement "{\n      FUN_0010c9dd();\n      goto LAB_0011b53e;\n    }" ({ "{") (expression_statement "FUN_0010c9dd();" (call_expression "FUN_0010c9dd()" (identifier "FUN_0010c9dd") (argument_list "()" (( "(") () ")"))) (; ";")) (goto_statement "goto LAB_0011b53e;" (goto "goto") (statement_identifier "LAB_0011b53e") (; ";")) (} "}"))) (expression_statement "cVar1 = *(char *)((long)param_1 + 9);" (assignment_expression "cVar1 = *(char *)((long)param_1 + 9)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)((long)param_1 + 9)" (* "*") (cast_expression "(char *)((long)param_1 + 9)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 9)" (( "(") (binary_expression "(long)param_1 + 9" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "9")) () ")"))))) (; ";")) (if_statement "if (cVar1 == '\x03') {\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }\n    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }" (if "if") (parenthesized_expression "(cVar1 == '\x03')" (( "(") (binary_expression "cVar1 == '\x03'" (identifier "cVar1") (== "==") (char_literal "'\x03'" (' "'") (escape_sequence "\x03") (' "'"))) () ")")) (compound_statement "{\n      iVar4 = 0;\n      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }\n      param_1[0xc] = 0;\n    }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')) {\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }" (if "if") (parenthesized_expression "(((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0'))" (( "(") (binary_expression "((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&\n         (*(char *)((long)param_1 + 0xc) != '\0')" (parenthesized_expression "((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0))" (( "(") (binary_expression "(param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)" (parenthesized_expression "(param_1[0xc] != 0)" (( "(") (binary_expression "param_1[0xc] != 0" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)" (( "(") (comma_expression "iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0" (assignment_expression "iVar4 = FUN_0010ca15(puVar2,0)" (identifier "iVar4") (= "=") (call_expression "FUN_0010ca15(puVar2,0)" (identifier "FUN_0010ca15") (argument_list "(puVar2,0)" (( "(") (identifier "puVar2") (, ",") (number_literal "0") () ")")))) (, ",") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)((long)param_1 + 0xc) != '\0')" (( "(") (binary_expression "*(char *)((long)param_1 + 0xc) != '\0'" (pointer_expression "*(char *)((long)param_1 + 0xc)" (* "*") (cast_expression "(char *)((long)param_1 + 0xc)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0xc)" (( "(") (binary_expression "(long)param_1 + 0xc" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));\n      }" ({ "{") (expression_statement "iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));" (assignment_expression "iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe))" (identifier "iVar4") (= "=") (call_expression "FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe))" (identifier "FUN_0010ca24") (argument_list "(param_1[10],*(undefined1 *)((long)param_1 + 0xe))" (( "(") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (, ",") (pointer_expression "*(undefined1 *)((long)param_1 + 0xe)" (* "*") (cast_expression "(undefined1 *)((long)param_1 + 0xe)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0xe)" (( "(") (binary_expression "(long)param_1 + 0xe" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0xe")) () ")")))) () ")")))) (; ";")) (} "}"))) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }" (else "else") (if_statement "if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }\n    else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }" (if "if") (parenthesized_expression "((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05'))))" (( "(") (binary_expression "(cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))" (parenthesized_expression "(cVar1 == '\x01')" (( "(") (binary_expression "cVar1 == '\x01'" (identifier "cVar1") (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")")) (|| "||") (parenthesized_expression "((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))" (( "(") (parenthesized_expression "(*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05'))" (( "(") (binary_expression "*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')" (binary_expression "*(char *)(param_1 + 1) != '\0'" (pointer_expression "*(char *)(param_1 + 1)" (* "*") (cast_expression "(char *)(param_1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (parenthesized_expression "(cVar1 != '\x05')" (( "(") (binary_expression "cVar1 != '\x05'" (identifier "cVar1") (!= "!=") (char_literal "'\x05'" (' "'") (escape_sequence "\x05") (' "'"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n      if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }\n      param_1[0xc] = 0;\n    }" ({ "{") (if_statement "if (param_2 == 0) {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }\n      else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }\n      }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }" (if "if") (parenthesized_expression "(param_1[0xc] != 0)" (( "(") (binary_expression "param_1[0xc] != 0" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          lVar7 = param_1[0x19];\n          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;\n          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);\nLAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }\n        }" ({ "{") (expression_statement "lVar7 = param_1[0x19];" (assignment_expression "lVar7 = param_1[0x19]" (identifier "lVar7") (= "=") (subscript_expression "param_1[0x19]" (identifier "param_1") ([ "[") (number_literal "0x19") (] "]"))) (; ";")) (if_statement "if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;" (if "if") (parenthesized_expression "((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0'))" (( "(") (binary_expression "(lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')" (parenthesized_expression "(lVar7 == 0)" (( "(") (binary_expression "lVar7 == 0" (identifier "lVar7") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(char *)(param_1 + 2) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 2) != '\0'" (pointer_expression "*(char *)(param_1 + 2)" (* "*") (cast_expression "(char *)(param_1 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (goto_statement "goto LAB_0011b766;" (goto "goto") (statement_identifier "LAB_0011b766") (; ";"))) (expression_statement "iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);" (assignment_expression "iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0)" (identifier "iVar4") (= "=") (call_expression "FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0)" (identifier "FUN_0010ca06") (argument_list "(puVar2,&DAT_00192670,0x1c,0)" (( "(") (identifier "puVar2") (, ",") (pointer_expression "&DAT_00192670" (& "&") (identifier "DAT_00192670")) (, ",") (number_literal "0x1c") (, ",") (number_literal "0") () ")")))) (; ";")) (labeled_statement "LAB_0011b772:\n          if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }" (statement_identifier "LAB_0011b772") (: ":") (if_statement "if (iVar4 == 0) {\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }\n            if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }\n          }" ({ "{") (if_statement "if (*(char *)((long)param_1 + 0xb) == '\0') {\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }" (if "if") (parenthesized_expression "(*(char *)((long)param_1 + 0xb) == '\0')" (( "(") (binary_expression "*(char *)((long)param_1 + 0xb) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0xb)" (* "*") (cast_expression "(char *)((long)param_1 + 0xb)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0xb)" (( "(") (binary_expression "(long)param_1 + 0xb" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0xb")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);\n            }" ({ "{") (expression_statement "iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);" (assignment_expression "iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10)" (identifier "iVar4") (= "=") (call_expression "FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10)" (identifier "FUN_0010ca24") (argument_list "(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10)" (( "(") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (, ",") (binary_expression "*(byte *)((long)param_1 + 0xe) | 0x10" (pointer_expression "*(byte *)((long)param_1 + 0xe)" (* "*") (cast_expression "(byte *)((long)param_1 + 0xe)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0xe)" (( "(") (binary_expression "(long)param_1 + 0xe" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0xe")) () ")")))) (| "|") (number_literal "0x10")) () ")")))) (; ";")) (} "}"))) (if_statement "if ((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }" (if "if") (parenthesized_expression "((((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38))" (( "(") (binary_expression "(((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)" (parenthesized_expression "(((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0))" (( "(") (binary_expression "((iVar4 == 0) && (0 < lVar7)) &&\n                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)" (parenthesized_expression "((iVar4 == 0) && (0 < lVar7))" (( "(") (binary_expression "(iVar4 == 0) && (0 < lVar7)" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(0 < lVar7)" (( "(") (binary_expression "0 < lVar7" (number_literal "0") (< "<") (identifier "lVar7")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)" (( "(") (comma_expression "iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0" (assignment_expression "iVar4 = FUN_0010ca3a(param_1[10],&local_38)" (identifier "iVar4") (= "=") (call_expression "FUN_0010ca3a(param_1[10],&local_38)" (identifier "FUN_0010ca3a") (argument_list "(param_1[10],&local_38)" (( "(") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) () ")")))) (, ",") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(lVar7 < local_38)" (( "(") (binary_expression "lVar7 < local_38" (identifier "lVar7") (< "<") (identifier "local_38")) () ")"))) () ")")) (compound_statement "{\n              iVar4 = FUN_0010ca15(param_1[10],lVar7);\n            }" ({ "{") (expression_statement "iVar4 = FUN_0010ca15(param_1[10],lVar7);" (assignment_expression "iVar4 = FUN_0010ca15(param_1[10],lVar7)" (identifier "iVar4") (= "=") (call_expression "FUN_0010ca15(param_1[10],lVar7)" (identifier "FUN_0010ca15") (argument_list "(param_1[10],lVar7)" (( "(") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (, ",") (identifier "lVar7") () ")")))) (; ";")) (} "}"))) (} "}")))) (} "}"))) (} "}")) (else_clause "else {\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }" (else "else") (compound_statement "{\n        iVar4 = 0;\n        if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }\n      }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1[0xc] != 0) {\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }" (if "if") (parenthesized_expression "(param_1[0xc] != 0)" (( "(") (binary_expression "param_1[0xc] != 0" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          lVar7 = param_1[0x19];\nLAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);\n          goto LAB_0011b772;\n        }" ({ "{") (expression_statement "lVar7 = param_1[0x19];" (assignment_expression "lVar7 = param_1[0x19]" (identifier "lVar7") (= "=") (subscript_expression "param_1[0x19]" (identifier "param_1") ([ "[") (number_literal "0x19") (] "]"))) (; ";")) (labeled_statement "LAB_0011b766:\n          iVar4 = FUN_0010ca15(puVar2,0);" (statement_identifier "LAB_0011b766") (: ":") (expression_statement "iVar4 = FUN_0010ca15(puVar2,0);" (assignment_expression "iVar4 = FUN_0010ca15(puVar2,0)" (identifier "iVar4") (= "=") (call_expression "FUN_0010ca15(puVar2,0)" (identifier "FUN_0010ca15") (argument_list "(puVar2,0)" (( "(") (identifier "puVar2") (, ",") (number_literal "0") () ")")))) (; ";"))) (goto_statement "goto LAB_0011b772;" (goto "goto") (statement_identifier "LAB_0011b772") (; ";")) (} "}"))) (} "}")))) (expression_statement "param_1[0xc] = 0;" (assignment_expression "param_1[0xc] = 0" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }" (else "else") (compound_statement "{\n      cVar1 = *(char *)(param_1 + 2);\n      FUN_0010c9dd();\n      if (cVar1 != '\0') goto LAB_0011b53e;\n      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));\n    }" ({ "{") (expression_statement "cVar1 = *(char *)(param_1 + 2);" (assignment_expression "cVar1 = *(char *)(param_1 + 2)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(param_1 + 2)" (* "*") (cast_expression "(char *)(param_1 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "FUN_0010c9dd();" (call_expression "FUN_0010c9dd()" (identifier "FUN_0010c9dd") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (cVar1 != '\0') goto LAB_0011b53e;" (if "if") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0011b53e;" (goto "goto") (statement_identifier "LAB_0011b53e") (; ";"))) (expression_statement "iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));" (assignment_expression "iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd))" (identifier "iVar4") (= "=") (call_expression "FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd))" (identifier "FUN_0010cabb") (argument_list "(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd))" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (subscript_expression "param_1[0x1b]" (identifier "param_1") ([ "[") (number_literal "0x1b") (] "]")) (, ",") (pointer_expression "*(undefined1 *)((long)param_1 + 0xd)" (* "*") (cast_expression "(undefined1 *)((long)param_1 + 0xd)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0xd)" (( "(") (binary_expression "(long)param_1 + 0xd" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0xd")) () ")")))) () ")")))) (; ";")) (} "}")))))) (expression_statement "FUN_0011ad6e(param_1[8]);" (call_expression "FUN_0011ad6e(param_1[8])" (identifier "FUN_0011ad6e") (argument_list "(param_1[8])" (( "(") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) () ")"))) (; ";")) (expression_statement "param_1[8] = 0;" (assignment_expression "param_1[8] = 0" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 6) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 6) = 0" (pointer_expression "*(undefined4 *)(param_1 + 6)" (* "*") (cast_expression "(undefined4 *)(param_1 + 6)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 6)" (( "(") (binary_expression "param_1 + 6" (identifier "param_1") (+ "+") (number_literal "6")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar4 == 0) goto LAB_0011b556;" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0011b556;" (goto "goto") (statement_identifier "LAB_0011b556") (; ";"))) (} "}")))) (if_statement "if (param_1[0x24] == 0) {\n    if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);\n  }\n  else {\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }" (if "if") (parenthesized_expression "(param_1[0x24] == 0)" (( "(") (binary_expression "param_1[0x24] == 0" (subscript_expression "param_1[0x24]" (identifier "param_1") ([ "[") (number_literal "0x24") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }\n    iVar5 = 0;\n    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;\nLAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);\n  }" ({ "{") (if_statement "if ((iVar4 == 0) && (param_3 != 0)) {\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }" (if "if") (parenthesized_expression "((iVar4 == 0) && (param_3 != 0))" (( "(") (binary_expression "(iVar4 == 0) && (param_3 != 0)" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      iVar5 = 0;\n      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }\n      goto LAB_0011b702;\n    }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }" (if "if") (parenthesized_expression "(*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24))" (( "(") (binary_expression "*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)" (pointer_expression "*(uint *)((long)param_1 + 0x1c)" (* "*") (cast_expression "(uint *)((long)param_1 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x1c)" (( "(") (binary_expression "(long)param_1 + 0x1c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x1c")) () ")")))) (< "<") (pointer_expression "*(uint *)((long)param_1 + 0x24)" (* "*") (cast_expression "(uint *)((long)param_1 + 0x24)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x24)" (( "(") (binary_expression "(long)param_1 + 0x24" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (compound_statement "{\n        iVar4 = FUN_001144d9(param_1);\n        goto LAB_0011b5c6;\n      }" ({ "{") (expression_statement "iVar4 = FUN_001144d9(param_1);" (assignment_expression "iVar4 = FUN_001144d9(param_1)" (identifier "iVar4") (= "=") (call_expression "FUN_001144d9(param_1)" (identifier "FUN_001144d9") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (goto_statement "goto LAB_0011b5c6;" (goto "goto") (statement_identifier "LAB_0011b5c6") (; ";")) (} "}"))) (goto_statement "goto LAB_0011b702;" (goto "goto") (statement_identifier "LAB_0011b702") (; ";")) (} "}"))) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;" (if "if") (parenthesized_expression "(*(char *)(param_1 + 1) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 1) != '\0'" (pointer_expression "*(char *)(param_1 + 1)" (* "*") (cast_expression "(char *)(param_1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0011b7f8;" (goto "goto") (statement_identifier "LAB_0011b7f8") (; ";"))) (labeled_statement "LAB_0011b7e8:\n    iVar5 = FUN_0010e54d(param_1,1);" (statement_identifier "LAB_0011b7e8") (: ":") (expression_statement "iVar5 = FUN_0010e54d(param_1,1);" (assignment_expression "iVar5 = FUN_0010e54d(param_1,1)" (identifier "iVar5") (= "=") (call_expression "FUN_0010e54d(param_1,1)" (identifier "FUN_0010e54d") (argument_list "(param_1,1)" (( "(") (identifier "param_1") (, ",") (number_literal "1") () ")")))) (; ";"))) (} "}")) (else_clause "else {\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }" (else "else") (compound_statement "{\n    iVar5 = FUN_0010eb3c();\nLAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }\n  }" ({ "{") (expression_statement "iVar5 = FUN_0010eb3c();" (assignment_expression "iVar5 = FUN_0010eb3c()" (identifier "iVar5") (= "=") (call_expression "FUN_0010eb3c()" (identifier "FUN_0010eb3c") (argument_list "()" (( "(") () ")")))) (; ";")) (labeled_statement "LAB_0011b5c6:\n    if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }" (statement_identifier "LAB_0011b5c6") (: ":") (if_statement "if ((iVar4 == 0) && (param_3 != 0)) {\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }\n    else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }" (if "if") (parenthesized_expression "((iVar4 == 0) && (param_3 != 0))" (( "(") (binary_expression "(iVar4 == 0) && (param_3 != 0)" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\nLAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);\n      if (iVar4 != 0xc) goto LAB_0011b5d3;\n      if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }\n      iVar4 = 0;\nLAB_0011b5dd:\n      lVar7 = param_1[0x24];\n      if (lVar7 == 0) goto LAB_0011b7e8;\n      if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }\n    }" ({ "{") (labeled_statement "LAB_0011b702:\n      iVar4 = FUN_0010ca49(param_1[9],0x16,0);" (statement_identifier "LAB_0011b702") (: ":") (expression_statement "iVar4 = FUN_0010ca49(param_1[9],0x16,0);" (assignment_expression "iVar4 = FUN_0010ca49(param_1[9],0x16,0)" (identifier "iVar4") (= "=") (call_expression "FUN_0010ca49(param_1[9],0x16,0)" (identifier "FUN_0010ca49") (argument_list "(param_1[9],0x16,0)" (( "(") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (, ",") (number_literal "0x16") (, ",") (number_literal "0") () ")")))) (; ";"))) (if_statement "if (iVar4 != 0xc) goto LAB_0011b5d3;" (if "if") (parenthesized_expression "(iVar4 != 0xc)" (( "(") (binary_expression "iVar4 != 0xc" (identifier "iVar4") (!= "!=") (number_literal "0xc")) () ")")) (goto_statement "goto LAB_0011b5d3;" (goto "goto") (statement_identifier "LAB_0011b5d3") (; ";"))) (if_statement "if (*(char *)(param_1 + 1) != '\0') {\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 1) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 1) != '\0'" (pointer_expression "*(char *)(param_1 + 1)" (* "*") (cast_expression "(char *)(param_1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        *(undefined1 *)((long)param_1 + 0x14) = 1;\n        *(undefined1 *)((long)param_1 + 0x17) = 0;\n        goto LAB_0011b806;\n      }" ({ "{") (expression_statement "*(undefined1 *)((long)param_1 + 0x14) = 1;" (assignment_expression "*(undefined1 *)((long)param_1 + 0x14) = 1" (pointer_expression "*(undefined1 *)((long)param_1 + 0x14)" (* "*") (cast_expression "(undefined1 *)((long)param_1 + 0x14)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x14)" (( "(") (binary_expression "(long)param_1 + 0x14" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined1 *)((long)param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0x17)" (* "*") (cast_expression "(undefined1 *)((long)param_1 + 0x17)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x17)" (( "(") (binary_expression "(long)param_1 + 0x17" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x17")) () ")")))) (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0011b806;" (goto "goto") (statement_identifier "LAB_0011b806") (; ";")) (} "}"))) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0011b5dd:\n      lVar7 = param_1[0x24];" (statement_identifier "LAB_0011b5dd") (: ":") (expression_statement "lVar7 = param_1[0x24];" (assignment_expression "lVar7 = param_1[0x24]" (identifier "lVar7") (= "=") (subscript_expression "param_1[0x24]" (identifier "param_1") ([ "[") (number_literal "0x24") (] "]"))) (; ";"))) (if_statement "if (lVar7 == 0) goto LAB_0011b7e8;" (if "if") (parenthesized_expression "(lVar7 == 0)" (( "(") (binary_expression "lVar7 == 0" (identifier "lVar7") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0011b7e8;" (goto "goto") (statement_identifier "LAB_0011b7e8") (; ";"))) (if_statement "if (*(char *)(lVar7 + 0x3f) != '\0') {\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }" (if "if") (parenthesized_expression "(*(char *)(lVar7 + 0x3f) != '\0')" (( "(") (binary_expression "*(char *)(lVar7 + 0x3f) != '\0'" (pointer_expression "*(char *)(lVar7 + 0x3f)" (* "*") (cast_expression "(char *)(lVar7 + 0x3f)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x3f)" (( "(") (binary_expression "lVar7 + 0x3f" (identifier "lVar7") (+ "+") (number_literal "0x3f")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        *(undefined1 *)(lVar7 + 0x3f) = 0;\n        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);\n        if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }\n      }" ({ "{") (expression_statement "*(undefined1 *)(lVar7 + 0x3f) = 0;" (assignment_expression "*(undefined1 *)(lVar7 + 0x3f) = 0" (pointer_expression "*(undefined1 *)(lVar7 + 0x3f)" (* "*") (cast_expression "(undefined1 *)(lVar7 + 0x3f)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x3f)" (( "(") (binary_expression "lVar7 + 0x3f" (identifier "lVar7") (+ "+") (number_literal "0x3f")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);" (assignment_expression "iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3)" (identifier "iVar6") (= "=") (call_expression "FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3)" (identifier "FUN_0010e9b5") (argument_list "(lVar7,*(short *)(lVar7 + 0x3c) + 3)" (( "(") (identifier "lVar7") (, ",") (binary_expression "*(short *)(lVar7 + 0x3c) + 3" (pointer_expression "*(short *)(lVar7 + 0x3c)" (* "*") (cast_expression "(short *)(lVar7 + 0x3c)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x3c)" (( "(") (binary_expression "lVar7 + 0x3c" (identifier "lVar7") (+ "+") (number_literal "0x3c")) () ")")))) (+ "+") (number_literal "3")) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }\n        else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;\n        }" ({ "{") (if_statement "if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;" (if "if") (parenthesized_expression "(*(char *)(lVar7 + 0x3f) == '\0')" (( "(") (binary_expression "*(char *)(lVar7 + 0x3f) == '\0'" (pointer_expression "*(char *)(lVar7 + 0x3f)" (* "*") (cast_expression "(char *)(lVar7 + 0x3f)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x3f)" (( "(") (binary_expression "lVar7 + 0x3f" (identifier "lVar7") (+ "+") (number_literal "0x3f")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0011b7e8;" (goto "goto") (statement_identifier "LAB_0011b7e8") (; ";"))) (} "}")) (else_clause "else {\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }" (else "else") (compound_statement "{\n          *(undefined1 *)(lVar7 + 0x3f) = 1;\n        }" ({ "{") (expression_statement "*(undefined1 *)(lVar7 + 0x3f) = 1;" (assignment_expression "*(undefined1 *)(lVar7 + 0x3f) = 1" (pointer_expression "*(undefined1 *)(lVar7 + 0x3f)" (* "*") (cast_expression "(undefined1 *)(lVar7 + 0x3f)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x3f)" (( "(") (binary_expression "lVar7 + 0x3f" (identifier "lVar7") (+ "+") (number_literal "0x3f")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}")))) (} "}"))) (} "}")) (else_clause "else {\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }" (else "else") (compound_statement "{\nLAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;\n    }" ({ "{") (labeled_statement "LAB_0011b5d3:\n      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;" (statement_identifier "LAB_0011b5d3") (: ":") (if_statement "if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;" (if "if") (parenthesized_expression "(*(char *)(param_1 + 1) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 1) == '\0'" (pointer_expression "*(char *)(param_1 + 1)" (* "*") (cast_expression "(char *)(param_1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0011b5dd;" (goto "goto") (statement_identifier "LAB_0011b5dd") (; ";")))) (} "}"))))) (} "}")))) (labeled_statement "LAB_0011b7f8:\n  *(undefined1 *)((long)param_1 + 0x14) = 1;" (statement_identifier "LAB_0011b7f8") (: ":") (expression_statement "*(undefined1 *)((long)param_1 + 0x14) = 1;" (assignment_expression "*(undefined1 *)((long)param_1 + 0x14) = 1" (pointer_expression "*(undefined1 *)((long)param_1 + 0x14)" (* "*") (cast_expression "(undefined1 *)((long)param_1 + 0x14)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x14)" (( "(") (binary_expression "(long)param_1 + 0x14" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "1")) (; ";"))) (expression_statement "*(undefined1 *)((long)param_1 + 0x17) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0x17) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0x17)" (* "*") (cast_expression "(undefined1 *)((long)param_1 + 0x17)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x17)" (( "(") (binary_expression "(long)param_1 + 0x17" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x17")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar4 != 0) {\n    iVar5 = iVar4;\n  }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar5 = iVar4;\n  }" ({ "{") (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" (identifier "iVar5") (= "=") (identifier "iVar4")) (; ";")) (} "}"))) (labeled_statement "LAB_0011b806:\n  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }" (statement_identifier "LAB_0011b806") (: ":") (if_statement "if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return iVar5;\n  }" (if "if") (parenthesized_expression "(local_30 == *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_30 == *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_30") (== "==") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n    return iVar5;\n  }" ({ "{") (return_statement "return iVar5;" (return "return") (identifier "iVar5") (; ";")) (} "}")))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

int function_1(type_1 *pPager,int var_15,int var_4)

{
  type_2 var_11;
  type_3 *pId;
  type_4 *var_25;
  type_5 *pPVar2;
  type_6 *var_7;
  int var_13;
  int var_6;
  int var_27;
  long var_16;
  long var_1;
  type_7 var_19;
  long var_28;
  
  var_28 = *(long *)(var_1 + 0x28);
  if ((pPager->eState < 2) && (var_6 = 0, pPager->eLock < 2)) goto LAB_0011b806;
  var_2(pPager);
  pId = pPager->jfd;
  if (pId->pMethods == (type_8 *)0x0) {
LAB_0011b53e:
    var_3(pPager->pInJournal);
    pPager->pInJournal = (type_9 *)0x0;
    pPager->nRec = 0;
LAB_0011b556:
    if (((pPager->memDb == '\0') && (pPager->tempFile != '\0')) &&
       ((var_4 == 0 ||
        ((pPager->fd->pMethods == (type_8 *)0x0 ||
         (var_6 = var_5(pPager->pPCache), var_6 < 0x19)))))) {
      pPVar2 = pPager->pPCache;
      for (var_7 = pPVar2->pDirty; var_7 != (type_6 *)0x0; var_7 = var_7->pDirtyNext) {
        var_7->flags = var_7->flags & 0xfff3;
      }
      pPVar2->pSynced = pPVar2->pDirtyTail;
    }
    else {
      var_8(pPager->pPCache);
    }
    var_9(pPager->pPCache,pPager->dbSize);
    var_13 = 0;
  }
  else {
    if (pId->pMethods == &MemJournalMethods) {
      var_10(pId);
      goto LAB_0011b53e;
    }
    var_11 = pPager->journalMode;
    if (var_11 == '\x03') {
      var_13 = 0;
      if (((pPager->journalOff != 0) && (var_13 = var_12(pId,0), var_13 == 0)) &&
         (pPager->fullSync != '\0')) {
        var_13 = var_14(pPager->jfd,(type_10)pPager->syncFlags);
      }
      pPager->journalOff = 0;
    }
    else if ((var_11 == '\x01') || ((pPager->exclusiveMode != '\0' && (var_11 != '\x05')))) {
      if (var_15 == 0) {
        var_13 = 0;
        if (pPager->journalOff != 0) {
          var_16 = pPager->journalSizeLimit;
          if ((var_16 == 0) || (pPager->tempFile != '\0')) goto LAB_0011b766;
          var_13 = var_17(pId,zeroHdr_18699,0x1c,0);
LAB_0011b772:
          if (var_13 == 0) {
            if (pPager->noSync == '\0') {
              var_13 = var_14(pPager->jfd,(type_10)(pPager->syncFlags | 0x10));
            }
            if ((((var_13 == 0) && (0 < var_16)) &&
                (var_13 = var_18(pPager->jfd,&var_19), var_13 == 0)) && (var_16 < var_19)) {
              var_13 = var_12(pPager->jfd,var_16);
            }
          }
        }
      }
      else {
        var_13 = 0;
        if (pPager->journalOff != 0) {
          var_16 = pPager->journalSizeLimit;
LAB_0011b766:
          var_13 = var_12(pId,0);
          goto LAB_0011b772;
        }
      }
      pPager->journalOff = 0;
    }
    else {
      var_11 = pPager->tempFile;
      var_10(pId);
      if (var_11 != '\0') goto LAB_0011b53e;
      var_13 = var_20(pPager->pVfs,pPager->zJournal,(type_10)pPager->extraSync);
    }
    var_3(pPager->pInJournal);
    pPager->pInJournal = (type_9 *)0x0;
    pPager->nRec = 0;
    if (var_13 == 0) goto LAB_0011b556;
  }
  if (pPager->var_25 == (type_4 *)0x0) {
    if ((var_13 == 0) && (var_4 != 0)) {
      var_6 = 0;
      if (pPager->dbSize < pPager->dbFileSize) {
        var_13 = var_21(pPager,pPager->dbSize);
        goto LAB_0011b5c6;
      }
      goto LAB_0011b702;
    }
    var_6 = 0;
    if (pPager->exclusiveMode != '\0') goto LAB_0011b7f8;
LAB_0011b7e8:
    var_6 = var_22(pPager,1);
  }
  else {
    var_6 = var_23(pPager->var_25);
LAB_0011b5c6:
    if ((var_13 == 0) && (var_4 != 0)) {
LAB_0011b702:
      var_13 = var_24(pPager->fd,0x16,(void *)0x0);
      if (var_13 != 0xc) goto LAB_0011b5d3;
      if (pPager->exclusiveMode != '\0') {
        pPager->eState = '\x01';
        pPager->setSuper = '\0';
        goto LAB_0011b806;
      }
      var_13 = 0;
LAB_0011b5dd:
      var_25 = pPager->var_25;
      if (var_25 == (type_4 *)0x0) goto LAB_0011b7e8;
      if (var_25->exclusiveMode != '\0') {
        var_25->exclusiveMode = '\0';
        var_27 = var_26(var_25,var_25->readLock + 3);
        if (var_27 == 0) {
          if (var_25->exclusiveMode == '\0') goto LAB_0011b7e8;
        }
        else {
          var_25->exclusiveMode = '\x01';
        }
      }
    }
    else {
LAB_0011b5d3:
      if (pPager->exclusiveMode == '\0') goto LAB_0011b5dd;
    }
  }
LAB_0011b7f8:
  pPager->eState = '\x01';
  pPager->setSuper = '\0';
  if (var_13 != 0) {
    var_6 = var_13;
  }
LAB_0011b806:
  if (var_28 == *(long *)(var_1 + 0x28)) {
    return var_6;
  }
                    /* WARNING: Subroutine does not return */
  var_29();
}


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

int MASKED(undefined8 *param_1,int param_2,int param_3)

{
  char cVar1;
  undefined8 *puVar2;
  long *plVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  long lVar7;
  long in_FS_OFFSET;
  long local_38;
  long local_30;
  
  local_30 = *(long *)(in_FS_OFFSET + 0x28);
  if ((*(byte *)((long)param_1 + 0x14) < 2) && (iVar5 = 0, *(byte *)((long)param_1 + 0x15) < 2))
  goto LAB_0011b806;
  FUN_0011b2ec(param_1);
  puVar2 = (undefined8 *)param_1[10];
  if ((undefined *)*puVar2 == (undefined *)0x0) {
LAB_0011b53e:
    FUN_0011ad6e(param_1[8]);
    param_1[8] = 0;
    *(undefined4 *)(param_1 + 6) = 0;
LAB_0011b556:
    if (((*(char *)((long)param_1 + 0x13) == '\0') && (*(char *)(param_1 + 2) != '\0')) &&
       ((param_3 == 0 ||
        ((*(long *)param_1[9] == 0 || (iVar5 = FUN_0010e27f(param_1[0x23]), iVar5 < 0x19)))))) {
      plVar3 = (long *)param_1[0x23];
      for (lVar7 = *plVar3; lVar7 != 0; lVar7 = *(long *)(lVar7 + 0x38)) {
        *(ushort *)(lVar7 + 0x34) = *(ushort *)(lVar7 + 0x34) & 0xfff3;
      }
      plVar3[2] = plVar3[1];
    }
    else {
      FUN_0010e1ab(param_1[0x23]);
    }
    FUN_0011441d(param_1[0x23],*(undefined4 *)((long)param_1 + 0x1c));
    iVar4 = 0;
  }
  else {
    if ((undefined *)*puVar2 == &DAT_003af280) {
      FUN_0010c9dd();
      goto LAB_0011b53e;
    }
    cVar1 = *(char *)((long)param_1 + 9);
    if (cVar1 == '\x03') {
      iVar4 = 0;
      if (((param_1[0xc] != 0) && (iVar4 = FUN_0010ca15(puVar2,0), iVar4 == 0)) &&
         (*(char *)((long)param_1 + 0xc) != '\0')) {
        iVar4 = FUN_0010ca24(param_1[10],*(undefined1 *)((long)param_1 + 0xe));
      }
      param_1[0xc] = 0;
    }
    else if ((cVar1 == '\x01') || ((*(char *)(param_1 + 1) != '\0' && (cVar1 != '\x05')))) {
      if (param_2 == 0) {
        iVar4 = 0;
        if (param_1[0xc] != 0) {
          lVar7 = param_1[0x19];
          if ((lVar7 == 0) || (*(char *)(param_1 + 2) != '\0')) goto LAB_0011b766;
          iVar4 = FUN_0010ca06(puVar2,&DAT_00192670,0x1c,0);
LAB_0011b772:
          if (iVar4 == 0) {
            if (*(char *)((long)param_1 + 0xb) == '\0') {
              iVar4 = FUN_0010ca24(param_1[10],*(byte *)((long)param_1 + 0xe) | 0x10);
            }
            if ((((iVar4 == 0) && (0 < lVar7)) &&
                (iVar4 = FUN_0010ca3a(param_1[10],&local_38), iVar4 == 0)) && (lVar7 < local_38)) {
              iVar4 = FUN_0010ca15(param_1[10],lVar7);
            }
          }
        }
      }
      else {
        iVar4 = 0;
        if (param_1[0xc] != 0) {
          lVar7 = param_1[0x19];
LAB_0011b766:
          iVar4 = FUN_0010ca15(puVar2,0);
          goto LAB_0011b772;
        }
      }
      param_1[0xc] = 0;
    }
    else {
      cVar1 = *(char *)(param_1 + 2);
      FUN_0010c9dd();
      if (cVar1 != '\0') goto LAB_0011b53e;
      iVar4 = FUN_0010cabb(*param_1,param_1[0x1b],*(undefined1 *)((long)param_1 + 0xd));
    }
    FUN_0011ad6e(param_1[8]);
    param_1[8] = 0;
    *(undefined4 *)(param_1 + 6) = 0;
    if (iVar4 == 0) goto LAB_0011b556;
  }
  if (param_1[0x24] == 0) {
    if ((iVar4 == 0) && (param_3 != 0)) {
      iVar5 = 0;
      if (*(uint *)((long)param_1 + 0x1c) < *(uint *)((long)param_1 + 0x24)) {
        iVar4 = FUN_001144d9(param_1);
        goto LAB_0011b5c6;
      }
      goto LAB_0011b702;
    }
    iVar5 = 0;
    if (*(char *)(param_1 + 1) != '\0') goto LAB_0011b7f8;
LAB_0011b7e8:
    iVar5 = FUN_0010e54d(param_1,1);
  }
  else {
    iVar5 = FUN_0010eb3c();
LAB_0011b5c6:
    if ((iVar4 == 0) && (param_3 != 0)) {
LAB_0011b702:
      iVar4 = FUN_0010ca49(param_1[9],0x16,0);
      if (iVar4 != 0xc) goto LAB_0011b5d3;
      if (*(char *)(param_1 + 1) != '\0') {
        *(undefined1 *)((long)param_1 + 0x14) = 1;
        *(undefined1 *)((long)param_1 + 0x17) = 0;
        goto LAB_0011b806;
      }
      iVar4 = 0;
LAB_0011b5dd:
      lVar7 = param_1[0x24];
      if (lVar7 == 0) goto LAB_0011b7e8;
      if (*(char *)(lVar7 + 0x3f) != '\0') {
        *(undefined1 *)(lVar7 + 0x3f) = 0;
        iVar6 = FUN_0010e9b5(lVar7,*(short *)(lVar7 + 0x3c) + 3);
        if (iVar6 == 0) {
          if (*(char *)(lVar7 + 0x3f) == '\0') goto LAB_0011b7e8;
        }
        else {
          *(undefined1 *)(lVar7 + 0x3f) = 1;
        }
      }
    }
    else {
LAB_0011b5d3:
      if (*(char *)(param_1 + 1) == '\0') goto LAB_0011b5dd;
    }
  }
LAB_0011b7f8:
  *(undefined1 *)((long)param_1 + 0x14) = 1;
  *(undefined1 *)((long)param_1 + 0x17) = 0;
  if (iVar4 != 0) {
    iVar5 = iVar4;
  }
LAB_0011b806:
  if (local_30 == *(long *)(in_FS_OFFSET + 0x28)) {
    return iVar5;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}

