
int sqlite3BtreeDelete(BtCursor *pCur,u8 flags)

{
  ushort uVar1;
  bool bVar2;
  undefined2 extraout_var;
  int iVar3;
  u16 uVar4;
  char cVar6;
  byte bVar7;
  ushort uVar5;
  undefined4 uVar8;
  MemPage **ppMVar9;
  u8 uVar10;
  BtCursor *pCur_00;
  Btree *pBVar11;
  uint i;
  int iVar12;
  BtShared *pBVar13;
  u8 *pTemp;
  MemPage *pMVar14;
  u8 *puVar15;
  MemPage *pMVar16;
  code *pcVar17;
  undefined *puVar18;
  Pgno PStack_58;
  int rc;
  CellInfo info;
  
  puVar18 = PTR___stack_chk_guard_00190e24;
  pMVar14 = pCur->pPage;
  i = (uint)pCur->ix;
  pBVar11 = pCur->pBtree;
  uVar5 = pMVar14->maskPage;
  puVar15 = pMVar14->aData;
  pCur_00 = *(BtCursor **)PTR___stack_chk_guard_00190e24;
  pBVar13 = pBVar11->pBt;
  iVar12 = (int)pCur->iPage;
  uVar1 = *(ushort *)(pMVar14->aCellIdx + i * 2);
  uVar10 = pMVar14->leaf;
  if ((flags & 2) == 0) {
LAB_000d07f4:
    if (uVar10 != '\0') {
LAB_000d07fc:
      bVar7 = pCur->curFlags;
      bVar2 = false;
      goto joined_r0x000d0804;
    }
LAB_000d0a14:
    iVar3 = sqlite3BtreePrevious(pCur,0);
    rc = iVar3;
    if (iVar3 == 0) goto LAB_000d07fc;
  }
  else {
    if (((uVar10 == '\0') ||
        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5)),
        (int)((pBVar13->usableSize << 1) / 3) <= (int)((uint)pMVar14->nFree + iVar3 + 1))) ||
       (pMVar14->nCell == 1)) {
      if (pCur->curIntKey == '\0') {
        iVar3 = saveCursorKey(pCur);
        rc = iVar3;
        if (iVar3 == 0) {
          uVar10 = pMVar14->leaf;
          rc = 0;
          goto LAB_000d07f4;
        }
        goto LAB_000d078c;
      }
      (*(code *)(PTR_LAB_00190b40 + 0x1604))();
      uVar8 = *(undefined4 *)&(pCur->info).nKey;
      *(int *)((int)&pCur->nKey + 4) = (int)(pCur->info).nKey;
      *(undefined4 *)&pCur->nKey = uVar8;
      rc = 0;
      if (pMVar14->leaf == '\0') goto LAB_000d0a14;
      goto LAB_000d07fc;
    }
    bVar2 = true;
    bVar7 = pCur->curFlags;
joined_r0x000d0804:
    if (((bVar7 & 0x20) == 0) ||
       (rc = saveAllCursors((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur), iVar3 = rc, rc == 0))
    {
      if ((pCur->pKeyInfo == (KeyInfo *)0x0) && (pBVar11->hasIncrblobCur != '\0')) {
        (*(code *)(PTR_LAB_00190ba8 + 0x7804))(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)
        ;
      }
      rc = sqlite3PagerWrite(pMVar14->pDbPage);
      iVar3 = rc;
      if ((rc == 0) &&
         (rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info), iVar3 = rc, rc == 0)) {
        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);
        (*pcVar17)(pMVar14,i,info.nSize,&rc);
        iVar3 = rc;
        if (rc == 0) {
          if (pMVar14->leaf == '\0') {
            pMVar16 = pCur->pPage;
            if (iVar12 < pCur->iPage + -1) {
              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;
            }
            else {
              PStack_58 = pMVar16->pgno;
            }
            puVar15 = pMVar16->aData +
                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage
                      );
            if (puVar15 < pMVar16->aData + 4) {
              (*(code *)PTR_sqlite3_log_00190be0)
                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,
                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,
                         PTR_LAB_00190958 + 0x625c);
              iVar3 = 0xb;
            }
            else {
              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);
              pTemp = pBVar13->pTmpSpace;
              rc = sqlite3PagerWrite(pMVar16->pDbPage);
              iVar3 = rc;
              if (rc == 0) {
                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,
                           &rc);
                iVar3 = rc;
                if ((rc == 0) &&
                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),
                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;
              }
            }
          }
          else {
LAB_000d09a8:
            rc = balance(pCur);
            iVar3 = rc;
            if (rc == 0) {
              if (iVar12 < pCur->iPage) {
                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);
                (*pcVar17)(pCur->pPage->pDbPage);
                cVar6 = pCur->iPage + -1;
                pCur->iPage = cVar6;
                do {
                  iVar3 = (int)cVar6;
                  ppMVar9 = pCur->apPage + iVar3;
                  do {
                    pMVar16 = *ppMVar9;
                    if (iVar3 <= iVar12) {
                      pCur->pPage = pMVar16;
                      iVar3 = balance(pCur);
                      rc = iVar3;
                      if (iVar3 == 0) goto LAB_000d09d8;
                      goto LAB_000d078c;
                    }
                    cVar6 = (char)iVar3 + -1;
                    ppMVar9 = ppMVar9 + -1;
                    iVar3 = (int)cVar6;
                    pCur->iPage = cVar6;
                  } while (pMVar16 == (MemPage *)0x0);
                  (*pcVar17)(pMVar16->pDbPage);
                  cVar6 = pCur->iPage;
                } while( true );
              }
LAB_000d09d8:
              if (bVar2) {
                pCur->eState = '\x02';
                iVar3 = rc;
                if (i < pMVar14->nCell) {
                  pCur->skipNext = 1;
                }
                else {
                  pCur->skipNext = -1;
                  pCur->ix = pMVar14->nCell - 1;
                }
              }
              else {
                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);
                if ((flags & 2) != 0) {
                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);
                  pCur->eState = '\x03';
                }
                iVar3 = rc;
                if (rc == 0x10) {
                  iVar3 = 0;
                }
              }
            }
          }
        }
      }
    }
  }
LAB_000d078c:
  if (pCur_00 == *(BtCursor **)puVar18) {
    return iVar3;
  }
  puVar18 = PTR___stack_chk_fail_00190df8;
  (*(code *)PTR___stack_chk_fail_00190df8)();
  bVar7 = pCur_00->eState;
  if (bVar7 != 0) {
    if (2 < bVar7) {
      if (bVar7 == 4) {
        if (pCur_00->skipNext != 0) {
          return pCur_00->skipNext;
        }
        goto LAB_000d0c34;
      }
      iVar12 = btreeRestoreCursorPosition(pCur_00);
      if (iVar12 != 0) {
        return iVar12;
      }
      bVar7 = pCur_00->eState;
    }
    if (bVar7 == 1) {
      return 0x65;
    }
    if ((bVar7 == 2) && (pCur_00->eState = '\0', 0 < pCur_00->skipNext)) {
      return 0;
    }
  }
LAB_000d0c34:
  pMVar14 = pCur_00->pPage;
  uVar5 = pCur_00->ix + 1;
  pCur_00->ix = uVar5;
  if (pMVar14->isInit == '\0') {
    (**(code **)(puVar18 + 0xbfff8))
              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,
               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);
    iVar12 = 0xb;
  }
  else {
    if (uVar5 < pMVar14->nCell) {
      iVar12 = *(int *)(puVar18 + 0xbfff4);
      if (pMVar14->leaf == '\0') goto LAB_000d0d4c;
    }
    else {
      iVar12 = *(int *)(puVar18 + 0xbff58);
      if (pMVar14->leaf == '\0') {
        iVar12 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))
                           (pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8));
        if (iVar12 != 0) {
          return iVar12;
        }
        iVar12 = *(int *)(puVar18 + 0xbfff4);
