
void vdbeMergeEngineFree(MergeEngine *pMerger)

{
  PmaReader *pReadr;
  int iVar1;
  int iVar2;
  
  if ((pMerger != (MergeEngine *)0x0) && (0 < pMerger->nTree)) {
    iVar2 = 0;
    iVar1 = 0;
    do {
      iVar1 = iVar1 + 1;
      pReadr = (PmaReader *)((int)&pMerger->aReadr->iReadOff + iVar2);
      iVar2 = iVar2 + 0x38;
      vdbePmaReaderClear(pReadr);
    } while (iVar1 < pMerger->nTree);
  }
                    /* WARNING: Subroutine does not return */
  sqlite3_free(pMerger);
}



void FUN_0006a060(int *param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  
  if ((param_1 != (int *)0x0) && (0 < *param_1)) {
    iVar3 = 0;
    iVar2 = 0;
    do {
      iVar2 = iVar2 + 1;
      iVar1 = param_1[3] + iVar3;
      iVar3 = iVar3 + 0x38;
      FUN_00069fbc(iVar1);
    } while (iVar2 < *param_1);
  }
  sqlite3_free(param_1);
  return;
}


lui gp,0x13
addiu gp,gp,-0x1740
addu gp,gp,t9
addiu sp,sp,-0x30
sw gp,0x10(sp)
sw s2,0x24(sp)
or s2,a0,zero
sw ra,0x2c(sp)
sw s3,0x28(sp)
sw s1,0x20(sp)
beq a0,zero,0x0006a0d0
_sw s0,0x1c(sp)
lw v0,0x0(a0)
blez v0,0x0006a0d0
_lw s3,-0x7d68(gp)
or s1,zero,zero
or s0,zero,zero
addiu s3,s3,-0x6044
lw a0,0xc(s2)
or t9,s3,zero
addiu s0,s0,0x1
addu a0,a0,s1
bal 0x00069fbc
_addiu s1,s1,0x38
lw v0,0x0(s2)
slt v0,s0,v0
bne v0,zero,0x0006a0a8
_lw gp,0x10(sp)
lw ra,0x2c(sp)
or a0,s2,zero
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
lw t9,-0x7fb4(gp)
b 0x0004db4c
_addiu sp,sp,0x30
(translation_unit "void FUN_0006a060(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((param_1 != (int *)0x0) && (0 < *param_1)) {\n    iVar3 = 0;\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);\n  }\n  sqlite3_free(param_1);\n  return;\n}\n\n" (function_definition "void FUN_0006a060(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((param_1 != (int *)0x0) && (0 < *param_1)) {\n    iVar3 = 0;\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);\n  }\n  sqlite3_free(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0006a060(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((param_1 != (int *)0x0) && (0 < *param_1)) {\n    iVar3 = 0;\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);\n  }\n  sqlite3_free(param_1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if ((param_1 != (int *)0x0) && (0 < *param_1)) {\n    iVar3 = 0;\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);\n  }" if (parenthesized_expression "((param_1 != (int *)0x0) && (0 < *param_1))" ( (binary_expression "(param_1 != (int *)0x0) && (0 < *param_1)" (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(0 < *param_1)" ( (binary_expression "0 < *param_1" number_literal < (pointer_expression "*param_1" * identifier)) ))) )) (compound_statement "{\n    iVar3 = 0;\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);" do (compound_statement "{\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = param_1[3] + iVar3;" (assignment_expression "iVar1 = param_1[3] + iVar3" identifier = (binary_expression "param_1[3] + iVar3" (subscript_expression "param_1[3]" identifier [ number_literal ]) + identifier)) ;) (expression_statement "iVar3 = iVar3 + 0x38;" (assignment_expression "iVar3 = iVar3 + 0x38" identifier = (binary_expression "iVar3 + 0x38" identifier + number_literal)) ;) (expression_statement "FUN_00069fbc(iVar1);" (call_expression "FUN_00069fbc(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar2 < *param_1)" ( (binary_expression "iVar2 < *param_1" identifier < (pointer_expression "*param_1" * identifier)) )) ;) })) (expression_statement "sqlite3_free(param_1);" (call_expression "sqlite3_free(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void vdbeMergeEngineFree(MergeEngine *pMerger)\n\n{\n  PmaReader *pReadr;\n  int iVar1;\n  int iVar2;\n  \n  if ((pMerger != (MergeEngine *)0x0) && (0 < pMerger->nTree)) {\n    iVar2 = 0;\n    iVar1 = 0;\n    do {\n      iVar1 = iVar1 + 1;\n      pReadr = (PmaReader *)((int)&pMerger->aReadr->iReadOff + iVar2);\n      iVar2 = iVar2 + 0x38;\n      vdbePmaReaderClear(pReadr);\n    } while (iVar1 < pMerger->nTree);\n  }\n                    /* WARNING: Subroutine does not return */\n  sqlite3_free(pMerger);\n}\n\n" (function_definition "void vdbeMergeEngineFree(MergeEngine *pMerger)\n\n{\n  PmaReader *pReadr;\n  int iVar1;\n  int iVar2;\n  \n  if ((pMerger != (MergeEngine *)0x0) && (0 < pMerger->nTree)) {\n    iVar2 = 0;\n    iVar1 = 0;\n    do {\n      iVar1 = iVar1 + 1;\n      pReadr = (PmaReader *)((int)&pMerger->aReadr->iReadOff + iVar2);\n      iVar2 = iVar2 + 0x38;\n      vdbePmaReaderClear(pReadr);\n    } while (iVar1 < pMerger->nTree);\n  }\n                    /* WARNING: Subroutine does not return */\n  sqlite3_free(pMerger);\n}" primitive_type (function_declarator "vdbeMergeEngineFree(MergeEngine *pMerger)" identifier (parameter_list "(MergeEngine *pMerger)" ( (parameter_declaration "MergeEngine *pMerger" type_identifier (pointer_declarator "*pMerger" * identifier)) ))) (compound_statement "{\n  PmaReader *pReadr;\n  int iVar1;\n  int iVar2;\n  \n  if ((pMerger != (MergeEngine *)0x0) && (0 < pMerger->nTree)) {\n    iVar2 = 0;\n    iVar1 = 0;\n    do {\n      iVar1 = iVar1 + 1;\n      pReadr = (PmaReader *)((int)&pMerger->aReadr->iReadOff + iVar2);\n      iVar2 = iVar2 + 0x38;\n      vdbePmaReaderClear(pReadr);\n    } while (iVar1 < pMerger->nTree);\n  }\n                    /* WARNING: Subroutine does not return */\n  sqlite3_free(pMerger);\n}" { (declaration "PmaReader *pReadr;" type_identifier (pointer_declarator "*pReadr" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if ((pMerger != (MergeEngine *)0x0) && (0 < pMerger->nTree)) {\n    iVar2 = 0;\n    iVar1 = 0;\n    do {\n      iVar1 = iVar1 + 1;\n      pReadr = (PmaReader *)((int)&pMerger->aReadr->iReadOff + iVar2);\n      iVar2 = iVar2 + 0x38;\n      vdbePmaReaderClear(pReadr);\n    } while (iVar1 < pMerger->nTree);\n  }" if (parenthesized_expression "((pMerger != (MergeEngine *)0x0) && (0 < pMerger->nTree))" ( (binary_expression "(pMerger != (MergeEngine *)0x0) && (0 < pMerger->nTree)" (parenthesized_expression "(pMerger != (MergeEngine *)0x0)" ( (binary_expression "pMerger != (MergeEngine *)0x0" identifier != (cast_expression "(MergeEngine *)0x0" ( (type_descriptor "MergeEngine *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(0 < pMerger->nTree)" ( (binary_expression "0 < pMerger->nTree" number_literal < (field_expression "pMerger->nTree" identifier -> field_identifier)) ))) )) (compound_statement "{\n    iVar2 = 0;\n    iVar1 = 0;\n    do {\n      iVar1 = iVar1 + 1;\n      pReadr = (PmaReader *)((int)&pMerger->aReadr->iReadOff + iVar2);\n      iVar2 = iVar2 + 0x38;\n      vdbePmaReaderClear(pReadr);\n    } while (iVar1 < pMerger->nTree);\n  }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar1 = iVar1 + 1;\n      pReadr = (PmaReader *)((int)&pMerger->aReadr->iReadOff + iVar2);\n      iVar2 = iVar2 + 0x38;\n      vdbePmaReaderClear(pReadr);\n    } while (iVar1 < pMerger->nTree);" do (compound_statement "{\n      iVar1 = iVar1 + 1;\n      pReadr = (PmaReader *)((int)&pMerger->aReadr->iReadOff + iVar2);\n      iVar2 = iVar2 + 0x38;\n      vdbePmaReaderClear(pReadr);\n    }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "pReadr = (PmaReader *)((int)&pMerger->aReadr->iReadOff + iVar2);" (assignment_expression "pReadr = (PmaReader *)((int)&pMerger->aReadr->iReadOff + iVar2)" identifier = (cast_expression "(PmaReader *)((int)&pMerger->aReadr->iReadOff + iVar2)" ( (type_descriptor "PmaReader *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pMerger->aReadr->iReadOff + iVar2)" ( (binary_expression "(int)&pMerger->aReadr->iReadOff + iVar2" (cast_expression "(int)&pMerger->aReadr->iReadOff" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pMerger->aReadr->iReadOff" & (field_expression "pMerger->aReadr->iReadOff" (field_expression "pMerger->aReadr" identifier -> field_identifier) -> field_identifier))) + identifier) )))) ;) (expression_statement "iVar2 = iVar2 + 0x38;" (assignment_expression "iVar2 = iVar2 + 0x38" identifier = (binary_expression "iVar2 + 0x38" identifier + number_literal)) ;) (expression_statement "vdbePmaReaderClear(pReadr);" (call_expression "vdbePmaReaderClear(pReadr)" identifier (argument_list "(pReadr)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar1 < pMerger->nTree)" ( (binary_expression "iVar1 < pMerger->nTree" identifier < (field_expression "pMerger->nTree" identifier -> field_identifier)) )) ;) })) comment (expression_statement "sqlite3_free(pMerger);" (call_expression "sqlite3_free(pMerger)" identifier (argument_list "(pMerger)" ( identifier ))) ;) })))
(translation_unit "void FUN_0006a060(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((param_1 != (int *)0x0) && (0 < *param_1)) {\n    iVar3 = 0;\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);\n  }\n  sqlite3_free(param_1);\n  return;\n}\n\n" (function_definition "void FUN_0006a060(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((param_1 != (int *)0x0) && (0 < *param_1)) {\n    iVar3 = 0;\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);\n  }\n  sqlite3_free(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_0006a060(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((param_1 != (int *)0x0) && (0 < *param_1)) {\n    iVar3 = 0;\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);\n  }\n  sqlite3_free(param_1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if ((param_1 != (int *)0x0) && (0 < *param_1)) {\n    iVar3 = 0;\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);\n  }" if (parenthesized_expression "((param_1 != (int *)0x0) && (0 < *param_1))" ( (binary_expression "(param_1 != (int *)0x0) && (0 < *param_1)" (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(0 < *param_1)" ( (binary_expression "0 < *param_1" number_literal < (pointer_expression "*param_1" * identifier)) ))) )) (compound_statement "{\n    iVar3 = 0;\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);" do (compound_statement "{\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    }" { (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = param_1[3] + iVar3;" (assignment_expression "iVar1 = param_1[3] + iVar3" identifier = (binary_expression "param_1[3] + iVar3" (subscript_expression "param_1[3]" identifier [ number_literal ]) + identifier)) ;) (expression_statement "iVar3 = iVar3 + 0x38;" (assignment_expression "iVar3 = iVar3 + 0x38" identifier = (binary_expression "iVar3 + 0x38" identifier + number_literal)) ;) (expression_statement "FUN_00069fbc(iVar1);" (call_expression "FUN_00069fbc(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar2 < *param_1)" ( (binary_expression "iVar2 < *param_1" identifier < (pointer_expression "*param_1" * identifier)) )) ;) })) (expression_statement "sqlite3_free(param_1);" (call_expression "sqlite3_free(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0006a060(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((param_1 != (int *)0x0) && (0 < *param_1)) {\n    iVar3 = 0;\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);\n  }\n  sqlite3_free(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0006a060(int *param_1)" (identifier "FUN_0006a060") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  \n  if ((param_1 != (int *)0x0) && (0 < *param_1)) {\n    iVar3 = 0;\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);\n  }\n  sqlite3_free(param_1);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if ((param_1 != (int *)0x0) && (0 < *param_1)) {\n    iVar3 = 0;\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);\n  }" (if "if") (parenthesized_expression "((param_1 != (int *)0x0) && (0 < *param_1))" (( "(") (binary_expression "(param_1 != (int *)0x0) && (0 < *param_1)" (parenthesized_expression "(param_1 != (int *)0x0)" (( "(") (binary_expression "param_1 != (int *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(0 < *param_1)" (( "(") (binary_expression "0 < *param_1" (number_literal "0") (< "<") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")"))) () ")")) (compound_statement "{\n    iVar3 = 0;\n    iVar2 = 0;\n    do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);\n  }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    } while (iVar2 < *param_1);" (do "do") (compound_statement "{\n      iVar2 = iVar2 + 1;\n      iVar1 = param_1[3] + iVar3;\n      iVar3 = iVar3 + 0x38;\n      FUN_00069fbc(iVar1);\n    }" ({ "{") (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar1 = param_1[3] + iVar3;" (assignment_expression "iVar1 = param_1[3] + iVar3" (identifier "iVar1") (= "=") (binary_expression "param_1[3] + iVar3" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (+ "+") (identifier "iVar3"))) (; ";")) (expression_statement "iVar3 = iVar3 + 0x38;" (assignment_expression "iVar3 = iVar3 + 0x38" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 0x38" (identifier "iVar3") (+ "+") (number_literal "0x38"))) (; ";")) (expression_statement "FUN_00069fbc(iVar1);" (call_expression "FUN_00069fbc(iVar1)" (identifier "FUN_00069fbc") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 < *param_1)" (( "(") (binary_expression "iVar2 < *param_1" (identifier "iVar2") (< "<") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (; ";")) (} "}"))) (expression_statement "sqlite3_free(param_1);" (call_expression "sqlite3_free(param_1)" (identifier "sqlite3_free") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *var_1)

{
  type_2 *pReadr;
  int var_2;
  int var_3;
  
  if ((var_1 != (type_1 *)0x0) && (0 < var_1->nTree)) {
    var_3 = 0;
    var_2 = 0;
    do {
      var_2 = var_2 + 1;
      pReadr = (type_2 *)((int)&var_1->aReadr->iReadOff + var_3);
      var_3 = var_3 + 0x38;
      var_4(pReadr);
    } while (var_2 < var_1->nTree);
  }
                    /* WARNING: Subroutine does not return */
  var_5(var_1);
}


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

void MASKED(int *param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  
  if ((param_1 != (int *)0x0) && (0 < *param_1)) {
    iVar3 = 0;
    iVar2 = 0;
    do {
      iVar2 = iVar2 + 1;
      iVar1 = param_1[3] + iVar3;
      iVar3 = iVar3 + 0x38;
      FUN_00069fbc(iVar1);
    } while (iVar2 < *param_1);
  }
  sqlite3_free(param_1);
  return;
}

