
void __regparm3 sqlite3UpsertDelete(sqlite3 *db,Upsert *p)

{
  if (p != (Upsert *)0x0) {
    if (p->pUpsertTarget != (ExprList *)0x0) {
      exprListDeleteNN(db,p->pUpsertTarget);
    }
    if (p->pUpsertTargetWhere != (Expr *)0x0) {
      sqlite3ExprDeleteNN(db,p->pUpsertTargetWhere);
    }
    if (p->pUpsertSet != (ExprList *)0x0) {
      exprListDeleteNN(db,p->pUpsertSet);
    }
    if (p->pUpsertWhere != (Expr *)0x0) {
      sqlite3ExprDeleteNN(db,p->pUpsertWhere);
    }
    sqlite3DbFreeNN(db,p);
    return;
  }
  return;
}



void __regparm3 FUN_00043c90(undefined4 param_1,int *param_2)

{
  if (param_2 != (int *)0x0) {
    if (*param_2 != 0) {
      FUN_000433a0();
    }
    if (param_2[1] != 0) {
      FUN_000432e0();
    }
    if (param_2[2] != 0) {
      FUN_000433a0();
    }
    if (param_2[3] != 0) {
      FUN_000432e0();
    }
    FUN_00024720();
    return;
  }
  return;
}


