
void minmaxFunc(sqlite3_context *context,int argc,sqlite3_value **argv)

{
  undefined *puVar1;
  CollSeq *pColl;
  int iVar2;
  uint uVar3;
  Mem *pMem2;
  int iVar4;
  int iVar5;
  void *pvVar6;
  
  puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;
  if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[((*argv)->flags & 0x1f) + 0x65d0] != '\x05') {
    if (argc < 2) {
      iVar5 = 0;
LAB_0008ef7c:
      sqlite3_result_value(context,argv[iVar5]);
    }
    else {
      pMem2 = argv[1];
      iVar5 = 0;
      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(pMem2->flags & 0x1f) + 0x65d0] != '\x05')
      {
        pvVar6 = context->pFunc->pUserData;
        pColl = context->pVdbe->aOp[context->iOp + -1].p4.pColl;
        iVar4 = 1;
        iVar2 = 0;
        do {
          uVar3 = sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl);
          if (-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)) {
            iVar5 = iVar4;
          }
          iVar4 = iVar4 + 1;
          if (argc == iVar4) goto LAB_0008ef7c;
          pMem2 = argv[iVar4];
          iVar2 = iVar5 << 2;
        } while (puVar1[(pMem2->flags & 0x1f) + 0x65d0] != '\x05');
      }
    }
  }
  return;
}



void FUN_0008ee30(int param_1,int param_2,int *param_3)

{
  undefined *puVar1;
  undefined4 uVar2;
  int iVar3;
  uint uVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  
  puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;
  if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]
      != '\x05') {
    if (param_2 < 2) {
      iVar7 = 0;
LAB_0008ef7c:
      sqlite3_result_value(param_1,param_3[iVar7]);
    }
    else {
      iVar5 = param_3[1];
      iVar7 = 0;
      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]
          != '\x05') {
        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);
        uVar2 = *(undefined4 *)
                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);
        iVar6 = 1;
        iVar3 = 0;
        do {
          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);
          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {
            iVar7 = iVar6;
          }
          iVar6 = iVar6 + 1;
          if (param_2 == iVar6) goto LAB_0008ef7c;
          iVar5 = param_3[iVar6];
          iVar3 = iVar7 << 2;
        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');
      }
    }
  }
  return;
}


