
void sqlite3_result_double(sqlite3_context *pCtx,double rVal)

{
  Mem *pMem;
  
  pMem = pCtx->pOut;
  sqlite3VdbeMemSetNull(pMem);
  if (!NAN(rVal)) {
    (pMem->u).r = rVal;
    pMem->flags = 8;
  }
  return;
}



void FUN_001425f2(double param_1,long *param_2)

{
  double *pdVar1;
  
  pdVar1 = (double *)*param_2;
  FUN_001422aa(pdVar1);
  if (!NAN(param_1)) {
    *pdVar1 = param_1;
    *(undefined2 *)(pdVar1 + 1) = 8;
  }
  return;
}


PUSH RBX
SUB RSP,0x10
MOVSD qword ptr [RSP + 0x8],XMM0
MOV RBX,qword ptr [RDI]
MOV RDI,RBX
CALL 0x001422aa
MOVSD XMM1,qword ptr [RSP + 0x8]
UCOMISD XMM1,XMM1
JP 0x0014261e
MOVSD qword ptr [RBX],XMM1
MOV word ptr [RBX + 0x8],0x8
ADD RSP,0x10
POP RBX
RET
(translation_unit "void FUN_001425f2(double param_1,long *param_2)\n\n{\n  double *pdVar1;\n  \n  pdVar1 = (double *)*param_2;\n  FUN_001422aa(pdVar1);\n  if (!NAN(param_1)) {\n    *pdVar1 = param_1;\n    *(undefined2 *)(pdVar1 + 1) = 8;\n  }\n  return;\n}\n\n" (function_definition "void FUN_001425f2(double param_1,long *param_2)\n\n{\n  double *pdVar1;\n  \n  pdVar1 = (double *)*param_2;\n  FUN_001422aa(pdVar1);\n  if (!NAN(param_1)) {\n    *pdVar1 = param_1;\n    *(undefined2 *)(pdVar1 + 1) = 8;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001425f2(double param_1,long *param_2)" identifier (parameter_list "(double param_1,long *param_2)" ( (parameter_declaration "double param_1" primitive_type identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  double *pdVar1;\n  \n  pdVar1 = (double *)*param_2;\n  FUN_001422aa(pdVar1);\n  if (!NAN(param_1)) {\n    *pdVar1 = param_1;\n    *(undefined2 *)(pdVar1 + 1) = 8;\n  }\n  return;\n}" { (declaration "double *pdVar1;" primitive_type (pointer_declarator "*pdVar1" * identifier) ;) (expression_statement "pdVar1 = (double *)*param_2;" (assignment_expression "pdVar1 = (double *)*param_2" identifier = (cast_expression "(double *)*param_2" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "FUN_001422aa(pdVar1);" (call_expression "FUN_001422aa(pdVar1)" identifier (argument_list "(pdVar1)" ( identifier ))) ;) (if_statement "if (!NAN(param_1)) {\n    *pdVar1 = param_1;\n    *(undefined2 *)(pdVar1 + 1) = 8;\n  }" if (parenthesized_expression "(!NAN(param_1))" ( (unary_expression "!NAN(param_1)" ! (call_expression "NAN(param_1)" identifier (argument_list "(param_1)" ( identifier )))) )) (compound_statement "{\n    *pdVar1 = param_1;\n    *(undefined2 *)(pdVar1 + 1) = 8;\n  }" { (expression_statement "*pdVar1 = param_1;" (assignment_expression "*pdVar1 = param_1" (pointer_expression "*pdVar1" * identifier) = identifier) ;) (expression_statement "*(undefined2 *)(pdVar1 + 1) = 8;" (assignment_expression "*(undefined2 *)(pdVar1 + 1) = 8" (pointer_expression "*(undefined2 *)(pdVar1 + 1)" * (cast_expression "(undefined2 *)(pdVar1 + 1)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pdVar1 + 1)" ( (binary_expression "pdVar1 + 1" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void sqlite3_result_double(sqlite3_context *pCtx,double rVal)\n\n{\n  Mem *pMem;\n  \n  pMem = pCtx->pOut;\n  sqlite3VdbeMemSetNull(pMem);\n  if (!NAN(rVal)) {\n    (pMem->u).r = rVal;\n    pMem->flags = 8;\n  }\n  return;\n}\n\n" (function_definition "void sqlite3_result_double(sqlite3_context *pCtx,double rVal)\n\n{\n  Mem *pMem;\n  \n  pMem = pCtx->pOut;\n  sqlite3VdbeMemSetNull(pMem);\n  if (!NAN(rVal)) {\n    (pMem->u).r = rVal;\n    pMem->flags = 8;\n  }\n  return;\n}" primitive_type (function_declarator "sqlite3_result_double(sqlite3_context *pCtx,double rVal)" identifier (parameter_list "(sqlite3_context *pCtx,double rVal)" ( (parameter_declaration "sqlite3_context *pCtx" type_identifier (pointer_declarator "*pCtx" * identifier)) , (parameter_declaration "double rVal" primitive_type identifier) ))) (compound_statement "{\n  Mem *pMem;\n  \n  pMem = pCtx->pOut;\n  sqlite3VdbeMemSetNull(pMem);\n  if (!NAN(rVal)) {\n    (pMem->u).r = rVal;\n    pMem->flags = 8;\n  }\n  return;\n}" { (declaration "Mem *pMem;" type_identifier (pointer_declarator "*pMem" * identifier) ;) (expression_statement "pMem = pCtx->pOut;" (assignment_expression "pMem = pCtx->pOut" identifier = (field_expression "pCtx->pOut" identifier -> field_identifier)) ;) (expression_statement "sqlite3VdbeMemSetNull(pMem);" (call_expression "sqlite3VdbeMemSetNull(pMem)" identifier (argument_list "(pMem)" ( identifier ))) ;) (if_statement "if (!NAN(rVal)) {\n    (pMem->u).r = rVal;\n    pMem->flags = 8;\n  }" if (parenthesized_expression "(!NAN(rVal))" ( (unary_expression "!NAN(rVal)" ! (call_expression "NAN(rVal)" identifier (argument_list "(rVal)" ( identifier )))) )) (compound_statement "{\n    (pMem->u).r = rVal;\n    pMem->flags = 8;\n  }" { (expression_statement "(pMem->u).r = rVal;" (assignment_expression "(pMem->u).r = rVal" (field_expression "(pMem->u).r" (parenthesized_expression "(pMem->u)" ( (field_expression "pMem->u" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "pMem->flags = 8;" (assignment_expression "pMem->flags = 8" (field_expression "pMem->flags" identifier -> field_identifier) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001425f2(double param_1,long *param_2)\n\n{\n  double *pdVar1;\n  \n  pdVar1 = (double *)*param_2;\n  FUN_001422aa(pdVar1);\n  if (!NAN(param_1)) {\n    *pdVar1 = param_1;\n    *(undefined2 *)(pdVar1 + 1) = 8;\n  }\n  return;\n}\n\n" (function_definition "void FUN_001425f2(double param_1,long *param_2)\n\n{\n  double *pdVar1;\n  \n  pdVar1 = (double *)*param_2;\n  FUN_001422aa(pdVar1);\n  if (!NAN(param_1)) {\n    *pdVar1 = param_1;\n    *(undefined2 *)(pdVar1 + 1) = 8;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001425f2(double param_1,long *param_2)" identifier (parameter_list "(double param_1,long *param_2)" ( (parameter_declaration "double param_1" primitive_type identifier) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  double *pdVar1;\n  \n  pdVar1 = (double *)*param_2;\n  FUN_001422aa(pdVar1);\n  if (!NAN(param_1)) {\n    *pdVar1 = param_1;\n    *(undefined2 *)(pdVar1 + 1) = 8;\n  }\n  return;\n}" { (declaration "double *pdVar1;" primitive_type (pointer_declarator "*pdVar1" * identifier) ;) (expression_statement "pdVar1 = (double *)*param_2;" (assignment_expression "pdVar1 = (double *)*param_2" identifier = (cast_expression "(double *)*param_2" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "FUN_001422aa(pdVar1);" (call_expression "FUN_001422aa(pdVar1)" identifier (argument_list "(pdVar1)" ( identifier ))) ;) (if_statement "if (!NAN(param_1)) {\n    *pdVar1 = param_1;\n    *(undefined2 *)(pdVar1 + 1) = 8;\n  }" if (parenthesized_expression "(!NAN(param_1))" ( (unary_expression "!NAN(param_1)" ! (call_expression "NAN(param_1)" identifier (argument_list "(param_1)" ( identifier )))) )) (compound_statement "{\n    *pdVar1 = param_1;\n    *(undefined2 *)(pdVar1 + 1) = 8;\n  }" { (expression_statement "*pdVar1 = param_1;" (assignment_expression "*pdVar1 = param_1" (pointer_expression "*pdVar1" * identifier) = identifier) ;) (expression_statement "*(undefined2 *)(pdVar1 + 1) = 8;" (assignment_expression "*(undefined2 *)(pdVar1 + 1) = 8" (pointer_expression "*(undefined2 *)(pdVar1 + 1)" * (cast_expression "(undefined2 *)(pdVar1 + 1)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pdVar1 + 1)" ( (binary_expression "pdVar1 + 1" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (unary_expression ! (call_expression IDENT (argument_list ( IDENT )))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (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_001425f2(double param_1,long *param_2)\n\n{\n  double *pdVar1;\n  \n  pdVar1 = (double *)*param_2;\n  FUN_001422aa(pdVar1);\n  if (!NAN(param_1)) {\n    *pdVar1 = param_1;\n    *(undefined2 *)(pdVar1 + 1) = 8;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001425f2(double param_1,long *param_2)" (identifier "FUN_001425f2") (parameter_list "(double param_1,long *param_2)" (( "(") (parameter_declaration "double param_1" (primitive_type "double") (identifier "param_1")) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  double *pdVar1;\n  \n  pdVar1 = (double *)*param_2;\n  FUN_001422aa(pdVar1);\n  if (!NAN(param_1)) {\n    *pdVar1 = param_1;\n    *(undefined2 *)(pdVar1 + 1) = 8;\n  }\n  return;\n}" ({ "{") (declaration "double *pdVar1;" (primitive_type "double") (pointer_declarator "*pdVar1" (* "*") (identifier "pdVar1")) (; ";")) (expression_statement "pdVar1 = (double *)*param_2;" (assignment_expression "pdVar1 = (double *)*param_2" (identifier "pdVar1") (= "=") (cast_expression "(double *)*param_2" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "FUN_001422aa(pdVar1);" (call_expression "FUN_001422aa(pdVar1)" (identifier "FUN_001422aa") (argument_list "(pdVar1)" (( "(") (identifier "pdVar1") () ")"))) (; ";")) (if_statement "if (!NAN(param_1)) {\n    *pdVar1 = param_1;\n    *(undefined2 *)(pdVar1 + 1) = 8;\n  }" (if "if") (parenthesized_expression "(!NAN(param_1))" (( "(") (unary_expression "!NAN(param_1)" (! "!") (call_expression "NAN(param_1)" (identifier "NAN") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) () ")")) (compound_statement "{\n    *pdVar1 = param_1;\n    *(undefined2 *)(pdVar1 + 1) = 8;\n  }" ({ "{") (expression_statement "*pdVar1 = param_1;" (assignment_expression "*pdVar1 = param_1" (pointer_expression "*pdVar1" (* "*") (identifier "pdVar1")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "*(undefined2 *)(pdVar1 + 1) = 8;" (assignment_expression "*(undefined2 *)(pdVar1 + 1) = 8" (pointer_expression "*(undefined2 *)(pdVar1 + 1)" (* "*") (cast_expression "(undefined2 *)(pdVar1 + 1)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pdVar1 + 1)" (( "(") (binary_expression "pdVar1 + 1" (identifier "pdVar1") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "8")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pCtx,double rVal)

{
  type_2 *pMem;
  
  pMem = pCtx->pOut;
  var_1(pMem);
  if (!var_2(rVal)) {
    (pMem->u).r = rVal;
    pMem->flags = 8;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (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))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (if_statement condition: (parenthesized_expression (unary_expression argument: (call_expression function: (identifier) arguments: (argument_list (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (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(double param_1,long *param_2)

{
  double *pdVar1;
  
  pdVar1 = (double *)*param_2;
  FUN_001422aa(pdVar1);
  if (!NAN(param_1)) {
    *pdVar1 = param_1;
    *(undefined2 *)(pdVar1 + 1) = 8;
  }
  return;
}