LAB_000d0d4c:
                    /* WARNING: Could not recover jumptable at 0x000d0d60. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        iVar12 = (*(code *)(iVar12 + -0x22d8))(pCur_00);
        return iVar12;
      }
      do {
        if (pCur_00->iPage == '\0') {
          pCur_00->eState = '\x01';
          return 0x65;
        }
        (*(code *)(iVar12 + 0x1664))(pCur_00);
      } while (pCur_00->pPage->nCell <= pCur_00->ix);
      if (pCur_00->pPage->intKey != '\0') {
        iVar12 = sqlite3BtreeNext(pCur_00,0);
        return iVar12;
      }
    }
    iVar12 = 0;
  }
  return iVar12;
}



int FUN_000d0660(undefined1 *param_1,uint param_2)

{
  short sVar1;
  bool bVar2;
  int iVar3;
  char cVar4;
  byte bVar5;
  char *pcVar6;
  int *piVar7;
  byte *pbVar8;
  uint uVar9;
  int iVar10;
  uint uVar11;
  int iVar12;
  int iVar13;
  undefined4 uVar14;
  int iVar15;
  int iVar16;
  code *pcVar17;
  undefined *puVar18;
  undefined4 local_58;
  int local_4c;
  undefined1 auStack_48 [18];
  undefined2 local_36;
  byte *local_2c;
  
  puVar18 = PTR___stack_chk_guard_00190e24;
  iVar15 = *(int *)(param_1 + 0x74);
  uVar11 = (uint)*(ushort *)(param_1 + 0x46);
  iVar10 = *(int *)(param_1 + 8);
  local_2c = *(byte **)PTR___stack_chk_guard_00190e24;
  iVar13 = *(int *)(iVar10 + 4);
  iVar12 = (int)(char)param_1[0x44];
  cVar4 = *(char *)(iVar15 + 8);
  iVar16 = *(int *)(iVar15 + 0x38) +
           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18));
  if ((param_2 & 2) == 0) {
LAB_000d07f4:
    if (cVar4 != '\0') {
LAB_000d07fc:
      bVar5 = param_1[1];
      bVar2 = false;
      goto joined_r0x000d0804;
    }
LAB_000d0a14:
    iVar3 = FUN_000d0604(param_1,0);
    local_4c = iVar3;
    if (iVar3 == 0) goto LAB_000d07fc;
  }
  else {
    if (((cVar4 == '\0') ||
        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),
        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=
        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {
      if (param_1[0x45] == '\0') {
        iVar3 = FUN_000ce0d8();
        local_4c = iVar3;
        if (iVar3 == 0) {
          cVar4 = *(char *)(iVar15 + 8);
          local_4c = 0;
          goto LAB_000d07f4;
        }
        goto LAB_000d078c;
      }
      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);
      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);
      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);
      local_4c = 0;
      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;
      goto LAB_000d07fc;
    }
    bVar2 = true;
    bVar5 = param_1[1];
joined_r0x000d0804:
    if (((bVar5 & 0x20) == 0) ||
       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)
       , iVar3 = local_4c, local_4c == 0)) {
      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {
        (*(code *)(PTR_LAB_00190ba8 + 0x7804))
                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));
      }
      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));
      iVar3 = local_4c;
      if ((local_4c == 0) &&
         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {
        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);
        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);
        iVar3 = local_4c;
        if (local_4c == 0) {
          if (*(char *)(iVar15 + 8) == '\0') {
            iVar10 = *(int *)(param_1 + 0x74);
            if (iVar12 < (char)param_1[0x44] + -1) {
              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);
            }
            else {
              local_58 = *(undefined4 *)(iVar10 + 4);
            }
            uVar9 = *(int *)(iVar10 + 0x38) +
                    (uint)(*(ushort *)
                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &
                          *(ushort *)(iVar10 + 0x18));
            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {
              (*(code *)PTR_sqlite3_log_00190be0)
                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,
                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,
                         PTR_LAB_00190958 + 0x625c);
              iVar3 = 0xb;
            }
            else {
              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);
              uVar14 = *(undefined4 *)(iVar13 + 0x50);
              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));
              iVar3 = local_4c;
              if (local_4c == 0) {
                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);
                iVar3 = local_4c;
                if ((local_4c == 0) &&
                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),
                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;
              }
            }
          }
          else {
LAB_000d09a8:
            local_4c = FUN_000ccf80(param_1);
            iVar3 = local_4c;
            if (local_4c == 0) {
              if (iVar12 < (char)param_1[0x44]) {
                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);
                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));
                cVar4 = param_1[0x44] + -1;
                param_1[0x44] = cVar4;
                do {
                  iVar10 = (int)cVar4;
                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);
                  do {
                    iVar13 = *piVar7;
                    if (iVar10 <= iVar12) {
                      *(int *)(param_1 + 0x74) = iVar13;
                      iVar3 = FUN_000ccf80(param_1);
                      local_4c = iVar3;
                      if (iVar3 == 0) goto LAB_000d09d8;
                      goto LAB_000d078c;
                    }
                    cVar4 = (char)iVar10 + -1;
                    piVar7 = piVar7 + -1;
                    iVar10 = (int)cVar4;
                    param_1[0x44] = cVar4;
                  } while (iVar13 == 0);
                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));
                  cVar4 = param_1[0x44];
                } while( true );
              }
LAB_000d09d8:
              if (bVar2) {
                *param_1 = 2;
                iVar3 = local_4c;
                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {
                  *(undefined4 *)(param_1 + 4) = 1;
                }
                else {
                  *(undefined4 *)(param_1 + 4) = 0xffffffff;
                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;
                }
              }
              else {
                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);
                if ((param_2 & 2) != 0) {
                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);
                  *param_1 = 3;
                }
                iVar3 = local_4c;
                if (local_4c == 0x10) {
                  iVar3 = 0;
                }
              }
            }
          }
        }
      }
    }
  }
LAB_000d078c:
  if (local_2c == *(byte **)puVar18) {
    return iVar3;
  }
  pbVar8 = local_2c;
  puVar18 = PTR___stack_chk_fail_00190df8;
  (*(code *)PTR___stack_chk_fail_00190df8)();
  bVar5 = *pbVar8;
  if (bVar5 != 0) {
    if (2 < bVar5) {
      if (bVar5 == 4) {
        if (*(int *)(pbVar8 + 4) != 0) {
          return *(int *)(pbVar8 + 4);
        }
        goto LAB_000d0c34;
      }
      iVar10 = FUN_000d0344();
      if (iVar10 != 0) {
        return iVar10;
      }
      bVar5 = *pbVar8;
    }
    if (bVar5 == 1) {
      return 0x65;
    }
    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {
      return 0;
    }
  }
LAB_000d0c34:
  sVar1 = *(short *)(pbVar8 + 0x46);
  pcVar6 = *(char **)(pbVar8 + 0x74);
  *(ushort *)(pbVar8 + 0x46) = sVar1 + 1U;
  if (*pcVar6 == '\0') {
    (**(code **)(puVar18 + 0xbfff8))
              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,
               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);
    iVar10 = 0xb;
  }
  else {
    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {
      iVar10 = *(int *)(puVar18 + 0xbfff4);
      if (pcVar6[8] == '\0') goto LAB_000d0d4c;
    }
    else {
      iVar10 = *(int *)(puVar18 + 0xbff58);
      if (pcVar6[8] == '\0') {
        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))
                           (pbVar8,*(undefined4 *)
                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));
        if (iVar10 != 0) {
          return iVar10;
        }
        iVar10 = *(int *)(puVar18 + 0xbfff4);
LAB_000d0d4c:
        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);
        return iVar10;
      }
      do {
        if (pbVar8[0x44] == 0) {
          *pbVar8 = 1;
          return 0x65;
        }
        (*(code *)(iVar10 + 0x1664))(pbVar8);
      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));
      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {
        iVar10 = FUN_000d0de4(pbVar8,0);
        return iVar10;
      }
    }
    iVar10 = 0;
  }
  return iVar10;
}


lui gp,0xd
addiu gp,gp,-0x7d40
addu gp,gp,t9
addiu sp,sp,-0x90
sw s8,0x88(sp)
or s8,a0,zero
sw s3,0x74(sp)
andi s3,a1,0x2
sw s0,0x68(sp)
sw gp,0x20(sp)
sw ra,0x8c(sp)
sw s7,0x84(sp)
sw s6,0x80(sp)
sw s5,0x7c(sp)
sw s4,0x78(sp)
sw s2,0x70(sp)
sw s1,0x6c(sp)
lw s6,0x74(a0)
lhu s2,0x46(a0)
lw s1,0x8(a0)
lw s0,-0x7afc(gp)
lw a0,0x40(s6)
sll v0,s2,0x1
lhu a2,0x18(s6)
lw s7,0x38(s6)
addu a0,a0,v0
lw a3,0x0(s0)
lw s5,0x4(s1)
lb s4,0x44(s8)
lbu v0,0x0(a0)
lbu a0,0x1(a0)
lbu a1,0x8(s6)
sll v0,v0,0x8
sw a3,0x64(sp)
or v0,v0,a0
and v0,v0,a2
beq s3,zero,0x000d07f4
_addu s7,s7,v0
beq a1,zero,0x000d07c8
_lw t9,-0x7de0(gp)
or a1,s7,zero
addiu t9,t9,0x1310
jalr t9
_or a0,s6,zero
lhu a0,0x14(s6)
lw a1,0x24(s5)
addu v0,a0,v0
lui a0,0xaaaa
sll a1,a1,0x1
ori a0,a0,0xaaab
multu a1,a0
addiu v0,v0,0x1
mfhi a1
srl a1,a1,0x1
slt v0,v0,a1
beq v0,zero,0x000d07c8
_lw gp,0x20(sp)
lhu a0,0x16(s6)
li v0,0x1
beq a0,v0,0x000d07c8
_nop
sw v0,0x28(sp)
lbu v0,0x1(s8)
andi v0,v0,0x20
beq v0,zero,0x000d080c
_nop
lw t9,-0x7d64(gp)
or a2,s8,zero
lw a1,0x40(s8)
addiu t9,t9,-0x1c48
bal 0x000ce3b8
_lw a0,0x8(s5)
lw gp,0x20(sp)
beq v0,zero,0x000d080c
_sw v0,0x44(sp)
lw a0,0x64(sp)
lw v1,0x0(s0)
bne a0,v1,0x000d0bdc
_lw ra,0x8c(sp)
lw s8,0x88(sp)
lw s7,0x84(sp)
lw s6,0x80(sp)
lw s5,0x7c(sp)
lw s4,0x78(sp)
lw s3,0x74(sp)
lw s2,0x70(sp)
lw s1,0x6c(sp)
lw s0,0x68(sp)
jr ra
_addiu sp,sp,0x90
lbu v0,0x45(s8)
bne v0,zero,0x000d0a70
_or a0,s8,zero
lw t9,-0x7d64(gp)
addiu t9,t9,-0x1f28
bal 0x000ce0d8
_nop
lw gp,0x20(sp)
bne v0,zero,0x000d078c
_sw v0,0x44(sp)
lbu a1,0x8(s6)
beq a1,zero,0x000d0a10
_lw t9,-0x7d64(gp)
lbu v0,0x1(s8)
andi v0,v0,0x20
bne v0,zero,0x000d0768
_sw zero,0x28(sp)
lw v0,0x70(s8)
beq v0,zero,0x000d0a34
_nop
lw s1,-0x7d54(gp)
addiu s1,s1,0x3260
or t9,s1,zero
bal 0x000c3260
_lw a0,0x48(s6)
lw gp,0x20(sp)
bne v0,zero,0x000d078c
_sw v0,0x44(sp)
lw t9,-0x7d64(gp)
addiu a2,sp,0x48
or a1,s7,zero
addiu t9,t9,-0x5428
bal 0x000cabd8
_or a0,s6,zero
lw gp,0x20(sp)
bne v0,zero,0x000d078c
_sw v0,0x44(sp)
addiu v0,sp,0x44
lhu a2,0x5a(sp)
or a1,s2,zero
sw v0,0x2c(sp)
or a3,v0,zero
lw v0,-0x7d44(gp)
or a0,s6,zero
addiu t9,v0,-0x176c
jalr t9
_sw t9,0x30(sp)
lw v0,0x44(sp)
bne v0,zero,0x000d078c
_lw gp,0x20(sp)
lbu v0,0x8(s6)
bne v0,zero,0x000d09a8
_nop
lb v0,0x44(s8)
addiu v0,v0,-0x1
slt v0,s4,v0
beq v0,zero,0x000d0aac
_lw s7,0x74(s8)
addiu v0,s4,0x1f
sll v0,v0,0x2
addu v0,s8,v0
lw v0,0x0(v0)
lw v0,0x4(v0)
sw v0,0x38(sp)
lhu a0,0x16(s7)
lw a1,0x40(s7)
lhu t2,0x18(s7)
addiu a0,a0,-0x1
lw v0,0x38(s7)
sll a0,a0,0x1
addiu a3,v0,0x4
addu a0,a1,a0
lbu a2,0x0(a0)
lbu a0,0x1(a0)
sll a2,a2,0x8
or a2,a2,a0
and a2,a2,t2
addu a2,v0,a2
sltu v0,a2,a3
bne v0,zero,0x000d0b7c
_or a1,a2,zero
lw t9,0x4c(s7)
sw a2,0x34(sp)
jalr t9
_or a0,s7,zero
or t9,s1,zero
lw a0,0x48(s7)
lw s5,0x50(s5)
bal 0x000c3260
_sw v0,0x3c(sp)
lw gp,0x20(sp)
lw a2,0x34(sp)
bne v0,zero,0x000d078c
_sw v0,0x44(sp)
lw t9,-0x7d64(gp)
addiu a2,a2,-0x4
lw s1,0x3c(sp)
or a1,s2,zero
lw v0,0x2c(sp)
or a0,s6,zero
lw v1,0x38(sp)
addiu t9,t9,-0x511c
addiu a3,s1,0x4
sw s5,0x10(sp)
sw v0,0x18(sp)
bal 0x000caee4
_sw v1,0x14(sp)
lhu a1,0x16(s7)
lw v0,0x44(sp)
lw gp,0x20(sp)
bne v0,zero,0x000d078c
_addiu a1,a1,-0x1
lw a3,0x2c(sp)
or a2,s1,zero
lw t9,0x30(sp)
jalr t9
_or a0,s7,zero
lw v0,0x44(sp)
bne v0,zero,0x000d078c
_lw gp,0x20(sp)
lw s1,-0x7d64(gp)
addiu s1,s1,-0x3080
or t9,s1,zero
bal 0x000ccf80
_or a0,s8,zero
lw gp,0x20(sp)
bne v0,zero,0x000d078c
_sw v0,0x44(sp)
lb v0,0x44(s8)
slt v0,s4,v0
bne v0,zero,0x000d0af4
_lw s5,-0x7de0(gp)
lw v0,0x28(sp)
beq v0,zero,0x000d0ac4
_li v0,0x2
sb v0,0x0(s8)
lhu v0,0x16(s6)
sltu s2,s2,v0
bne s2,zero,0x000d0ab8
_lw v0,0x44(sp)
li a0,-0x1
sw a0,0x4(s8)
lhu a0,0x16(s6)
addiu a0,a0,-0x1
b 0x000d078c
_sh a0,0x46(s8)
or a1,zero,zero
addiu t9,t9,0x604
bal 0x000d0604
_or a0,s8,zero
lw gp,0x20(sp)
beq v0,zero,0x000d07fc
_sw v0,0x44(sp)
b 0x000d078c
_nop
lbu v0,0xb(s1)
beq v0,zero,0x000d0818
_lw t9,-0x7d78(gp)
addiu a1,s1,0xb
lw t3,0x24(s8)
lw t2,0x20(s8)
lw a0,0x4(s1)
addiu t9,t9,0x7804
lw a2,0x40(s8)
sw zero,0x18(sp)
sw t3,0x14(sp)
jalr t9
_sw t2,0x10(sp)
b 0x000d0818
_lw gp,0x20(sp)
lw t9,-0x7de0(gp)
addiu t9,t9,0x1604
jalr t9
_nop
lw a1,0x24(s8)
lw a0,0x20(s8)
lw gp,0x20(sp)
sw a1,0x3c(s8)
sw a0,0x38(s8)
sw zero,0x44(sp)
lbu a1,0x8(s6)
bne a1,zero,0x000d07fc
_lw t9,-0x7d64(gp)
b 0x000d0a14
_or a1,zero,zero
lw v0,0x4(s7)
b 0x000d08c8
_sw v0,0x38(sp)
li a0,0x1
b 0x000d078c
_sw a0,0x4(s8)
lw t9,-0x7d44(gp)
addiu t9,t9,-0x222c
jalr t9
_or a0,s8,zero
lw gp,0x20(sp)
bne s3,zero,0x000d0bb8
_sw v0,0x44(sp)
li v1,0x10
bne v0,v1,0x000d078c
_nop
b 0x000d078c
_or v0,zero,zero
lw v0,0x74(s8)
addiu s5,s5,0xee8
or t9,s5,zero
jalr t9
_lw a0,0x48(v0)
lbu v0,0x44(s8)
addiu v0,v0,-0x1
seb v0,v0
b 0x000d0b40
_sb v0,0x44(s8)
addiu v0,v0,-0x1
addiu a0,a0,-0x4
seb v0,v0
beq a2,zero,0x000d0b4c
_sb v0,0x44(s8)
or t9,s5,zero
jalr t9
_lw a0,0x48(a2)
lb v0,0x44(s8)
addiu a0,v0,0x1e
sll a0,a0,0x2
addu a0,s8,a0
slt a1,s4,v0
bne a1,zero,0x000d0b1c
_lw a2,0x0(a0)
sw a2,0x74(s8)
or t9,s1,zero
bal 0x000ccf80
_or a0,s8,zero
lw gp,0x20(sp)
beq v0,zero,0x000d09d8
_sw v0,0x44(sp)
b 0x000d078c
_nop
lw v0,-0x7fc8(gp)
lui a3,0x1
lw a2,-0x7fc4(gp)
li a0,0xb
lw a1,-0x7fc4(gp)
addiu a3,a3,0x18e2
addiu v0,v0,0x625c
lw t9,-0x7d40(gp)
addiu a2,a2,-0x5e64
addiu a1,a1,-0x6378
jalr t9
_sw v0,0x10(sp)
li v0,0xb
b 0x000d078c
_lw gp,0x20(sp)
lw t9,-0x7d78(gp)
addiu t9,t9,0x788c
jalr t9
_or a0,s8,zero
li a0,0x3
lw gp,0x20(sp)
lw v0,0x44(sp)
b 0x000d0ae0
_sb a0,0x0(s8)
lw t9,-0x7b28(gp)
jalr t9
_nop
(translation_unit "int FUN_000d0660(undefined1 *param_1,uint param_2)\n\n{\n  short sVar1;\n  bool bVar2;\n  int iVar3;\n  char cVar4;\n  byte bVar5;\n  char *pcVar6;\n  int *piVar7;\n  byte *pbVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  code *pcVar17;\n  undefined *puVar18;\n  undefined4 local_58;\n  int local_4c;\n  undefined1 auStack_48 [18];\n  undefined2 local_36;\n  byte *local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_00190e24;\n  iVar15 = *(int *)(param_1 + 0x74);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x46);\n  iVar10 = *(int *)(param_1 + 8);\n  local_2c = *(byte **)PTR___stack_chk_guard_00190e24;\n  iVar13 = *(int *)(iVar10 + 4);\n  iVar12 = (int)(char)param_1[0x44];\n  cVar4 = *(char *)(iVar15 + 8);\n  iVar16 = *(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18));\n  if ((param_2 & 2) == 0) {\nLAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);\n    local_4c = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }\n  else {\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\nLAB_000d078c:\n  if (local_2c == *(byte **)puVar18) {\n    return iVar3;\n  }\n  pbVar8 = local_2c;\n  puVar18 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  bVar5 = *pbVar8;\n  if (bVar5 != 0) {\n    if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }\n    if (bVar5 == 1) {\n      return 0x65;\n    }\n    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }\n  }\nLAB_000d0c34:\n  sVar1 = *(short *)(pbVar8 + 0x46);\n  pcVar6 = *(char **)(pbVar8 + 0x74);\n  *(ushort *)(pbVar8 + 0x46) = sVar1 + 1U;\n  if (*pcVar6 == '\0') {\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar10 = 0xb;\n  }\n  else {\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }\n  return iVar10;\n}\n\n" (function_definition "int FUN_000d0660(undefined1 *param_1,uint param_2)\n\n{\n  short sVar1;\n  bool bVar2;\n  int iVar3;\n  char cVar4;\n  byte bVar5;\n  char *pcVar6;\n  int *piVar7;\n  byte *pbVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  code *pcVar17;\n  undefined *puVar18;\n  undefined4 local_58;\n  int local_4c;\n  undefined1 auStack_48 [18];\n  undefined2 local_36;\n  byte *local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_00190e24;\n  iVar15 = *(int *)(param_1 + 0x74);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x46);\n  iVar10 = *(int *)(param_1 + 8);\n  local_2c = *(byte **)PTR___stack_chk_guard_00190e24;\n  iVar13 = *(int *)(iVar10 + 4);\n  iVar12 = (int)(char)param_1[0x44];\n  cVar4 = *(char *)(iVar15 + 8);\n  iVar16 = *(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18));\n  if ((param_2 & 2) == 0) {\nLAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);\n    local_4c = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }\n  else {\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\nLAB_000d078c:\n  if (local_2c == *(byte **)puVar18) {\n    return iVar3;\n  }\n  pbVar8 = local_2c;\n  puVar18 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  bVar5 = *pbVar8;\n  if (bVar5 != 0) {\n    if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }\n    if (bVar5 == 1) {\n      return 0x65;\n    }\n    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }\n  }\nLAB_000d0c34:\n  sVar1 = *(short *)(pbVar8 + 0x46);\n  pcVar6 = *(char **)(pbVar8 + 0x74);\n  *(ushort *)(pbVar8 + 0x46) = sVar1 + 1U;\n  if (*pcVar6 == '\0') {\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar10 = 0xb;\n  }\n  else {\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }\n  return iVar10;\n}" primitive_type (function_declarator "FUN_000d0660(undefined1 *param_1,uint param_2)" identifier (parameter_list "(undefined1 *param_1,uint param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  short sVar1;\n  bool bVar2;\n  int iVar3;\n  char cVar4;\n  byte bVar5;\n  char *pcVar6;\n  int *piVar7;\n  byte *pbVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  code *pcVar17;\n  undefined *puVar18;\n  undefined4 local_58;\n  int local_4c;\n  undefined1 auStack_48 [18];\n  undefined2 local_36;\n  byte *local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_00190e24;\n  iVar15 = *(int *)(param_1 + 0x74);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x46);\n  iVar10 = *(int *)(param_1 + 8);\n  local_2c = *(byte **)PTR___stack_chk_guard_00190e24;\n  iVar13 = *(int *)(iVar10 + 4);\n  iVar12 = (int)(char)param_1[0x44];\n  cVar4 = *(char *)(iVar15 + 8);\n  iVar16 = *(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18));\n  if ((param_2 & 2) == 0) {\nLAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);\n    local_4c = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }\n  else {\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\nLAB_000d078c:\n  if (local_2c == *(byte **)puVar18) {\n    return iVar3;\n  }\n  pbVar8 = local_2c;\n  puVar18 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  bVar5 = *pbVar8;\n  if (bVar5 != 0) {\n    if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }\n    if (bVar5 == 1) {\n      return 0x65;\n    }\n    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }\n  }\nLAB_000d0c34:\n  sVar1 = *(short *)(pbVar8 + 0x46);\n  pcVar6 = *(char **)(pbVar8 + 0x74);\n  *(ushort *)(pbVar8 + 0x46) = sVar1 + 1U;\n  if (*pcVar6 == '\0') {\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar10 = 0xb;\n  }\n  else {\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }\n  return iVar10;\n}" { (declaration "short sVar1;" (sized_type_specifier "short" short) identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "code *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "undefined *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "undefined4 local_58;" type_identifier identifier ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "undefined1 auStack_48 [18];" type_identifier (array_declarator "auStack_48 [18]" identifier [ number_literal ]) ;) (declaration "undefined2 local_36;" type_identifier identifier ;) (declaration "byte *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "puVar18 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar18 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "iVar15 = *(int *)(param_1 + 0x74);" (assignment_expression "iVar15 = *(int *)(param_1 + 0x74)" identifier = (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = (uint)*(ushort *)(param_1 + 0x46);" (assignment_expression "uVar11 = (uint)*(ushort *)(param_1 + 0x46)" identifier = (binary_expression "(uint)*(ushort *)(param_1 + 0x46)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_1 + 0x46)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x46)" ( (binary_expression "param_1 + 0x46" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(param_1 + 8);" (assignment_expression "iVar10 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_2c = *(byte **)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_2c = *(byte **)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(byte **)PTR___stack_chk_guard_00190e24" * (cast_expression "(byte **)PTR___stack_chk_guard_00190e24" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar13 = *(int *)(iVar10 + 4);" (assignment_expression "iVar13 = *(int *)(iVar10 + 4)" identifier = (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = (int)(char)param_1[0x44];" (assignment_expression "iVar12 = (int)(char)param_1[0x44]" identifier = (cast_expression "(int)(char)param_1[0x44]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)param_1[0x44]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[0x44]" identifier [ number_literal ])))) ;) (expression_statement "cVar4 = *(char *)(iVar15 + 8);" (assignment_expression "cVar4 = *(char *)(iVar15 + 8)" identifier = (pointer_expression "*(char *)(iVar15 + 8)" * (cast_expression "(char *)(iVar15 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 8)" ( (binary_expression "iVar15 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar16 = *(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18));" (assignment_expression "iVar16 = *(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18))" identifier = (binary_expression "*(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18))" (pointer_expression "*(int *)(iVar15 + 0x38)" * (cast_expression "(int *)(iVar15 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x38)" ( (binary_expression "iVar15 + 0x38" identifier + number_literal) )))) + (call_expression "(uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18))" ( (binary_expression "*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18)" (pointer_expression "*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2)" * (cast_expression "(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar15 + 0x40) + uVar11 * 2)" ( (binary_expression "*(int *)(iVar15 + 0x40) + uVar11 * 2" (pointer_expression "*(int *)(iVar15 + 0x40)" * (cast_expression "(int *)(iVar15 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x40)" ( (binary_expression "iVar15 + 0x40" identifier + number_literal) )))) + (binary_expression "uVar11 * 2" identifier * number_literal)) )))) & (pointer_expression "*(ushort *)(iVar15 + 0x18)" * (cast_expression "(ushort *)(iVar15 + 0x18)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x18)" ( (binary_expression "iVar15 + 0x18" identifier + number_literal) ))))) ))))) ;) (if_statement "if ((param_2 & 2) == 0) {\nLAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);\n    local_4c = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }\n  else {\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" if (parenthesized_expression "((param_2 & 2) == 0)" ( (binary_expression "(param_2 & 2) == 0" (parenthesized_expression "(param_2 & 2)" ( (binary_expression "param_2 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);\n    local_4c = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }" { (labeled_statement "LAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }" statement_identifier : (if_statement "if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }" { (labeled_statement "LAB_000d07fc:\n      bVar5 = param_1[1];" statement_identifier : (expression_statement "bVar5 = param_1[1];" (assignment_expression "bVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;)) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (goto_statement "goto joined_r0x000d0804;" goto statement_identifier ;) }))) (labeled_statement "LAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);" statement_identifier : (expression_statement "iVar3 = FUN_000d0604(param_1,0);" (assignment_expression "iVar3 = FUN_000d0604(param_1,0)" identifier = (call_expression "FUN_000d0604(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;)) (expression_statement "local_4c = iVar3;" (assignment_expression "local_4c = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) goto LAB_000d07fc;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000d07fc;" goto statement_identifier ;)) }) (else_clause "else {\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" else (compound_statement "{\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" { (if_statement "if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }" if (parenthesized_expression "(((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1))" ( (binary_expression "((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)" (parenthesized_expression "((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1)))" ( (binary_expression "(cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))" (parenthesized_expression "(cVar4 == '\0')" ( (binary_expression "cVar4 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))" ( (comma_expression "iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1)" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16)" identifier = (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x1310))" ( (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x1310)" * (cast_expression "(code *)(PTR_LAB_00190b40 + 0x1310)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0x1310)" ( (binary_expression "PTR_LAB_00190b40 + 0x1310" identifier + number_literal) )))) )) (argument_list "(iVar15,iVar16)" ( identifier , identifier )))) , (binary_expression "(int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1)" (cast_expression "(int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(*(int *)(iVar13 + 0x24) << 1) / 3)" ( (binary_expression "(uint)(*(int *)(iVar13 + 0x24) << 1) / 3" (call_expression "(uint)(*(int *)(iVar13 + 0x24) << 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar13 + 0x24) << 1)" ( (binary_expression "*(int *)(iVar13 + 0x24) << 1" (pointer_expression "*(int *)(iVar13 + 0x24)" * (cast_expression "(int *)(iVar13 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x24)" ( (binary_expression "iVar13 + 0x24" identifier + number_literal) )))) << number_literal) ))) / number_literal) ))) <= (cast_expression "(int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1)" ( (binary_expression "(uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1" (binary_expression "(uint)*(ushort *)(iVar15 + 0x14) + iVar3" (binary_expression "(uint)*(ushort *)(iVar15 + 0x14)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(iVar15 + 0x14)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x14)" ( (binary_expression "iVar15 + 0x14" identifier + number_literal) )))) + identifier) + number_literal) ))))) ))) )) || (parenthesized_expression "(*(short *)(iVar15 + 0x16) == 1)" ( (binary_expression "*(short *)(iVar15 + 0x16) == 1" (pointer_expression "*(short *)(iVar15 + 0x16)" * (cast_expression "(short *)(iVar15 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x16)" ( (binary_expression "iVar15 + 0x16" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }" { (if_statement "if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }" if (parenthesized_expression "(param_1[0x45] == '\0')" ( (binary_expression "param_1[0x45] == '\0'" (subscript_expression "param_1[0x45]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }" { (expression_statement "iVar3 = FUN_000ce0d8();" (assignment_expression "iVar3 = FUN_000ce0d8()" identifier = (call_expression "FUN_000ce0d8()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_4c = iVar3;" (assignment_expression "local_4c = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }" { (expression_statement "cVar4 = *(char *)(iVar15 + 8);" (assignment_expression "cVar4 = *(char *)(iVar15 + 8)" identifier = (pointer_expression "*(char *)(iVar15 + 8)" * (cast_expression "(char *)(iVar15 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 8)" ( (binary_expression "iVar15 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000d07f4;" goto statement_identifier ;) })) (goto_statement "goto LAB_000d078c;" goto statement_identifier ;) })) (expression_statement "(*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);" (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x1604))" ( (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x1604)" * (cast_expression "(code *)(PTR_LAB_00190b40 + 0x1604)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0x1604)" ( (binary_expression "PTR_LAB_00190b40 + 0x1604" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24)" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);" (assignment_expression "*(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20)" (pointer_expression "*(undefined4 *)(param_1 + 0x38)" * (cast_expression "(undefined4 *)(param_1 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (if_statement "if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;" if (parenthesized_expression "(*(char *)(iVar15 + 8) == '\0')" ( (binary_expression "*(char *)(iVar15 + 8) == '\0'" (pointer_expression "*(char *)(iVar15 + 8)" * (cast_expression "(char *)(iVar15 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 8)" ( (binary_expression "iVar15 + 8" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000d0a14;" goto statement_identifier ;)) (goto_statement "goto LAB_000d07fc;" goto statement_identifier ;) })) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (expression_statement "bVar5 = param_1[1];" (assignment_expression "bVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (labeled_statement "joined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" statement_identifier : (if_statement "if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" if (parenthesized_expression "(((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0))" ( (binary_expression "((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)" (parenthesized_expression "((bVar5 & 0x20) == 0)" ( (binary_expression "(bVar5 & 0x20) == 0" (parenthesized_expression "(bVar5 & 0x20)" ( (binary_expression "bVar5 & 0x20" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)" ( (comma_expression "local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0" (assignment_expression "local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)" identifier = (call_expression "FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)" identifier (argument_list "(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)" ( (pointer_expression "*(undefined4 *)(iVar13 + 8)" * (cast_expression "(undefined4 *)(iVar13 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 8)" ( (binary_expression "iVar13 + 8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x40)" * (cast_expression "(undefined4 *)(param_1 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) , identifier )))) , (comma_expression "iVar3 = local_4c, local_4c == 0" (assignment_expression "iVar3 = local_4c" identifier = identifier) , (binary_expression "local_4c == 0" identifier == number_literal))) ))) )) (compound_statement "{\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" { (if_statement "if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }" if (parenthesized_expression "((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0'))" ( (binary_expression "(*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')" (parenthesized_expression "(*(int *)(param_1 + 0x70) == 0)" ( (binary_expression "*(int *)(param_1 + 0x70) == 0" (pointer_expression "*(int *)(param_1 + 0x70)" * (cast_expression "(int *)(param_1 + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(char *)(iVar10 + 0xb) != '\0')" ( (binary_expression "*(char *)(iVar10 + 0xb) != '\0'" (pointer_expression "*(char *)(iVar10 + 0xb)" * (cast_expression "(char *)(iVar10 + 0xb)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xb)" ( (binary_expression "iVar10 + 0xb" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }" { (expression_statement "(*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));" (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40))" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7804))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x7804)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x7804)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + 0x7804)" ( (binary_expression "PTR_LAB_00190ba8 + 0x7804" identifier + number_literal) )))) )) (argument_list "(*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40))" ( (pointer_expression "*(undefined4 *)(iVar10 + 4)" * (cast_expression "(undefined4 *)(iVar10 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) )))) , (binary_expression "iVar10 + 0xb" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x40)" * (cast_expression "(undefined4 *)(param_1 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) ))) ;) })) (expression_statement "local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));" (assignment_expression "local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48))" identifier = (call_expression "FUN_000c3260(*(undefined4 *)(iVar15 + 0x48))" identifier (argument_list "(*(undefined4 *)(iVar15 + 0x48))" ( (pointer_expression "*(undefined4 *)(iVar15 + 0x48)" * (cast_expression "(undefined4 *)(iVar15 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x48)" ( (binary_expression "iVar15 + 0x48" identifier + number_literal) )))) )))) ;) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" identifier = identifier) ;) (if_statement "if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }" if (parenthesized_expression "((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0))" ( (binary_expression "(local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)" (parenthesized_expression "(local_4c == 0)" ( (binary_expression "local_4c == 0" identifier == number_literal) )) && (parenthesized_expression "(local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)" ( (comma_expression "local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0" (assignment_expression "local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48)" identifier = (call_expression "FUN_000cabd8(iVar15,iVar16,auStack_48)" identifier (argument_list "(iVar15,iVar16,auStack_48)" ( identifier , identifier , identifier )))) , (comma_expression "iVar3 = local_4c, local_4c == 0" (assignment_expression "iVar3 = local_4c" identifier = identifier) , (binary_expression "local_4c == 0" identifier == number_literal))) ))) )) (compound_statement "{\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }" { (expression_statement "pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);" (assignment_expression "pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c)" identifier = (cast_expression "(code *)(PTR_LAB_00190bdc + -0x176c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + -0x176c)" ( (binary_expression "PTR_LAB_00190bdc + -0x176c" identifier + number_literal) )))) ;) (expression_statement "(*pcVar17)(iVar15,uVar11,local_36,&local_4c);" (call_expression "(*pcVar17)(iVar15,uVar11,local_36,&local_4c)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(iVar15,uVar11,local_36,&local_4c)" ( identifier , identifier , identifier , (pointer_expression "&local_4c" & identifier) ))) ;) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" identifier = identifier) ;) (if_statement "if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }" if (parenthesized_expression "(local_4c == 0)" ( (binary_expression "local_4c == 0" identifier == number_literal) )) (compound_statement "{\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }" { (if_statement "if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }" if (parenthesized_expression "(*(char *)(iVar15 + 8) == '\0')" ( (binary_expression "*(char *)(iVar15 + 8) == '\0'" (pointer_expression "*(char *)(iVar15 + 8)" * (cast_expression "(char *)(iVar15 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 8)" ( (binary_expression "iVar15 + 8" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }" { (expression_statement "iVar10 = *(int *)(param_1 + 0x74);" (assignment_expression "iVar10 = *(int *)(param_1 + 0x74)" identifier = (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) ))))) ;) (if_statement "if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }" if (parenthesized_expression "(iVar12 < (char)param_1[0x44] + -1)" ( (binary_expression "iVar12 < (char)param_1[0x44] + -1" identifier < (binary_expression "(char)param_1[0x44] + -1" (cast_expression "(char)param_1[0x44]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[0x44]" identifier [ number_literal ])) + number_literal)) )) (compound_statement "{\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }" { (expression_statement "local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);" (assignment_expression "local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4)" ( (binary_expression "*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4" (pointer_expression "*(int *)(param_1 + (iVar12 + 0x1f) * 4)" * (cast_expression "(int *)(param_1 + (iVar12 + 0x1f) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (iVar12 + 0x1f) * 4)" ( (binary_expression "param_1 + (iVar12 + 0x1f) * 4" identifier + (binary_expression "(iVar12 + 0x1f) * 4" (parenthesized_expression "(iVar12 + 0x1f)" ( (binary_expression "iVar12 + 0x1f" identifier + number_literal) )) * number_literal)) )))) + number_literal) ))))) ;) }) (else_clause "else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }" else (compound_statement "{\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }" { (expression_statement "local_58 = *(undefined4 *)(iVar10 + 4);" (assignment_expression "local_58 = *(undefined4 *)(iVar10 + 4)" identifier = (pointer_expression "*(undefined4 *)(iVar10 + 4)" * (cast_expression "(undefined4 *)(iVar10 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) ))))) ;) }))) (expression_statement "uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));" (assignment_expression "uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18))" identifier = (binary_expression "*(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18))" (pointer_expression "*(int *)(iVar10 + 0x38)" * (cast_expression "(int *)(iVar10 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x38)" ( (binary_expression "iVar10 + 0x38" identifier + number_literal) )))) + (call_expression "(uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18))" ( (binary_expression "*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18)" (pointer_expression "*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2)" * (cast_expression "(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2)" ( (binary_expression "*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2" (pointer_expression "*(int *)(iVar10 + 0x40)" * (cast_expression "(int *)(iVar10 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x40)" ( (binary_expression "iVar10 + 0x40" identifier + number_literal) )))) + (binary_expression "(*(ushort *)(iVar10 + 0x16) - 1) * 2" (parenthesized_expression "(*(ushort *)(iVar10 + 0x16) - 1)" ( (binary_expression "*(ushort *)(iVar10 + 0x16) - 1" (pointer_expression "*(ushort *)(iVar10 + 0x16)" * (cast_expression "(ushort *)(iVar10 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x16)" ( (binary_expression "iVar10 + 0x16" identifier + number_literal) )))) - number_literal) )) * number_literal)) )))) & (pointer_expression "*(ushort *)(iVar10 + 0x18)" * (cast_expression "(ushort *)(iVar10 + 0x18)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) ))))) ))))) ;) (if_statement "if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }" if (parenthesized_expression "(uVar9 < *(int *)(iVar10 + 0x38) + 4U)" ( (binary_expression "uVar9 < *(int *)(iVar10 + 0x38) + 4U" identifier < (binary_expression "*(int *)(iVar10 + 0x38) + 4U" (pointer_expression "*(int *)(iVar10 + 0x38)" * (cast_expression "(int *)(iVar10 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x38)" ( (binary_expression "iVar10 + 0x38" identifier + number_literal) )))) + number_literal)) )) (compound_statement "{\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }" { (expression_statement "(*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);" (call_expression "(*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c)" (parenthesized_expression "(*(code *)PTR_sqlite3_log_00190be0)" ( (pointer_expression "*(code *)PTR_sqlite3_log_00190be0" * (cast_expression "(code *)PTR_sqlite3_log_00190be0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c)" ( number_literal , (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378" identifier + number_literal) , (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_00190958 + 0x625c" identifier + number_literal) ))) ;) (expression_statement "iVar3 = 0xb;" (assignment_expression "iVar3 = 0xb" identifier = number_literal) ;) }) (else_clause "else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }" else (compound_statement "{\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }" { (expression_statement "iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);" (assignment_expression "iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9)" identifier = (call_expression "(**(code **)(iVar10 + 0x4c))(iVar10,uVar9)" (parenthesized_expression "(**(code **)(iVar10 + 0x4c))" ( (pointer_expression "**(code **)(iVar10 + 0x4c)" * (pointer_expression "*(code **)(iVar10 + 0x4c)" * (cast_expression "(code **)(iVar10 + 0x4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 0x4c)" ( (binary_expression "iVar10 + 0x4c" identifier + number_literal) ))))) )) (argument_list "(iVar10,uVar9)" ( identifier , identifier )))) ;) (expression_statement "uVar14 = *(undefined4 *)(iVar13 + 0x50);" (assignment_expression "uVar14 = *(undefined4 *)(iVar13 + 0x50)" identifier = (pointer_expression "*(undefined4 *)(iVar13 + 0x50)" * (cast_expression "(undefined4 *)(iVar13 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x50)" ( (binary_expression "iVar13 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));" (assignment_expression "local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48))" identifier = (call_expression "FUN_000c3260(*(undefined4 *)(iVar10 + 0x48))" identifier (argument_list "(*(undefined4 *)(iVar10 + 0x48))" ( (pointer_expression "*(undefined4 *)(iVar10 + 0x48)" * (cast_expression "(undefined4 *)(iVar10 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x48)" ( (binary_expression "iVar10 + 0x48" identifier + number_literal) )))) )))) ;) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" identifier = identifier) ;) (if_statement "if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }" if (parenthesized_expression "(local_4c == 0)" ( (binary_expression "local_4c == 0" identifier == number_literal) )) (compound_statement "{\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }" { (expression_statement "FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);" (call_expression "FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c)" identifier (argument_list "(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c)" ( identifier , identifier , (binary_expression "uVar9 - 4" identifier - number_literal) , (binary_expression "iVar16 + 4" identifier + number_literal) , identifier , identifier , (pointer_expression "&local_4c" & identifier) ))) ;) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" identifier = identifier) ;) (if_statement "if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;" if (parenthesized_expression "((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0))" ( (binary_expression "(local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)" (parenthesized_expression "(local_4c == 0)" ( (binary_expression "local_4c == 0" identifier == number_literal) )) && (parenthesized_expression "((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)" ( (comma_expression "(*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0" (call_expression "(*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c)" ( identifier , (binary_expression "*(ushort *)(iVar10 + 0x16) - 1" (pointer_expression "*(ushort *)(iVar10 + 0x16)" * (cast_expression "(ushort *)(iVar10 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x16)" ( (binary_expression "iVar10 + 0x16" identifier + number_literal) )))) - number_literal) , identifier , (pointer_expression "&local_4c" & identifier) ))) , (comma_expression "iVar3 = local_4c, local_4c == 0" (assignment_expression "iVar3 = local_4c" identifier = identifier) , (binary_expression "local_4c == 0" identifier == number_literal))) ))) )) (goto_statement "goto LAB_000d09a8;" goto statement_identifier ;)) })) }))) }) (else_clause "else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }" else (compound_statement "{\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }" { (labeled_statement "LAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);" statement_identifier : (expression_statement "local_4c = FUN_000ccf80(param_1);" (assignment_expression "local_4c = FUN_000ccf80(param_1)" identifier = (call_expression "FUN_000ccf80(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;)) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" identifier = identifier) ;) (if_statement "if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }" if (parenthesized_expression "(local_4c == 0)" ( (binary_expression "local_4c == 0" identifier == number_literal) )) (compound_statement "{\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }" { (if_statement "if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }" if (parenthesized_expression "(iVar12 < (char)param_1[0x44])" ( (binary_expression "iVar12 < (char)param_1[0x44]" identifier < (cast_expression "(char)param_1[0x44]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[0x44]" identifier [ number_literal ]))) )) (compound_statement "{\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }" { (expression_statement "pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);" (assignment_expression "pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8)" identifier = (cast_expression "(code *)(PTR_LAB_00190b40 + 0xee8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0xee8)" ( (binary_expression "PTR_LAB_00190b40 + 0xee8" identifier + number_literal) )))) ;) (expression_statement "(*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));" (call_expression "(*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48))" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48))" ( (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x74) + 0x48)" ( (binary_expression "*(int *)(param_1 + 0x74) + 0x48" (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) + number_literal) )))) ))) ;) (expression_statement "cVar4 = param_1[0x44] + -1;" (assignment_expression "cVar4 = param_1[0x44] + -1" identifier = (binary_expression "param_1[0x44] + -1" (subscript_expression "param_1[0x44]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0x44] = cVar4;" (assignment_expression "param_1[0x44] = cVar4" (subscript_expression "param_1[0x44]" identifier [ number_literal ]) = identifier) ;) (do_statement "do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );" do (compound_statement "{\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                }" { (expression_statement "iVar10 = (int)cVar4;" (assignment_expression "iVar10 = (int)cVar4" identifier = (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);" (assignment_expression "piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4)" identifier = (cast_expression "(int *)(param_1 + (iVar10 + 0x1e) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (iVar10 + 0x1e) * 4)" ( (binary_expression "param_1 + (iVar10 + 0x1e) * 4" identifier + (binary_expression "(iVar10 + 0x1e) * 4" (parenthesized_expression "(iVar10 + 0x1e)" ( (binary_expression "iVar10 + 0x1e" identifier + number_literal) )) * number_literal)) )))) ;) (do_statement "do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);" do (compound_statement "{\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  }" { (expression_statement "iVar13 = *piVar7;" (assignment_expression "iVar13 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (if_statement "if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }" if (parenthesized_expression "(iVar10 <= iVar12)" ( (binary_expression "iVar10 <= iVar12" identifier <= identifier) )) (compound_statement "{\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }" { (expression_statement "*(int *)(param_1 + 0x74) = iVar13;" (assignment_expression "*(int *)(param_1 + 0x74) = iVar13" (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = FUN_000ccf80(param_1);" (assignment_expression "iVar3 = FUN_000ccf80(param_1)" identifier = (call_expression "FUN_000ccf80(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "local_4c = iVar3;" (assignment_expression "local_4c = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) goto LAB_000d09d8;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000d09d8;" goto statement_identifier ;)) (goto_statement "goto LAB_000d078c;" goto statement_identifier ;) })) (expression_statement "cVar4 = (char)iVar10 + -1;" (assignment_expression "cVar4 = (char)iVar10 + -1" identifier = (binary_expression "(char)iVar10 + -1" (cast_expression "(char)iVar10" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "piVar7 = piVar7 + -1;" (assignment_expression "piVar7 = piVar7 + -1" identifier = (binary_expression "piVar7 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = (int)cVar4;" (assignment_expression "iVar10 = (int)cVar4" identifier = (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[0x44] = cVar4;" (assignment_expression "param_1[0x44] = cVar4" (subscript_expression "param_1[0x44]" identifier [ number_literal ]) = identifier) ;) }) while (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) ;) (expression_statement "(*pcVar17)(*(undefined4 *)(iVar13 + 0x48));" (call_expression "(*pcVar17)(*(undefined4 *)(iVar13 + 0x48))" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(*(undefined4 *)(iVar13 + 0x48))" ( (pointer_expression "*(undefined4 *)(iVar13 + 0x48)" * (cast_expression "(undefined4 *)(iVar13 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x48)" ( (binary_expression "iVar13 + 0x48" identifier + number_literal) )))) ))) ;) (expression_statement "cVar4 = param_1[0x44];" (assignment_expression "cVar4 = param_1[0x44]" identifier = (subscript_expression "param_1[0x44]" identifier [ number_literal ])) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (labeled_statement "LAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }" statement_identifier : (if_statement "if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }" { (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" identifier = identifier) ;) (if_statement "if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }" if (parenthesized_expression "(uVar11 < *(ushort *)(iVar15 + 0x16))" ( (binary_expression "uVar11 < *(ushort *)(iVar15 + 0x16)" identifier < (pointer_expression "*(ushort *)(iVar15 + 0x16)" * (cast_expression "(ushort *)(iVar15 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x16)" ( (binary_expression "iVar15 + 0x16" identifier + number_literal) ))))) )) (compound_statement "{\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }" { (expression_statement "*(undefined4 *)(param_1 + 4) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 1" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }" else (compound_statement "{\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }" { (expression_statement "*(undefined4 *)(param_1 + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;" (assignment_expression "*(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1" (pointer_expression "*(short *)(param_1 + 0x46)" * (cast_expression "(short *)(param_1 + 0x46)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x46)" ( (binary_expression "param_1 + 0x46" identifier + number_literal) )))) = (binary_expression "*(short *)(iVar15 + 0x16) + -1" (pointer_expression "*(short *)(iVar15 + 0x16)" * (cast_expression "(short *)(iVar15 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x16)" ( (binary_expression "iVar15 + 0x16" identifier + number_literal) )))) + number_literal)) ;) }))) }) (else_clause "else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }" else (compound_statement "{\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }" { (expression_statement "local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);" (assignment_expression "local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1)" identifier = (call_expression "(*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + -0x222c))" ( (pointer_expression "*(code *)(PTR_LAB_00190bdc + -0x222c)" * (cast_expression "(code *)(PTR_LAB_00190bdc + -0x222c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + -0x222c)" ( (binary_expression "PTR_LAB_00190bdc + -0x222c" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }" if (parenthesized_expression "((param_2 & 2) != 0)" ( (binary_expression "(param_2 & 2) != 0" (parenthesized_expression "(param_2 & 2)" ( (binary_expression "param_2 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }" { (expression_statement "(*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x788c))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x788c)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x788c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + 0x788c)" ( (binary_expression "PTR_LAB_00190ba8 + 0x788c" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*param_1 = 3;" (assignment_expression "*param_1 = 3" (pointer_expression "*param_1" * identifier) = number_literal) ;) })) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" identifier = identifier) ;) (if_statement "if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }" if (parenthesized_expression "(local_4c == 0x10)" ( (binary_expression "local_4c == 0x10" identifier == number_literal) )) (compound_statement "{\n                  iVar3 = 0;\n                }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) })) })))) })) }))) })) })) }))) }))) (labeled_statement "LAB_000d078c:\n  if (local_2c == *(byte **)puVar18) {\n    return iVar3;\n  }" statement_identifier : (if_statement "if (local_2c == *(byte **)puVar18) {\n    return iVar3;\n  }" if (parenthesized_expression "(local_2c == *(byte **)puVar18)" ( (binary_expression "local_2c == *(byte **)puVar18" identifier == (pointer_expression "*(byte **)puVar18" * (cast_expression "(byte **)puVar18" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) }))) (expression_statement "pbVar8 = local_2c;" (assignment_expression "pbVar8 = local_2c" identifier = identifier) ;) (expression_statement "puVar18 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar18 = PTR___stack_chk_fail_00190df8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "bVar5 = *pbVar8;" (assignment_expression "bVar5 = *pbVar8" identifier = (pointer_expression "*pbVar8" * identifier)) ;) (if_statement "if (bVar5 != 0) {\n    if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }\n    if (bVar5 == 1) {\n      return 0x65;\n    }\n    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }\n  }" if (parenthesized_expression "(bVar5 != 0)" ( (binary_expression "bVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }\n    if (bVar5 == 1) {\n      return 0x65;\n    }\n    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }\n  }" { (if_statement "if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }" if (parenthesized_expression "(2 < bVar5)" ( (binary_expression "2 < bVar5" number_literal < identifier) )) (compound_statement "{\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }" { (if_statement "if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }" if (parenthesized_expression "(bVar5 == 4)" ( (binary_expression "bVar5 == 4" identifier == number_literal) )) (compound_statement "{\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }" { (if_statement "if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }" if (parenthesized_expression "(*(int *)(pbVar8 + 4) != 0)" ( (binary_expression "*(int *)(pbVar8 + 4) != 0" (pointer_expression "*(int *)(pbVar8 + 4)" * (cast_expression "(int *)(pbVar8 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 4)" ( (binary_expression "pbVar8 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n          return *(int *)(pbVar8 + 4);\n        }" { (return_statement "return *(int *)(pbVar8 + 4);" return (pointer_expression "*(int *)(pbVar8 + 4)" * (cast_expression "(int *)(pbVar8 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 4)" ( (binary_expression "pbVar8 + 4" identifier + number_literal) )))) ;) })) (goto_statement "goto LAB_000d0c34;" goto statement_identifier ;) })) (expression_statement "iVar10 = FUN_000d0344();" (assignment_expression "iVar10 = FUN_000d0344()" identifier = (call_expression "FUN_000d0344()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar10 != 0) {\n        return iVar10;\n      }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n        return iVar10;\n      }" { (return_statement "return iVar10;" return identifier ;) })) (expression_statement "bVar5 = *pbVar8;" (assignment_expression "bVar5 = *pbVar8" identifier = (pointer_expression "*pbVar8" * identifier)) ;) })) (if_statement "if (bVar5 == 1) {\n      return 0x65;\n    }" if (parenthesized_expression "(bVar5 == 1)" ( (binary_expression "bVar5 == 1" identifier == number_literal) )) (compound_statement "{\n      return 0x65;\n    }" { (return_statement "return 0x65;" return number_literal ;) })) (if_statement "if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }" if (parenthesized_expression "((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4)))" ( (binary_expression "(bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))" (parenthesized_expression "(bVar5 == 2)" ( (binary_expression "bVar5 == 2" identifier == number_literal) )) && (parenthesized_expression "(*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))" ( (comma_expression "*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4)" (assignment_expression "*pbVar8 = 0" (pointer_expression "*pbVar8" * identifier) = number_literal) , (binary_expression "0 < *(int *)(pbVar8 + 4)" number_literal < (pointer_expression "*(int *)(pbVar8 + 4)" * (cast_expression "(int *)(pbVar8 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 4)" ( (binary_expression "pbVar8 + 4" identifier + number_literal) )))))) ))) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (labeled_statement "LAB_000d0c34:\n  sVar1 = *(short *)(pbVar8 + 0x46);" statement_identifier : (expression_statement "sVar1 = *(short *)(pbVar8 + 0x46);" (assignment_expression "sVar1 = *(short *)(pbVar8 + 0x46)" identifier = (pointer_expression "*(short *)(pbVar8 + 0x46)" * (cast_expression "(short *)(pbVar8 + 0x46)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 0x46)" ( (binary_expression "pbVar8 + 0x46" identifier + number_literal) ))))) ;)) (expression_statement "pcVar6 = *(char **)(pbVar8 + 0x74);" (assignment_expression "pcVar6 = *(char **)(pbVar8 + 0x74)" identifier = (pointer_expression "*(char **)(pbVar8 + 0x74)" * (cast_expression "(char **)(pbVar8 + 0x74)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pbVar8 + 0x74)" ( (binary_expression "pbVar8 + 0x74" identifier + number_literal) ))))) ;) (expression_statement "*(ushort *)(pbVar8 + 0x46) = sVar1 + 1U;" (assignment_expression "*(ushort *)(pbVar8 + 0x46) = sVar1 + 1U" (pointer_expression "*(ushort *)(pbVar8 + 0x46)" * (cast_expression "(ushort *)(pbVar8 + 0x46)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 0x46)" ( (binary_expression "pbVar8 + 0x46" identifier + number_literal) )))) = (binary_expression "sVar1 + 1U" identifier + number_literal)) ;) (if_statement "if (*pcVar6 == '\0') {\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar10 = 0xb;\n  }\n  else {\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }" if (parenthesized_expression "(*pcVar6 == '\0')" ( (binary_expression "*pcVar6 == '\0'" (pointer_expression "*pcVar6" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar10 = 0xb;\n  }" { (expression_statement "(**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);" (call_expression "(**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c)" (parenthesized_expression "(**(code **)(puVar18 + 0xbfff8))" ( (pointer_expression "**(code **)(puVar18 + 0xbfff8)" * (pointer_expression "*(code **)(puVar18 + 0xbfff8)" * (cast_expression "(code **)(puVar18 + 0xbfff8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0xbfff8)" ( (binary_expression "puVar18 + 0xbfff8" identifier + number_literal) ))))) )) (argument_list "(0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c)" ( number_literal , (binary_expression "*(int *)(puVar18 + 0xbfd74) + -0x6378" (pointer_expression "*(int *)(puVar18 + 0xbfd74)" * (cast_expression "(int *)(puVar18 + 0xbfd74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfd74)" ( (binary_expression "puVar18 + 0xbfd74" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar18 + 0xbfd74) + -0x5e64" (pointer_expression "*(int *)(puVar18 + 0xbfd74)" * (cast_expression "(int *)(puVar18 + 0xbfd74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfd74)" ( (binary_expression "puVar18 + 0xbfd74" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar18 + 0xbfd70) + 0x625c" (pointer_expression "*(int *)(puVar18 + 0xbfd70)" * (cast_expression "(int *)(puVar18 + 0xbfd70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfd70)" ( (binary_expression "puVar18 + 0xbfd70" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "iVar10 = 0xb;" (assignment_expression "iVar10 = 0xb" identifier = number_literal) ;) }) (else_clause "else {\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }" else (compound_statement "{\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }" { (if_statement "if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }" if (parenthesized_expression "((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16))" ( (binary_expression "(ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)" (call_expression "(ushort)(sVar1 + 1U)" (parenthesized_expression "(ushort)" ( identifier )) (argument_list "(sVar1 + 1U)" ( (binary_expression "sVar1 + 1U" identifier + number_literal) ))) < (pointer_expression "*(ushort *)(pcVar6 + 0x16)" * (cast_expression "(ushort *)(pcVar6 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x16)" ( (binary_expression "pcVar6 + 0x16" identifier + number_literal) ))))) )) (compound_statement "{\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }" { (expression_statement "iVar10 = *(int *)(puVar18 + 0xbfff4);" (assignment_expression "iVar10 = *(int *)(puVar18 + 0xbfff4)" identifier = (pointer_expression "*(int *)(puVar18 + 0xbfff4)" * (cast_expression "(int *)(puVar18 + 0xbfff4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfff4)" ( (binary_expression "puVar18 + 0xbfff4" identifier + number_literal) ))))) ;) (if_statement "if (pcVar6[8] == '\0') goto LAB_000d0d4c;" if (parenthesized_expression "(pcVar6[8] == '\0')" ( (binary_expression "pcVar6[8] == '\0'" (subscript_expression "pcVar6[8]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000d0d4c;" goto statement_identifier ;)) }) (else_clause "else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }" else (compound_statement "{\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }" { (expression_statement "iVar10 = *(int *)(puVar18 + 0xbff58);" (assignment_expression "iVar10 = *(int *)(puVar18 + 0xbff58)" identifier = (pointer_expression "*(int *)(puVar18 + 0xbff58)" * (cast_expression "(int *)(puVar18 + 0xbff58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbff58)" ( (binary_expression "puVar18 + 0xbff58" identifier + number_literal) ))))) ;) (if_statement "if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }" if (parenthesized_expression "(pcVar6[8] == '\0')" ( (binary_expression "pcVar6[8] == '\0'" (subscript_expression "pcVar6[8]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }" { (expression_statement "iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));" (assignment_expression "iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8))" identifier = (call_expression "(*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8))" (parenthesized_expression "(*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))" ( (pointer_expression "*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c)" * (cast_expression "(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar18 + 0xbfff4) + -0x243c)" ( (binary_expression "*(int *)(puVar18 + 0xbfff4) + -0x243c" (pointer_expression "*(int *)(puVar18 + 0xbfff4)" * (cast_expression "(int *)(puVar18 + 0xbfff4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfff4)" ( (binary_expression "puVar18 + 0xbfff4" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8))" ( identifier , (pointer_expression "*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8)" * (cast_expression "(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8)" ( (binary_expression "*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8" (binary_expression "*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9]" (pointer_expression "*(int *)(pcVar6 + 0x38)" * (cast_expression "(int *)(pcVar6 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x38)" ( (binary_expression "pcVar6 + 0x38" identifier + number_literal) )))) + (cast_expression "(uint)(byte)pcVar6[9]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar6[9]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar6[9]" identifier [ number_literal ])))) + number_literal) )))) )))) ;) (if_statement "if (iVar10 != 0) {\n          return iVar10;\n        }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n          return iVar10;\n        }" { (return_statement "return iVar10;" return identifier ;) })) (expression_statement "iVar10 = *(int *)(puVar18 + 0xbfff4);" (assignment_expression "iVar10 = *(int *)(puVar18 + 0xbfff4)" identifier = (pointer_expression "*(int *)(puVar18 + 0xbfff4)" * (cast_expression "(int *)(puVar18 + 0xbfff4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfff4)" ( (binary_expression "puVar18 + 0xbfff4" identifier + number_literal) ))))) ;) (labeled_statement "LAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);" statement_identifier : (expression_statement "iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);" (assignment_expression "iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8)" identifier = (call_expression "(*(code *)(iVar10 + -0x22d8))(pbVar8)" (parenthesized_expression "(*(code *)(iVar10 + -0x22d8))" ( (pointer_expression "*(code *)(iVar10 + -0x22d8)" * (cast_expression "(code *)(iVar10 + -0x22d8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + -0x22d8)" ( (binary_expression "iVar10 + -0x22d8" identifier + number_literal) )))) )) (argument_list "(pbVar8)" ( identifier )))) ;)) (return_statement "return iVar10;" return identifier ;) })) (do_statement "do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));" do (compound_statement "{\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      }" { (if_statement "if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }" if (parenthesized_expression "(pbVar8[0x44] == 0)" ( (binary_expression "pbVar8[0x44] == 0" (subscript_expression "pbVar8[0x44]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          *pbVar8 = 1;\n          return 0x65;\n        }" { (expression_statement "*pbVar8 = 1;" (assignment_expression "*pbVar8 = 1" (pointer_expression "*pbVar8" * identifier) = number_literal) ;) (return_statement "return 0x65;" return number_literal ;) })) (expression_statement "(*(code *)(iVar10 + 0x1664))(pbVar8);" (call_expression "(*(code *)(iVar10 + 0x1664))(pbVar8)" (parenthesized_expression "(*(code *)(iVar10 + 0x1664))" ( (pointer_expression "*(code *)(iVar10 + 0x1664)" * (cast_expression "(code *)(iVar10 + 0x1664)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x1664)" ( (binary_expression "iVar10 + 0x1664" identifier + number_literal) )))) )) (argument_list "(pbVar8)" ( identifier ))) ;) }) while (parenthesized_expression "(*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46))" ( (binary_expression "*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46)" (pointer_expression "*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16)" * (cast_expression "(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pbVar8 + 0x74) + 0x16)" ( (binary_expression "*(int *)(pbVar8 + 0x74) + 0x16" (pointer_expression "*(int *)(pbVar8 + 0x74)" * (cast_expression "(int *)(pbVar8 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 0x74)" ( (binary_expression "pbVar8 + 0x74" identifier + number_literal) )))) + number_literal) )))) <= (pointer_expression "*(ushort *)(pbVar8 + 0x46)" * (cast_expression "(ushort *)(pbVar8 + 0x46)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 0x46)" ( (binary_expression "pbVar8 + 0x46" identifier + number_literal) ))))) )) ;) (if_statement "if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }" if (parenthesized_expression "(*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0')" ( (binary_expression "*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0'" (pointer_expression "*(char *)(*(int *)(pbVar8 + 0x74) + 2)" * (cast_expression "(char *)(*(int *)(pbVar8 + 0x74) + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pbVar8 + 0x74) + 2)" ( (binary_expression "*(int *)(pbVar8 + 0x74) + 2" (pointer_expression "*(int *)(pbVar8 + 0x74)" * (cast_expression "(int *)(pbVar8 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 0x74)" ( (binary_expression "pbVar8 + 0x74" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }" { (expression_statement "iVar10 = FUN_000d0de4(pbVar8,0);" (assignment_expression "iVar10 = FUN_000d0de4(pbVar8,0)" identifier = (call_expression "FUN_000d0de4(pbVar8,0)" identifier (argument_list "(pbVar8,0)" ( identifier , number_literal )))) ;) (return_statement "return iVar10;" return identifier ;) })) }))) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) }))) (return_statement "return iVar10;" return identifier ;) })))
(translation_unit "int sqlite3BtreeDelete(BtCursor *pCur,u8 flags)\n\n{\n  ushort uVar1;\n  bool bVar2;\n  undefined2 extraout_var;\n  int iVar3;\n  u16 uVar4;\n  char cVar6;\n  byte bVar7;\n  ushort uVar5;\n  undefined4 uVar8;\n  MemPage **ppMVar9;\n  u8 uVar10;\n  BtCursor *pCur_00;\n  Btree *pBVar11;\n  uint i;\n  int iVar12;\n  BtShared *pBVar13;\n  u8 *pTemp;\n  MemPage *pMVar14;\n  u8 *puVar15;\n  MemPage *pMVar16;\n  code *pcVar17;\n  undefined *puVar18;\n  Pgno PStack_58;\n  int rc;\n  CellInfo info;\n  \n  puVar18 = PTR___stack_chk_guard_00190e24;\n  pMVar14 = pCur->pPage;\n  i = (uint)pCur->ix;\n  pBVar11 = pCur->pBtree;\n  uVar5 = pMVar14->maskPage;\n  puVar15 = pMVar14->aData;\n  pCur_00 = *(BtCursor **)PTR___stack_chk_guard_00190e24;\n  pBVar13 = pBVar11->pBt;\n  iVar12 = (int)pCur->iPage;\n  uVar1 = *(ushort *)(pMVar14->aCellIdx + i * 2);\n  uVar10 = pMVar14->leaf;\n  if ((flags & 2) == 0) {\nLAB_000d07f4:\n    if (uVar10 != '\0') {\nLAB_000d07fc:\n      bVar7 = pCur->curFlags;\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = sqlite3BtreePrevious(pCur,0);\n    rc = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }\n  else {\n    if (((uVar10 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5)),\n        (int)((pBVar13->usableSize << 1) / 3) <= (int)((uint)pMVar14->nFree + iVar3 + 1))) ||\n       (pMVar14->nCell == 1)) {\n      if (pCur->curIntKey == '\0') {\n        iVar3 = saveCursorKey(pCur);\n        rc = iVar3;\n        if (iVar3 == 0) {\n          uVar10 = pMVar14->leaf;\n          rc = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))();\n      uVar8 = *(undefined4 *)&(pCur->info).nKey;\n      *(int *)((int)&pCur->nKey + 4) = (int)(pCur->info).nKey;\n      *(undefined4 *)&pCur->nKey = uVar8;\n      rc = 0;\n      if (pMVar14->leaf == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar7 = pCur->curFlags;\njoined_r0x000d0804:\n    if (((bVar7 & 0x20) == 0) ||\n       (rc = saveAllCursors((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur), iVar3 = rc, rc == 0))\n    {\n      if ((pCur->pKeyInfo == (KeyInfo *)0x0) && (pBVar11->hasIncrblobCur != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)\n        ;\n      }\n      rc = sqlite3PagerWrite(pMVar14->pDbPage);\n      iVar3 = rc;\n      if ((rc == 0) &&\n         (rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info), iVar3 = rc, rc == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(pMVar14,i,info.nSize,&rc);\n        iVar3 = rc;\n        if (rc == 0) {\n          if (pMVar14->leaf == '\0') {\n            pMVar16 = pCur->pPage;\n            if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }\n            puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );\n            if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\nLAB_000d078c:\n  if (pCur_00 == *(BtCursor **)puVar18) {\n    return iVar3;\n  }\n  puVar18 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  bVar7 = pCur_00->eState;\n  if (bVar7 != 0) {\n    if (2 < bVar7) {\n      if (bVar7 == 4) {\n        if (pCur_00->skipNext != 0) {\n          return pCur_00->skipNext;\n        }\n        goto LAB_000d0c34;\n      }\n      iVar12 = btreeRestoreCursorPosition(pCur_00);\n      if (iVar12 != 0) {\n        return iVar12;\n      }\n      bVar7 = pCur_00->eState;\n    }\n    if (bVar7 == 1) {\n      return 0x65;\n    }\n    if ((bVar7 == 2) && (pCur_00->eState = '\0', 0 < pCur_00->skipNext)) {\n      return 0;\n    }\n  }\nLAB_000d0c34:\n  pMVar14 = pCur_00->pPage;\n  uVar5 = pCur_00->ix + 1;\n  pCur_00->ix = uVar5;\n  if (pMVar14->isInit == '\0') {\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar12 = 0xb;\n  }\n  else {\n    if (uVar5 < pMVar14->nCell) {\n      iVar12 = *(int *)(puVar18 + 0xbfff4);\n      if (pMVar14->leaf == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar12 = *(int *)(puVar18 + 0xbff58);\n      if (pMVar14->leaf == '\0') {\n        iVar12 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8));\n        if (iVar12 != 0) {\n          return iVar12;\n        }\n        iVar12 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n                    /* WARNING: Could not recover jumptable at 0x000d0d60. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar12 = (*(code *)(iVar12 + -0x22d8))(pCur_00);\n        return iVar12;\n      }\n      do {\n        if (pCur_00->iPage == '\0') {\n          pCur_00->eState = '\x01';\n          return 0x65;\n        }\n        (*(code *)(iVar12 + 0x1664))(pCur_00);\n      } while (pCur_00->pPage->nCell <= pCur_00->ix);\n      if (pCur_00->pPage->intKey != '\0') {\n        iVar12 = sqlite3BtreeNext(pCur_00,0);\n        return iVar12;\n      }\n    }\n    iVar12 = 0;\n  }\n  return iVar12;\n}\n\n" (function_definition "int sqlite3BtreeDelete(BtCursor *pCur,u8 flags)\n\n{\n  ushort uVar1;\n  bool bVar2;\n  undefined2 extraout_var;\n  int iVar3;\n  u16 uVar4;\n  char cVar6;\n  byte bVar7;\n  ushort uVar5;\n  undefined4 uVar8;\n  MemPage **ppMVar9;\n  u8 uVar10;\n  BtCursor *pCur_00;\n  Btree *pBVar11;\n  uint i;\n  int iVar12;\n  BtShared *pBVar13;\n  u8 *pTemp;\n  MemPage *pMVar14;\n  u8 *puVar15;\n  MemPage *pMVar16;\n  code *pcVar17;\n  undefined *puVar18;\n  Pgno PStack_58;\n  int rc;\n  CellInfo info;\n  \n  puVar18 = PTR___stack_chk_guard_00190e24;\n  pMVar14 = pCur->pPage;\n  i = (uint)pCur->ix;\n  pBVar11 = pCur->pBtree;\n  uVar5 = pMVar14->maskPage;\n  puVar15 = pMVar14->aData;\n  pCur_00 = *(BtCursor **)PTR___stack_chk_guard_00190e24;\n  pBVar13 = pBVar11->pBt;\n  iVar12 = (int)pCur->iPage;\n  uVar1 = *(ushort *)(pMVar14->aCellIdx + i * 2);\n  uVar10 = pMVar14->leaf;\n  if ((flags & 2) == 0) {\nLAB_000d07f4:\n    if (uVar10 != '\0') {\nLAB_000d07fc:\n      bVar7 = pCur->curFlags;\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = sqlite3BtreePrevious(pCur,0);\n    rc = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }\n  else {\n    if (((uVar10 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5)),\n        (int)((pBVar13->usableSize << 1) / 3) <= (int)((uint)pMVar14->nFree + iVar3 + 1))) ||\n       (pMVar14->nCell == 1)) {\n      if (pCur->curIntKey == '\0') {\n        iVar3 = saveCursorKey(pCur);\n        rc = iVar3;\n        if (iVar3 == 0) {\n          uVar10 = pMVar14->leaf;\n          rc = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))();\n      uVar8 = *(undefined4 *)&(pCur->info).nKey;\n      *(int *)((int)&pCur->nKey + 4) = (int)(pCur->info).nKey;\n      *(undefined4 *)&pCur->nKey = uVar8;\n      rc = 0;\n      if (pMVar14->leaf == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar7 = pCur->curFlags;\njoined_r0x000d0804:\n    if (((bVar7 & 0x20) == 0) ||\n       (rc = saveAllCursors((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur), iVar3 = rc, rc == 0))\n    {\n      if ((pCur->pKeyInfo == (KeyInfo *)0x0) && (pBVar11->hasIncrblobCur != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)\n        ;\n      }\n      rc = sqlite3PagerWrite(pMVar14->pDbPage);\n      iVar3 = rc;\n      if ((rc == 0) &&\n         (rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info), iVar3 = rc, rc == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(pMVar14,i,info.nSize,&rc);\n        iVar3 = rc;\n        if (rc == 0) {\n          if (pMVar14->leaf == '\0') {\n            pMVar16 = pCur->pPage;\n            if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }\n            puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );\n            if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\nLAB_000d078c:\n  if (pCur_00 == *(BtCursor **)puVar18) {\n    return iVar3;\n  }\n  puVar18 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  bVar7 = pCur_00->eState;\n  if (bVar7 != 0) {\n    if (2 < bVar7) {\n      if (bVar7 == 4) {\n        if (pCur_00->skipNext != 0) {\n          return pCur_00->skipNext;\n        }\n        goto LAB_000d0c34;\n      }\n      iVar12 = btreeRestoreCursorPosition(pCur_00);\n      if (iVar12 != 0) {\n        return iVar12;\n      }\n      bVar7 = pCur_00->eState;\n    }\n    if (bVar7 == 1) {\n      return 0x65;\n    }\n    if ((bVar7 == 2) && (pCur_00->eState = '\0', 0 < pCur_00->skipNext)) {\n      return 0;\n    }\n  }\nLAB_000d0c34:\n  pMVar14 = pCur_00->pPage;\n  uVar5 = pCur_00->ix + 1;\n  pCur_00->ix = uVar5;\n  if (pMVar14->isInit == '\0') {\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar12 = 0xb;\n  }\n  else {\n    if (uVar5 < pMVar14->nCell) {\n      iVar12 = *(int *)(puVar18 + 0xbfff4);\n      if (pMVar14->leaf == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar12 = *(int *)(puVar18 + 0xbff58);\n      if (pMVar14->leaf == '\0') {\n        iVar12 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8));\n        if (iVar12 != 0) {\n          return iVar12;\n        }\n        iVar12 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n                    /* WARNING: Could not recover jumptable at 0x000d0d60. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar12 = (*(code *)(iVar12 + -0x22d8))(pCur_00);\n        return iVar12;\n      }\n      do {\n        if (pCur_00->iPage == '\0') {\n          pCur_00->eState = '\x01';\n          return 0x65;\n        }\n        (*(code *)(iVar12 + 0x1664))(pCur_00);\n      } while (pCur_00->pPage->nCell <= pCur_00->ix);\n      if (pCur_00->pPage->intKey != '\0') {\n        iVar12 = sqlite3BtreeNext(pCur_00,0);\n        return iVar12;\n      }\n    }\n    iVar12 = 0;\n  }\n  return iVar12;\n}" primitive_type (function_declarator "sqlite3BtreeDelete(BtCursor *pCur,u8 flags)" identifier (parameter_list "(BtCursor *pCur,u8 flags)" ( (parameter_declaration "BtCursor *pCur" type_identifier (pointer_declarator "*pCur" * identifier)) , (parameter_declaration "u8 flags" type_identifier identifier) ))) (compound_statement "{\n  ushort uVar1;\n  bool bVar2;\n  undefined2 extraout_var;\n  int iVar3;\n  u16 uVar4;\n  char cVar6;\n  byte bVar7;\n  ushort uVar5;\n  undefined4 uVar8;\n  MemPage **ppMVar9;\n  u8 uVar10;\n  BtCursor *pCur_00;\n  Btree *pBVar11;\n  uint i;\n  int iVar12;\n  BtShared *pBVar13;\n  u8 *pTemp;\n  MemPage *pMVar14;\n  u8 *puVar15;\n  MemPage *pMVar16;\n  code *pcVar17;\n  undefined *puVar18;\n  Pgno PStack_58;\n  int rc;\n  CellInfo info;\n  \n  puVar18 = PTR___stack_chk_guard_00190e24;\n  pMVar14 = pCur->pPage;\n  i = (uint)pCur->ix;\n  pBVar11 = pCur->pBtree;\n  uVar5 = pMVar14->maskPage;\n  puVar15 = pMVar14->aData;\n  pCur_00 = *(BtCursor **)PTR___stack_chk_guard_00190e24;\n  pBVar13 = pBVar11->pBt;\n  iVar12 = (int)pCur->iPage;\n  uVar1 = *(ushort *)(pMVar14->aCellIdx + i * 2);\n  uVar10 = pMVar14->leaf;\n  if ((flags & 2) == 0) {\nLAB_000d07f4:\n    if (uVar10 != '\0') {\nLAB_000d07fc:\n      bVar7 = pCur->curFlags;\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = sqlite3BtreePrevious(pCur,0);\n    rc = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }\n  else {\n    if (((uVar10 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5)),\n        (int)((pBVar13->usableSize << 1) / 3) <= (int)((uint)pMVar14->nFree + iVar3 + 1))) ||\n       (pMVar14->nCell == 1)) {\n      if (pCur->curIntKey == '\0') {\n        iVar3 = saveCursorKey(pCur);\n        rc = iVar3;\n        if (iVar3 == 0) {\n          uVar10 = pMVar14->leaf;\n          rc = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))();\n      uVar8 = *(undefined4 *)&(pCur->info).nKey;\n      *(int *)((int)&pCur->nKey + 4) = (int)(pCur->info).nKey;\n      *(undefined4 *)&pCur->nKey = uVar8;\n      rc = 0;\n      if (pMVar14->leaf == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar7 = pCur->curFlags;\njoined_r0x000d0804:\n    if (((bVar7 & 0x20) == 0) ||\n       (rc = saveAllCursors((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur), iVar3 = rc, rc == 0))\n    {\n      if ((pCur->pKeyInfo == (KeyInfo *)0x0) && (pBVar11->hasIncrblobCur != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)\n        ;\n      }\n      rc = sqlite3PagerWrite(pMVar14->pDbPage);\n      iVar3 = rc;\n      if ((rc == 0) &&\n         (rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info), iVar3 = rc, rc == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(pMVar14,i,info.nSize,&rc);\n        iVar3 = rc;\n        if (rc == 0) {\n          if (pMVar14->leaf == '\0') {\n            pMVar16 = pCur->pPage;\n            if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }\n            puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );\n            if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\nLAB_000d078c:\n  if (pCur_00 == *(BtCursor **)puVar18) {\n    return iVar3;\n  }\n  puVar18 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  bVar7 = pCur_00->eState;\n  if (bVar7 != 0) {\n    if (2 < bVar7) {\n      if (bVar7 == 4) {\n        if (pCur_00->skipNext != 0) {\n          return pCur_00->skipNext;\n        }\n        goto LAB_000d0c34;\n      }\n      iVar12 = btreeRestoreCursorPosition(pCur_00);\n      if (iVar12 != 0) {\n        return iVar12;\n      }\n      bVar7 = pCur_00->eState;\n    }\n    if (bVar7 == 1) {\n      return 0x65;\n    }\n    if ((bVar7 == 2) && (pCur_00->eState = '\0', 0 < pCur_00->skipNext)) {\n      return 0;\n    }\n  }\nLAB_000d0c34:\n  pMVar14 = pCur_00->pPage;\n  uVar5 = pCur_00->ix + 1;\n  pCur_00->ix = uVar5;\n  if (pMVar14->isInit == '\0') {\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar12 = 0xb;\n  }\n  else {\n    if (uVar5 < pMVar14->nCell) {\n      iVar12 = *(int *)(puVar18 + 0xbfff4);\n      if (pMVar14->leaf == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar12 = *(int *)(puVar18 + 0xbff58);\n      if (pMVar14->leaf == '\0') {\n        iVar12 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8));\n        if (iVar12 != 0) {\n          return iVar12;\n        }\n        iVar12 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n                    /* WARNING: Could not recover jumptable at 0x000d0d60. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar12 = (*(code *)(iVar12 + -0x22d8))(pCur_00);\n        return iVar12;\n      }\n      do {\n        if (pCur_00->iPage == '\0') {\n          pCur_00->eState = '\x01';\n          return 0x65;\n        }\n        (*(code *)(iVar12 + 0x1664))(pCur_00);\n      } while (pCur_00->pPage->nCell <= pCur_00->ix);\n      if (pCur_00->pPage->intKey != '\0') {\n        iVar12 = sqlite3BtreeNext(pCur_00,0);\n        return iVar12;\n      }\n    }\n    iVar12 = 0;\n  }\n  return iVar12;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined2 extraout_var;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "u16 uVar4;" type_identifier identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "byte bVar7;" type_identifier identifier ;) (declaration "ushort uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "MemPage **ppMVar9;" type_identifier (pointer_declarator "**ppMVar9" * (pointer_declarator "*ppMVar9" * identifier)) ;) (declaration "u8 uVar10;" type_identifier identifier ;) (declaration "BtCursor *pCur_00;" type_identifier (pointer_declarator "*pCur_00" * identifier) ;) (declaration "Btree *pBVar11;" type_identifier (pointer_declarator "*pBVar11" * identifier) ;) (declaration "uint i;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "BtShared *pBVar13;" type_identifier (pointer_declarator "*pBVar13" * identifier) ;) (declaration "u8 *pTemp;" type_identifier (pointer_declarator "*pTemp" * identifier) ;) (declaration "MemPage *pMVar14;" type_identifier (pointer_declarator "*pMVar14" * identifier) ;) (declaration "u8 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "MemPage *pMVar16;" type_identifier (pointer_declarator "*pMVar16" * identifier) ;) (declaration "code *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "undefined *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "Pgno PStack_58;" type_identifier identifier ;) (declaration "int rc;" primitive_type identifier ;) (declaration "CellInfo info;" type_identifier identifier ;) (expression_statement "puVar18 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar18 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "pMVar14 = pCur->pPage;" (assignment_expression "pMVar14 = pCur->pPage" identifier = (field_expression "pCur->pPage" identifier -> field_identifier)) ;) (expression_statement "i = (uint)pCur->ix;" (assignment_expression "i = (uint)pCur->ix" identifier = (cast_expression "(uint)pCur->ix" ( (type_descriptor "uint" type_identifier) ) (field_expression "pCur->ix" identifier -> field_identifier))) ;) (expression_statement "pBVar11 = pCur->pBtree;" (assignment_expression "pBVar11 = pCur->pBtree" identifier = (field_expression "pCur->pBtree" identifier -> field_identifier)) ;) (expression_statement "uVar5 = pMVar14->maskPage;" (assignment_expression "uVar5 = pMVar14->maskPage" identifier = (field_expression "pMVar14->maskPage" identifier -> field_identifier)) ;) (expression_statement "puVar15 = pMVar14->aData;" (assignment_expression "puVar15 = pMVar14->aData" identifier = (field_expression "pMVar14->aData" identifier -> field_identifier)) ;) (expression_statement "pCur_00 = *(BtCursor **)PTR___stack_chk_guard_00190e24;" (assignment_expression "pCur_00 = *(BtCursor **)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(BtCursor **)PTR___stack_chk_guard_00190e24" * (cast_expression "(BtCursor **)PTR___stack_chk_guard_00190e24" ( (type_descriptor "BtCursor **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pBVar13 = pBVar11->pBt;" (assignment_expression "pBVar13 = pBVar11->pBt" identifier = (field_expression "pBVar11->pBt" identifier -> field_identifier)) ;) (expression_statement "iVar12 = (int)pCur->iPage;" (assignment_expression "iVar12 = (int)pCur->iPage" identifier = (cast_expression "(int)pCur->iPage" ( (type_descriptor "int" primitive_type) ) (field_expression "pCur->iPage" identifier -> field_identifier))) ;) (expression_statement "uVar1 = *(ushort *)(pMVar14->aCellIdx + i * 2);" (assignment_expression "uVar1 = *(ushort *)(pMVar14->aCellIdx + i * 2)" identifier = (pointer_expression "*(ushort *)(pMVar14->aCellIdx + i * 2)" * (cast_expression "(ushort *)(pMVar14->aCellIdx + i * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pMVar14->aCellIdx + i * 2)" ( (binary_expression "pMVar14->aCellIdx + i * 2" (field_expression "pMVar14->aCellIdx" identifier -> field_identifier) + (binary_expression "i * 2" identifier * number_literal)) ))))) ;) (expression_statement "uVar10 = pMVar14->leaf;" (assignment_expression "uVar10 = pMVar14->leaf" identifier = (field_expression "pMVar14->leaf" identifier -> field_identifier)) ;) (if_statement "if ((flags & 2) == 0) {\nLAB_000d07f4:\n    if (uVar10 != '\0') {\nLAB_000d07fc:\n      bVar7 = pCur->curFlags;\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = sqlite3BtreePrevious(pCur,0);\n    rc = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }\n  else {\n    if (((uVar10 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5)),\n        (int)((pBVar13->usableSize << 1) / 3) <= (int)((uint)pMVar14->nFree + iVar3 + 1))) ||\n       (pMVar14->nCell == 1)) {\n      if (pCur->curIntKey == '\0') {\n        iVar3 = saveCursorKey(pCur);\n        rc = iVar3;\n        if (iVar3 == 0) {\n          uVar10 = pMVar14->leaf;\n          rc = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))();\n      uVar8 = *(undefined4 *)&(pCur->info).nKey;\n      *(int *)((int)&pCur->nKey + 4) = (int)(pCur->info).nKey;\n      *(undefined4 *)&pCur->nKey = uVar8;\n      rc = 0;\n      if (pMVar14->leaf == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar7 = pCur->curFlags;\njoined_r0x000d0804:\n    if (((bVar7 & 0x20) == 0) ||\n       (rc = saveAllCursors((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur), iVar3 = rc, rc == 0))\n    {\n      if ((pCur->pKeyInfo == (KeyInfo *)0x0) && (pBVar11->hasIncrblobCur != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)\n        ;\n      }\n      rc = sqlite3PagerWrite(pMVar14->pDbPage);\n      iVar3 = rc;\n      if ((rc == 0) &&\n         (rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info), iVar3 = rc, rc == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(pMVar14,i,info.nSize,&rc);\n        iVar3 = rc;\n        if (rc == 0) {\n          if (pMVar14->leaf == '\0') {\n            pMVar16 = pCur->pPage;\n            if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }\n            puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );\n            if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" if (parenthesized_expression "((flags & 2) == 0)" ( (binary_expression "(flags & 2) == 0" (parenthesized_expression "(flags & 2)" ( (binary_expression "flags & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_000d07f4:\n    if (uVar10 != '\0') {\nLAB_000d07fc:\n      bVar7 = pCur->curFlags;\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = sqlite3BtreePrevious(pCur,0);\n    rc = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }" { (labeled_statement "LAB_000d07f4:\n    if (uVar10 != '\0') {\nLAB_000d07fc:\n      bVar7 = pCur->curFlags;\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }" statement_identifier : (if_statement "if (uVar10 != '\0') {\nLAB_000d07fc:\n      bVar7 = pCur->curFlags;\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }" if (parenthesized_expression "(uVar10 != '\0')" ( (binary_expression "uVar10 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_000d07fc:\n      bVar7 = pCur->curFlags;\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }" { (labeled_statement "LAB_000d07fc:\n      bVar7 = pCur->curFlags;" statement_identifier : (expression_statement "bVar7 = pCur->curFlags;" (assignment_expression "bVar7 = pCur->curFlags" identifier = (field_expression "pCur->curFlags" identifier -> field_identifier)) ;)) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (goto_statement "goto joined_r0x000d0804;" goto statement_identifier ;) }))) (labeled_statement "LAB_000d0a14:\n    iVar3 = sqlite3BtreePrevious(pCur,0);" statement_identifier : (expression_statement "iVar3 = sqlite3BtreePrevious(pCur,0);" (assignment_expression "iVar3 = sqlite3BtreePrevious(pCur,0)" identifier = (call_expression "sqlite3BtreePrevious(pCur,0)" identifier (argument_list "(pCur,0)" ( identifier , number_literal )))) ;)) (expression_statement "rc = iVar3;" (assignment_expression "rc = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) goto LAB_000d07fc;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000d07fc;" goto statement_identifier ;)) }) (else_clause "else {\n    if (((uVar10 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5)),\n        (int)((pBVar13->usableSize << 1) / 3) <= (int)((uint)pMVar14->nFree + iVar3 + 1))) ||\n       (pMVar14->nCell == 1)) {\n      if (pCur->curIntKey == '\0') {\n        iVar3 = saveCursorKey(pCur);\n        rc = iVar3;\n        if (iVar3 == 0) {\n          uVar10 = pMVar14->leaf;\n          rc = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))();\n      uVar8 = *(undefined4 *)&(pCur->info).nKey;\n      *(int *)((int)&pCur->nKey + 4) = (int)(pCur->info).nKey;\n      *(undefined4 *)&pCur->nKey = uVar8;\n      rc = 0;\n      if (pMVar14->leaf == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar7 = pCur->curFlags;\njoined_r0x000d0804:\n    if (((bVar7 & 0x20) == 0) ||\n       (rc = saveAllCursors((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur), iVar3 = rc, rc == 0))\n    {\n      if ((pCur->pKeyInfo == (KeyInfo *)0x0) && (pBVar11->hasIncrblobCur != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)\n        ;\n      }\n      rc = sqlite3PagerWrite(pMVar14->pDbPage);\n      iVar3 = rc;\n      if ((rc == 0) &&\n         (rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info), iVar3 = rc, rc == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(pMVar14,i,info.nSize,&rc);\n        iVar3 = rc;\n        if (rc == 0) {\n          if (pMVar14->leaf == '\0') {\n            pMVar16 = pCur->pPage;\n            if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }\n            puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );\n            if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" else (compound_statement "{\n    if (((uVar10 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5)),\n        (int)((pBVar13->usableSize << 1) / 3) <= (int)((uint)pMVar14->nFree + iVar3 + 1))) ||\n       (pMVar14->nCell == 1)) {\n      if (pCur->curIntKey == '\0') {\n        iVar3 = saveCursorKey(pCur);\n        rc = iVar3;\n        if (iVar3 == 0) {\n          uVar10 = pMVar14->leaf;\n          rc = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))();\n      uVar8 = *(undefined4 *)&(pCur->info).nKey;\n      *(int *)((int)&pCur->nKey + 4) = (int)(pCur->info).nKey;\n      *(undefined4 *)&pCur->nKey = uVar8;\n      rc = 0;\n      if (pMVar14->leaf == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar7 = pCur->curFlags;\njoined_r0x000d0804:\n    if (((bVar7 & 0x20) == 0) ||\n       (rc = saveAllCursors((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur), iVar3 = rc, rc == 0))\n    {\n      if ((pCur->pKeyInfo == (KeyInfo *)0x0) && (pBVar11->hasIncrblobCur != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)\n        ;\n      }\n      rc = sqlite3PagerWrite(pMVar14->pDbPage);\n      iVar3 = rc;\n      if ((rc == 0) &&\n         (rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info), iVar3 = rc, rc == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(pMVar14,i,info.nSize,&rc);\n        iVar3 = rc;\n        if (rc == 0) {\n          if (pMVar14->leaf == '\0') {\n            pMVar16 = pCur->pPage;\n            if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }\n            puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );\n            if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" { (if_statement "if (((uVar10 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5)),\n        (int)((pBVar13->usableSize << 1) / 3) <= (int)((uint)pMVar14->nFree + iVar3 + 1))) ||\n       (pMVar14->nCell == 1)) {\n      if (pCur->curIntKey == '\0') {\n        iVar3 = saveCursorKey(pCur);\n        rc = iVar3;\n        if (iVar3 == 0) {\n          uVar10 = pMVar14->leaf;\n          rc = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))();\n      uVar8 = *(undefined4 *)&(pCur->info).nKey;\n      *(int *)((int)&pCur->nKey + 4) = (int)(pCur->info).nKey;\n      *(undefined4 *)&pCur->nKey = uVar8;\n      rc = 0;\n      if (pMVar14->leaf == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }" if (parenthesized_expression "(((uVar10 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5)),\n        (int)((pBVar13->usableSize << 1) / 3) <= (int)((uint)pMVar14->nFree + iVar3 + 1))) ||\n       (pMVar14->nCell == 1))" ( (binary_expression "((uVar10 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5)),\n        (int)((pBVar13->usableSize << 1) / 3) <= (int)((uint)pMVar14->nFree + iVar3 + 1))) ||\n       (pMVar14->nCell == 1)" (parenthesized_expression "((uVar10 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5)),\n        (int)((pBVar13->usableSize << 1) / 3) <= (int)((uint)pMVar14->nFree + iVar3 + 1)))" ( (binary_expression "(uVar10 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5)),\n        (int)((pBVar13->usableSize << 1) / 3) <= (int)((uint)pMVar14->nFree + iVar3 + 1))" (parenthesized_expression "(uVar10 == '\0')" ( (binary_expression "uVar10 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5)),\n        (int)((pBVar13->usableSize << 1) / 3) <= (int)((uint)pMVar14->nFree + iVar3 + 1))" ( (comma_expression "iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5)),\n        (int)((pBVar13->usableSize << 1) / 3) <= (int)((uint)pMVar14->nFree + iVar3 + 1)" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5))" identifier = (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x1310))(pMVar14,puVar15 + (uVar1 & uVar5))" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x1310))" ( (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x1310)" * (cast_expression "(code *)(PTR_LAB_00190b40 + 0x1310)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0x1310)" ( (binary_expression "PTR_LAB_00190b40 + 0x1310" identifier + number_literal) )))) )) (argument_list "(pMVar14,puVar15 + (uVar1 & uVar5))" ( identifier , (binary_expression "puVar15 + (uVar1 & uVar5)" identifier + (parenthesized_expression "(uVar1 & uVar5)" ( (binary_expression "uVar1 & uVar5" identifier & identifier) ))) )))) , (binary_expression "(int)((pBVar13->usableSize << 1) / 3) <= (int)((uint)pMVar14->nFree + iVar3 + 1)" (cast_expression "(int)((pBVar13->usableSize << 1) / 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((pBVar13->usableSize << 1) / 3)" ( (binary_expression "(pBVar13->usableSize << 1) / 3" (parenthesized_expression "(pBVar13->usableSize << 1)" ( (binary_expression "pBVar13->usableSize << 1" (field_expression "pBVar13->usableSize" identifier -> field_identifier) << number_literal) )) / number_literal) ))) <= (cast_expression "(int)((uint)pMVar14->nFree + iVar3 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)pMVar14->nFree + iVar3 + 1)" ( (binary_expression "(uint)pMVar14->nFree + iVar3 + 1" (binary_expression "(uint)pMVar14->nFree + iVar3" (cast_expression "(uint)pMVar14->nFree" ( (type_descriptor "uint" type_identifier) ) (field_expression "pMVar14->nFree" identifier -> field_identifier)) + identifier) + number_literal) ))))) ))) )) || (parenthesized_expression "(pMVar14->nCell == 1)" ( (binary_expression "pMVar14->nCell == 1" (field_expression "pMVar14->nCell" identifier -> field_identifier) == number_literal) ))) )) (compound_statement "{\n      if (pCur->curIntKey == '\0') {\n        iVar3 = saveCursorKey(pCur);\n        rc = iVar3;\n        if (iVar3 == 0) {\n          uVar10 = pMVar14->leaf;\n          rc = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))();\n      uVar8 = *(undefined4 *)&(pCur->info).nKey;\n      *(int *)((int)&pCur->nKey + 4) = (int)(pCur->info).nKey;\n      *(undefined4 *)&pCur->nKey = uVar8;\n      rc = 0;\n      if (pMVar14->leaf == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }" { (if_statement "if (pCur->curIntKey == '\0') {\n        iVar3 = saveCursorKey(pCur);\n        rc = iVar3;\n        if (iVar3 == 0) {\n          uVar10 = pMVar14->leaf;\n          rc = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }" if (parenthesized_expression "(pCur->curIntKey == '\0')" ( (binary_expression "pCur->curIntKey == '\0'" (field_expression "pCur->curIntKey" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar3 = saveCursorKey(pCur);\n        rc = iVar3;\n        if (iVar3 == 0) {\n          uVar10 = pMVar14->leaf;\n          rc = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }" { (expression_statement "iVar3 = saveCursorKey(pCur);" (assignment_expression "iVar3 = saveCursorKey(pCur)" identifier = (call_expression "saveCursorKey(pCur)" identifier (argument_list "(pCur)" ( identifier )))) ;) (expression_statement "rc = iVar3;" (assignment_expression "rc = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n          uVar10 = pMVar14->leaf;\n          rc = 0;\n          goto LAB_000d07f4;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          uVar10 = pMVar14->leaf;\n          rc = 0;\n          goto LAB_000d07f4;\n        }" { (expression_statement "uVar10 = pMVar14->leaf;" (assignment_expression "uVar10 = pMVar14->leaf" identifier = (field_expression "pMVar14->leaf" identifier -> field_identifier)) ;) (expression_statement "rc = 0;" (assignment_expression "rc = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000d07f4;" goto statement_identifier ;) })) (goto_statement "goto LAB_000d078c;" goto statement_identifier ;) })) (expression_statement "(*(code *)(PTR_LAB_00190b40 + 0x1604))();" (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x1604))()" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x1604))" ( (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x1604)" * (cast_expression "(code *)(PTR_LAB_00190b40 + 0x1604)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0x1604)" ( (binary_expression "PTR_LAB_00190b40 + 0x1604" identifier + number_literal) )))) )) (argument_list "()" ( ))) ;) (expression_statement "uVar8 = *(undefined4 *)&(pCur->info).nKey;" (assignment_expression "uVar8 = *(undefined4 *)&(pCur->info).nKey" identifier = (pointer_expression "*(undefined4 *)&(pCur->info).nKey" * (cast_expression "(undefined4 *)&(pCur->info).nKey" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(pCur->info).nKey" & (field_expression "(pCur->info).nKey" (parenthesized_expression "(pCur->info)" ( (field_expression "pCur->info" identifier -> field_identifier) )) . field_identifier))))) ;) (expression_statement "*(int *)((int)&pCur->nKey + 4) = (int)(pCur->info).nKey;" (assignment_expression "*(int *)((int)&pCur->nKey + 4) = (int)(pCur->info).nKey" (pointer_expression "*(int *)((int)&pCur->nKey + 4)" * (cast_expression "(int *)((int)&pCur->nKey + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pCur->nKey + 4)" ( (binary_expression "(int)&pCur->nKey + 4" (cast_expression "(int)&pCur->nKey" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pCur->nKey" & (field_expression "pCur->nKey" identifier -> field_identifier))) + number_literal) )))) = (cast_expression "(int)(pCur->info).nKey" ( (type_descriptor "int" primitive_type) ) (field_expression "(pCur->info).nKey" (parenthesized_expression "(pCur->info)" ( (field_expression "pCur->info" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "*(undefined4 *)&pCur->nKey = uVar8;" (assignment_expression "*(undefined4 *)&pCur->nKey = uVar8" (pointer_expression "*(undefined4 *)&pCur->nKey" * (cast_expression "(undefined4 *)&pCur->nKey" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pCur->nKey" & (field_expression "pCur->nKey" identifier -> field_identifier)))) = identifier) ;) (expression_statement "rc = 0;" (assignment_expression "rc = 0" identifier = number_literal) ;) (if_statement "if (pMVar14->leaf == '\0') goto LAB_000d0a14;" if (parenthesized_expression "(pMVar14->leaf == '\0')" ( (binary_expression "pMVar14->leaf == '\0'" (field_expression "pMVar14->leaf" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000d0a14;" goto statement_identifier ;)) (goto_statement "goto LAB_000d07fc;" goto statement_identifier ;) })) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (expression_statement "bVar7 = pCur->curFlags;" (assignment_expression "bVar7 = pCur->curFlags" identifier = (field_expression "pCur->curFlags" identifier -> field_identifier)) ;) (labeled_statement "joined_r0x000d0804:\n    if (((bVar7 & 0x20) == 0) ||\n       (rc = saveAllCursors((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur), iVar3 = rc, rc == 0))\n    {\n      if ((pCur->pKeyInfo == (KeyInfo *)0x0) && (pBVar11->hasIncrblobCur != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)\n        ;\n      }\n      rc = sqlite3PagerWrite(pMVar14->pDbPage);\n      iVar3 = rc;\n      if ((rc == 0) &&\n         (rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info), iVar3 = rc, rc == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(pMVar14,i,info.nSize,&rc);\n        iVar3 = rc;\n        if (rc == 0) {\n          if (pMVar14->leaf == '\0') {\n            pMVar16 = pCur->pPage;\n            if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }\n            puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );\n            if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" statement_identifier : (if_statement "if (((bVar7 & 0x20) == 0) ||\n       (rc = saveAllCursors((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur), iVar3 = rc, rc == 0))\n    {\n      if ((pCur->pKeyInfo == (KeyInfo *)0x0) && (pBVar11->hasIncrblobCur != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)\n        ;\n      }\n      rc = sqlite3PagerWrite(pMVar14->pDbPage);\n      iVar3 = rc;\n      if ((rc == 0) &&\n         (rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info), iVar3 = rc, rc == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(pMVar14,i,info.nSize,&rc);\n        iVar3 = rc;\n        if (rc == 0) {\n          if (pMVar14->leaf == '\0') {\n            pMVar16 = pCur->pPage;\n            if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }\n            puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );\n            if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" if (parenthesized_expression "(((bVar7 & 0x20) == 0) ||\n       (rc = saveAllCursors((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur), iVar3 = rc, rc == 0))" ( (binary_expression "((bVar7 & 0x20) == 0) ||\n       (rc = saveAllCursors((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur), iVar3 = rc, rc == 0)" (parenthesized_expression "((bVar7 & 0x20) == 0)" ( (binary_expression "(bVar7 & 0x20) == 0" (parenthesized_expression "(bVar7 & 0x20)" ( (binary_expression "bVar7 & 0x20" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(rc = saveAllCursors((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur), iVar3 = rc, rc == 0)" ( (comma_expression "rc = saveAllCursors((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur), iVar3 = rc, rc == 0" (assignment_expression "rc = saveAllCursors((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur)" identifier = (call_expression "saveAllCursors((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur)" identifier (argument_list "((BtShared *)pBVar13->pCursor,pCur->pgnoRoot,pCur)" ( (cast_expression "(BtShared *)pBVar13->pCursor" ( (type_descriptor "BtShared *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pBVar13->pCursor" identifier -> field_identifier)) , (field_expression "pCur->pgnoRoot" identifier -> field_identifier) , identifier )))) , (comma_expression "iVar3 = rc, rc == 0" (assignment_expression "iVar3 = rc" identifier = identifier) , (binary_expression "rc == 0" identifier == number_literal))) ))) )) (compound_statement "{\n      if ((pCur->pKeyInfo == (KeyInfo *)0x0) && (pBVar11->hasIncrblobCur != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)\n        ;\n      }\n      rc = sqlite3PagerWrite(pMVar14->pDbPage);\n      iVar3 = rc;\n      if ((rc == 0) &&\n         (rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info), iVar3 = rc, rc == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(pMVar14,i,info.nSize,&rc);\n        iVar3 = rc;\n        if (rc == 0) {\n          if (pMVar14->leaf == '\0') {\n            pMVar16 = pCur->pPage;\n            if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }\n            puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );\n            if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" { (if_statement "if ((pCur->pKeyInfo == (KeyInfo *)0x0) && (pBVar11->hasIncrblobCur != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)\n        ;\n      }" if (parenthesized_expression "((pCur->pKeyInfo == (KeyInfo *)0x0) && (pBVar11->hasIncrblobCur != '\0'))" ( (binary_expression "(pCur->pKeyInfo == (KeyInfo *)0x0) && (pBVar11->hasIncrblobCur != '\0')" (parenthesized_expression "(pCur->pKeyInfo == (KeyInfo *)0x0)" ( (binary_expression "pCur->pKeyInfo == (KeyInfo *)0x0" (field_expression "pCur->pKeyInfo" identifier -> field_identifier) == (cast_expression "(KeyInfo *)0x0" ( (type_descriptor "KeyInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pBVar11->hasIncrblobCur != '\0')" ( (binary_expression "pBVar11->hasIncrblobCur != '\0'" (field_expression "pBVar11->hasIncrblobCur" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)\n        ;\n      }" { (expression_statement "(*(code *)(PTR_LAB_00190ba8 + 0x7804))(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)\n        ;" (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7804))(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7804))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x7804)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x7804)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + 0x7804)" ( (binary_expression "PTR_LAB_00190ba8 + 0x7804" identifier + number_literal) )))) )) (argument_list "(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)" ( (field_expression "pBVar11->pBt" identifier -> field_identifier) , (pointer_expression "&pBVar11->hasIncrblobCur" & (field_expression "pBVar11->hasIncrblobCur" identifier -> field_identifier)) , (field_expression "pCur->pgnoRoot" identifier -> field_identifier) ))) ;) })) (expression_statement "rc = sqlite3PagerWrite(pMVar14->pDbPage);" (assignment_expression "rc = sqlite3PagerWrite(pMVar14->pDbPage)" identifier = (call_expression "sqlite3PagerWrite(pMVar14->pDbPage)" identifier (argument_list "(pMVar14->pDbPage)" ( (field_expression "pMVar14->pDbPage" identifier -> field_identifier) )))) ;) (expression_statement "iVar3 = rc;" (assignment_expression "iVar3 = rc" identifier = identifier) ;) (if_statement "if ((rc == 0) &&\n         (rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info), iVar3 = rc, rc == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(pMVar14,i,info.nSize,&rc);\n        iVar3 = rc;\n        if (rc == 0) {\n          if (pMVar14->leaf == '\0') {\n            pMVar16 = pCur->pPage;\n            if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }\n            puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );\n            if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }" if (parenthesized_expression "((rc == 0) &&\n         (rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info), iVar3 = rc, rc == 0))" ( (binary_expression "(rc == 0) &&\n         (rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info), iVar3 = rc, rc == 0)" (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) && (parenthesized_expression "(rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info), iVar3 = rc, rc == 0)" ( (comma_expression "rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info), iVar3 = rc, rc == 0" (assignment_expression "rc = clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info)" identifier = (call_expression "clearCell(pMVar14,puVar15 + (uVar1 & uVar5),&info)" identifier (argument_list "(pMVar14,puVar15 + (uVar1 & uVar5),&info)" ( identifier , (binary_expression "puVar15 + (uVar1 & uVar5)" identifier + (parenthesized_expression "(uVar1 & uVar5)" ( (binary_expression "uVar1 & uVar5" identifier & identifier) ))) , (pointer_expression "&info" & identifier) )))) , (comma_expression "iVar3 = rc, rc == 0" (assignment_expression "iVar3 = rc" identifier = identifier) , (binary_expression "rc == 0" identifier == number_literal))) ))) )) (compound_statement "{\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(pMVar14,i,info.nSize,&rc);\n        iVar3 = rc;\n        if (rc == 0) {\n          if (pMVar14->leaf == '\0') {\n            pMVar16 = pCur->pPage;\n            if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }\n            puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );\n            if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }" { (expression_statement "pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);" (assignment_expression "pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c)" identifier = (cast_expression "(code *)(PTR_LAB_00190bdc + -0x176c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + -0x176c)" ( (binary_expression "PTR_LAB_00190bdc + -0x176c" identifier + number_literal) )))) ;) (expression_statement "(*pcVar17)(pMVar14,i,info.nSize,&rc);" (call_expression "(*pcVar17)(pMVar14,i,info.nSize,&rc)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(pMVar14,i,info.nSize,&rc)" ( identifier , identifier , (field_expression "info.nSize" identifier . field_identifier) , (pointer_expression "&rc" & identifier) ))) ;) (expression_statement "iVar3 = rc;" (assignment_expression "iVar3 = rc" identifier = identifier) ;) (if_statement "if (rc == 0) {\n          if (pMVar14->leaf == '\0') {\n            pMVar16 = pCur->pPage;\n            if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }\n            puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );\n            if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }" if (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) (compound_statement "{\n          if (pMVar14->leaf == '\0') {\n            pMVar16 = pCur->pPage;\n            if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }\n            puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );\n            if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }" { (if_statement "if (pMVar14->leaf == '\0') {\n            pMVar16 = pCur->pPage;\n            if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }\n            puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );\n            if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }" if (parenthesized_expression "(pMVar14->leaf == '\0')" ( (binary_expression "pMVar14->leaf == '\0'" (field_expression "pMVar14->leaf" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            pMVar16 = pCur->pPage;\n            if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }\n            puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );\n            if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }\n          }" { (expression_statement "pMVar16 = pCur->pPage;" (assignment_expression "pMVar16 = pCur->pPage" identifier = (field_expression "pCur->pPage" identifier -> field_identifier)) ;) (if_statement "if (iVar12 < pCur->iPage + -1) {\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }\n            else {\n              PStack_58 = pMVar16->pgno;\n            }" if (parenthesized_expression "(iVar12 < pCur->iPage + -1)" ( (binary_expression "iVar12 < pCur->iPage + -1" identifier < (binary_expression "pCur->iPage + -1" (field_expression "pCur->iPage" identifier -> field_identifier) + number_literal)) )) (compound_statement "{\n              PStack_58 = pCur->apPage[iVar12 + 1]->pgno;\n            }" { (expression_statement "PStack_58 = pCur->apPage[iVar12 + 1]->pgno;" (assignment_expression "PStack_58 = pCur->apPage[iVar12 + 1]->pgno" identifier = (field_expression "pCur->apPage[iVar12 + 1]->pgno" (subscript_expression "pCur->apPage[iVar12 + 1]" (field_expression "pCur->apPage" identifier -> field_identifier) [ (binary_expression "iVar12 + 1" identifier + number_literal) ]) -> field_identifier)) ;) }) (else_clause "else {\n              PStack_58 = pMVar16->pgno;\n            }" else (compound_statement "{\n              PStack_58 = pMVar16->pgno;\n            }" { (expression_statement "PStack_58 = pMVar16->pgno;" (assignment_expression "PStack_58 = pMVar16->pgno" identifier = (field_expression "pMVar16->pgno" identifier -> field_identifier)) ;) }))) (expression_statement "puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      );" (assignment_expression "puVar15 = pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      )" identifier = (binary_expression "pMVar16->aData +\n                      (*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      )" (field_expression "pMVar16->aData" identifier -> field_identifier) + (parenthesized_expression "(*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage\n                      )" ( (binary_expression "*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2) & pMVar16->maskPage" (pointer_expression "*(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2)" * (cast_expression "(ushort *)(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2)" ( (binary_expression "pMVar16->aCellIdx + (pMVar16->nCell - 1) * 2" (field_expression "pMVar16->aCellIdx" identifier -> field_identifier) + (binary_expression "(pMVar16->nCell - 1) * 2" (parenthesized_expression "(pMVar16->nCell - 1)" ( (binary_expression "pMVar16->nCell - 1" (field_expression "pMVar16->nCell" identifier -> field_identifier) - number_literal) )) * number_literal)) )))) & (field_expression "pMVar16->maskPage" identifier -> field_identifier)) )))) ;) (if_statement "if (puVar15 < pMVar16->aData + 4) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }" if (parenthesized_expression "(puVar15 < pMVar16->aData + 4)" ( (binary_expression "puVar15 < pMVar16->aData + 4" identifier < (binary_expression "pMVar16->aData + 4" (field_expression "pMVar16->aData" identifier -> field_identifier) + number_literal)) )) (compound_statement "{\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }" { (expression_statement "(*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);" (call_expression "(*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c)" (parenthesized_expression "(*(code *)PTR_sqlite3_log_00190be0)" ( (pointer_expression "*(code *)PTR_sqlite3_log_00190be0" * (cast_expression "(code *)PTR_sqlite3_log_00190be0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c)" ( number_literal , (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378" identifier + number_literal) , (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_00190958 + 0x625c" identifier + number_literal) ))) ;) (expression_statement "iVar3 = 0xb;" (assignment_expression "iVar3 = 0xb" identifier = number_literal) ;) }) (else_clause "else {\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }" else (compound_statement "{\n              uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);\n              pTemp = pBVar13->pTmpSpace;\n              rc = sqlite3PagerWrite(pMVar16->pDbPage);\n              iVar3 = rc;\n              if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }\n            }" { (expression_statement "uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15);" (assignment_expression "uVar4 = (*pMVar16->xCellSize)(pMVar16,puVar15)" identifier = (call_expression "(*pMVar16->xCellSize)(pMVar16,puVar15)" (parenthesized_expression "(*pMVar16->xCellSize)" ( (pointer_expression "*pMVar16->xCellSize" * (field_expression "pMVar16->xCellSize" identifier -> field_identifier)) )) (argument_list "(pMVar16,puVar15)" ( identifier , identifier )))) ;) (expression_statement "pTemp = pBVar13->pTmpSpace;" (assignment_expression "pTemp = pBVar13->pTmpSpace" identifier = (field_expression "pBVar13->pTmpSpace" identifier -> field_identifier)) ;) (expression_statement "rc = sqlite3PagerWrite(pMVar16->pDbPage);" (assignment_expression "rc = sqlite3PagerWrite(pMVar16->pDbPage)" identifier = (call_expression "sqlite3PagerWrite(pMVar16->pDbPage)" identifier (argument_list "(pMVar16->pDbPage)" ( (field_expression "pMVar16->pDbPage" identifier -> field_identifier) )))) ;) (expression_statement "iVar3 = rc;" (assignment_expression "iVar3 = rc" identifier = identifier) ;) (if_statement "if (rc == 0) {\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }" if (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) (compound_statement "{\n                insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);\n                iVar3 = rc;\n                if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;\n              }" { (expression_statement "insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc);" (call_expression "insertCell(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc)" identifier (argument_list "(pMVar14,i,puVar15 + -4,CONCAT22(extraout_var,uVar4) + 4,pTemp,PStack_58,\n                           &rc)" ( identifier , identifier , (binary_expression "puVar15 + -4" identifier + number_literal) , (binary_expression "CONCAT22(extraout_var,uVar4) + 4" (call_expression "CONCAT22(extraout_var,uVar4)" identifier (argument_list "(extraout_var,uVar4)" ( identifier , identifier ))) + number_literal) , identifier , identifier , (pointer_expression "&rc" & identifier) ))) ;) (expression_statement "iVar3 = rc;" (assignment_expression "iVar3 = rc" identifier = identifier) ;) (if_statement "if ((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)) goto LAB_000d09a8;" if (parenthesized_expression "((rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0))" ( (binary_expression "(rc == 0) &&\n                   ((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)" (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) && (parenthesized_expression "((*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0)" ( (comma_expression "(*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc),\n                   iVar3 = rc, rc == 0" (call_expression "(*pcVar17)(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(pMVar16,pMVar16->nCell - 1,CONCAT22(extraout_var,uVar4),&rc)" ( identifier , (binary_expression "pMVar16->nCell - 1" (field_expression "pMVar16->nCell" identifier -> field_identifier) - number_literal) , (call_expression "CONCAT22(extraout_var,uVar4)" identifier (argument_list "(extraout_var,uVar4)" ( identifier , identifier ))) , (pointer_expression "&rc" & identifier) ))) , (comma_expression "iVar3 = rc, rc == 0" (assignment_expression "iVar3 = rc" identifier = identifier) , (binary_expression "rc == 0" identifier == number_literal))) ))) )) (goto_statement "goto LAB_000d09a8;" goto statement_identifier ;)) })) }))) }) (else_clause "else {\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }" else (compound_statement "{\nLAB_000d09a8:\n            rc = balance(pCur);\n            iVar3 = rc;\n            if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }" { (labeled_statement "LAB_000d09a8:\n            rc = balance(pCur);" statement_identifier : (expression_statement "rc = balance(pCur);" (assignment_expression "rc = balance(pCur)" identifier = (call_expression "balance(pCur)" identifier (argument_list "(pCur)" ( identifier )))) ;)) (expression_statement "iVar3 = rc;" (assignment_expression "iVar3 = rc" identifier = identifier) ;) (if_statement "if (rc == 0) {\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }" if (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) (compound_statement "{\n              if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }" { (if_statement "if (iVar12 < pCur->iPage) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }" if (parenthesized_expression "(iVar12 < pCur->iPage)" ( (binary_expression "iVar12 < pCur->iPage" identifier < (field_expression "pCur->iPage" identifier -> field_identifier)) )) (compound_statement "{\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(pCur->pPage->pDbPage);\n                cVar6 = pCur->iPage + -1;\n                pCur->iPage = cVar6;\n                do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );\n              }" { (expression_statement "pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);" (assignment_expression "pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8)" identifier = (cast_expression "(code *)(PTR_LAB_00190b40 + 0xee8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0xee8)" ( (binary_expression "PTR_LAB_00190b40 + 0xee8" identifier + number_literal) )))) ;) (expression_statement "(*pcVar17)(pCur->pPage->pDbPage);" (call_expression "(*pcVar17)(pCur->pPage->pDbPage)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(pCur->pPage->pDbPage)" ( (field_expression "pCur->pPage->pDbPage" (field_expression "pCur->pPage" identifier -> field_identifier) -> field_identifier) ))) ;) (expression_statement "cVar6 = pCur->iPage + -1;" (assignment_expression "cVar6 = pCur->iPage + -1" identifier = (binary_expression "pCur->iPage + -1" (field_expression "pCur->iPage" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pCur->iPage = cVar6;" (assignment_expression "pCur->iPage = cVar6" (field_expression "pCur->iPage" identifier -> field_identifier) = identifier) ;) (do_statement "do {\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                } while( true );" do (compound_statement "{\n                  iVar3 = (int)cVar6;\n                  ppMVar9 = pCur->apPage + iVar3;\n                  do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);\n                  (*pcVar17)(pMVar16->pDbPage);\n                  cVar6 = pCur->iPage;\n                }" { (expression_statement "iVar3 = (int)cVar6;" (assignment_expression "iVar3 = (int)cVar6" identifier = (cast_expression "(int)cVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "ppMVar9 = pCur->apPage + iVar3;" (assignment_expression "ppMVar9 = pCur->apPage + iVar3" identifier = (binary_expression "pCur->apPage + iVar3" (field_expression "pCur->apPage" identifier -> field_identifier) + identifier)) ;) (do_statement "do {\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  } while (pMVar16 == (MemPage *)0x0);" do (compound_statement "{\n                    pMVar16 = *ppMVar9;\n                    if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar6 = (char)iVar3 + -1;\n                    ppMVar9 = ppMVar9 + -1;\n                    iVar3 = (int)cVar6;\n                    pCur->iPage = cVar6;\n                  }" { (expression_statement "pMVar16 = *ppMVar9;" (assignment_expression "pMVar16 = *ppMVar9" identifier = (pointer_expression "*ppMVar9" * identifier)) ;) (if_statement "if (iVar3 <= iVar12) {\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }" if (parenthesized_expression "(iVar3 <= iVar12)" ( (binary_expression "iVar3 <= iVar12" identifier <= identifier) )) (compound_statement "{\n                      pCur->pPage = pMVar16;\n                      iVar3 = balance(pCur);\n                      rc = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }" { (expression_statement "pCur->pPage = pMVar16;" (assignment_expression "pCur->pPage = pMVar16" (field_expression "pCur->pPage" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar3 = balance(pCur);" (assignment_expression "iVar3 = balance(pCur)" identifier = (call_expression "balance(pCur)" identifier (argument_list "(pCur)" ( identifier )))) ;) (expression_statement "rc = iVar3;" (assignment_expression "rc = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) goto LAB_000d09d8;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000d09d8;" goto statement_identifier ;)) (goto_statement "goto LAB_000d078c;" goto statement_identifier ;) })) (expression_statement "cVar6 = (char)iVar3 + -1;" (assignment_expression "cVar6 = (char)iVar3 + -1" identifier = (binary_expression "(char)iVar3 + -1" (cast_expression "(char)iVar3" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "ppMVar9 = ppMVar9 + -1;" (assignment_expression "ppMVar9 = ppMVar9 + -1" identifier = (binary_expression "ppMVar9 + -1" identifier + number_literal)) ;) (expression_statement "iVar3 = (int)cVar6;" (assignment_expression "iVar3 = (int)cVar6" identifier = (cast_expression "(int)cVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pCur->iPage = cVar6;" (assignment_expression "pCur->iPage = cVar6" (field_expression "pCur->iPage" identifier -> field_identifier) = identifier) ;) }) while (parenthesized_expression "(pMVar16 == (MemPage *)0x0)" ( (binary_expression "pMVar16 == (MemPage *)0x0" identifier == (cast_expression "(MemPage *)0x0" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "(*pcVar17)(pMVar16->pDbPage);" (call_expression "(*pcVar17)(pMVar16->pDbPage)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(pMVar16->pDbPage)" ( (field_expression "pMVar16->pDbPage" identifier -> field_identifier) ))) ;) (expression_statement "cVar6 = pCur->iPage;" (assignment_expression "cVar6 = pCur->iPage" identifier = (field_expression "pCur->iPage" identifier -> field_identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (labeled_statement "LAB_000d09d8:\n              if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }" statement_identifier : (if_statement "if (bVar2) {\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }\n              else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n                pCur->eState = '\x02';\n                iVar3 = rc;\n                if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }\n              }" { (expression_statement "pCur->eState = '\x02';" (assignment_expression "pCur->eState = '\x02'" (field_expression "pCur->eState" identifier -> field_identifier) = (char_literal "'\x02'" ' escape_sequence ')) ;) (expression_statement "iVar3 = rc;" (assignment_expression "iVar3 = rc" identifier = identifier) ;) (if_statement "if (i < pMVar14->nCell) {\n                  pCur->skipNext = 1;\n                }\n                else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }" if (parenthesized_expression "(i < pMVar14->nCell)" ( (binary_expression "i < pMVar14->nCell" identifier < (field_expression "pMVar14->nCell" identifier -> field_identifier)) )) (compound_statement "{\n                  pCur->skipNext = 1;\n                }" { (expression_statement "pCur->skipNext = 1;" (assignment_expression "pCur->skipNext = 1" (field_expression "pCur->skipNext" identifier -> field_identifier) = number_literal) ;) }) (else_clause "else {\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }" else (compound_statement "{\n                  pCur->skipNext = -1;\n                  pCur->ix = pMVar14->nCell - 1;\n                }" { (expression_statement "pCur->skipNext = -1;" (assignment_expression "pCur->skipNext = -1" (field_expression "pCur->skipNext" identifier -> field_identifier) = number_literal) ;) (expression_statement "pCur->ix = pMVar14->nCell - 1;" (assignment_expression "pCur->ix = pMVar14->nCell - 1" (field_expression "pCur->ix" identifier -> field_identifier) = (binary_expression "pMVar14->nCell - 1" (field_expression "pMVar14->nCell" identifier -> field_identifier) - number_literal)) ;) }))) }) (else_clause "else {\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }" else (compound_statement "{\n                rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);\n                if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }\n                iVar3 = rc;\n                if (rc == 0x10) {\n                  iVar3 = 0;\n                }\n              }" { (expression_statement "rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur);" (assignment_expression "rc = (*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur)" identifier = (call_expression "(*(code *)(PTR_LAB_00190bdc + -0x222c))(pCur)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + -0x222c))" ( (pointer_expression "*(code *)(PTR_LAB_00190bdc + -0x222c)" * (cast_expression "(code *)(PTR_LAB_00190bdc + -0x222c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + -0x222c)" ( (binary_expression "PTR_LAB_00190bdc + -0x222c" identifier + number_literal) )))) )) (argument_list "(pCur)" ( identifier )))) ;) (if_statement "if ((flags & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }" if (parenthesized_expression "((flags & 2) != 0)" ( (binary_expression "(flags & 2) != 0" (parenthesized_expression "(flags & 2)" ( (binary_expression "flags & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);\n                  pCur->eState = '\x03';\n                }" { (expression_statement "(*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x788c))(pCur)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x788c))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x788c)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x788c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + 0x788c)" ( (binary_expression "PTR_LAB_00190ba8 + 0x788c" identifier + number_literal) )))) )) (argument_list "(pCur)" ( identifier ))) ;) (expression_statement "pCur->eState = '\x03';" (assignment_expression "pCur->eState = '\x03'" (field_expression "pCur->eState" identifier -> field_identifier) = (char_literal "'\x03'" ' escape_sequence ')) ;) })) (expression_statement "iVar3 = rc;" (assignment_expression "iVar3 = rc" identifier = identifier) ;) (if_statement "if (rc == 0x10) {\n                  iVar3 = 0;\n                }" if (parenthesized_expression "(rc == 0x10)" ( (binary_expression "rc == 0x10" identifier == number_literal) )) (compound_statement "{\n                  iVar3 = 0;\n                }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) })) })))) })) }))) })) })) }))) }))) (labeled_statement "LAB_000d078c:\n  if (pCur_00 == *(BtCursor **)puVar18) {\n    return iVar3;\n  }" statement_identifier : (if_statement "if (pCur_00 == *(BtCursor **)puVar18) {\n    return iVar3;\n  }" if (parenthesized_expression "(pCur_00 == *(BtCursor **)puVar18)" ( (binary_expression "pCur_00 == *(BtCursor **)puVar18" identifier == (pointer_expression "*(BtCursor **)puVar18" * (cast_expression "(BtCursor **)puVar18" ( (type_descriptor "BtCursor **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) }))) (expression_statement "puVar18 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar18 = PTR___stack_chk_fail_00190df8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "bVar7 = pCur_00->eState;" (assignment_expression "bVar7 = pCur_00->eState" identifier = (field_expression "pCur_00->eState" identifier -> field_identifier)) ;) (if_statement "if (bVar7 != 0) {\n    if (2 < bVar7) {\n      if (bVar7 == 4) {\n        if (pCur_00->skipNext != 0) {\n          return pCur_00->skipNext;\n        }\n        goto LAB_000d0c34;\n      }\n      iVar12 = btreeRestoreCursorPosition(pCur_00);\n      if (iVar12 != 0) {\n        return iVar12;\n      }\n      bVar7 = pCur_00->eState;\n    }\n    if (bVar7 == 1) {\n      return 0x65;\n    }\n    if ((bVar7 == 2) && (pCur_00->eState = '\0', 0 < pCur_00->skipNext)) {\n      return 0;\n    }\n  }" if (parenthesized_expression "(bVar7 != 0)" ( (binary_expression "bVar7 != 0" identifier != number_literal) )) (compound_statement "{\n    if (2 < bVar7) {\n      if (bVar7 == 4) {\n        if (pCur_00->skipNext != 0) {\n          return pCur_00->skipNext;\n        }\n        goto LAB_000d0c34;\n      }\n      iVar12 = btreeRestoreCursorPosition(pCur_00);\n      if (iVar12 != 0) {\n        return iVar12;\n      }\n      bVar7 = pCur_00->eState;\n    }\n    if (bVar7 == 1) {\n      return 0x65;\n    }\n    if ((bVar7 == 2) && (pCur_00->eState = '\0', 0 < pCur_00->skipNext)) {\n      return 0;\n    }\n  }" { (if_statement "if (2 < bVar7) {\n      if (bVar7 == 4) {\n        if (pCur_00->skipNext != 0) {\n          return pCur_00->skipNext;\n        }\n        goto LAB_000d0c34;\n      }\n      iVar12 = btreeRestoreCursorPosition(pCur_00);\n      if (iVar12 != 0) {\n        return iVar12;\n      }\n      bVar7 = pCur_00->eState;\n    }" if (parenthesized_expression "(2 < bVar7)" ( (binary_expression "2 < bVar7" number_literal < identifier) )) (compound_statement "{\n      if (bVar7 == 4) {\n        if (pCur_00->skipNext != 0) {\n          return pCur_00->skipNext;\n        }\n        goto LAB_000d0c34;\n      }\n      iVar12 = btreeRestoreCursorPosition(pCur_00);\n      if (iVar12 != 0) {\n        return iVar12;\n      }\n      bVar7 = pCur_00->eState;\n    }" { (if_statement "if (bVar7 == 4) {\n        if (pCur_00->skipNext != 0) {\n          return pCur_00->skipNext;\n        }\n        goto LAB_000d0c34;\n      }" if (parenthesized_expression "(bVar7 == 4)" ( (binary_expression "bVar7 == 4" identifier == number_literal) )) (compound_statement "{\n        if (pCur_00->skipNext != 0) {\n          return pCur_00->skipNext;\n        }\n        goto LAB_000d0c34;\n      }" { (if_statement "if (pCur_00->skipNext != 0) {\n          return pCur_00->skipNext;\n        }" if (parenthesized_expression "(pCur_00->skipNext != 0)" ( (binary_expression "pCur_00->skipNext != 0" (field_expression "pCur_00->skipNext" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n          return pCur_00->skipNext;\n        }" { (return_statement "return pCur_00->skipNext;" return (field_expression "pCur_00->skipNext" identifier -> field_identifier) ;) })) (goto_statement "goto LAB_000d0c34;" goto statement_identifier ;) })) (expression_statement "iVar12 = btreeRestoreCursorPosition(pCur_00);" (assignment_expression "iVar12 = btreeRestoreCursorPosition(pCur_00)" identifier = (call_expression "btreeRestoreCursorPosition(pCur_00)" identifier (argument_list "(pCur_00)" ( identifier )))) ;) (if_statement "if (iVar12 != 0) {\n        return iVar12;\n      }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n        return iVar12;\n      }" { (return_statement "return iVar12;" return identifier ;) })) (expression_statement "bVar7 = pCur_00->eState;" (assignment_expression "bVar7 = pCur_00->eState" identifier = (field_expression "pCur_00->eState" identifier -> field_identifier)) ;) })) (if_statement "if (bVar7 == 1) {\n      return 0x65;\n    }" if (parenthesized_expression "(bVar7 == 1)" ( (binary_expression "bVar7 == 1" identifier == number_literal) )) (compound_statement "{\n      return 0x65;\n    }" { (return_statement "return 0x65;" return number_literal ;) })) (if_statement "if ((bVar7 == 2) && (pCur_00->eState = '\0', 0 < pCur_00->skipNext)) {\n      return 0;\n    }" if (parenthesized_expression "((bVar7 == 2) && (pCur_00->eState = '\0', 0 < pCur_00->skipNext))" ( (binary_expression "(bVar7 == 2) && (pCur_00->eState = '\0', 0 < pCur_00->skipNext)" (parenthesized_expression "(bVar7 == 2)" ( (binary_expression "bVar7 == 2" identifier == number_literal) )) && (parenthesized_expression "(pCur_00->eState = '\0', 0 < pCur_00->skipNext)" ( (comma_expression "pCur_00->eState = '\0', 0 < pCur_00->skipNext" (assignment_expression "pCur_00->eState = '\0'" (field_expression "pCur_00->eState" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) , (binary_expression "0 < pCur_00->skipNext" number_literal < (field_expression "pCur_00->skipNext" identifier -> field_identifier))) ))) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (labeled_statement "LAB_000d0c34:\n  pMVar14 = pCur_00->pPage;" statement_identifier : (expression_statement "pMVar14 = pCur_00->pPage;" (assignment_expression "pMVar14 = pCur_00->pPage" identifier = (field_expression "pCur_00->pPage" identifier -> field_identifier)) ;)) (expression_statement "uVar5 = pCur_00->ix + 1;" (assignment_expression "uVar5 = pCur_00->ix + 1" identifier = (binary_expression "pCur_00->ix + 1" (field_expression "pCur_00->ix" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pCur_00->ix = uVar5;" (assignment_expression "pCur_00->ix = uVar5" (field_expression "pCur_00->ix" identifier -> field_identifier) = identifier) ;) (if_statement "if (pMVar14->isInit == '\0') {\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar12 = 0xb;\n  }\n  else {\n    if (uVar5 < pMVar14->nCell) {\n      iVar12 = *(int *)(puVar18 + 0xbfff4);\n      if (pMVar14->leaf == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar12 = *(int *)(puVar18 + 0xbff58);\n      if (pMVar14->leaf == '\0') {\n        iVar12 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8));\n        if (iVar12 != 0) {\n          return iVar12;\n        }\n        iVar12 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n                    /* WARNING: Could not recover jumptable at 0x000d0d60. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar12 = (*(code *)(iVar12 + -0x22d8))(pCur_00);\n        return iVar12;\n      }\n      do {\n        if (pCur_00->iPage == '\0') {\n          pCur_00->eState = '\x01';\n          return 0x65;\n        }\n        (*(code *)(iVar12 + 0x1664))(pCur_00);\n      } while (pCur_00->pPage->nCell <= pCur_00->ix);\n      if (pCur_00->pPage->intKey != '\0') {\n        iVar12 = sqlite3BtreeNext(pCur_00,0);\n        return iVar12;\n      }\n    }\n    iVar12 = 0;\n  }" if (parenthesized_expression "(pMVar14->isInit == '\0')" ( (binary_expression "pMVar14->isInit == '\0'" (field_expression "pMVar14->isInit" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar12 = 0xb;\n  }" { (expression_statement "(**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);" (call_expression "(**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c)" (parenthesized_expression "(**(code **)(puVar18 + 0xbfff8))" ( (pointer_expression "**(code **)(puVar18 + 0xbfff8)" * (pointer_expression "*(code **)(puVar18 + 0xbfff8)" * (cast_expression "(code **)(puVar18 + 0xbfff8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0xbfff8)" ( (binary_expression "puVar18 + 0xbfff8" identifier + number_literal) ))))) )) (argument_list "(0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c)" ( number_literal , (binary_expression "*(int *)(puVar18 + 0xbfd74) + -0x6378" (pointer_expression "*(int *)(puVar18 + 0xbfd74)" * (cast_expression "(int *)(puVar18 + 0xbfd74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfd74)" ( (binary_expression "puVar18 + 0xbfd74" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar18 + 0xbfd74) + -0x5e64" (pointer_expression "*(int *)(puVar18 + 0xbfd74)" * (cast_expression "(int *)(puVar18 + 0xbfd74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfd74)" ( (binary_expression "puVar18 + 0xbfd74" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar18 + 0xbfd70) + 0x625c" (pointer_expression "*(int *)(puVar18 + 0xbfd70)" * (cast_expression "(int *)(puVar18 + 0xbfd70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfd70)" ( (binary_expression "puVar18 + 0xbfd70" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "iVar12 = 0xb;" (assignment_expression "iVar12 = 0xb" identifier = number_literal) ;) }) (else_clause "else {\n    if (uVar5 < pMVar14->nCell) {\n      iVar12 = *(int *)(puVar18 + 0xbfff4);\n      if (pMVar14->leaf == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar12 = *(int *)(puVar18 + 0xbff58);\n      if (pMVar14->leaf == '\0') {\n        iVar12 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8));\n        if (iVar12 != 0) {\n          return iVar12;\n        }\n        iVar12 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n                    /* WARNING: Could not recover jumptable at 0x000d0d60. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar12 = (*(code *)(iVar12 + -0x22d8))(pCur_00);\n        return iVar12;\n      }\n      do {\n        if (pCur_00->iPage == '\0') {\n          pCur_00->eState = '\x01';\n          return 0x65;\n        }\n        (*(code *)(iVar12 + 0x1664))(pCur_00);\n      } while (pCur_00->pPage->nCell <= pCur_00->ix);\n      if (pCur_00->pPage->intKey != '\0') {\n        iVar12 = sqlite3BtreeNext(pCur_00,0);\n        return iVar12;\n      }\n    }\n    iVar12 = 0;\n  }" else (compound_statement "{\n    if (uVar5 < pMVar14->nCell) {\n      iVar12 = *(int *)(puVar18 + 0xbfff4);\n      if (pMVar14->leaf == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar12 = *(int *)(puVar18 + 0xbff58);\n      if (pMVar14->leaf == '\0') {\n        iVar12 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8));\n        if (iVar12 != 0) {\n          return iVar12;\n        }\n        iVar12 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n                    /* WARNING: Could not recover jumptable at 0x000d0d60. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar12 = (*(code *)(iVar12 + -0x22d8))(pCur_00);\n        return iVar12;\n      }\n      do {\n        if (pCur_00->iPage == '\0') {\n          pCur_00->eState = '\x01';\n          return 0x65;\n        }\n        (*(code *)(iVar12 + 0x1664))(pCur_00);\n      } while (pCur_00->pPage->nCell <= pCur_00->ix);\n      if (pCur_00->pPage->intKey != '\0') {\n        iVar12 = sqlite3BtreeNext(pCur_00,0);\n        return iVar12;\n      }\n    }\n    iVar12 = 0;\n  }" { (if_statement "if (uVar5 < pMVar14->nCell) {\n      iVar12 = *(int *)(puVar18 + 0xbfff4);\n      if (pMVar14->leaf == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar12 = *(int *)(puVar18 + 0xbff58);\n      if (pMVar14->leaf == '\0') {\n        iVar12 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8));\n        if (iVar12 != 0) {\n          return iVar12;\n        }\n        iVar12 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n                    /* WARNING: Could not recover jumptable at 0x000d0d60. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar12 = (*(code *)(iVar12 + -0x22d8))(pCur_00);\n        return iVar12;\n      }\n      do {\n        if (pCur_00->iPage == '\0') {\n          pCur_00->eState = '\x01';\n          return 0x65;\n        }\n        (*(code *)(iVar12 + 0x1664))(pCur_00);\n      } while (pCur_00->pPage->nCell <= pCur_00->ix);\n      if (pCur_00->pPage->intKey != '\0') {\n        iVar12 = sqlite3BtreeNext(pCur_00,0);\n        return iVar12;\n      }\n    }" if (parenthesized_expression "(uVar5 < pMVar14->nCell)" ( (binary_expression "uVar5 < pMVar14->nCell" identifier < (field_expression "pMVar14->nCell" identifier -> field_identifier)) )) (compound_statement "{\n      iVar12 = *(int *)(puVar18 + 0xbfff4);\n      if (pMVar14->leaf == '\0') goto LAB_000d0d4c;\n    }" { (expression_statement "iVar12 = *(int *)(puVar18 + 0xbfff4);" (assignment_expression "iVar12 = *(int *)(puVar18 + 0xbfff4)" identifier = (pointer_expression "*(int *)(puVar18 + 0xbfff4)" * (cast_expression "(int *)(puVar18 + 0xbfff4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfff4)" ( (binary_expression "puVar18 + 0xbfff4" identifier + number_literal) ))))) ;) (if_statement "if (pMVar14->leaf == '\0') goto LAB_000d0d4c;" if (parenthesized_expression "(pMVar14->leaf == '\0')" ( (binary_expression "pMVar14->leaf == '\0'" (field_expression "pMVar14->leaf" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000d0d4c;" goto statement_identifier ;)) }) (else_clause "else {\n      iVar12 = *(int *)(puVar18 + 0xbff58);\n      if (pMVar14->leaf == '\0') {\n        iVar12 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8));\n        if (iVar12 != 0) {\n          return iVar12;\n        }\n        iVar12 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n                    /* WARNING: Could not recover jumptable at 0x000d0d60. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar12 = (*(code *)(iVar12 + -0x22d8))(pCur_00);\n        return iVar12;\n      }\n      do {\n        if (pCur_00->iPage == '\0') {\n          pCur_00->eState = '\x01';\n          return 0x65;\n        }\n        (*(code *)(iVar12 + 0x1664))(pCur_00);\n      } while (pCur_00->pPage->nCell <= pCur_00->ix);\n      if (pCur_00->pPage->intKey != '\0') {\n        iVar12 = sqlite3BtreeNext(pCur_00,0);\n        return iVar12;\n      }\n    }" else (compound_statement "{\n      iVar12 = *(int *)(puVar18 + 0xbff58);\n      if (pMVar14->leaf == '\0') {\n        iVar12 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8));\n        if (iVar12 != 0) {\n          return iVar12;\n        }\n        iVar12 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n                    /* WARNING: Could not recover jumptable at 0x000d0d60. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar12 = (*(code *)(iVar12 + -0x22d8))(pCur_00);\n        return iVar12;\n      }\n      do {\n        if (pCur_00->iPage == '\0') {\n          pCur_00->eState = '\x01';\n          return 0x65;\n        }\n        (*(code *)(iVar12 + 0x1664))(pCur_00);\n      } while (pCur_00->pPage->nCell <= pCur_00->ix);\n      if (pCur_00->pPage->intKey != '\0') {\n        iVar12 = sqlite3BtreeNext(pCur_00,0);\n        return iVar12;\n      }\n    }" { (expression_statement "iVar12 = *(int *)(puVar18 + 0xbff58);" (assignment_expression "iVar12 = *(int *)(puVar18 + 0xbff58)" identifier = (pointer_expression "*(int *)(puVar18 + 0xbff58)" * (cast_expression "(int *)(puVar18 + 0xbff58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbff58)" ( (binary_expression "puVar18 + 0xbff58" identifier + number_literal) ))))) ;) (if_statement "if (pMVar14->leaf == '\0') {\n        iVar12 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8));\n        if (iVar12 != 0) {\n          return iVar12;\n        }\n        iVar12 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n                    /* WARNING: Could not recover jumptable at 0x000d0d60. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar12 = (*(code *)(iVar12 + -0x22d8))(pCur_00);\n        return iVar12;\n      }" if (parenthesized_expression "(pMVar14->leaf == '\0')" ( (binary_expression "pMVar14->leaf == '\0'" (field_expression "pMVar14->leaf" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar12 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8));\n        if (iVar12 != 0) {\n          return iVar12;\n        }\n        iVar12 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n                    /* WARNING: Could not recover jumptable at 0x000d0d60. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar12 = (*(code *)(iVar12 + -0x22d8))(pCur_00);\n        return iVar12;\n      }" { (expression_statement "iVar12 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8));" (assignment_expression "iVar12 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8))" identifier = (call_expression "(*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8))" (parenthesized_expression "(*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))" ( (pointer_expression "*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c)" * (cast_expression "(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar18 + 0xbfff4) + -0x243c)" ( (binary_expression "*(int *)(puVar18 + 0xbfff4) + -0x243c" (pointer_expression "*(int *)(puVar18 + 0xbfff4)" * (cast_expression "(int *)(puVar18 + 0xbfff4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfff4)" ( (binary_expression "puVar18 + 0xbfff4" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(pCur_00,*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8))" ( identifier , (pointer_expression "*(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8)" * (cast_expression "(undefined4 *)(pMVar14->aData + pMVar14->hdrOffset + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pMVar14->aData + pMVar14->hdrOffset + 8)" ( (binary_expression "pMVar14->aData + pMVar14->hdrOffset + 8" (binary_expression "pMVar14->aData + pMVar14->hdrOffset" (field_expression "pMVar14->aData" identifier -> field_identifier) + (field_expression "pMVar14->hdrOffset" identifier -> field_identifier)) + number_literal) )))) )))) ;) (if_statement "if (iVar12 != 0) {\n          return iVar12;\n        }" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (compound_statement "{\n          return iVar12;\n        }" { (return_statement "return iVar12;" return identifier ;) })) (expression_statement "iVar12 = *(int *)(puVar18 + 0xbfff4);" (assignment_expression "iVar12 = *(int *)(puVar18 + 0xbfff4)" identifier = (pointer_expression "*(int *)(puVar18 + 0xbfff4)" * (cast_expression "(int *)(puVar18 + 0xbfff4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfff4)" ( (binary_expression "puVar18 + 0xbfff4" identifier + number_literal) ))))) ;) (labeled_statement "LAB_000d0d4c:\n                    /* WARNING: Could not recover jumptable at 0x000d0d60. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n        iVar12 = (*(code *)(iVar12 + -0x22d8))(pCur_00);" statement_identifier : comment comment (expression_statement "iVar12 = (*(code *)(iVar12 + -0x22d8))(pCur_00);" (assignment_expression "iVar12 = (*(code *)(iVar12 + -0x22d8))(pCur_00)" identifier = (call_expression "(*(code *)(iVar12 + -0x22d8))(pCur_00)" (parenthesized_expression "(*(code *)(iVar12 + -0x22d8))" ( (pointer_expression "*(code *)(iVar12 + -0x22d8)" * (cast_expression "(code *)(iVar12 + -0x22d8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + -0x22d8)" ( (binary_expression "iVar12 + -0x22d8" identifier + number_literal) )))) )) (argument_list "(pCur_00)" ( identifier )))) ;)) (return_statement "return iVar12;" return identifier ;) })) (do_statement "do {\n        if (pCur_00->iPage == '\0') {\n          pCur_00->eState = '\x01';\n          return 0x65;\n        }\n        (*(code *)(iVar12 + 0x1664))(pCur_00);\n      } while (pCur_00->pPage->nCell <= pCur_00->ix);" do (compound_statement "{\n        if (pCur_00->iPage == '\0') {\n          pCur_00->eState = '\x01';\n          return 0x65;\n        }\n        (*(code *)(iVar12 + 0x1664))(pCur_00);\n      }" { (if_statement "if (pCur_00->iPage == '\0') {\n          pCur_00->eState = '\x01';\n          return 0x65;\n        }" if (parenthesized_expression "(pCur_00->iPage == '\0')" ( (binary_expression "pCur_00->iPage == '\0'" (field_expression "pCur_00->iPage" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          pCur_00->eState = '\x01';\n          return 0x65;\n        }" { (expression_statement "pCur_00->eState = '\x01';" (assignment_expression "pCur_00->eState = '\x01'" (field_expression "pCur_00->eState" identifier -> field_identifier) = (char_literal "'\x01'" ' escape_sequence ')) ;) (return_statement "return 0x65;" return number_literal ;) })) (expression_statement "(*(code *)(iVar12 + 0x1664))(pCur_00);" (call_expression "(*(code *)(iVar12 + 0x1664))(pCur_00)" (parenthesized_expression "(*(code *)(iVar12 + 0x1664))" ( (pointer_expression "*(code *)(iVar12 + 0x1664)" * (cast_expression "(code *)(iVar12 + 0x1664)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x1664)" ( (binary_expression "iVar12 + 0x1664" identifier + number_literal) )))) )) (argument_list "(pCur_00)" ( identifier ))) ;) }) while (parenthesized_expression "(pCur_00->pPage->nCell <= pCur_00->ix)" ( (binary_expression "pCur_00->pPage->nCell <= pCur_00->ix" (field_expression "pCur_00->pPage->nCell" (field_expression "pCur_00->pPage" identifier -> field_identifier) -> field_identifier) <= (field_expression "pCur_00->ix" identifier -> field_identifier)) )) ;) (if_statement "if (pCur_00->pPage->intKey != '\0') {\n        iVar12 = sqlite3BtreeNext(pCur_00,0);\n        return iVar12;\n      }" if (parenthesized_expression "(pCur_00->pPage->intKey != '\0')" ( (binary_expression "pCur_00->pPage->intKey != '\0'" (field_expression "pCur_00->pPage->intKey" (field_expression "pCur_00->pPage" identifier -> field_identifier) -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar12 = sqlite3BtreeNext(pCur_00,0);\n        return iVar12;\n      }" { (expression_statement "iVar12 = sqlite3BtreeNext(pCur_00,0);" (assignment_expression "iVar12 = sqlite3BtreeNext(pCur_00,0)" identifier = (call_expression "sqlite3BtreeNext(pCur_00,0)" identifier (argument_list "(pCur_00,0)" ( identifier , number_literal )))) ;) (return_statement "return iVar12;" return identifier ;) })) }))) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) }))) (return_statement "return iVar12;" return identifier ;) })))
(translation_unit "int FUN_000d0660(undefined1 *param_1,uint param_2)\n\n{\n  short sVar1;\n  bool bVar2;\n  int iVar3;\n  char cVar4;\n  byte bVar5;\n  char *pcVar6;\n  int *piVar7;\n  byte *pbVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  code *pcVar17;\n  undefined *puVar18;\n  undefined4 local_58;\n  int local_4c;\n  undefined1 auStack_48 [18];\n  undefined2 local_36;\n  byte *local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_00190e24;\n  iVar15 = *(int *)(param_1 + 0x74);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x46);\n  iVar10 = *(int *)(param_1 + 8);\n  local_2c = *(byte **)PTR___stack_chk_guard_00190e24;\n  iVar13 = *(int *)(iVar10 + 4);\n  iVar12 = (int)(char)param_1[0x44];\n  cVar4 = *(char *)(iVar15 + 8);\n  iVar16 = *(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18));\n  if ((param_2 & 2) == 0) {\nLAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);\n    local_4c = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }\n  else {\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\nLAB_000d078c:\n  if (local_2c == *(byte **)puVar18) {\n    return iVar3;\n  }\n  pbVar8 = local_2c;\n  puVar18 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  bVar5 = *pbVar8;\n  if (bVar5 != 0) {\n    if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }\n    if (bVar5 == 1) {\n      return 0x65;\n    }\n    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }\n  }\nLAB_000d0c34:\n  sVar1 = *(short *)(pbVar8 + 0x46);\n  pcVar6 = *(char **)(pbVar8 + 0x74);\n  *(ushort *)(pbVar8 + 0x46) = sVar1 + 1U;\n  if (*pcVar6 == '\0') {\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar10 = 0xb;\n  }\n  else {\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }\n  return iVar10;\n}\n\n" (function_definition "int FUN_000d0660(undefined1 *param_1,uint param_2)\n\n{\n  short sVar1;\n  bool bVar2;\n  int iVar3;\n  char cVar4;\n  byte bVar5;\n  char *pcVar6;\n  int *piVar7;\n  byte *pbVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  code *pcVar17;\n  undefined *puVar18;\n  undefined4 local_58;\n  int local_4c;\n  undefined1 auStack_48 [18];\n  undefined2 local_36;\n  byte *local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_00190e24;\n  iVar15 = *(int *)(param_1 + 0x74);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x46);\n  iVar10 = *(int *)(param_1 + 8);\n  local_2c = *(byte **)PTR___stack_chk_guard_00190e24;\n  iVar13 = *(int *)(iVar10 + 4);\n  iVar12 = (int)(char)param_1[0x44];\n  cVar4 = *(char *)(iVar15 + 8);\n  iVar16 = *(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18));\n  if ((param_2 & 2) == 0) {\nLAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);\n    local_4c = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }\n  else {\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\nLAB_000d078c:\n  if (local_2c == *(byte **)puVar18) {\n    return iVar3;\n  }\n  pbVar8 = local_2c;\n  puVar18 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  bVar5 = *pbVar8;\n  if (bVar5 != 0) {\n    if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }\n    if (bVar5 == 1) {\n      return 0x65;\n    }\n    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }\n  }\nLAB_000d0c34:\n  sVar1 = *(short *)(pbVar8 + 0x46);\n  pcVar6 = *(char **)(pbVar8 + 0x74);\n  *(ushort *)(pbVar8 + 0x46) = sVar1 + 1U;\n  if (*pcVar6 == '\0') {\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar10 = 0xb;\n  }\n  else {\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }\n  return iVar10;\n}" primitive_type (function_declarator "FUN_000d0660(undefined1 *param_1,uint param_2)" identifier (parameter_list "(undefined1 *param_1,uint param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  short sVar1;\n  bool bVar2;\n  int iVar3;\n  char cVar4;\n  byte bVar5;\n  char *pcVar6;\n  int *piVar7;\n  byte *pbVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  code *pcVar17;\n  undefined *puVar18;\n  undefined4 local_58;\n  int local_4c;\n  undefined1 auStack_48 [18];\n  undefined2 local_36;\n  byte *local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_00190e24;\n  iVar15 = *(int *)(param_1 + 0x74);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x46);\n  iVar10 = *(int *)(param_1 + 8);\n  local_2c = *(byte **)PTR___stack_chk_guard_00190e24;\n  iVar13 = *(int *)(iVar10 + 4);\n  iVar12 = (int)(char)param_1[0x44];\n  cVar4 = *(char *)(iVar15 + 8);\n  iVar16 = *(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18));\n  if ((param_2 & 2) == 0) {\nLAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);\n    local_4c = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }\n  else {\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\nLAB_000d078c:\n  if (local_2c == *(byte **)puVar18) {\n    return iVar3;\n  }\n  pbVar8 = local_2c;\n  puVar18 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  bVar5 = *pbVar8;\n  if (bVar5 != 0) {\n    if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }\n    if (bVar5 == 1) {\n      return 0x65;\n    }\n    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }\n  }\nLAB_000d0c34:\n  sVar1 = *(short *)(pbVar8 + 0x46);\n  pcVar6 = *(char **)(pbVar8 + 0x74);\n  *(ushort *)(pbVar8 + 0x46) = sVar1 + 1U;\n  if (*pcVar6 == '\0') {\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar10 = 0xb;\n  }\n  else {\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }\n  return iVar10;\n}" { (declaration "short sVar1;" (sized_type_specifier "short" short) identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "code *pcVar17;" type_identifier (pointer_declarator "*pcVar17" * identifier) ;) (declaration "undefined *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "undefined4 local_58;" type_identifier identifier ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "undefined1 auStack_48 [18];" type_identifier (array_declarator "auStack_48 [18]" identifier [ number_literal ]) ;) (declaration "undefined2 local_36;" type_identifier identifier ;) (declaration "byte *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "puVar18 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar18 = PTR___stack_chk_guard_00190e24" identifier = identifier) ;) (expression_statement "iVar15 = *(int *)(param_1 + 0x74);" (assignment_expression "iVar15 = *(int *)(param_1 + 0x74)" identifier = (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = (uint)*(ushort *)(param_1 + 0x46);" (assignment_expression "uVar11 = (uint)*(ushort *)(param_1 + 0x46)" identifier = (binary_expression "(uint)*(ushort *)(param_1 + 0x46)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_1 + 0x46)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x46)" ( (binary_expression "param_1 + 0x46" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(param_1 + 8);" (assignment_expression "iVar10 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_2c = *(byte **)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_2c = *(byte **)PTR___stack_chk_guard_00190e24" identifier = (pointer_expression "*(byte **)PTR___stack_chk_guard_00190e24" * (cast_expression "(byte **)PTR___stack_chk_guard_00190e24" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar13 = *(int *)(iVar10 + 4);" (assignment_expression "iVar13 = *(int *)(iVar10 + 4)" identifier = (pointer_expression "*(int *)(iVar10 + 4)" * (cast_expression "(int *)(iVar10 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = (int)(char)param_1[0x44];" (assignment_expression "iVar12 = (int)(char)param_1[0x44]" identifier = (cast_expression "(int)(char)param_1[0x44]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(char)param_1[0x44]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[0x44]" identifier [ number_literal ])))) ;) (expression_statement "cVar4 = *(char *)(iVar15 + 8);" (assignment_expression "cVar4 = *(char *)(iVar15 + 8)" identifier = (pointer_expression "*(char *)(iVar15 + 8)" * (cast_expression "(char *)(iVar15 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 8)" ( (binary_expression "iVar15 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar16 = *(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18));" (assignment_expression "iVar16 = *(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18))" identifier = (binary_expression "*(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18))" (pointer_expression "*(int *)(iVar15 + 0x38)" * (cast_expression "(int *)(iVar15 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x38)" ( (binary_expression "iVar15 + 0x38" identifier + number_literal) )))) + (call_expression "(uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18))" ( (binary_expression "*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18)" (pointer_expression "*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2)" * (cast_expression "(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar15 + 0x40) + uVar11 * 2)" ( (binary_expression "*(int *)(iVar15 + 0x40) + uVar11 * 2" (pointer_expression "*(int *)(iVar15 + 0x40)" * (cast_expression "(int *)(iVar15 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x40)" ( (binary_expression "iVar15 + 0x40" identifier + number_literal) )))) + (binary_expression "uVar11 * 2" identifier * number_literal)) )))) & (pointer_expression "*(ushort *)(iVar15 + 0x18)" * (cast_expression "(ushort *)(iVar15 + 0x18)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x18)" ( (binary_expression "iVar15 + 0x18" identifier + number_literal) ))))) ))))) ;) (if_statement "if ((param_2 & 2) == 0) {\nLAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);\n    local_4c = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }\n  else {\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" if (parenthesized_expression "((param_2 & 2) == 0)" ( (binary_expression "(param_2 & 2) == 0" (parenthesized_expression "(param_2 & 2)" ( (binary_expression "param_2 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);\n    local_4c = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }" { (labeled_statement "LAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }" statement_identifier : (if_statement "if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }" if (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }" { (labeled_statement "LAB_000d07fc:\n      bVar5 = param_1[1];" statement_identifier : (expression_statement "bVar5 = param_1[1];" (assignment_expression "bVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;)) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (goto_statement "goto joined_r0x000d0804;" goto statement_identifier ;) }))) (labeled_statement "LAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);" statement_identifier : (expression_statement "iVar3 = FUN_000d0604(param_1,0);" (assignment_expression "iVar3 = FUN_000d0604(param_1,0)" identifier = (call_expression "FUN_000d0604(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal )))) ;)) (expression_statement "local_4c = iVar3;" (assignment_expression "local_4c = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) goto LAB_000d07fc;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000d07fc;" goto statement_identifier ;)) }) (else_clause "else {\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" else (compound_statement "{\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" { (if_statement "if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }" if (parenthesized_expression "(((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1))" ( (binary_expression "((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)" (parenthesized_expression "((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1)))" ( (binary_expression "(cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))" (parenthesized_expression "(cVar4 == '\0')" ( (binary_expression "cVar4 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))" ( (comma_expression "iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1)" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16)" identifier = (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x1310))" ( (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x1310)" * (cast_expression "(code *)(PTR_LAB_00190b40 + 0x1310)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0x1310)" ( (binary_expression "PTR_LAB_00190b40 + 0x1310" identifier + number_literal) )))) )) (argument_list "(iVar15,iVar16)" ( identifier , identifier )))) , (binary_expression "(int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1)" (cast_expression "(int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(*(int *)(iVar13 + 0x24) << 1) / 3)" ( (binary_expression "(uint)(*(int *)(iVar13 + 0x24) << 1) / 3" (call_expression "(uint)(*(int *)(iVar13 + 0x24) << 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar13 + 0x24) << 1)" ( (binary_expression "*(int *)(iVar13 + 0x24) << 1" (pointer_expression "*(int *)(iVar13 + 0x24)" * (cast_expression "(int *)(iVar13 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x24)" ( (binary_expression "iVar13 + 0x24" identifier + number_literal) )))) << number_literal) ))) / number_literal) ))) <= (cast_expression "(int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1)" ( (binary_expression "(uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1" (binary_expression "(uint)*(ushort *)(iVar15 + 0x14) + iVar3" (binary_expression "(uint)*(ushort *)(iVar15 + 0x14)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(iVar15 + 0x14)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x14)" ( (binary_expression "iVar15 + 0x14" identifier + number_literal) )))) + identifier) + number_literal) ))))) ))) )) || (parenthesized_expression "(*(short *)(iVar15 + 0x16) == 1)" ( (binary_expression "*(short *)(iVar15 + 0x16) == 1" (pointer_expression "*(short *)(iVar15 + 0x16)" * (cast_expression "(short *)(iVar15 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x16)" ( (binary_expression "iVar15 + 0x16" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }" { (if_statement "if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }" if (parenthesized_expression "(param_1[0x45] == '\0')" ( (binary_expression "param_1[0x45] == '\0'" (subscript_expression "param_1[0x45]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }" { (expression_statement "iVar3 = FUN_000ce0d8();" (assignment_expression "iVar3 = FUN_000ce0d8()" identifier = (call_expression "FUN_000ce0d8()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_4c = iVar3;" (assignment_expression "local_4c = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }" { (expression_statement "cVar4 = *(char *)(iVar15 + 8);" (assignment_expression "cVar4 = *(char *)(iVar15 + 8)" identifier = (pointer_expression "*(char *)(iVar15 + 8)" * (cast_expression "(char *)(iVar15 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 8)" ( (binary_expression "iVar15 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000d07f4;" goto statement_identifier ;) })) (goto_statement "goto LAB_000d078c;" goto statement_identifier ;) })) (expression_statement "(*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);" (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x1604))" ( (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x1604)" * (cast_expression "(code *)(PTR_LAB_00190b40 + 0x1604)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0x1604)" ( (binary_expression "PTR_LAB_00190b40 + 0x1604" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24)" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" * (cast_expression "(undefined4 *)(param_1 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);" (assignment_expression "*(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20)" (pointer_expression "*(undefined4 *)(param_1 + 0x38)" * (cast_expression "(undefined4 *)(param_1 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) (if_statement "if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;" if (parenthesized_expression "(*(char *)(iVar15 + 8) == '\0')" ( (binary_expression "*(char *)(iVar15 + 8) == '\0'" (pointer_expression "*(char *)(iVar15 + 8)" * (cast_expression "(char *)(iVar15 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 8)" ( (binary_expression "iVar15 + 8" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000d0a14;" goto statement_identifier ;)) (goto_statement "goto LAB_000d07fc;" goto statement_identifier ;) })) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (expression_statement "bVar5 = param_1[1];" (assignment_expression "bVar5 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (labeled_statement "joined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" statement_identifier : (if_statement "if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" if (parenthesized_expression "(((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0))" ( (binary_expression "((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)" (parenthesized_expression "((bVar5 & 0x20) == 0)" ( (binary_expression "(bVar5 & 0x20) == 0" (parenthesized_expression "(bVar5 & 0x20)" ( (binary_expression "bVar5 & 0x20" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "(local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)" ( (comma_expression "local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0" (assignment_expression "local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)" identifier = (call_expression "FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)" identifier (argument_list "(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)" ( (pointer_expression "*(undefined4 *)(iVar13 + 8)" * (cast_expression "(undefined4 *)(iVar13 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 8)" ( (binary_expression "iVar13 + 8" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x40)" * (cast_expression "(undefined4 *)(param_1 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) , identifier )))) , (comma_expression "iVar3 = local_4c, local_4c == 0" (assignment_expression "iVar3 = local_4c" identifier = identifier) , (binary_expression "local_4c == 0" identifier == number_literal))) ))) )) (compound_statement "{\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" { (if_statement "if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }" if (parenthesized_expression "((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0'))" ( (binary_expression "(*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')" (parenthesized_expression "(*(int *)(param_1 + 0x70) == 0)" ( (binary_expression "*(int *)(param_1 + 0x70) == 0" (pointer_expression "*(int *)(param_1 + 0x70)" * (cast_expression "(int *)(param_1 + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(char *)(iVar10 + 0xb) != '\0')" ( (binary_expression "*(char *)(iVar10 + 0xb) != '\0'" (pointer_expression "*(char *)(iVar10 + 0xb)" * (cast_expression "(char *)(iVar10 + 0xb)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0xb)" ( (binary_expression "iVar10 + 0xb" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }" { (expression_statement "(*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));" (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40))" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7804))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x7804)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x7804)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + 0x7804)" ( (binary_expression "PTR_LAB_00190ba8 + 0x7804" identifier + number_literal) )))) )) (argument_list "(*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40))" ( (pointer_expression "*(undefined4 *)(iVar10 + 4)" * (cast_expression "(undefined4 *)(iVar10 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) )))) , (binary_expression "iVar10 + 0xb" identifier + number_literal) , (pointer_expression "*(undefined4 *)(param_1 + 0x40)" * (cast_expression "(undefined4 *)(param_1 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) ))) ;) })) (expression_statement "local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));" (assignment_expression "local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48))" identifier = (call_expression "FUN_000c3260(*(undefined4 *)(iVar15 + 0x48))" identifier (argument_list "(*(undefined4 *)(iVar15 + 0x48))" ( (pointer_expression "*(undefined4 *)(iVar15 + 0x48)" * (cast_expression "(undefined4 *)(iVar15 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x48)" ( (binary_expression "iVar15 + 0x48" identifier + number_literal) )))) )))) ;) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" identifier = identifier) ;) (if_statement "if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }" if (parenthesized_expression "((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0))" ( (binary_expression "(local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)" (parenthesized_expression "(local_4c == 0)" ( (binary_expression "local_4c == 0" identifier == number_literal) )) && (parenthesized_expression "(local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)" ( (comma_expression "local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0" (assignment_expression "local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48)" identifier = (call_expression "FUN_000cabd8(iVar15,iVar16,auStack_48)" identifier (argument_list "(iVar15,iVar16,auStack_48)" ( identifier , identifier , identifier )))) , (comma_expression "iVar3 = local_4c, local_4c == 0" (assignment_expression "iVar3 = local_4c" identifier = identifier) , (binary_expression "local_4c == 0" identifier == number_literal))) ))) )) (compound_statement "{\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }" { (expression_statement "pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);" (assignment_expression "pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c)" identifier = (cast_expression "(code *)(PTR_LAB_00190bdc + -0x176c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + -0x176c)" ( (binary_expression "PTR_LAB_00190bdc + -0x176c" identifier + number_literal) )))) ;) (expression_statement "(*pcVar17)(iVar15,uVar11,local_36,&local_4c);" (call_expression "(*pcVar17)(iVar15,uVar11,local_36,&local_4c)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(iVar15,uVar11,local_36,&local_4c)" ( identifier , identifier , identifier , (pointer_expression "&local_4c" & identifier) ))) ;) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" identifier = identifier) ;) (if_statement "if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }" if (parenthesized_expression "(local_4c == 0)" ( (binary_expression "local_4c == 0" identifier == number_literal) )) (compound_statement "{\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }" { (if_statement "if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }" if (parenthesized_expression "(*(char *)(iVar15 + 8) == '\0')" ( (binary_expression "*(char *)(iVar15 + 8) == '\0'" (pointer_expression "*(char *)(iVar15 + 8)" * (cast_expression "(char *)(iVar15 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 8)" ( (binary_expression "iVar15 + 8" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }" { (expression_statement "iVar10 = *(int *)(param_1 + 0x74);" (assignment_expression "iVar10 = *(int *)(param_1 + 0x74)" identifier = (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) ))))) ;) (if_statement "if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }" if (parenthesized_expression "(iVar12 < (char)param_1[0x44] + -1)" ( (binary_expression "iVar12 < (char)param_1[0x44] + -1" identifier < (binary_expression "(char)param_1[0x44] + -1" (cast_expression "(char)param_1[0x44]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[0x44]" identifier [ number_literal ])) + number_literal)) )) (compound_statement "{\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }" { (expression_statement "local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);" (assignment_expression "local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4)" ( (binary_expression "*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4" (pointer_expression "*(int *)(param_1 + (iVar12 + 0x1f) * 4)" * (cast_expression "(int *)(param_1 + (iVar12 + 0x1f) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (iVar12 + 0x1f) * 4)" ( (binary_expression "param_1 + (iVar12 + 0x1f) * 4" identifier + (binary_expression "(iVar12 + 0x1f) * 4" (parenthesized_expression "(iVar12 + 0x1f)" ( (binary_expression "iVar12 + 0x1f" identifier + number_literal) )) * number_literal)) )))) + number_literal) ))))) ;) }) (else_clause "else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }" else (compound_statement "{\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }" { (expression_statement "local_58 = *(undefined4 *)(iVar10 + 4);" (assignment_expression "local_58 = *(undefined4 *)(iVar10 + 4)" identifier = (pointer_expression "*(undefined4 *)(iVar10 + 4)" * (cast_expression "(undefined4 *)(iVar10 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4)" ( (binary_expression "iVar10 + 4" identifier + number_literal) ))))) ;) }))) (expression_statement "uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));" (assignment_expression "uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18))" identifier = (binary_expression "*(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18))" (pointer_expression "*(int *)(iVar10 + 0x38)" * (cast_expression "(int *)(iVar10 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x38)" ( (binary_expression "iVar10 + 0x38" identifier + number_literal) )))) + (call_expression "(uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18))" ( (binary_expression "*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18)" (pointer_expression "*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2)" * (cast_expression "(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2)" ( (binary_expression "*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2" (pointer_expression "*(int *)(iVar10 + 0x40)" * (cast_expression "(int *)(iVar10 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x40)" ( (binary_expression "iVar10 + 0x40" identifier + number_literal) )))) + (binary_expression "(*(ushort *)(iVar10 + 0x16) - 1) * 2" (parenthesized_expression "(*(ushort *)(iVar10 + 0x16) - 1)" ( (binary_expression "*(ushort *)(iVar10 + 0x16) - 1" (pointer_expression "*(ushort *)(iVar10 + 0x16)" * (cast_expression "(ushort *)(iVar10 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x16)" ( (binary_expression "iVar10 + 0x16" identifier + number_literal) )))) - number_literal) )) * number_literal)) )))) & (pointer_expression "*(ushort *)(iVar10 + 0x18)" * (cast_expression "(ushort *)(iVar10 + 0x18)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x18)" ( (binary_expression "iVar10 + 0x18" identifier + number_literal) ))))) ))))) ;) (if_statement "if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }" if (parenthesized_expression "(uVar9 < *(int *)(iVar10 + 0x38) + 4U)" ( (binary_expression "uVar9 < *(int *)(iVar10 + 0x38) + 4U" identifier < (binary_expression "*(int *)(iVar10 + 0x38) + 4U" (pointer_expression "*(int *)(iVar10 + 0x38)" * (cast_expression "(int *)(iVar10 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x38)" ( (binary_expression "iVar10 + 0x38" identifier + number_literal) )))) + number_literal)) )) (compound_statement "{\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }" { (expression_statement "(*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);" (call_expression "(*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c)" (parenthesized_expression "(*(code *)PTR_sqlite3_log_00190be0)" ( (pointer_expression "*(code *)PTR_sqlite3_log_00190be0" * (cast_expression "(code *)PTR_sqlite3_log_00190be0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c)" ( number_literal , (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378" identifier + number_literal) , (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_00190958 + 0x625c" identifier + number_literal) ))) ;) (expression_statement "iVar3 = 0xb;" (assignment_expression "iVar3 = 0xb" identifier = number_literal) ;) }) (else_clause "else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }" else (compound_statement "{\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }" { (expression_statement "iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);" (assignment_expression "iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9)" identifier = (call_expression "(**(code **)(iVar10 + 0x4c))(iVar10,uVar9)" (parenthesized_expression "(**(code **)(iVar10 + 0x4c))" ( (pointer_expression "**(code **)(iVar10 + 0x4c)" * (pointer_expression "*(code **)(iVar10 + 0x4c)" * (cast_expression "(code **)(iVar10 + 0x4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + 0x4c)" ( (binary_expression "iVar10 + 0x4c" identifier + number_literal) ))))) )) (argument_list "(iVar10,uVar9)" ( identifier , identifier )))) ;) (expression_statement "uVar14 = *(undefined4 *)(iVar13 + 0x50);" (assignment_expression "uVar14 = *(undefined4 *)(iVar13 + 0x50)" identifier = (pointer_expression "*(undefined4 *)(iVar13 + 0x50)" * (cast_expression "(undefined4 *)(iVar13 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x50)" ( (binary_expression "iVar13 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));" (assignment_expression "local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48))" identifier = (call_expression "FUN_000c3260(*(undefined4 *)(iVar10 + 0x48))" identifier (argument_list "(*(undefined4 *)(iVar10 + 0x48))" ( (pointer_expression "*(undefined4 *)(iVar10 + 0x48)" * (cast_expression "(undefined4 *)(iVar10 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x48)" ( (binary_expression "iVar10 + 0x48" identifier + number_literal) )))) )))) ;) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" identifier = identifier) ;) (if_statement "if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }" if (parenthesized_expression "(local_4c == 0)" ( (binary_expression "local_4c == 0" identifier == number_literal) )) (compound_statement "{\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }" { (expression_statement "FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);" (call_expression "FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c)" identifier (argument_list "(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c)" ( identifier , identifier , (binary_expression "uVar9 - 4" identifier - number_literal) , (binary_expression "iVar16 + 4" identifier + number_literal) , identifier , identifier , (pointer_expression "&local_4c" & identifier) ))) ;) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" identifier = identifier) ;) (if_statement "if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;" if (parenthesized_expression "((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0))" ( (binary_expression "(local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)" (parenthesized_expression "(local_4c == 0)" ( (binary_expression "local_4c == 0" identifier == number_literal) )) && (parenthesized_expression "((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)" ( (comma_expression "(*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0" (call_expression "(*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c)" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c)" ( identifier , (binary_expression "*(ushort *)(iVar10 + 0x16) - 1" (pointer_expression "*(ushort *)(iVar10 + 0x16)" * (cast_expression "(ushort *)(iVar10 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x16)" ( (binary_expression "iVar10 + 0x16" identifier + number_literal) )))) - number_literal) , identifier , (pointer_expression "&local_4c" & identifier) ))) , (comma_expression "iVar3 = local_4c, local_4c == 0" (assignment_expression "iVar3 = local_4c" identifier = identifier) , (binary_expression "local_4c == 0" identifier == number_literal))) ))) )) (goto_statement "goto LAB_000d09a8;" goto statement_identifier ;)) })) }))) }) (else_clause "else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }" else (compound_statement "{\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }" { (labeled_statement "LAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);" statement_identifier : (expression_statement "local_4c = FUN_000ccf80(param_1);" (assignment_expression "local_4c = FUN_000ccf80(param_1)" identifier = (call_expression "FUN_000ccf80(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;)) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" identifier = identifier) ;) (if_statement "if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }" if (parenthesized_expression "(local_4c == 0)" ( (binary_expression "local_4c == 0" identifier == number_literal) )) (compound_statement "{\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }" { (if_statement "if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }" if (parenthesized_expression "(iVar12 < (char)param_1[0x44])" ( (binary_expression "iVar12 < (char)param_1[0x44]" identifier < (cast_expression "(char)param_1[0x44]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "param_1[0x44]" identifier [ number_literal ]))) )) (compound_statement "{\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }" { (expression_statement "pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);" (assignment_expression "pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8)" identifier = (cast_expression "(code *)(PTR_LAB_00190b40 + 0xee8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190b40 + 0xee8)" ( (binary_expression "PTR_LAB_00190b40 + 0xee8" identifier + number_literal) )))) ;) (expression_statement "(*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));" (call_expression "(*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48))" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48))" ( (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48)" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x74) + 0x48)" ( (binary_expression "*(int *)(param_1 + 0x74) + 0x48" (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) + number_literal) )))) ))) ;) (expression_statement "cVar4 = param_1[0x44] + -1;" (assignment_expression "cVar4 = param_1[0x44] + -1" identifier = (binary_expression "param_1[0x44] + -1" (subscript_expression "param_1[0x44]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "param_1[0x44] = cVar4;" (assignment_expression "param_1[0x44] = cVar4" (subscript_expression "param_1[0x44]" identifier [ number_literal ]) = identifier) ;) (do_statement "do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );" do (compound_statement "{\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                }" { (expression_statement "iVar10 = (int)cVar4;" (assignment_expression "iVar10 = (int)cVar4" identifier = (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);" (assignment_expression "piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4)" identifier = (cast_expression "(int *)(param_1 + (iVar10 + 0x1e) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (iVar10 + 0x1e) * 4)" ( (binary_expression "param_1 + (iVar10 + 0x1e) * 4" identifier + (binary_expression "(iVar10 + 0x1e) * 4" (parenthesized_expression "(iVar10 + 0x1e)" ( (binary_expression "iVar10 + 0x1e" identifier + number_literal) )) * number_literal)) )))) ;) (do_statement "do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);" do (compound_statement "{\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  }" { (expression_statement "iVar13 = *piVar7;" (assignment_expression "iVar13 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (if_statement "if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }" if (parenthesized_expression "(iVar10 <= iVar12)" ( (binary_expression "iVar10 <= iVar12" identifier <= identifier) )) (compound_statement "{\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }" { (expression_statement "*(int *)(param_1 + 0x74) = iVar13;" (assignment_expression "*(int *)(param_1 + 0x74) = iVar13" (pointer_expression "*(int *)(param_1 + 0x74)" * (cast_expression "(int *)(param_1 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x74)" ( (binary_expression "param_1 + 0x74" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = FUN_000ccf80(param_1);" (assignment_expression "iVar3 = FUN_000ccf80(param_1)" identifier = (call_expression "FUN_000ccf80(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "local_4c = iVar3;" (assignment_expression "local_4c = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) goto LAB_000d09d8;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000d09d8;" goto statement_identifier ;)) (goto_statement "goto LAB_000d078c;" goto statement_identifier ;) })) (expression_statement "cVar4 = (char)iVar10 + -1;" (assignment_expression "cVar4 = (char)iVar10 + -1" identifier = (binary_expression "(char)iVar10 + -1" (cast_expression "(char)iVar10" ( (type_descriptor "char" primitive_type) ) identifier) + number_literal)) ;) (expression_statement "piVar7 = piVar7 + -1;" (assignment_expression "piVar7 = piVar7 + -1" identifier = (binary_expression "piVar7 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = (int)cVar4;" (assignment_expression "iVar10 = (int)cVar4" identifier = (cast_expression "(int)cVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[0x44] = cVar4;" (assignment_expression "param_1[0x44] = cVar4" (subscript_expression "param_1[0x44]" identifier [ number_literal ]) = identifier) ;) }) while (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) ;) (expression_statement "(*pcVar17)(*(undefined4 *)(iVar13 + 0x48));" (call_expression "(*pcVar17)(*(undefined4 *)(iVar13 + 0x48))" (parenthesized_expression "(*pcVar17)" ( (pointer_expression "*pcVar17" * identifier) )) (argument_list "(*(undefined4 *)(iVar13 + 0x48))" ( (pointer_expression "*(undefined4 *)(iVar13 + 0x48)" * (cast_expression "(undefined4 *)(iVar13 + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x48)" ( (binary_expression "iVar13 + 0x48" identifier + number_literal) )))) ))) ;) (expression_statement "cVar4 = param_1[0x44];" (assignment_expression "cVar4 = param_1[0x44]" identifier = (subscript_expression "param_1[0x44]" identifier [ number_literal ])) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (labeled_statement "LAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }" statement_identifier : (if_statement "if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }" { (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" identifier = identifier) ;) (if_statement "if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }" if (parenthesized_expression "(uVar11 < *(ushort *)(iVar15 + 0x16))" ( (binary_expression "uVar11 < *(ushort *)(iVar15 + 0x16)" identifier < (pointer_expression "*(ushort *)(iVar15 + 0x16)" * (cast_expression "(ushort *)(iVar15 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x16)" ( (binary_expression "iVar15 + 0x16" identifier + number_literal) ))))) )) (compound_statement "{\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }" { (expression_statement "*(undefined4 *)(param_1 + 4) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 1" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }" else (compound_statement "{\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }" { (expression_statement "*(undefined4 *)(param_1 + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;" (assignment_expression "*(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1" (pointer_expression "*(short *)(param_1 + 0x46)" * (cast_expression "(short *)(param_1 + 0x46)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x46)" ( (binary_expression "param_1 + 0x46" identifier + number_literal) )))) = (binary_expression "*(short *)(iVar15 + 0x16) + -1" (pointer_expression "*(short *)(iVar15 + 0x16)" * (cast_expression "(short *)(iVar15 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 0x16)" ( (binary_expression "iVar15 + 0x16" identifier + number_literal) )))) + number_literal)) ;) }))) }) (else_clause "else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }" else (compound_statement "{\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }" { (expression_statement "local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);" (assignment_expression "local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1)" identifier = (call_expression "(*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + -0x222c))" ( (pointer_expression "*(code *)(PTR_LAB_00190bdc + -0x222c)" * (cast_expression "(code *)(PTR_LAB_00190bdc + -0x222c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190bdc + -0x222c)" ( (binary_expression "PTR_LAB_00190bdc + -0x222c" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }" if (parenthesized_expression "((param_2 & 2) != 0)" ( (binary_expression "(param_2 & 2) != 0" (parenthesized_expression "(param_2 & 2)" ( (binary_expression "param_2 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }" { (expression_statement "(*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x788c))" ( (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x788c)" * (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x788c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190ba8 + 0x788c)" ( (binary_expression "PTR_LAB_00190ba8 + 0x788c" identifier + number_literal) )))) )) (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*param_1 = 3;" (assignment_expression "*param_1 = 3" (pointer_expression "*param_1" * identifier) = number_literal) ;) })) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" identifier = identifier) ;) (if_statement "if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }" if (parenthesized_expression "(local_4c == 0x10)" ( (binary_expression "local_4c == 0x10" identifier == number_literal) )) (compound_statement "{\n                  iVar3 = 0;\n                }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) })) })))) })) }))) })) })) }))) }))) (labeled_statement "LAB_000d078c:\n  if (local_2c == *(byte **)puVar18) {\n    return iVar3;\n  }" statement_identifier : (if_statement "if (local_2c == *(byte **)puVar18) {\n    return iVar3;\n  }" if (parenthesized_expression "(local_2c == *(byte **)puVar18)" ( (binary_expression "local_2c == *(byte **)puVar18" identifier == (pointer_expression "*(byte **)puVar18" * (cast_expression "(byte **)puVar18" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) }))) (expression_statement "pbVar8 = local_2c;" (assignment_expression "pbVar8 = local_2c" identifier = identifier) ;) (expression_statement "puVar18 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar18 = PTR___stack_chk_fail_00190df8" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" * (cast_expression "(code *)PTR___stack_chk_fail_00190df8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "bVar5 = *pbVar8;" (assignment_expression "bVar5 = *pbVar8" identifier = (pointer_expression "*pbVar8" * identifier)) ;) (if_statement "if (bVar5 != 0) {\n    if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }\n    if (bVar5 == 1) {\n      return 0x65;\n    }\n    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }\n  }" if (parenthesized_expression "(bVar5 != 0)" ( (binary_expression "bVar5 != 0" identifier != number_literal) )) (compound_statement "{\n    if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }\n    if (bVar5 == 1) {\n      return 0x65;\n    }\n    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }\n  }" { (if_statement "if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }" if (parenthesized_expression "(2 < bVar5)" ( (binary_expression "2 < bVar5" number_literal < identifier) )) (compound_statement "{\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }" { (if_statement "if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }" if (parenthesized_expression "(bVar5 == 4)" ( (binary_expression "bVar5 == 4" identifier == number_literal) )) (compound_statement "{\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }" { (if_statement "if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }" if (parenthesized_expression "(*(int *)(pbVar8 + 4) != 0)" ( (binary_expression "*(int *)(pbVar8 + 4) != 0" (pointer_expression "*(int *)(pbVar8 + 4)" * (cast_expression "(int *)(pbVar8 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 4)" ( (binary_expression "pbVar8 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n          return *(int *)(pbVar8 + 4);\n        }" { (return_statement "return *(int *)(pbVar8 + 4);" return (pointer_expression "*(int *)(pbVar8 + 4)" * (cast_expression "(int *)(pbVar8 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 4)" ( (binary_expression "pbVar8 + 4" identifier + number_literal) )))) ;) })) (goto_statement "goto LAB_000d0c34;" goto statement_identifier ;) })) (expression_statement "iVar10 = FUN_000d0344();" (assignment_expression "iVar10 = FUN_000d0344()" identifier = (call_expression "FUN_000d0344()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar10 != 0) {\n        return iVar10;\n      }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n        return iVar10;\n      }" { (return_statement "return iVar10;" return identifier ;) })) (expression_statement "bVar5 = *pbVar8;" (assignment_expression "bVar5 = *pbVar8" identifier = (pointer_expression "*pbVar8" * identifier)) ;) })) (if_statement "if (bVar5 == 1) {\n      return 0x65;\n    }" if (parenthesized_expression "(bVar5 == 1)" ( (binary_expression "bVar5 == 1" identifier == number_literal) )) (compound_statement "{\n      return 0x65;\n    }" { (return_statement "return 0x65;" return number_literal ;) })) (if_statement "if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }" if (parenthesized_expression "((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4)))" ( (binary_expression "(bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))" (parenthesized_expression "(bVar5 == 2)" ( (binary_expression "bVar5 == 2" identifier == number_literal) )) && (parenthesized_expression "(*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))" ( (comma_expression "*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4)" (assignment_expression "*pbVar8 = 0" (pointer_expression "*pbVar8" * identifier) = number_literal) , (binary_expression "0 < *(int *)(pbVar8 + 4)" number_literal < (pointer_expression "*(int *)(pbVar8 + 4)" * (cast_expression "(int *)(pbVar8 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 4)" ( (binary_expression "pbVar8 + 4" identifier + number_literal) )))))) ))) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (labeled_statement "LAB_000d0c34:\n  sVar1 = *(short *)(pbVar8 + 0x46);" statement_identifier : (expression_statement "sVar1 = *(short *)(pbVar8 + 0x46);" (assignment_expression "sVar1 = *(short *)(pbVar8 + 0x46)" identifier = (pointer_expression "*(short *)(pbVar8 + 0x46)" * (cast_expression "(short *)(pbVar8 + 0x46)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 0x46)" ( (binary_expression "pbVar8 + 0x46" identifier + number_literal) ))))) ;)) (expression_statement "pcVar6 = *(char **)(pbVar8 + 0x74);" (assignment_expression "pcVar6 = *(char **)(pbVar8 + 0x74)" identifier = (pointer_expression "*(char **)(pbVar8 + 0x74)" * (cast_expression "(char **)(pbVar8 + 0x74)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pbVar8 + 0x74)" ( (binary_expression "pbVar8 + 0x74" identifier + number_literal) ))))) ;) (expression_statement "*(ushort *)(pbVar8 + 0x46) = sVar1 + 1U;" (assignment_expression "*(ushort *)(pbVar8 + 0x46) = sVar1 + 1U" (pointer_expression "*(ushort *)(pbVar8 + 0x46)" * (cast_expression "(ushort *)(pbVar8 + 0x46)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 0x46)" ( (binary_expression "pbVar8 + 0x46" identifier + number_literal) )))) = (binary_expression "sVar1 + 1U" identifier + number_literal)) ;) (if_statement "if (*pcVar6 == '\0') {\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar10 = 0xb;\n  }\n  else {\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }" if (parenthesized_expression "(*pcVar6 == '\0')" ( (binary_expression "*pcVar6 == '\0'" (pointer_expression "*pcVar6" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar10 = 0xb;\n  }" { (expression_statement "(**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);" (call_expression "(**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c)" (parenthesized_expression "(**(code **)(puVar18 + 0xbfff8))" ( (pointer_expression "**(code **)(puVar18 + 0xbfff8)" * (pointer_expression "*(code **)(puVar18 + 0xbfff8)" * (cast_expression "(code **)(puVar18 + 0xbfff8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar18 + 0xbfff8)" ( (binary_expression "puVar18 + 0xbfff8" identifier + number_literal) ))))) )) (argument_list "(0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c)" ( number_literal , (binary_expression "*(int *)(puVar18 + 0xbfd74) + -0x6378" (pointer_expression "*(int *)(puVar18 + 0xbfd74)" * (cast_expression "(int *)(puVar18 + 0xbfd74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfd74)" ( (binary_expression "puVar18 + 0xbfd74" identifier + number_literal) )))) + number_literal) , (binary_expression "*(int *)(puVar18 + 0xbfd74) + -0x5e64" (pointer_expression "*(int *)(puVar18 + 0xbfd74)" * (cast_expression "(int *)(puVar18 + 0xbfd74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfd74)" ( (binary_expression "puVar18 + 0xbfd74" identifier + number_literal) )))) + number_literal) , number_literal , (binary_expression "*(int *)(puVar18 + 0xbfd70) + 0x625c" (pointer_expression "*(int *)(puVar18 + 0xbfd70)" * (cast_expression "(int *)(puVar18 + 0xbfd70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfd70)" ( (binary_expression "puVar18 + 0xbfd70" identifier + number_literal) )))) + number_literal) ))) ;) (expression_statement "iVar10 = 0xb;" (assignment_expression "iVar10 = 0xb" identifier = number_literal) ;) }) (else_clause "else {\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }" else (compound_statement "{\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }" { (if_statement "if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }" if (parenthesized_expression "((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16))" ( (binary_expression "(ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)" (call_expression "(ushort)(sVar1 + 1U)" (parenthesized_expression "(ushort)" ( identifier )) (argument_list "(sVar1 + 1U)" ( (binary_expression "sVar1 + 1U" identifier + number_literal) ))) < (pointer_expression "*(ushort *)(pcVar6 + 0x16)" * (cast_expression "(ushort *)(pcVar6 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x16)" ( (binary_expression "pcVar6 + 0x16" identifier + number_literal) ))))) )) (compound_statement "{\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }" { (expression_statement "iVar10 = *(int *)(puVar18 + 0xbfff4);" (assignment_expression "iVar10 = *(int *)(puVar18 + 0xbfff4)" identifier = (pointer_expression "*(int *)(puVar18 + 0xbfff4)" * (cast_expression "(int *)(puVar18 + 0xbfff4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfff4)" ( (binary_expression "puVar18 + 0xbfff4" identifier + number_literal) ))))) ;) (if_statement "if (pcVar6[8] == '\0') goto LAB_000d0d4c;" if (parenthesized_expression "(pcVar6[8] == '\0')" ( (binary_expression "pcVar6[8] == '\0'" (subscript_expression "pcVar6[8]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000d0d4c;" goto statement_identifier ;)) }) (else_clause "else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }" else (compound_statement "{\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }" { (expression_statement "iVar10 = *(int *)(puVar18 + 0xbff58);" (assignment_expression "iVar10 = *(int *)(puVar18 + 0xbff58)" identifier = (pointer_expression "*(int *)(puVar18 + 0xbff58)" * (cast_expression "(int *)(puVar18 + 0xbff58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbff58)" ( (binary_expression "puVar18 + 0xbff58" identifier + number_literal) ))))) ;) (if_statement "if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }" if (parenthesized_expression "(pcVar6[8] == '\0')" ( (binary_expression "pcVar6[8] == '\0'" (subscript_expression "pcVar6[8]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }" { (expression_statement "iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));" (assignment_expression "iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8))" identifier = (call_expression "(*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8))" (parenthesized_expression "(*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))" ( (pointer_expression "*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c)" * (cast_expression "(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar18 + 0xbfff4) + -0x243c)" ( (binary_expression "*(int *)(puVar18 + 0xbfff4) + -0x243c" (pointer_expression "*(int *)(puVar18 + 0xbfff4)" * (cast_expression "(int *)(puVar18 + 0xbfff4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfff4)" ( (binary_expression "puVar18 + 0xbfff4" identifier + number_literal) )))) + number_literal) )))) )) (argument_list "(pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8))" ( identifier , (pointer_expression "*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8)" * (cast_expression "(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8)" ( (binary_expression "*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8" (binary_expression "*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9]" (pointer_expression "*(int *)(pcVar6 + 0x38)" * (cast_expression "(int *)(pcVar6 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar6 + 0x38)" ( (binary_expression "pcVar6 + 0x38" identifier + number_literal) )))) + (cast_expression "(uint)(byte)pcVar6[9]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar6[9]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar6[9]" identifier [ number_literal ])))) + number_literal) )))) )))) ;) (if_statement "if (iVar10 != 0) {\n          return iVar10;\n        }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n          return iVar10;\n        }" { (return_statement "return iVar10;" return identifier ;) })) (expression_statement "iVar10 = *(int *)(puVar18 + 0xbfff4);" (assignment_expression "iVar10 = *(int *)(puVar18 + 0xbfff4)" identifier = (pointer_expression "*(int *)(puVar18 + 0xbfff4)" * (cast_expression "(int *)(puVar18 + 0xbfff4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar18 + 0xbfff4)" ( (binary_expression "puVar18 + 0xbfff4" identifier + number_literal) ))))) ;) (labeled_statement "LAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);" statement_identifier : (expression_statement "iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);" (assignment_expression "iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8)" identifier = (call_expression "(*(code *)(iVar10 + -0x22d8))(pbVar8)" (parenthesized_expression "(*(code *)(iVar10 + -0x22d8))" ( (pointer_expression "*(code *)(iVar10 + -0x22d8)" * (cast_expression "(code *)(iVar10 + -0x22d8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + -0x22d8)" ( (binary_expression "iVar10 + -0x22d8" identifier + number_literal) )))) )) (argument_list "(pbVar8)" ( identifier )))) ;)) (return_statement "return iVar10;" return identifier ;) })) (do_statement "do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));" do (compound_statement "{\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      }" { (if_statement "if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }" if (parenthesized_expression "(pbVar8[0x44] == 0)" ( (binary_expression "pbVar8[0x44] == 0" (subscript_expression "pbVar8[0x44]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          *pbVar8 = 1;\n          return 0x65;\n        }" { (expression_statement "*pbVar8 = 1;" (assignment_expression "*pbVar8 = 1" (pointer_expression "*pbVar8" * identifier) = number_literal) ;) (return_statement "return 0x65;" return number_literal ;) })) (expression_statement "(*(code *)(iVar10 + 0x1664))(pbVar8);" (call_expression "(*(code *)(iVar10 + 0x1664))(pbVar8)" (parenthesized_expression "(*(code *)(iVar10 + 0x1664))" ( (pointer_expression "*(code *)(iVar10 + 0x1664)" * (cast_expression "(code *)(iVar10 + 0x1664)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 0x1664)" ( (binary_expression "iVar10 + 0x1664" identifier + number_literal) )))) )) (argument_list "(pbVar8)" ( identifier ))) ;) }) while (parenthesized_expression "(*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46))" ( (binary_expression "*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46)" (pointer_expression "*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16)" * (cast_expression "(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pbVar8 + 0x74) + 0x16)" ( (binary_expression "*(int *)(pbVar8 + 0x74) + 0x16" (pointer_expression "*(int *)(pbVar8 + 0x74)" * (cast_expression "(int *)(pbVar8 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 0x74)" ( (binary_expression "pbVar8 + 0x74" identifier + number_literal) )))) + number_literal) )))) <= (pointer_expression "*(ushort *)(pbVar8 + 0x46)" * (cast_expression "(ushort *)(pbVar8 + 0x46)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 0x46)" ( (binary_expression "pbVar8 + 0x46" identifier + number_literal) ))))) )) ;) (if_statement "if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }" if (parenthesized_expression "(*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0')" ( (binary_expression "*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0'" (pointer_expression "*(char *)(*(int *)(pbVar8 + 0x74) + 2)" * (cast_expression "(char *)(*(int *)(pbVar8 + 0x74) + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pbVar8 + 0x74) + 2)" ( (binary_expression "*(int *)(pbVar8 + 0x74) + 2" (pointer_expression "*(int *)(pbVar8 + 0x74)" * (cast_expression "(int *)(pbVar8 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar8 + 0x74)" ( (binary_expression "pbVar8 + 0x74" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }" { (expression_statement "iVar10 = FUN_000d0de4(pbVar8,0);" (assignment_expression "iVar10 = FUN_000d0de4(pbVar8,0)" identifier = (call_expression "FUN_000d0de4(pbVar8,0)" identifier (argument_list "(pbVar8,0)" ( identifier , number_literal )))) ;) (return_statement "return iVar10;" return identifier ;) })) }))) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) }))) (return_statement "return iVar10;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier short) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) & (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression IDENT = BOOL) ;) (goto_statement goto statement_identifier ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT , IDENT )))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) << LIT) ))) / LIT) ))) <= (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) + LIT) ))))) ))) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT))) ))) )) (compound_statement { (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 IDENT + LIT) )))) == 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 ')) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT + LIT) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * 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 (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT) )) * LIT)) )))) & (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT - LIT) , (binary_expression IDENT + LIT) , IDENT , IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT) , IDENT , (pointer_expression & IDENT) ))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == LIT))) ))) )) (goto_statement goto statement_identifier ;)) })) }))) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (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) )))) = LIT) ;) }) (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) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) })))) })) }))) })) })) }))) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (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) )))) != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression (pointer_expression * IDENT) = LIT) , (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ))) )) (compound_statement { (return_statement return LIT ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) }) (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT )))) ;)) (return_statement return IDENT ;) })) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return LIT ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (return_statement return IDENT ;) })) }))) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int FUN_000d0660(undefined1 *param_1,uint param_2)\n\n{\n  short sVar1;\n  bool bVar2;\n  int iVar3;\n  char cVar4;\n  byte bVar5;\n  char *pcVar6;\n  int *piVar7;\n  byte *pbVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  code *pcVar17;\n  undefined *puVar18;\n  undefined4 local_58;\n  int local_4c;\n  undefined1 auStack_48 [18];\n  undefined2 local_36;\n  byte *local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_00190e24;\n  iVar15 = *(int *)(param_1 + 0x74);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x46);\n  iVar10 = *(int *)(param_1 + 8);\n  local_2c = *(byte **)PTR___stack_chk_guard_00190e24;\n  iVar13 = *(int *)(iVar10 + 4);\n  iVar12 = (int)(char)param_1[0x44];\n  cVar4 = *(char *)(iVar15 + 8);\n  iVar16 = *(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18));\n  if ((param_2 & 2) == 0) {\nLAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);\n    local_4c = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }\n  else {\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\nLAB_000d078c:\n  if (local_2c == *(byte **)puVar18) {\n    return iVar3;\n  }\n  pbVar8 = local_2c;\n  puVar18 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  bVar5 = *pbVar8;\n  if (bVar5 != 0) {\n    if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }\n    if (bVar5 == 1) {\n      return 0x65;\n    }\n    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }\n  }\nLAB_000d0c34:\n  sVar1 = *(short *)(pbVar8 + 0x46);\n  pcVar6 = *(char **)(pbVar8 + 0x74);\n  *(ushort *)(pbVar8 + 0x46) = sVar1 + 1U;\n  if (*pcVar6 == '\0') {\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar10 = 0xb;\n  }\n  else {\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }\n  return iVar10;\n}" (primitive_type "int") (function_declarator "FUN_000d0660(undefined1 *param_1,uint param_2)" (identifier "FUN_000d0660") (parameter_list "(undefined1 *param_1,uint param_2)" (( "(") (parameter_declaration "undefined1 *param_1" (type_identifier "undefined1") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  short sVar1;\n  bool bVar2;\n  int iVar3;\n  char cVar4;\n  byte bVar5;\n  char *pcVar6;\n  int *piVar7;\n  byte *pbVar8;\n  uint uVar9;\n  int iVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  code *pcVar17;\n  undefined *puVar18;\n  undefined4 local_58;\n  int local_4c;\n  undefined1 auStack_48 [18];\n  undefined2 local_36;\n  byte *local_2c;\n  \n  puVar18 = PTR___stack_chk_guard_00190e24;\n  iVar15 = *(int *)(param_1 + 0x74);\n  uVar11 = (uint)*(ushort *)(param_1 + 0x46);\n  iVar10 = *(int *)(param_1 + 8);\n  local_2c = *(byte **)PTR___stack_chk_guard_00190e24;\n  iVar13 = *(int *)(iVar10 + 4);\n  iVar12 = (int)(char)param_1[0x44];\n  cVar4 = *(char *)(iVar15 + 8);\n  iVar16 = *(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18));\n  if ((param_2 & 2) == 0) {\nLAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);\n    local_4c = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }\n  else {\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\nLAB_000d078c:\n  if (local_2c == *(byte **)puVar18) {\n    return iVar3;\n  }\n  pbVar8 = local_2c;\n  puVar18 = PTR___stack_chk_fail_00190df8;\n  (*(code *)PTR___stack_chk_fail_00190df8)();\n  bVar5 = *pbVar8;\n  if (bVar5 != 0) {\n    if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }\n    if (bVar5 == 1) {\n      return 0x65;\n    }\n    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }\n  }\nLAB_000d0c34:\n  sVar1 = *(short *)(pbVar8 + 0x46);\n  pcVar6 = *(char **)(pbVar8 + 0x74);\n  *(ushort *)(pbVar8 + 0x46) = sVar1 + 1U;\n  if (*pcVar6 == '\0') {\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar10 = 0xb;\n  }\n  else {\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }\n  return iVar10;\n}" ({ "{") (declaration "short sVar1;" (sized_type_specifier "short" (short "short")) (identifier "sVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char cVar4;" (primitive_type "char") (identifier "cVar4") (; ";")) (declaration "byte bVar5;" (type_identifier "byte") (identifier "bVar5") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "byte *pbVar8;" (type_identifier "byte") (pointer_declarator "*pbVar8" (* "*") (identifier "pbVar8")) (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "undefined4 uVar14;" (type_identifier "undefined4") (identifier "uVar14") (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "int iVar16;" (primitive_type "int") (identifier "iVar16") (; ";")) (declaration "code *pcVar17;" (type_identifier "code") (pointer_declarator "*pcVar17" (* "*") (identifier "pcVar17")) (; ";")) (declaration "undefined *puVar18;" (type_identifier "undefined") (pointer_declarator "*puVar18" (* "*") (identifier "puVar18")) (; ";")) (declaration "undefined4 local_58;" (type_identifier "undefined4") (identifier "local_58") (; ";")) (declaration "int local_4c;" (primitive_type "int") (identifier "local_4c") (; ";")) (declaration "undefined1 auStack_48 [18];" (type_identifier "undefined1") (array_declarator "auStack_48 [18]" (identifier "auStack_48") ([ "[") (number_literal "18") (] "]")) (; ";")) (declaration "undefined2 local_36;" (type_identifier "undefined2") (identifier "local_36") (; ";")) (declaration "byte *local_2c;" (type_identifier "byte") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (expression_statement "puVar18 = PTR___stack_chk_guard_00190e24;" (assignment_expression "puVar18 = PTR___stack_chk_guard_00190e24" (identifier "puVar18") (= "=") (identifier "PTR___stack_chk_guard_00190e24")) (; ";")) (expression_statement "iVar15 = *(int *)(param_1 + 0x74);" (assignment_expression "iVar15 = *(int *)(param_1 + 0x74)" (identifier "iVar15") (= "=") (pointer_expression "*(int *)(param_1 + 0x74)" (* "*") (cast_expression "(int *)(param_1 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x74)" (( "(") (binary_expression "param_1 + 0x74" (identifier "param_1") (+ "+") (number_literal "0x74")) () ")"))))) (; ";")) (expression_statement "uVar11 = (uint)*(ushort *)(param_1 + 0x46);" (assignment_expression "uVar11 = (uint)*(ushort *)(param_1 + 0x46)" (identifier "uVar11") (= "=") (binary_expression "(uint)*(ushort *)(param_1 + 0x46)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(ushort *)(param_1 + 0x46)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x46)" (( "(") (binary_expression "param_1 + 0x46" (identifier "param_1") (+ "+") (number_literal "0x46")) () ")"))))) (; ";")) (expression_statement "iVar10 = *(int *)(param_1 + 8);" (assignment_expression "iVar10 = *(int *)(param_1 + 8)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "local_2c = *(byte **)PTR___stack_chk_guard_00190e24;" (assignment_expression "local_2c = *(byte **)PTR___stack_chk_guard_00190e24" (identifier "local_2c") (= "=") (pointer_expression "*(byte **)PTR___stack_chk_guard_00190e24" (* "*") (cast_expression "(byte **)PTR___stack_chk_guard_00190e24" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_00190e24")))) (; ";")) (expression_statement "iVar13 = *(int *)(iVar10 + 4);" (assignment_expression "iVar13 = *(int *)(iVar10 + 4)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(iVar10 + 4)" (* "*") (cast_expression "(int *)(iVar10 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4)" (( "(") (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar12 = (int)(char)param_1[0x44];" (assignment_expression "iVar12 = (int)(char)param_1[0x44]" (identifier "iVar12") (= "=") (cast_expression "(int)(char)param_1[0x44]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(char)param_1[0x44]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_1[0x44]" (identifier "param_1") ([ "[") (number_literal "0x44") (] "]"))))) (; ";")) (expression_statement "cVar4 = *(char *)(iVar15 + 8);" (assignment_expression "cVar4 = *(char *)(iVar15 + 8)" (identifier "cVar4") (= "=") (pointer_expression "*(char *)(iVar15 + 8)" (* "*") (cast_expression "(char *)(iVar15 + 8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 8)" (( "(") (binary_expression "iVar15 + 8" (identifier "iVar15") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar16 = *(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18));" (assignment_expression "iVar16 = *(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18))" (identifier "iVar16") (= "=") (binary_expression "*(int *)(iVar15 + 0x38) +\n           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18))" (pointer_expression "*(int *)(iVar15 + 0x38)" (* "*") (cast_expression "(int *)(iVar15 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 0x38)" (( "(") (binary_expression "iVar15 + 0x38" (identifier "iVar15") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (call_expression "(uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18))" (( "(") (binary_expression "*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18)" (pointer_expression "*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2)" (* "*") (cast_expression "(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar15 + 0x40) + uVar11 * 2)" (( "(") (binary_expression "*(int *)(iVar15 + 0x40) + uVar11 * 2" (pointer_expression "*(int *)(iVar15 + 0x40)" (* "*") (cast_expression "(int *)(iVar15 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 0x40)" (( "(") (binary_expression "iVar15 + 0x40" (identifier "iVar15") (+ "+") (number_literal "0x40")) () ")")))) (+ "+") (binary_expression "uVar11 * 2" (identifier "uVar11") (* "*") (number_literal "2"))) () ")")))) (& "&") (pointer_expression "*(ushort *)(iVar15 + 0x18)" (* "*") (cast_expression "(ushort *)(iVar15 + 0x18)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 0x18)" (( "(") (binary_expression "iVar15 + 0x18" (identifier "iVar15") (+ "+") (number_literal "0x18")) () ")"))))) () ")"))))) (; ";")) (if_statement "if ((param_2 & 2) == 0) {\nLAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);\n    local_4c = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }\n  else {\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "((param_2 & 2) == 0)" (( "(") (binary_expression "(param_2 & 2) == 0" (parenthesized_expression "(param_2 & 2)" (( "(") (binary_expression "param_2 & 2" (identifier "param_2") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }\nLAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);\n    local_4c = iVar3;\n    if (iVar3 == 0) goto LAB_000d07fc;\n  }" ({ "{") (labeled_statement "LAB_000d07f4:\n    if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }" (statement_identifier "LAB_000d07f4") (: ":") (if_statement "if (cVar4 != '\0') {\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }" (if "if") (parenthesized_expression "(cVar4 != '\0')" (( "(") (binary_expression "cVar4 != '\0'" (identifier "cVar4") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\nLAB_000d07fc:\n      bVar5 = param_1[1];\n      bVar2 = false;\n      goto joined_r0x000d0804;\n    }" ({ "{") (labeled_statement "LAB_000d07fc:\n      bVar5 = param_1[1];" (statement_identifier "LAB_000d07fc") (: ":") (expression_statement "bVar5 = param_1[1];" (assignment_expression "bVar5 = param_1[1]" (identifier "bVar5") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (goto_statement "goto joined_r0x000d0804;" (goto "goto") (statement_identifier "joined_r0x000d0804") (; ";")) (} "}")))) (labeled_statement "LAB_000d0a14:\n    iVar3 = FUN_000d0604(param_1,0);" (statement_identifier "LAB_000d0a14") (: ":") (expression_statement "iVar3 = FUN_000d0604(param_1,0);" (assignment_expression "iVar3 = FUN_000d0604(param_1,0)" (identifier "iVar3") (= "=") (call_expression "FUN_000d0604(param_1,0)" (identifier "FUN_000d0604") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")")))) (; ";"))) (expression_statement "local_4c = iVar3;" (assignment_expression "local_4c = iVar3" (identifier "local_4c") (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (iVar3 == 0) goto LAB_000d07fc;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000d07fc;" (goto "goto") (statement_identifier "LAB_000d07fc") (; ";"))) (} "}")) (else_clause "else {\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" (else "else") (compound_statement "{\n    if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }\n    bVar2 = true;\n    bVar5 = param_1[1];\njoined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }" ({ "{") (if_statement "if (((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }" (if "if") (parenthesized_expression "(((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1))" (( "(") (binary_expression "((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)" (parenthesized_expression "((cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1)))" (( "(") (binary_expression "(cVar4 == '\0') ||\n        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))" (parenthesized_expression "(cVar4 == '\0')" (( "(") (binary_expression "cVar4 == '\0'" (identifier "cVar4") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))" (( "(") (comma_expression "iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),\n        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1)" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16)" (identifier "iVar3") (= "=") (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x1310))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x1310)" (* "*") (cast_expression "(code *)(PTR_LAB_00190b40 + 0x1310)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190b40 + 0x1310)" (( "(") (binary_expression "PTR_LAB_00190b40 + 0x1310" (identifier "PTR_LAB_00190b40") (+ "+") (number_literal "0x1310")) () ")")))) () ")")) (argument_list "(iVar15,iVar16)" (( "(") (identifier "iVar15") (, ",") (identifier "iVar16") () ")")))) (, ",") (binary_expression "(int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=\n        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1)" (cast_expression "(int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)(*(int *)(iVar13 + 0x24) << 1) / 3)" (( "(") (binary_expression "(uint)(*(int *)(iVar13 + 0x24) << 1) / 3" (call_expression "(uint)(*(int *)(iVar13 + 0x24) << 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(iVar13 + 0x24) << 1)" (( "(") (binary_expression "*(int *)(iVar13 + 0x24) << 1" (pointer_expression "*(int *)(iVar13 + 0x24)" (* "*") (cast_expression "(int *)(iVar13 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x24)" (( "(") (binary_expression "iVar13 + 0x24" (identifier "iVar13") (+ "+") (number_literal "0x24")) () ")")))) (<< "<<") (number_literal "1")) () ")"))) (/ "/") (number_literal "3")) () ")"))) (<= "<=") (cast_expression "(int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1)" (( "(") (binary_expression "(uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1" (binary_expression "(uint)*(ushort *)(iVar15 + 0x14) + iVar3" (binary_expression "(uint)*(ushort *)(iVar15 + 0x14)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(ushort *)(iVar15 + 0x14)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 0x14)" (( "(") (binary_expression "iVar15 + 0x14" (identifier "iVar15") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (identifier "iVar3")) (+ "+") (number_literal "1")) () ")"))))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(*(short *)(iVar15 + 0x16) == 1)" (( "(") (binary_expression "*(short *)(iVar15 + 0x16) == 1" (pointer_expression "*(short *)(iVar15 + 0x16)" (* "*") (cast_expression "(short *)(iVar15 + 0x16)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 0x16)" (( "(") (binary_expression "iVar15 + 0x16" (identifier "iVar15") (+ "+") (number_literal "0x16")) () ")")))) (== "==") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n      if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }\n      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);\n      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);\n      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);\n      local_4c = 0;\n      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;\n      goto LAB_000d07fc;\n    }" ({ "{") (if_statement "if (param_1[0x45] == '\0') {\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }" (if "if") (parenthesized_expression "(param_1[0x45] == '\0')" (( "(") (binary_expression "param_1[0x45] == '\0'" (subscript_expression "param_1[0x45]" (identifier "param_1") ([ "[") (number_literal "0x45") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar3 = FUN_000ce0d8();\n        local_4c = iVar3;\n        if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }\n        goto LAB_000d078c;\n      }" ({ "{") (expression_statement "iVar3 = FUN_000ce0d8();" (assignment_expression "iVar3 = FUN_000ce0d8()" (identifier "iVar3") (= "=") (call_expression "FUN_000ce0d8()" (identifier "FUN_000ce0d8") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_4c = iVar3;" (assignment_expression "local_4c = iVar3" (identifier "local_4c") (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (iVar3 == 0) {\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          cVar4 = *(char *)(iVar15 + 8);\n          local_4c = 0;\n          goto LAB_000d07f4;\n        }" ({ "{") (expression_statement "cVar4 = *(char *)(iVar15 + 8);" (assignment_expression "cVar4 = *(char *)(iVar15 + 8)" (identifier "cVar4") (= "=") (pointer_expression "*(char *)(iVar15 + 8)" (* "*") (cast_expression "(char *)(iVar15 + 8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 8)" (( "(") (binary_expression "iVar15 + 8" (identifier "iVar15") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" (identifier "local_4c") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000d07f4;" (goto "goto") (statement_identifier "LAB_000d07f4") (; ";")) (} "}"))) (goto_statement "goto LAB_000d078c;" (goto "goto") (statement_identifier "LAB_000d078c") (; ";")) (} "}"))) (expression_statement "(*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);" (call_expression "(*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190b40 + 0x1604))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190b40 + 0x1604)" (* "*") (cast_expression "(code *)(PTR_LAB_00190b40 + 0x1604)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190b40 + 0x1604)" (( "(") (binary_expression "PTR_LAB_00190b40 + 0x1604" (identifier "PTR_LAB_00190b40") (+ "+") (number_literal "0x1604")) () ")")))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);" (assignment_expression "*(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24)" (pointer_expression "*(undefined4 *)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x24)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);" (assignment_expression "*(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20)" (pointer_expression "*(undefined4 *)(param_1 + 0x38)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" (identifier "local_4c") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;" (if "if") (parenthesized_expression "(*(char *)(iVar15 + 8) == '\0')" (( "(") (binary_expression "*(char *)(iVar15 + 8) == '\0'" (pointer_expression "*(char *)(iVar15 + 8)" (* "*") (cast_expression "(char *)(iVar15 + 8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 8)" (( "(") (binary_expression "iVar15 + 8" (identifier "iVar15") (+ "+") (number_literal "8")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_000d0a14;" (goto "goto") (statement_identifier "LAB_000d0a14") (; ";"))) (goto_statement "goto LAB_000d07fc;" (goto "goto") (statement_identifier "LAB_000d07fc") (; ";")) (} "}"))) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" (identifier "bVar2") (= "=") (true "true")) (; ";")) (expression_statement "bVar5 = param_1[1];" (assignment_expression "bVar5 = param_1[1]" (identifier "bVar5") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (labeled_statement "joined_r0x000d0804:\n    if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" (statement_identifier "joined_r0x000d0804") (: ":") (if_statement "if (((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)) {\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" (if "if") (parenthesized_expression "(((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0))" (( "(") (binary_expression "((bVar5 & 0x20) == 0) ||\n       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)" (parenthesized_expression "((bVar5 & 0x20) == 0)" (( "(") (binary_expression "(bVar5 & 0x20) == 0" (parenthesized_expression "(bVar5 & 0x20)" (( "(") (binary_expression "bVar5 & 0x20" (identifier "bVar5") (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0)" (( "(") (comma_expression "local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)\n       , iVar3 = local_4c, local_4c == 0" (assignment_expression "local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)" (identifier "local_4c") (= "=") (call_expression "FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)" (identifier "FUN_000ce3b8") (argument_list "(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)" (( "(") (pointer_expression "*(undefined4 *)(iVar13 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 8)" (( "(") (binary_expression "iVar13 + 8" (identifier "iVar13") (+ "+") (number_literal "8")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x40)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (, ",") (identifier "param_1") () ")")))) (, ",") (comma_expression "iVar3 = local_4c, local_4c == 0" (assignment_expression "iVar3 = local_4c" (identifier "iVar3") (= "=") (identifier "local_4c")) (, ",") (binary_expression "local_4c == 0" (identifier "local_4c") (== "==") (number_literal "0")))) () ")"))) () ")")) (compound_statement "{\n      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }\n      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));\n      iVar3 = local_4c;\n      if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }\n    }" ({ "{") (if_statement "if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0'))" (( "(") (binary_expression "(*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')" (parenthesized_expression "(*(int *)(param_1 + 0x70) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x70) == 0" (pointer_expression "*(int *)(param_1 + 0x70)" (* "*") (cast_expression "(int *)(param_1 + 0x70)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x70)" (( "(") (binary_expression "param_1 + 0x70" (identifier "param_1") (+ "+") (number_literal "0x70")) () ")")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(iVar10 + 0xb) != '\0')" (( "(") (binary_expression "*(char *)(iVar10 + 0xb) != '\0'" (pointer_expression "*(char *)(iVar10 + 0xb)" (* "*") (cast_expression "(char *)(iVar10 + 0xb)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0xb)" (( "(") (binary_expression "iVar10 + 0xb" (identifier "iVar10") (+ "+") (number_literal "0xb")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        (*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));\n      }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));" (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7804))\n                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40))" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x7804))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x7804)" (* "*") (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x7804)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190ba8 + 0x7804)" (( "(") (binary_expression "PTR_LAB_00190ba8 + 0x7804" (identifier "PTR_LAB_00190ba8") (+ "+") (number_literal "0x7804")) () ")")))) () ")")) (argument_list "(*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40))" (( "(") (pointer_expression "*(undefined4 *)(iVar10 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4)" (( "(") (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) () ")")))) (, ",") (binary_expression "iVar10 + 0xb" (identifier "iVar10") (+ "+") (number_literal "0xb")) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x40)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));" (assignment_expression "local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48))" (identifier "local_4c") (= "=") (call_expression "FUN_000c3260(*(undefined4 *)(iVar15 + 0x48))" (identifier "FUN_000c3260") (argument_list "(*(undefined4 *)(iVar15 + 0x48))" (( "(") (pointer_expression "*(undefined4 *)(iVar15 + 0x48)" (* "*") (cast_expression "(undefined4 *)(iVar15 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 0x48)" (( "(") (binary_expression "iVar15 + 0x48" (identifier "iVar15") (+ "+") (number_literal "0x48")) () ")")))) () ")")))) (; ";")) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" (identifier "iVar3") (= "=") (identifier "local_4c")) (; ";")) (if_statement "if ((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }" (if "if") (parenthesized_expression "((local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0))" (( "(") (binary_expression "(local_4c == 0) &&\n         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)" (parenthesized_expression "(local_4c == 0)" (( "(") (binary_expression "local_4c == 0" (identifier "local_4c") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)" (( "(") (comma_expression "local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0" (assignment_expression "local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48)" (identifier "local_4c") (= "=") (call_expression "FUN_000cabd8(iVar15,iVar16,auStack_48)" (identifier "FUN_000cabd8") (argument_list "(iVar15,iVar16,auStack_48)" (( "(") (identifier "iVar15") (, ",") (identifier "iVar16") (, ",") (identifier "auStack_48") () ")")))) (, ",") (comma_expression "iVar3 = local_4c, local_4c == 0" (assignment_expression "iVar3 = local_4c" (identifier "iVar3") (= "=") (identifier "local_4c")) (, ",") (binary_expression "local_4c == 0" (identifier "local_4c") (== "==") (number_literal "0")))) () ")"))) () ")")) (compound_statement "{\n        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);\n        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);\n        iVar3 = local_4c;\n        if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }\n      }" ({ "{") (expression_statement "pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);" (assignment_expression "pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c)" (identifier "pcVar17") (= "=") (cast_expression "(code *)(PTR_LAB_00190bdc + -0x176c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190bdc + -0x176c)" (( "(") (binary_expression "PTR_LAB_00190bdc + -0x176c" (identifier "PTR_LAB_00190bdc") (+ "+") (number_literal "-0x176c")) () ")")))) (; ";")) (expression_statement "(*pcVar17)(iVar15,uVar11,local_36,&local_4c);" (call_expression "(*pcVar17)(iVar15,uVar11,local_36,&local_4c)" (parenthesized_expression "(*pcVar17)" (( "(") (pointer_expression "*pcVar17" (* "*") (identifier "pcVar17")) () ")")) (argument_list "(iVar15,uVar11,local_36,&local_4c)" (( "(") (identifier "iVar15") (, ",") (identifier "uVar11") (, ",") (identifier "local_36") (, ",") (pointer_expression "&local_4c" (& "&") (identifier "local_4c")) () ")"))) (; ";")) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" (identifier "iVar3") (= "=") (identifier "local_4c")) (; ";")) (if_statement "if (local_4c == 0) {\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }" (if "if") (parenthesized_expression "(local_4c == 0)" (( "(") (binary_expression "local_4c == 0" (identifier "local_4c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }\n        }" ({ "{") (if_statement "if (*(char *)(iVar15 + 8) == '\0') {\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }\n          else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }" (if "if") (parenthesized_expression "(*(char *)(iVar15 + 8) == '\0')" (( "(") (binary_expression "*(char *)(iVar15 + 8) == '\0'" (pointer_expression "*(char *)(iVar15 + 8)" (* "*") (cast_expression "(char *)(iVar15 + 8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 8)" (( "(") (binary_expression "iVar15 + 8" (identifier "iVar15") (+ "+") (number_literal "8")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            iVar10 = *(int *)(param_1 + 0x74);\n            if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }\n            uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));\n            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }\n          }" ({ "{") (expression_statement "iVar10 = *(int *)(param_1 + 0x74);" (assignment_expression "iVar10 = *(int *)(param_1 + 0x74)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(param_1 + 0x74)" (* "*") (cast_expression "(int *)(param_1 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x74)" (( "(") (binary_expression "param_1 + 0x74" (identifier "param_1") (+ "+") (number_literal "0x74")) () ")"))))) (; ";")) (if_statement "if (iVar12 < (char)param_1[0x44] + -1) {\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }\n            else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }" (if "if") (parenthesized_expression "(iVar12 < (char)param_1[0x44] + -1)" (( "(") (binary_expression "iVar12 < (char)param_1[0x44] + -1" (identifier "iVar12") (< "<") (binary_expression "(char)param_1[0x44] + -1" (cast_expression "(char)param_1[0x44]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_1[0x44]" (identifier "param_1") ([ "[") (number_literal "0x44") (] "]"))) (+ "+") (number_literal "-1"))) () ")")) (compound_statement "{\n              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);\n            }" ({ "{") (expression_statement "local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);" (assignment_expression "local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4)" (identifier "local_58") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4)" (( "(") (binary_expression "*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4" (pointer_expression "*(int *)(param_1 + (iVar12 + 0x1f) * 4)" (* "*") (cast_expression "(int *)(param_1 + (iVar12 + 0x1f) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + (iVar12 + 0x1f) * 4)" (( "(") (binary_expression "param_1 + (iVar12 + 0x1f) * 4" (identifier "param_1") (+ "+") (binary_expression "(iVar12 + 0x1f) * 4" (parenthesized_expression "(iVar12 + 0x1f)" (( "(") (binary_expression "iVar12 + 0x1f" (identifier "iVar12") (+ "+") (number_literal "0x1f")) () ")")) (* "*") (number_literal "4"))) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }" (else "else") (compound_statement "{\n              local_58 = *(undefined4 *)(iVar10 + 4);\n            }" ({ "{") (expression_statement "local_58 = *(undefined4 *)(iVar10 + 4);" (assignment_expression "local_58 = *(undefined4 *)(iVar10 + 4)" (identifier "local_58") (= "=") (pointer_expression "*(undefined4 *)(iVar10 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4)" (( "(") (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}")))) (expression_statement "uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18));" (assignment_expression "uVar9 = *(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18))" (identifier "uVar9") (= "=") (binary_expression "*(int *)(iVar10 + 0x38) +\n                    (uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18))" (pointer_expression "*(int *)(iVar10 + 0x38)" (* "*") (cast_expression "(int *)(iVar10 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x38)" (( "(") (binary_expression "iVar10 + 0x38" (identifier "iVar10") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (call_expression "(uint)(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18))" (( "(") (binary_expression "*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &\n                          *(ushort *)(iVar10 + 0x18)" (pointer_expression "*(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2)" (* "*") (cast_expression "(ushort *)\n                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2)" (( "(") (binary_expression "*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2" (pointer_expression "*(int *)(iVar10 + 0x40)" (* "*") (cast_expression "(int *)(iVar10 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x40)" (( "(") (binary_expression "iVar10 + 0x40" (identifier "iVar10") (+ "+") (number_literal "0x40")) () ")")))) (+ "+") (binary_expression "(*(ushort *)(iVar10 + 0x16) - 1) * 2" (parenthesized_expression "(*(ushort *)(iVar10 + 0x16) - 1)" (( "(") (binary_expression "*(ushort *)(iVar10 + 0x16) - 1" (pointer_expression "*(ushort *)(iVar10 + 0x16)" (* "*") (cast_expression "(ushort *)(iVar10 + 0x16)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x16)" (( "(") (binary_expression "iVar10 + 0x16" (identifier "iVar10") (+ "+") (number_literal "0x16")) () ")")))) (- "-") (number_literal "1")) () ")")) (* "*") (number_literal "2"))) () ")")))) (& "&") (pointer_expression "*(ushort *)(iVar10 + 0x18)" (* "*") (cast_expression "(ushort *)(iVar10 + 0x18)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x18)" (( "(") (binary_expression "iVar10 + 0x18" (identifier "iVar10") (+ "+") (number_literal "0x18")) () ")"))))) () ")"))))) (; ";")) (if_statement "if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }\n            else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }" (if "if") (parenthesized_expression "(uVar9 < *(int *)(iVar10 + 0x38) + 4U)" (( "(") (binary_expression "uVar9 < *(int *)(iVar10 + 0x38) + 4U" (identifier "uVar9") (< "<") (binary_expression "*(int *)(iVar10 + 0x38) + 4U" (pointer_expression "*(int *)(iVar10 + 0x38)" (* "*") (cast_expression "(int *)(iVar10 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x38)" (( "(") (binary_expression "iVar10 + 0x38" (identifier "iVar10") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (number_literal "4U"))) () ")")) (compound_statement "{\n              (*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);\n              iVar3 = 0xb;\n            }" ({ "{") (expression_statement "(*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c);" (call_expression "(*(code *)PTR_sqlite3_log_00190be0)\n                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c)" (parenthesized_expression "(*(code *)PTR_sqlite3_log_00190be0)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_log_00190be0" (* "*") (cast_expression "(code *)PTR_sqlite3_log_00190be0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_log_00190be0"))) () ")")) (argument_list "(0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,\n                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,\n                         PTR_LAB_00190958 + 0x625c)" (( "(") (number_literal "0xb") (, ",") (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378" (identifier "PTR_s_o_page_from_root____pageno_INTEG_0019095c") (+ "+") (number_literal "-0x6378")) (, ",") (binary_expression "PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64" (identifier "PTR_s_o_page_from_root____pageno_INTEG_0019095c") (+ "+") (number_literal "-0x5e64")) (, ",") (number_literal "0x118e2") (, ",") (binary_expression "PTR_LAB_00190958 + 0x625c" (identifier "PTR_LAB_00190958") (+ "+") (number_literal "0x625c")) () ")"))) (; ";")) (expression_statement "iVar3 = 0xb;" (assignment_expression "iVar3 = 0xb" (identifier "iVar3") (= "=") (number_literal "0xb")) (; ";")) (} "}")) (else_clause "else {\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }" (else "else") (compound_statement "{\n              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);\n              uVar14 = *(undefined4 *)(iVar13 + 0x50);\n              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));\n              iVar3 = local_4c;\n              if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }\n            }" ({ "{") (expression_statement "iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);" (assignment_expression "iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9)" (identifier "iVar16") (= "=") (call_expression "(**(code **)(iVar10 + 0x4c))(iVar10,uVar9)" (parenthesized_expression "(**(code **)(iVar10 + 0x4c))" (( "(") (pointer_expression "**(code **)(iVar10 + 0x4c)" (* "*") (pointer_expression "*(code **)(iVar10 + 0x4c)" (* "*") (cast_expression "(code **)(iVar10 + 0x4c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar10 + 0x4c)" (( "(") (binary_expression "iVar10 + 0x4c" (identifier "iVar10") (+ "+") (number_literal "0x4c")) () ")"))))) () ")")) (argument_list "(iVar10,uVar9)" (( "(") (identifier "iVar10") (, ",") (identifier "uVar9") () ")")))) (; ";")) (expression_statement "uVar14 = *(undefined4 *)(iVar13 + 0x50);" (assignment_expression "uVar14 = *(undefined4 *)(iVar13 + 0x50)" (identifier "uVar14") (= "=") (pointer_expression "*(undefined4 *)(iVar13 + 0x50)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x50)" (( "(") (binary_expression "iVar13 + 0x50" (identifier "iVar13") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (expression_statement "local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));" (assignment_expression "local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48))" (identifier "local_4c") (= "=") (call_expression "FUN_000c3260(*(undefined4 *)(iVar10 + 0x48))" (identifier "FUN_000c3260") (argument_list "(*(undefined4 *)(iVar10 + 0x48))" (( "(") (pointer_expression "*(undefined4 *)(iVar10 + 0x48)" (* "*") (cast_expression "(undefined4 *)(iVar10 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x48)" (( "(") (binary_expression "iVar10 + 0x48" (identifier "iVar10") (+ "+") (number_literal "0x48")) () ")")))) () ")")))) (; ";")) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" (identifier "iVar3") (= "=") (identifier "local_4c")) (; ";")) (if_statement "if (local_4c == 0) {\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }" (if "if") (parenthesized_expression "(local_4c == 0)" (( "(") (binary_expression "local_4c == 0" (identifier "local_4c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);\n                iVar3 = local_4c;\n                if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;\n              }" ({ "{") (expression_statement "FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);" (call_expression "FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c)" (identifier "FUN_000caee4") (argument_list "(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c)" (( "(") (identifier "iVar15") (, ",") (identifier "uVar11") (, ",") (binary_expression "uVar9 - 4" (identifier "uVar9") (- "-") (number_literal "4")) (, ",") (binary_expression "iVar16 + 4" (identifier "iVar16") (+ "+") (number_literal "4")) (, ",") (identifier "uVar14") (, ",") (identifier "local_58") (, ",") (pointer_expression "&local_4c" (& "&") (identifier "local_4c")) () ")"))) (; ";")) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" (identifier "iVar3") (= "=") (identifier "local_4c")) (; ";")) (if_statement "if ((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;" (if "if") (parenthesized_expression "((local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0))" (( "(") (binary_expression "(local_4c == 0) &&\n                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)" (parenthesized_expression "(local_4c == 0)" (( "(") (binary_expression "local_4c == 0" (identifier "local_4c") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0)" (( "(") (comma_expression "(*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),\n                   iVar3 = local_4c, local_4c == 0" (call_expression "(*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c)" (parenthesized_expression "(*pcVar17)" (( "(") (pointer_expression "*pcVar17" (* "*") (identifier "pcVar17")) () ")")) (argument_list "(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c)" (( "(") (identifier "iVar10") (, ",") (binary_expression "*(ushort *)(iVar10 + 0x16) - 1" (pointer_expression "*(ushort *)(iVar10 + 0x16)" (* "*") (cast_expression "(ushort *)(iVar10 + 0x16)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x16)" (( "(") (binary_expression "iVar10 + 0x16" (identifier "iVar10") (+ "+") (number_literal "0x16")) () ")")))) (- "-") (number_literal "1")) (, ",") (identifier "iVar16") (, ",") (pointer_expression "&local_4c" (& "&") (identifier "local_4c")) () ")"))) (, ",") (comma_expression "iVar3 = local_4c, local_4c == 0" (assignment_expression "iVar3 = local_4c" (identifier "iVar3") (= "=") (identifier "local_4c")) (, ",") (binary_expression "local_4c == 0" (identifier "local_4c") (== "==") (number_literal "0")))) () ")"))) () ")")) (goto_statement "goto LAB_000d09a8;" (goto "goto") (statement_identifier "LAB_000d09a8") (; ";"))) (} "}"))) (} "}")))) (} "}")) (else_clause "else {\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }" (else "else") (compound_statement "{\nLAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);\n            iVar3 = local_4c;\n            if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }\n          }" ({ "{") (labeled_statement "LAB_000d09a8:\n            local_4c = FUN_000ccf80(param_1);" (statement_identifier "LAB_000d09a8") (: ":") (expression_statement "local_4c = FUN_000ccf80(param_1);" (assignment_expression "local_4c = FUN_000ccf80(param_1)" (identifier "local_4c") (= "=") (call_expression "FUN_000ccf80(param_1)" (identifier "FUN_000ccf80") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";"))) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" (identifier "iVar3") (= "=") (identifier "local_4c")) (; ";")) (if_statement "if (local_4c == 0) {\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }" (if "if") (parenthesized_expression "(local_4c == 0)" (( "(") (binary_expression "local_4c == 0" (identifier "local_4c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }\nLAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }\n            }" ({ "{") (if_statement "if (iVar12 < (char)param_1[0x44]) {\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }" (if "if") (parenthesized_expression "(iVar12 < (char)param_1[0x44])" (( "(") (binary_expression "iVar12 < (char)param_1[0x44]" (identifier "iVar12") (< "<") (cast_expression "(char)param_1[0x44]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "param_1[0x44]" (identifier "param_1") ([ "[") (number_literal "0x44") (] "]")))) () ")")) (compound_statement "{\n                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);\n                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));\n                cVar4 = param_1[0x44] + -1;\n                param_1[0x44] = cVar4;\n                do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );\n              }" ({ "{") (expression_statement "pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);" (assignment_expression "pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8)" (identifier "pcVar17") (= "=") (cast_expression "(code *)(PTR_LAB_00190b40 + 0xee8)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190b40 + 0xee8)" (( "(") (binary_expression "PTR_LAB_00190b40 + 0xee8" (identifier "PTR_LAB_00190b40") (+ "+") (number_literal "0xee8")) () ")")))) (; ";")) (expression_statement "(*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));" (call_expression "(*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48))" (parenthesized_expression "(*pcVar17)" (( "(") (pointer_expression "*pcVar17" (* "*") (identifier "pcVar17")) () ")")) (argument_list "(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48))" (( "(") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x74) + 0x48)" (( "(") (binary_expression "*(int *)(param_1 + 0x74) + 0x48" (pointer_expression "*(int *)(param_1 + 0x74)" (* "*") (cast_expression "(int *)(param_1 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x74)" (( "(") (binary_expression "param_1 + 0x74" (identifier "param_1") (+ "+") (number_literal "0x74")) () ")")))) (+ "+") (number_literal "0x48")) () ")")))) () ")"))) (; ";")) (expression_statement "cVar4 = param_1[0x44] + -1;" (assignment_expression "cVar4 = param_1[0x44] + -1" (identifier "cVar4") (= "=") (binary_expression "param_1[0x44] + -1" (subscript_expression "param_1[0x44]" (identifier "param_1") ([ "[") (number_literal "0x44") (] "]")) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "param_1[0x44] = cVar4;" (assignment_expression "param_1[0x44] = cVar4" (subscript_expression "param_1[0x44]" (identifier "param_1") ([ "[") (number_literal "0x44") (] "]")) (= "=") (identifier "cVar4")) (; ";")) (do_statement "do {\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                } while( true );" (do "do") (compound_statement "{\n                  iVar10 = (int)cVar4;\n                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);\n                  do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);\n                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));\n                  cVar4 = param_1[0x44];\n                }" ({ "{") (expression_statement "iVar10 = (int)cVar4;" (assignment_expression "iVar10 = (int)cVar4" (identifier "iVar10") (= "=") (cast_expression "(int)cVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar4"))) (; ";")) (expression_statement "piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);" (assignment_expression "piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4)" (identifier "piVar7") (= "=") (cast_expression "(int *)(param_1 + (iVar10 + 0x1e) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + (iVar10 + 0x1e) * 4)" (( "(") (binary_expression "param_1 + (iVar10 + 0x1e) * 4" (identifier "param_1") (+ "+") (binary_expression "(iVar10 + 0x1e) * 4" (parenthesized_expression "(iVar10 + 0x1e)" (( "(") (binary_expression "iVar10 + 0x1e" (identifier "iVar10") (+ "+") (number_literal "0x1e")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (do_statement "do {\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  } while (iVar13 == 0);" (do "do") (compound_statement "{\n                    iVar13 = *piVar7;\n                    if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }\n                    cVar4 = (char)iVar10 + -1;\n                    piVar7 = piVar7 + -1;\n                    iVar10 = (int)cVar4;\n                    param_1[0x44] = cVar4;\n                  }" ({ "{") (expression_statement "iVar13 = *piVar7;" (assignment_expression "iVar13 = *piVar7" (identifier "iVar13") (= "=") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) (; ";")) (if_statement "if (iVar10 <= iVar12) {\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }" (if "if") (parenthesized_expression "(iVar10 <= iVar12)" (( "(") (binary_expression "iVar10 <= iVar12" (identifier "iVar10") (<= "<=") (identifier "iVar12")) () ")")) (compound_statement "{\n                      *(int *)(param_1 + 0x74) = iVar13;\n                      iVar3 = FUN_000ccf80(param_1);\n                      local_4c = iVar3;\n                      if (iVar3 == 0) goto LAB_000d09d8;\n                      goto LAB_000d078c;\n                    }" ({ "{") (expression_statement "*(int *)(param_1 + 0x74) = iVar13;" (assignment_expression "*(int *)(param_1 + 0x74) = iVar13" (pointer_expression "*(int *)(param_1 + 0x74)" (* "*") (cast_expression "(int *)(param_1 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x74)" (( "(") (binary_expression "param_1 + 0x74" (identifier "param_1") (+ "+") (number_literal "0x74")) () ")")))) (= "=") (identifier "iVar13")) (; ";")) (expression_statement "iVar3 = FUN_000ccf80(param_1);" (assignment_expression "iVar3 = FUN_000ccf80(param_1)" (identifier "iVar3") (= "=") (call_expression "FUN_000ccf80(param_1)" (identifier "FUN_000ccf80") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "local_4c = iVar3;" (assignment_expression "local_4c = iVar3" (identifier "local_4c") (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (iVar3 == 0) goto LAB_000d09d8;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000d09d8;" (goto "goto") (statement_identifier "LAB_000d09d8") (; ";"))) (goto_statement "goto LAB_000d078c;" (goto "goto") (statement_identifier "LAB_000d078c") (; ";")) (} "}"))) (expression_statement "cVar4 = (char)iVar10 + -1;" (assignment_expression "cVar4 = (char)iVar10 + -1" (identifier "cVar4") (= "=") (binary_expression "(char)iVar10 + -1" (cast_expression "(char)iVar10" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "iVar10")) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "piVar7 = piVar7 + -1;" (assignment_expression "piVar7 = piVar7 + -1" (identifier "piVar7") (= "=") (binary_expression "piVar7 + -1" (identifier "piVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar10 = (int)cVar4;" (assignment_expression "iVar10 = (int)cVar4" (identifier "iVar10") (= "=") (cast_expression "(int)cVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar4"))) (; ";")) (expression_statement "param_1[0x44] = cVar4;" (assignment_expression "param_1[0x44] = cVar4" (subscript_expression "param_1[0x44]" (identifier "param_1") ([ "[") (number_literal "0x44") (] "]")) (= "=") (identifier "cVar4")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar13 == 0)" (( "(") (binary_expression "iVar13 == 0" (identifier "iVar13") (== "==") (number_literal "0")) () ")")) (; ";")) (expression_statement "(*pcVar17)(*(undefined4 *)(iVar13 + 0x48));" (call_expression "(*pcVar17)(*(undefined4 *)(iVar13 + 0x48))" (parenthesized_expression "(*pcVar17)" (( "(") (pointer_expression "*pcVar17" (* "*") (identifier "pcVar17")) () ")")) (argument_list "(*(undefined4 *)(iVar13 + 0x48))" (( "(") (pointer_expression "*(undefined4 *)(iVar13 + 0x48)" (* "*") (cast_expression "(undefined4 *)(iVar13 + 0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x48)" (( "(") (binary_expression "iVar13 + 0x48" (identifier "iVar13") (+ "+") (number_literal "0x48")) () ")")))) () ")"))) (; ";")) (expression_statement "cVar4 = param_1[0x44];" (assignment_expression "cVar4 = param_1[0x44]" (identifier "cVar4") (= "=") (subscript_expression "param_1[0x44]" (identifier "param_1") ([ "[") (number_literal "0x44") (] "]"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_000d09d8:\n              if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }" (statement_identifier "LAB_000d09d8") (: ":") (if_statement "if (bVar2) {\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }\n              else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }" (if "if") (parenthesized_expression "(bVar2)" (( "(") (identifier "bVar2") () ")")) (compound_statement "{\n                *param_1 = 2;\n                iVar3 = local_4c;\n                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }\n              }" ({ "{") (expression_statement "*param_1 = 2;" (assignment_expression "*param_1 = 2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "2")) (; ";")) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" (identifier "iVar3") (= "=") (identifier "local_4c")) (; ";")) (if_statement "if (uVar11 < *(ushort *)(iVar15 + 0x16)) {\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }\n                else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }" (if "if") (parenthesized_expression "(uVar11 < *(ushort *)(iVar15 + 0x16))" (( "(") (binary_expression "uVar11 < *(ushort *)(iVar15 + 0x16)" (identifier "uVar11") (< "<") (pointer_expression "*(ushort *)(iVar15 + 0x16)" (* "*") (cast_expression "(ushort *)(iVar15 + 0x16)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 0x16)" (( "(") (binary_expression "iVar15 + 0x16" (identifier "iVar15") (+ "+") (number_literal "0x16")) () ")"))))) () ")")) (compound_statement "{\n                  *(undefined4 *)(param_1 + 4) = 1;\n                }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 4) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 1" (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }" (else "else") (compound_statement "{\n                  *(undefined4 *)(param_1 + 4) = 0xffffffff;\n                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;\n                }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;" (assignment_expression "*(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1" (pointer_expression "*(short *)(param_1 + 0x46)" (* "*") (cast_expression "(short *)(param_1 + 0x46)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x46)" (( "(") (binary_expression "param_1 + 0x46" (identifier "param_1") (+ "+") (number_literal "0x46")) () ")")))) (= "=") (binary_expression "*(short *)(iVar15 + 0x16) + -1" (pointer_expression "*(short *)(iVar15 + 0x16)" (* "*") (cast_expression "(short *)(iVar15 + 0x16)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 0x16)" (( "(") (binary_expression "iVar15 + 0x16" (identifier "iVar15") (+ "+") (number_literal "0x16")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }" (else "else") (compound_statement "{\n                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);\n                if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }\n                iVar3 = local_4c;\n                if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }\n              }" ({ "{") (expression_statement "local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);" (assignment_expression "local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1)" (identifier "local_4c") (= "=") (call_expression "(*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190bdc + -0x222c))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190bdc + -0x222c)" (* "*") (cast_expression "(code *)(PTR_LAB_00190bdc + -0x222c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190bdc + -0x222c)" (( "(") (binary_expression "PTR_LAB_00190bdc + -0x222c" (identifier "PTR_LAB_00190bdc") (+ "+") (number_literal "-0x222c")) () ")")))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if ((param_2 & 2) != 0) {\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }" (if "if") (parenthesized_expression "((param_2 & 2) != 0)" (( "(") (binary_expression "(param_2 & 2) != 0" (parenthesized_expression "(param_2 & 2)" (( "(") (binary_expression "param_2 & 2" (identifier "param_2") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);\n                  *param_1 = 3;\n                }" ({ "{") (expression_statement "(*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);" (call_expression "(*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1)" (parenthesized_expression "(*(code *)(PTR_LAB_00190ba8 + 0x788c))" (( "(") (pointer_expression "*(code *)(PTR_LAB_00190ba8 + 0x788c)" (* "*") (cast_expression "(code *)(PTR_LAB_00190ba8 + 0x788c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190ba8 + 0x788c)" (( "(") (binary_expression "PTR_LAB_00190ba8 + 0x788c" (identifier "PTR_LAB_00190ba8") (+ "+") (number_literal "0x788c")) () ")")))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*param_1 = 3;" (assignment_expression "*param_1 = 3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "3")) (; ";")) (} "}"))) (expression_statement "iVar3 = local_4c;" (assignment_expression "iVar3 = local_4c" (identifier "iVar3") (= "=") (identifier "local_4c")) (; ";")) (if_statement "if (local_4c == 0x10) {\n                  iVar3 = 0;\n                }" (if "if") (parenthesized_expression "(local_4c == 0x10)" (( "(") (binary_expression "local_4c == 0x10" (identifier "local_4c") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n                  iVar3 = 0;\n                }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}"))))) (} "}"))) (} "}")))) (} "}"))) (} "}"))) (} "}")))) (} "}")))) (labeled_statement "LAB_000d078c:\n  if (local_2c == *(byte **)puVar18) {\n    return iVar3;\n  }" (statement_identifier "LAB_000d078c") (: ":") (if_statement "if (local_2c == *(byte **)puVar18) {\n    return iVar3;\n  }" (if "if") (parenthesized_expression "(local_2c == *(byte **)puVar18)" (( "(") (binary_expression "local_2c == *(byte **)puVar18" (identifier "local_2c") (== "==") (pointer_expression "*(byte **)puVar18" (* "*") (cast_expression "(byte **)puVar18" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar18")))) () ")")) (compound_statement "{\n    return iVar3;\n  }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}")))) (expression_statement "pbVar8 = local_2c;" (assignment_expression "pbVar8 = local_2c" (identifier "pbVar8") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "puVar18 = PTR___stack_chk_fail_00190df8;" (assignment_expression "puVar18 = PTR___stack_chk_fail_00190df8" (identifier "puVar18") (= "=") (identifier "PTR___stack_chk_fail_00190df8")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_00190df8)();" (call_expression "(*(code *)PTR___stack_chk_fail_00190df8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_00190df8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_00190df8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_00190df8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_00190df8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "bVar5 = *pbVar8;" (assignment_expression "bVar5 = *pbVar8" (identifier "bVar5") (= "=") (pointer_expression "*pbVar8" (* "*") (identifier "pbVar8"))) (; ";")) (if_statement "if (bVar5 != 0) {\n    if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }\n    if (bVar5 == 1) {\n      return 0x65;\n    }\n    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }\n  }" (if "if") (parenthesized_expression "(bVar5 != 0)" (( "(") (binary_expression "bVar5 != 0" (identifier "bVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }\n    if (bVar5 == 1) {\n      return 0x65;\n    }\n    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }\n  }" ({ "{") (if_statement "if (2 < bVar5) {\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }" (if "if") (parenthesized_expression "(2 < bVar5)" (( "(") (binary_expression "2 < bVar5" (number_literal "2") (< "<") (identifier "bVar5")) () ")")) (compound_statement "{\n      if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }\n      iVar10 = FUN_000d0344();\n      if (iVar10 != 0) {\n        return iVar10;\n      }\n      bVar5 = *pbVar8;\n    }" ({ "{") (if_statement "if (bVar5 == 4) {\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }" (if "if") (parenthesized_expression "(bVar5 == 4)" (( "(") (binary_expression "bVar5 == 4" (identifier "bVar5") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n        if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }\n        goto LAB_000d0c34;\n      }" ({ "{") (if_statement "if (*(int *)(pbVar8 + 4) != 0) {\n          return *(int *)(pbVar8 + 4);\n        }" (if "if") (parenthesized_expression "(*(int *)(pbVar8 + 4) != 0)" (( "(") (binary_expression "*(int *)(pbVar8 + 4) != 0" (pointer_expression "*(int *)(pbVar8 + 4)" (* "*") (cast_expression "(int *)(pbVar8 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar8 + 4)" (( "(") (binary_expression "pbVar8 + 4" (identifier "pbVar8") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          return *(int *)(pbVar8 + 4);\n        }" ({ "{") (return_statement "return *(int *)(pbVar8 + 4);" (return "return") (pointer_expression "*(int *)(pbVar8 + 4)" (* "*") (cast_expression "(int *)(pbVar8 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar8 + 4)" (( "(") (binary_expression "pbVar8 + 4" (identifier "pbVar8") (+ "+") (number_literal "4")) () ")")))) (; ";")) (} "}"))) (goto_statement "goto LAB_000d0c34;" (goto "goto") (statement_identifier "LAB_000d0c34") (; ";")) (} "}"))) (expression_statement "iVar10 = FUN_000d0344();" (assignment_expression "iVar10 = FUN_000d0344()" (identifier "iVar10") (= "=") (call_expression "FUN_000d0344()" (identifier "FUN_000d0344") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar10 != 0) {\n        return iVar10;\n      }" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return iVar10;\n      }" ({ "{") (return_statement "return iVar10;" (return "return") (identifier "iVar10") (; ";")) (} "}"))) (expression_statement "bVar5 = *pbVar8;" (assignment_expression "bVar5 = *pbVar8" (identifier "bVar5") (= "=") (pointer_expression "*pbVar8" (* "*") (identifier "pbVar8"))) (; ";")) (} "}"))) (if_statement "if (bVar5 == 1) {\n      return 0x65;\n    }" (if "if") (parenthesized_expression "(bVar5 == 1)" (( "(") (binary_expression "bVar5 == 1" (identifier "bVar5") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      return 0x65;\n    }" ({ "{") (return_statement "return 0x65;" (return "return") (number_literal "0x65") (; ";")) (} "}"))) (if_statement "if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {\n      return 0;\n    }" (if "if") (parenthesized_expression "((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4)))" (( "(") (binary_expression "(bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))" (parenthesized_expression "(bVar5 == 2)" (( "(") (binary_expression "bVar5 == 2" (identifier "bVar5") (== "==") (number_literal "2")) () ")")) (&& "&&") (parenthesized_expression "(*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))" (( "(") (comma_expression "*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4)" (assignment_expression "*pbVar8 = 0" (pointer_expression "*pbVar8" (* "*") (identifier "pbVar8")) (= "=") (number_literal "0")) (, ",") (binary_expression "0 < *(int *)(pbVar8 + 4)" (number_literal "0") (< "<") (pointer_expression "*(int *)(pbVar8 + 4)" (* "*") (cast_expression "(int *)(pbVar8 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar8 + 4)" (( "(") (binary_expression "pbVar8 + 4" (identifier "pbVar8") (+ "+") (number_literal "4")) () ")")))))) () ")"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_000d0c34:\n  sVar1 = *(short *)(pbVar8 + 0x46);" (statement_identifier "LAB_000d0c34") (: ":") (expression_statement "sVar1 = *(short *)(pbVar8 + 0x46);" (assignment_expression "sVar1 = *(short *)(pbVar8 + 0x46)" (identifier "sVar1") (= "=") (pointer_expression "*(short *)(pbVar8 + 0x46)" (* "*") (cast_expression "(short *)(pbVar8 + 0x46)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar8 + 0x46)" (( "(") (binary_expression "pbVar8 + 0x46" (identifier "pbVar8") (+ "+") (number_literal "0x46")) () ")"))))) (; ";"))) (expression_statement "pcVar6 = *(char **)(pbVar8 + 0x74);" (assignment_expression "pcVar6 = *(char **)(pbVar8 + 0x74)" (identifier "pcVar6") (= "=") (pointer_expression "*(char **)(pbVar8 + 0x74)" (* "*") (cast_expression "(char **)(pbVar8 + 0x74)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pbVar8 + 0x74)" (( "(") (binary_expression "pbVar8 + 0x74" (identifier "pbVar8") (+ "+") (number_literal "0x74")) () ")"))))) (; ";")) (expression_statement "*(ushort *)(pbVar8 + 0x46) = sVar1 + 1U;" (assignment_expression "*(ushort *)(pbVar8 + 0x46) = sVar1 + 1U" (pointer_expression "*(ushort *)(pbVar8 + 0x46)" (* "*") (cast_expression "(ushort *)(pbVar8 + 0x46)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar8 + 0x46)" (( "(") (binary_expression "pbVar8 + 0x46" (identifier "pbVar8") (+ "+") (number_literal "0x46")) () ")")))) (= "=") (binary_expression "sVar1 + 1U" (identifier "sVar1") (+ "+") (number_literal "1U"))) (; ";")) (if_statement "if (*pcVar6 == '\0') {\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar10 = 0xb;\n  }\n  else {\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }" (if "if") (parenthesized_expression "(*pcVar6 == '\0')" (( "(") (binary_expression "*pcVar6 == '\0'" (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    (**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);\n    iVar10 = 0xb;\n  }" ({ "{") (expression_statement "(**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);" (call_expression "(**(code **)(puVar18 + 0xbfff8))\n              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c)" (parenthesized_expression "(**(code **)(puVar18 + 0xbfff8))" (( "(") (pointer_expression "**(code **)(puVar18 + 0xbfff8)" (* "*") (pointer_expression "*(code **)(puVar18 + 0xbfff8)" (* "*") (cast_expression "(code **)(puVar18 + 0xbfff8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar18 + 0xbfff8)" (( "(") (binary_expression "puVar18 + 0xbfff8" (identifier "puVar18") (+ "+") (number_literal "0xbfff8")) () ")"))))) () ")")) (argument_list "(0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,\n               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c)" (( "(") (number_literal "0xb") (, ",") (binary_expression "*(int *)(puVar18 + 0xbfd74) + -0x6378" (pointer_expression "*(int *)(puVar18 + 0xbfd74)" (* "*") (cast_expression "(int *)(puVar18 + 0xbfd74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0xbfd74)" (( "(") (binary_expression "puVar18 + 0xbfd74" (identifier "puVar18") (+ "+") (number_literal "0xbfd74")) () ")")))) (+ "+") (number_literal "-0x6378")) (, ",") (binary_expression "*(int *)(puVar18 + 0xbfd74) + -0x5e64" (pointer_expression "*(int *)(puVar18 + 0xbfd74)" (* "*") (cast_expression "(int *)(puVar18 + 0xbfd74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0xbfd74)" (( "(") (binary_expression "puVar18 + 0xbfd74" (identifier "puVar18") (+ "+") (number_literal "0xbfd74")) () ")")))) (+ "+") (number_literal "-0x5e64")) (, ",") (number_literal "0x10c6d") (, ",") (binary_expression "*(int *)(puVar18 + 0xbfd70) + 0x625c" (pointer_expression "*(int *)(puVar18 + 0xbfd70)" (* "*") (cast_expression "(int *)(puVar18 + 0xbfd70)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0xbfd70)" (( "(") (binary_expression "puVar18 + 0xbfd70" (identifier "puVar18") (+ "+") (number_literal "0xbfd70")) () ")")))) (+ "+") (number_literal "0x625c")) () ")"))) (; ";")) (expression_statement "iVar10 = 0xb;" (assignment_expression "iVar10 = 0xb" (identifier "iVar10") (= "=") (number_literal "0xb")) (; ";")) (} "}")) (else_clause "else {\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }" (else "else") (compound_statement "{\n    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }\n    iVar10 = 0;\n  }" ({ "{") (if_statement "if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }\n    else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }" (if "if") (parenthesized_expression "((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16))" (( "(") (binary_expression "(ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)" (call_expression "(ushort)(sVar1 + 1U)" (parenthesized_expression "(ushort)" (( "(") (identifier "ushort") () ")")) (argument_list "(sVar1 + 1U)" (( "(") (binary_expression "sVar1 + 1U" (identifier "sVar1") (+ "+") (number_literal "1U")) () ")"))) (< "<") (pointer_expression "*(ushort *)(pcVar6 + 0x16)" (* "*") (cast_expression "(ushort *)(pcVar6 + 0x16)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar6 + 0x16)" (( "(") (binary_expression "pcVar6 + 0x16" (identifier "pcVar6") (+ "+") (number_literal "0x16")) () ")"))))) () ")")) (compound_statement "{\n      iVar10 = *(int *)(puVar18 + 0xbfff4);\n      if (pcVar6[8] == '\0') goto LAB_000d0d4c;\n    }" ({ "{") (expression_statement "iVar10 = *(int *)(puVar18 + 0xbfff4);" (assignment_expression "iVar10 = *(int *)(puVar18 + 0xbfff4)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(puVar18 + 0xbfff4)" (* "*") (cast_expression "(int *)(puVar18 + 0xbfff4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0xbfff4)" (( "(") (binary_expression "puVar18 + 0xbfff4" (identifier "puVar18") (+ "+") (number_literal "0xbfff4")) () ")"))))) (; ";")) (if_statement "if (pcVar6[8] == '\0') goto LAB_000d0d4c;" (if "if") (parenthesized_expression "(pcVar6[8] == '\0')" (( "(") (binary_expression "pcVar6[8] == '\0'" (subscript_expression "pcVar6[8]" (identifier "pcVar6") ([ "[") (number_literal "8") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_000d0d4c;" (goto "goto") (statement_identifier "LAB_000d0d4c") (; ";"))) (} "}")) (else_clause "else {\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }" (else "else") (compound_statement "{\n      iVar10 = *(int *)(puVar18 + 0xbff58);\n      if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }\n      do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));\n      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }\n    }" ({ "{") (expression_statement "iVar10 = *(int *)(puVar18 + 0xbff58);" (assignment_expression "iVar10 = *(int *)(puVar18 + 0xbff58)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(puVar18 + 0xbff58)" (* "*") (cast_expression "(int *)(puVar18 + 0xbff58)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0xbff58)" (( "(") (binary_expression "puVar18 + 0xbff58" (identifier "puVar18") (+ "+") (number_literal "0xbff58")) () ")"))))) (; ";")) (if_statement "if (pcVar6[8] == '\0') {\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }" (if "if") (parenthesized_expression "(pcVar6[8] == '\0')" (( "(") (binary_expression "pcVar6[8] == '\0'" (subscript_expression "pcVar6[8]" (identifier "pcVar6") ([ "[") (number_literal "8") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));\n        if (iVar10 != 0) {\n          return iVar10;\n        }\n        iVar10 = *(int *)(puVar18 + 0xbfff4);\nLAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);\n        return iVar10;\n      }" ({ "{") (expression_statement "iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));" (assignment_expression "iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8))" (identifier "iVar10") (= "=") (call_expression "(*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))\n                           (pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8))" (parenthesized_expression "(*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))" (( "(") (pointer_expression "*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c)" (* "*") (cast_expression "(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar18 + 0xbfff4) + -0x243c)" (( "(") (binary_expression "*(int *)(puVar18 + 0xbfff4) + -0x243c" (pointer_expression "*(int *)(puVar18 + 0xbfff4)" (* "*") (cast_expression "(int *)(puVar18 + 0xbfff4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0xbfff4)" (( "(") (binary_expression "puVar18 + 0xbfff4" (identifier "puVar18") (+ "+") (number_literal "0xbfff4")) () ")")))) (+ "+") (number_literal "-0x243c")) () ")")))) () ")")) (argument_list "(pbVar8,*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8))" (( "(") (identifier "pbVar8") (, ",") (pointer_expression "*(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8)" (* "*") (cast_expression "(undefined4 *)\n                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8)" (( "(") (binary_expression "*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8" (binary_expression "*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9]" (pointer_expression "*(int *)(pcVar6 + 0x38)" (* "*") (cast_expression "(int *)(pcVar6 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar6 + 0x38)" (( "(") (binary_expression "pcVar6 + 0x38" (identifier "pcVar6") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (cast_expression "(uint)(byte)pcVar6[9]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (cast_expression "(byte)pcVar6[9]" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (subscript_expression "pcVar6[9]" (identifier "pcVar6") ([ "[") (number_literal "9") (] "]"))))) (+ "+") (number_literal "8")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar10 != 0) {\n          return iVar10;\n        }" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          return iVar10;\n        }" ({ "{") (return_statement "return iVar10;" (return "return") (identifier "iVar10") (; ";")) (} "}"))) (expression_statement "iVar10 = *(int *)(puVar18 + 0xbfff4);" (assignment_expression "iVar10 = *(int *)(puVar18 + 0xbfff4)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(puVar18 + 0xbfff4)" (* "*") (cast_expression "(int *)(puVar18 + 0xbfff4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar18 + 0xbfff4)" (( "(") (binary_expression "puVar18 + 0xbfff4" (identifier "puVar18") (+ "+") (number_literal "0xbfff4")) () ")"))))) (; ";")) (labeled_statement "LAB_000d0d4c:\n        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);" (statement_identifier "LAB_000d0d4c") (: ":") (expression_statement "iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);" (assignment_expression "iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8)" (identifier "iVar10") (= "=") (call_expression "(*(code *)(iVar10 + -0x22d8))(pbVar8)" (parenthesized_expression "(*(code *)(iVar10 + -0x22d8))" (( "(") (pointer_expression "*(code *)(iVar10 + -0x22d8)" (* "*") (cast_expression "(code *)(iVar10 + -0x22d8)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + -0x22d8)" (( "(") (binary_expression "iVar10 + -0x22d8" (identifier "iVar10") (+ "+") (number_literal "-0x22d8")) () ")")))) () ")")) (argument_list "(pbVar8)" (( "(") (identifier "pbVar8") () ")")))) (; ";"))) (return_statement "return iVar10;" (return "return") (identifier "iVar10") (; ";")) (} "}"))) (do_statement "do {\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));" (do "do") (compound_statement "{\n        if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }\n        (*(code *)(iVar10 + 0x1664))(pbVar8);\n      }" ({ "{") (if_statement "if (pbVar8[0x44] == 0) {\n          *pbVar8 = 1;\n          return 0x65;\n        }" (if "if") (parenthesized_expression "(pbVar8[0x44] == 0)" (( "(") (binary_expression "pbVar8[0x44] == 0" (subscript_expression "pbVar8[0x44]" (identifier "pbVar8") ([ "[") (number_literal "0x44") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *pbVar8 = 1;\n          return 0x65;\n        }" ({ "{") (expression_statement "*pbVar8 = 1;" (assignment_expression "*pbVar8 = 1" (pointer_expression "*pbVar8" (* "*") (identifier "pbVar8")) (= "=") (number_literal "1")) (; ";")) (return_statement "return 0x65;" (return "return") (number_literal "0x65") (; ";")) (} "}"))) (expression_statement "(*(code *)(iVar10 + 0x1664))(pbVar8);" (call_expression "(*(code *)(iVar10 + 0x1664))(pbVar8)" (parenthesized_expression "(*(code *)(iVar10 + 0x1664))" (( "(") (pointer_expression "*(code *)(iVar10 + 0x1664)" (* "*") (cast_expression "(code *)(iVar10 + 0x1664)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 0x1664)" (( "(") (binary_expression "iVar10 + 0x1664" (identifier "iVar10") (+ "+") (number_literal "0x1664")) () ")")))) () ")")) (argument_list "(pbVar8)" (( "(") (identifier "pbVar8") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46))" (( "(") (binary_expression "*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46)" (pointer_expression "*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16)" (* "*") (cast_expression "(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pbVar8 + 0x74) + 0x16)" (( "(") (binary_expression "*(int *)(pbVar8 + 0x74) + 0x16" (pointer_expression "*(int *)(pbVar8 + 0x74)" (* "*") (cast_expression "(int *)(pbVar8 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar8 + 0x74)" (( "(") (binary_expression "pbVar8 + 0x74" (identifier "pbVar8") (+ "+") (number_literal "0x74")) () ")")))) (+ "+") (number_literal "0x16")) () ")")))) (<= "<=") (pointer_expression "*(ushort *)(pbVar8 + 0x46)" (* "*") (cast_expression "(ushort *)(pbVar8 + 0x46)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar8 + 0x46)" (( "(") (binary_expression "pbVar8 + 0x46" (identifier "pbVar8") (+ "+") (number_literal "0x46")) () ")"))))) () ")")) (; ";")) (if_statement "if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }" (if "if") (parenthesized_expression "(*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0')" (( "(") (binary_expression "*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0'" (pointer_expression "*(char *)(*(int *)(pbVar8 + 0x74) + 2)" (* "*") (cast_expression "(char *)(*(int *)(pbVar8 + 0x74) + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pbVar8 + 0x74) + 2)" (( "(") (binary_expression "*(int *)(pbVar8 + 0x74) + 2" (pointer_expression "*(int *)(pbVar8 + 0x74)" (* "*") (cast_expression "(int *)(pbVar8 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar8 + 0x74)" (( "(") (binary_expression "pbVar8 + 0x74" (identifier "pbVar8") (+ "+") (number_literal "0x74")) () ")")))) (+ "+") (number_literal "2")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar10 = FUN_000d0de4(pbVar8,0);\n        return iVar10;\n      }" ({ "{") (expression_statement "iVar10 = FUN_000d0de4(pbVar8,0);" (assignment_expression "iVar10 = FUN_000d0de4(pbVar8,0)" (identifier "iVar10") (= "=") (call_expression "FUN_000d0de4(pbVar8,0)" (identifier "FUN_000d0de4") (argument_list "(pbVar8,0)" (( "(") (identifier "pbVar8") (, ",") (number_literal "0") () ")")))) (; ";")) (return_statement "return iVar10;" (return "return") (identifier "iVar10") (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (} "}")))) (return_statement "return iVar10;" (return "return") (identifier "iVar10") (; ";")) (} "}")))

int function_1(type_1 *pCur,type_2 var_2)

{
  type_3 var_8;
  bool bVar2;
  type_4 extraout_var;
  int var_5;
  type_5 uVar4;
  char cVar6;
  type_6 var_11;
  type_3 var_9;
  type_7 uVar8;
  type_8 **var_24;
  type_2 var_3;
  type_1 *var_26;
  type_9 *pBVar11;
  type_10 var_1;
  int var_18;
  type_11 *pBVar13;
  type_2 *pTemp;
  type_8 *pMVar14;
  type_2 *var_7;
  type_8 *var_25;
  type_12 *pcVar17;
  type_13 *var_28;
  type_14 PStack_58;
  int var_13;
  type_15 info;
  
  var_28 = PTR___stack_chk_guard_00190e24;
  pMVar14 = pCur->pPage;
  var_1 = (type_10)pCur->ix;
  pBVar11 = pCur->pBtree;
  var_9 = pMVar14->maskPage;
  var_7 = pMVar14->aData;
  var_26 = *(type_1 **)PTR___stack_chk_guard_00190e24;
  pBVar13 = pBVar11->pBt;
  var_18 = (int)pCur->iPage;
  var_8 = *(type_3 *)(pMVar14->aCellIdx + var_1 * 2);
  var_3 = pMVar14->leaf;
  if ((var_2 & 2) == 0) {
LAB_000d07f4:
    if (var_3 != '\0') {
LAB_000d07fc:
      var_11 = pCur->curFlags;
      bVar2 = false;
      goto joined_r0x000d0804;
    }
LAB_000d0a14:
    var_5 = var_4(pCur,0);
    var_13 = var_5;
    if (var_5 == 0) goto LAB_000d07fc;
  }
  else {
    if (((var_3 == '\0') ||
        (var_5 = (*(type_12 *)(var_6 + 0x1310))(pMVar14,var_7 + (var_8 & var_9)),
        (int)((pBVar13->usableSize << 1) / 3) <= (int)((type_10)pMVar14->nFree + var_5 + 1))) ||
       (pMVar14->nCell == 1)) {
      if (pCur->curIntKey == '\0') {
        var_5 = var_10(pCur);
        var_13 = var_5;
        if (var_5 == 0) {
          var_3 = pMVar14->leaf;
          var_13 = 0;
          goto LAB_000d07f4;
        }
        goto LAB_000d078c;
      }
      (*(type_12 *)(var_6 + 0x1604))();
      uVar8 = *(type_7 *)&(pCur->info).nKey;
      *(int *)((int)&pCur->nKey + 4) = (int)(pCur->info).nKey;
      *(type_7 *)&pCur->nKey = uVar8;
      var_13 = 0;
      if (pMVar14->leaf == '\0') goto LAB_000d0a14;
      goto LAB_000d07fc;
    }
    bVar2 = true;
    var_11 = pCur->curFlags;
joined_r0x000d0804:
    if (((var_11 & 0x20) == 0) ||
       (var_13 = var_12((type_11 *)pBVar13->pCursor,pCur->pgnoRoot,pCur), var_5 = var_13, var_13 == 0))
    {
      if ((pCur->pKeyInfo == (type_16 *)0x0) && (pBVar11->hasIncrblobCur != '\0')) {
        (*(type_12 *)(var_14 + 0x7804))(pBVar11->pBt,&pBVar11->hasIncrblobCur,pCur->pgnoRoot)
        ;
      }
      var_13 = var_15(pMVar14->pDbPage);
      var_5 = var_13;
      if ((var_13 == 0) &&
         (var_13 = var_16(pMVar14,var_7 + (var_8 & var_9),&info), var_5 = var_13, var_13 == 0)) {
        pcVar17 = (type_12 *)(var_17 + -0x176c);
        (*pcVar17)(pMVar14,var_1,info.nSize,&var_13);
        var_5 = var_13;
        if (var_13 == 0) {
          if (pMVar14->leaf == '\0') {
            var_25 = pCur->pPage;
            if (var_18 < pCur->iPage + -1) {
              PStack_58 = pCur->apPage[var_18 + 1]->pgno;
            }
            else {
              PStack_58 = var_25->pgno;
            }
            var_7 = var_25->aData +
                      (*(type_3 *)(var_25->aCellIdx + (var_25->nCell - 1) * 2) & var_25->maskPage
                      );
            if (var_7 < var_25->aData + 4) {
              (*(type_12 *)PTR_sqlite3_log_00190be0)
                        (0xb,var_19 + -0x6378,
                         var_19 + -0x5e64,0x118e2,
                         var_20 + 0x625c);
              var_5 = 0xb;
            }
            else {
              uVar4 = (*var_25->xCellSize)(var_25,var_7);
              pTemp = pBVar13->pTmpSpace;
              var_13 = var_15(var_25->pDbPage);
              var_5 = var_13;
              if (var_13 == 0) {
                var_21(pMVar14,var_1,var_7 + -4,var_22(extraout_var,uVar4) + 4,pTemp,PStack_58,
                           &var_13);
                var_5 = var_13;
                if ((var_13 == 0) &&
                   ((*pcVar17)(var_25,var_25->nCell - 1,var_22(extraout_var,uVar4),&var_13),
                   var_5 = var_13, var_13 == 0)) goto LAB_000d09a8;
              }
            }
          }
          else {
LAB_000d09a8:
            var_13 = var_23(pCur);
            var_5 = var_13;
            if (var_13 == 0) {
              if (var_18 < pCur->iPage) {
                pcVar17 = (type_12 *)(var_6 + 0xee8);
                (*pcVar17)(pCur->pPage->pDbPage);
                cVar6 = pCur->iPage + -1;
                pCur->iPage = cVar6;
                do {
                  var_5 = (int)cVar6;
                  var_24 = pCur->apPage + var_5;
                  do {
                    var_25 = *var_24;
                    if (var_5 <= var_18) {
                      pCur->pPage = var_25;
                      var_5 = var_23(pCur);
                      var_13 = var_5;
                      if (var_5 == 0) goto LAB_000d09d8;
                      goto LAB_000d078c;
                    }
                    cVar6 = (char)var_5 + -1;
                    var_24 = var_24 + -1;
                    var_5 = (int)cVar6;
                    pCur->iPage = cVar6;
                  } while (var_25 == (type_8 *)0x0);
                  (*pcVar17)(var_25->pDbPage);
                  cVar6 = pCur->iPage;
                } while( true );
              }
LAB_000d09d8:
              if (bVar2) {
                pCur->eState = '\x02';
                var_5 = var_13;
                if (var_1 < pMVar14->nCell) {
                  pCur->skipNext = 1;
                }
                else {
                  pCur->skipNext = -1;
                  pCur->ix = pMVar14->nCell - 1;
                }
              }
              else {
                var_13 = (*(type_12 *)(var_17 + -0x222c))(pCur);
                if ((var_2 & 2) != 0) {
                  (*(type_12 *)(var_14 + 0x788c))(pCur);
                  pCur->eState = '\x03';
                }
                var_5 = var_13;
                if (var_13 == 0x10) {
                  var_5 = 0;
                }
              }
            }
          }
        }
      }
    }
  }
LAB_000d078c:
  if (var_26 == *(type_1 **)var_28) {
    return var_5;
  }
  var_28 = PTR___stack_chk_fail_00190df8;
  (*(type_12 *)PTR___stack_chk_fail_00190df8)();
  var_11 = var_26->eState;
  if (var_11 != 0) {
    if (2 < var_11) {
      if (var_11 == 4) {
        if (var_26->skipNext != 0) {
          return var_26->skipNext;
        }
        goto LAB_000d0c34;
      }
      var_18 = var_27(var_26);
      if (var_18 != 0) {
        return var_18;
      }
      var_11 = var_26->eState;
    }
    if (var_11 == 1) {
      return 0x65;
    }
    if ((var_11 == 2) && (var_26->eState = '\0', 0 < var_26->skipNext)) {
      return 0;
    }
  }
LAB_000d0c34:
  pMVar14 = var_26->pPage;
  var_9 = var_26->ix + 1;
  var_26->ix = var_9;
  if (pMVar14->isInit == '\0') {
    (**(type_12 **)(var_28 + 0xbfff8))
              (0xb,*(int *)(var_28 + 0xbfd74) + -0x6378,*(int *)(var_28 + 0xbfd74) + -0x5e64,
               0x10c6d,*(int *)(var_28 + 0xbfd70) + 0x625c);
    var_18 = 0xb;
  }
  else {
    if (var_9 < pMVar14->nCell) {
      var_18 = *(int *)(var_28 + 0xbfff4);
      if (pMVar14->leaf == '\0') goto LAB_000d0d4c;
    }
    else {
      var_18 = *(int *)(var_28 + 0xbff58);
      if (pMVar14->leaf == '\0') {
        var_18 = (*(type_12 *)(*(int *)(var_28 + 0xbfff4) + -0x243c))
                           (var_26,*(type_7 *)(pMVar14->aData + pMVar14->hdrOffset + 8));
        if (var_18 != 0) {
          return var_18;
        }
        var_18 = *(int *)(var_28 + 0xbfff4);
LAB_000d0d4c:
                    /* WARNING: Could not recover jumptable at 0x000d0d60. Too many branches */
                    /* WARNING: Treating indirect jump as call */
        var_18 = (*(type_12 *)(var_18 + -0x22d8))(var_26);
        return var_18;
      }
      do {
        if (var_26->iPage == '\0') {
          var_26->eState = '\x01';
          return 0x65;
        }
        (*(type_12 *)(var_18 + 0x1664))(var_26);
      } while (var_26->pPage->nCell <= var_26->ix);
      if (var_26->pPage->intKey != '\0') {
        var_18 = var_29(var_26,0);
        return var_18;
      }
    }
    var_18 = 0;
  }
  return var_18;
}


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

