
/* DWARF original prototype: void sqlite3DeleteColumnNames(sqlite3 * db, Table * pTable, Table *
   pTable) */

void __regparm3 sqlite3DeleteColumnNames(sqlite3 *db,Table *pTable,Table *pTable_1)

{
  int iVar1;
  char *p;
  
  p = pTable->zName;
  if (p == (char *)0x0) {
    return;
  }
  if (0 < *(short *)&pTable_1->zName) {
    iVar1 = 0;
    do {
      if (*(void **)p != (void *)0x0) {
        sqlite3DbFreeNN(db,*(void **)p);
      }
      if (*(Expr **)(p + 4) != (Expr *)0x0) {
        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));
      }
      if (*(void **)(p + 8) != (void *)0x0) {
        sqlite3DbFreeNN(db,*(void **)(p + 8));
      }
      iVar1 = iVar1 + 1;
      p = p + 0x10;
    } while (iVar1 < *(short *)&pTable_1->zName);
    p = pTable->zName;
    if (p == (char *)0x0) {
      return;
    }
  }
  sqlite3DbFreeNN(db,p);
  return;
}



void __regparm3 FUN_0003a290(undefined4 param_1,int *param_2,short *param_3)

{
  int iVar1;
  int *piVar2;
  
  piVar2 = (int *)*param_2;
  if (piVar2 == (int *)0x0) {
    return;
  }
  if (0 < *param_3) {
    iVar1 = 0;
    do {
      if (*piVar2 != 0) {
        FUN_00026590();
      }
      if (piVar2[1] != 0) {
        FUN_00039fe0();
      }
      if (piVar2[2] != 0) {
        FUN_00026590();
      }
      iVar1 = iVar1 + 1;
      piVar2 = piVar2 + 4;
    } while (iVar1 < *param_3);
    if (*param_2 == 0) {
      return;
    }
  }
  FUN_00026590();
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EBP,dword ptr [EDX]
TEST EBP,EBP
JZ 0x0003a2f1
CMP word ptr [ECX],0x0
MOV EDI,ECX
MOV dword ptr [ESP + 0xc],EDX
MOV ESI,EAX
JLE 0x0003a300
XOR EBX,EBX
LEA ESI,[ESI]
MOV EDX,dword ptr [EBP]
TEST EDX,EDX
JZ 0x0003a2be
MOV EAX,ESI
CALL 0x00026590
MOV EDX,dword ptr [EBP + 0x4]
TEST EDX,EDX
JZ 0x0003a2cc
MOV EAX,ESI
CALL 0x00039fe0
MOV EDX,dword ptr [EBP + 0x8]
TEST EDX,EDX
JZ 0x0003a2da
MOV EAX,ESI
CALL 0x00026590
MOVSX EAX,word ptr [EDI]
ADD EBX,0x1
ADD EBP,0x10
CMP EBX,EAX
JL 0x0003a2b0
MOV EAX,dword ptr [ESP + 0xc]
MOV EBP,dword ptr [EAX]
TEST EBP,EBP
JNZ 0x0003a300
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0x1c
MOV EDX,EBP
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
POP EBP
JMP 0x00026590
(translation_unit "void __regparm3 FUN_0003a290(undefined4 param_1,int *param_2,short *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar1 = 0;\n    do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);\n    if (*param_2 == 0) {\n      return;\n    }\n  }\n  FUN_00026590();\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0003a290(undefined4 param_1,int *param_2,short *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar1 = 0;\n    do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);\n    if (*param_2 == 0) {\n      return;\n    }\n  }\n  FUN_00026590();\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0003a290(undefined4 param_1,int *param_2,short *param_3)" identifier (parameter_list "(undefined4 param_1,int *param_2,short *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "short *param_3" (sized_type_specifier "short" short) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar1 = 0;\n    do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);\n    if (*param_2 == 0) {\n      return;\n    }\n  }\n  FUN_00026590();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (0 < *param_3) {\n    iVar1 = 0;\n    do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);\n    if (*param_2 == 0) {\n      return;\n    }\n  }" if (parenthesized_expression "(0 < *param_3)" ( (binary_expression "0 < *param_3" number_literal < (pointer_expression "*param_3" * identifier)) )) (compound_statement "{\n    iVar1 = 0;\n    do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);\n    if (*param_2 == 0) {\n      return;\n    }\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);" do (compound_statement "{\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    }" { (if_statement "if (*piVar2 != 0) {\n        FUN_00026590();\n      }" if (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n        FUN_00026590();\n      }" { (expression_statement "FUN_00026590();" (call_expression "FUN_00026590()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }" if (parenthesized_expression "(piVar2[1] != 0)" ( (binary_expression "piVar2[1] != 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_00039fe0();\n      }" { (expression_statement "FUN_00039fe0();" (call_expression "FUN_00039fe0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (piVar2[2] != 0) {\n        FUN_00026590();\n      }" if (parenthesized_expression "(piVar2[2] != 0)" ( (binary_expression "piVar2[2] != 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_00026590();\n      }" { (expression_statement "FUN_00026590();" (call_expression "FUN_00026590()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "piVar2 = piVar2 + 4;" (assignment_expression "piVar2 = piVar2 + 4" identifier = (binary_expression "piVar2 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 < *param_3)" ( (binary_expression "iVar1 < *param_3" identifier < (pointer_expression "*param_3" * identifier)) )) ;) (if_statement "if (*param_2 == 0) {\n      return;\n    }" if (parenthesized_expression "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) })) (expression_statement "FUN_00026590();" (call_expression "FUN_00026590()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void sqlite3DeleteColumnNames(sqlite3 * db, Table * pTable, Table *\n   pTable) */\n\nvoid __regparm3 sqlite3DeleteColumnNames(sqlite3 *db,Table *pTable,Table *pTable_1)\n\n{\n  int iVar1;\n  char *p;\n  \n  p = pTable->zName;\n  if (p == (char *)0x0) {\n    return;\n  }\n  if (0 < *(short *)&pTable_1->zName) {\n    iVar1 = 0;\n    do {\n      if (*(void **)p != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)p);\n      }\n      if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }\n      if (*(void **)(p + 8) != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)(p + 8));\n      }\n      iVar1 = iVar1 + 1;\n      p = p + 0x10;\n    } while (iVar1 < *(short *)&pTable_1->zName);\n    p = pTable->zName;\n    if (p == (char *)0x0) {\n      return;\n    }\n  }\n  sqlite3DbFreeNN(db,p);\n  return;\n}\n\n" comment (function_definition "void __regparm3 sqlite3DeleteColumnNames(sqlite3 *db,Table *pTable,Table *pTable_1)\n\n{\n  int iVar1;\n  char *p;\n  \n  p = pTable->zName;\n  if (p == (char *)0x0) {\n    return;\n  }\n  if (0 < *(short *)&pTable_1->zName) {\n    iVar1 = 0;\n    do {\n      if (*(void **)p != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)p);\n      }\n      if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }\n      if (*(void **)(p + 8) != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)(p + 8));\n      }\n      iVar1 = iVar1 + 1;\n      p = p + 0x10;\n    } while (iVar1 < *(short *)&pTable_1->zName);\n    p = pTable->zName;\n    if (p == (char *)0x0) {\n      return;\n    }\n  }\n  sqlite3DbFreeNN(db,p);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "sqlite3DeleteColumnNames(sqlite3 *db,Table *pTable,Table *pTable_1)" identifier (parameter_list "(sqlite3 *db,Table *pTable,Table *pTable_1)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "Table *pTable" type_identifier (pointer_declarator "*pTable" * identifier)) , (parameter_declaration "Table *pTable_1" type_identifier (pointer_declarator "*pTable_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char *p;\n  \n  p = pTable->zName;\n  if (p == (char *)0x0) {\n    return;\n  }\n  if (0 < *(short *)&pTable_1->zName) {\n    iVar1 = 0;\n    do {\n      if (*(void **)p != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)p);\n      }\n      if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }\n      if (*(void **)(p + 8) != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)(p + 8));\n      }\n      iVar1 = iVar1 + 1;\n      p = p + 0x10;\n    } while (iVar1 < *(short *)&pTable_1->zName);\n    p = pTable->zName;\n    if (p == (char *)0x0) {\n      return;\n    }\n  }\n  sqlite3DbFreeNN(db,p);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char *p;" primitive_type (pointer_declarator "*p" * identifier) ;) (expression_statement "p = pTable->zName;" (assignment_expression "p = pTable->zName" identifier = (field_expression "pTable->zName" identifier -> field_identifier)) ;) (if_statement "if (p == (char *)0x0) {\n    return;\n  }" if (parenthesized_expression "(p == (char *)0x0)" ( (binary_expression "p == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (0 < *(short *)&pTable_1->zName) {\n    iVar1 = 0;\n    do {\n      if (*(void **)p != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)p);\n      }\n      if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }\n      if (*(void **)(p + 8) != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)(p + 8));\n      }\n      iVar1 = iVar1 + 1;\n      p = p + 0x10;\n    } while (iVar1 < *(short *)&pTable_1->zName);\n    p = pTable->zName;\n    if (p == (char *)0x0) {\n      return;\n    }\n  }" if (parenthesized_expression "(0 < *(short *)&pTable_1->zName)" ( (binary_expression "0 < *(short *)&pTable_1->zName" number_literal < (pointer_expression "*(short *)&pTable_1->zName" * (cast_expression "(short *)&pTable_1->zName" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pTable_1->zName" & (field_expression "pTable_1->zName" identifier -> field_identifier))))) )) (compound_statement "{\n    iVar1 = 0;\n    do {\n      if (*(void **)p != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)p);\n      }\n      if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }\n      if (*(void **)(p + 8) != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)(p + 8));\n      }\n      iVar1 = iVar1 + 1;\n      p = p + 0x10;\n    } while (iVar1 < *(short *)&pTable_1->zName);\n    p = pTable->zName;\n    if (p == (char *)0x0) {\n      return;\n    }\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      if (*(void **)p != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)p);\n      }\n      if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }\n      if (*(void **)(p + 8) != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)(p + 8));\n      }\n      iVar1 = iVar1 + 1;\n      p = p + 0x10;\n    } while (iVar1 < *(short *)&pTable_1->zName);" do (compound_statement "{\n      if (*(void **)p != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)p);\n      }\n      if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }\n      if (*(void **)(p + 8) != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)(p + 8));\n      }\n      iVar1 = iVar1 + 1;\n      p = p + 0x10;\n    }" { (if_statement "if (*(void **)p != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)p);\n      }" if (parenthesized_expression "(*(void **)p != (void *)0x0)" ( (binary_expression "*(void **)p != (void *)0x0" (pointer_expression "*(void **)p" * (cast_expression "(void **)p" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        sqlite3DbFreeNN(db,*(void **)p);\n      }" { (expression_statement "sqlite3DbFreeNN(db,*(void **)p);" (call_expression "sqlite3DbFreeNN(db,*(void **)p)" identifier (argument_list "(db,*(void **)p)" ( identifier , (pointer_expression "*(void **)p" * (cast_expression "(void **)p" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) })) (if_statement "if (*(Expr **)(p + 4) != (Expr *)0x0) {\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }" if (parenthesized_expression "(*(Expr **)(p + 4) != (Expr *)0x0)" ( (binary_expression "*(Expr **)(p + 4) != (Expr *)0x0" (pointer_expression "*(Expr **)(p + 4)" * (cast_expression "(Expr **)(p + 4)" ( (type_descriptor "Expr **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p + 4)" ( (binary_expression "p + 4" identifier + number_literal) )))) != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));\n      }" { (expression_statement "sqlite3ExprDeleteNN(db,*(Expr **)(p + 4));" (call_expression "sqlite3ExprDeleteNN(db,*(Expr **)(p + 4))" identifier (argument_list "(db,*(Expr **)(p + 4))" ( identifier , (pointer_expression "*(Expr **)(p + 4)" * (cast_expression "(Expr **)(p + 4)" ( (type_descriptor "Expr **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p + 4)" ( (binary_expression "p + 4" identifier + number_literal) )))) ))) ;) })) (if_statement "if (*(void **)(p + 8) != (void *)0x0) {\n        sqlite3DbFreeNN(db,*(void **)(p + 8));\n      }" if (parenthesized_expression "(*(void **)(p + 8) != (void *)0x0)" ( (binary_expression "*(void **)(p + 8) != (void *)0x0" (pointer_expression "*(void **)(p + 8)" * (cast_expression "(void **)(p + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p + 8)" ( (binary_expression "p + 8" identifier + number_literal) )))) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        sqlite3DbFreeNN(db,*(void **)(p + 8));\n      }" { (expression_statement "sqlite3DbFreeNN(db,*(void **)(p + 8));" (call_expression "sqlite3DbFreeNN(db,*(void **)(p + 8))" identifier (argument_list "(db,*(void **)(p + 8))" ( identifier , (pointer_expression "*(void **)(p + 8)" * (cast_expression "(void **)(p + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p + 8)" ( (binary_expression "p + 8" identifier + number_literal) )))) ))) ;) })) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "p = p + 0x10;" (assignment_expression "p = p + 0x10" identifier = (binary_expression "p + 0x10" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 < *(short *)&pTable_1->zName)" ( (binary_expression "iVar1 < *(short *)&pTable_1->zName" identifier < (pointer_expression "*(short *)&pTable_1->zName" * (cast_expression "(short *)&pTable_1->zName" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pTable_1->zName" & (field_expression "pTable_1->zName" identifier -> field_identifier))))) )) ;) (expression_statement "p = pTable->zName;" (assignment_expression "p = pTable->zName" identifier = (field_expression "pTable->zName" identifier -> field_identifier)) ;) (if_statement "if (p == (char *)0x0) {\n      return;\n    }" if (parenthesized_expression "(p == (char *)0x0)" ( (binary_expression "p == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) })) (expression_statement "sqlite3DbFreeNN(db,p);" (call_expression "sqlite3DbFreeNN(db,p)" identifier (argument_list "(db,p)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_0003a290(undefined4 param_1,int *param_2,short *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar1 = 0;\n    do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);\n    if (*param_2 == 0) {\n      return;\n    }\n  }\n  FUN_00026590();\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0003a290(undefined4 param_1,int *param_2,short *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar1 = 0;\n    do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);\n    if (*param_2 == 0) {\n      return;\n    }\n  }\n  FUN_00026590();\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0003a290(undefined4 param_1,int *param_2,short *param_3)" identifier (parameter_list "(undefined4 param_1,int *param_2,short *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "short *param_3" (sized_type_specifier "short" short) (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar1 = 0;\n    do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);\n    if (*param_2 == 0) {\n      return;\n    }\n  }\n  FUN_00026590();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" identifier = (cast_expression "(int *)*param_2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (piVar2 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if (0 < *param_3) {\n    iVar1 = 0;\n    do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);\n    if (*param_2 == 0) {\n      return;\n    }\n  }" if (parenthesized_expression "(0 < *param_3)" ( (binary_expression "0 < *param_3" number_literal < (pointer_expression "*param_3" * identifier)) )) (compound_statement "{\n    iVar1 = 0;\n    do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);\n    if (*param_2 == 0) {\n      return;\n    }\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);" do (compound_statement "{\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    }" { (if_statement "if (*piVar2 != 0) {\n        FUN_00026590();\n      }" if (parenthesized_expression "(*piVar2 != 0)" ( (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" * identifier) != number_literal) )) (compound_statement "{\n        FUN_00026590();\n      }" { (expression_statement "FUN_00026590();" (call_expression "FUN_00026590()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }" if (parenthesized_expression "(piVar2[1] != 0)" ( (binary_expression "piVar2[1] != 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_00039fe0();\n      }" { (expression_statement "FUN_00039fe0();" (call_expression "FUN_00039fe0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (piVar2[2] != 0) {\n        FUN_00026590();\n      }" if (parenthesized_expression "(piVar2[2] != 0)" ( (binary_expression "piVar2[2] != 0" (subscript_expression "piVar2[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        FUN_00026590();\n      }" { (expression_statement "FUN_00026590();" (call_expression "FUN_00026590()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "piVar2 = piVar2 + 4;" (assignment_expression "piVar2 = piVar2 + 4" identifier = (binary_expression "piVar2 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 < *param_3)" ( (binary_expression "iVar1 < *param_3" identifier < (pointer_expression "*param_3" * identifier)) )) ;) (if_statement "if (*param_2 == 0) {\n      return;\n    }" if (parenthesized_expression "(*param_2 == 0)" ( (binary_expression "*param_2 == 0" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) })) (expression_statement "FUN_00026590();" (call_expression "FUN_00026590()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier short) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (return_statement return ;) })) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0003a290(undefined4 param_1,int *param_2,short *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar1 = 0;\n    do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);\n    if (*param_2 == 0) {\n      return;\n    }\n  }\n  FUN_00026590();\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0003a290(undefined4 param_1,int *param_2,short *param_3)" (identifier "FUN_0003a290") (parameter_list "(undefined4 param_1,int *param_2,short *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "short *param_3" (sized_type_specifier "short" (short "short")) (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)*param_2;\n  if (piVar2 == (int *)0x0) {\n    return;\n  }\n  if (0 < *param_3) {\n    iVar1 = 0;\n    do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);\n    if (*param_2 == 0) {\n      return;\n    }\n  }\n  FUN_00026590();\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (expression_statement "piVar2 = (int *)*param_2;" (assignment_expression "piVar2 = (int *)*param_2" (identifier "piVar2") (= "=") (cast_expression "(int *)*param_2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (0 < *param_3) {\n    iVar1 = 0;\n    do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);\n    if (*param_2 == 0) {\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(0 < *param_3)" (( "(") (binary_expression "0 < *param_3" (number_literal "0") (< "<") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) () ")")) (compound_statement "{\n    iVar1 = 0;\n    do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);\n    if (*param_2 == 0) {\n      return;\n    }\n  }" ({ "{") (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    } while (iVar1 < *param_3);" (do "do") (compound_statement "{\n      if (*piVar2 != 0) {\n        FUN_00026590();\n      }\n      if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }\n      if (piVar2[2] != 0) {\n        FUN_00026590();\n      }\n      iVar1 = iVar1 + 1;\n      piVar2 = piVar2 + 4;\n    }" ({ "{") (if_statement "if (*piVar2 != 0) {\n        FUN_00026590();\n      }" (if "if") (parenthesized_expression "(*piVar2 != 0)" (( "(") (binary_expression "*piVar2 != 0" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00026590();\n      }" ({ "{") (expression_statement "FUN_00026590();" (call_expression "FUN_00026590()" (identifier "FUN_00026590") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (piVar2[1] != 0) {\n        FUN_00039fe0();\n      }" (if "if") (parenthesized_expression "(piVar2[1] != 0)" (( "(") (binary_expression "piVar2[1] != 0" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00039fe0();\n      }" ({ "{") (expression_statement "FUN_00039fe0();" (call_expression "FUN_00039fe0()" (identifier "FUN_00039fe0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (piVar2[2] != 0) {\n        FUN_00026590();\n      }" (if "if") (parenthesized_expression "(piVar2[2] != 0)" (( "(") (binary_expression "piVar2[2] != 0" (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00026590();\n      }" ({ "{") (expression_statement "FUN_00026590();" (call_expression "FUN_00026590()" (identifier "FUN_00026590") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar2 = piVar2 + 4;" (assignment_expression "piVar2 = piVar2 + 4" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 4" (identifier "piVar2") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 < *param_3)" (( "(") (binary_expression "iVar1 < *param_3" (identifier "iVar1") (< "<") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) () ")")) (; ";")) (if_statement "if (*param_2 == 0) {\n      return;\n    }" (if "if") (parenthesized_expression "(*param_2 == 0)" (( "(") (binary_expression "*param_2 == 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_00026590();" (call_expression "FUN_00026590()" (identifier "FUN_00026590") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void sqlite3DeleteColumnNames(sqlite3 * db, Table * pTable, Table *
   pTable) */

void __regparm3 function_1(type_1 *db,type_2 *pTable,type_2 *pTable_1)

{
  int var_4;
  char *var_1;
  
  var_1 = pTable->zName;
  if (var_1 == (char *)0x0) {
    return;
  }
  if (0 < *(short *)&pTable_1->zName) {
    var_4 = 0;
    do {
      if (*(void **)var_1 != (void *)0x0) {
        var_2(db,*(void **)var_1);
      }
      if (*(type_3 **)(var_1 + 4) != (type_3 *)0x0) {
        var_3(db,*(type_3 **)(var_1 + 4));
      }
      if (*(void **)(var_1 + 8) != (void *)0x0) {
        var_2(db,*(void **)(var_1 + 8));
      }
      var_4 = var_4 + 1;
      var_1 = var_1 + 0x10;
    } while (var_4 < *(short *)&pTable_1->zName);
    var_1 = pTable->zName;
    if (var_1 == (char *)0x0) {
      return;
    }
  }
  var_2(db,var_1);
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (return_statement))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

void __regparm3 MASKED(undefined4 param_1,int *param_2,short *param_3)

{
  int iVar1;
  int *piVar2;
  
  piVar2 = (int *)*param_2;
  if (piVar2 == (int *)0x0) {
    return;
  }
  if (0 < *param_3) {
    iVar1 = 0;
    do {
      if (*piVar2 != 0) {
        FUN_00026590();
      }
      if (piVar2[1] != 0) {
        FUN_00039fe0();
      }
      if (piVar2[2] != 0) {
        FUN_00026590();
      }
      iVar1 = iVar1 + 1;
      piVar2 = piVar2 + 4;
    } while (iVar1 < *param_3);
    if (*param_2 == 0) {
      return;
    }
  }
  FUN_00026590();
  return;
}