lui gp,0x11
addiu gp,gp,-0x7510
addu gp,gp,t9
addiu sp,sp,-0x48
sw ra,0x44(sp)
sw s8,0x40(sp)
sw s7,0x3c(sp)
sw s6,0x38(sp)
sw s5,0x34(sp)
sw s4,0x30(sp)
sw s3,0x2c(sp)
sw s2,0x28(sp)
sw s1,0x24(sp)
sw s0,0x20(sp)
sw gp,0x10(sp)
lw v0,0x0(a2)
lhu v0,0x8(v0)
andi v0,v0,0x1f
lw v1,-0x7fc4(gp)
addiu v1,v1,0x65d0
addu v0,v0,v1
lbu v1,0x0(v0)
li v0,0x5
beq v1,v0,0x0008ef9c
_or s2,a2,zero
or s4,a1,zero
slti v0,a1,0x2
bne v0,zero,0x0008ef78
_or s8,a0,zero
lw a1,0x4(a2)
lhu v0,0x8(a1)
andi v0,v0,0x1f
lw v1,-0x7fc4(gp)
addiu v1,v1,0x65d0
addu v0,v0,v1
lbu v1,0x0(v0)
li v0,0x5
beq v1,v0,0x0008ef9c
_or s1,zero,zero
lw v0,0x4(a0)
lw s3,0x8(v0)
lw v0,0xc(a0)
lw a0,0x10(a0)
lw v1,0x68(v0)
sll v0,a0,0x1
addu v0,v0,a0
sll v0,v0,0x3
addu v0,v1,v0
lw v0,-0x8(v0)
sw v0,0x1c(sp)
li s0,0x1
lw s5,-0x7d2c(gp)
addiu s5,s5,-0x15c4
sltu s3,zero,s3
subu s3,zero,s3
lw s6,-0x7fc4(gp)
addiu s6,s6,0x65d0
li s7,0x5
sll v0,s1,0x2
addu v0,s2,v0
lw a2,0x1c(sp)
lw a0,0x0(v0)
or t9,s5,zero
bal 0x0008ea3c
_nop
lw gp,0x10(sp)
xor v0,s3,v0
slti v0,v0,0x0
movz s1,s0,v0
addiu s0,s0,0x1
beq s4,s0,0x0008ef7c
_sll v0,s0,0x2
addu v0,s2,v0
lw a1,0x0(v0)
lhu v0,0x8(a1)
andi v0,v0,0x1f
addu v0,v0,s6
lbu v0,0x0(v0)
bne v0,s7,0x0008ef1c
_sll v0,s1,0x2
b 0x0008efa0
_lw ra,0x44(sp)
or s1,zero,zero
sll s1,s1,0x2
addu s1,s2,s1
lw a1,0x0(s1)
or a0,s8,zero
lw t9,-0x7ee8(gp)
bal 0x000851f0
_nop
lw gp,0x10(sp)
lw ra,0x44(sp)
lw s8,0x40(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x48
(translation_unit "void FUN_0008ee30(int param_1,int param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;\n  if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05') {\n    if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0008ee30(int param_1,int param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;\n  if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05') {\n    if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0008ee30(int param_1,int param_2,int *param_3)" identifier (parameter_list "(int param_1,int param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;\n  if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05') {\n    if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;" (assignment_expression "puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c" identifier = identifier) ;) (if_statement "if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05') {\n    if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }" if (parenthesized_expression "(PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05')" ( (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05'" (subscript_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]" identifier [ (binary_expression "(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0" (parenthesized_expression "(*(ushort *)(*param_3 + 8) & 0x1f)" ( (binary_expression "*(ushort *)(*param_3 + 8) & 0x1f" (pointer_expression "*(ushort *)(*param_3 + 8)" * (cast_expression "(ushort *)(*param_3 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 8)" ( (binary_expression "*param_3 + 8" (pointer_expression "*param_3" * identifier) + number_literal) )))) & number_literal) )) + number_literal) ]) != (char_literal "'\x05'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }" { (if_statement "if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }" if (parenthesized_expression "(param_2 < 2)" ( (binary_expression "param_2 < 2" identifier < number_literal) )) (compound_statement "{\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);" statement_identifier : (expression_statement "sqlite3_result_value(param_1,param_3[iVar7]);" (call_expression "sqlite3_result_value(param_1,param_3[iVar7])" identifier (argument_list "(param_1,param_3[iVar7])" ( identifier , (subscript_expression "param_3[iVar7]" identifier [ identifier ]) ))) ;)) }) (else_clause "else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }" else (compound_statement "{\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }" { (expression_statement "iVar5 = param_3[1];" (assignment_expression "iVar5 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }" if (parenthesized_expression "(PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05')" ( (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05'" (subscript_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]" identifier [ (binary_expression "(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0" (parenthesized_expression "(*(ushort *)(iVar5 + 8) & 0x1f)" ( (binary_expression "*(ushort *)(iVar5 + 8) & 0x1f" (pointer_expression "*(ushort *)(iVar5 + 8)" * (cast_expression "(ushort *)(iVar5 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) & number_literal) )) + number_literal) ]) != (char_literal "'\x05'" ' escape_sequence ')) )) (compound_statement "{\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }" { (expression_statement "iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);" (assignment_expression "iVar8 = *(int *)(*(int *)(param_1 + 4) + 8)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 4) + 8)" * (cast_expression "(int *)(*(int *)(param_1 + 4) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 8)" ( (binary_expression "*(int *)(param_1 + 4) + 8" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);" (assignment_expression "uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8)" identifier = (pointer_expression "*(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8)" * (cast_expression "(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8" (binary_expression "*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18" (pointer_expression "*(int *)(*(int *)(param_1 + 0xc) + 0x68)" * (cast_expression "(int *)(*(int *)(param_1 + 0xc) + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 0x68)" ( (binary_expression "*(int *)(param_1 + 0xc) + 0x68" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) )))) + (binary_expression "*(int *)(param_1 + 0x10) * 0x18" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) * number_literal)) + number_literal) ))))) ;) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');" do (compound_statement "{\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        }" { (expression_statement "uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);" (assignment_expression "uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2)" identifier = (call_expression "FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2)" identifier (argument_list "(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2)" ( (pointer_expression "*(undefined4 *)((int)param_3 + iVar3)" * (cast_expression "(undefined4 *)((int)param_3 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + iVar3)" ( (binary_expression "(int)param_3 + iVar3" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) , identifier , identifier )))) ;) (if_statement "if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }" if (parenthesized_expression "(-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4))" ( (binary_expression "-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)" number_literal < (cast_expression "(int)(-(uint)(iVar8 != 0) ^ uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(-(uint)(iVar8 != 0) ^ uVar4)" ( (binary_expression "-(uint)(iVar8 != 0) ^ uVar4" (unary_expression "-(uint)(iVar8 != 0)" - (call_expression "(uint)(iVar8 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )))) ^ identifier) )))) )) (compound_statement "{\n            iVar7 = iVar6;\n          }" { (expression_statement "iVar7 = iVar6;" (assignment_expression "iVar7 = iVar6" identifier = identifier) ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if (param_2 == iVar6) goto LAB_0008ef7c;" if (parenthesized_expression "(param_2 == iVar6)" ( (binary_expression "param_2 == iVar6" identifier == identifier) )) (goto_statement "goto LAB_0008ef7c;" goto statement_identifier ;)) (expression_statement "iVar5 = param_3[iVar6];" (assignment_expression "iVar5 = param_3[iVar6]" identifier = (subscript_expression "param_3[iVar6]" identifier [ identifier ])) ;) (expression_statement "iVar3 = iVar7 << 2;" (assignment_expression "iVar3 = iVar7 << 2" identifier = (binary_expression "iVar7 << 2" identifier << number_literal)) ;) }) while (parenthesized_expression "(puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05')" ( (binary_expression "puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05'" (subscript_expression "puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]" identifier [ (binary_expression "(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0" (parenthesized_expression "(*(ushort *)(iVar5 + 8) & 0x1f)" ( (binary_expression "*(ushort *)(iVar5 + 8) & 0x1f" (pointer_expression "*(ushort *)(iVar5 + 8)" * (cast_expression "(ushort *)(iVar5 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) & number_literal) )) + number_literal) ]) != (char_literal "'\x05'" ' escape_sequence ')) )) ;) })) }))) })) (return_statement "return;" return ;) })))
(translation_unit "void minmaxFunc(sqlite3_context *context,int argc,sqlite3_value **argv)\n\n{\n  undefined *puVar1;\n  CollSeq *pColl;\n  int iVar2;\n  uint uVar3;\n  Mem *pMem2;\n  int iVar4;\n  int iVar5;\n  void *pvVar6;\n  \n  puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;\n  if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[((*argv)->flags & 0x1f) + 0x65d0] != '\x05') {\n    if (argc < 2) {\n      iVar5 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(context,argv[iVar5]);\n    }\n    else {\n      pMem2 = argv[1];\n      iVar5 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(pMem2->flags & 0x1f) + 0x65d0] != '\x05')\n      {\n        pvVar6 = context->pFunc->pUserData;\n        pColl = context->pVdbe->aOp[context->iOp + -1].p4.pColl;\n        iVar4 = 1;\n        iVar2 = 0;\n        do {\n          uVar3 = sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl);\n          if (-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)) {\n            iVar5 = iVar4;\n          }\n          iVar4 = iVar4 + 1;\n          if (argc == iVar4) goto LAB_0008ef7c;\n          pMem2 = argv[iVar4];\n          iVar2 = iVar5 << 2;\n        } while (puVar1[(pMem2->flags & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void minmaxFunc(sqlite3_context *context,int argc,sqlite3_value **argv)\n\n{\n  undefined *puVar1;\n  CollSeq *pColl;\n  int iVar2;\n  uint uVar3;\n  Mem *pMem2;\n  int iVar4;\n  int iVar5;\n  void *pvVar6;\n  \n  puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;\n  if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[((*argv)->flags & 0x1f) + 0x65d0] != '\x05') {\n    if (argc < 2) {\n      iVar5 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(context,argv[iVar5]);\n    }\n    else {\n      pMem2 = argv[1];\n      iVar5 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(pMem2->flags & 0x1f) + 0x65d0] != '\x05')\n      {\n        pvVar6 = context->pFunc->pUserData;\n        pColl = context->pVdbe->aOp[context->iOp + -1].p4.pColl;\n        iVar4 = 1;\n        iVar2 = 0;\n        do {\n          uVar3 = sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl);\n          if (-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)) {\n            iVar5 = iVar4;\n          }\n          iVar4 = iVar4 + 1;\n          if (argc == iVar4) goto LAB_0008ef7c;\n          pMem2 = argv[iVar4];\n          iVar2 = iVar5 << 2;\n        } while (puVar1[(pMem2->flags & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "minmaxFunc(sqlite3_context *context,int argc,sqlite3_value **argv)" identifier (parameter_list "(sqlite3_context *context,int argc,sqlite3_value **argv)" ( (parameter_declaration "sqlite3_context *context" type_identifier (pointer_declarator "*context" * identifier)) , (parameter_declaration "int argc" primitive_type identifier) , (parameter_declaration "sqlite3_value **argv" type_identifier (pointer_declarator "**argv" * (pointer_declarator "*argv" * identifier))) ))) (compound_statement "{\n  undefined *puVar1;\n  CollSeq *pColl;\n  int iVar2;\n  uint uVar3;\n  Mem *pMem2;\n  int iVar4;\n  int iVar5;\n  void *pvVar6;\n  \n  puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;\n  if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[((*argv)->flags & 0x1f) + 0x65d0] != '\x05') {\n    if (argc < 2) {\n      iVar5 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(context,argv[iVar5]);\n    }\n    else {\n      pMem2 = argv[1];\n      iVar5 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(pMem2->flags & 0x1f) + 0x65d0] != '\x05')\n      {\n        pvVar6 = context->pFunc->pUserData;\n        pColl = context->pVdbe->aOp[context->iOp + -1].p4.pColl;\n        iVar4 = 1;\n        iVar2 = 0;\n        do {\n          uVar3 = sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl);\n          if (-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)) {\n            iVar5 = iVar4;\n          }\n          iVar4 = iVar4 + 1;\n          if (argc == iVar4) goto LAB_0008ef7c;\n          pMem2 = argv[iVar4];\n          iVar2 = iVar5 << 2;\n        } while (puVar1[(pMem2->flags & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "CollSeq *pColl;" type_identifier (pointer_declarator "*pColl" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "Mem *pMem2;" type_identifier (pointer_declarator "*pMem2" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "void *pvVar6;" primitive_type (pointer_declarator "*pvVar6" * identifier) ;) (expression_statement "puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;" (assignment_expression "puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c" identifier = identifier) ;) (if_statement "if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[((*argv)->flags & 0x1f) + 0x65d0] != '\x05') {\n    if (argc < 2) {\n      iVar5 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(context,argv[iVar5]);\n    }\n    else {\n      pMem2 = argv[1];\n      iVar5 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(pMem2->flags & 0x1f) + 0x65d0] != '\x05')\n      {\n        pvVar6 = context->pFunc->pUserData;\n        pColl = context->pVdbe->aOp[context->iOp + -1].p4.pColl;\n        iVar4 = 1;\n        iVar2 = 0;\n        do {\n          uVar3 = sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl);\n          if (-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)) {\n            iVar5 = iVar4;\n          }\n          iVar4 = iVar4 + 1;\n          if (argc == iVar4) goto LAB_0008ef7c;\n          pMem2 = argv[iVar4];\n          iVar2 = iVar5 << 2;\n        } while (puVar1[(pMem2->flags & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }" if (parenthesized_expression "(PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[((*argv)->flags & 0x1f) + 0x65d0] != '\x05')" ( (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[((*argv)->flags & 0x1f) + 0x65d0] != '\x05'" (subscript_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[((*argv)->flags & 0x1f) + 0x65d0]" identifier [ (binary_expression "((*argv)->flags & 0x1f) + 0x65d0" (parenthesized_expression "((*argv)->flags & 0x1f)" ( (binary_expression "(*argv)->flags & 0x1f" (field_expression "(*argv)->flags" (parenthesized_expression "(*argv)" ( (pointer_expression "*argv" * identifier) )) -> field_identifier) & number_literal) )) + number_literal) ]) != (char_literal "'\x05'" ' escape_sequence ')) )) (compound_statement "{\n    if (argc < 2) {\n      iVar5 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(context,argv[iVar5]);\n    }\n    else {\n      pMem2 = argv[1];\n      iVar5 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(pMem2->flags & 0x1f) + 0x65d0] != '\x05')\n      {\n        pvVar6 = context->pFunc->pUserData;\n        pColl = context->pVdbe->aOp[context->iOp + -1].p4.pColl;\n        iVar4 = 1;\n        iVar2 = 0;\n        do {\n          uVar3 = sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl);\n          if (-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)) {\n            iVar5 = iVar4;\n          }\n          iVar4 = iVar4 + 1;\n          if (argc == iVar4) goto LAB_0008ef7c;\n          pMem2 = argv[iVar4];\n          iVar2 = iVar5 << 2;\n        } while (puVar1[(pMem2->flags & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }" { (if_statement "if (argc < 2) {\n      iVar5 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(context,argv[iVar5]);\n    }\n    else {\n      pMem2 = argv[1];\n      iVar5 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(pMem2->flags & 0x1f) + 0x65d0] != '\x05')\n      {\n        pvVar6 = context->pFunc->pUserData;\n        pColl = context->pVdbe->aOp[context->iOp + -1].p4.pColl;\n        iVar4 = 1;\n        iVar2 = 0;\n        do {\n          uVar3 = sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl);\n          if (-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)) {\n            iVar5 = iVar4;\n          }\n          iVar4 = iVar4 + 1;\n          if (argc == iVar4) goto LAB_0008ef7c;\n          pMem2 = argv[iVar4];\n          iVar2 = iVar5 << 2;\n        } while (puVar1[(pMem2->flags & 0x1f) + 0x65d0] != '\x05');\n      }\n    }" if (parenthesized_expression "(argc < 2)" ( (binary_expression "argc < 2" identifier < number_literal) )) (compound_statement "{\n      iVar5 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(context,argv[iVar5]);\n    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0008ef7c:\n      sqlite3_result_value(context,argv[iVar5]);" statement_identifier : (expression_statement "sqlite3_result_value(context,argv[iVar5]);" (call_expression "sqlite3_result_value(context,argv[iVar5])" identifier (argument_list "(context,argv[iVar5])" ( identifier , (subscript_expression "argv[iVar5]" identifier [ identifier ]) ))) ;)) }) (else_clause "else {\n      pMem2 = argv[1];\n      iVar5 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(pMem2->flags & 0x1f) + 0x65d0] != '\x05')\n      {\n        pvVar6 = context->pFunc->pUserData;\n        pColl = context->pVdbe->aOp[context->iOp + -1].p4.pColl;\n        iVar4 = 1;\n        iVar2 = 0;\n        do {\n          uVar3 = sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl);\n          if (-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)) {\n            iVar5 = iVar4;\n          }\n          iVar4 = iVar4 + 1;\n          if (argc == iVar4) goto LAB_0008ef7c;\n          pMem2 = argv[iVar4];\n          iVar2 = iVar5 << 2;\n        } while (puVar1[(pMem2->flags & 0x1f) + 0x65d0] != '\x05');\n      }\n    }" else (compound_statement "{\n      pMem2 = argv[1];\n      iVar5 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(pMem2->flags & 0x1f) + 0x65d0] != '\x05')\n      {\n        pvVar6 = context->pFunc->pUserData;\n        pColl = context->pVdbe->aOp[context->iOp + -1].p4.pColl;\n        iVar4 = 1;\n        iVar2 = 0;\n        do {\n          uVar3 = sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl);\n          if (-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)) {\n            iVar5 = iVar4;\n          }\n          iVar4 = iVar4 + 1;\n          if (argc == iVar4) goto LAB_0008ef7c;\n          pMem2 = argv[iVar4];\n          iVar2 = iVar5 << 2;\n        } while (puVar1[(pMem2->flags & 0x1f) + 0x65d0] != '\x05');\n      }\n    }" { (expression_statement "pMem2 = argv[1];" (assignment_expression "pMem2 = argv[1]" identifier = (subscript_expression "argv[1]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(pMem2->flags & 0x1f) + 0x65d0] != '\x05')\n      {\n        pvVar6 = context->pFunc->pUserData;\n        pColl = context->pVdbe->aOp[context->iOp + -1].p4.pColl;\n        iVar4 = 1;\n        iVar2 = 0;\n        do {\n          uVar3 = sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl);\n          if (-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)) {\n            iVar5 = iVar4;\n          }\n          iVar4 = iVar4 + 1;\n          if (argc == iVar4) goto LAB_0008ef7c;\n          pMem2 = argv[iVar4];\n          iVar2 = iVar5 << 2;\n        } while (puVar1[(pMem2->flags & 0x1f) + 0x65d0] != '\x05');\n      }" if (parenthesized_expression "(PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(pMem2->flags & 0x1f) + 0x65d0] != '\x05')" ( (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(pMem2->flags & 0x1f) + 0x65d0] != '\x05'" (subscript_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(pMem2->flags & 0x1f) + 0x65d0]" identifier [ (binary_expression "(pMem2->flags & 0x1f) + 0x65d0" (parenthesized_expression "(pMem2->flags & 0x1f)" ( (binary_expression "pMem2->flags & 0x1f" (field_expression "pMem2->flags" identifier -> field_identifier) & number_literal) )) + number_literal) ]) != (char_literal "'\x05'" ' escape_sequence ')) )) (compound_statement "{\n        pvVar6 = context->pFunc->pUserData;\n        pColl = context->pVdbe->aOp[context->iOp + -1].p4.pColl;\n        iVar4 = 1;\n        iVar2 = 0;\n        do {\n          uVar3 = sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl);\n          if (-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)) {\n            iVar5 = iVar4;\n          }\n          iVar4 = iVar4 + 1;\n          if (argc == iVar4) goto LAB_0008ef7c;\n          pMem2 = argv[iVar4];\n          iVar2 = iVar5 << 2;\n        } while (puVar1[(pMem2->flags & 0x1f) + 0x65d0] != '\x05');\n      }" { (expression_statement "pvVar6 = context->pFunc->pUserData;" (assignment_expression "pvVar6 = context->pFunc->pUserData" identifier = (field_expression "context->pFunc->pUserData" (field_expression "context->pFunc" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "pColl = context->pVdbe->aOp[context->iOp + -1].p4.pColl;" (assignment_expression "pColl = context->pVdbe->aOp[context->iOp + -1].p4.pColl" identifier = (field_expression "context->pVdbe->aOp[context->iOp + -1].p4.pColl" (field_expression "context->pVdbe->aOp[context->iOp + -1].p4" (subscript_expression "context->pVdbe->aOp[context->iOp + -1]" (field_expression "context->pVdbe->aOp" (field_expression "context->pVdbe" identifier -> field_identifier) -> field_identifier) [ (binary_expression "context->iOp + -1" (field_expression "context->iOp" identifier -> field_identifier) + number_literal) ]) . field_identifier) . field_identifier)) ;) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar3 = sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl);\n          if (-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)) {\n            iVar5 = iVar4;\n          }\n          iVar4 = iVar4 + 1;\n          if (argc == iVar4) goto LAB_0008ef7c;\n          pMem2 = argv[iVar4];\n          iVar2 = iVar5 << 2;\n        } while (puVar1[(pMem2->flags & 0x1f) + 0x65d0] != '\x05');" do (compound_statement "{\n          uVar3 = sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl);\n          if (-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)) {\n            iVar5 = iVar4;\n          }\n          iVar4 = iVar4 + 1;\n          if (argc == iVar4) goto LAB_0008ef7c;\n          pMem2 = argv[iVar4];\n          iVar2 = iVar5 << 2;\n        }" { (expression_statement "uVar3 = sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl);" (assignment_expression "uVar3 = sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl)" identifier = (call_expression "sqlite3MemCompare(*(Mem **)((int)argv + iVar2),pMem2,pColl)" identifier (argument_list "(*(Mem **)((int)argv + iVar2),pMem2,pColl)" ( (pointer_expression "*(Mem **)((int)argv + iVar2)" * (cast_expression "(Mem **)((int)argv + iVar2)" ( (type_descriptor "Mem **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)argv + iVar2)" ( (binary_expression "(int)argv + iVar2" (cast_expression "(int)argv" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) , identifier , identifier )))) ;) (if_statement "if (-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)) {\n            iVar5 = iVar4;\n          }" if (parenthesized_expression "(-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3))" ( (binary_expression "-1 < (int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)" number_literal < (cast_expression "(int)(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(-(uint)(pvVar6 != (void *)0x0) ^ uVar3)" ( (binary_expression "-(uint)(pvVar6 != (void *)0x0) ^ uVar3" (unary_expression "-(uint)(pvVar6 != (void *)0x0)" - (call_expression "(uint)(pvVar6 != (void *)0x0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pvVar6 != (void *)0x0)" ( (binary_expression "pvVar6 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )))) ^ identifier) )))) )) (compound_statement "{\n            iVar5 = iVar4;\n          }" { (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (if_statement "if (argc == iVar4) goto LAB_0008ef7c;" if (parenthesized_expression "(argc == iVar4)" ( (binary_expression "argc == iVar4" identifier == identifier) )) (goto_statement "goto LAB_0008ef7c;" goto statement_identifier ;)) (expression_statement "pMem2 = argv[iVar4];" (assignment_expression "pMem2 = argv[iVar4]" identifier = (subscript_expression "argv[iVar4]" identifier [ identifier ])) ;) (expression_statement "iVar2 = iVar5 << 2;" (assignment_expression "iVar2 = iVar5 << 2" identifier = (binary_expression "iVar5 << 2" identifier << number_literal)) ;) }) while (parenthesized_expression "(puVar1[(pMem2->flags & 0x1f) + 0x65d0] != '\x05')" ( (binary_expression "puVar1[(pMem2->flags & 0x1f) + 0x65d0] != '\x05'" (subscript_expression "puVar1[(pMem2->flags & 0x1f) + 0x65d0]" identifier [ (binary_expression "(pMem2->flags & 0x1f) + 0x65d0" (parenthesized_expression "(pMem2->flags & 0x1f)" ( (binary_expression "pMem2->flags & 0x1f" (field_expression "pMem2->flags" identifier -> field_identifier) & number_literal) )) + number_literal) ]) != (char_literal "'\x05'" ' escape_sequence ')) )) ;) })) }))) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0008ee30(int param_1,int param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;\n  if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05') {\n    if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0008ee30(int param_1,int param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;\n  if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05') {\n    if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0008ee30(int param_1,int param_2,int *param_3)" identifier (parameter_list "(int param_1,int param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;\n  if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05') {\n    if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;" (assignment_expression "puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c" identifier = identifier) ;) (if_statement "if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05') {\n    if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }" if (parenthesized_expression "(PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05')" ( (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05'" (subscript_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]" identifier [ (binary_expression "(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0" (parenthesized_expression "(*(ushort *)(*param_3 + 8) & 0x1f)" ( (binary_expression "*(ushort *)(*param_3 + 8) & 0x1f" (pointer_expression "*(ushort *)(*param_3 + 8)" * (cast_expression "(ushort *)(*param_3 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 8)" ( (binary_expression "*param_3 + 8" (pointer_expression "*param_3" * identifier) + number_literal) )))) & number_literal) )) + number_literal) ]) != (char_literal "'\x05'" ' escape_sequence ')) )) (compound_statement "{\n    if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }" { (if_statement "if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }" if (parenthesized_expression "(param_2 < 2)" ( (binary_expression "param_2 < 2" identifier < number_literal) )) (compound_statement "{\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);" statement_identifier : (expression_statement "sqlite3_result_value(param_1,param_3[iVar7]);" (call_expression "sqlite3_result_value(param_1,param_3[iVar7])" identifier (argument_list "(param_1,param_3[iVar7])" ( identifier , (subscript_expression "param_3[iVar7]" identifier [ identifier ]) ))) ;)) }) (else_clause "else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }" else (compound_statement "{\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }" { (expression_statement "iVar5 = param_3[1];" (assignment_expression "iVar5 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }" if (parenthesized_expression "(PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05')" ( (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05'" (subscript_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]" identifier [ (binary_expression "(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0" (parenthesized_expression "(*(ushort *)(iVar5 + 8) & 0x1f)" ( (binary_expression "*(ushort *)(iVar5 + 8) & 0x1f" (pointer_expression "*(ushort *)(iVar5 + 8)" * (cast_expression "(ushort *)(iVar5 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) & number_literal) )) + number_literal) ]) != (char_literal "'\x05'" ' escape_sequence ')) )) (compound_statement "{\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }" { (expression_statement "iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);" (assignment_expression "iVar8 = *(int *)(*(int *)(param_1 + 4) + 8)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 4) + 8)" * (cast_expression "(int *)(*(int *)(param_1 + 4) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 4) + 8)" ( (binary_expression "*(int *)(param_1 + 4) + 8" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);" (assignment_expression "uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8)" identifier = (pointer_expression "*(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8)" * (cast_expression "(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8)" ( (binary_expression "*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8" (binary_expression "*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18" (pointer_expression "*(int *)(*(int *)(param_1 + 0xc) + 0x68)" * (cast_expression "(int *)(*(int *)(param_1 + 0xc) + 0x68)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 0x68)" ( (binary_expression "*(int *)(param_1 + 0xc) + 0x68" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) )))) + (binary_expression "*(int *)(param_1 + 0x10) * 0x18" (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) * number_literal)) + number_literal) ))))) ;) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" identifier = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');" do (compound_statement "{\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        }" { (expression_statement "uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);" (assignment_expression "uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2)" identifier = (call_expression "FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2)" identifier (argument_list "(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2)" ( (pointer_expression "*(undefined4 *)((int)param_3 + iVar3)" * (cast_expression "(undefined4 *)((int)param_3 + iVar3)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + iVar3)" ( (binary_expression "(int)param_3 + iVar3" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) , identifier , identifier )))) ;) (if_statement "if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }" if (parenthesized_expression "(-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4))" ( (binary_expression "-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)" number_literal < (cast_expression "(int)(-(uint)(iVar8 != 0) ^ uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(-(uint)(iVar8 != 0) ^ uVar4)" ( (binary_expression "-(uint)(iVar8 != 0) ^ uVar4" (unary_expression "-(uint)(iVar8 != 0)" - (call_expression "(uint)(iVar8 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )))) ^ identifier) )))) )) (compound_statement "{\n            iVar7 = iVar6;\n          }" { (expression_statement "iVar7 = iVar6;" (assignment_expression "iVar7 = iVar6" identifier = identifier) ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (if_statement "if (param_2 == iVar6) goto LAB_0008ef7c;" if (parenthesized_expression "(param_2 == iVar6)" ( (binary_expression "param_2 == iVar6" identifier == identifier) )) (goto_statement "goto LAB_0008ef7c;" goto statement_identifier ;)) (expression_statement "iVar5 = param_3[iVar6];" (assignment_expression "iVar5 = param_3[iVar6]" identifier = (subscript_expression "param_3[iVar6]" identifier [ identifier ])) ;) (expression_statement "iVar3 = iVar7 << 2;" (assignment_expression "iVar3 = iVar7 << 2" identifier = (binary_expression "iVar7 << 2" identifier << number_literal)) ;) }) while (parenthesized_expression "(puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05')" ( (binary_expression "puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05'" (subscript_expression "puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]" identifier [ (binary_expression "(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0" (parenthesized_expression "(*(ushort *)(iVar5 + 8) & 0x1f)" ( (binary_expression "*(ushort *)(iVar5 + 8) & 0x1f" (pointer_expression "*(ushort *)(iVar5 + 8)" * (cast_expression "(ushort *)(iVar5 + 8)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) & number_literal) )) + number_literal) ]) != (char_literal "'\x05'" ' escape_sequence ')) )) ;) })) }))) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) & LIT) )) + LIT) ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ IDENT ]) ))) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) + LIT) ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ^ IDENT) )))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) + LIT) ]) != (char_literal ' escape_sequence ')) )) ;) })) }))) })) (return_statement return ;) })))
(function_definition "void FUN_0008ee30(int param_1,int param_2,int *param_3)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;\n  if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05') {\n    if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0008ee30(int param_1,int param_2,int *param_3)" (identifier "FUN_0008ee30") (parameter_list "(int param_1,int param_2,int *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  int iVar3;\n  uint uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  \n  puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;\n  if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05') {\n    if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (expression_statement "puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;" (assignment_expression "puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c" (identifier "puVar1") (= "=") (identifier "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c")) (; ";")) (if_statement "if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05') {\n    if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }" (if "if") (parenthesized_expression "(PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05')" (( "(") (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]\n      != '\x05'" (subscript_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]" (identifier "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c") ([ "[") (binary_expression "(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0" (parenthesized_expression "(*(ushort *)(*param_3 + 8) & 0x1f)" (( "(") (binary_expression "*(ushort *)(*param_3 + 8) & 0x1f" (pointer_expression "*(ushort *)(*param_3 + 8)" (* "*") (cast_expression "(ushort *)(*param_3 + 8)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + 8)" (( "(") (binary_expression "*param_3 + 8" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0x1f")) () ")")) (+ "+") (number_literal "0x65d0")) (] "]")) (!= "!=") (char_literal "'\x05'" (' "'") (escape_sequence "\x05") (' "'"))) () ")")) (compound_statement "{\n    if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }\n  }" ({ "{") (if_statement "if (param_2 < 2) {\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }\n    else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }" (if "if") (parenthesized_expression "(param_2 < 2)" (( "(") (binary_expression "param_2 < 2" (identifier "param_2") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n      iVar7 = 0;\nLAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);\n    }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0008ef7c:\n      sqlite3_result_value(param_1,param_3[iVar7]);" (statement_identifier "LAB_0008ef7c") (: ":") (expression_statement "sqlite3_result_value(param_1,param_3[iVar7]);" (call_expression "sqlite3_result_value(param_1,param_3[iVar7])" (identifier "sqlite3_result_value") (argument_list "(param_1,param_3[iVar7])" (( "(") (identifier "param_1") (, ",") (subscript_expression "param_3[iVar7]" (identifier "param_3") ([ "[") (identifier "iVar7") (] "]")) () ")"))) (; ";"))) (} "}")) (else_clause "else {\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }" (else "else") (compound_statement "{\n      iVar5 = param_3[1];\n      iVar7 = 0;\n      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }\n    }" ({ "{") (expression_statement "iVar5 = param_3[1];" (assignment_expression "iVar5 = param_3[1]" (identifier "iVar5") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (if_statement "if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05') {\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }" (if "if") (parenthesized_expression "(PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05')" (( "(") (binary_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]\n          != '\x05'" (subscript_expression "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]" (identifier "PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c") ([ "[") (binary_expression "(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0" (parenthesized_expression "(*(ushort *)(iVar5 + 8) & 0x1f)" (( "(") (binary_expression "*(ushort *)(iVar5 + 8) & 0x1f" (pointer_expression "*(ushort *)(iVar5 + 8)" (* "*") (cast_expression "(ushort *)(iVar5 + 8)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0x1f")) () ")")) (+ "+") (number_literal "0x65d0")) (] "]")) (!= "!=") (char_literal "'\x05'" (' "'") (escape_sequence "\x05") (' "'"))) () ")")) (compound_statement "{\n        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);\n        uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);\n        iVar6 = 1;\n        iVar3 = 0;\n        do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');\n      }" ({ "{") (expression_statement "iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);" (assignment_expression "iVar8 = *(int *)(*(int *)(param_1 + 4) + 8)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 4) + 8)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 4) + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 4) + 8)" (( "(") (binary_expression "*(int *)(param_1 + 4) + 8" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);" (assignment_expression "uVar2 = *(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8)" (* "*") (cast_expression "(undefined4 *)\n                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8)" (( "(") (binary_expression "*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8" (binary_expression "*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18" (pointer_expression "*(int *)(*(int *)(param_1 + 0xc) + 0x68)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0xc) + 0x68)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xc) + 0x68)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) + 0x68" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "0x68")) () ")")))) (+ "+") (binary_expression "*(int *)(param_1 + 0x10) * 0x18" (pointer_expression "*(int *)(param_1 + 0x10)" (* "*") (cast_expression "(int *)(param_1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (* "*") (number_literal "0x18"))) (+ "+") (number_literal "-8")) () ")"))))) (; ";")) (expression_statement "iVar6 = 1;" (assignment_expression "iVar6 = 1" (identifier "iVar6") (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');" (do "do") (compound_statement "{\n          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);\n          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }\n          iVar6 = iVar6 + 1;\n          if (param_2 == iVar6) goto LAB_0008ef7c;\n          iVar5 = param_3[iVar6];\n          iVar3 = iVar7 << 2;\n        }" ({ "{") (expression_statement "uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);" (assignment_expression "uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2)" (identifier "uVar4") (= "=") (call_expression "FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2)" (identifier "FUN_0008ea3c") (argument_list "(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2)" (( "(") (pointer_expression "*(undefined4 *)((int)param_3 + iVar3)" (* "*") (cast_expression "(undefined4 *)((int)param_3 + iVar3)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_3 + iVar3)" (( "(") (binary_expression "(int)param_3 + iVar3" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (+ "+") (identifier "iVar3")) () ")")))) (, ",") (identifier "iVar5") (, ",") (identifier "uVar2") () ")")))) (; ";")) (if_statement "if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {\n            iVar7 = iVar6;\n          }" (if "if") (parenthesized_expression "(-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4))" (( "(") (binary_expression "-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)" (number_literal "-1") (< "<") (cast_expression "(int)(-(uint)(iVar8 != 0) ^ uVar4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(-(uint)(iVar8 != 0) ^ uVar4)" (( "(") (binary_expression "-(uint)(iVar8 != 0) ^ uVar4" (unary_expression "-(uint)(iVar8 != 0)" (- "-") (call_expression "(uint)(iVar8 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")))) (^ "^") (identifier "uVar4")) () ")")))) () ")")) (compound_statement "{\n            iVar7 = iVar6;\n          }" ({ "{") (expression_statement "iVar7 = iVar6;" (assignment_expression "iVar7 = iVar6" (identifier "iVar7") (= "=") (identifier "iVar6")) (; ";")) (} "}"))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (param_2 == iVar6) goto LAB_0008ef7c;" (if "if") (parenthesized_expression "(param_2 == iVar6)" (( "(") (binary_expression "param_2 == iVar6" (identifier "param_2") (== "==") (identifier "iVar6")) () ")")) (goto_statement "goto LAB_0008ef7c;" (goto "goto") (statement_identifier "LAB_0008ef7c") (; ";"))) (expression_statement "iVar5 = param_3[iVar6];" (assignment_expression "iVar5 = param_3[iVar6]" (identifier "iVar5") (= "=") (subscript_expression "param_3[iVar6]" (identifier "param_3") ([ "[") (identifier "iVar6") (] "]"))) (; ";")) (expression_statement "iVar3 = iVar7 << 2;" (assignment_expression "iVar3 = iVar7 << 2" (identifier "iVar3") (= "=") (binary_expression "iVar7 << 2" (identifier "iVar7") (<< "<<") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05')" (( "(") (binary_expression "puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05'" (subscript_expression "puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]" (identifier "puVar1") ([ "[") (binary_expression "(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0" (parenthesized_expression "(*(ushort *)(iVar5 + 8) & 0x1f)" (( "(") (binary_expression "*(ushort *)(iVar5 + 8) & 0x1f" (pointer_expression "*(ushort *)(iVar5 + 8)" (* "*") (cast_expression "(ushort *)(iVar5 + 8)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "0x1f")) () ")")) (+ "+") (number_literal "0x65d0")) (] "]")) (!= "!=") (char_literal "'\x05'" (' "'") (escape_sequence "\x05") (' "'"))) () ")")) (; ";")) (} "}"))) (} "}")))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (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: (number_literal))))) right: (number_literal))) right: (number_literal))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (identifier))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) right: (char_literal (escape_sequence)))))))))))) (return_statement))))

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

{
  undefined *puVar1;
  undefined4 uVar2;
  int iVar3;
  uint uVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  
  puVar1 = PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c;
  if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(*param_3 + 8) & 0x1f) + 0x65d0]
      != '\x05') {
    if (param_2 < 2) {
      iVar7 = 0;
LAB_0008ef7c:
      sqlite3_result_value(param_1,param_3[iVar7]);
    }
    else {
      iVar5 = param_3[1];
      iVar7 = 0;
      if (PTR_s_FROM___q____q_node__WHERE_nodeno_0018f95c[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0]
          != '\x05') {
        iVar8 = *(int *)(*(int *)(param_1 + 4) + 8);
        uVar2 = *(undefined4 *)
                 (*(int *)(*(int *)(param_1 + 0xc) + 0x68) + *(int *)(param_1 + 0x10) * 0x18 + -8);
        iVar6 = 1;
        iVar3 = 0;
        do {
          uVar4 = FUN_0008ea3c(*(undefined4 *)((int)param_3 + iVar3),iVar5,uVar2);
          if (-1 < (int)(-(uint)(iVar8 != 0) ^ uVar4)) {
            iVar7 = iVar6;
          }
          iVar6 = iVar6 + 1;
          if (param_2 == iVar6) goto LAB_0008ef7c;
          iVar5 = param_3[iVar6];
          iVar3 = iVar7 << 2;
        } while (puVar1[(*(ushort *)(iVar5 + 8) & 0x1f) + 0x65d0] != '\x05');
      }
    }
  }
  return;
}