int MASKED(undefined1 *param_1,uint param_2)

{
  short sVar1;
  bool bVar2;
  int iVar3;
  char cVar4;
  byte bVar5;
  char *pcVar6;
  int *piVar7;
  byte *pbVar8;
  uint uVar9;
  int iVar10;
  uint uVar11;
  int iVar12;
  int iVar13;
  undefined4 uVar14;
  int iVar15;
  int iVar16;
  code *pcVar17;
  undefined *puVar18;
  undefined4 local_58;
  int local_4c;
  undefined1 auStack_48 [18];
  undefined2 local_36;
  byte *local_2c;
  
  puVar18 = PTR___stack_chk_guard_00190e24;
  iVar15 = *(int *)(param_1 + 0x74);
  uVar11 = (uint)*(ushort *)(param_1 + 0x46);
  iVar10 = *(int *)(param_1 + 8);
  local_2c = *(byte **)PTR___stack_chk_guard_00190e24;
  iVar13 = *(int *)(iVar10 + 4);
  iVar12 = (int)(char)param_1[0x44];
  cVar4 = *(char *)(iVar15 + 8);
  iVar16 = *(int *)(iVar15 + 0x38) +
           (uint)(*(ushort *)(*(int *)(iVar15 + 0x40) + uVar11 * 2) & *(ushort *)(iVar15 + 0x18));
  if ((param_2 & 2) == 0) {
LAB_000d07f4:
    if (cVar4 != '\0') {
LAB_000d07fc:
      bVar5 = param_1[1];
      bVar2 = false;
      goto joined_r0x000d0804;
    }
LAB_000d0a14:
    iVar3 = FUN_000d0604(param_1,0);
    local_4c = iVar3;
    if (iVar3 == 0) goto LAB_000d07fc;
  }
  else {
    if (((cVar4 == '\0') ||
        (iVar3 = (*(code *)(PTR_LAB_00190b40 + 0x1310))(iVar15,iVar16),
        (int)((uint)(*(int *)(iVar13 + 0x24) << 1) / 3) <=
        (int)((uint)*(ushort *)(iVar15 + 0x14) + iVar3 + 1))) || (*(short *)(iVar15 + 0x16) == 1)) {
      if (param_1[0x45] == '\0') {
        iVar3 = FUN_000ce0d8();
        local_4c = iVar3;
        if (iVar3 == 0) {
          cVar4 = *(char *)(iVar15 + 8);
          local_4c = 0;
          goto LAB_000d07f4;
        }
        goto LAB_000d078c;
      }
      (*(code *)(PTR_LAB_00190b40 + 0x1604))(param_1);
      *(undefined4 *)(param_1 + 0x3c) = *(undefined4 *)(param_1 + 0x24);
      *(undefined4 *)(param_1 + 0x38) = *(undefined4 *)(param_1 + 0x20);
      local_4c = 0;
      if (*(char *)(iVar15 + 8) == '\0') goto LAB_000d0a14;
      goto LAB_000d07fc;
    }
    bVar2 = true;
    bVar5 = param_1[1];
joined_r0x000d0804:
    if (((bVar5 & 0x20) == 0) ||
       (local_4c = FUN_000ce3b8(*(undefined4 *)(iVar13 + 8),*(undefined4 *)(param_1 + 0x40),param_1)
       , iVar3 = local_4c, local_4c == 0)) {
      if ((*(int *)(param_1 + 0x70) == 0) && (*(char *)(iVar10 + 0xb) != '\0')) {
        (*(code *)(PTR_LAB_00190ba8 + 0x7804))
                  (*(undefined4 *)(iVar10 + 4),iVar10 + 0xb,*(undefined4 *)(param_1 + 0x40));
      }
      local_4c = FUN_000c3260(*(undefined4 *)(iVar15 + 0x48));
      iVar3 = local_4c;
      if ((local_4c == 0) &&
         (local_4c = FUN_000cabd8(iVar15,iVar16,auStack_48), iVar3 = local_4c, local_4c == 0)) {
        pcVar17 = (code *)(PTR_LAB_00190bdc + -0x176c);
        (*pcVar17)(iVar15,uVar11,local_36,&local_4c);
        iVar3 = local_4c;
        if (local_4c == 0) {
          if (*(char *)(iVar15 + 8) == '\0') {
            iVar10 = *(int *)(param_1 + 0x74);
            if (iVar12 < (char)param_1[0x44] + -1) {
              local_58 = *(undefined4 *)(*(int *)(param_1 + (iVar12 + 0x1f) * 4) + 4);
            }
            else {
              local_58 = *(undefined4 *)(iVar10 + 4);
            }
            uVar9 = *(int *)(iVar10 + 0x38) +
                    (uint)(*(ushort *)
                            (*(int *)(iVar10 + 0x40) + (*(ushort *)(iVar10 + 0x16) - 1) * 2) &
                          *(ushort *)(iVar10 + 0x18));
            if (uVar9 < *(int *)(iVar10 + 0x38) + 4U) {
              (*(code *)PTR_sqlite3_log_00190be0)
                        (0xb,PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x6378,
                         PTR_s_o_page_from_root____pageno_INTEG_0019095c + -0x5e64,0x118e2,
                         PTR_LAB_00190958 + 0x625c);
              iVar3 = 0xb;
            }
            else {
              iVar16 = (**(code **)(iVar10 + 0x4c))(iVar10,uVar9);
              uVar14 = *(undefined4 *)(iVar13 + 0x50);
              local_4c = FUN_000c3260(*(undefined4 *)(iVar10 + 0x48));
              iVar3 = local_4c;
              if (local_4c == 0) {
                FUN_000caee4(iVar15,uVar11,uVar9 - 4,iVar16 + 4,uVar14,local_58,&local_4c);
                iVar3 = local_4c;
                if ((local_4c == 0) &&
                   ((*pcVar17)(iVar10,*(ushort *)(iVar10 + 0x16) - 1,iVar16,&local_4c),
                   iVar3 = local_4c, local_4c == 0)) goto LAB_000d09a8;
              }
            }
          }
          else {
LAB_000d09a8:
            local_4c = FUN_000ccf80(param_1);
            iVar3 = local_4c;
            if (local_4c == 0) {
              if (iVar12 < (char)param_1[0x44]) {
                pcVar17 = (code *)(PTR_LAB_00190b40 + 0xee8);
                (*pcVar17)(*(undefined4 *)(*(int *)(param_1 + 0x74) + 0x48));
                cVar4 = param_1[0x44] + -1;
                param_1[0x44] = cVar4;
                do {
                  iVar10 = (int)cVar4;
                  piVar7 = (int *)(param_1 + (iVar10 + 0x1e) * 4);
                  do {
                    iVar13 = *piVar7;
                    if (iVar10 <= iVar12) {
                      *(int *)(param_1 + 0x74) = iVar13;
                      iVar3 = FUN_000ccf80(param_1);
                      local_4c = iVar3;
                      if (iVar3 == 0) goto LAB_000d09d8;
                      goto LAB_000d078c;
                    }
                    cVar4 = (char)iVar10 + -1;
                    piVar7 = piVar7 + -1;
                    iVar10 = (int)cVar4;
                    param_1[0x44] = cVar4;
                  } while (iVar13 == 0);
                  (*pcVar17)(*(undefined4 *)(iVar13 + 0x48));
                  cVar4 = param_1[0x44];
                } while( true );
              }
LAB_000d09d8:
              if (bVar2) {
                *param_1 = 2;
                iVar3 = local_4c;
                if (uVar11 < *(ushort *)(iVar15 + 0x16)) {
                  *(undefined4 *)(param_1 + 4) = 1;
                }
                else {
                  *(undefined4 *)(param_1 + 4) = 0xffffffff;
                  *(short *)(param_1 + 0x46) = *(short *)(iVar15 + 0x16) + -1;
                }
              }
              else {
                local_4c = (*(code *)(PTR_LAB_00190bdc + -0x222c))(param_1);
                if ((param_2 & 2) != 0) {
                  (*(code *)(PTR_LAB_00190ba8 + 0x788c))(param_1);
                  *param_1 = 3;
                }
                iVar3 = local_4c;
                if (local_4c == 0x10) {
                  iVar3 = 0;
                }
              }
            }
          }
        }
      }
    }
  }
LAB_000d078c:
  if (local_2c == *(byte **)puVar18) {
    return iVar3;
  }
  pbVar8 = local_2c;
  puVar18 = PTR___stack_chk_fail_00190df8;
  (*(code *)PTR___stack_chk_fail_00190df8)();
  bVar5 = *pbVar8;
  if (bVar5 != 0) {
    if (2 < bVar5) {
      if (bVar5 == 4) {
        if (*(int *)(pbVar8 + 4) != 0) {
          return *(int *)(pbVar8 + 4);
        }
        goto LAB_000d0c34;
      }
      iVar10 = FUN_000d0344();
      if (iVar10 != 0) {
        return iVar10;
      }
      bVar5 = *pbVar8;
    }
    if (bVar5 == 1) {
      return 0x65;
    }
    if ((bVar5 == 2) && (*pbVar8 = 0, 0 < *(int *)(pbVar8 + 4))) {
      return 0;
    }
  }
LAB_000d0c34:
  sVar1 = *(short *)(pbVar8 + 0x46);
  pcVar6 = *(char **)(pbVar8 + 0x74);
  *(ushort *)(pbVar8 + 0x46) = sVar1 + 1U;
  if (*pcVar6 == '\0') {
    (**(code **)(puVar18 + 0xbfff8))
              (0xb,*(int *)(puVar18 + 0xbfd74) + -0x6378,*(int *)(puVar18 + 0xbfd74) + -0x5e64,
               0x10c6d,*(int *)(puVar18 + 0xbfd70) + 0x625c);
    iVar10 = 0xb;
  }
  else {
    if ((ushort)(sVar1 + 1U) < *(ushort *)(pcVar6 + 0x16)) {
      iVar10 = *(int *)(puVar18 + 0xbfff4);
      if (pcVar6[8] == '\0') goto LAB_000d0d4c;
    }
    else {
      iVar10 = *(int *)(puVar18 + 0xbff58);
      if (pcVar6[8] == '\0') {
        iVar10 = (*(code *)(*(int *)(puVar18 + 0xbfff4) + -0x243c))
                           (pbVar8,*(undefined4 *)
                                    (*(int *)(pcVar6 + 0x38) + (uint)(byte)pcVar6[9] + 8));
        if (iVar10 != 0) {
          return iVar10;
        }
        iVar10 = *(int *)(puVar18 + 0xbfff4);
LAB_000d0d4c:
        iVar10 = (*(code *)(iVar10 + -0x22d8))(pbVar8);
        return iVar10;
      }
      do {
        if (pbVar8[0x44] == 0) {
          *pbVar8 = 1;
          return 0x65;
        }
        (*(code *)(iVar10 + 0x1664))(pbVar8);
      } while (*(ushort *)(*(int *)(pbVar8 + 0x74) + 0x16) <= *(ushort *)(pbVar8 + 0x46));
      if (*(char *)(*(int *)(pbVar8 + 0x74) + 2) != '\0') {
        iVar10 = FUN_000d0de4(pbVar8,0);
        return iVar10;
      }
    }
    iVar10 = 0;
  }
  return iVar10;
}

