
void dense_rankValueFunc(sqlite3_context *pCtx)

{
  code *UNRECOVERED_JUMPTABLE_00;
  int *piVar1;
  uint uVar2;
  Mem *nByte;
  int iVar3;
  uint uVar4;
  
  nByte = pCtx->pMem;
  if ((nByte->flags & 0x2000) == 0) {
    piVar1 = (int *)createAggContext((sqlite3_context *)&pCtx->pFunc,(int)nByte,
                                     (sqlite3_context *)&DAT_00000018);
    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;
  }
  else {
    piVar1 = (int *)nByte->z;
    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;
  }
  if (piVar1 != (int *)0x0) {
    uVar4 = piVar1[1];
    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;
    if (piVar1[2] == 0 && piVar1[3] == 0) {
                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*UNRECOVERED_JUMPTABLE_00)(pCtx);
      return;
    }
    uVar2 = uVar4 + 1;
    piVar1[1] = uVar2;
    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;
    piVar1[2] = 0;
    *piVar1 = iVar3;
    piVar1[3] = 0;
                    /* WARNING: Could not recover jumptable at 0x0007c888. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*UNRECOVERED_JUMPTABLE_00)(pCtx,0,iVar3,uVar2);
    return;
  }
  PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;
  return;
}



void FUN_0007c7e4(int param_1)

{
  code *UNRECOVERED_JUMPTABLE_00;
  int *piVar1;
  uint uVar2;
  int iVar3;
  uint uVar4;
  
  iVar3 = *(int *)(param_1 + 8);
  if ((*(ushort *)(iVar3 + 8) & 0x2000) == 0) {
    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);
    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;
  }
  else {
    piVar1 = *(int **)(iVar3 + 0x10);
    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;
  }
  if (piVar1 != (int *)0x0) {
    uVar4 = piVar1[1];
    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;
    if (piVar1[2] == 0 && piVar1[3] == 0) {
                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*UNRECOVERED_JUMPTABLE_00)(param_1);
      return;
    }
    uVar2 = uVar4 + 1;
    piVar1[1] = uVar2;
    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;
    piVar1[2] = 0;
    *piVar1 = iVar3;
    piVar1[3] = 0;
                    /* WARNING: Could not recover jumptable at 0x0007c888. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);
    return;
  }
  PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;
  return;
}


lui gp,0x12
addiu gp,gp,-0x3ec4
addu gp,gp,t9
addiu sp,sp,-0x20
sw s0,0x18(sp)
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw a1,0x8(a0)
lhu v0,0x8(a1)
andi v0,v0,0x2000
beq v0,zero,0x0007c890
_or s0,a0,zero
lw v0,0x10(a1)
beq v0,zero,0x0007c8b0
_lw ra,0x1c(sp)
lw v1,0x8(v0)
lw a0,0xc(v0)
lw a2,0x0(v0)
or v1,v1,a0
bne v1,zero,0x0007c850
_lw a3,0x4(v0)
lw ra,0x1c(sp)
or a0,s0,zero
lw t9,-0x7f5c(gp)
lw s0,0x18(sp)
jr t9
_addiu sp,sp,0x20
addiu v1,a3,0x1
lw t9,-0x7f5c(gp)
or a0,zero,zero
sltu a3,v1,a3
sw v1,0x4(v0)
addu a2,a3,a2
sw a0,0x8(v0)
or a1,zero,zero
sw a2,0x0(v0)
or a0,s0,zero
sw a1,0xc(v0)
or a3,v1,zero
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr t9
_addiu sp,sp,0x20
lw t9,-0x7d60(gp)
li a2,0x18
addiu t9,t9,-0x4168
bal 0x0007be98
_addiu a0,a0,0x4
bne v0,zero,0x0007c820
_lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void FUN_0007c7e4(int param_1)\n\n{\n  code *UNRECOVERED_JUMPTABLE_00;\n  int *piVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar3 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  else {\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  if (piVar1 != (int *)0x0) {\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    /* WARNING: Could not recover jumptable at 0x0007c888. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);\n    return;\n  }\n  PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n  return;\n}\n\n" (function_definition "void FUN_0007c7e4(int param_1)\n\n{\n  code *UNRECOVERED_JUMPTABLE_00;\n  int *piVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar3 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  else {\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  if (piVar1 != (int *)0x0) {\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    /* WARNING: Could not recover jumptable at 0x0007c888. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);\n    return;\n  }\n  PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n  return;\n}" primitive_type (function_declarator "FUN_0007c7e4(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  code *UNRECOVERED_JUMPTABLE_00;\n  int *piVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar3 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  else {\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  if (piVar1 != (int *)0x0) {\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    /* WARNING: Could not recover jumptable at 0x0007c888. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);\n    return;\n  }\n  PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n  return;\n}" { (declaration "code *UNRECOVERED_JUMPTABLE_00;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE_00" * identifier) ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "iVar3 = *(int *)(param_1 + 8);" (assignment_expression "iVar3 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((*(ushort *)(iVar3 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  else {\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" if (parenthesized_expression "((*(ushort *)(iVar3 + 8) & 0x2000) == 0)" ( (binary_expression "(*(ushort *)(iVar3 + 8) & 0x2000) == 0" (parenthesized_expression "(*(ushort *)(iVar3 + 8) & 0x2000)" ( (binary_expression "*(ushort *)(iVar3 + 8) & 0x2000" (pointer_expression "*(ushort *)(iVar3 + 8)" * (cast_expression "(ushort *)(iVar3 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" { (expression_statement "piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);" (assignment_expression "piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18)" identifier = (cast_expression "(int *)FUN_0007be98(param_1 + 4,iVar3,0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0007be98(param_1 + 4,iVar3,0x18)" identifier (argument_list "(param_1 + 4,iVar3,0x18)" ( (binary_expression "param_1 + 4" identifier + number_literal) , identifier , number_literal ))))) ;) (expression_statement "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;" (assignment_expression "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4" identifier = (cast_expression "(code *)PTR_sqlite3_result_int64_001909c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" else (compound_statement "{\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" { (expression_statement "piVar1 = *(int **)(iVar3 + 0x10);" (assignment_expression "piVar1 = *(int **)(iVar3 + 0x10)" identifier = (pointer_expression "*(int **)(iVar3 + 0x10)" * (cast_expression "(int **)(iVar3 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;" (assignment_expression "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4" identifier = (cast_expression "(code *)PTR_sqlite3_result_int64_001909c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (if_statement "if (piVar1 != (int *)0x0) {\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    /* WARNING: Could not recover jumptable at 0x0007c888. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);\n    return;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    /* WARNING: Could not recover jumptable at 0x0007c888. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);\n    return;\n  }" { (expression_statement "uVar4 = piVar1[1];" (assignment_expression "uVar4 = piVar1[1]" identifier = (subscript_expression "piVar1[1]" identifier [ number_literal ])) ;) (expression_statement "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;" (assignment_expression "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00" identifier = identifier) ;) (if_statement "if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }" if (parenthesized_expression "(piVar1[2] == 0 && piVar1[3] == 0)" ( (binary_expression "piVar1[2] == 0 && piVar1[3] == 0" (binary_expression "piVar1[2] == 0" (subscript_expression "piVar1[2]" identifier [ number_literal ]) == number_literal) && (binary_expression "piVar1[3] == 0" (subscript_expression "piVar1[3]" identifier [ number_literal ]) == number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }" { comment comment (expression_statement "(*UNRECOVERED_JUMPTABLE_00)(param_1);" (call_expression "(*UNRECOVERED_JUMPTABLE_00)(param_1)" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE_00)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE_00" * identifier) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = uVar4 + 1;" (assignment_expression "uVar2 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) (expression_statement "piVar1[1] = uVar2;" (assignment_expression "piVar1[1] = uVar2" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = (uint)(uVar2 < uVar4) + *piVar1;" (assignment_expression "iVar3 = (uint)(uVar2 < uVar4) + *piVar1" identifier = (binary_expression "(uint)(uVar2 < uVar4) + *piVar1" (call_expression "(uint)(uVar2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < uVar4)" ( (binary_expression "uVar2 < uVar4" identifier < identifier) ))) + (pointer_expression "*piVar1" * identifier))) ;) (expression_statement "piVar1[2] = 0;" (assignment_expression "piVar1[2] = 0" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar1 = iVar3;" (assignment_expression "*piVar1 = iVar3" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "piVar1[3] = 0;" (assignment_expression "piVar1[3] = 0" (subscript_expression "piVar1[3]" identifier [ number_literal ]) = number_literal) ;) comment comment (expression_statement "(*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);" (call_expression "(*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2)" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE_00)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE_00" * identifier) )) (argument_list "(param_1,0,iVar3,uVar2)" ( identifier , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;" (assignment_expression "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void dense_rankValueFunc(sqlite3_context *pCtx)\n\n{\n  code *UNRECOVERED_JUMPTABLE_00;\n  int *piVar1;\n  uint uVar2;\n  Mem *nByte;\n  int iVar3;\n  uint uVar4;\n  \n  nByte = pCtx->pMem;\n  if ((nByte->flags & 0x2000) == 0) {\n    piVar1 = (int *)createAggContext((sqlite3_context *)&pCtx->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000018);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  else {\n    piVar1 = (int *)nByte->z;\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  if (piVar1 != (int *)0x0) {\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*UNRECOVERED_JUMPTABLE_00)(pCtx);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    /* WARNING: Could not recover jumptable at 0x0007c888. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*UNRECOVERED_JUMPTABLE_00)(pCtx,0,iVar3,uVar2);\n    return;\n  }\n  PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n  return;\n}\n\n" (function_definition "void dense_rankValueFunc(sqlite3_context *pCtx)\n\n{\n  code *UNRECOVERED_JUMPTABLE_00;\n  int *piVar1;\n  uint uVar2;\n  Mem *nByte;\n  int iVar3;\n  uint uVar4;\n  \n  nByte = pCtx->pMem;\n  if ((nByte->flags & 0x2000) == 0) {\n    piVar1 = (int *)createAggContext((sqlite3_context *)&pCtx->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000018);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  else {\n    piVar1 = (int *)nByte->z;\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  if (piVar1 != (int *)0x0) {\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*UNRECOVERED_JUMPTABLE_00)(pCtx);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    /* WARNING: Could not recover jumptable at 0x0007c888. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*UNRECOVERED_JUMPTABLE_00)(pCtx,0,iVar3,uVar2);\n    return;\n  }\n  PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n  return;\n}" primitive_type (function_declarator "dense_rankValueFunc(sqlite3_context *pCtx)" identifier (parameter_list "(sqlite3_context *pCtx)" ( (parameter_declaration "sqlite3_context *pCtx" type_identifier (pointer_declarator "*pCtx" * identifier)) ))) (compound_statement "{\n  code *UNRECOVERED_JUMPTABLE_00;\n  int *piVar1;\n  uint uVar2;\n  Mem *nByte;\n  int iVar3;\n  uint uVar4;\n  \n  nByte = pCtx->pMem;\n  if ((nByte->flags & 0x2000) == 0) {\n    piVar1 = (int *)createAggContext((sqlite3_context *)&pCtx->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000018);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  else {\n    piVar1 = (int *)nByte->z;\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  if (piVar1 != (int *)0x0) {\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*UNRECOVERED_JUMPTABLE_00)(pCtx);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    /* WARNING: Could not recover jumptable at 0x0007c888. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*UNRECOVERED_JUMPTABLE_00)(pCtx,0,iVar3,uVar2);\n    return;\n  }\n  PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n  return;\n}" { (declaration "code *UNRECOVERED_JUMPTABLE_00;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE_00" * identifier) ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "Mem *nByte;" type_identifier (pointer_declarator "*nByte" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "nByte = pCtx->pMem;" (assignment_expression "nByte = pCtx->pMem" identifier = (field_expression "pCtx->pMem" identifier -> field_identifier)) ;) (if_statement "if ((nByte->flags & 0x2000) == 0) {\n    piVar1 = (int *)createAggContext((sqlite3_context *)&pCtx->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000018);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  else {\n    piVar1 = (int *)nByte->z;\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" if (parenthesized_expression "((nByte->flags & 0x2000) == 0)" ( (binary_expression "(nByte->flags & 0x2000) == 0" (parenthesized_expression "(nByte->flags & 0x2000)" ( (binary_expression "nByte->flags & 0x2000" (field_expression "nByte->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    piVar1 = (int *)createAggContext((sqlite3_context *)&pCtx->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000018);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" { (expression_statement "piVar1 = (int *)createAggContext((sqlite3_context *)&pCtx->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000018);" (assignment_expression "piVar1 = (int *)createAggContext((sqlite3_context *)&pCtx->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000018)" identifier = (cast_expression "(int *)createAggContext((sqlite3_context *)&pCtx->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000018)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "createAggContext((sqlite3_context *)&pCtx->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000018)" identifier (argument_list "((sqlite3_context *)&pCtx->pFunc,(int)nByte,\n                                     (sqlite3_context *)&DAT_00000018)" ( (cast_expression "(sqlite3_context *)&pCtx->pFunc" ( (type_descriptor "sqlite3_context *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pCtx->pFunc" & (field_expression "pCtx->pFunc" identifier -> field_identifier))) , (cast_expression "(int)nByte" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(sqlite3_context *)&DAT_00000018" ( (type_descriptor "sqlite3_context *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00000018" & identifier)) ))))) ;) (expression_statement "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;" (assignment_expression "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4" identifier = (cast_expression "(code *)PTR_sqlite3_result_int64_001909c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n    piVar1 = (int *)nByte->z;\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" else (compound_statement "{\n    piVar1 = (int *)nByte->z;\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" { (expression_statement "piVar1 = (int *)nByte->z;" (assignment_expression "piVar1 = (int *)nByte->z" identifier = (cast_expression "(int *)nByte->z" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "nByte->z" identifier -> field_identifier))) ;) (expression_statement "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;" (assignment_expression "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4" identifier = (cast_expression "(code *)PTR_sqlite3_result_int64_001909c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (if_statement "if (piVar1 != (int *)0x0) {\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*UNRECOVERED_JUMPTABLE_00)(pCtx);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    /* WARNING: Could not recover jumptable at 0x0007c888. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*UNRECOVERED_JUMPTABLE_00)(pCtx,0,iVar3,uVar2);\n    return;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*UNRECOVERED_JUMPTABLE_00)(pCtx);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    /* WARNING: Could not recover jumptable at 0x0007c888. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (*UNRECOVERED_JUMPTABLE_00)(pCtx,0,iVar3,uVar2);\n    return;\n  }" { (expression_statement "uVar4 = piVar1[1];" (assignment_expression "uVar4 = piVar1[1]" identifier = (subscript_expression "piVar1[1]" identifier [ number_literal ])) ;) (expression_statement "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;" (assignment_expression "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00" identifier = identifier) ;) (if_statement "if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*UNRECOVERED_JUMPTABLE_00)(pCtx);\n      return;\n    }" if (parenthesized_expression "(piVar1[2] == 0 && piVar1[3] == 0)" ( (binary_expression "piVar1[2] == 0 && piVar1[3] == 0" (binary_expression "piVar1[2] == 0" (subscript_expression "piVar1[2]" identifier [ number_literal ]) == number_literal) && (binary_expression "piVar1[3] == 0" (subscript_expression "piVar1[3]" identifier [ number_literal ]) == number_literal)) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (*UNRECOVERED_JUMPTABLE_00)(pCtx);\n      return;\n    }" { comment comment (expression_statement "(*UNRECOVERED_JUMPTABLE_00)(pCtx);" (call_expression "(*UNRECOVERED_JUMPTABLE_00)(pCtx)" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE_00)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE_00" * identifier) )) (argument_list "(pCtx)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = uVar4 + 1;" (assignment_expression "uVar2 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) (expression_statement "piVar1[1] = uVar2;" (assignment_expression "piVar1[1] = uVar2" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = (uint)(uVar2 < uVar4) + *piVar1;" (assignment_expression "iVar3 = (uint)(uVar2 < uVar4) + *piVar1" identifier = (binary_expression "(uint)(uVar2 < uVar4) + *piVar1" (call_expression "(uint)(uVar2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < uVar4)" ( (binary_expression "uVar2 < uVar4" identifier < identifier) ))) + (pointer_expression "*piVar1" * identifier))) ;) (expression_statement "piVar1[2] = 0;" (assignment_expression "piVar1[2] = 0" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar1 = iVar3;" (assignment_expression "*piVar1 = iVar3" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "piVar1[3] = 0;" (assignment_expression "piVar1[3] = 0" (subscript_expression "piVar1[3]" identifier [ number_literal ]) = number_literal) ;) comment comment (expression_statement "(*UNRECOVERED_JUMPTABLE_00)(pCtx,0,iVar3,uVar2);" (call_expression "(*UNRECOVERED_JUMPTABLE_00)(pCtx,0,iVar3,uVar2)" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE_00)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE_00" * identifier) )) (argument_list "(pCtx,0,iVar3,uVar2)" ( identifier , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;" (assignment_expression "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0007c7e4(int param_1)\n\n{\n  code *UNRECOVERED_JUMPTABLE_00;\n  int *piVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar3 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  else {\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  if (piVar1 != (int *)0x0) {\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    \n                    \n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    \n                    \n    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);\n    return;\n  }\n  PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n  return;\n}\n\n" (function_definition "void FUN_0007c7e4(int param_1)\n\n{\n  code *UNRECOVERED_JUMPTABLE_00;\n  int *piVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar3 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  else {\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  if (piVar1 != (int *)0x0) {\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    \n                    \n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    \n                    \n    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);\n    return;\n  }\n  PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n  return;\n}" primitive_type (function_declarator "FUN_0007c7e4(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  code *UNRECOVERED_JUMPTABLE_00;\n  int *piVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar3 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  else {\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  if (piVar1 != (int *)0x0) {\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    \n                    \n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    \n                    \n    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);\n    return;\n  }\n  PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n  return;\n}" { (declaration "code *UNRECOVERED_JUMPTABLE_00;" type_identifier (pointer_declarator "*UNRECOVERED_JUMPTABLE_00" * identifier) ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (expression_statement "iVar3 = *(int *)(param_1 + 8);" (assignment_expression "iVar3 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (if_statement "if ((*(ushort *)(iVar3 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  else {\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" if (parenthesized_expression "((*(ushort *)(iVar3 + 8) & 0x2000) == 0)" ( (binary_expression "(*(ushort *)(iVar3 + 8) & 0x2000) == 0" (parenthesized_expression "(*(ushort *)(iVar3 + 8) & 0x2000)" ( (binary_expression "*(ushort *)(iVar3 + 8) & 0x2000" (pointer_expression "*(ushort *)(iVar3 + 8)" * (cast_expression "(ushort *)(iVar3 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" { (expression_statement "piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);" (assignment_expression "piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18)" identifier = (cast_expression "(int *)FUN_0007be98(param_1 + 4,iVar3,0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0007be98(param_1 + 4,iVar3,0x18)" identifier (argument_list "(param_1 + 4,iVar3,0x18)" ( (binary_expression "param_1 + 4" identifier + number_literal) , identifier , number_literal ))))) ;) (expression_statement "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;" (assignment_expression "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4" identifier = (cast_expression "(code *)PTR_sqlite3_result_int64_001909c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }) (else_clause "else {\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" else (compound_statement "{\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" { (expression_statement "piVar1 = *(int **)(iVar3 + 0x10);" (assignment_expression "piVar1 = *(int **)(iVar3 + 0x10)" identifier = (pointer_expression "*(int **)(iVar3 + 0x10)" * (cast_expression "(int **)(iVar3 + 0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;" (assignment_expression "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4" identifier = (cast_expression "(code *)PTR_sqlite3_result_int64_001909c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) }))) (if_statement "if (piVar1 != (int *)0x0) {\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    \n                    \n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    \n                    \n    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);\n    return;\n  }" if (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    \n                    \n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    \n                    \n    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);\n    return;\n  }" { (expression_statement "uVar4 = piVar1[1];" (assignment_expression "uVar4 = piVar1[1]" identifier = (subscript_expression "piVar1[1]" identifier [ number_literal ])) ;) (expression_statement "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;" (assignment_expression "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00" identifier = identifier) ;) (if_statement "if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    \n                    \n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }" if (parenthesized_expression "(piVar1[2] == 0 && piVar1[3] == 0)" ( (binary_expression "piVar1[2] == 0 && piVar1[3] == 0" (binary_expression "piVar1[2] == 0" (subscript_expression "piVar1[2]" identifier [ number_literal ]) == number_literal) && (binary_expression "piVar1[3] == 0" (subscript_expression "piVar1[3]" identifier [ number_literal ]) == number_literal)) )) (compound_statement "{\n                    \n                    \n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }" { (expression_statement "(*UNRECOVERED_JUMPTABLE_00)(param_1);" (call_expression "(*UNRECOVERED_JUMPTABLE_00)(param_1)" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE_00)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE_00" * identifier) )) (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = uVar4 + 1;" (assignment_expression "uVar2 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) (expression_statement "piVar1[1] = uVar2;" (assignment_expression "piVar1[1] = uVar2" (subscript_expression "piVar1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = (uint)(uVar2 < uVar4) + *piVar1;" (assignment_expression "iVar3 = (uint)(uVar2 < uVar4) + *piVar1" identifier = (binary_expression "(uint)(uVar2 < uVar4) + *piVar1" (call_expression "(uint)(uVar2 < uVar4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar2 < uVar4)" ( (binary_expression "uVar2 < uVar4" identifier < identifier) ))) + (pointer_expression "*piVar1" * identifier))) ;) (expression_statement "piVar1[2] = 0;" (assignment_expression "piVar1[2] = 0" (subscript_expression "piVar1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*piVar1 = iVar3;" (assignment_expression "*piVar1 = iVar3" (pointer_expression "*piVar1" * identifier) = identifier) ;) (expression_statement "piVar1[3] = 0;" (assignment_expression "piVar1[3] = 0" (subscript_expression "piVar1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "(*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);" (call_expression "(*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2)" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE_00)" ( (pointer_expression "*UNRECOVERED_JUMPTABLE_00" * identifier) )) (argument_list "(param_1,0,iVar3,uVar2)" ( identifier , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;" (assignment_expression "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) && (binary_expression (subscript_expression IDENT [ LIT ]) == LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0007c7e4(int param_1)\n\n{\n  code *UNRECOVERED_JUMPTABLE_00;\n  int *piVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar3 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  else {\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  if (piVar1 != (int *)0x0) {\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    \n                    \n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    \n                    \n    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);\n    return;\n  }\n  PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0007c7e4(int param_1)" (identifier "FUN_0007c7e4") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  code *UNRECOVERED_JUMPTABLE_00;\n  int *piVar1;\n  uint uVar2;\n  int iVar3;\n  uint uVar4;\n  \n  iVar3 = *(int *)(param_1 + 8);\n  if ((*(ushort *)(iVar3 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  else {\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  if (piVar1 != (int *)0x0) {\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    \n                    \n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    \n                    \n    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);\n    return;\n  }\n  PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n  return;\n}" ({ "{") (declaration "code *UNRECOVERED_JUMPTABLE_00;" (type_identifier "code") (pointer_declarator "*UNRECOVERED_JUMPTABLE_00" (* "*") (identifier "UNRECOVERED_JUMPTABLE_00")) (; ";")) (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 8);" (assignment_expression "iVar3 = *(int *)(param_1 + 8)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if ((*(ushort *)(iVar3 + 8) & 0x2000) == 0) {\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }\n  else {\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" (if "if") (parenthesized_expression "((*(ushort *)(iVar3 + 8) & 0x2000) == 0)" (( "(") (binary_expression "(*(ushort *)(iVar3 + 8) & 0x2000) == 0" (parenthesized_expression "(*(ushort *)(iVar3 + 8) & 0x2000)" (( "(") (binary_expression "*(ushort *)(iVar3 + 8) & 0x2000" (pointer_expression "*(ushort *)(iVar3 + 8)" (* "*") (cast_expression "(ushort *)(iVar3 + 8)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0x2000")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" ({ "{") (expression_statement "piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);" (assignment_expression "piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18)" (identifier "piVar1") (= "=") (cast_expression "(int *)FUN_0007be98(param_1 + 4,iVar3,0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0007be98(param_1 + 4,iVar3,0x18)" (identifier "FUN_0007be98") (argument_list "(param_1 + 4,iVar3,0x18)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) (, ",") (identifier "iVar3") (, ",") (number_literal "0x18") () ")"))))) (; ";")) (expression_statement "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;" (assignment_expression "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4" (identifier "UNRECOVERED_JUMPTABLE_00") (= "=") (cast_expression "(code *)PTR_sqlite3_result_int64_001909c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_result_int64_001909c4"))) (; ";")) (} "}")) (else_clause "else {\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" (else "else") (compound_statement "{\n    piVar1 = *(int **)(iVar3 + 0x10);\n    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;\n  }" ({ "{") (expression_statement "piVar1 = *(int **)(iVar3 + 0x10);" (assignment_expression "piVar1 = *(int **)(iVar3 + 0x10)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(iVar3 + 0x10)" (* "*") (cast_expression "(int **)(iVar3 + 0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;" (assignment_expression "UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4" (identifier "UNRECOVERED_JUMPTABLE_00") (= "=") (cast_expression "(code *)PTR_sqlite3_result_int64_001909c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_result_int64_001909c4"))) (; ";")) (} "}")))) (if_statement "if (piVar1 != (int *)0x0) {\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    \n                    \n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    \n                    \n    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);\n    return;\n  }" (if "if") (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar4 = piVar1[1];\n    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;\n    if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    \n                    \n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }\n    uVar2 = uVar4 + 1;\n    piVar1[1] = uVar2;\n    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;\n    piVar1[2] = 0;\n    *piVar1 = iVar3;\n    piVar1[3] = 0;\n                    \n                    \n    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);\n    return;\n  }" ({ "{") (expression_statement "uVar4 = piVar1[1];" (assignment_expression "uVar4 = piVar1[1]" (identifier "uVar4") (= "=") (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;" (assignment_expression "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00" (identifier "PTR_sqlite3_result_int64_001909c4") (= "=") (identifier "UNRECOVERED_JUMPTABLE_00")) (; ";")) (if_statement "if (piVar1[2] == 0 && piVar1[3] == 0) {\n                    \n                    \n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }" (if "if") (parenthesized_expression "(piVar1[2] == 0 && piVar1[3] == 0)" (( "(") (binary_expression "piVar1[2] == 0 && piVar1[3] == 0" (binary_expression "piVar1[2] == 0" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (== "==") (number_literal "0")) (&& "&&") (binary_expression "piVar1[3] == 0" (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0"))) () ")")) (compound_statement "{\n                    \n                    \n      (*UNRECOVERED_JUMPTABLE_00)(param_1);\n      return;\n    }" ({ "{") (expression_statement "(*UNRECOVERED_JUMPTABLE_00)(param_1);" (call_expression "(*UNRECOVERED_JUMPTABLE_00)(param_1)" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE_00)" (( "(") (pointer_expression "*UNRECOVERED_JUMPTABLE_00" (* "*") (identifier "UNRECOVERED_JUMPTABLE_00")) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = uVar4 + 1;" (assignment_expression "uVar2 = uVar4 + 1" (identifier "uVar2") (= "=") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar1[1] = uVar2;" (assignment_expression "piVar1[1] = uVar2" (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "iVar3 = (uint)(uVar2 < uVar4) + *piVar1;" (assignment_expression "iVar3 = (uint)(uVar2 < uVar4) + *piVar1" (identifier "iVar3") (= "=") (binary_expression "(uint)(uVar2 < uVar4) + *piVar1" (call_expression "(uint)(uVar2 < uVar4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar2 < uVar4)" (( "(") (binary_expression "uVar2 < uVar4" (identifier "uVar2") (< "<") (identifier "uVar4")) () ")"))) (+ "+") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")))) (; ";")) (expression_statement "piVar1[2] = 0;" (assignment_expression "piVar1[2] = 0" (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*piVar1 = iVar3;" (assignment_expression "*piVar1 = iVar3" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "piVar1[3] = 0;" (assignment_expression "piVar1[3] = 0" (subscript_expression "piVar1[3]" (identifier "piVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);" (call_expression "(*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2)" (parenthesized_expression "(*UNRECOVERED_JUMPTABLE_00)" (( "(") (pointer_expression "*UNRECOVERED_JUMPTABLE_00" (* "*") (identifier "UNRECOVERED_JUMPTABLE_00")) () ")")) (argument_list "(param_1,0,iVar3,uVar2)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (identifier "iVar3") (, ",") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;" (assignment_expression "PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00" (identifier "PTR_sqlite3_result_int64_001909c4") (= "=") (identifier "UNRECOVERED_JUMPTABLE_00")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pCtx)

{
  type_2 *UNRECOVERED_JUMPTABLE_00;
  int *var_2;
  type_3 var_4;
  type_4 *nByte;
  int iVar3;
  type_3 var_3;
  
  nByte = pCtx->pMem;
  if ((nByte->flags & 0x2000) == 0) {
    var_2 = (int *)var_1((type_1 *)&pCtx->pFunc,(int)nByte,
                                     (type_1 *)&DAT_00000018);
    UNRECOVERED_JUMPTABLE_00 = (type_2 *)PTR_sqlite3_result_int64_001909c4;
  }
  else {
    var_2 = (int *)nByte->z;
    UNRECOVERED_JUMPTABLE_00 = (type_2 *)PTR_sqlite3_result_int64_001909c4;
  }
  if (var_2 != (int *)0x0) {
    var_3 = var_2[1];
    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;
    if (var_2[2] == 0 && var_2[3] == 0) {
                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*UNRECOVERED_JUMPTABLE_00)(pCtx);
      return;
    }
    var_4 = var_3 + 1;
    var_2[1] = var_4;
    iVar3 = (type_3)(var_4 < var_3) + *var_2;
    var_2[2] = 0;
    *var_2 = iVar3;
    var_2[3] = 0;
                    /* WARNING: Could not recover jumptable at 0x0007c888. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*UNRECOVERED_JUMPTABLE_00)(pCtx,0,iVar3,var_4);
    return;
  }
  PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;
  return;
}


(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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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 (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))) right: (pointer_expression argument: (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: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement))))

void MASKED(int param_1)

{
  code *UNRECOVERED_JUMPTABLE_00;
  int *piVar1;
  uint uVar2;
  int iVar3;
  uint uVar4;
  
  iVar3 = *(int *)(param_1 + 8);
  if ((*(ushort *)(iVar3 + 8) & 0x2000) == 0) {
    piVar1 = (int *)FUN_0007be98(param_1 + 4,iVar3,0x18);
    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;
  }
  else {
    piVar1 = *(int **)(iVar3 + 0x10);
    UNRECOVERED_JUMPTABLE_00 = (code *)PTR_sqlite3_result_int64_001909c4;
  }
  if (piVar1 != (int *)0x0) {
    uVar4 = piVar1[1];
    PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;
    if (piVar1[2] == 0 && piVar1[3] == 0) {
                    /* WARNING: Could not recover jumptable at 0x0007c848. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (*UNRECOVERED_JUMPTABLE_00)(param_1);
      return;
    }
    uVar2 = uVar4 + 1;
    piVar1[1] = uVar2;
    iVar3 = (uint)(uVar2 < uVar4) + *piVar1;
    piVar1[2] = 0;
    *piVar1 = iVar3;
    piVar1[3] = 0;
                    /* WARNING: Could not recover jumptable at 0x0007c888. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (*UNRECOVERED_JUMPTABLE_00)(param_1,0,iVar3,uVar2);
    return;
  }
  PTR_sqlite3_result_int64_001909c4 = UNRECOVERED_JUMPTABLE_00;
  return;
}