TEST EDX,EDX
JZ 0x00043ce0
PUSH ESI
PUSH EBX
MOV EBX,EDX
MOV ESI,EAX
SUB ESP,0x4
MOV EDX,dword ptr [EDX]
TEST EDX,EDX
JZ 0x00043ca8
CALL 0x000433a0
MOV EDX,dword ptr [EBX + 0x4]
TEST EDX,EDX
JZ 0x00043cb6
MOV EAX,ESI
CALL 0x000432e0
MOV EDX,dword ptr [EBX + 0x8]
TEST EDX,EDX
JZ 0x00043cc4
MOV EAX,ESI
CALL 0x000433a0
MOV EDX,dword ptr [EBX + 0xc]
TEST EDX,EDX
JZ 0x00043cd2
MOV EAX,ESI
CALL 0x000432e0
ADD ESP,0x4
MOV EDX,EBX
MOV EAX,ESI
POP EBX
POP ESI
JMP 0x00024720
RET
(translation_unit "void __regparm3 FUN_00043c90(undefined4 param_1,int *param_2)\n\n{\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[1] != 0) {\n      FUN_000432e0();\n    }\n    if (param_2[2] != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[3] != 0) {\n      FUN_000432e0();\n    }\n    FUN_00024720();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00043c90(undefined4 param_1,int *param_2)\n\n{\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[1] != 0) {\n      FUN_000432e0();\n    }\n    if (param_2[2] != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[3] != 0) {\n      FUN_000432e0();\n    }\n    FUN_00024720();\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00043c90(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[1] != 0) {\n      FUN_000432e0();\n    }\n    if (param_2[2] != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[3] != 0) {\n      FUN_000432e0();\n    }\n    FUN_00024720();\n    return;\n  }\n  return;\n}" { (if_statement "if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[1] != 0) {\n      FUN_000432e0();\n    }\n    if (param_2[2] != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[3] != 0) {\n      FUN_000432e0();\n    }\n    FUN_00024720();\n    return;\n  }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*param_2 != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[1] != 0) {\n      FUN_000432e0();\n    }\n    if (param_2[2] != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[3] != 0) {\n      FUN_000432e0();\n    }\n    FUN_00024720();\n    return;\n  }" { (if_statement "if (*param_2 != 0) {\n      FUN_000433a0();\n    }" if (parenthesized_expression "(*param_2 != 0)" ( (binary_expression "*param_2 != 0" (pointer_expression "*param_2" * identifier) != number_literal) )) (compound_statement "{\n      FUN_000433a0();\n    }" { (expression_statement "FUN_000433a0();" (call_expression "FUN_000433a0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_2[1] != 0) {\n      FUN_000432e0();\n    }" if (parenthesized_expression "(param_2[1] != 0)" ( (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_000432e0();\n    }" { (expression_statement "FUN_000432e0();" (call_expression "FUN_000432e0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_2[2] != 0) {\n      FUN_000433a0();\n    }" if (parenthesized_expression "(param_2[2] != 0)" ( (binary_expression "param_2[2] != 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_000433a0();\n    }" { (expression_statement "FUN_000433a0();" (call_expression "FUN_000433a0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_2[3] != 0) {\n      FUN_000432e0();\n    }" if (parenthesized_expression "(param_2[3] != 0)" ( (binary_expression "param_2[3] != 0" (subscript_expression "param_2[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_000432e0();\n    }" { (expression_statement "FUN_000432e0();" (call_expression "FUN_000432e0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00024720();" (call_expression "FUN_00024720()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 sqlite3UpsertDelete(sqlite3 *db,Upsert *p)\n\n{\n  if (p != (Upsert *)0x0) {\n    if (p->pUpsertTarget != (ExprList *)0x0) {\n      exprListDeleteNN(db,p->pUpsertTarget);\n    }\n    if (p->pUpsertTargetWhere != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,p->pUpsertTargetWhere);\n    }\n    if (p->pUpsertSet != (ExprList *)0x0) {\n      exprListDeleteNN(db,p->pUpsertSet);\n    }\n    if (p->pUpsertWhere != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,p->pUpsertWhere);\n    }\n    sqlite3DbFreeNN(db,p);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 sqlite3UpsertDelete(sqlite3 *db,Upsert *p)\n\n{\n  if (p != (Upsert *)0x0) {\n    if (p->pUpsertTarget != (ExprList *)0x0) {\n      exprListDeleteNN(db,p->pUpsertTarget);\n    }\n    if (p->pUpsertTargetWhere != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,p->pUpsertTargetWhere);\n    }\n    if (p->pUpsertSet != (ExprList *)0x0) {\n      exprListDeleteNN(db,p->pUpsertSet);\n    }\n    if (p->pUpsertWhere != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,p->pUpsertWhere);\n    }\n    sqlite3DbFreeNN(db,p);\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "sqlite3UpsertDelete(sqlite3 *db,Upsert *p)" identifier (parameter_list "(sqlite3 *db,Upsert *p)" ( (parameter_declaration "sqlite3 *db" type_identifier (pointer_declarator "*db" * identifier)) , (parameter_declaration "Upsert *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  if (p != (Upsert *)0x0) {\n    if (p->pUpsertTarget != (ExprList *)0x0) {\n      exprListDeleteNN(db,p->pUpsertTarget);\n    }\n    if (p->pUpsertTargetWhere != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,p->pUpsertTargetWhere);\n    }\n    if (p->pUpsertSet != (ExprList *)0x0) {\n      exprListDeleteNN(db,p->pUpsertSet);\n    }\n    if (p->pUpsertWhere != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,p->pUpsertWhere);\n    }\n    sqlite3DbFreeNN(db,p);\n    return;\n  }\n  return;\n}" { (if_statement "if (p != (Upsert *)0x0) {\n    if (p->pUpsertTarget != (ExprList *)0x0) {\n      exprListDeleteNN(db,p->pUpsertTarget);\n    }\n    if (p->pUpsertTargetWhere != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,p->pUpsertTargetWhere);\n    }\n    if (p->pUpsertSet != (ExprList *)0x0) {\n      exprListDeleteNN(db,p->pUpsertSet);\n    }\n    if (p->pUpsertWhere != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,p->pUpsertWhere);\n    }\n    sqlite3DbFreeNN(db,p);\n    return;\n  }" if (parenthesized_expression "(p != (Upsert *)0x0)" ( (binary_expression "p != (Upsert *)0x0" identifier != (cast_expression "(Upsert *)0x0" ( (type_descriptor "Upsert *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (p->pUpsertTarget != (ExprList *)0x0) {\n      exprListDeleteNN(db,p->pUpsertTarget);\n    }\n    if (p->pUpsertTargetWhere != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,p->pUpsertTargetWhere);\n    }\n    if (p->pUpsertSet != (ExprList *)0x0) {\n      exprListDeleteNN(db,p->pUpsertSet);\n    }\n    if (p->pUpsertWhere != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,p->pUpsertWhere);\n    }\n    sqlite3DbFreeNN(db,p);\n    return;\n  }" { (if_statement "if (p->pUpsertTarget != (ExprList *)0x0) {\n      exprListDeleteNN(db,p->pUpsertTarget);\n    }" if (parenthesized_expression "(p->pUpsertTarget != (ExprList *)0x0)" ( (binary_expression "p->pUpsertTarget != (ExprList *)0x0" (field_expression "p->pUpsertTarget" identifier -> field_identifier) != (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      exprListDeleteNN(db,p->pUpsertTarget);\n    }" { (expression_statement "exprListDeleteNN(db,p->pUpsertTarget);" (call_expression "exprListDeleteNN(db,p->pUpsertTarget)" identifier (argument_list "(db,p->pUpsertTarget)" ( identifier , (field_expression "p->pUpsertTarget" identifier -> field_identifier) ))) ;) })) (if_statement "if (p->pUpsertTargetWhere != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,p->pUpsertTargetWhere);\n    }" if (parenthesized_expression "(p->pUpsertTargetWhere != (Expr *)0x0)" ( (binary_expression "p->pUpsertTargetWhere != (Expr *)0x0" (field_expression "p->pUpsertTargetWhere" identifier -> field_identifier) != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sqlite3ExprDeleteNN(db,p->pUpsertTargetWhere);\n    }" { (expression_statement "sqlite3ExprDeleteNN(db,p->pUpsertTargetWhere);" (call_expression "sqlite3ExprDeleteNN(db,p->pUpsertTargetWhere)" identifier (argument_list "(db,p->pUpsertTargetWhere)" ( identifier , (field_expression "p->pUpsertTargetWhere" identifier -> field_identifier) ))) ;) })) (if_statement "if (p->pUpsertSet != (ExprList *)0x0) {\n      exprListDeleteNN(db,p->pUpsertSet);\n    }" if (parenthesized_expression "(p->pUpsertSet != (ExprList *)0x0)" ( (binary_expression "p->pUpsertSet != (ExprList *)0x0" (field_expression "p->pUpsertSet" identifier -> field_identifier) != (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      exprListDeleteNN(db,p->pUpsertSet);\n    }" { (expression_statement "exprListDeleteNN(db,p->pUpsertSet);" (call_expression "exprListDeleteNN(db,p->pUpsertSet)" identifier (argument_list "(db,p->pUpsertSet)" ( identifier , (field_expression "p->pUpsertSet" identifier -> field_identifier) ))) ;) })) (if_statement "if (p->pUpsertWhere != (Expr *)0x0) {\n      sqlite3ExprDeleteNN(db,p->pUpsertWhere);\n    }" if (parenthesized_expression "(p->pUpsertWhere != (Expr *)0x0)" ( (binary_expression "p->pUpsertWhere != (Expr *)0x0" (field_expression "p->pUpsertWhere" identifier -> field_identifier) != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      sqlite3ExprDeleteNN(db,p->pUpsertWhere);\n    }" { (expression_statement "sqlite3ExprDeleteNN(db,p->pUpsertWhere);" (call_expression "sqlite3ExprDeleteNN(db,p->pUpsertWhere)" identifier (argument_list "(db,p->pUpsertWhere)" ( identifier , (field_expression "p->pUpsertWhere" identifier -> field_identifier) ))) ;) })) (expression_statement "sqlite3DbFreeNN(db,p);" (call_expression "sqlite3DbFreeNN(db,p)" identifier (argument_list "(db,p)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00043c90(undefined4 param_1,int *param_2)\n\n{\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[1] != 0) {\n      FUN_000432e0();\n    }\n    if (param_2[2] != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[3] != 0) {\n      FUN_000432e0();\n    }\n    FUN_00024720();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00043c90(undefined4 param_1,int *param_2)\n\n{\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[1] != 0) {\n      FUN_000432e0();\n    }\n    if (param_2[2] != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[3] != 0) {\n      FUN_000432e0();\n    }\n    FUN_00024720();\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00043c90(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[1] != 0) {\n      FUN_000432e0();\n    }\n    if (param_2[2] != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[3] != 0) {\n      FUN_000432e0();\n    }\n    FUN_00024720();\n    return;\n  }\n  return;\n}" { (if_statement "if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[1] != 0) {\n      FUN_000432e0();\n    }\n    if (param_2[2] != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[3] != 0) {\n      FUN_000432e0();\n    }\n    FUN_00024720();\n    return;\n  }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*param_2 != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[1] != 0) {\n      FUN_000432e0();\n    }\n    if (param_2[2] != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[3] != 0) {\n      FUN_000432e0();\n    }\n    FUN_00024720();\n    return;\n  }" { (if_statement "if (*param_2 != 0) {\n      FUN_000433a0();\n    }" if (parenthesized_expression "(*param_2 != 0)" ( (binary_expression "*param_2 != 0" (pointer_expression "*param_2" * identifier) != number_literal) )) (compound_statement "{\n      FUN_000433a0();\n    }" { (expression_statement "FUN_000433a0();" (call_expression "FUN_000433a0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_2[1] != 0) {\n      FUN_000432e0();\n    }" if (parenthesized_expression "(param_2[1] != 0)" ( (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_000432e0();\n    }" { (expression_statement "FUN_000432e0();" (call_expression "FUN_000432e0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_2[2] != 0) {\n      FUN_000433a0();\n    }" if (parenthesized_expression "(param_2[2] != 0)" ( (binary_expression "param_2[2] != 0" (subscript_expression "param_2[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_000433a0();\n    }" { (expression_statement "FUN_000433a0();" (call_expression "FUN_000433a0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_2[3] != 0) {\n      FUN_000432e0();\n    }" if (parenthesized_expression "(param_2[3] != 0)" ( (binary_expression "param_2[3] != 0" (subscript_expression "param_2[3]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_000432e0();\n    }" { (expression_statement "FUN_000432e0();" (call_expression "FUN_000432e0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_00024720();" (call_expression "FUN_00024720()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (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)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (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 ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00043c90(undefined4 param_1,int *param_2)\n\n{\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[1] != 0) {\n      FUN_000432e0();\n    }\n    if (param_2[2] != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[3] != 0) {\n      FUN_000432e0();\n    }\n    FUN_00024720();\n    return;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00043c90(undefined4 param_1,int *param_2)" (identifier "FUN_00043c90") (parameter_list "(undefined4 param_1,int *param_2)" (( "(") (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"))) () ")"))) (compound_statement "{\n  if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[1] != 0) {\n      FUN_000432e0();\n    }\n    if (param_2[2] != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[3] != 0) {\n      FUN_000432e0();\n    }\n    FUN_00024720();\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if (param_2 != (int *)0x0) {\n    if (*param_2 != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[1] != 0) {\n      FUN_000432e0();\n    }\n    if (param_2[2] != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[3] != 0) {\n      FUN_000432e0();\n    }\n    FUN_00024720();\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 != (int *)0x0)" (( "(") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (*param_2 != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[1] != 0) {\n      FUN_000432e0();\n    }\n    if (param_2[2] != 0) {\n      FUN_000433a0();\n    }\n    if (param_2[3] != 0) {\n      FUN_000432e0();\n    }\n    FUN_00024720();\n    return;\n  }" ({ "{") (if_statement "if (*param_2 != 0) {\n      FUN_000433a0();\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      FUN_000433a0();\n    }" ({ "{") (expression_statement "FUN_000433a0();" (call_expression "FUN_000433a0()" (identifier "FUN_000433a0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2[1] != 0) {\n      FUN_000432e0();\n    }" (if "if") (parenthesized_expression "(param_2[1] != 0)" (( "(") (binary_expression "param_2[1] != 0" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_000432e0();\n    }" ({ "{") (expression_statement "FUN_000432e0();" (call_expression "FUN_000432e0()" (identifier "FUN_000432e0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2[2] != 0) {\n      FUN_000433a0();\n    }" (if "if") (parenthesized_expression "(param_2[2] != 0)" (( "(") (binary_expression "param_2[2] != 0" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_000433a0();\n    }" ({ "{") (expression_statement "FUN_000433a0();" (call_expression "FUN_000433a0()" (identifier "FUN_000433a0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2[3] != 0) {\n      FUN_000432e0();\n    }" (if "if") (parenthesized_expression "(param_2[3] != 0)" (( "(") (binary_expression "param_2[3] != 0" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_000432e0();\n    }" ({ "{") (expression_statement "FUN_000432e0();" (call_expression "FUN_000432e0()" (identifier "FUN_000432e0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00024720();" (call_expression "FUN_00024720()" (identifier "FUN_00024720") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(type_1 *db,type_2 *var_1)

{
  if (var_1 != (type_2 *)0x0) {
    if (var_1->pUpsertTarget != (type_3 *)0x0) {
      var_2(db,var_1->pUpsertTarget);
    }
    if (var_1->pUpsertTargetWhere != (type_4 *)0x0) {
      var_3(db,var_1->pUpsertTargetWhere);
    }
    if (var_1->pUpsertSet != (type_3 *)0x0) {
      var_2(db,var_1->pUpsertSet);
    }
    if (var_1->pUpsertWhere != (type_4 *)0x0) {
      var_3(db,var_1->pUpsertWhere);
    }
    var_4(db,var_1);
    return;
  }
  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))))) body: (compound_statement (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 (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))))) (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 (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (return_statement))))

void __regparm3 MASKED(undefined4 param_1,int *param_2)

{
  if (param_2 != (int *)0x0) {
    if (*param_2 != 0) {
      FUN_000433a0();
    }
    if (param_2[1] != 0) {
      FUN_000432e0();
    }
    if (param_2[2] != 0) {
      FUN_000433a0();
    }
    if (param_2[3] != 0) {
      FUN_000432e0();
    }
    FUN_00024720();
    return;
  }
  return;
}

