
int process_input(ShellState *p)

{
  byte bVar1;
  char cVar2;
  undefined *puVar3;
  undefined *puVar4;
  code *pcVar5;
  undefined *puVar6;
  undefined *puVar7;
  code *pcVar8;
  int *piVar9;
  int *piVar10;
  byte *pbVar11;
  char *pcVar12;
  uint uVar13;
  byte *pbVar14;
  int iVar15;
  undefined *puVar16;
  int iVar17;
  uint uVar18;
  byte *zLine;
  char *zSql;
  int iVar19;
  uint uVar20;
  int iStack_3c;
  int iStack_2c;
  
  puVar4 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;
  puVar16 = PTR_LAB_00190954;
  puVar3 = PTR_aBuiltinFunc_29540_1408__00190948;
  iVar19 = 0;
  pcVar5 = (code *)(PTR_LAB_00190954 + 0x6014);
  zSql = (char *)0x0;
  zLine = (byte *)0x0;
  puVar6 = PTR_aBuiltinFunc_29540_1408__00190948 + 0xf04;
  puVar7 = PTR_aBuiltinFunc_29540_1408__00190948 + 0xf18;
  iStack_2c = 0;
  iStack_3c = 0;
  p->lineno = 0;
  pcVar8 = (code *)(puVar16 + 0x156c);
  uVar18 = 0;
  while( true ) {
    (*(code *)PTR_fflush_00190e48)(p->out);
    if (p->in == (FILE *)0x0) {
      puVar16 = puVar6;
      if ((int)uVar18 < 1) {
        puVar16 = puVar7;
      }
      (*(code *)PTR___printf_chk_00190d34)(1,puVar4 + -0x5dfc,puVar16);
      (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);
      zLine = (byte *)(*pcVar5)(zLine,*(undefined4 *)PTR_stdin_00190d70);
    }
    else {
      zLine = (byte *)(*pcVar5)(zLine);
    }
    if (zLine == (byte *)0x0) break;
    if (*(int *)(puVar3 + 0xf30) != 0) {
      if (p->in != (FILE *)0x0) goto LAB_0003eb1c;
      *(undefined4 *)(puVar3 + 0xf30) = 0;
    }
    p->lineno = p->lineno + 1;
    if (uVar18 == 0) {
      iVar15 = (*pcVar8)(zLine);
      uVar20 = uVar18;
      if (iVar15 == 0) {
        if (*zLine == 0x2e) {
          if ((p->shellFlgs & 0x40) != 0) {
LAB_0003ed64:
            (*(code *)PTR_puts_00190da0)(zLine);
            if (*zLine == 0x2e) goto LAB_0003ec98;
            goto LAB_0003eaec;
          }
LAB_0003ec98:
          uVar20 = do_meta_command((char *)zLine,p);
          if (uVar20 != 2) {
            if (uVar20 != 0) {
              iVar19 = iVar19 + 1;
              uVar20 = 0;
            }
            goto LAB_0003eaf0;
          }
          goto LAB_0003eb38;
        }
        if (*zLine != 0x23) goto LAB_0003ea0c;
        if ((p->shellFlgs & 0x40) != 0) goto LAB_0003ed64;
      }
      else if ((p->shellFlgs & 0x40) != 0) {
        (*(code *)PTR_puts_00190da0)(zLine);
      }
    }
    else {
LAB_0003ea0c:
      piVar9 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();
      pbVar14 = zLine;
      while( true ) {
        bVar1 = *pbVar14;
        if ((*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20) == 0) break;
        pbVar14 = pbVar14 + 1;
      }
      pbVar11 = zLine;
      if ((bVar1 == 0x2f) && (iVar15 = (*pcVar8)(pbVar14 + 1), iVar15 != 0)) {
LAB_0003ede4:
        pcVar12 = zSql + uVar18;
        if (zSql != (char *)0x0) {
          *pcVar12 = ';';
          pcVar12[1] = '\0';
          iVar15 = sqlite3_complete(zSql);
          *pcVar12 = '\0';
          if (iVar15 == 0) goto LAB_0003ea78;
        }
        zLine[1] = 0;
        *zLine = 0x3b;
        if (*zLine == 0) goto LAB_0003ee2c;
LAB_0003ea84:
        do {
          pbVar11 = pbVar11 + 1;
        } while (*pbVar11 != 0);
        uVar20 = (int)pbVar11 - (int)zLine & 0x3fffffff;
        uVar13 = uVar18 + uVar20;
      }
      else {
        piVar10 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();
        if ((*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g') &&
           ((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&
            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)))) goto LAB_0003ede4;
LAB_0003ea78:
        if (*zLine != 0) goto LAB_0003ea84;
LAB_0003ee2c:
        uVar20 = 0;
        uVar13 = uVar18;
      }
      if ((iStack_3c <= (int)(uVar13 + 2)) &&
         (zSql = (char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100),
         iStack_3c = uVar13 + 100, zSql == (char *)0x0)) {
                    /* WARNING: Subroutine does not return */
        shell_out_of_memory();
      }
      puVar16 = PTR_memcpy_00190e2c;
      iVar15 = uVar20 + 1;
      if (uVar18 == 0) {
        pbVar14 = zLine;
        if ((*zLine == 0) || ((*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0)) {
          iVar17 = 0;
        }
        else {
          iVar17 = 0;
          do {
            pbVar14 = pbVar14 + 1;
            iVar17 = iVar17 + 1;
            if (*pbVar14 == 0) break;
          } while ((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0);
          uVar20 = uVar20 - iVar17;
        }
        (*(code *)PTR_memcpy_00190e2c)(zSql,pbVar14,iVar15 - iVar17);
        iStack_2c = p->lineno;
      }
      else {
        zSql[uVar18] = '\n';
        uVar20 = uVar20 + uVar18 + 1;
        (*(code *)puVar16)(zSql + uVar18 + 1,zLine);
      }
      if (uVar20 == 0) {
LAB_0003eaec:
        uVar20 = 0;
      }
      else {
        if (0 < (int)(uVar20 - uVar18)) {
          if (zSql[uVar18] != ';') {
            pcVar12 = zSql + uVar18 + 1;
            do {
              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;
              cVar2 = *pcVar12;
              pcVar12 = pcVar12 + 1;
            } while (cVar2 != ';');
          }
          iVar15 = sqlite3_complete(zSql);
          if (iVar15 != 0) {
            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);
            iVar19 = iVar19 + iVar15;
            if (p->outCount == 0) {
              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);
              uVar20 = 0;
            }
            else {
              output_reset(p);
              p->outCount = 0;
              uVar20 = 0;
            }
            goto LAB_0003eaf0;
          }
        }
LAB_0003ebc4:
        iVar15 = (*pcVar8)(zSql);
        if (iVar15 != 0) {
          if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;
          (*(code *)PTR_puts_00190da0)(zSql);
          uVar20 = 0;
        }
      }
    }
LAB_0003eaf0:
    uVar18 = uVar20;
    if (((iVar19 != 0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38) != 0)) &&
       ((p->in != (FILE *)0x0 || (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) == 0))))
    goto LAB_0003eb1c;
  }
  if ((p->in == (FILE *)0x0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) != 0)) {
    (*(code *)PTR_putchar_00190d50)(10);
  }
LAB_0003eb1c:
  if ((uVar18 != 0) && (iVar15 = _all_whitespace(zSql), iVar15 == 0)) {
    iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);
    iVar19 = iVar19 + iVar15;
  }
LAB_0003eb38:
  (*(code *)PTR_free_00190e38)(zSql);
  (*(code *)PTR_free_00190e38)(zLine);
  return (uint)(0 < iVar19);
}



bool FUN_0003e914(int param_1)

{
  byte bVar1;
  undefined *puVar2;
  undefined *puVar3;
  code *pcVar4;
  undefined *puVar5;
  undefined *puVar6;
  code *pcVar7;
  int *piVar8;
  int *piVar9;
  int iVar10;
  byte *pbVar11;
  byte *pbVar12;
  undefined *puVar13;
  byte *pbVar14;
  byte *pbVar15;
  int iVar16;
  int iVar17;
  byte *pbVar18;
  byte *local_3c;
  undefined4 local_2c;
  
  puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;
  puVar13 = PTR_LAB_00190954;
  puVar2 = PTR_DAT_00190948;
  iVar17 = 0;
  pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014);
  iVar16 = 0;
  pbVar15 = (byte *)0x0;
  puVar5 = PTR_DAT_00190948 + 0xf04;
  puVar6 = PTR_DAT_00190948 + 0xf18;
  local_2c = 0;
  local_3c = (byte *)0x0;
  *(undefined4 *)(param_1 + 0x1c) = 0;
  pcVar7 = (code *)(puVar13 + 0x156c);
  pbVar14 = (byte *)0x0;
LAB_0003e9b0:
  (*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));
  if (*(int *)(param_1 + 0x20) == 0) {
    puVar13 = puVar5;
    if ((int)pbVar14 < 1) {
      puVar13 = puVar6;
    }
    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);
    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);
    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);
  }
  else {
    pbVar15 = (byte *)(*pcVar4)(pbVar15);
  }
  if (pbVar15 == (byte *)0x0) {
    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {
      (*(code *)PTR_putchar_00190d50)(10);
    }
LAB_0003eb1c:
    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {
      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);
      iVar17 = iVar17 + iVar10;
    }
LAB_0003eb38:
    (*(code *)PTR_free_00190e38)(iVar16);
    (*(code *)PTR_free_00190e38)(pbVar15);
    return 0 < iVar17;
  }
  if (*(int *)(puVar2 + 0xf30) != 0) {
    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;
    *(undefined4 *)(puVar2 + 0xf30) = 0;
  }
  *(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1;
  if (pbVar14 != (byte *)0x0) {
LAB_0003ea0c:
    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();
    pbVar18 = pbVar15;
    while( true ) {
      bVar1 = *pbVar18;
      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;
      pbVar18 = pbVar18 + 1;
    }
    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;
    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();
    iVar10 = *piVar9;
    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;
LAB_0003ea78:
    pbVar11 = pbVar15;
    if (*pbVar15 == 0) goto LAB_0003ee2c;
    do {
      do {
        pbVar11 = pbVar11 + 1;
      } while (*pbVar11 != 0);
      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);
      pbVar11 = pbVar14 + (int)pbVar18;
      while( true ) {
        pbVar12 = pbVar11 + 100;
        if (((int)(pbVar11 + 2) < (int)local_3c) ||
           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,
           iVar16 != 0)) {
          puVar13 = PTR_memcpy_00190e2c;
          if (pbVar14 != (byte *)0x0) {
            pbVar14[iVar16] = 10;
            pbVar11 = pbVar18 + (int)(pbVar14 + 1);
            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);
            goto LAB_0003eae4;
          }
          pbVar12 = pbVar15;
          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {
            iVar10 = 0;
            goto LAB_0003ed18;
          }
          iVar10 = 0;
          pbVar11 = pbVar18;
          goto LAB_0003ed2c;
        }
        iVar10 = FUN_00023f24();
LAB_0003edb8:
        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||
           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;
LAB_0003ede4:
        pbVar11 = pbVar14 + iVar16;
        if (iVar16 != 0) {
          *pbVar11 = 0x3b;
          pbVar11[1] = 0;
          iVar10 = sqlite3_complete(iVar16);
          *pbVar11 = 0;
          if (iVar10 == 0) goto LAB_0003ea78;
        }
        pbVar15[1] = 0;
        *pbVar15 = 0x3b;
        pbVar11 = pbVar15;
        if (*pbVar15 != 0) break;
LAB_0003ee2c:
        pbVar18 = (byte *)0x0;
        pbVar11 = pbVar14;
      }
    } while( true );
  }
  iVar10 = (*pcVar7)(pbVar15);
  pbVar11 = pbVar14;
  if (iVar10 != 0) {
    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {
      (*(code *)PTR_puts_00190da0)(pbVar15);
    }
    goto LAB_0003eaf0;
  }
  if (*pbVar15 != 0x2e) {
    if (*pbVar15 != 0x23) goto LAB_0003ea0c;
    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;
    goto LAB_0003eaf0;
  }
  if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {
LAB_0003ed64:
    (*(code *)PTR_puts_00190da0)(pbVar15);
    if (*pbVar15 == 0x2e) goto LAB_0003ec98;
    goto LAB_0003eaec;
  }
LAB_0003ec98:
  pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);
  if (pbVar11 != (byte *)0x2) {
    if (pbVar11 != (byte *)0x0) {
      iVar17 = iVar17 + 1;
      pbVar11 = (byte *)0x0;
    }
    goto LAB_0003eaf0;
  }
  goto LAB_0003eb38;
  while ((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0) {
LAB_0003ed18:
    pbVar12 = pbVar12 + 1;
    iVar10 = iVar10 + 1;
    if (*pbVar12 == 0) break;
  }
  pbVar11 = pbVar18 + -iVar10;
LAB_0003ed2c:
  (*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));
  local_2c = *(undefined4 *)(param_1 + 0x1c);
LAB_0003eae4:
  if (pbVar11 != (byte *)0x0) {
    if (0 < (int)pbVar11 - (int)pbVar14) {
      if (pbVar14[iVar16] != 0x3b) {
        pbVar18 = pbVar14 + iVar16 + 1;
        do {
          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;
          bVar1 = *pbVar18;
          pbVar18 = pbVar18 + 1;
        } while (bVar1 != 0x3b);
      }
      iVar10 = sqlite3_complete(iVar16);
      if (iVar10 != 0) {
        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);
        iVar17 = iVar17 + iVar10;
        if (*(int *)(param_1 + 0x14) == 0) {
          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);
          pbVar11 = (byte *)0x0;
        }
        else {
          FUN_00028634(param_1);
          *(undefined4 *)(param_1 + 0x14) = 0;
          pbVar11 = (byte *)0x0;
        }
        goto LAB_0003eaf0;
      }
    }
LAB_0003ebc4:
    iVar10 = (*pcVar7)(iVar16);
    if (iVar10 == 0) goto LAB_0003eaf0;
    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {
      (*(code *)PTR_puts_00190da0)(iVar16);
      pbVar11 = (byte *)0x0;
      goto LAB_0003eaf0;
    }
  }
LAB_0003eaec:
  pbVar11 = (byte *)0x0;
LAB_0003eaf0:
  pbVar14 = pbVar11;
  if (((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&
     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))
  goto LAB_0003eb1c;
  goto LAB_0003e9b0;
}


