
void dense_rankStepFunc(sqlite3_context *pCtx,int nArg,sqlite3_value **apArg)

{
  void *pvVar1;
  
  pvVar1 = sqlite3_aggregate_context(pCtx,0x18);
  if (pvVar1 != (void *)0x0) {
    *(undefined4 *)((int)pvVar1 + 0xc) = 1;
    *(undefined4 *)((int)pvVar1 + 8) = 0;
  }
  return;
}



void FUN_0008104c(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = sqlite3_aggregate_context(param_1,0x18);
  if (iVar1 != 0) {
    *(undefined4 *)(iVar1 + 0xc) = 1;
    *(undefined4 *)(iVar1 + 8) = 0;
  }
  return;
}


lui gp,0x11
addiu gp,gp,0x68d4
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw gp,0x10(sp)
li a1,0x18
lw t9,-0x7e4c(gp)
bal 0x00080884
_nop
lw gp,0x10(sp)
beq v0,zero,0x0008108c
_li a1,0x1
or a0,zero,zero
sw a1,0xc(v0)
sw a0,0x8(v0)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
(translation_unit "void FUN_0008104c(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0x18);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = 1;\n    *(undefined4 *)(iVar1 + 8) = 0;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0008104c(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0x18);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = 1;\n    *(undefined4 *)(iVar1 + 8) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0008104c(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0x18);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = 1;\n    *(undefined4 *)(iVar1 + 8) = 0;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = sqlite3_aggregate_context(param_1,0x18);" (assignment_expression "iVar1 = sqlite3_aggregate_context(param_1,0x18)" identifier = (call_expression "sqlite3_aggregate_context(param_1,0x18)" identifier (argument_list "(param_1,0x18)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = 1;\n    *(undefined4 *)(iVar1 + 8) = 0;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar1 + 0xc) = 1;\n    *(undefined4 *)(iVar1 + 8) = 0;\n  }" { (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 1;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 1" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void dense_rankStepFunc(sqlite3_context *pCtx,int nArg,sqlite3_value **apArg)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = sqlite3_aggregate_context(pCtx,0x18);\n  if (pvVar1 != (void *)0x0) {\n    *(undefined4 *)((int)pvVar1 + 0xc) = 1;\n    *(undefined4 *)((int)pvVar1 + 8) = 0;\n  }\n  return;\n}\n\n" (function_definition "void dense_rankStepFunc(sqlite3_context *pCtx,int nArg,sqlite3_value **apArg)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = sqlite3_aggregate_context(pCtx,0x18);\n  if (pvVar1 != (void *)0x0) {\n    *(undefined4 *)((int)pvVar1 + 0xc) = 1;\n    *(undefined4 *)((int)pvVar1 + 8) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "dense_rankStepFunc(sqlite3_context *pCtx,int nArg,sqlite3_value **apArg)" identifier (parameter_list "(sqlite3_context *pCtx,int nArg,sqlite3_value **apArg)" ( (parameter_declaration "sqlite3_context *pCtx" type_identifier (pointer_declarator "*pCtx" * identifier)) , (parameter_declaration "int nArg" primitive_type identifier) , (parameter_declaration "sqlite3_value **apArg" type_identifier (pointer_declarator "**apArg" * (pointer_declarator "*apArg" * identifier))) ))) (compound_statement "{\n  void *pvVar1;\n  \n  pvVar1 = sqlite3_aggregate_context(pCtx,0x18);\n  if (pvVar1 != (void *)0x0) {\n    *(undefined4 *)((int)pvVar1 + 0xc) = 1;\n    *(undefined4 *)((int)pvVar1 + 8) = 0;\n  }\n  return;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (expression_statement "pvVar1 = sqlite3_aggregate_context(pCtx,0x18);" (assignment_expression "pvVar1 = sqlite3_aggregate_context(pCtx,0x18)" identifier = (call_expression "sqlite3_aggregate_context(pCtx,0x18)" identifier (argument_list "(pCtx,0x18)" ( identifier , number_literal )))) ;) (if_statement "if (pvVar1 != (void *)0x0) {\n    *(undefined4 *)((int)pvVar1 + 0xc) = 1;\n    *(undefined4 *)((int)pvVar1 + 8) = 0;\n  }" if (parenthesized_expression "(pvVar1 != (void *)0x0)" ( (binary_expression "pvVar1 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *(undefined4 *)((int)pvVar1 + 0xc) = 1;\n    *(undefined4 *)((int)pvVar1 + 8) = 0;\n  }" { (expression_statement "*(undefined4 *)((int)pvVar1 + 0xc) = 1;" (assignment_expression "*(undefined4 *)((int)pvVar1 + 0xc) = 1" (pointer_expression "*(undefined4 *)((int)pvVar1 + 0xc)" * (cast_expression "(undefined4 *)((int)pvVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar1 + 0xc)" ( (binary_expression "(int)pvVar1 + 0xc" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)pvVar1 + 8) = 0;" (assignment_expression "*(undefined4 *)((int)pvVar1 + 8) = 0" (pointer_expression "*(undefined4 *)((int)pvVar1 + 8)" * (cast_expression "(undefined4 *)((int)pvVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar1 + 8)" ( (binary_expression "(int)pvVar1 + 8" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0008104c(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0x18);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = 1;\n    *(undefined4 *)(iVar1 + 8) = 0;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0008104c(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0x18);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = 1;\n    *(undefined4 *)(iVar1 + 8) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0008104c(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0x18);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = 1;\n    *(undefined4 *)(iVar1 + 8) = 0;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = sqlite3_aggregate_context(param_1,0x18);" (assignment_expression "iVar1 = sqlite3_aggregate_context(param_1,0x18)" identifier = (call_expression "sqlite3_aggregate_context(param_1,0x18)" identifier (argument_list "(param_1,0x18)" ( identifier , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = 1;\n    *(undefined4 *)(iVar1 + 8) = 0;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar1 + 0xc) = 1;\n    *(undefined4 *)(iVar1 + 8) = 0;\n  }" { (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 1;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 1" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0008104c(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0x18);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = 1;\n    *(undefined4 *)(iVar1 + 8) = 0;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0008104c(undefined4 param_1)" (identifier "FUN_0008104c") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = sqlite3_aggregate_context(param_1,0x18);\n  if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = 1;\n    *(undefined4 *)(iVar1 + 8) = 0;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = sqlite3_aggregate_context(param_1,0x18);" (assignment_expression "iVar1 = sqlite3_aggregate_context(param_1,0x18)" (identifier "iVar1") (= "=") (call_expression "sqlite3_aggregate_context(param_1,0x18)" (identifier "sqlite3_aggregate_context") (argument_list "(param_1,0x18)" (( "(") (identifier "param_1") (, ",") (number_literal "0x18") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    *(undefined4 *)(iVar1 + 0xc) = 1;\n    *(undefined4 *)(iVar1 + 8) = 0;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(iVar1 + 0xc) = 1;\n    *(undefined4 *)(iVar1 + 8) = 0;\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar1 + 0xc) = 1;" (assignment_expression "*(undefined4 *)(iVar1 + 0xc) = 1" (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (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: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (return_statement))))

void MASKED(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = sqlite3_aggregate_context(param_1,0x18);
  if (iVar1 != 0) {
    *(undefined4 *)(iVar1 + 0xc) = 1;
    *(undefined4 *)(iVar1 + 8) = 0;
  }
  return;
}

