
Window * sqlite3WindowAssemble
                   (Parse *pParse,Window *pWin,ExprList *pPartition,ExprList *pOrderBy,Token *pBase)

{
  Window *in_v0;
  sqlite3 *db;
  
  db = pParse->db;
  if (pWin != (Window *)0x0) {
    exprListDeleteNN(db,(ExprList *)pWin);
    db = pParse->db;
  }
  if (pPartition != (ExprList *)0x0) {
    exprListDeleteNN(db,pPartition);
    return in_v0;
  }
  return in_v0;
}



void FUN_00053cb0(undefined4 *param_1,int param_2,int param_3)

{
  undefined4 uVar1;
  
  uVar1 = *param_1;
  if (param_2 != 0) {
    FUN_00053aa4(uVar1);
    uVar1 = *param_1;
  }
  if (param_3 != 0) {
    FUN_00053aa4(uVar1,param_3);
    return;
  }
  return;
}


lui gp,0xb
addiu gp,gp,-0x6a10
addu gp,gp,t9
addiu sp,sp,-0x28
sw gp,0x10(sp)
sw s1,0x20(sp)
or s1,a0,zero
sw s0,0x1c(sp)
or s0,a2,zero
sw ra,0x24(sp)
beq a1,zero,0x00053cf8
_lw a0,0x0(a0)
lw t9,-0x7f94(gp)
addiu t9,t9,0x3aa4
bal 0x00053aa4
_nop
lw gp,0x10(sp)
lw a0,0x0(s1)
beq s0,zero,0x00053d1c
_lw t9,-0x7f94(gp)
or a1,s0,zero
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
addiu t9,t9,0x3aa4
b 0x00053aa4
_addiu sp,sp,0x28
lw ra,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void FUN_00053cb0(undefined4 *param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *param_1;\n  if (param_2 != 0) {\n    FUN_00053aa4(uVar1);\n    uVar1 = *param_1;\n  }\n  if (param_3 != 0) {\n    FUN_00053aa4(uVar1,param_3);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00053cb0(undefined4 *param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *param_1;\n  if (param_2 != 0) {\n    FUN_00053aa4(uVar1);\n    uVar1 = *param_1;\n  }\n  if (param_3 != 0) {\n    FUN_00053aa4(uVar1,param_3);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00053cb0(undefined4 *param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *param_1;\n  if (param_2 != 0) {\n    FUN_00053aa4(uVar1);\n    uVar1 = *param_1;\n  }\n  if (param_3 != 0) {\n    FUN_00053aa4(uVar1,param_3);\n    return;\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (param_2 != 0) {\n    FUN_00053aa4(uVar1);\n    uVar1 = *param_1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00053aa4(uVar1);\n    uVar1 = *param_1;\n  }" { (expression_statement "FUN_00053aa4(uVar1);" (call_expression "FUN_00053aa4(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (if_statement "if (param_3 != 0) {\n    FUN_00053aa4(uVar1,param_3);\n    return;\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00053aa4(uVar1,param_3);\n    return;\n  }" { (expression_statement "FUN_00053aa4(uVar1,param_3);" (call_expression "FUN_00053aa4(uVar1,param_3)" identifier (argument_list "(uVar1,param_3)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "Window * sqlite3WindowAssemble\n                   (Parse *pParse,Window *pWin,ExprList *pPartition,ExprList *pOrderBy,Token *pBase)\n\n{\n  Window *in_v0;\n  sqlite3 *db;\n  \n  db = pParse->db;\n  if (pWin != (Window *)0x0) {\n    exprListDeleteNN(db,(ExprList *)pWin);\n    db = pParse->db;\n  }\n  if (pPartition != (ExprList *)0x0) {\n    exprListDeleteNN(db,pPartition);\n    return in_v0;\n  }\n  return in_v0;\n}\n\n" (function_definition "Window * sqlite3WindowAssemble\n                   (Parse *pParse,Window *pWin,ExprList *pPartition,ExprList *pOrderBy,Token *pBase)\n\n{\n  Window *in_v0;\n  sqlite3 *db;\n  \n  db = pParse->db;\n  if (pWin != (Window *)0x0) {\n    exprListDeleteNN(db,(ExprList *)pWin);\n    db = pParse->db;\n  }\n  if (pPartition != (ExprList *)0x0) {\n    exprListDeleteNN(db,pPartition);\n    return in_v0;\n  }\n  return in_v0;\n}" type_identifier (pointer_declarator "* sqlite3WindowAssemble\n                   (Parse *pParse,Window *pWin,ExprList *pPartition,ExprList *pOrderBy,Token *pBase)" * (function_declarator "sqlite3WindowAssemble\n                   (Parse *pParse,Window *pWin,ExprList *pPartition,ExprList *pOrderBy,Token *pBase)" identifier (parameter_list "(Parse *pParse,Window *pWin,ExprList *pPartition,ExprList *pOrderBy,Token *pBase)" ( (parameter_declaration "Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "Window *pWin" type_identifier (pointer_declarator "*pWin" * identifier)) , (parameter_declaration "ExprList *pPartition" type_identifier (pointer_declarator "*pPartition" * identifier)) , (parameter_declaration "ExprList *pOrderBy" type_identifier (pointer_declarator "*pOrderBy" * identifier)) , (parameter_declaration "Token *pBase" type_identifier (pointer_declarator "*pBase" * identifier)) )))) (compound_statement "{\n  Window *in_v0;\n  sqlite3 *db;\n  \n  db = pParse->db;\n  if (pWin != (Window *)0x0) {\n    exprListDeleteNN(db,(ExprList *)pWin);\n    db = pParse->db;\n  }\n  if (pPartition != (ExprList *)0x0) {\n    exprListDeleteNN(db,pPartition);\n    return in_v0;\n  }\n  return in_v0;\n}" { (declaration "Window *in_v0;" type_identifier (pointer_declarator "*in_v0" * identifier) ;) (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (expression_statement "db = pParse->db;" (assignment_expression "db = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) (if_statement "if (pWin != (Window *)0x0) {\n    exprListDeleteNN(db,(ExprList *)pWin);\n    db = pParse->db;\n  }" if (parenthesized_expression "(pWin != (Window *)0x0)" ( (binary_expression "pWin != (Window *)0x0" identifier != (cast_expression "(Window *)0x0" ( (type_descriptor "Window *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    exprListDeleteNN(db,(ExprList *)pWin);\n    db = pParse->db;\n  }" { (expression_statement "exprListDeleteNN(db,(ExprList *)pWin);" (call_expression "exprListDeleteNN(db,(ExprList *)pWin)" identifier (argument_list "(db,(ExprList *)pWin)" ( identifier , (cast_expression "(ExprList *)pWin" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "db = pParse->db;" (assignment_expression "db = pParse->db" identifier = (field_expression "pParse->db" identifier -> field_identifier)) ;) })) (if_statement "if (pPartition != (ExprList *)0x0) {\n    exprListDeleteNN(db,pPartition);\n    return in_v0;\n  }" if (parenthesized_expression "(pPartition != (ExprList *)0x0)" ( (binary_expression "pPartition != (ExprList *)0x0" identifier != (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    exprListDeleteNN(db,pPartition);\n    return in_v0;\n  }" { (expression_statement "exprListDeleteNN(db,pPartition);" (call_expression "exprListDeleteNN(db,pPartition)" identifier (argument_list "(db,pPartition)" ( identifier , identifier ))) ;) (return_statement "return in_v0;" return identifier ;) })) (return_statement "return in_v0;" return identifier ;) })))
(translation_unit "void FUN_00053cb0(undefined4 *param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *param_1;\n  if (param_2 != 0) {\n    FUN_00053aa4(uVar1);\n    uVar1 = *param_1;\n  }\n  if (param_3 != 0) {\n    FUN_00053aa4(uVar1,param_3);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00053cb0(undefined4 *param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *param_1;\n  if (param_2 != 0) {\n    FUN_00053aa4(uVar1);\n    uVar1 = *param_1;\n  }\n  if (param_3 != 0) {\n    FUN_00053aa4(uVar1,param_3);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00053cb0(undefined4 *param_1,int param_2,int param_3)" identifier (parameter_list "(undefined4 *param_1,int param_2,int param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *param_1;\n  if (param_2 != 0) {\n    FUN_00053aa4(uVar1);\n    uVar1 = *param_1;\n  }\n  if (param_3 != 0) {\n    FUN_00053aa4(uVar1,param_3);\n    return;\n  }\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (param_2 != 0) {\n    FUN_00053aa4(uVar1);\n    uVar1 = *param_1;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00053aa4(uVar1);\n    uVar1 = *param_1;\n  }" { (expression_statement "FUN_00053aa4(uVar1);" (call_expression "FUN_00053aa4(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (if_statement "if (param_3 != 0) {\n    FUN_00053aa4(uVar1,param_3);\n    return;\n  }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_00053aa4(uVar1,param_3);\n    return;\n  }" { (expression_statement "FUN_00053aa4(uVar1,param_3);" (call_expression "FUN_00053aa4(uVar1,param_3)" identifier (argument_list "(uVar1,param_3)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00053cb0(undefined4 *param_1,int param_2,int param_3)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = *param_1;\n  if (param_2 != 0) {\n    FUN_00053aa4(uVar1);\n    uVar1 = *param_1;\n  }\n  if (param_3 != 0) {\n    FUN_00053aa4(uVar1,param_3);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00053cb0(undefined4 *param_1,int param_2,int param_3)" (identifier "FUN_00053cb0") (parameter_list "(undefined4 *param_1,int param_2,int param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = *param_1;\n  if (param_2 != 0) {\n    FUN_00053aa4(uVar1);\n    uVar1 = *param_1;\n  }\n  if (param_3 != 0) {\n    FUN_00053aa4(uVar1,param_3);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" (identifier "uVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (param_2 != 0) {\n    FUN_00053aa4(uVar1);\n    uVar1 = *param_1;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00053aa4(uVar1);\n    uVar1 = *param_1;\n  }" ({ "{") (expression_statement "FUN_00053aa4(uVar1);" (call_expression "FUN_00053aa4(uVar1)" (identifier "FUN_00053aa4") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" (identifier "uVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}"))) (if_statement "if (param_3 != 0) {\n    FUN_00053aa4(uVar1,param_3);\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00053aa4(uVar1,param_3);\n    return;\n  }" ({ "{") (expression_statement "FUN_00053aa4(uVar1,param_3);" (call_expression "FUN_00053aa4(uVar1,param_3)" (identifier "FUN_00053aa4") (argument_list "(uVar1,param_3)" (( "(") (identifier "uVar1") (, ",") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement))) (return_statement))))

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

{
  undefined4 uVar1;
  
  uVar1 = *param_1;
  if (param_2 != 0) {
    FUN_00053aa4(uVar1);
    uVar1 = *param_1;
  }
  if (param_3 != 0) {
    FUN_00053aa4(uVar1,param_3);
    return;
  }
  return;
}