lui gp,0x16
addiu gp,gp,-0x5ff4
addu gp,gp,t9
addiu sp,sp,-0x60
lw v0,-0x7fc4(gp)
sw s7,0x54(sp)
sw v0,0x28(sp)
lw s7,-0x7fcc(gp)
sw s4,0x48(sp)
sw s5,0x4c(sp)
or s5,zero,zero
addiu v0,s7,0x6014
sw s3,0x44(sp)
sw s1,0x3c(sp)
or s3,zero,zero
sw v0,0x1c(sp)
or s1,zero,zero
lw v0,-0x7fd8(gp)
lw s4,-0x7fd8(gp)
sw s0,0x38(sp)
or s0,zero,zero
addiu v0,v0,0xf04
sw gp,0x10(sp)
sw s2,0x40(sp)
or s2,a0,zero
sw v0,0x2c(sp)
lw v0,-0x7fd8(gp)
sw ra,0x5c(sp)
sw s8,0x58(sp)
addiu v0,v0,0xf18
sw s6,0x50(sp)
sw zero,0x34(sp)
sw v0,0x30(sp)
lw v0,-0x7fcc(gp)
sw zero,0x24(sp)
sw zero,0x1c(a0)
addiu v0,v0,0x156c
sw v0,0x20(sp)
lw t9,-0x7ad8(gp)
jalr t9
_lw a0,0x24(s2)
lw a1,0x20(s2)
beq a1,zero,0x0003ebe0
_lw gp,0x10(sp)
lw t9,0x1c(sp)
jalr t9
_or a0,s1,zero
or s1,v0,zero
beq s1,zero,0x0003ec38
_lw gp,0x10(sp)
lw v0,0xf30(s4)
beq v0,zero,0x0003e9f8
_nop
lw v0,0x20(s2)
bne v0,zero,0x0003eb1c
_nop
sw zero,0xf30(s4)
lw v0,0x1c(s2)
addiu v0,v0,0x1
beq s0,zero,0x0003ec64
_sw v0,0x1c(s2)
lw t9,-0x7c60(gp)
jalr t9
_or s7,s1,zero
lw gp,0x10(sp)
or s6,v0,zero
b 0x0003ea28
_lw a2,0x0(v0)
addiu s7,s7,0x1
lb a0,0x0(s7)
andi s8,a0,0xff
sll v0,s8,0x1
addu v0,a2,v0
lhu v0,0x0(v0)
andi v0,v0,0x20
bne v0,zero,0x0003ea24
_li v0,0x2f
beq a0,v0,0x0003ee58
_lw t9,0x20(sp)
lw t9,-0x7c5c(gp)
jalr t9
_nop
sll a1,s8,0x2
lw v0,0x0(v0)
li a0,0x67
addu a1,v0,a1
lb a1,0x3(a1)
beq a1,a0,0x0003edb8
_lw gp,0x10(sp)
lb v0,0x0(s1)
beq v0,zero,0x0003ee2c
_or v0,s1,zero
addiu v0,v0,0x1
lb v1,0x0(v0)
bne v1,zero,0x0003ea84
_nop
subu v0,v0,s1
ext s7,v0,0x0,0x1e
addu a0,s0,s7
lw v1,0x24(sp)
addiu v0,a0,0x2
slt v0,v0,v1
beq v0,zero,0x0003ed88
_addiu v0,a0,0x64
beq s0,zero,0x0003eccc
_addiu a2,s7,0x1
addiu v0,s0,0x1
lw t9,-0x7af4(gp)
addu a1,s3,s0
li a3,0xa
addu a0,s3,v0
sb a3,0x0(a1)
or a1,s1,zero
jalr t9
_addu s7,s7,v0
lw gp,0x10(sp)
bne s7,zero,0x0003eb88
_subu v0,s7,s0
or s0,zero,zero
beq s5,zero,0x0003e9ac
_lw v0,-0x7fd8(gp)
lw v0,0xf38(v0)
beq v0,zero,0x0003e9b0
_lw t9,-0x7ad8(gp)
lw v0,0x20(s2)
bne v0,zero,0x0003eb1c
_lw v0,-0x7fd8(gp)
lw v0,-0xfa0(v0)
bne v0,zero,0x0003e9ac
_nop
beq s0,zero,0x0003eb38
_lw t9,-0x7fcc(gp)
addiu t9,t9,0x156c
bal 0x0002156c
_or a0,s3,zero
beq v0,zero,0x0003eef4
_lw gp,0x10(sp)
lw t9,-0x7ae8(gp)
jalr t9
_or a0,s3,zero
lw gp,0x10(sp)
lw t9,-0x7ae8(gp)
jalr t9
_or a0,s1,zero
slt v0,zero,s5
lw ra,0x5c(sp)
lw s8,0x58(sp)
lw s7,0x54(sp)
lw s6,0x50(sp)
lw s5,0x4c(sp)
lw s4,0x48(sp)
lw s3,0x44(sp)
lw s2,0x40(sp)
lw s1,0x3c(sp)
lw s0,0x38(sp)
jr ra
_addiu sp,sp,0x60
blez v0,0x0003ebc4
_addu a0,s3,s0
li a1,0x3b
lb a2,0x0(a0)
beq a2,a1,0x0003ee94
_addiu s0,s0,0x1
addu a0,a0,v0
b 0x0003ebb8
_addu s0,s3,s0
lb v0,-0x1(s0)
beq v0,a1,0x0003ee98
_lw t9,-0x7d9c(gp)
bne a0,s0,0x0003ebac
_addiu s0,s0,0x1
addiu s0,s0,-0x1
lw t9,0x20(sp)
jalr t9
_or a0,s3,zero
bne v0,zero,0x0003ee70
_lw gp,0x10(sp)
b 0x0003eaf0
_or s0,s7,zero
bgtz s0,0x0003ebec
_lw a2,0x2c(sp)
lw a2,0x30(sp)
lw v0,0x28(sp)
li a0,0x1
lw t9,-0x7bec(gp)
jalr t9
_addiu a1,v0,-0x5dfc
lw gp,0x10(sp)
lw v0,-0x7be8(gp)
lw t9,-0x7ad8(gp)
jalr t9
_lw a0,0x0(v0)
or a0,s1,zero
lw gp,0x10(sp)
lw t9,0x1c(sp)
lw v0,-0x7bb0(gp)
jalr t9
_lw a1,0x0(v0)
or s1,v0,zero
bne s1,zero,0x0003e9dc
_lw gp,0x10(sp)
lw v0,0x20(s2)
bne v0,zero,0x0003eb1c
_lw v0,-0x7fd8(gp)
lw v0,-0xfa0(v0)
beq v0,zero,0x0003eb1c
_nop
lw t9,-0x7bd0(gp)
jalr t9
_li a0,0xa
b 0x0003eb1c
_lw gp,0x10(sp)
lw t9,0x20(sp)
jalr t9
_or a0,s1,zero
bne v0,zero,0x0003ee38
_lw gp,0x10(sp)
lb v0,0x0(s1)
li v1,0x2e
bne v0,v1,0x0003ed4c
_li v1,0x23
lw v0,0x58(s2)
andi v0,v0,0x40
bne v0,zero,0x0003ed64
_lw t9,-0x7ed0(gp)
or a1,s2,zero
addiu t9,t9,0x6100
bal 0x00036100
_or a0,s1,zero
li v1,0x2
lw gp,0x10(sp)
beq v0,v1,0x0003eb38
_or s0,v0,zero
beq v0,zero,0x0003eaf0
_nop
addiu s5,s5,0x1
b 0x0003eaf0
_or s0,zero,zero
lb v0,0x0(s1)
beq v0,zero,0x0003ef1c
_andi v0,v0,0xff
lw t0,0x0(s6)
sll v0,v0,0x1
addu v0,t0,v0
lhu v0,0x0(v0)
andi v0,v0,0x20
beq v0,zero,0x0003ef1c
_addiu a0,s1,0x1
b 0x0003ed18
_or a3,zero,zero
andi v0,v0,0xff
sll v0,v0,0x1
addu v0,t0,v0
lhu v0,0x0(v0)
andi v0,v0,0x20
beq v0,zero,0x0003ed28
_addiu a0,a0,0x1
lb v0,0x0(a0)
addiu a3,a3,0x1
bne v0,zero,0x0003ecfc
_or a1,a0,zero
subu s7,s7,a3
lw t9,-0x7af4(gp)
subu a2,a2,a3
jalr t9
_or a0,s3,zero
lw v0,0x1c(s2)
lw gp,0x10(sp)
b 0x0003eae4
_sw v0,0x34(sp)
bne v0,v1,0x0003ea0c
_lw t9,-0x7c60(gp)
lw v0,0x58(s2)
andi v0,v0,0x40
beq v0,zero,0x0003eaf0
_nop
lw t9,-0x7b80(gp)
jalr t9
_or a0,s1,zero
li v0,0x2e
lb v1,0x0(s1)
bne v1,v0,0x0003eaec
_lw gp,0x10(sp)
b 0x0003ec98
_lw t9,-0x7ed0(gp)
lw t9,-0x7b78(gp)
or a0,s3,zero
sw v0,0x24(sp)
jalr t9
_or a1,v0,zero
lw gp,0x10(sp)
bne v0,zero,0x0003eab4
_or s3,v0,zero
lw t9,-0x7fcc(gp)
addiu t9,t9,0x3f24
bal 0x00023f24
_nop
lbu a0,0x1(s7)
li a1,0x6f
sll a0,a0,0x2
addu v0,v0,a0
lb v0,0x3(v0)
bne v0,a1,0x0003ea78
_lw t9,0x20(sp)
jalr t9
_addiu a0,s7,0x2
beq v0,zero,0x0003ea78
_lw gp,0x10(sp)
beq s3,zero,0x0003ee14
_addu v1,s3,s0
lw t9,-0x7d9c(gp)
li v0,0x3b
or s7,v1,zero
or a0,s3,zero
sb v0,0x0(v1)
bal 0x00052a84
_sb zero,0x1(v1)
lw gp,0x10(sp)
beq v0,zero,0x0003ea78
_sb zero,0x0(s7)
li v0,0x3b
sb zero,0x1(s1)
sb v0,0x0(s1)
lb v0,0x0(s1)
bne v0,zero,0x0003ea84
_or v0,s1,zero
or s7,zero,zero
b 0x0003eaa0
_or a0,s0,zero
lw v0,0x58(s2)
andi v0,v0,0x40
beq v0,zero,0x0003eaf0
_lw t9,-0x7b80(gp)
jalr t9
_or a0,s1,zero
b 0x0003eaf0
_lw gp,0x10(sp)
jalr t9
_addiu a0,s7,0x1
beq v0,zero,0x0003ea50
_lw gp,0x10(sp)
b 0x0003ede4
_nop
lw v0,0x58(s2)
andi v0,v0,0x40
beq v0,zero,0x0003eaec
_lw t9,-0x7b80(gp)
or a0,s3,zero
jalr t9
_or s0,zero,zero
b 0x0003eaf0
_lw gp,0x10(sp)
lw t9,-0x7d9c(gp)
bal 0x00052a84
_or a0,s3,zero
beq v0,zero,0x0003ebc4
_lw gp,0x10(sp)
lw t9,-0x7ed0(gp)
or a1,s3,zero
lw a3,0x34(sp)
or a0,s2,zero
addiu t9,t9,0x4f84
bal 0x00034f84
_lw a2,0x20(s2)
lw s0,0x14(s2)
addu s5,s5,v0
beq s0,zero,0x0003ef28
_lw gp,0x10(sp)
lw t9,-0x7ed0(gp)
or a0,s2,zero
addiu t9,t9,-0x79cc
bal 0x00028634
_or s0,zero,zero
lw gp,0x10(sp)
b 0x0003eaf0
_sw zero,0x14(s2)
lw t9,-0x7ed0(gp)
or a1,s3,zero
lw a3,0x34(sp)
or a0,s2,zero
addiu t9,t9,0x4f84
bal 0x00034f84
_lw a2,0x20(s2)
lw gp,0x10(sp)
b 0x0003eb38
_addu s5,s5,v0
or a3,zero,zero
b 0x0003ed2c
_or a1,s1,zero
lw t9,-0x7ed0(gp)
addiu a1,s2,0x6c
addiu t9,t9,-0x3628
bal 0x0002c9d8
_lbu a0,0xb(s2)
b 0x0003eaf0
_lw gp,0x10(sp)
(translation_unit "bool FUN_0003e914(int param_1)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  byte *pbVar11;\n  byte *pbVar12;\n  undefined *puVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int iVar16;\n  int iVar17;\n  byte *pbVar18;\n  byte *local_3c;\n  undefined4 local_2c;\n  \n  puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;\n  puVar13 = PTR_LAB_00190954;\n  puVar2 = PTR_DAT_00190948;\n  iVar17 = 0;\n  pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014);\n  iVar16 = 0;\n  pbVar15 = (byte *)0x0;\n  puVar5 = PTR_DAT_00190948 + 0xf04;\n  puVar6 = PTR_DAT_00190948 + 0xf18;\n  local_2c = 0;\n  local_3c = (byte *)0x0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  pcVar7 = (code *)(puVar13 + 0x156c);\n  pbVar14 = (byte *)0x0;\nLAB_0003e9b0:\n  (*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));\n  if (*(int *)(param_1 + 0x20) == 0) {\n    puVar13 = puVar5;\n    if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }\n    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);\n    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);\n  }\n  else {\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }\n  if (pbVar15 == (byte *)0x0) {\n    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }\nLAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }\nLAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);\n    (*(code *)PTR_free_00190e38)(pbVar15);\n    return 0 < iVar17;\n  }\n  if (*(int *)(puVar2 + 0xf30) != 0) {\n    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;\n    *(undefined4 *)(puVar2 + 0xf30) = 0;\n  }\n  *(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1;\n  if (pbVar14 != (byte *)0x0) {\nLAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n    pbVar18 = pbVar15;\n    while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }\n    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;\n    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n    iVar10 = *piVar9;\n    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;\nLAB_0003ea78:\n    pbVar11 = pbVar15;\n    if (*pbVar15 == 0) goto LAB_0003ee2c;\n    do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );\n  }\n  iVar10 = (*pcVar7)(pbVar15);\n  pbVar11 = pbVar14;\n  if (iVar10 != 0) {\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }\n    goto LAB_0003eaf0;\n  }\n  if (*pbVar15 != 0x2e) {\n    if (*pbVar15 != 0x23) goto LAB_0003ea0c;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;\n    goto LAB_0003eaf0;\n  }\n  if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\nLAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);\n    if (*pbVar15 == 0x2e) goto LAB_0003ec98;\n    goto LAB_0003eaec;\n  }\nLAB_0003ec98:\n  pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);\n  if (pbVar11 != (byte *)0x2) {\n    if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }\n    goto LAB_0003eaf0;\n  }\n  goto LAB_0003eb38;\n  while ((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0) {\nLAB_0003ed18:\n    pbVar12 = pbVar12 + 1;\n    iVar10 = iVar10 + 1;\n    if (*pbVar12 == 0) break;\n  }\n  pbVar11 = pbVar18 + -iVar10;\nLAB_0003ed2c:\n  (*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));\n  local_2c = *(undefined4 *)(param_1 + 0x1c);\nLAB_0003eae4:\n  if (pbVar11 != (byte *)0x0) {\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }\nLAB_0003eaec:\n  pbVar11 = (byte *)0x0;\nLAB_0003eaf0:\n  pbVar14 = pbVar11;\n  if (((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))\n  goto LAB_0003eb1c;\n  goto LAB_0003e9b0;\n}\n\n" (function_definition "bool FUN_0003e914(int param_1)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  byte *pbVar11;\n  byte *pbVar12;\n  undefined *puVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int iVar16;\n  int iVar17;\n  byte *pbVar18;\n  byte *local_3c;\n  undefined4 local_2c;\n  \n  puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;\n  puVar13 = PTR_LAB_00190954;\n  puVar2 = PTR_DAT_00190948;\n  iVar17 = 0;\n  pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014);\n  iVar16 = 0;\n  pbVar15 = (byte *)0x0;\n  puVar5 = PTR_DAT_00190948 + 0xf04;\n  puVar6 = PTR_DAT_00190948 + 0xf18;\n  local_2c = 0;\n  local_3c = (byte *)0x0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  pcVar7 = (code *)(puVar13 + 0x156c);\n  pbVar14 = (byte *)0x0;\nLAB_0003e9b0:\n  (*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));\n  if (*(int *)(param_1 + 0x20) == 0) {\n    puVar13 = puVar5;\n    if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }\n    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);\n    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);\n  }\n  else {\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }\n  if (pbVar15 == (byte *)0x0) {\n    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }\nLAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }\nLAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);\n    (*(code *)PTR_free_00190e38)(pbVar15);\n    return 0 < iVar17;\n  }\n  if (*(int *)(puVar2 + 0xf30) != 0) {\n    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;\n    *(undefined4 *)(puVar2 + 0xf30) = 0;\n  }\n  *(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1;\n  if (pbVar14 != (byte *)0x0) {\nLAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n    pbVar18 = pbVar15;\n    while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }\n    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;\n    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n    iVar10 = *piVar9;\n    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;\nLAB_0003ea78:\n    pbVar11 = pbVar15;\n    if (*pbVar15 == 0) goto LAB_0003ee2c;\n    do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );\n  }\n  iVar10 = (*pcVar7)(pbVar15);\n  pbVar11 = pbVar14;\n  if (iVar10 != 0) {\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }\n    goto LAB_0003eaf0;\n  }\n  if (*pbVar15 != 0x2e) {\n    if (*pbVar15 != 0x23) goto LAB_0003ea0c;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;\n    goto LAB_0003eaf0;\n  }\n  if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\nLAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);\n    if (*pbVar15 == 0x2e) goto LAB_0003ec98;\n    goto LAB_0003eaec;\n  }\nLAB_0003ec98:\n  pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);\n  if (pbVar11 != (byte *)0x2) {\n    if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }\n    goto LAB_0003eaf0;\n  }\n  goto LAB_0003eb38;\n  while ((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0) {\nLAB_0003ed18:\n    pbVar12 = pbVar12 + 1;\n    iVar10 = iVar10 + 1;\n    if (*pbVar12 == 0) break;\n  }\n  pbVar11 = pbVar18 + -iVar10;\nLAB_0003ed2c:\n  (*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));\n  local_2c = *(undefined4 *)(param_1 + 0x1c);\nLAB_0003eae4:\n  if (pbVar11 != (byte *)0x0) {\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }\nLAB_0003eaec:\n  pbVar11 = (byte *)0x0;\nLAB_0003eaf0:\n  pbVar14 = pbVar11;\n  if (((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))\n  goto LAB_0003eb1c;\n  goto LAB_0003e9b0;\n}" primitive_type (function_declarator "FUN_0003e914(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  byte *pbVar11;\n  byte *pbVar12;\n  undefined *puVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int iVar16;\n  int iVar17;\n  byte *pbVar18;\n  byte *local_3c;\n  undefined4 local_2c;\n  \n  puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;\n  puVar13 = PTR_LAB_00190954;\n  puVar2 = PTR_DAT_00190948;\n  iVar17 = 0;\n  pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014);\n  iVar16 = 0;\n  pbVar15 = (byte *)0x0;\n  puVar5 = PTR_DAT_00190948 + 0xf04;\n  puVar6 = PTR_DAT_00190948 + 0xf18;\n  local_2c = 0;\n  local_3c = (byte *)0x0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  pcVar7 = (code *)(puVar13 + 0x156c);\n  pbVar14 = (byte *)0x0;\nLAB_0003e9b0:\n  (*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));\n  if (*(int *)(param_1 + 0x20) == 0) {\n    puVar13 = puVar5;\n    if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }\n    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);\n    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);\n  }\n  else {\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }\n  if (pbVar15 == (byte *)0x0) {\n    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }\nLAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }\nLAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);\n    (*(code *)PTR_free_00190e38)(pbVar15);\n    return 0 < iVar17;\n  }\n  if (*(int *)(puVar2 + 0xf30) != 0) {\n    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;\n    *(undefined4 *)(puVar2 + 0xf30) = 0;\n  }\n  *(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1;\n  if (pbVar14 != (byte *)0x0) {\nLAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n    pbVar18 = pbVar15;\n    while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }\n    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;\n    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n    iVar10 = *piVar9;\n    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;\nLAB_0003ea78:\n    pbVar11 = pbVar15;\n    if (*pbVar15 == 0) goto LAB_0003ee2c;\n    do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );\n  }\n  iVar10 = (*pcVar7)(pbVar15);\n  pbVar11 = pbVar14;\n  if (iVar10 != 0) {\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }\n    goto LAB_0003eaf0;\n  }\n  if (*pbVar15 != 0x2e) {\n    if (*pbVar15 != 0x23) goto LAB_0003ea0c;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;\n    goto LAB_0003eaf0;\n  }\n  if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\nLAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);\n    if (*pbVar15 == 0x2e) goto LAB_0003ec98;\n    goto LAB_0003eaec;\n  }\nLAB_0003ec98:\n  pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);\n  if (pbVar11 != (byte *)0x2) {\n    if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }\n    goto LAB_0003eaf0;\n  }\n  goto LAB_0003eb38;\n  while ((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0) {\nLAB_0003ed18:\n    pbVar12 = pbVar12 + 1;\n    iVar10 = iVar10 + 1;\n    if (*pbVar12 == 0) break;\n  }\n  pbVar11 = pbVar18 + -iVar10;\nLAB_0003ed2c:\n  (*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));\n  local_2c = *(undefined4 *)(param_1 + 0x1c);\nLAB_0003eae4:\n  if (pbVar11 != (byte *)0x0) {\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }\nLAB_0003eaec:\n  pbVar11 = (byte *)0x0;\nLAB_0003eaf0:\n  pbVar14 = pbVar11;\n  if (((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))\n  goto LAB_0003eb1c;\n  goto LAB_0003e9b0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "byte *pbVar15;" type_identifier (pointer_declarator "*pbVar15" * identifier) ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "byte *pbVar18;" type_identifier (pointer_declarator "*pbVar18" * identifier) ;) (declaration "byte *local_3c;" type_identifier (pointer_declarator "*local_3c" * identifier) ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (expression_statement "puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;" (assignment_expression "puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c" identifier = identifier) ;) (expression_statement "puVar13 = PTR_LAB_00190954;" (assignment_expression "puVar13 = PTR_LAB_00190954" identifier = identifier) ;) (expression_statement "puVar2 = PTR_DAT_00190948;" (assignment_expression "puVar2 = PTR_DAT_00190948" identifier = identifier) ;) (expression_statement "iVar17 = 0;" (assignment_expression "iVar17 = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014)" identifier = (cast_expression "(code *)(PTR_LAB_00190954 + 0x6014)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190954 + 0x6014)" ( (binary_expression "PTR_LAB_00190954 + 0x6014" identifier + number_literal) )))) ;) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (expression_statement "pbVar15 = (byte *)0x0;" (assignment_expression "pbVar15 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar5 = PTR_DAT_00190948 + 0xf04;" (assignment_expression "puVar5 = PTR_DAT_00190948 + 0xf04" identifier = (binary_expression "PTR_DAT_00190948 + 0xf04" identifier + number_literal)) ;) (expression_statement "puVar6 = PTR_DAT_00190948 + 0xf18;" (assignment_expression "puVar6 = PTR_DAT_00190948 + 0xf18" identifier = (binary_expression "PTR_DAT_00190948 + 0xf18" identifier + number_literal)) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_3c = (byte *)0x0;" (assignment_expression "local_3c = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pcVar7 = (code *)(puVar13 + 0x156c);" (assignment_expression "pcVar7 = (code *)(puVar13 + 0x156c)" identifier = (cast_expression "(code *)(puVar13 + 0x156c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x156c)" ( (binary_expression "puVar13 + 0x156c" identifier + number_literal) )))) ;) (expression_statement "pbVar14 = (byte *)0x0;" (assignment_expression "pbVar14 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_0003e9b0:\n  (*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));" statement_identifier : (expression_statement "(*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));" (call_expression "(*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24))" (parenthesized_expression "(*(code *)PTR_fflush_00190e48)" ( (pointer_expression "*(code *)PTR_fflush_00190e48" * (cast_expression "(code *)PTR_fflush_00190e48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x24))" ( (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) )))) ))) ;)) (if_statement "if (*(int *)(param_1 + 0x20) == 0) {\n    puVar13 = puVar5;\n    if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }\n    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);\n    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);\n  }\n  else {\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x20) == 0)" ( (binary_expression "*(int *)(param_1 + 0x20) == 0" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    puVar13 = puVar5;\n    if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }\n    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);\n    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);\n  }" { (expression_statement "puVar13 = puVar5;" (assignment_expression "puVar13 = puVar5" identifier = identifier) ;) (if_statement "if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }" if (parenthesized_expression "((int)pbVar14 < 1)" ( (binary_expression "(int)pbVar14 < 1" (cast_expression "(int)pbVar14" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      puVar13 = puVar6;\n    }" { (expression_statement "puVar13 = puVar6;" (assignment_expression "puVar13 = puVar6" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);" (call_expression "(*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13)" (parenthesized_expression "(*(code *)PTR___printf_chk_00190d34)" ( (pointer_expression "*(code *)PTR___printf_chk_00190d34" * (cast_expression "(code *)PTR___printf_chk_00190d34" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar3 + -0x5dfc,puVar13)" ( number_literal , (binary_expression "puVar3 + -0x5dfc" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);" (call_expression "(*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38)" (parenthesized_expression "(*(code *)PTR_fflush_00190e48)" ( (pointer_expression "*(code *)PTR_fflush_00190e48" * (cast_expression "(code *)PTR_fflush_00190e48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_stdout_00190d38)" ( (pointer_expression "*(undefined4 *)PTR_stdout_00190d38" * (cast_expression "(undefined4 *)PTR_stdout_00190d38" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);" (assignment_expression "pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70)" identifier = (cast_expression "(byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(pbVar15,*(undefined4 *)PTR_stdin_00190d70)" ( identifier , (pointer_expression "*(undefined4 *)PTR_stdin_00190d70" * (cast_expression "(undefined4 *)PTR_stdin_00190d70" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))))) ;) }) (else_clause "else {\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }" else (compound_statement "{\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }" { (expression_statement "pbVar15 = (byte *)(*pcVar4)(pbVar15);" (assignment_expression "pbVar15 = (byte *)(*pcVar4)(pbVar15)" identifier = (cast_expression "(byte *)(*pcVar4)(pbVar15)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar4)(pbVar15)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(pbVar15)" ( identifier ))))) ;) }))) (if_statement "if (pbVar15 == (byte *)0x0) {\n    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }\nLAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }\nLAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);\n    (*(code *)PTR_free_00190e38)(pbVar15);\n    return 0 < iVar17;\n  }" if (parenthesized_expression "(pbVar15 == (byte *)0x0)" ( (binary_expression "pbVar15 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }\nLAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }\nLAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);\n    (*(code *)PTR_free_00190e38)(pbVar15);\n    return 0 < iVar17;\n  }" { (if_statement "if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }" if (parenthesized_expression "((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0))" ( (binary_expression "(*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x20) == 0)" ( (binary_expression "*(int *)(param_1 + 0x20) == 0" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(PTR_DAT_00190948 + -4000) != 0)" ( (binary_expression "*(int *)(PTR_DAT_00190948 + -4000) != 0" (pointer_expression "*(int *)(PTR_DAT_00190948 + -4000)" * (cast_expression "(int *)(PTR_DAT_00190948 + -4000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190948 + -4000)" ( (binary_expression "PTR_DAT_00190948 + -4000" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      (*(code *)PTR_putchar_00190d50)(10);\n    }" { (expression_statement "(*(code *)PTR_putchar_00190d50)(10);" (call_expression "(*(code *)PTR_putchar_00190d50)(10)" (parenthesized_expression "(*(code *)PTR_putchar_00190d50)" ( (pointer_expression "*(code *)PTR_putchar_00190d50" * (cast_expression "(code *)PTR_putchar_00190d50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) })) (labeled_statement "LAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }" statement_identifier : (if_statement "if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }" if (parenthesized_expression "((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0))" ( (binary_expression "(pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)" (parenthesized_expression "(pbVar14 != (byte *)0x0)" ( (binary_expression "pbVar14 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar10 = FUN_0002156c(iVar16), iVar10 == 0)" ( (comma_expression "iVar10 = FUN_0002156c(iVar16), iVar10 == 0" (assignment_expression "iVar10 = FUN_0002156c(iVar16)" identifier = (call_expression "FUN_0002156c(iVar16)" identifier (argument_list "(iVar16)" ( identifier )))) , (binary_expression "iVar10 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }" { (expression_statement "iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);" (assignment_expression "iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" identifier = (call_expression "FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" identifier (argument_list "(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" ( identifier , identifier , (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) )))) , identifier )))) ;) (expression_statement "iVar17 = iVar17 + iVar10;" (assignment_expression "iVar17 = iVar17 + iVar10" identifier = (binary_expression "iVar17 + iVar10" identifier + identifier)) ;) }))) (labeled_statement "LAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);" statement_identifier : (expression_statement "(*(code *)PTR_free_00190e38)(iVar16);" (call_expression "(*(code *)PTR_free_00190e38)(iVar16)" (parenthesized_expression "(*(code *)PTR_free_00190e38)" ( (pointer_expression "*(code *)PTR_free_00190e38" * (cast_expression "(code *)PTR_free_00190e38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar16)" ( identifier ))) ;)) (expression_statement "(*(code *)PTR_free_00190e38)(pbVar15);" (call_expression "(*(code *)PTR_free_00190e38)(pbVar15)" (parenthesized_expression "(*(code *)PTR_free_00190e38)" ( (pointer_expression "*(code *)PTR_free_00190e38" * (cast_expression "(code *)PTR_free_00190e38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar15)" ( identifier ))) ;) (return_statement "return 0 < iVar17;" return (binary_expression "0 < iVar17" number_literal < identifier) ;) })) (if_statement "if (*(int *)(puVar2 + 0xf30) != 0) {\n    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;\n    *(undefined4 *)(puVar2 + 0xf30) = 0;\n  }" if (parenthesized_expression "(*(int *)(puVar2 + 0xf30) != 0)" ( (binary_expression "*(int *)(puVar2 + 0xf30) != 0" (pointer_expression "*(int *)(puVar2 + 0xf30)" * (cast_expression "(int *)(puVar2 + 0xf30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0xf30)" ( (binary_expression "puVar2 + 0xf30" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;\n    *(undefined4 *)(puVar2 + 0xf30) = 0;\n  }" { (if_statement "if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;" if (parenthesized_expression "(*(int *)(param_1 + 0x20) != 0)" ( (binary_expression "*(int *)(param_1 + 0x20) != 0" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_0003eb1c;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)(puVar2 + 0xf30) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + 0xf30) = 0" (pointer_expression "*(undefined4 *)(puVar2 + 0xf30)" * (cast_expression "(undefined4 *)(puVar2 + 0xf30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0xf30)" ( (binary_expression "puVar2 + 0xf30" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "*(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1;" (assignment_expression "*(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x1c) + 1" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if (pbVar14 != (byte *)0x0) {\nLAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n    pbVar18 = pbVar15;\n    while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }\n    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;\n    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n    iVar10 = *piVar9;\n    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;\nLAB_0003ea78:\n    pbVar11 = pbVar15;\n    if (*pbVar15 == 0) goto LAB_0003ee2c;\n    do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );\n  }" if (parenthesized_expression "(pbVar14 != (byte *)0x0)" ( (binary_expression "pbVar14 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n    pbVar18 = pbVar15;\n    while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }\n    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;\n    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n    iVar10 = *piVar9;\n    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;\nLAB_0003ea78:\n    pbVar11 = pbVar15;\n    if (*pbVar15 == 0) goto LAB_0003ee2c;\n    do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );\n  }" { (labeled_statement "LAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();" statement_identifier : (expression_statement "piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();" (assignment_expression "piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_00190cc0)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_00190cc0)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_00190cc0)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_00190cc0" * (cast_expression "(code *)PTR___ctype_b_loc_00190cc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;)) (expression_statement "pbVar18 = pbVar15;" (assignment_expression "pbVar18 = pbVar15" identifier = identifier) ;) (while_statement "while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }" { (expression_statement "bVar1 = *pbVar18;" (assignment_expression "bVar1 = *pbVar18" identifier = (pointer_expression "*pbVar18" * identifier)) ;) (if_statement "if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;" if (parenthesized_expression "((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar8 + (uint)bVar1 * 2)" * (cast_expression "(ushort *)(*piVar8 + (uint)bVar1 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar8 + (uint)bVar1 * 2)" ( (binary_expression "*piVar8 + (uint)bVar1 * 2" (pointer_expression "*piVar8" * identifier) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) )))) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar18 = pbVar18 + 1;" (assignment_expression "pbVar18 = pbVar18 + 1" identifier = (binary_expression "pbVar18 + 1" identifier + number_literal)) ;) })) (if_statement "if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;" if (parenthesized_expression "((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0))" ( (binary_expression "(bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)" (parenthesized_expression "(bVar1 == 0x2f)" ( (binary_expression "bVar1 == 0x2f" identifier == number_literal) )) && (parenthesized_expression "(iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)" ( (comma_expression "iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0" (assignment_expression "iVar10 = (*pcVar7)(pbVar18 + 1)" identifier = (call_expression "(*pcVar7)(pbVar18 + 1)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(pbVar18 + 1)" ( (binary_expression "pbVar18 + 1" identifier + number_literal) )))) , (binary_expression "iVar10 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_0003ede4;" goto statement_identifier ;)) (expression_statement "piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();" (assignment_expression "piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_tolower_loc_00190cc4)()" (parenthesized_expression "(*(code *)PTR___ctype_tolower_loc_00190cc4)" ( (pointer_expression "*(code *)PTR___ctype_tolower_loc_00190cc4" * (cast_expression "(code *)PTR___ctype_tolower_loc_00190cc4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar10 = *piVar9;" (assignment_expression "iVar10 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (if_statement "if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;" if (parenthesized_expression "(*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g')" ( (binary_expression "*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g'" (pointer_expression "*(char *)(iVar10 + (uint)bVar1 * 4 + 3)" * (cast_expression "(char *)(iVar10 + (uint)bVar1 * 4 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + (uint)bVar1 * 4 + 3)" ( (binary_expression "iVar10 + (uint)bVar1 * 4 + 3" (binary_expression "iVar10 + (uint)bVar1 * 4" identifier + (binary_expression "(uint)bVar1 * 4" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) == (char_literal "'g'" ' character ')) )) (goto_statement "goto LAB_0003edb8;" goto statement_identifier ;)) (labeled_statement "LAB_0003ea78:\n    pbVar11 = pbVar15;" statement_identifier : (expression_statement "pbVar11 = pbVar15;" (assignment_expression "pbVar11 = pbVar15" identifier = identifier) ;)) (if_statement "if (*pbVar15 == 0) goto LAB_0003ee2c;" if (parenthesized_expression "(*pbVar15 == 0)" ( (binary_expression "*pbVar15 == 0" (pointer_expression "*pbVar15" * identifier) == number_literal) )) (goto_statement "goto LAB_0003ee2c;" goto statement_identifier ;)) (do_statement "do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );" do (compound_statement "{\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    }" { (do_statement "do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);" do (compound_statement "{\n        pbVar11 = pbVar11 + 1;\n      }" { (expression_statement "pbVar11 = pbVar11 + 1;" (assignment_expression "pbVar11 = pbVar11 + 1" identifier = (binary_expression "pbVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*pbVar11 != 0)" ( (binary_expression "*pbVar11 != 0" (pointer_expression "*pbVar11" * identifier) != number_literal) )) ;) (expression_statement "pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);" (assignment_expression "pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff)" identifier = (cast_expression "(byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pbVar11 - (int)pbVar15 & 0x3fffffff)" ( (binary_expression "(int)pbVar11 - (int)pbVar15 & 0x3fffffff" (binary_expression "(int)pbVar11 - (int)pbVar15" (cast_expression "(int)pbVar11" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar15" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal) )))) ;) (expression_statement "pbVar11 = pbVar14 + (int)pbVar18;" (assignment_expression "pbVar11 = pbVar14 + (int)pbVar18" identifier = (binary_expression "pbVar14 + (int)pbVar18" identifier + (cast_expression "(int)pbVar18" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (while_statement "while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }" { (expression_statement "pbVar12 = pbVar11 + 100;" (assignment_expression "pbVar12 = pbVar11 + 100" identifier = (binary_expression "pbVar11 + 100" identifier + number_literal)) ;) (if_statement "if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }" if (parenthesized_expression "(((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0))" ( (binary_expression "((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)" (parenthesized_expression "((int)(pbVar11 + 2) < (int)local_3c)" ( (binary_expression "(int)(pbVar11 + 2) < (int)local_3c" (cast_expression "(int)(pbVar11 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar11 + 2)" ( (binary_expression "pbVar11 + 2" identifier + number_literal) ))) < (cast_expression "(int)local_3c" ( (type_descriptor "int" primitive_type) ) identifier)) )) || (parenthesized_expression "(iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)" ( (comma_expression "iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0" (assignment_expression "iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12)" identifier = (call_expression "(*(code *)PTR_realloc_00190da8)(iVar16,pbVar12)" (parenthesized_expression "(*(code *)PTR_realloc_00190da8)" ( (pointer_expression "*(code *)PTR_realloc_00190da8" * (cast_expression "(code *)PTR_realloc_00190da8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar16,pbVar12)" ( identifier , identifier )))) , (comma_expression "local_3c = pbVar12,\n           iVar16 != 0" (assignment_expression "local_3c = pbVar12" identifier = identifier) , (binary_expression "iVar16 != 0" identifier != number_literal))) ))) )) (compound_statement "{\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }" { (expression_statement "puVar13 = PTR_memcpy_00190e2c;" (assignment_expression "puVar13 = PTR_memcpy_00190e2c" identifier = identifier) ;) (if_statement "if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }" if (parenthesized_expression "(pbVar14 != (byte *)0x0)" ( (binary_expression "pbVar14 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }" { (expression_statement "pbVar14[iVar16] = 10;" (assignment_expression "pbVar14[iVar16] = 10" (subscript_expression "pbVar14[iVar16]" identifier [ identifier ]) = number_literal) ;) (expression_statement "pbVar11 = pbVar18 + (int)(pbVar14 + 1);" (assignment_expression "pbVar11 = pbVar18 + (int)(pbVar14 + 1)" identifier = (binary_expression "pbVar18 + (int)(pbVar14 + 1)" identifier + (cast_expression "(int)(pbVar14 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar14 + 1)" ( (binary_expression "pbVar14 + 1" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);" (call_expression "(*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15)" (parenthesized_expression "(*(code *)puVar13)" ( (pointer_expression "*(code *)puVar13" * (cast_expression "(code *)puVar13" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar14 + 1 + iVar16,pbVar15)" ( (binary_expression "pbVar14 + 1 + iVar16" (binary_expression "pbVar14 + 1" identifier + number_literal) + identifier) , identifier ))) ;) (goto_statement "goto LAB_0003eae4;" goto statement_identifier ;) })) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" identifier = identifier) ;) (if_statement "if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }" if (parenthesized_expression "((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0))" ( (binary_expression "(*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)" (parenthesized_expression "(*pbVar15 != 0)" ( (binary_expression "*pbVar15 != 0" (pointer_expression "*pbVar15" * identifier) != number_literal) )) && (parenthesized_expression "((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)" ( (binary_expression "(*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0" (parenthesized_expression "(*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar8 + (uint)*pbVar15 * 2)" * (cast_expression "(ushort *)(*piVar8 + (uint)*pbVar15 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar8 + (uint)*pbVar15 * 2)" ( (binary_expression "*piVar8 + (uint)*pbVar15 * 2" (pointer_expression "*piVar8" * identifier) + (binary_expression "(uint)*pbVar15 * 2" (binary_expression "(uint)*pbVar15" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0003ed18;" goto statement_identifier ;) })) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "pbVar11 = pbVar18;" (assignment_expression "pbVar11 = pbVar18" identifier = identifier) ;) (goto_statement "goto LAB_0003ed2c;" goto statement_identifier ;) })) (expression_statement "iVar10 = FUN_00023f24();" (assignment_expression "iVar10 = FUN_00023f24()" identifier = (call_expression "FUN_00023f24()" identifier (argument_list "()" ( )))) ;) (labeled_statement "LAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;" statement_identifier : (if_statement "if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;" if (parenthesized_expression "((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0))" ( (binary_expression "(*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)" (parenthesized_expression "(*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o')" ( (binary_expression "*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o'" (pointer_expression "*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3)" * (cast_expression "(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + (uint)pbVar18[1] * 4 + 3)" ( (binary_expression "iVar10 + (uint)pbVar18[1] * 4 + 3" (binary_expression "iVar10 + (uint)pbVar18[1] * 4" identifier + (binary_expression "(uint)pbVar18[1] * 4" (cast_expression "(uint)pbVar18[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar18[1]" identifier [ number_literal ])) * number_literal)) + number_literal) )))) != (char_literal "'o'" ' character ')) )) || (parenthesized_expression "(iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)" ( (comma_expression "iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0" (assignment_expression "iVar10 = (*pcVar7)(pbVar18 + 2)" identifier = (call_expression "(*pcVar7)(pbVar18 + 2)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(pbVar18 + 2)" ( (binary_expression "pbVar18 + 2" identifier + number_literal) )))) , (binary_expression "iVar10 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0003ea78;" goto statement_identifier ;))) (labeled_statement "LAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;" statement_identifier : (expression_statement "pbVar11 = pbVar14 + iVar16;" (assignment_expression "pbVar11 = pbVar14 + iVar16" identifier = (binary_expression "pbVar14 + iVar16" identifier + identifier)) ;)) (if_statement "if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }" if (parenthesized_expression "(iVar16 != 0)" ( (binary_expression "iVar16 != 0" identifier != number_literal) )) (compound_statement "{\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }" { (expression_statement "*pbVar11 = 0x3b;" (assignment_expression "*pbVar11 = 0x3b" (pointer_expression "*pbVar11" * identifier) = number_literal) ;) (expression_statement "pbVar11[1] = 0;" (assignment_expression "pbVar11[1] = 0" (subscript_expression "pbVar11[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar10 = sqlite3_complete(iVar16);" (assignment_expression "iVar10 = sqlite3_complete(iVar16)" identifier = (call_expression "sqlite3_complete(iVar16)" identifier (argument_list "(iVar16)" ( identifier )))) ;) (expression_statement "*pbVar11 = 0;" (assignment_expression "*pbVar11 = 0" (pointer_expression "*pbVar11" * identifier) = number_literal) ;) (if_statement "if (iVar10 == 0) goto LAB_0003ea78;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003ea78;" goto statement_identifier ;)) })) (expression_statement "pbVar15[1] = 0;" (assignment_expression "pbVar15[1] = 0" (subscript_expression "pbVar15[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*pbVar15 = 0x3b;" (assignment_expression "*pbVar15 = 0x3b" (pointer_expression "*pbVar15" * identifier) = number_literal) ;) (expression_statement "pbVar11 = pbVar15;" (assignment_expression "pbVar11 = pbVar15" identifier = identifier) ;) (if_statement "if (*pbVar15 != 0) break;" if (parenthesized_expression "(*pbVar15 != 0)" ( (binary_expression "*pbVar15 != 0" (pointer_expression "*pbVar15" * identifier) != number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0003ee2c:\n        pbVar18 = (byte *)0x0;" statement_identifier : (expression_statement "pbVar18 = (byte *)0x0;" (assignment_expression "pbVar18 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "pbVar11 = pbVar14;" (assignment_expression "pbVar11 = pbVar14" identifier = identifier) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "iVar10 = (*pcVar7)(pbVar15);" (assignment_expression "iVar10 = (*pcVar7)(pbVar15)" identifier = (call_expression "(*pcVar7)(pbVar15)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(pbVar15)" ( identifier )))) ;) (expression_statement "pbVar11 = pbVar14;" (assignment_expression "pbVar11 = pbVar14" identifier = identifier) ;) (if_statement "if (iVar10 != 0) {\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }\n    goto LAB_0003eaf0;\n  }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }\n    goto LAB_0003eaf0;\n  }" { (if_statement "if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }" if (parenthesized_expression "((*(uint *)(param_1 + 0x58) & 0x40) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0x58) & 0x40) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x58) & 0x40)" ( (binary_expression "*(uint *)(param_1 + 0x58) & 0x40" (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }" { (expression_statement "(*(code *)PTR_puts_00190da0)(pbVar15);" (call_expression "(*(code *)PTR_puts_00190da0)(pbVar15)" (parenthesized_expression "(*(code *)PTR_puts_00190da0)" ( (pointer_expression "*(code *)PTR_puts_00190da0" * (cast_expression "(code *)PTR_puts_00190da0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar15)" ( identifier ))) ;) })) (goto_statement "goto LAB_0003eaf0;" goto statement_identifier ;) })) (if_statement "if (*pbVar15 != 0x2e) {\n    if (*pbVar15 != 0x23) goto LAB_0003ea0c;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;\n    goto LAB_0003eaf0;\n  }" if (parenthesized_expression "(*pbVar15 != 0x2e)" ( (binary_expression "*pbVar15 != 0x2e" (pointer_expression "*pbVar15" * identifier) != number_literal) )) (compound_statement "{\n    if (*pbVar15 != 0x23) goto LAB_0003ea0c;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;\n    goto LAB_0003eaf0;\n  }" { (if_statement "if (*pbVar15 != 0x23) goto LAB_0003ea0c;" if (parenthesized_expression "(*pbVar15 != 0x23)" ( (binary_expression "*pbVar15 != 0x23" (pointer_expression "*pbVar15" * identifier) != number_literal) )) (goto_statement "goto LAB_0003ea0c;" goto statement_identifier ;)) (if_statement "if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;" if (parenthesized_expression "((*(uint *)(param_1 + 0x58) & 0x40) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0x58) & 0x40) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x58) & 0x40)" ( (binary_expression "*(uint *)(param_1 + 0x58) & 0x40" (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0003ed64;" goto statement_identifier ;)) (goto_statement "goto LAB_0003eaf0;" goto statement_identifier ;) })) (if_statement "if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\nLAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);\n    if (*pbVar15 == 0x2e) goto LAB_0003ec98;\n    goto LAB_0003eaec;\n  }" if (parenthesized_expression "((*(uint *)(param_1 + 0x58) & 0x40) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0x58) & 0x40) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x58) & 0x40)" ( (binary_expression "*(uint *)(param_1 + 0x58) & 0x40" (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\nLAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);\n    if (*pbVar15 == 0x2e) goto LAB_0003ec98;\n    goto LAB_0003eaec;\n  }" { (labeled_statement "LAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);" statement_identifier : (expression_statement "(*(code *)PTR_puts_00190da0)(pbVar15);" (call_expression "(*(code *)PTR_puts_00190da0)(pbVar15)" (parenthesized_expression "(*(code *)PTR_puts_00190da0)" ( (pointer_expression "*(code *)PTR_puts_00190da0" * (cast_expression "(code *)PTR_puts_00190da0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar15)" ( identifier ))) ;)) (if_statement "if (*pbVar15 == 0x2e) goto LAB_0003ec98;" if (parenthesized_expression "(*pbVar15 == 0x2e)" ( (binary_expression "*pbVar15 == 0x2e" (pointer_expression "*pbVar15" * identifier) == number_literal) )) (goto_statement "goto LAB_0003ec98;" goto statement_identifier ;)) (goto_statement "goto LAB_0003eaec;" goto statement_identifier ;) })) (labeled_statement "LAB_0003ec98:\n  pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);" statement_identifier : (expression_statement "pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);" (assignment_expression "pbVar11 = (byte *)FUN_00036100(pbVar15,param_1)" identifier = (cast_expression "(byte *)FUN_00036100(pbVar15,param_1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00036100(pbVar15,param_1)" identifier (argument_list "(pbVar15,param_1)" ( identifier , identifier ))))) ;)) (if_statement "if (pbVar11 != (byte *)0x2) {\n    if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }\n    goto LAB_0003eaf0;\n  }" if (parenthesized_expression "(pbVar11 != (byte *)0x2)" ( (binary_expression "pbVar11 != (byte *)0x2" identifier != (cast_expression "(byte *)0x2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }\n    goto LAB_0003eaf0;\n  }" { (if_statement "if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }" if (parenthesized_expression "(pbVar11 != (byte *)0x0)" ( (binary_expression "pbVar11 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }" { (expression_statement "iVar17 = iVar17 + 1;" (assignment_expression "iVar17 = iVar17 + 1" identifier = (binary_expression "iVar17 + 1" identifier + number_literal)) ;) (expression_statement "pbVar11 = (byte *)0x0;" (assignment_expression "pbVar11 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (goto_statement "goto LAB_0003eaf0;" goto statement_identifier ;) })) (goto_statement "goto LAB_0003eb38;" goto statement_identifier ;) (while_statement "while ((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0) {\nLAB_0003ed18:\n    pbVar12 = pbVar12 + 1;\n    iVar10 = iVar10 + 1;\n    if (*pbVar12 == 0) break;\n  }" while (parenthesized_expression "((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0)" ( (binary_expression "(*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0" (parenthesized_expression "(*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar8 + (uint)*pbVar12 * 2)" * (cast_expression "(ushort *)(*piVar8 + (uint)*pbVar12 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar8 + (uint)*pbVar12 * 2)" ( (binary_expression "*piVar8 + (uint)*pbVar12 * 2" (pointer_expression "*piVar8" * identifier) + (binary_expression "(uint)*pbVar12 * 2" (binary_expression "(uint)*pbVar12" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) != number_literal) )) (compound_statement "{\nLAB_0003ed18:\n    pbVar12 = pbVar12 + 1;\n    iVar10 = iVar10 + 1;\n    if (*pbVar12 == 0) break;\n  }" { (labeled_statement "LAB_0003ed18:\n    pbVar12 = pbVar12 + 1;" statement_identifier : (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;)) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (if_statement "if (*pbVar12 == 0) break;" if (parenthesized_expression "(*pbVar12 == 0)" ( (binary_expression "*pbVar12 == 0" (pointer_expression "*pbVar12" * identifier) == number_literal) )) (break_statement "break;" break ;)) })) (expression_statement "pbVar11 = pbVar18 + -iVar10;" (assignment_expression "pbVar11 = pbVar18 + -iVar10" identifier = (binary_expression "pbVar18 + -iVar10" identifier + (unary_expression "-iVar10" - identifier))) ;) (labeled_statement "LAB_0003ed2c:\n  (*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));" statement_identifier : (expression_statement "(*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));" (call_expression "(*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10))" (parenthesized_expression "(*(code *)PTR_memcpy_00190e2c)" ( (pointer_expression "*(code *)PTR_memcpy_00190e2c" * (cast_expression "(code *)PTR_memcpy_00190e2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar16,pbVar12,pbVar18 + (1 - iVar10))" ( identifier , identifier , (binary_expression "pbVar18 + (1 - iVar10)" identifier + (parenthesized_expression "(1 - iVar10)" ( (binary_expression "1 - iVar10" number_literal - identifier) ))) ))) ;)) (expression_statement "local_2c = *(undefined4 *)(param_1 + 0x1c);" (assignment_expression "local_2c = *(undefined4 *)(param_1 + 0x1c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0003eae4:\n  if (pbVar11 != (byte *)0x0) {\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }" statement_identifier : (if_statement "if (pbVar11 != (byte *)0x0) {\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }" if (parenthesized_expression "(pbVar11 != (byte *)0x0)" ( (binary_expression "pbVar11 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }" { (if_statement "if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }" if (parenthesized_expression "(0 < (int)pbVar11 - (int)pbVar14)" ( (binary_expression "0 < (int)pbVar11 - (int)pbVar14" number_literal < (binary_expression "(int)pbVar11 - (int)pbVar14" (cast_expression "(int)pbVar11" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar14" ( (type_descriptor "int" primitive_type) ) identifier))) )) (compound_statement "{\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }" { (if_statement "if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }" if (parenthesized_expression "(pbVar14[iVar16] != 0x3b)" ( (binary_expression "pbVar14[iVar16] != 0x3b" (subscript_expression "pbVar14[iVar16]" identifier [ identifier ]) != number_literal) )) (compound_statement "{\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }" { (expression_statement "pbVar18 = pbVar14 + iVar16 + 1;" (assignment_expression "pbVar18 = pbVar14 + iVar16 + 1" identifier = (binary_expression "pbVar14 + iVar16 + 1" (binary_expression "pbVar14 + iVar16" identifier + identifier) + number_literal)) ;) (do_statement "do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);" do (compound_statement "{\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        }" { (if_statement "if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;" if (parenthesized_expression "(pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18)" ( (binary_expression "pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18" (binary_expression "pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14)" (binary_expression "pbVar14 + iVar16" identifier + identifier) + (parenthesized_expression "((int)pbVar11 - (int)pbVar14)" ( (binary_expression "(int)pbVar11 - (int)pbVar14" (cast_expression "(int)pbVar11" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar14" ( (type_descriptor "int" primitive_type) ) identifier)) ))) == identifier) )) (goto_statement "goto LAB_0003ebc4;" goto statement_identifier ;)) (expression_statement "bVar1 = *pbVar18;" (assignment_expression "bVar1 = *pbVar18" identifier = (pointer_expression "*pbVar18" * identifier)) ;) (expression_statement "pbVar18 = pbVar18 + 1;" (assignment_expression "pbVar18 = pbVar18 + 1" identifier = (binary_expression "pbVar18 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar1 != 0x3b)" ( (binary_expression "bVar1 != 0x3b" identifier != number_literal) )) ;) })) (expression_statement "iVar10 = sqlite3_complete(iVar16);" (assignment_expression "iVar10 = sqlite3_complete(iVar16)" identifier = (call_expression "sqlite3_complete(iVar16)" identifier (argument_list "(iVar16)" ( identifier )))) ;) (if_statement "if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }" { (expression_statement "iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);" (assignment_expression "iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" identifier = (call_expression "FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" identifier (argument_list "(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" ( identifier , identifier , (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) )))) , identifier )))) ;) (expression_statement "iVar17 = iVar17 + iVar10;" (assignment_expression "iVar17 = iVar17 + iVar10" identifier = (binary_expression "iVar17 + iVar10" identifier + identifier)) ;) (if_statement "if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }" if (parenthesized_expression "(*(int *)(param_1 + 0x14) == 0)" ( (binary_expression "*(int *)(param_1 + 0x14) == 0" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }" { (expression_statement "FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);" (call_expression "FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c)" identifier (argument_list "(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c)" ( (pointer_expression "*(undefined1 *)(param_1 + 0xb)" * (cast_expression "(undefined1 *)(param_1 + 0xb)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb)" ( (binary_expression "param_1 + 0xb" identifier + number_literal) )))) , (binary_expression "param_1 + 0x6c" identifier + number_literal) ))) ;) (expression_statement "pbVar11 = (byte *)0x0;" (assignment_expression "pbVar11 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }" else (compound_statement "{\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }" { (expression_statement "FUN_00028634(param_1);" (call_expression "FUN_00028634(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pbVar11 = (byte *)0x0;" (assignment_expression "pbVar11 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (goto_statement "goto LAB_0003eaf0;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);" statement_identifier : (expression_statement "iVar10 = (*pcVar7)(iVar16);" (assignment_expression "iVar10 = (*pcVar7)(iVar16)" identifier = (call_expression "(*pcVar7)(iVar16)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(iVar16)" ( identifier )))) ;)) (if_statement "if (iVar10 == 0) goto LAB_0003eaf0;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003eaf0;" goto statement_identifier ;)) (if_statement "if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }" if (parenthesized_expression "((*(uint *)(param_1 + 0x58) & 0x40) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0x58) & 0x40) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x58) & 0x40)" ( (binary_expression "*(uint *)(param_1 + 0x58) & 0x40" (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }" { (expression_statement "(*(code *)PTR_puts_00190da0)(iVar16);" (call_expression "(*(code *)PTR_puts_00190da0)(iVar16)" (parenthesized_expression "(*(code *)PTR_puts_00190da0)" ( (pointer_expression "*(code *)PTR_puts_00190da0" * (cast_expression "(code *)PTR_puts_00190da0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar16)" ( identifier ))) ;) (expression_statement "pbVar11 = (byte *)0x0;" (assignment_expression "pbVar11 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_0003eaf0;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_0003eaec:\n  pbVar11 = (byte *)0x0;" statement_identifier : (expression_statement "pbVar11 = (byte *)0x0;" (assignment_expression "pbVar11 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (labeled_statement "LAB_0003eaf0:\n  pbVar14 = pbVar11;" statement_identifier : (expression_statement "pbVar14 = pbVar11;" (assignment_expression "pbVar14 = pbVar11" identifier = identifier) ;)) (if_statement "if (((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))\n  goto LAB_0003eb1c;" if (parenthesized_expression "(((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))" ( (binary_expression "((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0)))" (parenthesized_expression "((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0))" ( (binary_expression "(iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)" (parenthesized_expression "(iVar17 != 0)" ( (binary_expression "iVar17 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(PTR_DAT_00190948 + 0xf38) != 0)" ( (binary_expression "*(int *)(PTR_DAT_00190948 + 0xf38) != 0" (pointer_expression "*(int *)(PTR_DAT_00190948 + 0xf38)" * (cast_expression "(int *)(PTR_DAT_00190948 + 0xf38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190948 + 0xf38)" ( (binary_expression "PTR_DAT_00190948 + 0xf38" identifier + number_literal) )))) != number_literal) ))) )) && (parenthesized_expression "((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0)))" ( (parenthesized_expression "(*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))" ( (binary_expression "*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0)" (binary_expression "*(int *)(param_1 + 0x20) != 0" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) != number_literal) || (parenthesized_expression "(*(int *)(PTR_DAT_00190948 + -4000) == 0)" ( (binary_expression "*(int *)(PTR_DAT_00190948 + -4000) == 0" (pointer_expression "*(int *)(PTR_DAT_00190948 + -4000)" * (cast_expression "(int *)(PTR_DAT_00190948 + -4000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190948 + -4000)" ( (binary_expression "PTR_DAT_00190948 + -4000" identifier + number_literal) )))) == number_literal) ))) )) ))) )) (goto_statement "goto LAB_0003eb1c;" goto statement_identifier ;)) (goto_statement "goto LAB_0003e9b0;" goto statement_identifier ;) })))
(translation_unit "int process_input(ShellState *p)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  int *piVar9;\n  int *piVar10;\n  byte *pbVar11;\n  char *pcVar12;\n  uint uVar13;\n  byte *pbVar14;\n  int iVar15;\n  undefined *puVar16;\n  int iVar17;\n  uint uVar18;\n  byte *zLine;\n  char *zSql;\n  int iVar19;\n  uint uVar20;\n  int iStack_3c;\n  int iStack_2c;\n  \n  puVar4 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;\n  puVar16 = PTR_LAB_00190954;\n  puVar3 = PTR_aBuiltinFunc_29540_1408__00190948;\n  iVar19 = 0;\n  pcVar5 = (code *)(PTR_LAB_00190954 + 0x6014);\n  zSql = (char *)0x0;\n  zLine = (byte *)0x0;\n  puVar6 = PTR_aBuiltinFunc_29540_1408__00190948 + 0xf04;\n  puVar7 = PTR_aBuiltinFunc_29540_1408__00190948 + 0xf18;\n  iStack_2c = 0;\n  iStack_3c = 0;\n  p->lineno = 0;\n  pcVar8 = (code *)(puVar16 + 0x156c);\n  uVar18 = 0;\n  while( true ) {\n    (*(code *)PTR_fflush_00190e48)(p->out);\n    if (p->in == (FILE *)0x0) {\n      puVar16 = puVar6;\n      if ((int)uVar18 < 1) {\n        puVar16 = puVar7;\n      }\n      (*(code *)PTR___printf_chk_00190d34)(1,puVar4 + -0x5dfc,puVar16);\n      (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n      zLine = (byte *)(*pcVar5)(zLine,*(undefined4 *)PTR_stdin_00190d70);\n    }\n    else {\n      zLine = (byte *)(*pcVar5)(zLine);\n    }\n    if (zLine == (byte *)0x0) break;\n    if (*(int *)(puVar3 + 0xf30) != 0) {\n      if (p->in != (FILE *)0x0) goto LAB_0003eb1c;\n      *(undefined4 *)(puVar3 + 0xf30) = 0;\n    }\n    p->lineno = p->lineno + 1;\n    if (uVar18 == 0) {\n      iVar15 = (*pcVar8)(zLine);\n      uVar20 = uVar18;\n      if (iVar15 == 0) {\n        if (*zLine == 0x2e) {\n          if ((p->shellFlgs & 0x40) != 0) {\nLAB_0003ed64:\n            (*(code *)PTR_puts_00190da0)(zLine);\n            if (*zLine == 0x2e) goto LAB_0003ec98;\n            goto LAB_0003eaec;\n          }\nLAB_0003ec98:\n          uVar20 = do_meta_command((char *)zLine,p);\n          if (uVar20 != 2) {\n            if (uVar20 != 0) {\n              iVar19 = iVar19 + 1;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n          goto LAB_0003eb38;\n        }\n        if (*zLine != 0x23) goto LAB_0003ea0c;\n        if ((p->shellFlgs & 0x40) != 0) goto LAB_0003ed64;\n      }\n      else if ((p->shellFlgs & 0x40) != 0) {\n        (*(code *)PTR_puts_00190da0)(zLine);\n      }\n    }\n    else {\nLAB_0003ea0c:\n      piVar9 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n      pbVar14 = zLine;\n      while( true ) {\n        bVar1 = *pbVar14;\n        if ((*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20) == 0) break;\n        pbVar14 = pbVar14 + 1;\n      }\n      pbVar11 = zLine;\n      if ((bVar1 == 0x2f) && (iVar15 = (*pcVar8)(pbVar14 + 1), iVar15 != 0)) {\nLAB_0003ede4:\n        pcVar12 = zSql + uVar18;\n        if (zSql != (char *)0x0) {\n          *pcVar12 = ';';\n          pcVar12[1] = '\0';\n          iVar15 = sqlite3_complete(zSql);\n          *pcVar12 = '\0';\n          if (iVar15 == 0) goto LAB_0003ea78;\n        }\n        zLine[1] = 0;\n        *zLine = 0x3b;\n        if (*zLine == 0) goto LAB_0003ee2c;\nLAB_0003ea84:\n        do {\n          pbVar11 = pbVar11 + 1;\n        } while (*pbVar11 != 0);\n        uVar20 = (int)pbVar11 - (int)zLine & 0x3fffffff;\n        uVar13 = uVar18 + uVar20;\n      }\n      else {\n        piVar10 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n        if ((*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g') &&\n           ((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)))) goto LAB_0003ede4;\nLAB_0003ea78:\n        if (*zLine != 0) goto LAB_0003ea84;\nLAB_0003ee2c:\n        uVar20 = 0;\n        uVar13 = uVar18;\n      }\n      if ((iStack_3c <= (int)(uVar13 + 2)) &&\n         (zSql = (char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100),\n         iStack_3c = uVar13 + 100, zSql == (char *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n        shell_out_of_memory();\n      }\n      puVar16 = PTR_memcpy_00190e2c;\n      iVar15 = uVar20 + 1;\n      if (uVar18 == 0) {\n        pbVar14 = zLine;\n        if ((*zLine == 0) || ((*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0)) {\n          iVar17 = 0;\n        }\n        else {\n          iVar17 = 0;\n          do {\n            pbVar14 = pbVar14 + 1;\n            iVar17 = iVar17 + 1;\n            if (*pbVar14 == 0) break;\n          } while ((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0);\n          uVar20 = uVar20 - iVar17;\n        }\n        (*(code *)PTR_memcpy_00190e2c)(zSql,pbVar14,iVar15 - iVar17);\n        iStack_2c = p->lineno;\n      }\n      else {\n        zSql[uVar18] = '\n';\n        uVar20 = uVar20 + uVar18 + 1;\n        (*(code *)puVar16)(zSql + uVar18 + 1,zLine);\n      }\n      if (uVar20 == 0) {\nLAB_0003eaec:\n        uVar20 = 0;\n      }\n      else {\n        if (0 < (int)(uVar20 - uVar18)) {\n          if (zSql[uVar18] != ';') {\n            pcVar12 = zSql + uVar18 + 1;\n            do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');\n          }\n          iVar15 = sqlite3_complete(zSql);\n          if (iVar15 != 0) {\n            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n            iVar19 = iVar19 + iVar15;\n            if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n        }\nLAB_0003ebc4:\n        iVar15 = (*pcVar8)(zSql);\n        if (iVar15 != 0) {\n          if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;\n          (*(code *)PTR_puts_00190da0)(zSql);\n          uVar20 = 0;\n        }\n      }\n    }\nLAB_0003eaf0:\n    uVar18 = uVar20;\n    if (((iVar19 != 0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38) != 0)) &&\n       ((p->in != (FILE *)0x0 || (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) == 0))))\n    goto LAB_0003eb1c;\n  }\n  if ((p->in == (FILE *)0x0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) != 0)) {\n    (*(code *)PTR_putchar_00190d50)(10);\n  }\nLAB_0003eb1c:\n  if ((uVar18 != 0) && (iVar15 = _all_whitespace(zSql), iVar15 == 0)) {\n    iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n    iVar19 = iVar19 + iVar15;\n  }\nLAB_0003eb38:\n  (*(code *)PTR_free_00190e38)(zSql);\n  (*(code *)PTR_free_00190e38)(zLine);\n  return (uint)(0 < iVar19);\n}\n\n" (function_definition "int process_input(ShellState *p)\n\n{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  int *piVar9;\n  int *piVar10;\n  byte *pbVar11;\n  char *pcVar12;\n  uint uVar13;\n  byte *pbVar14;\n  int iVar15;\n  undefined *puVar16;\n  int iVar17;\n  uint uVar18;\n  byte *zLine;\n  char *zSql;\n  int iVar19;\n  uint uVar20;\n  int iStack_3c;\n  int iStack_2c;\n  \n  puVar4 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;\n  puVar16 = PTR_LAB_00190954;\n  puVar3 = PTR_aBuiltinFunc_29540_1408__00190948;\n  iVar19 = 0;\n  pcVar5 = (code *)(PTR_LAB_00190954 + 0x6014);\n  zSql = (char *)0x0;\n  zLine = (byte *)0x0;\n  puVar6 = PTR_aBuiltinFunc_29540_1408__00190948 + 0xf04;\n  puVar7 = PTR_aBuiltinFunc_29540_1408__00190948 + 0xf18;\n  iStack_2c = 0;\n  iStack_3c = 0;\n  p->lineno = 0;\n  pcVar8 = (code *)(puVar16 + 0x156c);\n  uVar18 = 0;\n  while( true ) {\n    (*(code *)PTR_fflush_00190e48)(p->out);\n    if (p->in == (FILE *)0x0) {\n      puVar16 = puVar6;\n      if ((int)uVar18 < 1) {\n        puVar16 = puVar7;\n      }\n      (*(code *)PTR___printf_chk_00190d34)(1,puVar4 + -0x5dfc,puVar16);\n      (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n      zLine = (byte *)(*pcVar5)(zLine,*(undefined4 *)PTR_stdin_00190d70);\n    }\n    else {\n      zLine = (byte *)(*pcVar5)(zLine);\n    }\n    if (zLine == (byte *)0x0) break;\n    if (*(int *)(puVar3 + 0xf30) != 0) {\n      if (p->in != (FILE *)0x0) goto LAB_0003eb1c;\n      *(undefined4 *)(puVar3 + 0xf30) = 0;\n    }\n    p->lineno = p->lineno + 1;\n    if (uVar18 == 0) {\n      iVar15 = (*pcVar8)(zLine);\n      uVar20 = uVar18;\n      if (iVar15 == 0) {\n        if (*zLine == 0x2e) {\n          if ((p->shellFlgs & 0x40) != 0) {\nLAB_0003ed64:\n            (*(code *)PTR_puts_00190da0)(zLine);\n            if (*zLine == 0x2e) goto LAB_0003ec98;\n            goto LAB_0003eaec;\n          }\nLAB_0003ec98:\n          uVar20 = do_meta_command((char *)zLine,p);\n          if (uVar20 != 2) {\n            if (uVar20 != 0) {\n              iVar19 = iVar19 + 1;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n          goto LAB_0003eb38;\n        }\n        if (*zLine != 0x23) goto LAB_0003ea0c;\n        if ((p->shellFlgs & 0x40) != 0) goto LAB_0003ed64;\n      }\n      else if ((p->shellFlgs & 0x40) != 0) {\n        (*(code *)PTR_puts_00190da0)(zLine);\n      }\n    }\n    else {\nLAB_0003ea0c:\n      piVar9 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n      pbVar14 = zLine;\n      while( true ) {\n        bVar1 = *pbVar14;\n        if ((*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20) == 0) break;\n        pbVar14 = pbVar14 + 1;\n      }\n      pbVar11 = zLine;\n      if ((bVar1 == 0x2f) && (iVar15 = (*pcVar8)(pbVar14 + 1), iVar15 != 0)) {\nLAB_0003ede4:\n        pcVar12 = zSql + uVar18;\n        if (zSql != (char *)0x0) {\n          *pcVar12 = ';';\n          pcVar12[1] = '\0';\n          iVar15 = sqlite3_complete(zSql);\n          *pcVar12 = '\0';\n          if (iVar15 == 0) goto LAB_0003ea78;\n        }\n        zLine[1] = 0;\n        *zLine = 0x3b;\n        if (*zLine == 0) goto LAB_0003ee2c;\nLAB_0003ea84:\n        do {\n          pbVar11 = pbVar11 + 1;\n        } while (*pbVar11 != 0);\n        uVar20 = (int)pbVar11 - (int)zLine & 0x3fffffff;\n        uVar13 = uVar18 + uVar20;\n      }\n      else {\n        piVar10 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n        if ((*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g') &&\n           ((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)))) goto LAB_0003ede4;\nLAB_0003ea78:\n        if (*zLine != 0) goto LAB_0003ea84;\nLAB_0003ee2c:\n        uVar20 = 0;\n        uVar13 = uVar18;\n      }\n      if ((iStack_3c <= (int)(uVar13 + 2)) &&\n         (zSql = (char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100),\n         iStack_3c = uVar13 + 100, zSql == (char *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n        shell_out_of_memory();\n      }\n      puVar16 = PTR_memcpy_00190e2c;\n      iVar15 = uVar20 + 1;\n      if (uVar18 == 0) {\n        pbVar14 = zLine;\n        if ((*zLine == 0) || ((*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0)) {\n          iVar17 = 0;\n        }\n        else {\n          iVar17 = 0;\n          do {\n            pbVar14 = pbVar14 + 1;\n            iVar17 = iVar17 + 1;\n            if (*pbVar14 == 0) break;\n          } while ((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0);\n          uVar20 = uVar20 - iVar17;\n        }\n        (*(code *)PTR_memcpy_00190e2c)(zSql,pbVar14,iVar15 - iVar17);\n        iStack_2c = p->lineno;\n      }\n      else {\n        zSql[uVar18] = '\n';\n        uVar20 = uVar20 + uVar18 + 1;\n        (*(code *)puVar16)(zSql + uVar18 + 1,zLine);\n      }\n      if (uVar20 == 0) {\nLAB_0003eaec:\n        uVar20 = 0;\n      }\n      else {\n        if (0 < (int)(uVar20 - uVar18)) {\n          if (zSql[uVar18] != ';') {\n            pcVar12 = zSql + uVar18 + 1;\n            do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');\n          }\n          iVar15 = sqlite3_complete(zSql);\n          if (iVar15 != 0) {\n            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n            iVar19 = iVar19 + iVar15;\n            if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n        }\nLAB_0003ebc4:\n        iVar15 = (*pcVar8)(zSql);\n        if (iVar15 != 0) {\n          if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;\n          (*(code *)PTR_puts_00190da0)(zSql);\n          uVar20 = 0;\n        }\n      }\n    }\nLAB_0003eaf0:\n    uVar18 = uVar20;\n    if (((iVar19 != 0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38) != 0)) &&\n       ((p->in != (FILE *)0x0 || (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) == 0))))\n    goto LAB_0003eb1c;\n  }\n  if ((p->in == (FILE *)0x0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) != 0)) {\n    (*(code *)PTR_putchar_00190d50)(10);\n  }\nLAB_0003eb1c:\n  if ((uVar18 != 0) && (iVar15 = _all_whitespace(zSql), iVar15 == 0)) {\n    iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n    iVar19 = iVar19 + iVar15;\n  }\nLAB_0003eb38:\n  (*(code *)PTR_free_00190e38)(zSql);\n  (*(code *)PTR_free_00190e38)(zLine);\n  return (uint)(0 < iVar19);\n}" primitive_type (function_declarator "process_input(ShellState *p)" identifier (parameter_list "(ShellState *p)" ( (parameter_declaration "ShellState *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  undefined *puVar3;\n  undefined *puVar4;\n  code *pcVar5;\n  undefined *puVar6;\n  undefined *puVar7;\n  code *pcVar8;\n  int *piVar9;\n  int *piVar10;\n  byte *pbVar11;\n  char *pcVar12;\n  uint uVar13;\n  byte *pbVar14;\n  int iVar15;\n  undefined *puVar16;\n  int iVar17;\n  uint uVar18;\n  byte *zLine;\n  char *zSql;\n  int iVar19;\n  uint uVar20;\n  int iStack_3c;\n  int iStack_2c;\n  \n  puVar4 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;\n  puVar16 = PTR_LAB_00190954;\n  puVar3 = PTR_aBuiltinFunc_29540_1408__00190948;\n  iVar19 = 0;\n  pcVar5 = (code *)(PTR_LAB_00190954 + 0x6014);\n  zSql = (char *)0x0;\n  zLine = (byte *)0x0;\n  puVar6 = PTR_aBuiltinFunc_29540_1408__00190948 + 0xf04;\n  puVar7 = PTR_aBuiltinFunc_29540_1408__00190948 + 0xf18;\n  iStack_2c = 0;\n  iStack_3c = 0;\n  p->lineno = 0;\n  pcVar8 = (code *)(puVar16 + 0x156c);\n  uVar18 = 0;\n  while( true ) {\n    (*(code *)PTR_fflush_00190e48)(p->out);\n    if (p->in == (FILE *)0x0) {\n      puVar16 = puVar6;\n      if ((int)uVar18 < 1) {\n        puVar16 = puVar7;\n      }\n      (*(code *)PTR___printf_chk_00190d34)(1,puVar4 + -0x5dfc,puVar16);\n      (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n      zLine = (byte *)(*pcVar5)(zLine,*(undefined4 *)PTR_stdin_00190d70);\n    }\n    else {\n      zLine = (byte *)(*pcVar5)(zLine);\n    }\n    if (zLine == (byte *)0x0) break;\n    if (*(int *)(puVar3 + 0xf30) != 0) {\n      if (p->in != (FILE *)0x0) goto LAB_0003eb1c;\n      *(undefined4 *)(puVar3 + 0xf30) = 0;\n    }\n    p->lineno = p->lineno + 1;\n    if (uVar18 == 0) {\n      iVar15 = (*pcVar8)(zLine);\n      uVar20 = uVar18;\n      if (iVar15 == 0) {\n        if (*zLine == 0x2e) {\n          if ((p->shellFlgs & 0x40) != 0) {\nLAB_0003ed64:\n            (*(code *)PTR_puts_00190da0)(zLine);\n            if (*zLine == 0x2e) goto LAB_0003ec98;\n            goto LAB_0003eaec;\n          }\nLAB_0003ec98:\n          uVar20 = do_meta_command((char *)zLine,p);\n          if (uVar20 != 2) {\n            if (uVar20 != 0) {\n              iVar19 = iVar19 + 1;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n          goto LAB_0003eb38;\n        }\n        if (*zLine != 0x23) goto LAB_0003ea0c;\n        if ((p->shellFlgs & 0x40) != 0) goto LAB_0003ed64;\n      }\n      else if ((p->shellFlgs & 0x40) != 0) {\n        (*(code *)PTR_puts_00190da0)(zLine);\n      }\n    }\n    else {\nLAB_0003ea0c:\n      piVar9 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n      pbVar14 = zLine;\n      while( true ) {\n        bVar1 = *pbVar14;\n        if ((*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20) == 0) break;\n        pbVar14 = pbVar14 + 1;\n      }\n      pbVar11 = zLine;\n      if ((bVar1 == 0x2f) && (iVar15 = (*pcVar8)(pbVar14 + 1), iVar15 != 0)) {\nLAB_0003ede4:\n        pcVar12 = zSql + uVar18;\n        if (zSql != (char *)0x0) {\n          *pcVar12 = ';';\n          pcVar12[1] = '\0';\n          iVar15 = sqlite3_complete(zSql);\n          *pcVar12 = '\0';\n          if (iVar15 == 0) goto LAB_0003ea78;\n        }\n        zLine[1] = 0;\n        *zLine = 0x3b;\n        if (*zLine == 0) goto LAB_0003ee2c;\nLAB_0003ea84:\n        do {\n          pbVar11 = pbVar11 + 1;\n        } while (*pbVar11 != 0);\n        uVar20 = (int)pbVar11 - (int)zLine & 0x3fffffff;\n        uVar13 = uVar18 + uVar20;\n      }\n      else {\n        piVar10 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n        if ((*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g') &&\n           ((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)))) goto LAB_0003ede4;\nLAB_0003ea78:\n        if (*zLine != 0) goto LAB_0003ea84;\nLAB_0003ee2c:\n        uVar20 = 0;\n        uVar13 = uVar18;\n      }\n      if ((iStack_3c <= (int)(uVar13 + 2)) &&\n         (zSql = (char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100),\n         iStack_3c = uVar13 + 100, zSql == (char *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n        shell_out_of_memory();\n      }\n      puVar16 = PTR_memcpy_00190e2c;\n      iVar15 = uVar20 + 1;\n      if (uVar18 == 0) {\n        pbVar14 = zLine;\n        if ((*zLine == 0) || ((*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0)) {\n          iVar17 = 0;\n        }\n        else {\n          iVar17 = 0;\n          do {\n            pbVar14 = pbVar14 + 1;\n            iVar17 = iVar17 + 1;\n            if (*pbVar14 == 0) break;\n          } while ((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0);\n          uVar20 = uVar20 - iVar17;\n        }\n        (*(code *)PTR_memcpy_00190e2c)(zSql,pbVar14,iVar15 - iVar17);\n        iStack_2c = p->lineno;\n      }\n      else {\n        zSql[uVar18] = '\n';\n        uVar20 = uVar20 + uVar18 + 1;\n        (*(code *)puVar16)(zSql + uVar18 + 1,zLine);\n      }\n      if (uVar20 == 0) {\nLAB_0003eaec:\n        uVar20 = 0;\n      }\n      else {\n        if (0 < (int)(uVar20 - uVar18)) {\n          if (zSql[uVar18] != ';') {\n            pcVar12 = zSql + uVar18 + 1;\n            do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');\n          }\n          iVar15 = sqlite3_complete(zSql);\n          if (iVar15 != 0) {\n            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n            iVar19 = iVar19 + iVar15;\n            if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n        }\nLAB_0003ebc4:\n        iVar15 = (*pcVar8)(zSql);\n        if (iVar15 != 0) {\n          if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;\n          (*(code *)PTR_puts_00190da0)(zSql);\n          uVar20 = 0;\n        }\n      }\n    }\nLAB_0003eaf0:\n    uVar18 = uVar20;\n    if (((iVar19 != 0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38) != 0)) &&\n       ((p->in != (FILE *)0x0 || (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) == 0))))\n    goto LAB_0003eb1c;\n  }\n  if ((p->in == (FILE *)0x0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) != 0)) {\n    (*(code *)PTR_putchar_00190d50)(10);\n  }\nLAB_0003eb1c:\n  if ((uVar18 != 0) && (iVar15 = _all_whitespace(zSql), iVar15 == 0)) {\n    iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n    iVar19 = iVar19 + iVar15;\n  }\nLAB_0003eb38:\n  (*(code *)PTR_free_00190e38)(zSql);\n  (*(code *)PTR_free_00190e38)(zLine);\n  return (uint)(0 < iVar19);\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "char *pcVar12;" primitive_type (pointer_declarator "*pcVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "undefined *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "uint uVar18;" type_identifier identifier ;) (declaration "byte *zLine;" type_identifier (pointer_declarator "*zLine" * identifier) ;) (declaration "char *zSql;" primitive_type (pointer_declarator "*zSql" * identifier) ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "uint uVar20;" type_identifier identifier ;) (declaration "int iStack_3c;" primitive_type identifier ;) (declaration "int iStack_2c;" primitive_type identifier ;) (expression_statement "puVar4 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;" (assignment_expression "puVar4 = PTR_s_o_page_from_root____pageno_INTEG_0019095c" identifier = identifier) ;) (expression_statement "puVar16 = PTR_LAB_00190954;" (assignment_expression "puVar16 = PTR_LAB_00190954" identifier = identifier) ;) (expression_statement "puVar3 = PTR_aBuiltinFunc_29540_1408__00190948;" (assignment_expression "puVar3 = PTR_aBuiltinFunc_29540_1408__00190948" identifier = identifier) ;) (expression_statement "iVar19 = 0;" (assignment_expression "iVar19 = 0" identifier = number_literal) ;) (expression_statement "pcVar5 = (code *)(PTR_LAB_00190954 + 0x6014);" (assignment_expression "pcVar5 = (code *)(PTR_LAB_00190954 + 0x6014)" identifier = (cast_expression "(code *)(PTR_LAB_00190954 + 0x6014)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190954 + 0x6014)" ( (binary_expression "PTR_LAB_00190954 + 0x6014" identifier + number_literal) )))) ;) (expression_statement "zSql = (char *)0x0;" (assignment_expression "zSql = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "zLine = (byte *)0x0;" (assignment_expression "zLine = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar6 = PTR_aBuiltinFunc_29540_1408__00190948 + 0xf04;" (assignment_expression "puVar6 = PTR_aBuiltinFunc_29540_1408__00190948 + 0xf04" identifier = (binary_expression "PTR_aBuiltinFunc_29540_1408__00190948 + 0xf04" identifier + number_literal)) ;) (expression_statement "puVar7 = PTR_aBuiltinFunc_29540_1408__00190948 + 0xf18;" (assignment_expression "puVar7 = PTR_aBuiltinFunc_29540_1408__00190948 + 0xf18" identifier = (binary_expression "PTR_aBuiltinFunc_29540_1408__00190948 + 0xf18" identifier + number_literal)) ;) (expression_statement "iStack_2c = 0;" (assignment_expression "iStack_2c = 0" identifier = number_literal) ;) (expression_statement "iStack_3c = 0;" (assignment_expression "iStack_3c = 0" identifier = number_literal) ;) (expression_statement "p->lineno = 0;" (assignment_expression "p->lineno = 0" (field_expression "p->lineno" identifier -> field_identifier) = number_literal) ;) (expression_statement "pcVar8 = (code *)(puVar16 + 0x156c);" (assignment_expression "pcVar8 = (code *)(puVar16 + 0x156c)" identifier = (cast_expression "(code *)(puVar16 + 0x156c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + 0x156c)" ( (binary_expression "puVar16 + 0x156c" identifier + number_literal) )))) ;) (expression_statement "uVar18 = 0;" (assignment_expression "uVar18 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n    (*(code *)PTR_fflush_00190e48)(p->out);\n    if (p->in == (FILE *)0x0) {\n      puVar16 = puVar6;\n      if ((int)uVar18 < 1) {\n        puVar16 = puVar7;\n      }\n      (*(code *)PTR___printf_chk_00190d34)(1,puVar4 + -0x5dfc,puVar16);\n      (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n      zLine = (byte *)(*pcVar5)(zLine,*(undefined4 *)PTR_stdin_00190d70);\n    }\n    else {\n      zLine = (byte *)(*pcVar5)(zLine);\n    }\n    if (zLine == (byte *)0x0) break;\n    if (*(int *)(puVar3 + 0xf30) != 0) {\n      if (p->in != (FILE *)0x0) goto LAB_0003eb1c;\n      *(undefined4 *)(puVar3 + 0xf30) = 0;\n    }\n    p->lineno = p->lineno + 1;\n    if (uVar18 == 0) {\n      iVar15 = (*pcVar8)(zLine);\n      uVar20 = uVar18;\n      if (iVar15 == 0) {\n        if (*zLine == 0x2e) {\n          if ((p->shellFlgs & 0x40) != 0) {\nLAB_0003ed64:\n            (*(code *)PTR_puts_00190da0)(zLine);\n            if (*zLine == 0x2e) goto LAB_0003ec98;\n            goto LAB_0003eaec;\n          }\nLAB_0003ec98:\n          uVar20 = do_meta_command((char *)zLine,p);\n          if (uVar20 != 2) {\n            if (uVar20 != 0) {\n              iVar19 = iVar19 + 1;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n          goto LAB_0003eb38;\n        }\n        if (*zLine != 0x23) goto LAB_0003ea0c;\n        if ((p->shellFlgs & 0x40) != 0) goto LAB_0003ed64;\n      }\n      else if ((p->shellFlgs & 0x40) != 0) {\n        (*(code *)PTR_puts_00190da0)(zLine);\n      }\n    }\n    else {\nLAB_0003ea0c:\n      piVar9 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n      pbVar14 = zLine;\n      while( true ) {\n        bVar1 = *pbVar14;\n        if ((*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20) == 0) break;\n        pbVar14 = pbVar14 + 1;\n      }\n      pbVar11 = zLine;\n      if ((bVar1 == 0x2f) && (iVar15 = (*pcVar8)(pbVar14 + 1), iVar15 != 0)) {\nLAB_0003ede4:\n        pcVar12 = zSql + uVar18;\n        if (zSql != (char *)0x0) {\n          *pcVar12 = ';';\n          pcVar12[1] = '\0';\n          iVar15 = sqlite3_complete(zSql);\n          *pcVar12 = '\0';\n          if (iVar15 == 0) goto LAB_0003ea78;\n        }\n        zLine[1] = 0;\n        *zLine = 0x3b;\n        if (*zLine == 0) goto LAB_0003ee2c;\nLAB_0003ea84:\n        do {\n          pbVar11 = pbVar11 + 1;\n        } while (*pbVar11 != 0);\n        uVar20 = (int)pbVar11 - (int)zLine & 0x3fffffff;\n        uVar13 = uVar18 + uVar20;\n      }\n      else {\n        piVar10 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n        if ((*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g') &&\n           ((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)))) goto LAB_0003ede4;\nLAB_0003ea78:\n        if (*zLine != 0) goto LAB_0003ea84;\nLAB_0003ee2c:\n        uVar20 = 0;\n        uVar13 = uVar18;\n      }\n      if ((iStack_3c <= (int)(uVar13 + 2)) &&\n         (zSql = (char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100),\n         iStack_3c = uVar13 + 100, zSql == (char *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n        shell_out_of_memory();\n      }\n      puVar16 = PTR_memcpy_00190e2c;\n      iVar15 = uVar20 + 1;\n      if (uVar18 == 0) {\n        pbVar14 = zLine;\n        if ((*zLine == 0) || ((*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0)) {\n          iVar17 = 0;\n        }\n        else {\n          iVar17 = 0;\n          do {\n            pbVar14 = pbVar14 + 1;\n            iVar17 = iVar17 + 1;\n            if (*pbVar14 == 0) break;\n          } while ((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0);\n          uVar20 = uVar20 - iVar17;\n        }\n        (*(code *)PTR_memcpy_00190e2c)(zSql,pbVar14,iVar15 - iVar17);\n        iStack_2c = p->lineno;\n      }\n      else {\n        zSql[uVar18] = '\n';\n        uVar20 = uVar20 + uVar18 + 1;\n        (*(code *)puVar16)(zSql + uVar18 + 1,zLine);\n      }\n      if (uVar20 == 0) {\nLAB_0003eaec:\n        uVar20 = 0;\n      }\n      else {\n        if (0 < (int)(uVar20 - uVar18)) {\n          if (zSql[uVar18] != ';') {\n            pcVar12 = zSql + uVar18 + 1;\n            do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');\n          }\n          iVar15 = sqlite3_complete(zSql);\n          if (iVar15 != 0) {\n            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n            iVar19 = iVar19 + iVar15;\n            if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n        }\nLAB_0003ebc4:\n        iVar15 = (*pcVar8)(zSql);\n        if (iVar15 != 0) {\n          if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;\n          (*(code *)PTR_puts_00190da0)(zSql);\n          uVar20 = 0;\n        }\n      }\n    }\nLAB_0003eaf0:\n    uVar18 = uVar20;\n    if (((iVar19 != 0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38) != 0)) &&\n       ((p->in != (FILE *)0x0 || (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) == 0))))\n    goto LAB_0003eb1c;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    (*(code *)PTR_fflush_00190e48)(p->out);\n    if (p->in == (FILE *)0x0) {\n      puVar16 = puVar6;\n      if ((int)uVar18 < 1) {\n        puVar16 = puVar7;\n      }\n      (*(code *)PTR___printf_chk_00190d34)(1,puVar4 + -0x5dfc,puVar16);\n      (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n      zLine = (byte *)(*pcVar5)(zLine,*(undefined4 *)PTR_stdin_00190d70);\n    }\n    else {\n      zLine = (byte *)(*pcVar5)(zLine);\n    }\n    if (zLine == (byte *)0x0) break;\n    if (*(int *)(puVar3 + 0xf30) != 0) {\n      if (p->in != (FILE *)0x0) goto LAB_0003eb1c;\n      *(undefined4 *)(puVar3 + 0xf30) = 0;\n    }\n    p->lineno = p->lineno + 1;\n    if (uVar18 == 0) {\n      iVar15 = (*pcVar8)(zLine);\n      uVar20 = uVar18;\n      if (iVar15 == 0) {\n        if (*zLine == 0x2e) {\n          if ((p->shellFlgs & 0x40) != 0) {\nLAB_0003ed64:\n            (*(code *)PTR_puts_00190da0)(zLine);\n            if (*zLine == 0x2e) goto LAB_0003ec98;\n            goto LAB_0003eaec;\n          }\nLAB_0003ec98:\n          uVar20 = do_meta_command((char *)zLine,p);\n          if (uVar20 != 2) {\n            if (uVar20 != 0) {\n              iVar19 = iVar19 + 1;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n          goto LAB_0003eb38;\n        }\n        if (*zLine != 0x23) goto LAB_0003ea0c;\n        if ((p->shellFlgs & 0x40) != 0) goto LAB_0003ed64;\n      }\n      else if ((p->shellFlgs & 0x40) != 0) {\n        (*(code *)PTR_puts_00190da0)(zLine);\n      }\n    }\n    else {\nLAB_0003ea0c:\n      piVar9 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n      pbVar14 = zLine;\n      while( true ) {\n        bVar1 = *pbVar14;\n        if ((*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20) == 0) break;\n        pbVar14 = pbVar14 + 1;\n      }\n      pbVar11 = zLine;\n      if ((bVar1 == 0x2f) && (iVar15 = (*pcVar8)(pbVar14 + 1), iVar15 != 0)) {\nLAB_0003ede4:\n        pcVar12 = zSql + uVar18;\n        if (zSql != (char *)0x0) {\n          *pcVar12 = ';';\n          pcVar12[1] = '\0';\n          iVar15 = sqlite3_complete(zSql);\n          *pcVar12 = '\0';\n          if (iVar15 == 0) goto LAB_0003ea78;\n        }\n        zLine[1] = 0;\n        *zLine = 0x3b;\n        if (*zLine == 0) goto LAB_0003ee2c;\nLAB_0003ea84:\n        do {\n          pbVar11 = pbVar11 + 1;\n        } while (*pbVar11 != 0);\n        uVar20 = (int)pbVar11 - (int)zLine & 0x3fffffff;\n        uVar13 = uVar18 + uVar20;\n      }\n      else {\n        piVar10 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n        if ((*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g') &&\n           ((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)))) goto LAB_0003ede4;\nLAB_0003ea78:\n        if (*zLine != 0) goto LAB_0003ea84;\nLAB_0003ee2c:\n        uVar20 = 0;\n        uVar13 = uVar18;\n      }\n      if ((iStack_3c <= (int)(uVar13 + 2)) &&\n         (zSql = (char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100),\n         iStack_3c = uVar13 + 100, zSql == (char *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n        shell_out_of_memory();\n      }\n      puVar16 = PTR_memcpy_00190e2c;\n      iVar15 = uVar20 + 1;\n      if (uVar18 == 0) {\n        pbVar14 = zLine;\n        if ((*zLine == 0) || ((*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0)) {\n          iVar17 = 0;\n        }\n        else {\n          iVar17 = 0;\n          do {\n            pbVar14 = pbVar14 + 1;\n            iVar17 = iVar17 + 1;\n            if (*pbVar14 == 0) break;\n          } while ((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0);\n          uVar20 = uVar20 - iVar17;\n        }\n        (*(code *)PTR_memcpy_00190e2c)(zSql,pbVar14,iVar15 - iVar17);\n        iStack_2c = p->lineno;\n      }\n      else {\n        zSql[uVar18] = '\n';\n        uVar20 = uVar20 + uVar18 + 1;\n        (*(code *)puVar16)(zSql + uVar18 + 1,zLine);\n      }\n      if (uVar20 == 0) {\nLAB_0003eaec:\n        uVar20 = 0;\n      }\n      else {\n        if (0 < (int)(uVar20 - uVar18)) {\n          if (zSql[uVar18] != ';') {\n            pcVar12 = zSql + uVar18 + 1;\n            do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');\n          }\n          iVar15 = sqlite3_complete(zSql);\n          if (iVar15 != 0) {\n            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n            iVar19 = iVar19 + iVar15;\n            if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n        }\nLAB_0003ebc4:\n        iVar15 = (*pcVar8)(zSql);\n        if (iVar15 != 0) {\n          if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;\n          (*(code *)PTR_puts_00190da0)(zSql);\n          uVar20 = 0;\n        }\n      }\n    }\nLAB_0003eaf0:\n    uVar18 = uVar20;\n    if (((iVar19 != 0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38) != 0)) &&\n       ((p->in != (FILE *)0x0 || (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) == 0))))\n    goto LAB_0003eb1c;\n  }" { (expression_statement "(*(code *)PTR_fflush_00190e48)(p->out);" (call_expression "(*(code *)PTR_fflush_00190e48)(p->out)" (parenthesized_expression "(*(code *)PTR_fflush_00190e48)" ( (pointer_expression "*(code *)PTR_fflush_00190e48" * (cast_expression "(code *)PTR_fflush_00190e48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(p->out)" ( (field_expression "p->out" identifier -> field_identifier) ))) ;) (if_statement "if (p->in == (FILE *)0x0) {\n      puVar16 = puVar6;\n      if ((int)uVar18 < 1) {\n        puVar16 = puVar7;\n      }\n      (*(code *)PTR___printf_chk_00190d34)(1,puVar4 + -0x5dfc,puVar16);\n      (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n      zLine = (byte *)(*pcVar5)(zLine,*(undefined4 *)PTR_stdin_00190d70);\n    }\n    else {\n      zLine = (byte *)(*pcVar5)(zLine);\n    }" if (parenthesized_expression "(p->in == (FILE *)0x0)" ( (binary_expression "p->in == (FILE *)0x0" (field_expression "p->in" identifier -> field_identifier) == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      puVar16 = puVar6;\n      if ((int)uVar18 < 1) {\n        puVar16 = puVar7;\n      }\n      (*(code *)PTR___printf_chk_00190d34)(1,puVar4 + -0x5dfc,puVar16);\n      (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n      zLine = (byte *)(*pcVar5)(zLine,*(undefined4 *)PTR_stdin_00190d70);\n    }" { (expression_statement "puVar16 = puVar6;" (assignment_expression "puVar16 = puVar6" identifier = identifier) ;) (if_statement "if ((int)uVar18 < 1) {\n        puVar16 = puVar7;\n      }" if (parenthesized_expression "((int)uVar18 < 1)" ( (binary_expression "(int)uVar18 < 1" (cast_expression "(int)uVar18" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n        puVar16 = puVar7;\n      }" { (expression_statement "puVar16 = puVar7;" (assignment_expression "puVar16 = puVar7" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR___printf_chk_00190d34)(1,puVar4 + -0x5dfc,puVar16);" (call_expression "(*(code *)PTR___printf_chk_00190d34)(1,puVar4 + -0x5dfc,puVar16)" (parenthesized_expression "(*(code *)PTR___printf_chk_00190d34)" ( (pointer_expression "*(code *)PTR___printf_chk_00190d34" * (cast_expression "(code *)PTR___printf_chk_00190d34" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar4 + -0x5dfc,puVar16)" ( number_literal , (binary_expression "puVar4 + -0x5dfc" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);" (call_expression "(*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38)" (parenthesized_expression "(*(code *)PTR_fflush_00190e48)" ( (pointer_expression "*(code *)PTR_fflush_00190e48" * (cast_expression "(code *)PTR_fflush_00190e48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_stdout_00190d38)" ( (pointer_expression "*(undefined4 *)PTR_stdout_00190d38" * (cast_expression "(undefined4 *)PTR_stdout_00190d38" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "zLine = (byte *)(*pcVar5)(zLine,*(undefined4 *)PTR_stdin_00190d70);" (assignment_expression "zLine = (byte *)(*pcVar5)(zLine,*(undefined4 *)PTR_stdin_00190d70)" identifier = (cast_expression "(byte *)(*pcVar5)(zLine,*(undefined4 *)PTR_stdin_00190d70)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar5)(zLine,*(undefined4 *)PTR_stdin_00190d70)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(zLine,*(undefined4 *)PTR_stdin_00190d70)" ( identifier , (pointer_expression "*(undefined4 *)PTR_stdin_00190d70" * (cast_expression "(undefined4 *)PTR_stdin_00190d70" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))))) ;) }) (else_clause "else {\n      zLine = (byte *)(*pcVar5)(zLine);\n    }" else (compound_statement "{\n      zLine = (byte *)(*pcVar5)(zLine);\n    }" { (expression_statement "zLine = (byte *)(*pcVar5)(zLine);" (assignment_expression "zLine = (byte *)(*pcVar5)(zLine)" identifier = (cast_expression "(byte *)(*pcVar5)(zLine)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar5)(zLine)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(zLine)" ( identifier ))))) ;) }))) (if_statement "if (zLine == (byte *)0x0) break;" if (parenthesized_expression "(zLine == (byte *)0x0)" ( (binary_expression "zLine == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) (if_statement "if (*(int *)(puVar3 + 0xf30) != 0) {\n      if (p->in != (FILE *)0x0) goto LAB_0003eb1c;\n      *(undefined4 *)(puVar3 + 0xf30) = 0;\n    }" if (parenthesized_expression "(*(int *)(puVar3 + 0xf30) != 0)" ( (binary_expression "*(int *)(puVar3 + 0xf30) != 0" (pointer_expression "*(int *)(puVar3 + 0xf30)" * (cast_expression "(int *)(puVar3 + 0xf30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0xf30)" ( (binary_expression "puVar3 + 0xf30" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      if (p->in != (FILE *)0x0) goto LAB_0003eb1c;\n      *(undefined4 *)(puVar3 + 0xf30) = 0;\n    }" { (if_statement "if (p->in != (FILE *)0x0) goto LAB_0003eb1c;" if (parenthesized_expression "(p->in != (FILE *)0x0)" ( (binary_expression "p->in != (FILE *)0x0" (field_expression "p->in" identifier -> field_identifier) != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003eb1c;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)(puVar3 + 0xf30) = 0;" (assignment_expression "*(undefined4 *)(puVar3 + 0xf30) = 0" (pointer_expression "*(undefined4 *)(puVar3 + 0xf30)" * (cast_expression "(undefined4 *)(puVar3 + 0xf30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar3 + 0xf30)" ( (binary_expression "puVar3 + 0xf30" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "p->lineno = p->lineno + 1;" (assignment_expression "p->lineno = p->lineno + 1" (field_expression "p->lineno" identifier -> field_identifier) = (binary_expression "p->lineno + 1" (field_expression "p->lineno" identifier -> field_identifier) + number_literal)) ;) (if_statement "if (uVar18 == 0) {\n      iVar15 = (*pcVar8)(zLine);\n      uVar20 = uVar18;\n      if (iVar15 == 0) {\n        if (*zLine == 0x2e) {\n          if ((p->shellFlgs & 0x40) != 0) {\nLAB_0003ed64:\n            (*(code *)PTR_puts_00190da0)(zLine);\n            if (*zLine == 0x2e) goto LAB_0003ec98;\n            goto LAB_0003eaec;\n          }\nLAB_0003ec98:\n          uVar20 = do_meta_command((char *)zLine,p);\n          if (uVar20 != 2) {\n            if (uVar20 != 0) {\n              iVar19 = iVar19 + 1;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n          goto LAB_0003eb38;\n        }\n        if (*zLine != 0x23) goto LAB_0003ea0c;\n        if ((p->shellFlgs & 0x40) != 0) goto LAB_0003ed64;\n      }\n      else if ((p->shellFlgs & 0x40) != 0) {\n        (*(code *)PTR_puts_00190da0)(zLine);\n      }\n    }\n    else {\nLAB_0003ea0c:\n      piVar9 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n      pbVar14 = zLine;\n      while( true ) {\n        bVar1 = *pbVar14;\n        if ((*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20) == 0) break;\n        pbVar14 = pbVar14 + 1;\n      }\n      pbVar11 = zLine;\n      if ((bVar1 == 0x2f) && (iVar15 = (*pcVar8)(pbVar14 + 1), iVar15 != 0)) {\nLAB_0003ede4:\n        pcVar12 = zSql + uVar18;\n        if (zSql != (char *)0x0) {\n          *pcVar12 = ';';\n          pcVar12[1] = '\0';\n          iVar15 = sqlite3_complete(zSql);\n          *pcVar12 = '\0';\n          if (iVar15 == 0) goto LAB_0003ea78;\n        }\n        zLine[1] = 0;\n        *zLine = 0x3b;\n        if (*zLine == 0) goto LAB_0003ee2c;\nLAB_0003ea84:\n        do {\n          pbVar11 = pbVar11 + 1;\n        } while (*pbVar11 != 0);\n        uVar20 = (int)pbVar11 - (int)zLine & 0x3fffffff;\n        uVar13 = uVar18 + uVar20;\n      }\n      else {\n        piVar10 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n        if ((*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g') &&\n           ((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)))) goto LAB_0003ede4;\nLAB_0003ea78:\n        if (*zLine != 0) goto LAB_0003ea84;\nLAB_0003ee2c:\n        uVar20 = 0;\n        uVar13 = uVar18;\n      }\n      if ((iStack_3c <= (int)(uVar13 + 2)) &&\n         (zSql = (char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100),\n         iStack_3c = uVar13 + 100, zSql == (char *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n        shell_out_of_memory();\n      }\n      puVar16 = PTR_memcpy_00190e2c;\n      iVar15 = uVar20 + 1;\n      if (uVar18 == 0) {\n        pbVar14 = zLine;\n        if ((*zLine == 0) || ((*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0)) {\n          iVar17 = 0;\n        }\n        else {\n          iVar17 = 0;\n          do {\n            pbVar14 = pbVar14 + 1;\n            iVar17 = iVar17 + 1;\n            if (*pbVar14 == 0) break;\n          } while ((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0);\n          uVar20 = uVar20 - iVar17;\n        }\n        (*(code *)PTR_memcpy_00190e2c)(zSql,pbVar14,iVar15 - iVar17);\n        iStack_2c = p->lineno;\n      }\n      else {\n        zSql[uVar18] = '\n';\n        uVar20 = uVar20 + uVar18 + 1;\n        (*(code *)puVar16)(zSql + uVar18 + 1,zLine);\n      }\n      if (uVar20 == 0) {\nLAB_0003eaec:\n        uVar20 = 0;\n      }\n      else {\n        if (0 < (int)(uVar20 - uVar18)) {\n          if (zSql[uVar18] != ';') {\n            pcVar12 = zSql + uVar18 + 1;\n            do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');\n          }\n          iVar15 = sqlite3_complete(zSql);\n          if (iVar15 != 0) {\n            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n            iVar19 = iVar19 + iVar15;\n            if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n        }\nLAB_0003ebc4:\n        iVar15 = (*pcVar8)(zSql);\n        if (iVar15 != 0) {\n          if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;\n          (*(code *)PTR_puts_00190da0)(zSql);\n          uVar20 = 0;\n        }\n      }\n    }" if (parenthesized_expression "(uVar18 == 0)" ( (binary_expression "uVar18 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar15 = (*pcVar8)(zLine);\n      uVar20 = uVar18;\n      if (iVar15 == 0) {\n        if (*zLine == 0x2e) {\n          if ((p->shellFlgs & 0x40) != 0) {\nLAB_0003ed64:\n            (*(code *)PTR_puts_00190da0)(zLine);\n            if (*zLine == 0x2e) goto LAB_0003ec98;\n            goto LAB_0003eaec;\n          }\nLAB_0003ec98:\n          uVar20 = do_meta_command((char *)zLine,p);\n          if (uVar20 != 2) {\n            if (uVar20 != 0) {\n              iVar19 = iVar19 + 1;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n          goto LAB_0003eb38;\n        }\n        if (*zLine != 0x23) goto LAB_0003ea0c;\n        if ((p->shellFlgs & 0x40) != 0) goto LAB_0003ed64;\n      }\n      else if ((p->shellFlgs & 0x40) != 0) {\n        (*(code *)PTR_puts_00190da0)(zLine);\n      }\n    }" { (expression_statement "iVar15 = (*pcVar8)(zLine);" (assignment_expression "iVar15 = (*pcVar8)(zLine)" identifier = (call_expression "(*pcVar8)(zLine)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(zLine)" ( identifier )))) ;) (expression_statement "uVar20 = uVar18;" (assignment_expression "uVar20 = uVar18" identifier = identifier) ;) (if_statement "if (iVar15 == 0) {\n        if (*zLine == 0x2e) {\n          if ((p->shellFlgs & 0x40) != 0) {\nLAB_0003ed64:\n            (*(code *)PTR_puts_00190da0)(zLine);\n            if (*zLine == 0x2e) goto LAB_0003ec98;\n            goto LAB_0003eaec;\n          }\nLAB_0003ec98:\n          uVar20 = do_meta_command((char *)zLine,p);\n          if (uVar20 != 2) {\n            if (uVar20 != 0) {\n              iVar19 = iVar19 + 1;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n          goto LAB_0003eb38;\n        }\n        if (*zLine != 0x23) goto LAB_0003ea0c;\n        if ((p->shellFlgs & 0x40) != 0) goto LAB_0003ed64;\n      }\n      else if ((p->shellFlgs & 0x40) != 0) {\n        (*(code *)PTR_puts_00190da0)(zLine);\n      }" if (parenthesized_expression "(iVar15 == 0)" ( (binary_expression "iVar15 == 0" identifier == number_literal) )) (compound_statement "{\n        if (*zLine == 0x2e) {\n          if ((p->shellFlgs & 0x40) != 0) {\nLAB_0003ed64:\n            (*(code *)PTR_puts_00190da0)(zLine);\n            if (*zLine == 0x2e) goto LAB_0003ec98;\n            goto LAB_0003eaec;\n          }\nLAB_0003ec98:\n          uVar20 = do_meta_command((char *)zLine,p);\n          if (uVar20 != 2) {\n            if (uVar20 != 0) {\n              iVar19 = iVar19 + 1;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n          goto LAB_0003eb38;\n        }\n        if (*zLine != 0x23) goto LAB_0003ea0c;\n        if ((p->shellFlgs & 0x40) != 0) goto LAB_0003ed64;\n      }" { (if_statement "if (*zLine == 0x2e) {\n          if ((p->shellFlgs & 0x40) != 0) {\nLAB_0003ed64:\n            (*(code *)PTR_puts_00190da0)(zLine);\n            if (*zLine == 0x2e) goto LAB_0003ec98;\n            goto LAB_0003eaec;\n          }\nLAB_0003ec98:\n          uVar20 = do_meta_command((char *)zLine,p);\n          if (uVar20 != 2) {\n            if (uVar20 != 0) {\n              iVar19 = iVar19 + 1;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n          goto LAB_0003eb38;\n        }" if (parenthesized_expression "(*zLine == 0x2e)" ( (binary_expression "*zLine == 0x2e" (pointer_expression "*zLine" * identifier) == number_literal) )) (compound_statement "{\n          if ((p->shellFlgs & 0x40) != 0) {\nLAB_0003ed64:\n            (*(code *)PTR_puts_00190da0)(zLine);\n            if (*zLine == 0x2e) goto LAB_0003ec98;\n            goto LAB_0003eaec;\n          }\nLAB_0003ec98:\n          uVar20 = do_meta_command((char *)zLine,p);\n          if (uVar20 != 2) {\n            if (uVar20 != 0) {\n              iVar19 = iVar19 + 1;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n          goto LAB_0003eb38;\n        }" { (if_statement "if ((p->shellFlgs & 0x40) != 0) {\nLAB_0003ed64:\n            (*(code *)PTR_puts_00190da0)(zLine);\n            if (*zLine == 0x2e) goto LAB_0003ec98;\n            goto LAB_0003eaec;\n          }" if (parenthesized_expression "((p->shellFlgs & 0x40) != 0)" ( (binary_expression "(p->shellFlgs & 0x40) != 0" (parenthesized_expression "(p->shellFlgs & 0x40)" ( (binary_expression "p->shellFlgs & 0x40" (field_expression "p->shellFlgs" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\nLAB_0003ed64:\n            (*(code *)PTR_puts_00190da0)(zLine);\n            if (*zLine == 0x2e) goto LAB_0003ec98;\n            goto LAB_0003eaec;\n          }" { (labeled_statement "LAB_0003ed64:\n            (*(code *)PTR_puts_00190da0)(zLine);" statement_identifier : (expression_statement "(*(code *)PTR_puts_00190da0)(zLine);" (call_expression "(*(code *)PTR_puts_00190da0)(zLine)" (parenthesized_expression "(*(code *)PTR_puts_00190da0)" ( (pointer_expression "*(code *)PTR_puts_00190da0" * (cast_expression "(code *)PTR_puts_00190da0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(zLine)" ( identifier ))) ;)) (if_statement "if (*zLine == 0x2e) goto LAB_0003ec98;" if (parenthesized_expression "(*zLine == 0x2e)" ( (binary_expression "*zLine == 0x2e" (pointer_expression "*zLine" * identifier) == number_literal) )) (goto_statement "goto LAB_0003ec98;" goto statement_identifier ;)) (goto_statement "goto LAB_0003eaec;" goto statement_identifier ;) })) (labeled_statement "LAB_0003ec98:\n          uVar20 = do_meta_command((char *)zLine,p);" statement_identifier : (expression_statement "uVar20 = do_meta_command((char *)zLine,p);" (assignment_expression "uVar20 = do_meta_command((char *)zLine,p)" identifier = (call_expression "do_meta_command((char *)zLine,p)" identifier (argument_list "((char *)zLine,p)" ( (cast_expression "(char *)zLine" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;)) (if_statement "if (uVar20 != 2) {\n            if (uVar20 != 0) {\n              iVar19 = iVar19 + 1;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }" if (parenthesized_expression "(uVar20 != 2)" ( (binary_expression "uVar20 != 2" identifier != number_literal) )) (compound_statement "{\n            if (uVar20 != 0) {\n              iVar19 = iVar19 + 1;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }" { (if_statement "if (uVar20 != 0) {\n              iVar19 = iVar19 + 1;\n              uVar20 = 0;\n            }" if (parenthesized_expression "(uVar20 != 0)" ( (binary_expression "uVar20 != 0" identifier != number_literal) )) (compound_statement "{\n              iVar19 = iVar19 + 1;\n              uVar20 = 0;\n            }" { (expression_statement "iVar19 = iVar19 + 1;" (assignment_expression "iVar19 = iVar19 + 1" identifier = (binary_expression "iVar19 + 1" identifier + number_literal)) ;) (expression_statement "uVar20 = 0;" (assignment_expression "uVar20 = 0" identifier = number_literal) ;) })) (goto_statement "goto LAB_0003eaf0;" goto statement_identifier ;) })) (goto_statement "goto LAB_0003eb38;" goto statement_identifier ;) })) (if_statement "if (*zLine != 0x23) goto LAB_0003ea0c;" if (parenthesized_expression "(*zLine != 0x23)" ( (binary_expression "*zLine != 0x23" (pointer_expression "*zLine" * identifier) != number_literal) )) (goto_statement "goto LAB_0003ea0c;" goto statement_identifier ;)) (if_statement "if ((p->shellFlgs & 0x40) != 0) goto LAB_0003ed64;" if (parenthesized_expression "((p->shellFlgs & 0x40) != 0)" ( (binary_expression "(p->shellFlgs & 0x40) != 0" (parenthesized_expression "(p->shellFlgs & 0x40)" ( (binary_expression "p->shellFlgs & 0x40" (field_expression "p->shellFlgs" identifier -> field_identifier) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0003ed64;" goto statement_identifier ;)) }) (else_clause "else if ((p->shellFlgs & 0x40) != 0) {\n        (*(code *)PTR_puts_00190da0)(zLine);\n      }" else (if_statement "if ((p->shellFlgs & 0x40) != 0) {\n        (*(code *)PTR_puts_00190da0)(zLine);\n      }" if (parenthesized_expression "((p->shellFlgs & 0x40) != 0)" ( (binary_expression "(p->shellFlgs & 0x40) != 0" (parenthesized_expression "(p->shellFlgs & 0x40)" ( (binary_expression "p->shellFlgs & 0x40" (field_expression "p->shellFlgs" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        (*(code *)PTR_puts_00190da0)(zLine);\n      }" { (expression_statement "(*(code *)PTR_puts_00190da0)(zLine);" (call_expression "(*(code *)PTR_puts_00190da0)(zLine)" (parenthesized_expression "(*(code *)PTR_puts_00190da0)" ( (pointer_expression "*(code *)PTR_puts_00190da0" * (cast_expression "(code *)PTR_puts_00190da0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(zLine)" ( identifier ))) ;) })))) }) (else_clause "else {\nLAB_0003ea0c:\n      piVar9 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n      pbVar14 = zLine;\n      while( true ) {\n        bVar1 = *pbVar14;\n        if ((*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20) == 0) break;\n        pbVar14 = pbVar14 + 1;\n      }\n      pbVar11 = zLine;\n      if ((bVar1 == 0x2f) && (iVar15 = (*pcVar8)(pbVar14 + 1), iVar15 != 0)) {\nLAB_0003ede4:\n        pcVar12 = zSql + uVar18;\n        if (zSql != (char *)0x0) {\n          *pcVar12 = ';';\n          pcVar12[1] = '\0';\n          iVar15 = sqlite3_complete(zSql);\n          *pcVar12 = '\0';\n          if (iVar15 == 0) goto LAB_0003ea78;\n        }\n        zLine[1] = 0;\n        *zLine = 0x3b;\n        if (*zLine == 0) goto LAB_0003ee2c;\nLAB_0003ea84:\n        do {\n          pbVar11 = pbVar11 + 1;\n        } while (*pbVar11 != 0);\n        uVar20 = (int)pbVar11 - (int)zLine & 0x3fffffff;\n        uVar13 = uVar18 + uVar20;\n      }\n      else {\n        piVar10 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n        if ((*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g') &&\n           ((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)))) goto LAB_0003ede4;\nLAB_0003ea78:\n        if (*zLine != 0) goto LAB_0003ea84;\nLAB_0003ee2c:\n        uVar20 = 0;\n        uVar13 = uVar18;\n      }\n      if ((iStack_3c <= (int)(uVar13 + 2)) &&\n         (zSql = (char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100),\n         iStack_3c = uVar13 + 100, zSql == (char *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n        shell_out_of_memory();\n      }\n      puVar16 = PTR_memcpy_00190e2c;\n      iVar15 = uVar20 + 1;\n      if (uVar18 == 0) {\n        pbVar14 = zLine;\n        if ((*zLine == 0) || ((*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0)) {\n          iVar17 = 0;\n        }\n        else {\n          iVar17 = 0;\n          do {\n            pbVar14 = pbVar14 + 1;\n            iVar17 = iVar17 + 1;\n            if (*pbVar14 == 0) break;\n          } while ((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0);\n          uVar20 = uVar20 - iVar17;\n        }\n        (*(code *)PTR_memcpy_00190e2c)(zSql,pbVar14,iVar15 - iVar17);\n        iStack_2c = p->lineno;\n      }\n      else {\n        zSql[uVar18] = '\n';\n        uVar20 = uVar20 + uVar18 + 1;\n        (*(code *)puVar16)(zSql + uVar18 + 1,zLine);\n      }\n      if (uVar20 == 0) {\nLAB_0003eaec:\n        uVar20 = 0;\n      }\n      else {\n        if (0 < (int)(uVar20 - uVar18)) {\n          if (zSql[uVar18] != ';') {\n            pcVar12 = zSql + uVar18 + 1;\n            do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');\n          }\n          iVar15 = sqlite3_complete(zSql);\n          if (iVar15 != 0) {\n            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n            iVar19 = iVar19 + iVar15;\n            if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n        }\nLAB_0003ebc4:\n        iVar15 = (*pcVar8)(zSql);\n        if (iVar15 != 0) {\n          if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;\n          (*(code *)PTR_puts_00190da0)(zSql);\n          uVar20 = 0;\n        }\n      }\n    }" else (compound_statement "{\nLAB_0003ea0c:\n      piVar9 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n      pbVar14 = zLine;\n      while( true ) {\n        bVar1 = *pbVar14;\n        if ((*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20) == 0) break;\n        pbVar14 = pbVar14 + 1;\n      }\n      pbVar11 = zLine;\n      if ((bVar1 == 0x2f) && (iVar15 = (*pcVar8)(pbVar14 + 1), iVar15 != 0)) {\nLAB_0003ede4:\n        pcVar12 = zSql + uVar18;\n        if (zSql != (char *)0x0) {\n          *pcVar12 = ';';\n          pcVar12[1] = '\0';\n          iVar15 = sqlite3_complete(zSql);\n          *pcVar12 = '\0';\n          if (iVar15 == 0) goto LAB_0003ea78;\n        }\n        zLine[1] = 0;\n        *zLine = 0x3b;\n        if (*zLine == 0) goto LAB_0003ee2c;\nLAB_0003ea84:\n        do {\n          pbVar11 = pbVar11 + 1;\n        } while (*pbVar11 != 0);\n        uVar20 = (int)pbVar11 - (int)zLine & 0x3fffffff;\n        uVar13 = uVar18 + uVar20;\n      }\n      else {\n        piVar10 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n        if ((*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g') &&\n           ((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)))) goto LAB_0003ede4;\nLAB_0003ea78:\n        if (*zLine != 0) goto LAB_0003ea84;\nLAB_0003ee2c:\n        uVar20 = 0;\n        uVar13 = uVar18;\n      }\n      if ((iStack_3c <= (int)(uVar13 + 2)) &&\n         (zSql = (char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100),\n         iStack_3c = uVar13 + 100, zSql == (char *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n        shell_out_of_memory();\n      }\n      puVar16 = PTR_memcpy_00190e2c;\n      iVar15 = uVar20 + 1;\n      if (uVar18 == 0) {\n        pbVar14 = zLine;\n        if ((*zLine == 0) || ((*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0)) {\n          iVar17 = 0;\n        }\n        else {\n          iVar17 = 0;\n          do {\n            pbVar14 = pbVar14 + 1;\n            iVar17 = iVar17 + 1;\n            if (*pbVar14 == 0) break;\n          } while ((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0);\n          uVar20 = uVar20 - iVar17;\n        }\n        (*(code *)PTR_memcpy_00190e2c)(zSql,pbVar14,iVar15 - iVar17);\n        iStack_2c = p->lineno;\n      }\n      else {\n        zSql[uVar18] = '\n';\n        uVar20 = uVar20 + uVar18 + 1;\n        (*(code *)puVar16)(zSql + uVar18 + 1,zLine);\n      }\n      if (uVar20 == 0) {\nLAB_0003eaec:\n        uVar20 = 0;\n      }\n      else {\n        if (0 < (int)(uVar20 - uVar18)) {\n          if (zSql[uVar18] != ';') {\n            pcVar12 = zSql + uVar18 + 1;\n            do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');\n          }\n          iVar15 = sqlite3_complete(zSql);\n          if (iVar15 != 0) {\n            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n            iVar19 = iVar19 + iVar15;\n            if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n        }\nLAB_0003ebc4:\n        iVar15 = (*pcVar8)(zSql);\n        if (iVar15 != 0) {\n          if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;\n          (*(code *)PTR_puts_00190da0)(zSql);\n          uVar20 = 0;\n        }\n      }\n    }" { (labeled_statement "LAB_0003ea0c:\n      piVar9 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();" statement_identifier : (expression_statement "piVar9 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();" (assignment_expression "piVar9 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_00190cc0)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_00190cc0)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_00190cc0)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_00190cc0" * (cast_expression "(code *)PTR___ctype_b_loc_00190cc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;)) (expression_statement "pbVar14 = zLine;" (assignment_expression "pbVar14 = zLine" identifier = identifier) ;) (while_statement "while( true ) {\n        bVar1 = *pbVar14;\n        if ((*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20) == 0) break;\n        pbVar14 = pbVar14 + 1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        bVar1 = *pbVar14;\n        if ((*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20) == 0) break;\n        pbVar14 = pbVar14 + 1;\n      }" { (expression_statement "bVar1 = *pbVar14;" (assignment_expression "bVar1 = *pbVar14" identifier = (pointer_expression "*pbVar14" * identifier)) ;) (if_statement "if ((*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20) == 0) break;" if (parenthesized_expression "((*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar9 + (uint)bVar1 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar9 + (uint)bVar1 * 2)" * (cast_expression "(ushort *)(*piVar9 + (uint)bVar1 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar9 + (uint)bVar1 * 2)" ( (binary_expression "*piVar9 + (uint)bVar1 * 2" (pointer_expression "*piVar9" * identifier) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) )))) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar14 = pbVar14 + 1;" (assignment_expression "pbVar14 = pbVar14 + 1" identifier = (binary_expression "pbVar14 + 1" identifier + number_literal)) ;) })) (expression_statement "pbVar11 = zLine;" (assignment_expression "pbVar11 = zLine" identifier = identifier) ;) (if_statement "if ((bVar1 == 0x2f) && (iVar15 = (*pcVar8)(pbVar14 + 1), iVar15 != 0)) {\nLAB_0003ede4:\n        pcVar12 = zSql + uVar18;\n        if (zSql != (char *)0x0) {\n          *pcVar12 = ';';\n          pcVar12[1] = '\0';\n          iVar15 = sqlite3_complete(zSql);\n          *pcVar12 = '\0';\n          if (iVar15 == 0) goto LAB_0003ea78;\n        }\n        zLine[1] = 0;\n        *zLine = 0x3b;\n        if (*zLine == 0) goto LAB_0003ee2c;\nLAB_0003ea84:\n        do {\n          pbVar11 = pbVar11 + 1;\n        } while (*pbVar11 != 0);\n        uVar20 = (int)pbVar11 - (int)zLine & 0x3fffffff;\n        uVar13 = uVar18 + uVar20;\n      }\n      else {\n        piVar10 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n        if ((*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g') &&\n           ((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)))) goto LAB_0003ede4;\nLAB_0003ea78:\n        if (*zLine != 0) goto LAB_0003ea84;\nLAB_0003ee2c:\n        uVar20 = 0;\n        uVar13 = uVar18;\n      }" if (parenthesized_expression "((bVar1 == 0x2f) && (iVar15 = (*pcVar8)(pbVar14 + 1), iVar15 != 0))" ( (binary_expression "(bVar1 == 0x2f) && (iVar15 = (*pcVar8)(pbVar14 + 1), iVar15 != 0)" (parenthesized_expression "(bVar1 == 0x2f)" ( (binary_expression "bVar1 == 0x2f" identifier == number_literal) )) && (parenthesized_expression "(iVar15 = (*pcVar8)(pbVar14 + 1), iVar15 != 0)" ( (comma_expression "iVar15 = (*pcVar8)(pbVar14 + 1), iVar15 != 0" (assignment_expression "iVar15 = (*pcVar8)(pbVar14 + 1)" identifier = (call_expression "(*pcVar8)(pbVar14 + 1)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(pbVar14 + 1)" ( (binary_expression "pbVar14 + 1" identifier + number_literal) )))) , (binary_expression "iVar15 != 0" identifier != number_literal)) ))) )) (compound_statement "{\nLAB_0003ede4:\n        pcVar12 = zSql + uVar18;\n        if (zSql != (char *)0x0) {\n          *pcVar12 = ';';\n          pcVar12[1] = '\0';\n          iVar15 = sqlite3_complete(zSql);\n          *pcVar12 = '\0';\n          if (iVar15 == 0) goto LAB_0003ea78;\n        }\n        zLine[1] = 0;\n        *zLine = 0x3b;\n        if (*zLine == 0) goto LAB_0003ee2c;\nLAB_0003ea84:\n        do {\n          pbVar11 = pbVar11 + 1;\n        } while (*pbVar11 != 0);\n        uVar20 = (int)pbVar11 - (int)zLine & 0x3fffffff;\n        uVar13 = uVar18 + uVar20;\n      }" { (labeled_statement "LAB_0003ede4:\n        pcVar12 = zSql + uVar18;" statement_identifier : (expression_statement "pcVar12 = zSql + uVar18;" (assignment_expression "pcVar12 = zSql + uVar18" identifier = (binary_expression "zSql + uVar18" identifier + identifier)) ;)) (if_statement "if (zSql != (char *)0x0) {\n          *pcVar12 = ';';\n          pcVar12[1] = '\0';\n          iVar15 = sqlite3_complete(zSql);\n          *pcVar12 = '\0';\n          if (iVar15 == 0) goto LAB_0003ea78;\n        }" if (parenthesized_expression "(zSql != (char *)0x0)" ( (binary_expression "zSql != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *pcVar12 = ';';\n          pcVar12[1] = '\0';\n          iVar15 = sqlite3_complete(zSql);\n          *pcVar12 = '\0';\n          if (iVar15 == 0) goto LAB_0003ea78;\n        }" { (expression_statement "*pcVar12 = ';';" (assignment_expression "*pcVar12 = ';'" (pointer_expression "*pcVar12" * identifier) = (char_literal "';'" ' character ')) ;) (expression_statement "pcVar12[1] = '\0';" (assignment_expression "pcVar12[1] = '\0'" (subscript_expression "pcVar12[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "iVar15 = sqlite3_complete(zSql);" (assignment_expression "iVar15 = sqlite3_complete(zSql)" identifier = (call_expression "sqlite3_complete(zSql)" identifier (argument_list "(zSql)" ( identifier )))) ;) (expression_statement "*pcVar12 = '\0';" (assignment_expression "*pcVar12 = '\0'" (pointer_expression "*pcVar12" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (if_statement "if (iVar15 == 0) goto LAB_0003ea78;" if (parenthesized_expression "(iVar15 == 0)" ( (binary_expression "iVar15 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003ea78;" goto statement_identifier ;)) })) (expression_statement "zLine[1] = 0;" (assignment_expression "zLine[1] = 0" (subscript_expression "zLine[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*zLine = 0x3b;" (assignment_expression "*zLine = 0x3b" (pointer_expression "*zLine" * identifier) = number_literal) ;) (if_statement "if (*zLine == 0) goto LAB_0003ee2c;" if (parenthesized_expression "(*zLine == 0)" ( (binary_expression "*zLine == 0" (pointer_expression "*zLine" * identifier) == number_literal) )) (goto_statement "goto LAB_0003ee2c;" goto statement_identifier ;)) (labeled_statement "LAB_0003ea84:\n        do {\n          pbVar11 = pbVar11 + 1;\n        } while (*pbVar11 != 0);" statement_identifier : (do_statement "do {\n          pbVar11 = pbVar11 + 1;\n        } while (*pbVar11 != 0);" do (compound_statement "{\n          pbVar11 = pbVar11 + 1;\n        }" { (expression_statement "pbVar11 = pbVar11 + 1;" (assignment_expression "pbVar11 = pbVar11 + 1" identifier = (binary_expression "pbVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*pbVar11 != 0)" ( (binary_expression "*pbVar11 != 0" (pointer_expression "*pbVar11" * identifier) != number_literal) )) ;)) (expression_statement "uVar20 = (int)pbVar11 - (int)zLine & 0x3fffffff;" (assignment_expression "uVar20 = (int)pbVar11 - (int)zLine & 0x3fffffff" identifier = (binary_expression "(int)pbVar11 - (int)zLine & 0x3fffffff" (binary_expression "(int)pbVar11 - (int)zLine" (cast_expression "(int)pbVar11" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)zLine" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal)) ;) (expression_statement "uVar13 = uVar18 + uVar20;" (assignment_expression "uVar13 = uVar18 + uVar20" identifier = (binary_expression "uVar18 + uVar20" identifier + identifier)) ;) }) (else_clause "else {\n        piVar10 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n        if ((*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g') &&\n           ((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)))) goto LAB_0003ede4;\nLAB_0003ea78:\n        if (*zLine != 0) goto LAB_0003ea84;\nLAB_0003ee2c:\n        uVar20 = 0;\n        uVar13 = uVar18;\n      }" else (compound_statement "{\n        piVar10 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n        if ((*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g') &&\n           ((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)))) goto LAB_0003ede4;\nLAB_0003ea78:\n        if (*zLine != 0) goto LAB_0003ea84;\nLAB_0003ee2c:\n        uVar20 = 0;\n        uVar13 = uVar18;\n      }" { (expression_statement "piVar10 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();" (assignment_expression "piVar10 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_tolower_loc_00190cc4)()" (parenthesized_expression "(*(code *)PTR___ctype_tolower_loc_00190cc4)" ( (pointer_expression "*(code *)PTR___ctype_tolower_loc_00190cc4" * (cast_expression "(code *)PTR___ctype_tolower_loc_00190cc4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if ((*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g') &&\n           ((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)))) goto LAB_0003ede4;" if (parenthesized_expression "((*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g') &&\n           ((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0))))" ( (binary_expression "(*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g') &&\n           ((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)))" (parenthesized_expression "(*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g')" ( (binary_expression "*(char *)(*piVar10 + (uint)bVar1 * 4 + 3) == 'g'" (pointer_expression "*(char *)(*piVar10 + (uint)bVar1 * 4 + 3)" * (cast_expression "(char *)(*piVar10 + (uint)bVar1 * 4 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar10 + (uint)bVar1 * 4 + 3)" ( (binary_expression "*piVar10 + (uint)bVar1 * 4 + 3" (binary_expression "*piVar10 + (uint)bVar1 * 4" (pointer_expression "*piVar10" * identifier) + (binary_expression "(uint)bVar1 * 4" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) == (char_literal "'g'" ' character ')) )) && (parenthesized_expression "((*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)))" ( (parenthesized_expression "(*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0))" ( (binary_expression "*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o' &&\n            (iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)" (binary_expression "*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3) == 'o'" (pointer_expression "*(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3)" * (cast_expression "(char *)(*piVar10 + (uint)pbVar14[1] * 4 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar10 + (uint)pbVar14[1] * 4 + 3)" ( (binary_expression "*piVar10 + (uint)pbVar14[1] * 4 + 3" (binary_expression "*piVar10 + (uint)pbVar14[1] * 4" (pointer_expression "*piVar10" * identifier) + (binary_expression "(uint)pbVar14[1] * 4" (cast_expression "(uint)pbVar14[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar14[1]" identifier [ number_literal ])) * number_literal)) + number_literal) )))) == (char_literal "'o'" ' character ')) && (parenthesized_expression "(iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0)" ( (comma_expression "iVar15 = (*pcVar8)(pbVar14 + 2), iVar15 != 0" (assignment_expression "iVar15 = (*pcVar8)(pbVar14 + 2)" identifier = (call_expression "(*pcVar8)(pbVar14 + 2)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(pbVar14 + 2)" ( (binary_expression "pbVar14 + 2" identifier + number_literal) )))) , (binary_expression "iVar15 != 0" identifier != number_literal)) ))) )) ))) )) (goto_statement "goto LAB_0003ede4;" goto statement_identifier ;)) (labeled_statement "LAB_0003ea78:\n        if (*zLine != 0) goto LAB_0003ea84;" statement_identifier : (if_statement "if (*zLine != 0) goto LAB_0003ea84;" if (parenthesized_expression "(*zLine != 0)" ( (binary_expression "*zLine != 0" (pointer_expression "*zLine" * identifier) != number_literal) )) (goto_statement "goto LAB_0003ea84;" goto statement_identifier ;))) (labeled_statement "LAB_0003ee2c:\n        uVar20 = 0;" statement_identifier : (expression_statement "uVar20 = 0;" (assignment_expression "uVar20 = 0" identifier = number_literal) ;)) (expression_statement "uVar13 = uVar18;" (assignment_expression "uVar13 = uVar18" identifier = identifier) ;) }))) (if_statement "if ((iStack_3c <= (int)(uVar13 + 2)) &&\n         (zSql = (char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100),\n         iStack_3c = uVar13 + 100, zSql == (char *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n        shell_out_of_memory();\n      }" if (parenthesized_expression "((iStack_3c <= (int)(uVar13 + 2)) &&\n         (zSql = (char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100),\n         iStack_3c = uVar13 + 100, zSql == (char *)0x0))" ( (binary_expression "(iStack_3c <= (int)(uVar13 + 2)) &&\n         (zSql = (char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100),\n         iStack_3c = uVar13 + 100, zSql == (char *)0x0)" (parenthesized_expression "(iStack_3c <= (int)(uVar13 + 2))" ( (binary_expression "iStack_3c <= (int)(uVar13 + 2)" identifier <= (cast_expression "(int)(uVar13 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar13 + 2)" ( (binary_expression "uVar13 + 2" identifier + number_literal) )))) )) && (parenthesized_expression "(zSql = (char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100),\n         iStack_3c = uVar13 + 100, zSql == (char *)0x0)" ( (comma_expression "zSql = (char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100),\n         iStack_3c = uVar13 + 100, zSql == (char *)0x0" (assignment_expression "zSql = (char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100)" identifier = (cast_expression "(char *)(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_realloc_00190da8)(zSql,uVar13 + 100)" (parenthesized_expression "(*(code *)PTR_realloc_00190da8)" ( (pointer_expression "*(code *)PTR_realloc_00190da8" * (cast_expression "(code *)PTR_realloc_00190da8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(zSql,uVar13 + 100)" ( identifier , (binary_expression "uVar13 + 100" identifier + number_literal) ))))) , (comma_expression "iStack_3c = uVar13 + 100, zSql == (char *)0x0" (assignment_expression "iStack_3c = uVar13 + 100" identifier = (binary_expression "uVar13 + 100" identifier + number_literal)) , (binary_expression "zSql == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)))) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        shell_out_of_memory();\n      }" { comment (expression_statement "shell_out_of_memory();" (call_expression "shell_out_of_memory()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "puVar16 = PTR_memcpy_00190e2c;" (assignment_expression "puVar16 = PTR_memcpy_00190e2c" identifier = identifier) ;) (expression_statement "iVar15 = uVar20 + 1;" (assignment_expression "iVar15 = uVar20 + 1" identifier = (binary_expression "uVar20 + 1" identifier + number_literal)) ;) (if_statement "if (uVar18 == 0) {\n        pbVar14 = zLine;\n        if ((*zLine == 0) || ((*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0)) {\n          iVar17 = 0;\n        }\n        else {\n          iVar17 = 0;\n          do {\n            pbVar14 = pbVar14 + 1;\n            iVar17 = iVar17 + 1;\n            if (*pbVar14 == 0) break;\n          } while ((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0);\n          uVar20 = uVar20 - iVar17;\n        }\n        (*(code *)PTR_memcpy_00190e2c)(zSql,pbVar14,iVar15 - iVar17);\n        iStack_2c = p->lineno;\n      }\n      else {\n        zSql[uVar18] = '\n';\n        uVar20 = uVar20 + uVar18 + 1;\n        (*(code *)puVar16)(zSql + uVar18 + 1,zLine);\n      }" if (parenthesized_expression "(uVar18 == 0)" ( (binary_expression "uVar18 == 0" identifier == number_literal) )) (compound_statement "{\n        pbVar14 = zLine;\n        if ((*zLine == 0) || ((*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0)) {\n          iVar17 = 0;\n        }\n        else {\n          iVar17 = 0;\n          do {\n            pbVar14 = pbVar14 + 1;\n            iVar17 = iVar17 + 1;\n            if (*pbVar14 == 0) break;\n          } while ((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0);\n          uVar20 = uVar20 - iVar17;\n        }\n        (*(code *)PTR_memcpy_00190e2c)(zSql,pbVar14,iVar15 - iVar17);\n        iStack_2c = p->lineno;\n      }" { (expression_statement "pbVar14 = zLine;" (assignment_expression "pbVar14 = zLine" identifier = identifier) ;) (if_statement "if ((*zLine == 0) || ((*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0)) {\n          iVar17 = 0;\n        }\n        else {\n          iVar17 = 0;\n          do {\n            pbVar14 = pbVar14 + 1;\n            iVar17 = iVar17 + 1;\n            if (*pbVar14 == 0) break;\n          } while ((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0);\n          uVar20 = uVar20 - iVar17;\n        }" if (parenthesized_expression "((*zLine == 0) || ((*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0))" ( (binary_expression "(*zLine == 0) || ((*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0)" (parenthesized_expression "(*zLine == 0)" ( (binary_expression "*zLine == 0" (pointer_expression "*zLine" * identifier) == number_literal) )) || (parenthesized_expression "((*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar9 + (uint)*zLine * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar9 + (uint)*zLine * 2)" * (cast_expression "(ushort *)(*piVar9 + (uint)*zLine * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar9 + (uint)*zLine * 2)" ( (binary_expression "*piVar9 + (uint)*zLine * 2" (pointer_expression "*piVar9" * identifier) + (binary_expression "(uint)*zLine * 2" (binary_expression "(uint)*zLine" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n          iVar17 = 0;\n        }" { (expression_statement "iVar17 = 0;" (assignment_expression "iVar17 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          iVar17 = 0;\n          do {\n            pbVar14 = pbVar14 + 1;\n            iVar17 = iVar17 + 1;\n            if (*pbVar14 == 0) break;\n          } while ((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0);\n          uVar20 = uVar20 - iVar17;\n        }" else (compound_statement "{\n          iVar17 = 0;\n          do {\n            pbVar14 = pbVar14 + 1;\n            iVar17 = iVar17 + 1;\n            if (*pbVar14 == 0) break;\n          } while ((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0);\n          uVar20 = uVar20 - iVar17;\n        }" { (expression_statement "iVar17 = 0;" (assignment_expression "iVar17 = 0" identifier = number_literal) ;) (do_statement "do {\n            pbVar14 = pbVar14 + 1;\n            iVar17 = iVar17 + 1;\n            if (*pbVar14 == 0) break;\n          } while ((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0);" do (compound_statement "{\n            pbVar14 = pbVar14 + 1;\n            iVar17 = iVar17 + 1;\n            if (*pbVar14 == 0) break;\n          }" { (expression_statement "pbVar14 = pbVar14 + 1;" (assignment_expression "pbVar14 = pbVar14 + 1" identifier = (binary_expression "pbVar14 + 1" identifier + number_literal)) ;) (expression_statement "iVar17 = iVar17 + 1;" (assignment_expression "iVar17 = iVar17 + 1" identifier = (binary_expression "iVar17 + 1" identifier + number_literal)) ;) (if_statement "if (*pbVar14 == 0) break;" if (parenthesized_expression "(*pbVar14 == 0)" ( (binary_expression "*pbVar14 == 0" (pointer_expression "*pbVar14" * identifier) == number_literal) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "((*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0)" ( (binary_expression "(*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20) != 0" (parenthesized_expression "(*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar9 + (uint)*pbVar14 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar9 + (uint)*pbVar14 * 2)" * (cast_expression "(ushort *)(*piVar9 + (uint)*pbVar14 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar9 + (uint)*pbVar14 * 2)" ( (binary_expression "*piVar9 + (uint)*pbVar14 * 2" (pointer_expression "*piVar9" * identifier) + (binary_expression "(uint)*pbVar14 * 2" (binary_expression "(uint)*pbVar14" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) != number_literal) )) ;) (expression_statement "uVar20 = uVar20 - iVar17;" (assignment_expression "uVar20 = uVar20 - iVar17" identifier = (binary_expression "uVar20 - iVar17" identifier - identifier)) ;) }))) (expression_statement "(*(code *)PTR_memcpy_00190e2c)(zSql,pbVar14,iVar15 - iVar17);" (call_expression "(*(code *)PTR_memcpy_00190e2c)(zSql,pbVar14,iVar15 - iVar17)" (parenthesized_expression "(*(code *)PTR_memcpy_00190e2c)" ( (pointer_expression "*(code *)PTR_memcpy_00190e2c" * (cast_expression "(code *)PTR_memcpy_00190e2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(zSql,pbVar14,iVar15 - iVar17)" ( identifier , identifier , (binary_expression "iVar15 - iVar17" identifier - identifier) ))) ;) (expression_statement "iStack_2c = p->lineno;" (assignment_expression "iStack_2c = p->lineno" identifier = (field_expression "p->lineno" identifier -> field_identifier)) ;) }) (else_clause "else {\n        zSql[uVar18] = '\n';\n        uVar20 = uVar20 + uVar18 + 1;\n        (*(code *)puVar16)(zSql + uVar18 + 1,zLine);\n      }" else (compound_statement "{\n        zSql[uVar18] = '\n';\n        uVar20 = uVar20 + uVar18 + 1;\n        (*(code *)puVar16)(zSql + uVar18 + 1,zLine);\n      }" { (expression_statement "zSql[uVar18] = '\n';" (assignment_expression "zSql[uVar18] = '\n'" (subscript_expression "zSql[uVar18]" identifier [ identifier ]) = (char_literal "'\n'" ' escape_sequence ')) ;) (expression_statement "uVar20 = uVar20 + uVar18 + 1;" (assignment_expression "uVar20 = uVar20 + uVar18 + 1" identifier = (binary_expression "uVar20 + uVar18 + 1" (binary_expression "uVar20 + uVar18" identifier + identifier) + number_literal)) ;) (expression_statement "(*(code *)puVar16)(zSql + uVar18 + 1,zLine);" (call_expression "(*(code *)puVar16)(zSql + uVar18 + 1,zLine)" (parenthesized_expression "(*(code *)puVar16)" ( (pointer_expression "*(code *)puVar16" * (cast_expression "(code *)puVar16" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(zSql + uVar18 + 1,zLine)" ( (binary_expression "zSql + uVar18 + 1" (binary_expression "zSql + uVar18" identifier + identifier) + number_literal) , identifier ))) ;) }))) (if_statement "if (uVar20 == 0) {\nLAB_0003eaec:\n        uVar20 = 0;\n      }\n      else {\n        if (0 < (int)(uVar20 - uVar18)) {\n          if (zSql[uVar18] != ';') {\n            pcVar12 = zSql + uVar18 + 1;\n            do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');\n          }\n          iVar15 = sqlite3_complete(zSql);\n          if (iVar15 != 0) {\n            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n            iVar19 = iVar19 + iVar15;\n            if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n        }\nLAB_0003ebc4:\n        iVar15 = (*pcVar8)(zSql);\n        if (iVar15 != 0) {\n          if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;\n          (*(code *)PTR_puts_00190da0)(zSql);\n          uVar20 = 0;\n        }\n      }" if (parenthesized_expression "(uVar20 == 0)" ( (binary_expression "uVar20 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0003eaec:\n        uVar20 = 0;\n      }" { (labeled_statement "LAB_0003eaec:\n        uVar20 = 0;" statement_identifier : (expression_statement "uVar20 = 0;" (assignment_expression "uVar20 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n        if (0 < (int)(uVar20 - uVar18)) {\n          if (zSql[uVar18] != ';') {\n            pcVar12 = zSql + uVar18 + 1;\n            do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');\n          }\n          iVar15 = sqlite3_complete(zSql);\n          if (iVar15 != 0) {\n            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n            iVar19 = iVar19 + iVar15;\n            if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n        }\nLAB_0003ebc4:\n        iVar15 = (*pcVar8)(zSql);\n        if (iVar15 != 0) {\n          if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;\n          (*(code *)PTR_puts_00190da0)(zSql);\n          uVar20 = 0;\n        }\n      }" else (compound_statement "{\n        if (0 < (int)(uVar20 - uVar18)) {\n          if (zSql[uVar18] != ';') {\n            pcVar12 = zSql + uVar18 + 1;\n            do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');\n          }\n          iVar15 = sqlite3_complete(zSql);\n          if (iVar15 != 0) {\n            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n            iVar19 = iVar19 + iVar15;\n            if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n        }\nLAB_0003ebc4:\n        iVar15 = (*pcVar8)(zSql);\n        if (iVar15 != 0) {\n          if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;\n          (*(code *)PTR_puts_00190da0)(zSql);\n          uVar20 = 0;\n        }\n      }" { (if_statement "if (0 < (int)(uVar20 - uVar18)) {\n          if (zSql[uVar18] != ';') {\n            pcVar12 = zSql + uVar18 + 1;\n            do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');\n          }\n          iVar15 = sqlite3_complete(zSql);\n          if (iVar15 != 0) {\n            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n            iVar19 = iVar19 + iVar15;\n            if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n        }" if (parenthesized_expression "(0 < (int)(uVar20 - uVar18))" ( (binary_expression "0 < (int)(uVar20 - uVar18)" number_literal < (cast_expression "(int)(uVar20 - uVar18)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar20 - uVar18)" ( (binary_expression "uVar20 - uVar18" identifier - identifier) )))) )) (compound_statement "{\n          if (zSql[uVar18] != ';') {\n            pcVar12 = zSql + uVar18 + 1;\n            do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');\n          }\n          iVar15 = sqlite3_complete(zSql);\n          if (iVar15 != 0) {\n            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n            iVar19 = iVar19 + iVar15;\n            if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }\n        }" { (if_statement "if (zSql[uVar18] != ';') {\n            pcVar12 = zSql + uVar18 + 1;\n            do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');\n          }" if (parenthesized_expression "(zSql[uVar18] != ';')" ( (binary_expression "zSql[uVar18] != ';'" (subscript_expression "zSql[uVar18]" identifier [ identifier ]) != (char_literal "';'" ' character ')) )) (compound_statement "{\n            pcVar12 = zSql + uVar18 + 1;\n            do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');\n          }" { (expression_statement "pcVar12 = zSql + uVar18 + 1;" (assignment_expression "pcVar12 = zSql + uVar18 + 1" identifier = (binary_expression "zSql + uVar18 + 1" (binary_expression "zSql + uVar18" identifier + identifier) + number_literal)) ;) (do_statement "do {\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            } while (cVar2 != ';');" do (compound_statement "{\n              if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;\n              cVar2 = *pcVar12;\n              pcVar12 = pcVar12 + 1;\n            }" { (if_statement "if (zSql + uVar18 + (uVar20 - uVar18) == pcVar12) goto LAB_0003ebc4;" if (parenthesized_expression "(zSql + uVar18 + (uVar20 - uVar18) == pcVar12)" ( (binary_expression "zSql + uVar18 + (uVar20 - uVar18) == pcVar12" (binary_expression "zSql + uVar18 + (uVar20 - uVar18)" (binary_expression "zSql + uVar18" identifier + identifier) + (parenthesized_expression "(uVar20 - uVar18)" ( (binary_expression "uVar20 - uVar18" identifier - identifier) ))) == identifier) )) (goto_statement "goto LAB_0003ebc4;" goto statement_identifier ;)) (expression_statement "cVar2 = *pcVar12;" (assignment_expression "cVar2 = *pcVar12" identifier = (pointer_expression "*pcVar12" * identifier)) ;) (expression_statement "pcVar12 = pcVar12 + 1;" (assignment_expression "pcVar12 = pcVar12 + 1" identifier = (binary_expression "pcVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(cVar2 != ';')" ( (binary_expression "cVar2 != ';'" identifier != (char_literal "';'" ' character ')) )) ;) })) (expression_statement "iVar15 = sqlite3_complete(zSql);" (assignment_expression "iVar15 = sqlite3_complete(zSql)" identifier = (call_expression "sqlite3_complete(zSql)" identifier (argument_list "(zSql)" ( identifier )))) ;) (if_statement "if (iVar15 != 0) {\n            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n            iVar19 = iVar19 + iVar15;\n            if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }" if (parenthesized_expression "(iVar15 != 0)" ( (binary_expression "iVar15 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n            iVar19 = iVar19 + iVar15;\n            if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }\n            goto LAB_0003eaf0;\n          }" { (expression_statement "iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);" (assignment_expression "iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c)" identifier = (call_expression "runOneSqlLine(p,zSql,p->in,iStack_2c)" identifier (argument_list "(p,zSql,p->in,iStack_2c)" ( identifier , identifier , (field_expression "p->in" identifier -> field_identifier) , identifier )))) ;) (expression_statement "iVar19 = iVar19 + iVar15;" (assignment_expression "iVar19 = iVar19 + iVar15" identifier = (binary_expression "iVar19 + iVar15" identifier + identifier)) ;) (if_statement "if (p->outCount == 0) {\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }\n            else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }" if (parenthesized_expression "(p->outCount == 0)" ( (binary_expression "p->outCount == 0" (field_expression "p->outCount" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n              clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);\n              uVar20 = 0;\n            }" { (expression_statement "clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile);" (call_expression "clearTempFile((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile)" identifier (argument_list "((ShellState *)(uint)p->doXdgOpen,(ShellState *)&p->zTempFile)" ( (cast_expression "(ShellState *)(uint)p->doXdgOpen" ( (type_descriptor "ShellState *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)p->doXdgOpen" ( (type_descriptor "uint" type_identifier) ) (field_expression "p->doXdgOpen" identifier -> field_identifier))) , (cast_expression "(ShellState *)&p->zTempFile" ( (type_descriptor "ShellState *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p->zTempFile" & (field_expression "p->zTempFile" identifier -> field_identifier))) ))) ;) (expression_statement "uVar20 = 0;" (assignment_expression "uVar20 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }" else (compound_statement "{\n              output_reset(p);\n              p->outCount = 0;\n              uVar20 = 0;\n            }" { (expression_statement "output_reset(p);" (call_expression "output_reset(p)" identifier (argument_list "(p)" ( identifier ))) ;) (expression_statement "p->outCount = 0;" (assignment_expression "p->outCount = 0" (field_expression "p->outCount" identifier -> field_identifier) = number_literal) ;) (expression_statement "uVar20 = 0;" (assignment_expression "uVar20 = 0" identifier = number_literal) ;) }))) (goto_statement "goto LAB_0003eaf0;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0003ebc4:\n        iVar15 = (*pcVar8)(zSql);" statement_identifier : (expression_statement "iVar15 = (*pcVar8)(zSql);" (assignment_expression "iVar15 = (*pcVar8)(zSql)" identifier = (call_expression "(*pcVar8)(zSql)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(zSql)" ( identifier )))) ;)) (if_statement "if (iVar15 != 0) {\n          if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;\n          (*(code *)PTR_puts_00190da0)(zSql);\n          uVar20 = 0;\n        }" if (parenthesized_expression "(iVar15 != 0)" ( (binary_expression "iVar15 != 0" identifier != number_literal) )) (compound_statement "{\n          if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;\n          (*(code *)PTR_puts_00190da0)(zSql);\n          uVar20 = 0;\n        }" { (if_statement "if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;" if (parenthesized_expression "((p->shellFlgs & 0x40) == 0)" ( (binary_expression "(p->shellFlgs & 0x40) == 0" (parenthesized_expression "(p->shellFlgs & 0x40)" ( (binary_expression "p->shellFlgs & 0x40" (field_expression "p->shellFlgs" identifier -> field_identifier) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0003eaec;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_puts_00190da0)(zSql);" (call_expression "(*(code *)PTR_puts_00190da0)(zSql)" (parenthesized_expression "(*(code *)PTR_puts_00190da0)" ( (pointer_expression "*(code *)PTR_puts_00190da0" * (cast_expression "(code *)PTR_puts_00190da0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(zSql)" ( identifier ))) ;) (expression_statement "uVar20 = 0;" (assignment_expression "uVar20 = 0" identifier = number_literal) ;) })) }))) }))) (labeled_statement "LAB_0003eaf0:\n    uVar18 = uVar20;" statement_identifier : (expression_statement "uVar18 = uVar20;" (assignment_expression "uVar18 = uVar20" identifier = identifier) ;)) (if_statement "if (((iVar19 != 0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38) != 0)) &&\n       ((p->in != (FILE *)0x0 || (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) == 0))))\n    goto LAB_0003eb1c;" if (parenthesized_expression "(((iVar19 != 0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38) != 0)) &&\n       ((p->in != (FILE *)0x0 || (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) == 0))))" ( (binary_expression "((iVar19 != 0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38) != 0)) &&\n       ((p->in != (FILE *)0x0 || (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) == 0)))" (parenthesized_expression "((iVar19 != 0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38) != 0))" ( (binary_expression "(iVar19 != 0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38) != 0)" (parenthesized_expression "(iVar19 != 0)" ( (binary_expression "iVar19 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38) != 0)" ( (binary_expression "*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38) != 0" (pointer_expression "*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38)" * (cast_expression "(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38)" ( (binary_expression "PTR_aBuiltinFunc_29540_1408__00190948 + 0xf38" identifier + number_literal) )))) != number_literal) ))) )) && (parenthesized_expression "((p->in != (FILE *)0x0 || (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) == 0)))" ( (parenthesized_expression "(p->in != (FILE *)0x0 || (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) == 0))" ( (binary_expression "p->in != (FILE *)0x0 || (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) == 0)" (binary_expression "p->in != (FILE *)0x0" (field_expression "p->in" identifier -> field_identifier) != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) == 0)" ( (binary_expression "*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) == 0" (pointer_expression "*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000)" * (cast_expression "(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_aBuiltinFunc_29540_1408__00190948 + -4000)" ( (binary_expression "PTR_aBuiltinFunc_29540_1408__00190948 + -4000" identifier + number_literal) )))) == number_literal) ))) )) ))) )) (goto_statement "goto LAB_0003eb1c;" goto statement_identifier ;)) })) (if_statement "if ((p->in == (FILE *)0x0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) != 0)) {\n    (*(code *)PTR_putchar_00190d50)(10);\n  }" if (parenthesized_expression "((p->in == (FILE *)0x0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) != 0))" ( (binary_expression "(p->in == (FILE *)0x0) && (*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) != 0)" (parenthesized_expression "(p->in == (FILE *)0x0)" ( (binary_expression "p->in == (FILE *)0x0" (field_expression "p->in" identifier -> field_identifier) == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) != 0)" ( (binary_expression "*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000) != 0" (pointer_expression "*(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000)" * (cast_expression "(int *)(PTR_aBuiltinFunc_29540_1408__00190948 + -4000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_aBuiltinFunc_29540_1408__00190948 + -4000)" ( (binary_expression "PTR_aBuiltinFunc_29540_1408__00190948 + -4000" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    (*(code *)PTR_putchar_00190d50)(10);\n  }" { (expression_statement "(*(code *)PTR_putchar_00190d50)(10);" (call_expression "(*(code *)PTR_putchar_00190d50)(10)" (parenthesized_expression "(*(code *)PTR_putchar_00190d50)" ( (pointer_expression "*(code *)PTR_putchar_00190d50" * (cast_expression "(code *)PTR_putchar_00190d50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) })) (labeled_statement "LAB_0003eb1c:\n  if ((uVar18 != 0) && (iVar15 = _all_whitespace(zSql), iVar15 == 0)) {\n    iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n    iVar19 = iVar19 + iVar15;\n  }" statement_identifier : (if_statement "if ((uVar18 != 0) && (iVar15 = _all_whitespace(zSql), iVar15 == 0)) {\n    iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n    iVar19 = iVar19 + iVar15;\n  }" if (parenthesized_expression "((uVar18 != 0) && (iVar15 = _all_whitespace(zSql), iVar15 == 0))" ( (binary_expression "(uVar18 != 0) && (iVar15 = _all_whitespace(zSql), iVar15 == 0)" (parenthesized_expression "(uVar18 != 0)" ( (binary_expression "uVar18 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar15 = _all_whitespace(zSql), iVar15 == 0)" ( (comma_expression "iVar15 = _all_whitespace(zSql), iVar15 == 0" (assignment_expression "iVar15 = _all_whitespace(zSql)" identifier = (call_expression "_all_whitespace(zSql)" identifier (argument_list "(zSql)" ( identifier )))) , (binary_expression "iVar15 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);\n    iVar19 = iVar19 + iVar15;\n  }" { (expression_statement "iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c);" (assignment_expression "iVar15 = runOneSqlLine(p,zSql,p->in,iStack_2c)" identifier = (call_expression "runOneSqlLine(p,zSql,p->in,iStack_2c)" identifier (argument_list "(p,zSql,p->in,iStack_2c)" ( identifier , identifier , (field_expression "p->in" identifier -> field_identifier) , identifier )))) ;) (expression_statement "iVar19 = iVar19 + iVar15;" (assignment_expression "iVar19 = iVar19 + iVar15" identifier = (binary_expression "iVar19 + iVar15" identifier + identifier)) ;) }))) (labeled_statement "LAB_0003eb38:\n  (*(code *)PTR_free_00190e38)(zSql);" statement_identifier : (expression_statement "(*(code *)PTR_free_00190e38)(zSql);" (call_expression "(*(code *)PTR_free_00190e38)(zSql)" (parenthesized_expression "(*(code *)PTR_free_00190e38)" ( (pointer_expression "*(code *)PTR_free_00190e38" * (cast_expression "(code *)PTR_free_00190e38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(zSql)" ( identifier ))) ;)) (expression_statement "(*(code *)PTR_free_00190e38)(zLine);" (call_expression "(*(code *)PTR_free_00190e38)(zLine)" (parenthesized_expression "(*(code *)PTR_free_00190e38)" ( (pointer_expression "*(code *)PTR_free_00190e38" * (cast_expression "(code *)PTR_free_00190e38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(zLine)" ( identifier ))) ;) (return_statement "return (uint)(0 < iVar19);" return (call_expression "(uint)(0 < iVar19)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0 < iVar19)" ( (binary_expression "0 < iVar19" number_literal < identifier) ))) ;) })))
(translation_unit "bool FUN_0003e914(int param_1)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  byte *pbVar11;\n  byte *pbVar12;\n  undefined *puVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int iVar16;\n  int iVar17;\n  byte *pbVar18;\n  byte *local_3c;\n  undefined4 local_2c;\n  \n  puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;\n  puVar13 = PTR_LAB_00190954;\n  puVar2 = PTR_DAT_00190948;\n  iVar17 = 0;\n  pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014);\n  iVar16 = 0;\n  pbVar15 = (byte *)0x0;\n  puVar5 = PTR_DAT_00190948 + 0xf04;\n  puVar6 = PTR_DAT_00190948 + 0xf18;\n  local_2c = 0;\n  local_3c = (byte *)0x0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  pcVar7 = (code *)(puVar13 + 0x156c);\n  pbVar14 = (byte *)0x0;\nLAB_0003e9b0:\n  (*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));\n  if (*(int *)(param_1 + 0x20) == 0) {\n    puVar13 = puVar5;\n    if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }\n    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);\n    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);\n  }\n  else {\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }\n  if (pbVar15 == (byte *)0x0) {\n    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }\nLAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }\nLAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);\n    (*(code *)PTR_free_00190e38)(pbVar15);\n    return 0 < iVar17;\n  }\n  if (*(int *)(puVar2 + 0xf30) != 0) {\n    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;\n    *(undefined4 *)(puVar2 + 0xf30) = 0;\n  }\n  *(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1;\n  if (pbVar14 != (byte *)0x0) {\nLAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n    pbVar18 = pbVar15;\n    while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }\n    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;\n    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n    iVar10 = *piVar9;\n    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;\nLAB_0003ea78:\n    pbVar11 = pbVar15;\n    if (*pbVar15 == 0) goto LAB_0003ee2c;\n    do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );\n  }\n  iVar10 = (*pcVar7)(pbVar15);\n  pbVar11 = pbVar14;\n  if (iVar10 != 0) {\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }\n    goto LAB_0003eaf0;\n  }\n  if (*pbVar15 != 0x2e) {\n    if (*pbVar15 != 0x23) goto LAB_0003ea0c;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;\n    goto LAB_0003eaf0;\n  }\n  if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\nLAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);\n    if (*pbVar15 == 0x2e) goto LAB_0003ec98;\n    goto LAB_0003eaec;\n  }\nLAB_0003ec98:\n  pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);\n  if (pbVar11 != (byte *)0x2) {\n    if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }\n    goto LAB_0003eaf0;\n  }\n  goto LAB_0003eb38;\n  while ((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0) {\nLAB_0003ed18:\n    pbVar12 = pbVar12 + 1;\n    iVar10 = iVar10 + 1;\n    if (*pbVar12 == 0) break;\n  }\n  pbVar11 = pbVar18 + -iVar10;\nLAB_0003ed2c:\n  (*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));\n  local_2c = *(undefined4 *)(param_1 + 0x1c);\nLAB_0003eae4:\n  if (pbVar11 != (byte *)0x0) {\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }\nLAB_0003eaec:\n  pbVar11 = (byte *)0x0;\nLAB_0003eaf0:\n  pbVar14 = pbVar11;\n  if (((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))\n  goto LAB_0003eb1c;\n  goto LAB_0003e9b0;\n}\n\n" (function_definition "bool FUN_0003e914(int param_1)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  byte *pbVar11;\n  byte *pbVar12;\n  undefined *puVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int iVar16;\n  int iVar17;\n  byte *pbVar18;\n  byte *local_3c;\n  undefined4 local_2c;\n  \n  puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;\n  puVar13 = PTR_LAB_00190954;\n  puVar2 = PTR_DAT_00190948;\n  iVar17 = 0;\n  pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014);\n  iVar16 = 0;\n  pbVar15 = (byte *)0x0;\n  puVar5 = PTR_DAT_00190948 + 0xf04;\n  puVar6 = PTR_DAT_00190948 + 0xf18;\n  local_2c = 0;\n  local_3c = (byte *)0x0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  pcVar7 = (code *)(puVar13 + 0x156c);\n  pbVar14 = (byte *)0x0;\nLAB_0003e9b0:\n  (*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));\n  if (*(int *)(param_1 + 0x20) == 0) {\n    puVar13 = puVar5;\n    if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }\n    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);\n    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);\n  }\n  else {\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }\n  if (pbVar15 == (byte *)0x0) {\n    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }\nLAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }\nLAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);\n    (*(code *)PTR_free_00190e38)(pbVar15);\n    return 0 < iVar17;\n  }\n  if (*(int *)(puVar2 + 0xf30) != 0) {\n    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;\n    *(undefined4 *)(puVar2 + 0xf30) = 0;\n  }\n  *(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1;\n  if (pbVar14 != (byte *)0x0) {\nLAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n    pbVar18 = pbVar15;\n    while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }\n    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;\n    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n    iVar10 = *piVar9;\n    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;\nLAB_0003ea78:\n    pbVar11 = pbVar15;\n    if (*pbVar15 == 0) goto LAB_0003ee2c;\n    do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );\n  }\n  iVar10 = (*pcVar7)(pbVar15);\n  pbVar11 = pbVar14;\n  if (iVar10 != 0) {\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }\n    goto LAB_0003eaf0;\n  }\n  if (*pbVar15 != 0x2e) {\n    if (*pbVar15 != 0x23) goto LAB_0003ea0c;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;\n    goto LAB_0003eaf0;\n  }\n  if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\nLAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);\n    if (*pbVar15 == 0x2e) goto LAB_0003ec98;\n    goto LAB_0003eaec;\n  }\nLAB_0003ec98:\n  pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);\n  if (pbVar11 != (byte *)0x2) {\n    if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }\n    goto LAB_0003eaf0;\n  }\n  goto LAB_0003eb38;\n  while ((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0) {\nLAB_0003ed18:\n    pbVar12 = pbVar12 + 1;\n    iVar10 = iVar10 + 1;\n    if (*pbVar12 == 0) break;\n  }\n  pbVar11 = pbVar18 + -iVar10;\nLAB_0003ed2c:\n  (*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));\n  local_2c = *(undefined4 *)(param_1 + 0x1c);\nLAB_0003eae4:\n  if (pbVar11 != (byte *)0x0) {\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }\nLAB_0003eaec:\n  pbVar11 = (byte *)0x0;\nLAB_0003eaf0:\n  pbVar14 = pbVar11;\n  if (((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))\n  goto LAB_0003eb1c;\n  goto LAB_0003e9b0;\n}" primitive_type (function_declarator "FUN_0003e914(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  byte *pbVar11;\n  byte *pbVar12;\n  undefined *puVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int iVar16;\n  int iVar17;\n  byte *pbVar18;\n  byte *local_3c;\n  undefined4 local_2c;\n  \n  puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;\n  puVar13 = PTR_LAB_00190954;\n  puVar2 = PTR_DAT_00190948;\n  iVar17 = 0;\n  pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014);\n  iVar16 = 0;\n  pbVar15 = (byte *)0x0;\n  puVar5 = PTR_DAT_00190948 + 0xf04;\n  puVar6 = PTR_DAT_00190948 + 0xf18;\n  local_2c = 0;\n  local_3c = (byte *)0x0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  pcVar7 = (code *)(puVar13 + 0x156c);\n  pbVar14 = (byte *)0x0;\nLAB_0003e9b0:\n  (*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));\n  if (*(int *)(param_1 + 0x20) == 0) {\n    puVar13 = puVar5;\n    if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }\n    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);\n    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);\n  }\n  else {\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }\n  if (pbVar15 == (byte *)0x0) {\n    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }\nLAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }\nLAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);\n    (*(code *)PTR_free_00190e38)(pbVar15);\n    return 0 < iVar17;\n  }\n  if (*(int *)(puVar2 + 0xf30) != 0) {\n    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;\n    *(undefined4 *)(puVar2 + 0xf30) = 0;\n  }\n  *(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1;\n  if (pbVar14 != (byte *)0x0) {\nLAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n    pbVar18 = pbVar15;\n    while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }\n    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;\n    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n    iVar10 = *piVar9;\n    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;\nLAB_0003ea78:\n    pbVar11 = pbVar15;\n    if (*pbVar15 == 0) goto LAB_0003ee2c;\n    do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );\n  }\n  iVar10 = (*pcVar7)(pbVar15);\n  pbVar11 = pbVar14;\n  if (iVar10 != 0) {\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }\n    goto LAB_0003eaf0;\n  }\n  if (*pbVar15 != 0x2e) {\n    if (*pbVar15 != 0x23) goto LAB_0003ea0c;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;\n    goto LAB_0003eaf0;\n  }\n  if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\nLAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);\n    if (*pbVar15 == 0x2e) goto LAB_0003ec98;\n    goto LAB_0003eaec;\n  }\nLAB_0003ec98:\n  pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);\n  if (pbVar11 != (byte *)0x2) {\n    if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }\n    goto LAB_0003eaf0;\n  }\n  goto LAB_0003eb38;\n  while ((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0) {\nLAB_0003ed18:\n    pbVar12 = pbVar12 + 1;\n    iVar10 = iVar10 + 1;\n    if (*pbVar12 == 0) break;\n  }\n  pbVar11 = pbVar18 + -iVar10;\nLAB_0003ed2c:\n  (*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));\n  local_2c = *(undefined4 *)(param_1 + 0x1c);\nLAB_0003eae4:\n  if (pbVar11 != (byte *)0x0) {\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }\nLAB_0003eaec:\n  pbVar11 = (byte *)0x0;\nLAB_0003eaf0:\n  pbVar14 = pbVar11;\n  if (((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))\n  goto LAB_0003eb1c;\n  goto LAB_0003e9b0;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "code *pcVar7;" type_identifier (pointer_declarator "*pcVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "undefined *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "byte *pbVar15;" type_identifier (pointer_declarator "*pbVar15" * identifier) ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "byte *pbVar18;" type_identifier (pointer_declarator "*pbVar18" * identifier) ;) (declaration "byte *local_3c;" type_identifier (pointer_declarator "*local_3c" * identifier) ;) (declaration "undefined4 local_2c;" type_identifier identifier ;) (expression_statement "puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;" (assignment_expression "puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c" identifier = identifier) ;) (expression_statement "puVar13 = PTR_LAB_00190954;" (assignment_expression "puVar13 = PTR_LAB_00190954" identifier = identifier) ;) (expression_statement "puVar2 = PTR_DAT_00190948;" (assignment_expression "puVar2 = PTR_DAT_00190948" identifier = identifier) ;) (expression_statement "iVar17 = 0;" (assignment_expression "iVar17 = 0" identifier = number_literal) ;) (expression_statement "pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014)" identifier = (cast_expression "(code *)(PTR_LAB_00190954 + 0x6014)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_00190954 + 0x6014)" ( (binary_expression "PTR_LAB_00190954 + 0x6014" identifier + number_literal) )))) ;) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (expression_statement "pbVar15 = (byte *)0x0;" (assignment_expression "pbVar15 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar5 = PTR_DAT_00190948 + 0xf04;" (assignment_expression "puVar5 = PTR_DAT_00190948 + 0xf04" identifier = (binary_expression "PTR_DAT_00190948 + 0xf04" identifier + number_literal)) ;) (expression_statement "puVar6 = PTR_DAT_00190948 + 0xf18;" (assignment_expression "puVar6 = PTR_DAT_00190948 + 0xf18" identifier = (binary_expression "PTR_DAT_00190948 + 0xf18" identifier + number_literal)) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_3c = (byte *)0x0;" (assignment_expression "local_3c = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pcVar7 = (code *)(puVar13 + 0x156c);" (assignment_expression "pcVar7 = (code *)(puVar13 + 0x156c)" identifier = (cast_expression "(code *)(puVar13 + 0x156c)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar13 + 0x156c)" ( (binary_expression "puVar13 + 0x156c" identifier + number_literal) )))) ;) (expression_statement "pbVar14 = (byte *)0x0;" (assignment_expression "pbVar14 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_0003e9b0:\n  (*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));" statement_identifier : (expression_statement "(*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));" (call_expression "(*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24))" (parenthesized_expression "(*(code *)PTR_fflush_00190e48)" ( (pointer_expression "*(code *)PTR_fflush_00190e48" * (cast_expression "(code *)PTR_fflush_00190e48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(param_1 + 0x24))" ( (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) )))) ))) ;)) (if_statement "if (*(int *)(param_1 + 0x20) == 0) {\n    puVar13 = puVar5;\n    if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }\n    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);\n    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);\n  }\n  else {\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x20) == 0)" ( (binary_expression "*(int *)(param_1 + 0x20) == 0" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    puVar13 = puVar5;\n    if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }\n    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);\n    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);\n  }" { (expression_statement "puVar13 = puVar5;" (assignment_expression "puVar13 = puVar5" identifier = identifier) ;) (if_statement "if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }" if (parenthesized_expression "((int)pbVar14 < 1)" ( (binary_expression "(int)pbVar14 < 1" (cast_expression "(int)pbVar14" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      puVar13 = puVar6;\n    }" { (expression_statement "puVar13 = puVar6;" (assignment_expression "puVar13 = puVar6" identifier = identifier) ;) })) (expression_statement "(*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);" (call_expression "(*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13)" (parenthesized_expression "(*(code *)PTR___printf_chk_00190d34)" ( (pointer_expression "*(code *)PTR___printf_chk_00190d34" * (cast_expression "(code *)PTR___printf_chk_00190d34" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,puVar3 + -0x5dfc,puVar13)" ( number_literal , (binary_expression "puVar3 + -0x5dfc" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);" (call_expression "(*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38)" (parenthesized_expression "(*(code *)PTR_fflush_00190e48)" ( (pointer_expression "*(code *)PTR_fflush_00190e48" * (cast_expression "(code *)PTR_fflush_00190e48" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_stdout_00190d38)" ( (pointer_expression "*(undefined4 *)PTR_stdout_00190d38" * (cast_expression "(undefined4 *)PTR_stdout_00190d38" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);" (assignment_expression "pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70)" identifier = (cast_expression "(byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(pbVar15,*(undefined4 *)PTR_stdin_00190d70)" ( identifier , (pointer_expression "*(undefined4 *)PTR_stdin_00190d70" * (cast_expression "(undefined4 *)PTR_stdin_00190d70" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))))) ;) }) (else_clause "else {\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }" else (compound_statement "{\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }" { (expression_statement "pbVar15 = (byte *)(*pcVar4)(pbVar15);" (assignment_expression "pbVar15 = (byte *)(*pcVar4)(pbVar15)" identifier = (cast_expression "(byte *)(*pcVar4)(pbVar15)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar4)(pbVar15)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(pbVar15)" ( identifier ))))) ;) }))) (if_statement "if (pbVar15 == (byte *)0x0) {\n    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }\nLAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }\nLAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);\n    (*(code *)PTR_free_00190e38)(pbVar15);\n    return 0 < iVar17;\n  }" if (parenthesized_expression "(pbVar15 == (byte *)0x0)" ( (binary_expression "pbVar15 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }\nLAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }\nLAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);\n    (*(code *)PTR_free_00190e38)(pbVar15);\n    return 0 < iVar17;\n  }" { (if_statement "if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }" if (parenthesized_expression "((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0))" ( (binary_expression "(*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x20) == 0)" ( (binary_expression "*(int *)(param_1 + 0x20) == 0" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(PTR_DAT_00190948 + -4000) != 0)" ( (binary_expression "*(int *)(PTR_DAT_00190948 + -4000) != 0" (pointer_expression "*(int *)(PTR_DAT_00190948 + -4000)" * (cast_expression "(int *)(PTR_DAT_00190948 + -4000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190948 + -4000)" ( (binary_expression "PTR_DAT_00190948 + -4000" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      (*(code *)PTR_putchar_00190d50)(10);\n    }" { (expression_statement "(*(code *)PTR_putchar_00190d50)(10);" (call_expression "(*(code *)PTR_putchar_00190d50)(10)" (parenthesized_expression "(*(code *)PTR_putchar_00190d50)" ( (pointer_expression "*(code *)PTR_putchar_00190d50" * (cast_expression "(code *)PTR_putchar_00190d50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) })) (labeled_statement "LAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }" statement_identifier : (if_statement "if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }" if (parenthesized_expression "((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0))" ( (binary_expression "(pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)" (parenthesized_expression "(pbVar14 != (byte *)0x0)" ( (binary_expression "pbVar14 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar10 = FUN_0002156c(iVar16), iVar10 == 0)" ( (comma_expression "iVar10 = FUN_0002156c(iVar16), iVar10 == 0" (assignment_expression "iVar10 = FUN_0002156c(iVar16)" identifier = (call_expression "FUN_0002156c(iVar16)" identifier (argument_list "(iVar16)" ( identifier )))) , (binary_expression "iVar10 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }" { (expression_statement "iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);" (assignment_expression "iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" identifier = (call_expression "FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" identifier (argument_list "(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" ( identifier , identifier , (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) )))) , identifier )))) ;) (expression_statement "iVar17 = iVar17 + iVar10;" (assignment_expression "iVar17 = iVar17 + iVar10" identifier = (binary_expression "iVar17 + iVar10" identifier + identifier)) ;) }))) (labeled_statement "LAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);" statement_identifier : (expression_statement "(*(code *)PTR_free_00190e38)(iVar16);" (call_expression "(*(code *)PTR_free_00190e38)(iVar16)" (parenthesized_expression "(*(code *)PTR_free_00190e38)" ( (pointer_expression "*(code *)PTR_free_00190e38" * (cast_expression "(code *)PTR_free_00190e38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar16)" ( identifier ))) ;)) (expression_statement "(*(code *)PTR_free_00190e38)(pbVar15);" (call_expression "(*(code *)PTR_free_00190e38)(pbVar15)" (parenthesized_expression "(*(code *)PTR_free_00190e38)" ( (pointer_expression "*(code *)PTR_free_00190e38" * (cast_expression "(code *)PTR_free_00190e38" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar15)" ( identifier ))) ;) (return_statement "return 0 < iVar17;" return (binary_expression "0 < iVar17" number_literal < identifier) ;) })) (if_statement "if (*(int *)(puVar2 + 0xf30) != 0) {\n    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;\n    *(undefined4 *)(puVar2 + 0xf30) = 0;\n  }" if (parenthesized_expression "(*(int *)(puVar2 + 0xf30) != 0)" ( (binary_expression "*(int *)(puVar2 + 0xf30) != 0" (pointer_expression "*(int *)(puVar2 + 0xf30)" * (cast_expression "(int *)(puVar2 + 0xf30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0xf30)" ( (binary_expression "puVar2 + 0xf30" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;\n    *(undefined4 *)(puVar2 + 0xf30) = 0;\n  }" { (if_statement "if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;" if (parenthesized_expression "(*(int *)(param_1 + 0x20) != 0)" ( (binary_expression "*(int *)(param_1 + 0x20) != 0" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_0003eb1c;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)(puVar2 + 0xf30) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + 0xf30) = 0" (pointer_expression "*(undefined4 *)(puVar2 + 0xf30)" * (cast_expression "(undefined4 *)(puVar2 + 0xf30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + 0xf30)" ( (binary_expression "puVar2 + 0xf30" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "*(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1;" (assignment_expression "*(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x1c) + 1" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if (pbVar14 != (byte *)0x0) {\nLAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n    pbVar18 = pbVar15;\n    while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }\n    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;\n    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n    iVar10 = *piVar9;\n    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;\nLAB_0003ea78:\n    pbVar11 = pbVar15;\n    if (*pbVar15 == 0) goto LAB_0003ee2c;\n    do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );\n  }" if (parenthesized_expression "(pbVar14 != (byte *)0x0)" ( (binary_expression "pbVar14 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n    pbVar18 = pbVar15;\n    while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }\n    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;\n    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n    iVar10 = *piVar9;\n    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;\nLAB_0003ea78:\n    pbVar11 = pbVar15;\n    if (*pbVar15 == 0) goto LAB_0003ee2c;\n    do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );\n  }" { (labeled_statement "LAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();" statement_identifier : (expression_statement "piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();" (assignment_expression "piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_00190cc0)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_b_loc_00190cc0)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_00190cc0)" ( (pointer_expression "*(code *)PTR___ctype_b_loc_00190cc0" * (cast_expression "(code *)PTR___ctype_b_loc_00190cc0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;)) (expression_statement "pbVar18 = pbVar15;" (assignment_expression "pbVar18 = pbVar15" identifier = identifier) ;) (while_statement "while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }" { (expression_statement "bVar1 = *pbVar18;" (assignment_expression "bVar1 = *pbVar18" identifier = (pointer_expression "*pbVar18" * identifier)) ;) (if_statement "if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;" if (parenthesized_expression "((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0)" ( (binary_expression "(*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar8 + (uint)bVar1 * 2)" * (cast_expression "(ushort *)(*piVar8 + (uint)bVar1 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar8 + (uint)bVar1 * 2)" ( (binary_expression "*piVar8 + (uint)bVar1 * 2" (pointer_expression "*piVar8" * identifier) + (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) )))) & number_literal) )) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar18 = pbVar18 + 1;" (assignment_expression "pbVar18 = pbVar18 + 1" identifier = (binary_expression "pbVar18 + 1" identifier + number_literal)) ;) })) (if_statement "if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;" if (parenthesized_expression "((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0))" ( (binary_expression "(bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)" (parenthesized_expression "(bVar1 == 0x2f)" ( (binary_expression "bVar1 == 0x2f" identifier == number_literal) )) && (parenthesized_expression "(iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)" ( (comma_expression "iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0" (assignment_expression "iVar10 = (*pcVar7)(pbVar18 + 1)" identifier = (call_expression "(*pcVar7)(pbVar18 + 1)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(pbVar18 + 1)" ( (binary_expression "pbVar18 + 1" identifier + number_literal) )))) , (binary_expression "iVar10 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_0003ede4;" goto statement_identifier ;)) (expression_statement "piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();" (assignment_expression "piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)()" identifier = (cast_expression "(int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___ctype_tolower_loc_00190cc4)()" (parenthesized_expression "(*(code *)PTR___ctype_tolower_loc_00190cc4)" ( (pointer_expression "*(code *)PTR___ctype_tolower_loc_00190cc4" * (cast_expression "(code *)PTR___ctype_tolower_loc_00190cc4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "iVar10 = *piVar9;" (assignment_expression "iVar10 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (if_statement "if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;" if (parenthesized_expression "(*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g')" ( (binary_expression "*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g'" (pointer_expression "*(char *)(iVar10 + (uint)bVar1 * 4 + 3)" * (cast_expression "(char *)(iVar10 + (uint)bVar1 * 4 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + (uint)bVar1 * 4 + 3)" ( (binary_expression "iVar10 + (uint)bVar1 * 4 + 3" (binary_expression "iVar10 + (uint)bVar1 * 4" identifier + (binary_expression "(uint)bVar1 * 4" (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) == (char_literal "'g'" ' character ')) )) (goto_statement "goto LAB_0003edb8;" goto statement_identifier ;)) (labeled_statement "LAB_0003ea78:\n    pbVar11 = pbVar15;" statement_identifier : (expression_statement "pbVar11 = pbVar15;" (assignment_expression "pbVar11 = pbVar15" identifier = identifier) ;)) (if_statement "if (*pbVar15 == 0) goto LAB_0003ee2c;" if (parenthesized_expression "(*pbVar15 == 0)" ( (binary_expression "*pbVar15 == 0" (pointer_expression "*pbVar15" * identifier) == number_literal) )) (goto_statement "goto LAB_0003ee2c;" goto statement_identifier ;)) (do_statement "do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );" do (compound_statement "{\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    }" { (do_statement "do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);" do (compound_statement "{\n        pbVar11 = pbVar11 + 1;\n      }" { (expression_statement "pbVar11 = pbVar11 + 1;" (assignment_expression "pbVar11 = pbVar11 + 1" identifier = (binary_expression "pbVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*pbVar11 != 0)" ( (binary_expression "*pbVar11 != 0" (pointer_expression "*pbVar11" * identifier) != number_literal) )) ;) (expression_statement "pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);" (assignment_expression "pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff)" identifier = (cast_expression "(byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pbVar11 - (int)pbVar15 & 0x3fffffff)" ( (binary_expression "(int)pbVar11 - (int)pbVar15 & 0x3fffffff" (binary_expression "(int)pbVar11 - (int)pbVar15" (cast_expression "(int)pbVar11" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar15" ( (type_descriptor "int" primitive_type) ) identifier)) & number_literal) )))) ;) (expression_statement "pbVar11 = pbVar14 + (int)pbVar18;" (assignment_expression "pbVar11 = pbVar14 + (int)pbVar18" identifier = (binary_expression "pbVar14 + (int)pbVar18" identifier + (cast_expression "(int)pbVar18" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (while_statement "while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }" { (expression_statement "pbVar12 = pbVar11 + 100;" (assignment_expression "pbVar12 = pbVar11 + 100" identifier = (binary_expression "pbVar11 + 100" identifier + number_literal)) ;) (if_statement "if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }" if (parenthesized_expression "(((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0))" ( (binary_expression "((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)" (parenthesized_expression "((int)(pbVar11 + 2) < (int)local_3c)" ( (binary_expression "(int)(pbVar11 + 2) < (int)local_3c" (cast_expression "(int)(pbVar11 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar11 + 2)" ( (binary_expression "pbVar11 + 2" identifier + number_literal) ))) < (cast_expression "(int)local_3c" ( (type_descriptor "int" primitive_type) ) identifier)) )) || (parenthesized_expression "(iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)" ( (comma_expression "iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0" (assignment_expression "iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12)" identifier = (call_expression "(*(code *)PTR_realloc_00190da8)(iVar16,pbVar12)" (parenthesized_expression "(*(code *)PTR_realloc_00190da8)" ( (pointer_expression "*(code *)PTR_realloc_00190da8" * (cast_expression "(code *)PTR_realloc_00190da8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar16,pbVar12)" ( identifier , identifier )))) , (comma_expression "local_3c = pbVar12,\n           iVar16 != 0" (assignment_expression "local_3c = pbVar12" identifier = identifier) , (binary_expression "iVar16 != 0" identifier != number_literal))) ))) )) (compound_statement "{\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }" { (expression_statement "puVar13 = PTR_memcpy_00190e2c;" (assignment_expression "puVar13 = PTR_memcpy_00190e2c" identifier = identifier) ;) (if_statement "if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }" if (parenthesized_expression "(pbVar14 != (byte *)0x0)" ( (binary_expression "pbVar14 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }" { (expression_statement "pbVar14[iVar16] = 10;" (assignment_expression "pbVar14[iVar16] = 10" (subscript_expression "pbVar14[iVar16]" identifier [ identifier ]) = number_literal) ;) (expression_statement "pbVar11 = pbVar18 + (int)(pbVar14 + 1);" (assignment_expression "pbVar11 = pbVar18 + (int)(pbVar14 + 1)" identifier = (binary_expression "pbVar18 + (int)(pbVar14 + 1)" identifier + (cast_expression "(int)(pbVar14 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pbVar14 + 1)" ( (binary_expression "pbVar14 + 1" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);" (call_expression "(*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15)" (parenthesized_expression "(*(code *)puVar13)" ( (pointer_expression "*(code *)puVar13" * (cast_expression "(code *)puVar13" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar14 + 1 + iVar16,pbVar15)" ( (binary_expression "pbVar14 + 1 + iVar16" (binary_expression "pbVar14 + 1" identifier + number_literal) + identifier) , identifier ))) ;) (goto_statement "goto LAB_0003eae4;" goto statement_identifier ;) })) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" identifier = identifier) ;) (if_statement "if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }" if (parenthesized_expression "((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0))" ( (binary_expression "(*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)" (parenthesized_expression "(*pbVar15 != 0)" ( (binary_expression "*pbVar15 != 0" (pointer_expression "*pbVar15" * identifier) != number_literal) )) && (parenthesized_expression "((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)" ( (binary_expression "(*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0" (parenthesized_expression "(*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar8 + (uint)*pbVar15 * 2)" * (cast_expression "(ushort *)(*piVar8 + (uint)*pbVar15 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar8 + (uint)*pbVar15 * 2)" ( (binary_expression "*piVar8 + (uint)*pbVar15 * 2" (pointer_expression "*piVar8" * identifier) + (binary_expression "(uint)*pbVar15 * 2" (binary_expression "(uint)*pbVar15" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0003ed18;" goto statement_identifier ;) })) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "pbVar11 = pbVar18;" (assignment_expression "pbVar11 = pbVar18" identifier = identifier) ;) (goto_statement "goto LAB_0003ed2c;" goto statement_identifier ;) })) (expression_statement "iVar10 = FUN_00023f24();" (assignment_expression "iVar10 = FUN_00023f24()" identifier = (call_expression "FUN_00023f24()" identifier (argument_list "()" ( )))) ;) (labeled_statement "LAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;" statement_identifier : (if_statement "if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;" if (parenthesized_expression "((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0))" ( (binary_expression "(*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)" (parenthesized_expression "(*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o')" ( (binary_expression "*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o'" (pointer_expression "*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3)" * (cast_expression "(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + (uint)pbVar18[1] * 4 + 3)" ( (binary_expression "iVar10 + (uint)pbVar18[1] * 4 + 3" (binary_expression "iVar10 + (uint)pbVar18[1] * 4" identifier + (binary_expression "(uint)pbVar18[1] * 4" (cast_expression "(uint)pbVar18[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar18[1]" identifier [ number_literal ])) * number_literal)) + number_literal) )))) != (char_literal "'o'" ' character ')) )) || (parenthesized_expression "(iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)" ( (comma_expression "iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0" (assignment_expression "iVar10 = (*pcVar7)(pbVar18 + 2)" identifier = (call_expression "(*pcVar7)(pbVar18 + 2)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(pbVar18 + 2)" ( (binary_expression "pbVar18 + 2" identifier + number_literal) )))) , (binary_expression "iVar10 == 0" identifier == number_literal)) ))) )) (goto_statement "goto LAB_0003ea78;" goto statement_identifier ;))) (labeled_statement "LAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;" statement_identifier : (expression_statement "pbVar11 = pbVar14 + iVar16;" (assignment_expression "pbVar11 = pbVar14 + iVar16" identifier = (binary_expression "pbVar14 + iVar16" identifier + identifier)) ;)) (if_statement "if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }" if (parenthesized_expression "(iVar16 != 0)" ( (binary_expression "iVar16 != 0" identifier != number_literal) )) (compound_statement "{\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }" { (expression_statement "*pbVar11 = 0x3b;" (assignment_expression "*pbVar11 = 0x3b" (pointer_expression "*pbVar11" * identifier) = number_literal) ;) (expression_statement "pbVar11[1] = 0;" (assignment_expression "pbVar11[1] = 0" (subscript_expression "pbVar11[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar10 = sqlite3_complete(iVar16);" (assignment_expression "iVar10 = sqlite3_complete(iVar16)" identifier = (call_expression "sqlite3_complete(iVar16)" identifier (argument_list "(iVar16)" ( identifier )))) ;) (expression_statement "*pbVar11 = 0;" (assignment_expression "*pbVar11 = 0" (pointer_expression "*pbVar11" * identifier) = number_literal) ;) (if_statement "if (iVar10 == 0) goto LAB_0003ea78;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003ea78;" goto statement_identifier ;)) })) (expression_statement "pbVar15[1] = 0;" (assignment_expression "pbVar15[1] = 0" (subscript_expression "pbVar15[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*pbVar15 = 0x3b;" (assignment_expression "*pbVar15 = 0x3b" (pointer_expression "*pbVar15" * identifier) = number_literal) ;) (expression_statement "pbVar11 = pbVar15;" (assignment_expression "pbVar11 = pbVar15" identifier = identifier) ;) (if_statement "if (*pbVar15 != 0) break;" if (parenthesized_expression "(*pbVar15 != 0)" ( (binary_expression "*pbVar15 != 0" (pointer_expression "*pbVar15" * identifier) != number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_0003ee2c:\n        pbVar18 = (byte *)0x0;" statement_identifier : (expression_statement "pbVar18 = (byte *)0x0;" (assignment_expression "pbVar18 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (expression_statement "pbVar11 = pbVar14;" (assignment_expression "pbVar11 = pbVar14" identifier = identifier) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "iVar10 = (*pcVar7)(pbVar15);" (assignment_expression "iVar10 = (*pcVar7)(pbVar15)" identifier = (call_expression "(*pcVar7)(pbVar15)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(pbVar15)" ( identifier )))) ;) (expression_statement "pbVar11 = pbVar14;" (assignment_expression "pbVar11 = pbVar14" identifier = identifier) ;) (if_statement "if (iVar10 != 0) {\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }\n    goto LAB_0003eaf0;\n  }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }\n    goto LAB_0003eaf0;\n  }" { (if_statement "if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }" if (parenthesized_expression "((*(uint *)(param_1 + 0x58) & 0x40) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0x58) & 0x40) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x58) & 0x40)" ( (binary_expression "*(uint *)(param_1 + 0x58) & 0x40" (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }" { (expression_statement "(*(code *)PTR_puts_00190da0)(pbVar15);" (call_expression "(*(code *)PTR_puts_00190da0)(pbVar15)" (parenthesized_expression "(*(code *)PTR_puts_00190da0)" ( (pointer_expression "*(code *)PTR_puts_00190da0" * (cast_expression "(code *)PTR_puts_00190da0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar15)" ( identifier ))) ;) })) (goto_statement "goto LAB_0003eaf0;" goto statement_identifier ;) })) (if_statement "if (*pbVar15 != 0x2e) {\n    if (*pbVar15 != 0x23) goto LAB_0003ea0c;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;\n    goto LAB_0003eaf0;\n  }" if (parenthesized_expression "(*pbVar15 != 0x2e)" ( (binary_expression "*pbVar15 != 0x2e" (pointer_expression "*pbVar15" * identifier) != number_literal) )) (compound_statement "{\n    if (*pbVar15 != 0x23) goto LAB_0003ea0c;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;\n    goto LAB_0003eaf0;\n  }" { (if_statement "if (*pbVar15 != 0x23) goto LAB_0003ea0c;" if (parenthesized_expression "(*pbVar15 != 0x23)" ( (binary_expression "*pbVar15 != 0x23" (pointer_expression "*pbVar15" * identifier) != number_literal) )) (goto_statement "goto LAB_0003ea0c;" goto statement_identifier ;)) (if_statement "if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;" if (parenthesized_expression "((*(uint *)(param_1 + 0x58) & 0x40) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0x58) & 0x40) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x58) & 0x40)" ( (binary_expression "*(uint *)(param_1 + 0x58) & 0x40" (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0003ed64;" goto statement_identifier ;)) (goto_statement "goto LAB_0003eaf0;" goto statement_identifier ;) })) (if_statement "if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\nLAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);\n    if (*pbVar15 == 0x2e) goto LAB_0003ec98;\n    goto LAB_0003eaec;\n  }" if (parenthesized_expression "((*(uint *)(param_1 + 0x58) & 0x40) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0x58) & 0x40) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x58) & 0x40)" ( (binary_expression "*(uint *)(param_1 + 0x58) & 0x40" (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\nLAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);\n    if (*pbVar15 == 0x2e) goto LAB_0003ec98;\n    goto LAB_0003eaec;\n  }" { (labeled_statement "LAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);" statement_identifier : (expression_statement "(*(code *)PTR_puts_00190da0)(pbVar15);" (call_expression "(*(code *)PTR_puts_00190da0)(pbVar15)" (parenthesized_expression "(*(code *)PTR_puts_00190da0)" ( (pointer_expression "*(code *)PTR_puts_00190da0" * (cast_expression "(code *)PTR_puts_00190da0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar15)" ( identifier ))) ;)) (if_statement "if (*pbVar15 == 0x2e) goto LAB_0003ec98;" if (parenthesized_expression "(*pbVar15 == 0x2e)" ( (binary_expression "*pbVar15 == 0x2e" (pointer_expression "*pbVar15" * identifier) == number_literal) )) (goto_statement "goto LAB_0003ec98;" goto statement_identifier ;)) (goto_statement "goto LAB_0003eaec;" goto statement_identifier ;) })) (labeled_statement "LAB_0003ec98:\n  pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);" statement_identifier : (expression_statement "pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);" (assignment_expression "pbVar11 = (byte *)FUN_00036100(pbVar15,param_1)" identifier = (cast_expression "(byte *)FUN_00036100(pbVar15,param_1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00036100(pbVar15,param_1)" identifier (argument_list "(pbVar15,param_1)" ( identifier , identifier ))))) ;)) (if_statement "if (pbVar11 != (byte *)0x2) {\n    if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }\n    goto LAB_0003eaf0;\n  }" if (parenthesized_expression "(pbVar11 != (byte *)0x2)" ( (binary_expression "pbVar11 != (byte *)0x2" identifier != (cast_expression "(byte *)0x2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }\n    goto LAB_0003eaf0;\n  }" { (if_statement "if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }" if (parenthesized_expression "(pbVar11 != (byte *)0x0)" ( (binary_expression "pbVar11 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }" { (expression_statement "iVar17 = iVar17 + 1;" (assignment_expression "iVar17 = iVar17 + 1" identifier = (binary_expression "iVar17 + 1" identifier + number_literal)) ;) (expression_statement "pbVar11 = (byte *)0x0;" (assignment_expression "pbVar11 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (goto_statement "goto LAB_0003eaf0;" goto statement_identifier ;) })) (goto_statement "goto LAB_0003eb38;" goto statement_identifier ;) (while_statement "while ((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0) {\nLAB_0003ed18:\n    pbVar12 = pbVar12 + 1;\n    iVar10 = iVar10 + 1;\n    if (*pbVar12 == 0) break;\n  }" while (parenthesized_expression "((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0)" ( (binary_expression "(*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0" (parenthesized_expression "(*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20)" ( (binary_expression "*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar8 + (uint)*pbVar12 * 2)" * (cast_expression "(ushort *)(*piVar8 + (uint)*pbVar12 * 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar8 + (uint)*pbVar12 * 2)" ( (binary_expression "*piVar8 + (uint)*pbVar12 * 2" (pointer_expression "*piVar8" * identifier) + (binary_expression "(uint)*pbVar12 * 2" (binary_expression "(uint)*pbVar12" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) != number_literal) )) (compound_statement "{\nLAB_0003ed18:\n    pbVar12 = pbVar12 + 1;\n    iVar10 = iVar10 + 1;\n    if (*pbVar12 == 0) break;\n  }" { (labeled_statement "LAB_0003ed18:\n    pbVar12 = pbVar12 + 1;" statement_identifier : (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;)) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (if_statement "if (*pbVar12 == 0) break;" if (parenthesized_expression "(*pbVar12 == 0)" ( (binary_expression "*pbVar12 == 0" (pointer_expression "*pbVar12" * identifier) == number_literal) )) (break_statement "break;" break ;)) })) (expression_statement "pbVar11 = pbVar18 + -iVar10;" (assignment_expression "pbVar11 = pbVar18 + -iVar10" identifier = (binary_expression "pbVar18 + -iVar10" identifier + (unary_expression "-iVar10" - identifier))) ;) (labeled_statement "LAB_0003ed2c:\n  (*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));" statement_identifier : (expression_statement "(*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));" (call_expression "(*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10))" (parenthesized_expression "(*(code *)PTR_memcpy_00190e2c)" ( (pointer_expression "*(code *)PTR_memcpy_00190e2c" * (cast_expression "(code *)PTR_memcpy_00190e2c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar16,pbVar12,pbVar18 + (1 - iVar10))" ( identifier , identifier , (binary_expression "pbVar18 + (1 - iVar10)" identifier + (parenthesized_expression "(1 - iVar10)" ( (binary_expression "1 - iVar10" number_literal - identifier) ))) ))) ;)) (expression_statement "local_2c = *(undefined4 *)(param_1 + 0x1c);" (assignment_expression "local_2c = *(undefined4 *)(param_1 + 0x1c)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (labeled_statement "LAB_0003eae4:\n  if (pbVar11 != (byte *)0x0) {\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }" statement_identifier : (if_statement "if (pbVar11 != (byte *)0x0) {\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }" if (parenthesized_expression "(pbVar11 != (byte *)0x0)" ( (binary_expression "pbVar11 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }" { (if_statement "if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }" if (parenthesized_expression "(0 < (int)pbVar11 - (int)pbVar14)" ( (binary_expression "0 < (int)pbVar11 - (int)pbVar14" number_literal < (binary_expression "(int)pbVar11 - (int)pbVar14" (cast_expression "(int)pbVar11" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar14" ( (type_descriptor "int" primitive_type) ) identifier))) )) (compound_statement "{\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }" { (if_statement "if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }" if (parenthesized_expression "(pbVar14[iVar16] != 0x3b)" ( (binary_expression "pbVar14[iVar16] != 0x3b" (subscript_expression "pbVar14[iVar16]" identifier [ identifier ]) != number_literal) )) (compound_statement "{\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }" { (expression_statement "pbVar18 = pbVar14 + iVar16 + 1;" (assignment_expression "pbVar18 = pbVar14 + iVar16 + 1" identifier = (binary_expression "pbVar14 + iVar16 + 1" (binary_expression "pbVar14 + iVar16" identifier + identifier) + number_literal)) ;) (do_statement "do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);" do (compound_statement "{\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        }" { (if_statement "if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;" if (parenthesized_expression "(pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18)" ( (binary_expression "pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18" (binary_expression "pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14)" (binary_expression "pbVar14 + iVar16" identifier + identifier) + (parenthesized_expression "((int)pbVar11 - (int)pbVar14)" ( (binary_expression "(int)pbVar11 - (int)pbVar14" (cast_expression "(int)pbVar11" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar14" ( (type_descriptor "int" primitive_type) ) identifier)) ))) == identifier) )) (goto_statement "goto LAB_0003ebc4;" goto statement_identifier ;)) (expression_statement "bVar1 = *pbVar18;" (assignment_expression "bVar1 = *pbVar18" identifier = (pointer_expression "*pbVar18" * identifier)) ;) (expression_statement "pbVar18 = pbVar18 + 1;" (assignment_expression "pbVar18 = pbVar18 + 1" identifier = (binary_expression "pbVar18 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(bVar1 != 0x3b)" ( (binary_expression "bVar1 != 0x3b" identifier != number_literal) )) ;) })) (expression_statement "iVar10 = sqlite3_complete(iVar16);" (assignment_expression "iVar10 = sqlite3_complete(iVar16)" identifier = (call_expression "sqlite3_complete(iVar16)" identifier (argument_list "(iVar16)" ( identifier )))) ;) (if_statement "if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }" { (expression_statement "iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);" (assignment_expression "iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" identifier = (call_expression "FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" identifier (argument_list "(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" ( identifier , identifier , (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) )))) , identifier )))) ;) (expression_statement "iVar17 = iVar17 + iVar10;" (assignment_expression "iVar17 = iVar17 + iVar10" identifier = (binary_expression "iVar17 + iVar10" identifier + identifier)) ;) (if_statement "if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }" if (parenthesized_expression "(*(int *)(param_1 + 0x14) == 0)" ( (binary_expression "*(int *)(param_1 + 0x14) == 0" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }" { (expression_statement "FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);" (call_expression "FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c)" identifier (argument_list "(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c)" ( (pointer_expression "*(undefined1 *)(param_1 + 0xb)" * (cast_expression "(undefined1 *)(param_1 + 0xb)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xb)" ( (binary_expression "param_1 + 0xb" identifier + number_literal) )))) , (binary_expression "param_1 + 0x6c" identifier + number_literal) ))) ;) (expression_statement "pbVar11 = (byte *)0x0;" (assignment_expression "pbVar11 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }" else (compound_statement "{\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }" { (expression_statement "FUN_00028634(param_1);" (call_expression "FUN_00028634(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pbVar11 = (byte *)0x0;" (assignment_expression "pbVar11 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (goto_statement "goto LAB_0003eaf0;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);" statement_identifier : (expression_statement "iVar10 = (*pcVar7)(iVar16);" (assignment_expression "iVar10 = (*pcVar7)(iVar16)" identifier = (call_expression "(*pcVar7)(iVar16)" (parenthesized_expression "(*pcVar7)" ( (pointer_expression "*pcVar7" * identifier) )) (argument_list "(iVar16)" ( identifier )))) ;)) (if_statement "if (iVar10 == 0) goto LAB_0003eaf0;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003eaf0;" goto statement_identifier ;)) (if_statement "if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }" if (parenthesized_expression "((*(uint *)(param_1 + 0x58) & 0x40) != 0)" ( (binary_expression "(*(uint *)(param_1 + 0x58) & 0x40) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x58) & 0x40)" ( (binary_expression "*(uint *)(param_1 + 0x58) & 0x40" (pointer_expression "*(uint *)(param_1 + 0x58)" * (cast_expression "(uint *)(param_1 + 0x58)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }" { (expression_statement "(*(code *)PTR_puts_00190da0)(iVar16);" (call_expression "(*(code *)PTR_puts_00190da0)(iVar16)" (parenthesized_expression "(*(code *)PTR_puts_00190da0)" ( (pointer_expression "*(code *)PTR_puts_00190da0" * (cast_expression "(code *)PTR_puts_00190da0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar16)" ( identifier ))) ;) (expression_statement "pbVar11 = (byte *)0x0;" (assignment_expression "pbVar11 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_0003eaf0;" goto statement_identifier ;) })) }))) (labeled_statement "LAB_0003eaec:\n  pbVar11 = (byte *)0x0;" statement_identifier : (expression_statement "pbVar11 = (byte *)0x0;" (assignment_expression "pbVar11 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (labeled_statement "LAB_0003eaf0:\n  pbVar14 = pbVar11;" statement_identifier : (expression_statement "pbVar14 = pbVar11;" (assignment_expression "pbVar14 = pbVar11" identifier = identifier) ;)) (if_statement "if (((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))\n  goto LAB_0003eb1c;" if (parenthesized_expression "(((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))" ( (binary_expression "((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0)))" (parenthesized_expression "((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0))" ( (binary_expression "(iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)" (parenthesized_expression "(iVar17 != 0)" ( (binary_expression "iVar17 != 0" identifier != number_literal) )) && (parenthesized_expression "(*(int *)(PTR_DAT_00190948 + 0xf38) != 0)" ( (binary_expression "*(int *)(PTR_DAT_00190948 + 0xf38) != 0" (pointer_expression "*(int *)(PTR_DAT_00190948 + 0xf38)" * (cast_expression "(int *)(PTR_DAT_00190948 + 0xf38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190948 + 0xf38)" ( (binary_expression "PTR_DAT_00190948 + 0xf38" identifier + number_literal) )))) != number_literal) ))) )) && (parenthesized_expression "((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0)))" ( (parenthesized_expression "(*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))" ( (binary_expression "*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0)" (binary_expression "*(int *)(param_1 + 0x20) != 0" (pointer_expression "*(int *)(param_1 + 0x20)" * (cast_expression "(int *)(param_1 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))) != number_literal) || (parenthesized_expression "(*(int *)(PTR_DAT_00190948 + -4000) == 0)" ( (binary_expression "*(int *)(PTR_DAT_00190948 + -4000) == 0" (pointer_expression "*(int *)(PTR_DAT_00190948 + -4000)" * (cast_expression "(int *)(PTR_DAT_00190948 + -4000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_00190948 + -4000)" ( (binary_expression "PTR_DAT_00190948 + -4000" identifier + number_literal) )))) == number_literal) ))) )) ))) )) (goto_statement "goto LAB_0003eb1c;" goto statement_identifier ;)) (goto_statement "goto LAB_0003e9b0;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (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 IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (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 ( LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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) )))) != LIT) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }))) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (return_statement return (binary_expression LIT < IDENT) ;) })) (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 { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (goto_statement goto statement_identifier ;)) (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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (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 (pointer_expression * IDENT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) )))) & LIT) )) == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT != LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) )))) == (char_literal ' character ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (goto_statement goto statement_identifier ;)) (do_statement do (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (binary_expression IDENT + LIT) + IDENT) , IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT)) )))) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) + LIT) )))) != (char_literal ' character ')) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT == LIT)) ))) )) (goto_statement goto statement_identifier ;))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_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 (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (goto_statement goto statement_identifier ;)) (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) )) != LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (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) )) != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) (while_statement while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT)) )))) & LIT) )) != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (break_statement break ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (unary_expression - IDENT))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - 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 : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + IDENT) + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }))) (goto_statement goto statement_identifier ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (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) )) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_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) )))) == LIT) ))) )) ))) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })))
(function_definition "bool FUN_0003e914(int param_1)\n\n{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  byte *pbVar11;\n  byte *pbVar12;\n  undefined *puVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int iVar16;\n  int iVar17;\n  byte *pbVar18;\n  byte *local_3c;\n  undefined4 local_2c;\n  \n  puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;\n  puVar13 = PTR_LAB_00190954;\n  puVar2 = PTR_DAT_00190948;\n  iVar17 = 0;\n  pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014);\n  iVar16 = 0;\n  pbVar15 = (byte *)0x0;\n  puVar5 = PTR_DAT_00190948 + 0xf04;\n  puVar6 = PTR_DAT_00190948 + 0xf18;\n  local_2c = 0;\n  local_3c = (byte *)0x0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  pcVar7 = (code *)(puVar13 + 0x156c);\n  pbVar14 = (byte *)0x0;\nLAB_0003e9b0:\n  (*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));\n  if (*(int *)(param_1 + 0x20) == 0) {\n    puVar13 = puVar5;\n    if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }\n    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);\n    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);\n  }\n  else {\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }\n  if (pbVar15 == (byte *)0x0) {\n    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }\nLAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }\nLAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);\n    (*(code *)PTR_free_00190e38)(pbVar15);\n    return 0 < iVar17;\n  }\n  if (*(int *)(puVar2 + 0xf30) != 0) {\n    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;\n    *(undefined4 *)(puVar2 + 0xf30) = 0;\n  }\n  *(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1;\n  if (pbVar14 != (byte *)0x0) {\nLAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n    pbVar18 = pbVar15;\n    while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }\n    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;\n    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n    iVar10 = *piVar9;\n    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;\nLAB_0003ea78:\n    pbVar11 = pbVar15;\n    if (*pbVar15 == 0) goto LAB_0003ee2c;\n    do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );\n  }\n  iVar10 = (*pcVar7)(pbVar15);\n  pbVar11 = pbVar14;\n  if (iVar10 != 0) {\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }\n    goto LAB_0003eaf0;\n  }\n  if (*pbVar15 != 0x2e) {\n    if (*pbVar15 != 0x23) goto LAB_0003ea0c;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;\n    goto LAB_0003eaf0;\n  }\n  if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\nLAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);\n    if (*pbVar15 == 0x2e) goto LAB_0003ec98;\n    goto LAB_0003eaec;\n  }\nLAB_0003ec98:\n  pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);\n  if (pbVar11 != (byte *)0x2) {\n    if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }\n    goto LAB_0003eaf0;\n  }\n  goto LAB_0003eb38;\n  while ((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0) {\nLAB_0003ed18:\n    pbVar12 = pbVar12 + 1;\n    iVar10 = iVar10 + 1;\n    if (*pbVar12 == 0) break;\n  }\n  pbVar11 = pbVar18 + -iVar10;\nLAB_0003ed2c:\n  (*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));\n  local_2c = *(undefined4 *)(param_1 + 0x1c);\nLAB_0003eae4:\n  if (pbVar11 != (byte *)0x0) {\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }\nLAB_0003eaec:\n  pbVar11 = (byte *)0x0;\nLAB_0003eaf0:\n  pbVar14 = pbVar11;\n  if (((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))\n  goto LAB_0003eb1c;\n  goto LAB_0003e9b0;\n}" (primitive_type "bool") (function_declarator "FUN_0003e914(int param_1)" (identifier "FUN_0003e914") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  code *pcVar4;\n  undefined *puVar5;\n  undefined *puVar6;\n  code *pcVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  byte *pbVar11;\n  byte *pbVar12;\n  undefined *puVar13;\n  byte *pbVar14;\n  byte *pbVar15;\n  int iVar16;\n  int iVar17;\n  byte *pbVar18;\n  byte *local_3c;\n  undefined4 local_2c;\n  \n  puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;\n  puVar13 = PTR_LAB_00190954;\n  puVar2 = PTR_DAT_00190948;\n  iVar17 = 0;\n  pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014);\n  iVar16 = 0;\n  pbVar15 = (byte *)0x0;\n  puVar5 = PTR_DAT_00190948 + 0xf04;\n  puVar6 = PTR_DAT_00190948 + 0xf18;\n  local_2c = 0;\n  local_3c = (byte *)0x0;\n  *(undefined4 *)(param_1 + 0x1c) = 0;\n  pcVar7 = (code *)(puVar13 + 0x156c);\n  pbVar14 = (byte *)0x0;\nLAB_0003e9b0:\n  (*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));\n  if (*(int *)(param_1 + 0x20) == 0) {\n    puVar13 = puVar5;\n    if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }\n    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);\n    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);\n  }\n  else {\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }\n  if (pbVar15 == (byte *)0x0) {\n    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }\nLAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }\nLAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);\n    (*(code *)PTR_free_00190e38)(pbVar15);\n    return 0 < iVar17;\n  }\n  if (*(int *)(puVar2 + 0xf30) != 0) {\n    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;\n    *(undefined4 *)(puVar2 + 0xf30) = 0;\n  }\n  *(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1;\n  if (pbVar14 != (byte *)0x0) {\nLAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n    pbVar18 = pbVar15;\n    while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }\n    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;\n    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n    iVar10 = *piVar9;\n    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;\nLAB_0003ea78:\n    pbVar11 = pbVar15;\n    if (*pbVar15 == 0) goto LAB_0003ee2c;\n    do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );\n  }\n  iVar10 = (*pcVar7)(pbVar15);\n  pbVar11 = pbVar14;\n  if (iVar10 != 0) {\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }\n    goto LAB_0003eaf0;\n  }\n  if (*pbVar15 != 0x2e) {\n    if (*pbVar15 != 0x23) goto LAB_0003ea0c;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;\n    goto LAB_0003eaf0;\n  }\n  if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\nLAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);\n    if (*pbVar15 == 0x2e) goto LAB_0003ec98;\n    goto LAB_0003eaec;\n  }\nLAB_0003ec98:\n  pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);\n  if (pbVar11 != (byte *)0x2) {\n    if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }\n    goto LAB_0003eaf0;\n  }\n  goto LAB_0003eb38;\n  while ((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0) {\nLAB_0003ed18:\n    pbVar12 = pbVar12 + 1;\n    iVar10 = iVar10 + 1;\n    if (*pbVar12 == 0) break;\n  }\n  pbVar11 = pbVar18 + -iVar10;\nLAB_0003ed2c:\n  (*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));\n  local_2c = *(undefined4 *)(param_1 + 0x1c);\nLAB_0003eae4:\n  if (pbVar11 != (byte *)0x0) {\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }\nLAB_0003eaec:\n  pbVar11 = (byte *)0x0;\nLAB_0003eaf0:\n  pbVar14 = pbVar11;\n  if (((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))\n  goto LAB_0003eb1c;\n  goto LAB_0003e9b0;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "code *pcVar4;" (type_identifier "code") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined *puVar6;" (type_identifier "undefined") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "code *pcVar7;" (type_identifier "code") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "int *piVar9;" (primitive_type "int") (pointer_declarator "*piVar9" (* "*") (identifier "piVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "byte *pbVar11;" (type_identifier "byte") (pointer_declarator "*pbVar11" (* "*") (identifier "pbVar11")) (; ";")) (declaration "byte *pbVar12;" (type_identifier "byte") (pointer_declarator "*pbVar12" (* "*") (identifier "pbVar12")) (; ";")) (declaration "undefined *puVar13;" (type_identifier "undefined") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "byte *pbVar14;" (type_identifier "byte") (pointer_declarator "*pbVar14" (* "*") (identifier "pbVar14")) (; ";")) (declaration "byte *pbVar15;" (type_identifier "byte") (pointer_declarator "*pbVar15" (* "*") (identifier "pbVar15")) (; ";")) (declaration "int iVar16;" (primitive_type "int") (identifier "iVar16") (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "byte *pbVar18;" (type_identifier "byte") (pointer_declarator "*pbVar18" (* "*") (identifier "pbVar18")) (; ";")) (declaration "byte *local_3c;" (type_identifier "byte") (pointer_declarator "*local_3c" (* "*") (identifier "local_3c")) (; ";")) (declaration "undefined4 local_2c;" (type_identifier "undefined4") (identifier "local_2c") (; ";")) (expression_statement "puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;" (assignment_expression "puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c" (identifier "puVar3") (= "=") (identifier "PTR_s_o_page_from_root____pageno_INTEG_0019095c")) (; ";")) (expression_statement "puVar13 = PTR_LAB_00190954;" (assignment_expression "puVar13 = PTR_LAB_00190954" (identifier "puVar13") (= "=") (identifier "PTR_LAB_00190954")) (; ";")) (expression_statement "puVar2 = PTR_DAT_00190948;" (assignment_expression "puVar2 = PTR_DAT_00190948" (identifier "puVar2") (= "=") (identifier "PTR_DAT_00190948")) (; ";")) (expression_statement "iVar17 = 0;" (assignment_expression "iVar17 = 0" (identifier "iVar17") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014)" (identifier "pcVar4") (= "=") (cast_expression "(code *)(PTR_LAB_00190954 + 0x6014)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_00190954 + 0x6014)" (( "(") (binary_expression "PTR_LAB_00190954 + 0x6014" (identifier "PTR_LAB_00190954") (+ "+") (number_literal "0x6014")) () ")")))) (; ";")) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" (identifier "iVar16") (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar15 = (byte *)0x0;" (assignment_expression "pbVar15 = (byte *)0x0" (identifier "pbVar15") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "puVar5 = PTR_DAT_00190948 + 0xf04;" (assignment_expression "puVar5 = PTR_DAT_00190948 + 0xf04" (identifier "puVar5") (= "=") (binary_expression "PTR_DAT_00190948 + 0xf04" (identifier "PTR_DAT_00190948") (+ "+") (number_literal "0xf04"))) (; ";")) (expression_statement "puVar6 = PTR_DAT_00190948 + 0xf18;" (assignment_expression "puVar6 = PTR_DAT_00190948 + 0xf18" (identifier "puVar6") (= "=") (binary_expression "PTR_DAT_00190948 + 0xf18" (identifier "PTR_DAT_00190948") (+ "+") (number_literal "0xf18"))) (; ";")) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_3c = (byte *)0x0;" (assignment_expression "local_3c = (byte *)0x0" (identifier "local_3c") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar7 = (code *)(puVar13 + 0x156c);" (assignment_expression "pcVar7 = (code *)(puVar13 + 0x156c)" (identifier "pcVar7") (= "=") (cast_expression "(code *)(puVar13 + 0x156c)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar13 + 0x156c)" (( "(") (binary_expression "puVar13 + 0x156c" (identifier "puVar13") (+ "+") (number_literal "0x156c")) () ")")))) (; ";")) (expression_statement "pbVar14 = (byte *)0x0;" (assignment_expression "pbVar14 = (byte *)0x0" (identifier "pbVar14") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (labeled_statement "LAB_0003e9b0:\n  (*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));" (statement_identifier "LAB_0003e9b0") (: ":") (expression_statement "(*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));" (call_expression "(*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24))" (parenthesized_expression "(*(code *)PTR_fflush_00190e48)" (( "(") (pointer_expression "*(code *)PTR_fflush_00190e48" (* "*") (cast_expression "(code *)PTR_fflush_00190e48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fflush_00190e48"))) () ")")) (argument_list "(*(undefined4 *)(param_1 + 0x24))" (( "(") (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")) () ")")))) () ")"))) (; ";"))) (if_statement "if (*(int *)(param_1 + 0x20) == 0) {\n    puVar13 = puVar5;\n    if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }\n    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);\n    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);\n  }\n  else {\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x20) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x20) == 0" (pointer_expression "*(int *)(param_1 + 0x20)" (* "*") (cast_expression "(int *)(param_1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar13 = puVar5;\n    if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }\n    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);\n    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);\n    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);\n  }" ({ "{") (expression_statement "puVar13 = puVar5;" (assignment_expression "puVar13 = puVar5" (identifier "puVar13") (= "=") (identifier "puVar5")) (; ";")) (if_statement "if ((int)pbVar14 < 1) {\n      puVar13 = puVar6;\n    }" (if "if") (parenthesized_expression "((int)pbVar14 < 1)" (( "(") (binary_expression "(int)pbVar14 < 1" (cast_expression "(int)pbVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar14")) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      puVar13 = puVar6;\n    }" ({ "{") (expression_statement "puVar13 = puVar6;" (assignment_expression "puVar13 = puVar6" (identifier "puVar13") (= "=") (identifier "puVar6")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);" (call_expression "(*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13)" (parenthesized_expression "(*(code *)PTR___printf_chk_00190d34)" (( "(") (pointer_expression "*(code *)PTR___printf_chk_00190d34" (* "*") (cast_expression "(code *)PTR___printf_chk_00190d34" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___printf_chk_00190d34"))) () ")")) (argument_list "(1,puVar3 + -0x5dfc,puVar13)" (( "(") (number_literal "1") (, ",") (binary_expression "puVar3 + -0x5dfc" (identifier "puVar3") (+ "+") (number_literal "-0x5dfc")) (, ",") (identifier "puVar13") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);" (call_expression "(*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38)" (parenthesized_expression "(*(code *)PTR_fflush_00190e48)" (( "(") (pointer_expression "*(code *)PTR_fflush_00190e48" (* "*") (cast_expression "(code *)PTR_fflush_00190e48" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fflush_00190e48"))) () ")")) (argument_list "(*(undefined4 *)PTR_stdout_00190d38)" (( "(") (pointer_expression "*(undefined4 *)PTR_stdout_00190d38" (* "*") (cast_expression "(undefined4 *)PTR_stdout_00190d38" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stdout_00190d38"))) () ")"))) (; ";")) (expression_statement "pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);" (assignment_expression "pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70)" (identifier "pbVar15") (= "=") (cast_expression "(byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70)" (parenthesized_expression "(*pcVar4)" (( "(") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) () ")")) (argument_list "(pbVar15,*(undefined4 *)PTR_stdin_00190d70)" (( "(") (identifier "pbVar15") (, ",") (pointer_expression "*(undefined4 *)PTR_stdin_00190d70" (* "*") (cast_expression "(undefined4 *)PTR_stdin_00190d70" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stdin_00190d70"))) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }" (else "else") (compound_statement "{\n    pbVar15 = (byte *)(*pcVar4)(pbVar15);\n  }" ({ "{") (expression_statement "pbVar15 = (byte *)(*pcVar4)(pbVar15);" (assignment_expression "pbVar15 = (byte *)(*pcVar4)(pbVar15)" (identifier "pbVar15") (= "=") (cast_expression "(byte *)(*pcVar4)(pbVar15)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*pcVar4)(pbVar15)" (parenthesized_expression "(*pcVar4)" (( "(") (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) () ")")) (argument_list "(pbVar15)" (( "(") (identifier "pbVar15") () ")"))))) (; ";")) (} "}")))) (if_statement "if (pbVar15 == (byte *)0x0) {\n    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }\nLAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }\nLAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);\n    (*(code *)PTR_free_00190e38)(pbVar15);\n    return 0 < iVar17;\n  }" (if "if") (parenthesized_expression "(pbVar15 == (byte *)0x0)" (( "(") (binary_expression "pbVar15 == (byte *)0x0" (identifier "pbVar15") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }\nLAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }\nLAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);\n    (*(code *)PTR_free_00190e38)(pbVar15);\n    return 0 < iVar17;\n  }" ({ "{") (if_statement "if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {\n      (*(code *)PTR_putchar_00190d50)(10);\n    }" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0))" (( "(") (binary_expression "(*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x20) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x20) == 0" (pointer_expression "*(int *)(param_1 + 0x20)" (* "*") (cast_expression "(int *)(param_1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(PTR_DAT_00190948 + -4000) != 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_00190948 + -4000) != 0" (pointer_expression "*(int *)(PTR_DAT_00190948 + -4000)" (* "*") (cast_expression "(int *)(PTR_DAT_00190948 + -4000)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00190948 + -4000)" (( "(") (binary_expression "PTR_DAT_00190948 + -4000" (identifier "PTR_DAT_00190948") (+ "+") (number_literal "-4000")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      (*(code *)PTR_putchar_00190d50)(10);\n    }" ({ "{") (expression_statement "(*(code *)PTR_putchar_00190d50)(10);" (call_expression "(*(code *)PTR_putchar_00190d50)(10)" (parenthesized_expression "(*(code *)PTR_putchar_00190d50)" (( "(") (pointer_expression "*(code *)PTR_putchar_00190d50" (* "*") (cast_expression "(code *)PTR_putchar_00190d50" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_putchar_00190d50"))) () ")")) (argument_list "(10)" (( "(") (number_literal "10") () ")"))) (; ";")) (} "}"))) (labeled_statement "LAB_0003eb1c:\n    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }" (statement_identifier "LAB_0003eb1c") (: ":") (if_statement "if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }" (if "if") (parenthesized_expression "((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0))" (( "(") (binary_expression "(pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)" (parenthesized_expression "(pbVar14 != (byte *)0x0)" (( "(") (binary_expression "pbVar14 != (byte *)0x0" (identifier "pbVar14") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar10 = FUN_0002156c(iVar16), iVar10 == 0)" (( "(") (comma_expression "iVar10 = FUN_0002156c(iVar16), iVar10 == 0" (assignment_expression "iVar10 = FUN_0002156c(iVar16)" (identifier "iVar10") (= "=") (call_expression "FUN_0002156c(iVar16)" (identifier "FUN_0002156c") (argument_list "(iVar16)" (( "(") (identifier "iVar16") () ")")))) (, ",") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n      iVar17 = iVar17 + iVar10;\n    }" ({ "{") (expression_statement "iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);" (assignment_expression "iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" (identifier "iVar10") (= "=") (call_expression "FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" (identifier "FUN_00034f84") (argument_list "(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" (( "(") (identifier "param_1") (, ",") (identifier "iVar16") (, ",") (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")) () ")")))) (, ",") (identifier "local_2c") () ")")))) (; ";")) (expression_statement "iVar17 = iVar17 + iVar10;" (assignment_expression "iVar17 = iVar17 + iVar10" (identifier "iVar17") (= "=") (binary_expression "iVar17 + iVar10" (identifier "iVar17") (+ "+") (identifier "iVar10"))) (; ";")) (} "}")))) (labeled_statement "LAB_0003eb38:\n    (*(code *)PTR_free_00190e38)(iVar16);" (statement_identifier "LAB_0003eb38") (: ":") (expression_statement "(*(code *)PTR_free_00190e38)(iVar16);" (call_expression "(*(code *)PTR_free_00190e38)(iVar16)" (parenthesized_expression "(*(code *)PTR_free_00190e38)" (( "(") (pointer_expression "*(code *)PTR_free_00190e38" (* "*") (cast_expression "(code *)PTR_free_00190e38" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_00190e38"))) () ")")) (argument_list "(iVar16)" (( "(") (identifier "iVar16") () ")"))) (; ";"))) (expression_statement "(*(code *)PTR_free_00190e38)(pbVar15);" (call_expression "(*(code *)PTR_free_00190e38)(pbVar15)" (parenthesized_expression "(*(code *)PTR_free_00190e38)" (( "(") (pointer_expression "*(code *)PTR_free_00190e38" (* "*") (cast_expression "(code *)PTR_free_00190e38" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_00190e38"))) () ")")) (argument_list "(pbVar15)" (( "(") (identifier "pbVar15") () ")"))) (; ";")) (return_statement "return 0 < iVar17;" (return "return") (binary_expression "0 < iVar17" (number_literal "0") (< "<") (identifier "iVar17")) (; ";")) (} "}"))) (if_statement "if (*(int *)(puVar2 + 0xf30) != 0) {\n    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;\n    *(undefined4 *)(puVar2 + 0xf30) = 0;\n  }" (if "if") (parenthesized_expression "(*(int *)(puVar2 + 0xf30) != 0)" (( "(") (binary_expression "*(int *)(puVar2 + 0xf30) != 0" (pointer_expression "*(int *)(puVar2 + 0xf30)" (* "*") (cast_expression "(int *)(puVar2 + 0xf30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 0xf30)" (( "(") (binary_expression "puVar2 + 0xf30" (identifier "puVar2") (+ "+") (number_literal "0xf30")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;\n    *(undefined4 *)(puVar2 + 0xf30) = 0;\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x20) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x20) != 0" (pointer_expression "*(int *)(param_1 + 0x20)" (* "*") (cast_expression "(int *)(param_1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003eb1c;" (goto "goto") (statement_identifier "LAB_0003eb1c") (; ";"))) (expression_statement "*(undefined4 *)(puVar2 + 0xf30) = 0;" (assignment_expression "*(undefined4 *)(puVar2 + 0xf30) = 0" (pointer_expression "*(undefined4 *)(puVar2 + 0xf30)" (* "*") (cast_expression "(undefined4 *)(puVar2 + 0xf30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + 0xf30)" (( "(") (binary_expression "puVar2 + 0xf30" (identifier "puVar2") (+ "+") (number_literal "0xf30")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "*(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1;" (assignment_expression "*(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x1c) + 1" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (pbVar14 != (byte *)0x0) {\nLAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n    pbVar18 = pbVar15;\n    while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }\n    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;\n    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n    iVar10 = *piVar9;\n    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;\nLAB_0003ea78:\n    pbVar11 = pbVar15;\n    if (*pbVar15 == 0) goto LAB_0003ee2c;\n    do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );\n  }" (if "if") (parenthesized_expression "(pbVar14 != (byte *)0x0)" (( "(") (binary_expression "pbVar14 != (byte *)0x0" (identifier "pbVar14") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();\n    pbVar18 = pbVar15;\n    while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }\n    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;\n    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();\n    iVar10 = *piVar9;\n    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;\nLAB_0003ea78:\n    pbVar11 = pbVar15;\n    if (*pbVar15 == 0) goto LAB_0003ee2c;\n    do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );\n  }" ({ "{") (labeled_statement "LAB_0003ea0c:\n    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();" (statement_identifier "LAB_0003ea0c") (: ":") (expression_statement "piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();" (assignment_expression "piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)()" (identifier "piVar8") (= "=") (cast_expression "(int *)(*(code *)PTR___ctype_b_loc_00190cc0)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___ctype_b_loc_00190cc0)()" (parenthesized_expression "(*(code *)PTR___ctype_b_loc_00190cc0)" (( "(") (pointer_expression "*(code *)PTR___ctype_b_loc_00190cc0" (* "*") (cast_expression "(code *)PTR___ctype_b_loc_00190cc0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___ctype_b_loc_00190cc0"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";"))) (expression_statement "pbVar18 = pbVar15;" (assignment_expression "pbVar18 = pbVar15" (identifier "pbVar18") (= "=") (identifier "pbVar15")) (; ";")) (while_statement "while( true ) {\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      bVar1 = *pbVar18;\n      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;\n      pbVar18 = pbVar18 + 1;\n    }" ({ "{") (expression_statement "bVar1 = *pbVar18;" (assignment_expression "bVar1 = *pbVar18" (identifier "bVar1") (= "=") (pointer_expression "*pbVar18" (* "*") (identifier "pbVar18"))) (; ";")) (if_statement "if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;" (if "if") (parenthesized_expression "((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0)" (( "(") (binary_expression "(*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0" (parenthesized_expression "(*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20)" (( "(") (binary_expression "*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar8 + (uint)bVar1 * 2)" (* "*") (cast_expression "(ushort *)(*piVar8 + (uint)bVar1 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar8 + (uint)bVar1 * 2)" (( "(") (binary_expression "*piVar8 + (uint)bVar1 * 2" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (+ "+") (binary_expression "(uint)bVar1 * 2" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pbVar18 = pbVar18 + 1;" (assignment_expression "pbVar18 = pbVar18 + 1" (identifier "pbVar18") (= "=") (binary_expression "pbVar18 + 1" (identifier "pbVar18") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;" (if "if") (parenthesized_expression "((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0))" (( "(") (binary_expression "(bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)" (parenthesized_expression "(bVar1 == 0x2f)" (( "(") (binary_expression "bVar1 == 0x2f" (identifier "bVar1") (== "==") (number_literal "0x2f")) () ")")) (&& "&&") (parenthesized_expression "(iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)" (( "(") (comma_expression "iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0" (assignment_expression "iVar10 = (*pcVar7)(pbVar18 + 1)" (identifier "iVar10") (= "=") (call_expression "(*pcVar7)(pbVar18 + 1)" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "(pbVar18 + 1)" (( "(") (binary_expression "pbVar18 + 1" (identifier "pbVar18") (+ "+") (number_literal "1")) () ")")))) (, ",") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_0003ede4;" (goto "goto") (statement_identifier "LAB_0003ede4") (; ";"))) (expression_statement "piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();" (assignment_expression "piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)()" (identifier "piVar9") (= "=") (cast_expression "(int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___ctype_tolower_loc_00190cc4)()" (parenthesized_expression "(*(code *)PTR___ctype_tolower_loc_00190cc4)" (( "(") (pointer_expression "*(code *)PTR___ctype_tolower_loc_00190cc4" (* "*") (cast_expression "(code *)PTR___ctype_tolower_loc_00190cc4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___ctype_tolower_loc_00190cc4"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "iVar10 = *piVar9;" (assignment_expression "iVar10 = *piVar9" (identifier "iVar10") (= "=") (pointer_expression "*piVar9" (* "*") (identifier "piVar9"))) (; ";")) (if_statement "if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;" (if "if") (parenthesized_expression "(*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g')" (( "(") (binary_expression "*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g'" (pointer_expression "*(char *)(iVar10 + (uint)bVar1 * 4 + 3)" (* "*") (cast_expression "(char *)(iVar10 + (uint)bVar1 * 4 + 3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + (uint)bVar1 * 4 + 3)" (( "(") (binary_expression "iVar10 + (uint)bVar1 * 4 + 3" (binary_expression "iVar10 + (uint)bVar1 * 4" (identifier "iVar10") (+ "+") (binary_expression "(uint)bVar1 * 4" (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1")) (* "*") (number_literal "4"))) (+ "+") (number_literal "3")) () ")")))) (== "==") (char_literal "'g'" (' "'") (character "g") (' "'"))) () ")")) (goto_statement "goto LAB_0003edb8;" (goto "goto") (statement_identifier "LAB_0003edb8") (; ";"))) (labeled_statement "LAB_0003ea78:\n    pbVar11 = pbVar15;" (statement_identifier "LAB_0003ea78") (: ":") (expression_statement "pbVar11 = pbVar15;" (assignment_expression "pbVar11 = pbVar15" (identifier "pbVar11") (= "=") (identifier "pbVar15")) (; ";"))) (if_statement "if (*pbVar15 == 0) goto LAB_0003ee2c;" (if "if") (parenthesized_expression "(*pbVar15 == 0)" (( "(") (binary_expression "*pbVar15 == 0" (pointer_expression "*pbVar15" (* "*") (identifier "pbVar15")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003ee2c;" (goto "goto") (statement_identifier "LAB_0003ee2c") (; ";"))) (do_statement "do {\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    } while( true );" (do "do") (compound_statement "{\n      do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);\n      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);\n      pbVar11 = pbVar14 + (int)pbVar18;\n      while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }\n    }" ({ "{") (do_statement "do {\n        pbVar11 = pbVar11 + 1;\n      } while (*pbVar11 != 0);" (do "do") (compound_statement "{\n        pbVar11 = pbVar11 + 1;\n      }" ({ "{") (expression_statement "pbVar11 = pbVar11 + 1;" (assignment_expression "pbVar11 = pbVar11 + 1" (identifier "pbVar11") (= "=") (binary_expression "pbVar11 + 1" (identifier "pbVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*pbVar11 != 0)" (( "(") (binary_expression "*pbVar11 != 0" (pointer_expression "*pbVar11" (* "*") (identifier "pbVar11")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);" (assignment_expression "pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff)" (identifier "pbVar18") (= "=") (cast_expression "(byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)pbVar11 - (int)pbVar15 & 0x3fffffff)" (( "(") (binary_expression "(int)pbVar11 - (int)pbVar15 & 0x3fffffff" (binary_expression "(int)pbVar11 - (int)pbVar15" (cast_expression "(int)pbVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar11")) (- "-") (cast_expression "(int)pbVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar15"))) (& "&") (number_literal "0x3fffffff")) () ")")))) (; ";")) (expression_statement "pbVar11 = pbVar14 + (int)pbVar18;" (assignment_expression "pbVar11 = pbVar14 + (int)pbVar18" (identifier "pbVar11") (= "=") (binary_expression "pbVar14 + (int)pbVar18" (identifier "pbVar14") (+ "+") (cast_expression "(int)pbVar18" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar18")))) (; ";")) (while_statement "while( true ) {\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        pbVar12 = pbVar11 + 100;\n        if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }\n        iVar10 = FUN_00023f24();\nLAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;\nLAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;\n        if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }\n        pbVar15[1] = 0;\n        *pbVar15 = 0x3b;\n        pbVar11 = pbVar15;\n        if (*pbVar15 != 0) break;\nLAB_0003ee2c:\n        pbVar18 = (byte *)0x0;\n        pbVar11 = pbVar14;\n      }" ({ "{") (expression_statement "pbVar12 = pbVar11 + 100;" (assignment_expression "pbVar12 = pbVar11 + 100" (identifier "pbVar12") (= "=") (binary_expression "pbVar11 + 100" (identifier "pbVar11") (+ "+") (number_literal "100"))) (; ";")) (if_statement "if (((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)) {\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }" (if "if") (parenthesized_expression "(((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0))" (( "(") (binary_expression "((int)(pbVar11 + 2) < (int)local_3c) ||\n           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)" (parenthesized_expression "((int)(pbVar11 + 2) < (int)local_3c)" (( "(") (binary_expression "(int)(pbVar11 + 2) < (int)local_3c" (cast_expression "(int)(pbVar11 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pbVar11 + 2)" (( "(") (binary_expression "pbVar11 + 2" (identifier "pbVar11") (+ "+") (number_literal "2")) () ")"))) (< "<") (cast_expression "(int)local_3c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_3c"))) () ")")) (|| "||") (parenthesized_expression "(iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0)" (( "(") (comma_expression "iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,\n           iVar16 != 0" (assignment_expression "iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12)" (identifier "iVar16") (= "=") (call_expression "(*(code *)PTR_realloc_00190da8)(iVar16,pbVar12)" (parenthesized_expression "(*(code *)PTR_realloc_00190da8)" (( "(") (pointer_expression "*(code *)PTR_realloc_00190da8" (* "*") (cast_expression "(code *)PTR_realloc_00190da8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_realloc_00190da8"))) () ")")) (argument_list "(iVar16,pbVar12)" (( "(") (identifier "iVar16") (, ",") (identifier "pbVar12") () ")")))) (, ",") (comma_expression "local_3c = pbVar12,\n           iVar16 != 0" (assignment_expression "local_3c = pbVar12" (identifier "local_3c") (= "=") (identifier "pbVar12")) (, ",") (binary_expression "iVar16 != 0" (identifier "iVar16") (!= "!=") (number_literal "0")))) () ")"))) () ")")) (compound_statement "{\n          puVar13 = PTR_memcpy_00190e2c;\n          if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }\n          pbVar12 = pbVar15;\n          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }\n          iVar10 = 0;\n          pbVar11 = pbVar18;\n          goto LAB_0003ed2c;\n        }" ({ "{") (expression_statement "puVar13 = PTR_memcpy_00190e2c;" (assignment_expression "puVar13 = PTR_memcpy_00190e2c" (identifier "puVar13") (= "=") (identifier "PTR_memcpy_00190e2c")) (; ";")) (if_statement "if (pbVar14 != (byte *)0x0) {\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }" (if "if") (parenthesized_expression "(pbVar14 != (byte *)0x0)" (( "(") (binary_expression "pbVar14 != (byte *)0x0" (identifier "pbVar14") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            pbVar14[iVar16] = 10;\n            pbVar11 = pbVar18 + (int)(pbVar14 + 1);\n            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);\n            goto LAB_0003eae4;\n          }" ({ "{") (expression_statement "pbVar14[iVar16] = 10;" (assignment_expression "pbVar14[iVar16] = 10" (subscript_expression "pbVar14[iVar16]" (identifier "pbVar14") ([ "[") (identifier "iVar16") (] "]")) (= "=") (number_literal "10")) (; ";")) (expression_statement "pbVar11 = pbVar18 + (int)(pbVar14 + 1);" (assignment_expression "pbVar11 = pbVar18 + (int)(pbVar14 + 1)" (identifier "pbVar11") (= "=") (binary_expression "pbVar18 + (int)(pbVar14 + 1)" (identifier "pbVar18") (+ "+") (cast_expression "(int)(pbVar14 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(pbVar14 + 1)" (( "(") (binary_expression "pbVar14 + 1" (identifier "pbVar14") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "(*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);" (call_expression "(*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15)" (parenthesized_expression "(*(code *)puVar13)" (( "(") (pointer_expression "*(code *)puVar13" (* "*") (cast_expression "(code *)puVar13" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar13"))) () ")")) (argument_list "(pbVar14 + 1 + iVar16,pbVar15)" (( "(") (binary_expression "pbVar14 + 1 + iVar16" (binary_expression "pbVar14 + 1" (identifier "pbVar14") (+ "+") (number_literal "1")) (+ "+") (identifier "iVar16")) (, ",") (identifier "pbVar15") () ")"))) (; ";")) (goto_statement "goto LAB_0003eae4;" (goto "goto") (statement_identifier "LAB_0003eae4") (; ";")) (} "}"))) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" (identifier "pbVar12") (= "=") (identifier "pbVar15")) (; ";")) (if_statement "if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }" (if "if") (parenthesized_expression "((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0))" (( "(") (binary_expression "(*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)" (parenthesized_expression "(*pbVar15 != 0)" (( "(") (binary_expression "*pbVar15 != 0" (pointer_expression "*pbVar15" (* "*") (identifier "pbVar15")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)" (( "(") (binary_expression "(*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0" (parenthesized_expression "(*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20)" (( "(") (binary_expression "*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar8 + (uint)*pbVar15 * 2)" (* "*") (cast_expression "(ushort *)(*piVar8 + (uint)*pbVar15 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar8 + (uint)*pbVar15 * 2)" (( "(") (binary_expression "*piVar8 + (uint)*pbVar15 * 2" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (+ "+") (binary_expression "(uint)*pbVar15 * 2" (binary_expression "(uint)*pbVar15" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar15")) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n            iVar10 = 0;\n            goto LAB_0003ed18;\n          }" ({ "{") (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0003ed18;" (goto "goto") (statement_identifier "LAB_0003ed18") (; ";")) (} "}"))) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar11 = pbVar18;" (assignment_expression "pbVar11 = pbVar18" (identifier "pbVar11") (= "=") (identifier "pbVar18")) (; ";")) (goto_statement "goto LAB_0003ed2c;" (goto "goto") (statement_identifier "LAB_0003ed2c") (; ";")) (} "}"))) (expression_statement "iVar10 = FUN_00023f24();" (assignment_expression "iVar10 = FUN_00023f24()" (identifier "iVar10") (= "=") (call_expression "FUN_00023f24()" (identifier "FUN_00023f24") (argument_list "()" (( "(") () ")")))) (; ";")) (labeled_statement "LAB_0003edb8:\n        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;" (statement_identifier "LAB_0003edb8") (: ":") (if_statement "if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;" (if "if") (parenthesized_expression "((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0))" (( "(") (binary_expression "(*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||\n           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)" (parenthesized_expression "(*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o')" (( "(") (binary_expression "*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o'" (pointer_expression "*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3)" (* "*") (cast_expression "(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + (uint)pbVar18[1] * 4 + 3)" (( "(") (binary_expression "iVar10 + (uint)pbVar18[1] * 4 + 3" (binary_expression "iVar10 + (uint)pbVar18[1] * 4" (identifier "iVar10") (+ "+") (binary_expression "(uint)pbVar18[1] * 4" (cast_expression "(uint)pbVar18[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar18[1]" (identifier "pbVar18") ([ "[") (number_literal "1") (] "]"))) (* "*") (number_literal "4"))) (+ "+") (number_literal "3")) () ")")))) (!= "!=") (char_literal "'o'" (' "'") (character "o") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)" (( "(") (comma_expression "iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0" (assignment_expression "iVar10 = (*pcVar7)(pbVar18 + 2)" (identifier "iVar10") (= "=") (call_expression "(*pcVar7)(pbVar18 + 2)" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "(pbVar18 + 2)" (( "(") (binary_expression "pbVar18 + 2" (identifier "pbVar18") (+ "+") (number_literal "2")) () ")")))) (, ",") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_0003ea78;" (goto "goto") (statement_identifier "LAB_0003ea78") (; ";")))) (labeled_statement "LAB_0003ede4:\n        pbVar11 = pbVar14 + iVar16;" (statement_identifier "LAB_0003ede4") (: ":") (expression_statement "pbVar11 = pbVar14 + iVar16;" (assignment_expression "pbVar11 = pbVar14 + iVar16" (identifier "pbVar11") (= "=") (binary_expression "pbVar14 + iVar16" (identifier "pbVar14") (+ "+") (identifier "iVar16"))) (; ";"))) (if_statement "if (iVar16 != 0) {\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }" (if "if") (parenthesized_expression "(iVar16 != 0)" (( "(") (binary_expression "iVar16 != 0" (identifier "iVar16") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          *pbVar11 = 0x3b;\n          pbVar11[1] = 0;\n          iVar10 = sqlite3_complete(iVar16);\n          *pbVar11 = 0;\n          if (iVar10 == 0) goto LAB_0003ea78;\n        }" ({ "{") (expression_statement "*pbVar11 = 0x3b;" (assignment_expression "*pbVar11 = 0x3b" (pointer_expression "*pbVar11" (* "*") (identifier "pbVar11")) (= "=") (number_literal "0x3b")) (; ";")) (expression_statement "pbVar11[1] = 0;" (assignment_expression "pbVar11[1] = 0" (subscript_expression "pbVar11[1]" (identifier "pbVar11") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar10 = sqlite3_complete(iVar16);" (assignment_expression "iVar10 = sqlite3_complete(iVar16)" (identifier "iVar10") (= "=") (call_expression "sqlite3_complete(iVar16)" (identifier "sqlite3_complete") (argument_list "(iVar16)" (( "(") (identifier "iVar16") () ")")))) (; ";")) (expression_statement "*pbVar11 = 0;" (assignment_expression "*pbVar11 = 0" (pointer_expression "*pbVar11" (* "*") (identifier "pbVar11")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar10 == 0) goto LAB_0003ea78;" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003ea78;" (goto "goto") (statement_identifier "LAB_0003ea78") (; ";"))) (} "}"))) (expression_statement "pbVar15[1] = 0;" (assignment_expression "pbVar15[1] = 0" (subscript_expression "pbVar15[1]" (identifier "pbVar15") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*pbVar15 = 0x3b;" (assignment_expression "*pbVar15 = 0x3b" (pointer_expression "*pbVar15" (* "*") (identifier "pbVar15")) (= "=") (number_literal "0x3b")) (; ";")) (expression_statement "pbVar11 = pbVar15;" (assignment_expression "pbVar11 = pbVar15" (identifier "pbVar11") (= "=") (identifier "pbVar15")) (; ";")) (if_statement "if (*pbVar15 != 0) break;" (if "if") (parenthesized_expression "(*pbVar15 != 0)" (( "(") (binary_expression "*pbVar15 != 0" (pointer_expression "*pbVar15" (* "*") (identifier "pbVar15")) (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_0003ee2c:\n        pbVar18 = (byte *)0x0;" (statement_identifier "LAB_0003ee2c") (: ":") (expression_statement "pbVar18 = (byte *)0x0;" (assignment_expression "pbVar18 = (byte *)0x0" (identifier "pbVar18") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";"))) (expression_statement "pbVar11 = pbVar14;" (assignment_expression "pbVar11 = pbVar14" (identifier "pbVar11") (= "=") (identifier "pbVar14")) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "iVar10 = (*pcVar7)(pbVar15);" (assignment_expression "iVar10 = (*pcVar7)(pbVar15)" (identifier "iVar10") (= "=") (call_expression "(*pcVar7)(pbVar15)" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "(pbVar15)" (( "(") (identifier "pbVar15") () ")")))) (; ";")) (expression_statement "pbVar11 = pbVar14;" (assignment_expression "pbVar11 = pbVar14" (identifier "pbVar11") (= "=") (identifier "pbVar14")) (; ";")) (if_statement "if (iVar10 != 0) {\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }\n    goto LAB_0003eaf0;\n  }" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }\n    goto LAB_0003eaf0;\n  }" ({ "{") (if_statement "if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }" (if "if") (parenthesized_expression "((*(uint *)(param_1 + 0x58) & 0x40) != 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0x58) & 0x40) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x58) & 0x40)" (( "(") (binary_expression "*(uint *)(param_1 + 0x58) & 0x40" (pointer_expression "*(uint *)(param_1 + 0x58)" (* "*") (cast_expression "(uint *)(param_1 + 0x58)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_puts_00190da0)(pbVar15);\n    }" ({ "{") (expression_statement "(*(code *)PTR_puts_00190da0)(pbVar15);" (call_expression "(*(code *)PTR_puts_00190da0)(pbVar15)" (parenthesized_expression "(*(code *)PTR_puts_00190da0)" (( "(") (pointer_expression "*(code *)PTR_puts_00190da0" (* "*") (cast_expression "(code *)PTR_puts_00190da0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_00190da0"))) () ")")) (argument_list "(pbVar15)" (( "(") (identifier "pbVar15") () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_0003eaf0;" (goto "goto") (statement_identifier "LAB_0003eaf0") (; ";")) (} "}"))) (if_statement "if (*pbVar15 != 0x2e) {\n    if (*pbVar15 != 0x23) goto LAB_0003ea0c;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;\n    goto LAB_0003eaf0;\n  }" (if "if") (parenthesized_expression "(*pbVar15 != 0x2e)" (( "(") (binary_expression "*pbVar15 != 0x2e" (pointer_expression "*pbVar15" (* "*") (identifier "pbVar15")) (!= "!=") (number_literal "0x2e")) () ")")) (compound_statement "{\n    if (*pbVar15 != 0x23) goto LAB_0003ea0c;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;\n    goto LAB_0003eaf0;\n  }" ({ "{") (if_statement "if (*pbVar15 != 0x23) goto LAB_0003ea0c;" (if "if") (parenthesized_expression "(*pbVar15 != 0x23)" (( "(") (binary_expression "*pbVar15 != 0x23" (pointer_expression "*pbVar15" (* "*") (identifier "pbVar15")) (!= "!=") (number_literal "0x23")) () ")")) (goto_statement "goto LAB_0003ea0c;" (goto "goto") (statement_identifier "LAB_0003ea0c") (; ";"))) (if_statement "if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;" (if "if") (parenthesized_expression "((*(uint *)(param_1 + 0x58) & 0x40) != 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0x58) & 0x40) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x58) & 0x40)" (( "(") (binary_expression "*(uint *)(param_1 + 0x58) & 0x40" (pointer_expression "*(uint *)(param_1 + 0x58)" (* "*") (cast_expression "(uint *)(param_1 + 0x58)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003ed64;" (goto "goto") (statement_identifier "LAB_0003ed64") (; ";"))) (goto_statement "goto LAB_0003eaf0;" (goto "goto") (statement_identifier "LAB_0003eaf0") (; ";")) (} "}"))) (if_statement "if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\nLAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);\n    if (*pbVar15 == 0x2e) goto LAB_0003ec98;\n    goto LAB_0003eaec;\n  }" (if "if") (parenthesized_expression "((*(uint *)(param_1 + 0x58) & 0x40) != 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0x58) & 0x40) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x58) & 0x40)" (( "(") (binary_expression "*(uint *)(param_1 + 0x58) & 0x40" (pointer_expression "*(uint *)(param_1 + 0x58)" (* "*") (cast_expression "(uint *)(param_1 + 0x58)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);\n    if (*pbVar15 == 0x2e) goto LAB_0003ec98;\n    goto LAB_0003eaec;\n  }" ({ "{") (labeled_statement "LAB_0003ed64:\n    (*(code *)PTR_puts_00190da0)(pbVar15);" (statement_identifier "LAB_0003ed64") (: ":") (expression_statement "(*(code *)PTR_puts_00190da0)(pbVar15);" (call_expression "(*(code *)PTR_puts_00190da0)(pbVar15)" (parenthesized_expression "(*(code *)PTR_puts_00190da0)" (( "(") (pointer_expression "*(code *)PTR_puts_00190da0" (* "*") (cast_expression "(code *)PTR_puts_00190da0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_00190da0"))) () ")")) (argument_list "(pbVar15)" (( "(") (identifier "pbVar15") () ")"))) (; ";"))) (if_statement "if (*pbVar15 == 0x2e) goto LAB_0003ec98;" (if "if") (parenthesized_expression "(*pbVar15 == 0x2e)" (( "(") (binary_expression "*pbVar15 == 0x2e" (pointer_expression "*pbVar15" (* "*") (identifier "pbVar15")) (== "==") (number_literal "0x2e")) () ")")) (goto_statement "goto LAB_0003ec98;" (goto "goto") (statement_identifier "LAB_0003ec98") (; ";"))) (goto_statement "goto LAB_0003eaec;" (goto "goto") (statement_identifier "LAB_0003eaec") (; ";")) (} "}"))) (labeled_statement "LAB_0003ec98:\n  pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);" (statement_identifier "LAB_0003ec98") (: ":") (expression_statement "pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);" (assignment_expression "pbVar11 = (byte *)FUN_00036100(pbVar15,param_1)" (identifier "pbVar11") (= "=") (cast_expression "(byte *)FUN_00036100(pbVar15,param_1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00036100(pbVar15,param_1)" (identifier "FUN_00036100") (argument_list "(pbVar15,param_1)" (( "(") (identifier "pbVar15") (, ",") (identifier "param_1") () ")"))))) (; ";"))) (if_statement "if (pbVar11 != (byte *)0x2) {\n    if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }\n    goto LAB_0003eaf0;\n  }" (if "if") (parenthesized_expression "(pbVar11 != (byte *)0x2)" (( "(") (binary_expression "pbVar11 != (byte *)0x2" (identifier "pbVar11") (!= "!=") (cast_expression "(byte *)0x2" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x2"))) () ")")) (compound_statement "{\n    if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }\n    goto LAB_0003eaf0;\n  }" ({ "{") (if_statement "if (pbVar11 != (byte *)0x0) {\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }" (if "if") (parenthesized_expression "(pbVar11 != (byte *)0x0)" (( "(") (binary_expression "pbVar11 != (byte *)0x0" (identifier "pbVar11") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar17 = iVar17 + 1;\n      pbVar11 = (byte *)0x0;\n    }" ({ "{") (expression_statement "iVar17 = iVar17 + 1;" (assignment_expression "iVar17 = iVar17 + 1" (identifier "iVar17") (= "=") (binary_expression "iVar17 + 1" (identifier "iVar17") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar11 = (byte *)0x0;" (assignment_expression "pbVar11 = (byte *)0x0" (identifier "pbVar11") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (goto_statement "goto LAB_0003eaf0;" (goto "goto") (statement_identifier "LAB_0003eaf0") (; ";")) (} "}"))) (goto_statement "goto LAB_0003eb38;" (goto "goto") (statement_identifier "LAB_0003eb38") (; ";")) (while_statement "while ((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0) {\nLAB_0003ed18:\n    pbVar12 = pbVar12 + 1;\n    iVar10 = iVar10 + 1;\n    if (*pbVar12 == 0) break;\n  }" (while "while") (parenthesized_expression "((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0)" (( "(") (binary_expression "(*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0" (parenthesized_expression "(*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20)" (( "(") (binary_expression "*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20" (pointer_expression "*(ushort *)(*piVar8 + (uint)*pbVar12 * 2)" (* "*") (cast_expression "(ushort *)(*piVar8 + (uint)*pbVar12 * 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar8 + (uint)*pbVar12 * 2)" (( "(") (binary_expression "*piVar8 + (uint)*pbVar12 * 2" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (+ "+") (binary_expression "(uint)*pbVar12 * 2" (binary_expression "(uint)*pbVar12" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar12")) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0003ed18:\n    pbVar12 = pbVar12 + 1;\n    iVar10 = iVar10 + 1;\n    if (*pbVar12 == 0) break;\n  }" ({ "{") (labeled_statement "LAB_0003ed18:\n    pbVar12 = pbVar12 + 1;" (statement_identifier "LAB_0003ed18") (: ":") (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" (identifier "pbVar12") (= "=") (binary_expression "pbVar12 + 1" (identifier "pbVar12") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*pbVar12 == 0) break;" (if "if") (parenthesized_expression "(*pbVar12 == 0)" (( "(") (binary_expression "*pbVar12 == 0" (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}"))) (expression_statement "pbVar11 = pbVar18 + -iVar10;" (assignment_expression "pbVar11 = pbVar18 + -iVar10" (identifier "pbVar11") (= "=") (binary_expression "pbVar18 + -iVar10" (identifier "pbVar18") (+ "+") (unary_expression "-iVar10" (- "-") (identifier "iVar10")))) (; ";")) (labeled_statement "LAB_0003ed2c:\n  (*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));" (statement_identifier "LAB_0003ed2c") (: ":") (expression_statement "(*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));" (call_expression "(*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10))" (parenthesized_expression "(*(code *)PTR_memcpy_00190e2c)" (( "(") (pointer_expression "*(code *)PTR_memcpy_00190e2c" (* "*") (cast_expression "(code *)PTR_memcpy_00190e2c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_00190e2c"))) () ")")) (argument_list "(iVar16,pbVar12,pbVar18 + (1 - iVar10))" (( "(") (identifier "iVar16") (, ",") (identifier "pbVar12") (, ",") (binary_expression "pbVar18 + (1 - iVar10)" (identifier "pbVar18") (+ "+") (parenthesized_expression "(1 - iVar10)" (( "(") (binary_expression "1 - iVar10" (number_literal "1") (- "-") (identifier "iVar10")) () ")"))) () ")"))) (; ";"))) (expression_statement "local_2c = *(undefined4 *)(param_1 + 0x1c);" (assignment_expression "local_2c = *(undefined4 *)(param_1 + 0x1c)" (identifier "local_2c") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (labeled_statement "LAB_0003eae4:\n  if (pbVar11 != (byte *)0x0) {\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }" (statement_identifier "LAB_0003eae4") (: ":") (if_statement "if (pbVar11 != (byte *)0x0) {\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }" (if "if") (parenthesized_expression "(pbVar11 != (byte *)0x0)" (( "(") (binary_expression "pbVar11 != (byte *)0x0" (identifier "pbVar11") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }\nLAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);\n    if (iVar10 == 0) goto LAB_0003eaf0;\n    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }\n  }" ({ "{") (if_statement "if (0 < (int)pbVar11 - (int)pbVar14) {\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }" (if "if") (parenthesized_expression "(0 < (int)pbVar11 - (int)pbVar14)" (( "(") (binary_expression "0 < (int)pbVar11 - (int)pbVar14" (number_literal "0") (< "<") (binary_expression "(int)pbVar11 - (int)pbVar14" (cast_expression "(int)pbVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar11")) (- "-") (cast_expression "(int)pbVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar14")))) () ")")) (compound_statement "{\n      if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }\n      iVar10 = sqlite3_complete(iVar16);\n      if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }\n    }" ({ "{") (if_statement "if (pbVar14[iVar16] != 0x3b) {\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }" (if "if") (parenthesized_expression "(pbVar14[iVar16] != 0x3b)" (( "(") (binary_expression "pbVar14[iVar16] != 0x3b" (subscript_expression "pbVar14[iVar16]" (identifier "pbVar14") ([ "[") (identifier "iVar16") (] "]")) (!= "!=") (number_literal "0x3b")) () ")")) (compound_statement "{\n        pbVar18 = pbVar14 + iVar16 + 1;\n        do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);\n      }" ({ "{") (expression_statement "pbVar18 = pbVar14 + iVar16 + 1;" (assignment_expression "pbVar18 = pbVar14 + iVar16 + 1" (identifier "pbVar18") (= "=") (binary_expression "pbVar14 + iVar16 + 1" (binary_expression "pbVar14 + iVar16" (identifier "pbVar14") (+ "+") (identifier "iVar16")) (+ "+") (number_literal "1"))) (; ";")) (do_statement "do {\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        } while (bVar1 != 0x3b);" (do "do") (compound_statement "{\n          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;\n          bVar1 = *pbVar18;\n          pbVar18 = pbVar18 + 1;\n        }" ({ "{") (if_statement "if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;" (if "if") (parenthesized_expression "(pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18)" (( "(") (binary_expression "pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18" (binary_expression "pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14)" (binary_expression "pbVar14 + iVar16" (identifier "pbVar14") (+ "+") (identifier "iVar16")) (+ "+") (parenthesized_expression "((int)pbVar11 - (int)pbVar14)" (( "(") (binary_expression "(int)pbVar11 - (int)pbVar14" (cast_expression "(int)pbVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar11")) (- "-") (cast_expression "(int)pbVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar14"))) () ")"))) (== "==") (identifier "pbVar18")) () ")")) (goto_statement "goto LAB_0003ebc4;" (goto "goto") (statement_identifier "LAB_0003ebc4") (; ";"))) (expression_statement "bVar1 = *pbVar18;" (assignment_expression "bVar1 = *pbVar18" (identifier "bVar1") (= "=") (pointer_expression "*pbVar18" (* "*") (identifier "pbVar18"))) (; ";")) (expression_statement "pbVar18 = pbVar18 + 1;" (assignment_expression "pbVar18 = pbVar18 + 1" (identifier "pbVar18") (= "=") (binary_expression "pbVar18 + 1" (identifier "pbVar18") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar1 != 0x3b)" (( "(") (binary_expression "bVar1 != 0x3b" (identifier "bVar1") (!= "!=") (number_literal "0x3b")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar10 = sqlite3_complete(iVar16);" (assignment_expression "iVar10 = sqlite3_complete(iVar16)" (identifier "iVar10") (= "=") (call_expression "sqlite3_complete(iVar16)" (identifier "sqlite3_complete") (argument_list "(iVar16)" (( "(") (identifier "iVar16") () ")")))) (; ";")) (if_statement "if (iVar10 != 0) {\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);\n        iVar17 = iVar17 + iVar10;\n        if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }\n        goto LAB_0003eaf0;\n      }" ({ "{") (expression_statement "iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);" (assignment_expression "iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" (identifier "iVar10") (= "=") (call_expression "FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" (identifier "FUN_00034f84") (argument_list "(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c)" (( "(") (identifier "param_1") (, ",") (identifier "iVar16") (, ",") (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")) () ")")))) (, ",") (identifier "local_2c") () ")")))) (; ";")) (expression_statement "iVar17 = iVar17 + iVar10;" (assignment_expression "iVar17 = iVar17 + iVar10" (identifier "iVar17") (= "=") (binary_expression "iVar17 + iVar10" (identifier "iVar17") (+ "+") (identifier "iVar10"))) (; ";")) (if_statement "if (*(int *)(param_1 + 0x14) == 0) {\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }\n        else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x14) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x14) == 0" (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);\n          pbVar11 = (byte *)0x0;\n        }" ({ "{") (expression_statement "FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);" (call_expression "FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c)" (identifier "FUN_0002c9d8") (argument_list "(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c)" (( "(") (pointer_expression "*(undefined1 *)(param_1 + 0xb)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0xb)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xb)" (( "(") (binary_expression "param_1 + 0xb" (identifier "param_1") (+ "+") (number_literal "0xb")) () ")")))) (, ",") (binary_expression "param_1 + 0x6c" (identifier "param_1") (+ "+") (number_literal "0x6c")) () ")"))) (; ";")) (expression_statement "pbVar11 = (byte *)0x0;" (assignment_expression "pbVar11 = (byte *)0x0" (identifier "pbVar11") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }" (else "else") (compound_statement "{\n          FUN_00028634(param_1);\n          *(undefined4 *)(param_1 + 0x14) = 0;\n          pbVar11 = (byte *)0x0;\n        }" ({ "{") (expression_statement "FUN_00028634(param_1);" (call_expression "FUN_00028634(param_1)" (identifier "FUN_00028634") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar11 = (byte *)0x0;" (assignment_expression "pbVar11 = (byte *)0x0" (identifier "pbVar11") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (goto_statement "goto LAB_0003eaf0;" (goto "goto") (statement_identifier "LAB_0003eaf0") (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_0003ebc4:\n    iVar10 = (*pcVar7)(iVar16);" (statement_identifier "LAB_0003ebc4") (: ":") (expression_statement "iVar10 = (*pcVar7)(iVar16);" (assignment_expression "iVar10 = (*pcVar7)(iVar16)" (identifier "iVar10") (= "=") (call_expression "(*pcVar7)(iVar16)" (parenthesized_expression "(*pcVar7)" (( "(") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) () ")")) (argument_list "(iVar16)" (( "(") (identifier "iVar16") () ")")))) (; ";"))) (if_statement "if (iVar10 == 0) goto LAB_0003eaf0;" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003eaf0;" (goto "goto") (statement_identifier "LAB_0003eaf0") (; ";"))) (if_statement "if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }" (if "if") (parenthesized_expression "((*(uint *)(param_1 + 0x58) & 0x40) != 0)" (( "(") (binary_expression "(*(uint *)(param_1 + 0x58) & 0x40) != 0" (parenthesized_expression "(*(uint *)(param_1 + 0x58) & 0x40)" (( "(") (binary_expression "*(uint *)(param_1 + 0x58) & 0x40" (pointer_expression "*(uint *)(param_1 + 0x58)" (* "*") (cast_expression "(uint *)(param_1 + 0x58)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_puts_00190da0)(iVar16);\n      pbVar11 = (byte *)0x0;\n      goto LAB_0003eaf0;\n    }" ({ "{") (expression_statement "(*(code *)PTR_puts_00190da0)(iVar16);" (call_expression "(*(code *)PTR_puts_00190da0)(iVar16)" (parenthesized_expression "(*(code *)PTR_puts_00190da0)" (( "(") (pointer_expression "*(code *)PTR_puts_00190da0" (* "*") (cast_expression "(code *)PTR_puts_00190da0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_00190da0"))) () ")")) (argument_list "(iVar16)" (( "(") (identifier "iVar16") () ")"))) (; ";")) (expression_statement "pbVar11 = (byte *)0x0;" (assignment_expression "pbVar11 = (byte *)0x0" (identifier "pbVar11") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_0003eaf0;" (goto "goto") (statement_identifier "LAB_0003eaf0") (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_0003eaec:\n  pbVar11 = (byte *)0x0;" (statement_identifier "LAB_0003eaec") (: ":") (expression_statement "pbVar11 = (byte *)0x0;" (assignment_expression "pbVar11 = (byte *)0x0" (identifier "pbVar11") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";"))) (labeled_statement "LAB_0003eaf0:\n  pbVar14 = pbVar11;" (statement_identifier "LAB_0003eaf0") (: ":") (expression_statement "pbVar14 = pbVar11;" (assignment_expression "pbVar14 = pbVar11" (identifier "pbVar14") (= "=") (identifier "pbVar11")) (; ";"))) (if_statement "if (((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))\n  goto LAB_0003eb1c;" (if "if") (parenthesized_expression "(((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))" (( "(") (binary_expression "((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&\n     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0)))" (parenthesized_expression "((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0))" (( "(") (binary_expression "(iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)" (parenthesized_expression "(iVar17 != 0)" (( "(") (binary_expression "iVar17 != 0" (identifier "iVar17") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(PTR_DAT_00190948 + 0xf38) != 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_00190948 + 0xf38) != 0" (pointer_expression "*(int *)(PTR_DAT_00190948 + 0xf38)" (* "*") (cast_expression "(int *)(PTR_DAT_00190948 + 0xf38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00190948 + 0xf38)" (( "(") (binary_expression "PTR_DAT_00190948 + 0xf38" (identifier "PTR_DAT_00190948") (+ "+") (number_literal "0xf38")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0)))" (( "(") (parenthesized_expression "(*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))" (( "(") (binary_expression "*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0)" (binary_expression "*(int *)(param_1 + 0x20) != 0" (pointer_expression "*(int *)(param_1 + 0x20)" (* "*") (cast_expression "(int *)(param_1 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))) (!= "!=") (number_literal "0")) (|| "||") (parenthesized_expression "(*(int *)(PTR_DAT_00190948 + -4000) == 0)" (( "(") (binary_expression "*(int *)(PTR_DAT_00190948 + -4000) == 0" (pointer_expression "*(int *)(PTR_DAT_00190948 + -4000)" (* "*") (cast_expression "(int *)(PTR_DAT_00190948 + -4000)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_00190948 + -4000)" (( "(") (binary_expression "PTR_DAT_00190948 + -4000" (identifier "PTR_DAT_00190948") (+ "+") (number_literal "-4000")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_0003eb1c;" (goto "goto") (statement_identifier "LAB_0003eb1c") (; ";"))) (goto_statement "goto LAB_0003e9b0;" (goto "goto") (statement_identifier "LAB_0003e9b0") (; ";")) (} "}")))

int function_1(type_1 *p)

{
  type_2 var_13;
  char var_22;
  type_3 *var_6;
  type_3 *var_4;
  type_4 *pcVar5;
  type_3 *puVar6;
  type_3 *puVar7;
  type_4 *pcVar8;
  int *piVar9;
  int *piVar10;
  type_2 *var_16;
  char *var_21;
  type_5 var_18;
  type_2 *var_12;
  int var_8;
  type_3 *var_3;
  int var_20;
  type_5 var_7;
  type_2 *var_5;
  char *var_14;
  int var_11;
  type_5 var_10;
  int var_17;
  int iStack_2c;
  
  var_4 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;
  var_3 = var_1;
  var_6 = var_2;
  var_11 = 0;
  pcVar5 = (type_4 *)(var_1 + 0x6014);
  var_14 = (char *)0x0;
  var_5 = (type_2 *)0x0;
  puVar6 = var_2 + 0xf04;
  puVar7 = var_2 + 0xf18;
  iStack_2c = 0;
  var_17 = 0;
  p->lineno = 0;
  pcVar8 = (type_4 *)(var_3 + 0x156c);
  var_7 = 0;
  while( true ) {
    (*(type_4 *)PTR_fflush_00190e48)(p->out);
    if (p->in == (type_6 *)0x0) {
      var_3 = puVar6;
      if ((int)var_7 < 1) {
        var_3 = puVar7;
      }
      (*(type_4 *)PTR___printf_chk_00190d34)(1,var_4 + -0x5dfc,var_3);
      (*(type_4 *)PTR_fflush_00190e48)(*(type_7 *)PTR_stdout_00190d38);
      var_5 = (type_2 *)(*pcVar5)(var_5,*(type_7 *)PTR_stdin_00190d70);
    }
    else {
      var_5 = (type_2 *)(*pcVar5)(var_5);
    }
    if (var_5 == (type_2 *)0x0) break;
    if (*(int *)(var_6 + 0xf30) != 0) {
      if (p->in != (type_6 *)0x0) goto LAB_0003eb1c;
      *(type_7 *)(var_6 + 0xf30) = 0;
    }
    p->lineno = p->lineno + 1;
    if (var_7 == 0) {
      var_8 = (*pcVar8)(var_5);
      var_10 = var_7;
      if (var_8 == 0) {
        if (*var_5 == 0x2e) {
          if ((p->shellFlgs & 0x40) != 0) {
LAB_0003ed64:
            (*(type_4 *)PTR_puts_00190da0)(var_5);
            if (*var_5 == 0x2e) goto LAB_0003ec98;
            goto LAB_0003eaec;
          }
LAB_0003ec98:
          var_10 = var_9((char *)var_5,p);
          if (var_10 != 2) {
            if (var_10 != 0) {
              var_11 = var_11 + 1;
              var_10 = 0;
            }
            goto LAB_0003eaf0;
          }
          goto LAB_0003eb38;
        }
        if (*var_5 != 0x23) goto LAB_0003ea0c;
        if ((p->shellFlgs & 0x40) != 0) goto LAB_0003ed64;
      }
      else if ((p->shellFlgs & 0x40) != 0) {
        (*(type_4 *)PTR_puts_00190da0)(var_5);
      }
    }
    else {
LAB_0003ea0c:
      piVar9 = (int *)(*(type_4 *)PTR___ctype_b_loc_00190cc0)();
      var_12 = var_5;
      while( true ) {
        var_13 = *var_12;
        if ((*(type_8 *)(*piVar9 + (type_5)var_13 * 2) & 0x20) == 0) break;
        var_12 = var_12 + 1;
      }
      var_16 = var_5;
      if ((var_13 == 0x2f) && (var_8 = (*pcVar8)(var_12 + 1), var_8 != 0)) {
LAB_0003ede4:
        var_21 = var_14 + var_7;
        if (var_14 != (char *)0x0) {
          *var_21 = ';';
          var_21[1] = '\0';
          var_8 = var_15(var_14);
          *var_21 = '\0';
          if (var_8 == 0) goto LAB_0003ea78;
        }
        var_5[1] = 0;
        *var_5 = 0x3b;
        if (*var_5 == 0) goto LAB_0003ee2c;
LAB_0003ea84:
        do {
          var_16 = var_16 + 1;
        } while (*var_16 != 0);
        var_10 = (int)var_16 - (int)var_5 & 0x3fffffff;
        var_18 = var_7 + var_10;
      }
      else {
        piVar10 = (int *)(*(type_4 *)PTR___ctype_tolower_loc_00190cc4)();
        if ((*(char *)(*piVar10 + (type_5)var_13 * 4 + 3) == 'g') &&
           ((*(char *)(*piVar10 + (type_5)var_12[1] * 4 + 3) == 'o' &&
            (var_8 = (*pcVar8)(var_12 + 2), var_8 != 0)))) goto LAB_0003ede4;
LAB_0003ea78:
        if (*var_5 != 0) goto LAB_0003ea84;
LAB_0003ee2c:
        var_10 = 0;
        var_18 = var_7;
      }
      if ((var_17 <= (int)(var_18 + 2)) &&
         (var_14 = (char *)(*(type_4 *)PTR_realloc_00190da8)(var_14,var_18 + 100),
         var_17 = var_18 + 100, var_14 == (char *)0x0)) {
                    /* WARNING: Subroutine does not return */
        var_19();
      }
      var_3 = PTR_memcpy_00190e2c;
      var_8 = var_10 + 1;
      if (var_7 == 0) {
        var_12 = var_5;
        if ((*var_5 == 0) || ((*(type_8 *)(*piVar9 + (type_5)*var_5 * 2) & 0x20) == 0)) {
          var_20 = 0;
        }
        else {
          var_20 = 0;
          do {
            var_12 = var_12 + 1;
            var_20 = var_20 + 1;
            if (*var_12 == 0) break;
          } while ((*(type_8 *)(*piVar9 + (type_5)*var_12 * 2) & 0x20) != 0);
          var_10 = var_10 - var_20;
        }
        (*(type_4 *)PTR_memcpy_00190e2c)(var_14,var_12,var_8 - var_20);
        iStack_2c = p->lineno;
      }
      else {
        var_14[var_7] = '\n';
        var_10 = var_10 + var_7 + 1;
        (*(type_4 *)var_3)(var_14 + var_7 + 1,var_5);
      }
      if (var_10 == 0) {
LAB_0003eaec:
        var_10 = 0;
      }
      else {
        if (0 < (int)(var_10 - var_7)) {
          if (var_14[var_7] != ';') {
            var_21 = var_14 + var_7 + 1;
            do {
              if (var_14 + var_7 + (var_10 - var_7) == var_21) goto LAB_0003ebc4;
              var_22 = *var_21;
              var_21 = var_21 + 1;
            } while (var_22 != ';');
          }
          var_8 = var_15(var_14);
          if (var_8 != 0) {
            var_8 = var_23(p,var_14,p->in,iStack_2c);
            var_11 = var_11 + var_8;
            if (p->outCount == 0) {
              var_24((type_1 *)(type_5)p->doXdgOpen,(type_1 *)&p->zTempFile);
              var_10 = 0;
            }
            else {
              var_25(p);
              p->outCount = 0;
              var_10 = 0;
            }
            goto LAB_0003eaf0;
          }
        }
LAB_0003ebc4:
        var_8 = (*pcVar8)(var_14);
        if (var_8 != 0) {
          if ((p->shellFlgs & 0x40) == 0) goto LAB_0003eaec;
          (*(type_4 *)PTR_puts_00190da0)(var_14);
          var_10 = 0;
        }
      }
    }
LAB_0003eaf0:
    var_7 = var_10;
    if (((var_11 != 0) && (*(int *)(var_2 + 0xf38) != 0)) &&
       ((p->in != (type_6 *)0x0 || (*(int *)(var_2 + -4000) == 0))))
    goto LAB_0003eb1c;
  }
  if ((p->in == (type_6 *)0x0) && (*(int *)(var_2 + -4000) != 0)) {
    (*(type_4 *)PTR_putchar_00190d50)(10);
  }
LAB_0003eb1c:
  if ((var_7 != 0) && (var_8 = var_26(var_14), var_8 == 0)) {
    var_8 = var_23(p,var_14,p->in,iStack_2c);
    var_11 = var_11 + var_8;
  }
LAB_0003eb38:
  (*(type_4 *)PTR_free_00190e38)(var_14);
  (*(type_4 *)PTR_free_00190e38)(var_5);
  return (type_5)(0 < var_11);
}


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

bool MASKED(int param_1)

{
  byte bVar1;
  undefined *puVar2;
  undefined *puVar3;
  code *pcVar4;
  undefined *puVar5;
  undefined *puVar6;
  code *pcVar7;
  int *piVar8;
  int *piVar9;
  int iVar10;
  byte *pbVar11;
  byte *pbVar12;
  undefined *puVar13;
  byte *pbVar14;
  byte *pbVar15;
  int iVar16;
  int iVar17;
  byte *pbVar18;
  byte *local_3c;
  undefined4 local_2c;
  
  puVar3 = PTR_s_o_page_from_root____pageno_INTEG_0019095c;
  puVar13 = PTR_LAB_00190954;
  puVar2 = PTR_DAT_00190948;
  iVar17 = 0;
  pcVar4 = (code *)(PTR_LAB_00190954 + 0x6014);
  iVar16 = 0;
  pbVar15 = (byte *)0x0;
  puVar5 = PTR_DAT_00190948 + 0xf04;
  puVar6 = PTR_DAT_00190948 + 0xf18;
  local_2c = 0;
  local_3c = (byte *)0x0;
  *(undefined4 *)(param_1 + 0x1c) = 0;
  pcVar7 = (code *)(puVar13 + 0x156c);
  pbVar14 = (byte *)0x0;
LAB_0003e9b0:
  (*(code *)PTR_fflush_00190e48)(*(undefined4 *)(param_1 + 0x24));
  if (*(int *)(param_1 + 0x20) == 0) {
    puVar13 = puVar5;
    if ((int)pbVar14 < 1) {
      puVar13 = puVar6;
    }
    (*(code *)PTR___printf_chk_00190d34)(1,puVar3 + -0x5dfc,puVar13);
    (*(code *)PTR_fflush_00190e48)(*(undefined4 *)PTR_stdout_00190d38);
    pbVar15 = (byte *)(*pcVar4)(pbVar15,*(undefined4 *)PTR_stdin_00190d70);
  }
  else {
    pbVar15 = (byte *)(*pcVar4)(pbVar15);
  }
  if (pbVar15 == (byte *)0x0) {
    if ((*(int *)(param_1 + 0x20) == 0) && (*(int *)(PTR_DAT_00190948 + -4000) != 0)) {
      (*(code *)PTR_putchar_00190d50)(10);
    }
LAB_0003eb1c:
    if ((pbVar14 != (byte *)0x0) && (iVar10 = FUN_0002156c(iVar16), iVar10 == 0)) {
      iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);
      iVar17 = iVar17 + iVar10;
    }
LAB_0003eb38:
    (*(code *)PTR_free_00190e38)(iVar16);
    (*(code *)PTR_free_00190e38)(pbVar15);
    return 0 < iVar17;
  }
  if (*(int *)(puVar2 + 0xf30) != 0) {
    if (*(int *)(param_1 + 0x20) != 0) goto LAB_0003eb1c;
    *(undefined4 *)(puVar2 + 0xf30) = 0;
  }
  *(int *)(param_1 + 0x1c) = *(int *)(param_1 + 0x1c) + 1;
  if (pbVar14 != (byte *)0x0) {
LAB_0003ea0c:
    piVar8 = (int *)(*(code *)PTR___ctype_b_loc_00190cc0)();
    pbVar18 = pbVar15;
    while( true ) {
      bVar1 = *pbVar18;
      if ((*(ushort *)(*piVar8 + (uint)bVar1 * 2) & 0x20) == 0) break;
      pbVar18 = pbVar18 + 1;
    }
    if ((bVar1 == 0x2f) && (iVar10 = (*pcVar7)(pbVar18 + 1), iVar10 != 0)) goto LAB_0003ede4;
    piVar9 = (int *)(*(code *)PTR___ctype_tolower_loc_00190cc4)();
    iVar10 = *piVar9;
    if (*(char *)(iVar10 + (uint)bVar1 * 4 + 3) == 'g') goto LAB_0003edb8;
LAB_0003ea78:
    pbVar11 = pbVar15;
    if (*pbVar15 == 0) goto LAB_0003ee2c;
    do {
      do {
        pbVar11 = pbVar11 + 1;
      } while (*pbVar11 != 0);
      pbVar18 = (byte *)((int)pbVar11 - (int)pbVar15 & 0x3fffffff);
      pbVar11 = pbVar14 + (int)pbVar18;
      while( true ) {
        pbVar12 = pbVar11 + 100;
        if (((int)(pbVar11 + 2) < (int)local_3c) ||
           (iVar16 = (*(code *)PTR_realloc_00190da8)(iVar16,pbVar12), local_3c = pbVar12,
           iVar16 != 0)) {
          puVar13 = PTR_memcpy_00190e2c;
          if (pbVar14 != (byte *)0x0) {
            pbVar14[iVar16] = 10;
            pbVar11 = pbVar18 + (int)(pbVar14 + 1);
            (*(code *)puVar13)(pbVar14 + 1 + iVar16,pbVar15);
            goto LAB_0003eae4;
          }
          pbVar12 = pbVar15;
          if ((*pbVar15 != 0) && ((*(ushort *)(*piVar8 + (uint)*pbVar15 * 2) & 0x20) != 0)) {
            iVar10 = 0;
            goto LAB_0003ed18;
          }
          iVar10 = 0;
          pbVar11 = pbVar18;
          goto LAB_0003ed2c;
        }
        iVar10 = FUN_00023f24();
LAB_0003edb8:
        if ((*(char *)(iVar10 + (uint)pbVar18[1] * 4 + 3) != 'o') ||
           (iVar10 = (*pcVar7)(pbVar18 + 2), iVar10 == 0)) goto LAB_0003ea78;
LAB_0003ede4:
        pbVar11 = pbVar14 + iVar16;
        if (iVar16 != 0) {
          *pbVar11 = 0x3b;
          pbVar11[1] = 0;
          iVar10 = sqlite3_complete(iVar16);
          *pbVar11 = 0;
          if (iVar10 == 0) goto LAB_0003ea78;
        }
        pbVar15[1] = 0;
        *pbVar15 = 0x3b;
        pbVar11 = pbVar15;
        if (*pbVar15 != 0) break;
LAB_0003ee2c:
        pbVar18 = (byte *)0x0;
        pbVar11 = pbVar14;
      }
    } while( true );
  }
  iVar10 = (*pcVar7)(pbVar15);
  pbVar11 = pbVar14;
  if (iVar10 != 0) {
    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {
      (*(code *)PTR_puts_00190da0)(pbVar15);
    }
    goto LAB_0003eaf0;
  }
  if (*pbVar15 != 0x2e) {
    if (*pbVar15 != 0x23) goto LAB_0003ea0c;
    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) goto LAB_0003ed64;
    goto LAB_0003eaf0;
  }
  if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {
LAB_0003ed64:
    (*(code *)PTR_puts_00190da0)(pbVar15);
    if (*pbVar15 == 0x2e) goto LAB_0003ec98;
    goto LAB_0003eaec;
  }
LAB_0003ec98:
  pbVar11 = (byte *)FUN_00036100(pbVar15,param_1);
  if (pbVar11 != (byte *)0x2) {
    if (pbVar11 != (byte *)0x0) {
      iVar17 = iVar17 + 1;
      pbVar11 = (byte *)0x0;
    }
    goto LAB_0003eaf0;
  }
  goto LAB_0003eb38;
  while ((*(ushort *)(*piVar8 + (uint)*pbVar12 * 2) & 0x20) != 0) {
LAB_0003ed18:
    pbVar12 = pbVar12 + 1;
    iVar10 = iVar10 + 1;
    if (*pbVar12 == 0) break;
  }
  pbVar11 = pbVar18 + -iVar10;
LAB_0003ed2c:
  (*(code *)PTR_memcpy_00190e2c)(iVar16,pbVar12,pbVar18 + (1 - iVar10));
  local_2c = *(undefined4 *)(param_1 + 0x1c);
LAB_0003eae4:
  if (pbVar11 != (byte *)0x0) {
    if (0 < (int)pbVar11 - (int)pbVar14) {
      if (pbVar14[iVar16] != 0x3b) {
        pbVar18 = pbVar14 + iVar16 + 1;
        do {
          if (pbVar14 + iVar16 + ((int)pbVar11 - (int)pbVar14) == pbVar18) goto LAB_0003ebc4;
          bVar1 = *pbVar18;
          pbVar18 = pbVar18 + 1;
        } while (bVar1 != 0x3b);
      }
      iVar10 = sqlite3_complete(iVar16);
      if (iVar10 != 0) {
        iVar10 = FUN_00034f84(param_1,iVar16,*(undefined4 *)(param_1 + 0x20),local_2c);
        iVar17 = iVar17 + iVar10;
        if (*(int *)(param_1 + 0x14) == 0) {
          FUN_0002c9d8(*(undefined1 *)(param_1 + 0xb),param_1 + 0x6c);
          pbVar11 = (byte *)0x0;
        }
        else {
          FUN_00028634(param_1);
          *(undefined4 *)(param_1 + 0x14) = 0;
          pbVar11 = (byte *)0x0;
        }
        goto LAB_0003eaf0;
      }
    }
LAB_0003ebc4:
    iVar10 = (*pcVar7)(iVar16);
    if (iVar10 == 0) goto LAB_0003eaf0;
    if ((*(uint *)(param_1 + 0x58) & 0x40) != 0) {
      (*(code *)PTR_puts_00190da0)(iVar16);
      pbVar11 = (byte *)0x0;
      goto LAB_0003eaf0;
    }
  }
LAB_0003eaec:
  pbVar11 = (byte *)0x0;
LAB_0003eaf0:
  pbVar14 = pbVar11;
  if (((iVar17 != 0) && (*(int *)(PTR_DAT_00190948 + 0xf38) != 0)) &&
     ((*(int *)(param_1 + 0x20) != 0 || (*(int *)(PTR_DAT_00190948 + -4000) == 0))))
  goto LAB_0003eb1c;
  goto LAB_0003e9b0;
}

