
void sqlite3Fts5ParseSetColset(Fts5Parse *pParse,Fts5ExprNode *pExpr,Fts5Colset *pColset)

{
  char *pcVar1;
  long in_FS_OFFSET;
  Fts5Colset *pFree;
  long local_10;
  
  local_10 = *(long *)(in_FS_OFFSET + 0x28);
  pFree = pColset;
  if (pParse->pConfig->eDetail == 1) {
    pParse->rc = 1;
    pcVar1 = sqlite3_mprintf("fts5: column queries are not supported (detail=none)");
    pParse->zErr = pcVar1;
  }
  else {
    fts5ParseSetColset(pParse,pExpr,pColset,&pFree);
  }
  sqlite3_free(pFree);
  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}



void FUN_00167f10(long *param_1,undefined8 param_2,undefined8 param_3)

{
  long lVar1;
  long lVar2;
  long in_FS_OFFSET;
  
  lVar1 = *(long *)(in_FS_OFFSET + 0x28);
  if (*(int *)(*param_1 + 0x5c) == 1) {
    *(undefined4 *)(param_1 + 2) = 1;
    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");
    param_1[1] = lVar2;
  }
  else {
    FUN_00133820();
  }
  FUN_00119e00(param_3);
  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}


PUSH RBX
MOV RBX,RDI
SUB RSP,0x10
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RDI]
MOV qword ptr [RSP],RDX
CMP dword ptr [RAX + 0x5c],0x1
JZ 0x00167f60
MOV RCX,RSP
CALL 0x00133820
MOV RDI,qword ptr [RSP]
CALL 0x00119e00
MOV RAX,qword ptr [RSP + 0x8]
XOR RAX,qword ptr FS:[0x28]
JNZ 0x00167f7b
ADD RSP,0x10
POP RBX
RET
MOV dword ptr [RDI + 0x10],0x1
XOR EAX,EAX
LEA RDI,[0x1f69d0]
CALL 0x00163f20
MOV qword ptr [RBX + 0x8],RAX
JMP 0x00167f3d
CALL 0x0010a140
(translation_unit "void FUN_00167f10(long *param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  long lVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(*param_1 + 0x5c) == 1) {\n    *(undefined4 *)(param_1 + 2) = 1;\n    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");\n    param_1[1] = lVar2;\n  }\n  else {\n    FUN_00133820();\n  }\n  FUN_00119e00(param_3);\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "void FUN_00167f10(long *param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  long lVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(*param_1 + 0x5c) == 1) {\n    *(undefined4 *)(param_1 + 2) = 1;\n    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");\n    param_1[1] = lVar2;\n  }\n  else {\n    FUN_00133820();\n  }\n  FUN_00119e00(param_3);\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "FUN_00167f10(long *param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(long *param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(*param_1 + 0x5c) == 1) {\n    *(undefined4 *)(param_1 + 2) = 1;\n    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");\n    param_1[1] = lVar2;\n  }\n  else {\n    FUN_00133820();\n  }\n  FUN_00119e00(param_3);\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(*param_1 + 0x5c) == 1) {\n    *(undefined4 *)(param_1 + 2) = 1;\n    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");\n    param_1[1] = lVar2;\n  }\n  else {\n    FUN_00133820();\n  }" if (parenthesized_expression "(*(int *)(*param_1 + 0x5c) == 1)" ( (binary_expression "*(int *)(*param_1 + 0x5c) == 1" (pointer_expression "*(int *)(*param_1 + 0x5c)" * (cast_expression "(int *)(*param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x5c)" ( (binary_expression "*param_1 + 0x5c" (pointer_expression "*param_1" * identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 2) = 1;\n    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");\n    param_1[1] = lVar2;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 2) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 2) = 1" (pointer_expression "*(undefined4 *)(param_1 + 2)" * (cast_expression "(undefined4 *)(param_1 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");" (assignment_expression "lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)")" identifier = (call_expression "FUN_00163f20("fts5: column queries are not supported (detail=none)")" identifier (argument_list "("fts5: column queries are not supported (detail=none)")" ( (string_literal ""fts5: column queries are not supported (detail=none)"" " string_content ") )))) ;) (expression_statement "param_1[1] = lVar2;" (assignment_expression "param_1[1] = lVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n    FUN_00133820();\n  }" else (compound_statement "{\n    FUN_00133820();\n  }" { (expression_statement "FUN_00133820();" (call_expression "FUN_00133820()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "FUN_00119e00(param_3);" (call_expression "FUN_00119e00(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) (if_statement "if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }" if (parenthesized_expression "(lVar1 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "lVar1 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void sqlite3Fts5ParseSetColset(Fts5Parse *pParse,Fts5ExprNode *pExpr,Fts5Colset *pColset)\n\n{\n  char *pcVar1;\n  long in_FS_OFFSET;\n  Fts5Colset *pFree;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  pFree = pColset;\n  if (pParse->pConfig->eDetail == 1) {\n    pParse->rc = 1;\n    pcVar1 = sqlite3_mprintf("fts5: column queries are not supported (detail=none)");\n    pParse->zErr = pcVar1;\n  }\n  else {\n    fts5ParseSetColset(pParse,pExpr,pColset,&pFree);\n  }\n  sqlite3_free(pFree);\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "void sqlite3Fts5ParseSetColset(Fts5Parse *pParse,Fts5ExprNode *pExpr,Fts5Colset *pColset)\n\n{\n  char *pcVar1;\n  long in_FS_OFFSET;\n  Fts5Colset *pFree;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  pFree = pColset;\n  if (pParse->pConfig->eDetail == 1) {\n    pParse->rc = 1;\n    pcVar1 = sqlite3_mprintf("fts5: column queries are not supported (detail=none)");\n    pParse->zErr = pcVar1;\n  }\n  else {\n    fts5ParseSetColset(pParse,pExpr,pColset,&pFree);\n  }\n  sqlite3_free(pFree);\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "sqlite3Fts5ParseSetColset(Fts5Parse *pParse,Fts5ExprNode *pExpr,Fts5Colset *pColset)" identifier (parameter_list "(Fts5Parse *pParse,Fts5ExprNode *pExpr,Fts5Colset *pColset)" ( (parameter_declaration "Fts5Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "Fts5ExprNode *pExpr" type_identifier (pointer_declarator "*pExpr" * identifier)) , (parameter_declaration "Fts5Colset *pColset" type_identifier (pointer_declarator "*pColset" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  long in_FS_OFFSET;\n  Fts5Colset *pFree;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  pFree = pColset;\n  if (pParse->pConfig->eDetail == 1) {\n    pParse->rc = 1;\n    pcVar1 = sqlite3_mprintf("fts5: column queries are not supported (detail=none)");\n    pParse->zErr = pcVar1;\n  }\n  else {\n    fts5ParseSetColset(pParse,pExpr,pColset,&pFree);\n  }\n  sqlite3_free(pFree);\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "Fts5Colset *pFree;" type_identifier (pointer_declarator "*pFree" * identifier) ;) (declaration "long local_10;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_10 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_10 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "pFree = pColset;" (assignment_expression "pFree = pColset" identifier = identifier) ;) (if_statement "if (pParse->pConfig->eDetail == 1) {\n    pParse->rc = 1;\n    pcVar1 = sqlite3_mprintf("fts5: column queries are not supported (detail=none)");\n    pParse->zErr = pcVar1;\n  }\n  else {\n    fts5ParseSetColset(pParse,pExpr,pColset,&pFree);\n  }" if (parenthesized_expression "(pParse->pConfig->eDetail == 1)" ( (binary_expression "pParse->pConfig->eDetail == 1" (field_expression "pParse->pConfig->eDetail" (field_expression "pParse->pConfig" identifier -> field_identifier) -> field_identifier) == number_literal) )) (compound_statement "{\n    pParse->rc = 1;\n    pcVar1 = sqlite3_mprintf("fts5: column queries are not supported (detail=none)");\n    pParse->zErr = pcVar1;\n  }" { (expression_statement "pParse->rc = 1;" (assignment_expression "pParse->rc = 1" (field_expression "pParse->rc" identifier -> field_identifier) = number_literal) ;) (expression_statement "pcVar1 = sqlite3_mprintf("fts5: column queries are not supported (detail=none)");" (assignment_expression "pcVar1 = sqlite3_mprintf("fts5: column queries are not supported (detail=none)")" identifier = (call_expression "sqlite3_mprintf("fts5: column queries are not supported (detail=none)")" identifier (argument_list "("fts5: column queries are not supported (detail=none)")" ( (string_literal ""fts5: column queries are not supported (detail=none)"" " string_content ") )))) ;) (expression_statement "pParse->zErr = pcVar1;" (assignment_expression "pParse->zErr = pcVar1" (field_expression "pParse->zErr" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n    fts5ParseSetColset(pParse,pExpr,pColset,&pFree);\n  }" else (compound_statement "{\n    fts5ParseSetColset(pParse,pExpr,pColset,&pFree);\n  }" { (expression_statement "fts5ParseSetColset(pParse,pExpr,pColset,&pFree);" (call_expression "fts5ParseSetColset(pParse,pExpr,pColset,&pFree)" identifier (argument_list "(pParse,pExpr,pColset,&pFree)" ( identifier , identifier , identifier , (pointer_expression "&pFree" & identifier) ))) ;) }))) (expression_statement "sqlite3_free(pFree);" (call_expression "sqlite3_free(pFree)" identifier (argument_list "(pFree)" ( identifier ))) ;) (if_statement "if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }" if (parenthesized_expression "(local_10 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_10 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void FUN_00167f10(long *param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  long lVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(*param_1 + 0x5c) == 1) {\n    *(undefined4 *)(param_1 + 2) = 1;\n    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");\n    param_1[1] = lVar2;\n  }\n  else {\n    FUN_00133820();\n  }\n  FUN_00119e00(param_3);\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}\n\n" (function_definition "void FUN_00167f10(long *param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  long lVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(*param_1 + 0x5c) == 1) {\n    *(undefined4 *)(param_1 + 2) = 1;\n    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");\n    param_1[1] = lVar2;\n  }\n  else {\n    FUN_00133820();\n  }\n  FUN_00119e00(param_3);\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" primitive_type (function_declarator "FUN_00167f10(long *param_1,undefined8 param_2,undefined8 param_3)" identifier (parameter_list "(long *param_1,undefined8 param_2,undefined8 param_3)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(*param_1 + 0x5c) == 1) {\n    *(undefined4 *)(param_1 + 2) = 1;\n    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");\n    param_1[1] = lVar2;\n  }\n  else {\n    FUN_00133820();\n  }\n  FUN_00119e00(param_3);\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (*(int *)(*param_1 + 0x5c) == 1) {\n    *(undefined4 *)(param_1 + 2) = 1;\n    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");\n    param_1[1] = lVar2;\n  }\n  else {\n    FUN_00133820();\n  }" if (parenthesized_expression "(*(int *)(*param_1 + 0x5c) == 1)" ( (binary_expression "*(int *)(*param_1 + 0x5c) == 1" (pointer_expression "*(int *)(*param_1 + 0x5c)" * (cast_expression "(int *)(*param_1 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x5c)" ( (binary_expression "*param_1 + 0x5c" (pointer_expression "*param_1" * identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 2) = 1;\n    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");\n    param_1[1] = lVar2;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 2) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 2) = 1" (pointer_expression "*(undefined4 *)(param_1 + 2)" * (cast_expression "(undefined4 *)(param_1 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");" (assignment_expression "lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)")" identifier = (call_expression "FUN_00163f20("fts5: column queries are not supported (detail=none)")" identifier (argument_list "("fts5: column queries are not supported (detail=none)")" ( (string_literal ""fts5: column queries are not supported (detail=none)"" " string_content ") )))) ;) (expression_statement "param_1[1] = lVar2;" (assignment_expression "param_1[1] = lVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n    FUN_00133820();\n  }" else (compound_statement "{\n    FUN_00133820();\n  }" { (expression_statement "FUN_00133820();" (call_expression "FUN_00133820()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "FUN_00119e00(param_3);" (call_expression "FUN_00119e00(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) (if_statement "if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }" if (parenthesized_expression "(lVar1 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "lVar1 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == 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 IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void FUN_00167f10(long *param_1,undefined8 param_2,undefined8 param_3)\n\n{\n  long lVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(*param_1 + 0x5c) == 1) {\n    *(undefined4 *)(param_1 + 2) = 1;\n    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");\n    param_1[1] = lVar2;\n  }\n  else {\n    FUN_00133820();\n  }\n  FUN_00119e00(param_3);\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" (primitive_type "void") (function_declarator "FUN_00167f10(long *param_1,undefined8 param_2,undefined8 param_3)" (identifier "FUN_00167f10") (parameter_list "(long *param_1,undefined8 param_2,undefined8 param_3)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) () ")"))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  long in_FS_OFFSET;\n  \n  lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n  if (*(int *)(*param_1 + 0x5c) == 1) {\n    *(undefined4 *)(param_1 + 2) = 1;\n    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");\n    param_1[1] = lVar2;\n  }\n  else {\n    FUN_00133820();\n  }\n  FUN_00119e00(param_3);\n  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }\n                    \n  __stack_chk_fail();\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (expression_statement "lVar1 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar1 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (*(int *)(*param_1 + 0x5c) == 1) {\n    *(undefined4 *)(param_1 + 2) = 1;\n    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");\n    param_1[1] = lVar2;\n  }\n  else {\n    FUN_00133820();\n  }" (if "if") (parenthesized_expression "(*(int *)(*param_1 + 0x5c) == 1)" (( "(") (binary_expression "*(int *)(*param_1 + 0x5c) == 1" (pointer_expression "*(int *)(*param_1 + 0x5c)" (* "*") (cast_expression "(int *)(*param_1 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x5c)" (( "(") (binary_expression "*param_1 + 0x5c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x5c")) () ")")))) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    *(undefined4 *)(param_1 + 2) = 1;\n    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");\n    param_1[1] = lVar2;\n  }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 2) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 2) = 1" (pointer_expression "*(undefined4 *)(param_1 + 2)" (* "*") (cast_expression "(undefined4 *)(param_1 + 2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");" (assignment_expression "lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)")" (identifier "lVar2") (= "=") (call_expression "FUN_00163f20("fts5: column queries are not supported (detail=none)")" (identifier "FUN_00163f20") (argument_list "("fts5: column queries are not supported (detail=none)")" (( "(") (string_literal ""fts5: column queries are not supported (detail=none)"" (" """) (string_content "fts5: column queries are not supported (detail=none)") (" """)) () ")")))) (; ";")) (expression_statement "param_1[1] = lVar2;" (assignment_expression "param_1[1] = lVar2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "lVar2")) (; ";")) (} "}")) (else_clause "else {\n    FUN_00133820();\n  }" (else "else") (compound_statement "{\n    FUN_00133820();\n  }" ({ "{") (expression_statement "FUN_00133820();" (call_expression "FUN_00133820()" (identifier "FUN_00133820") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "FUN_00119e00(param_3);" (call_expression "FUN_00119e00(param_3)" (identifier "FUN_00119e00") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))) (; ";")) (if_statement "if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return;\n  }" (if "if") (parenthesized_expression "(lVar1 == *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "lVar1 == *(long *)(in_FS_OFFSET + 0x28)" (identifier "lVar1") (== "==") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

void function_1(type_1 *pParse,type_2 *pExpr,type_3 *pColset)

{
  char *pcVar1;
  long var_1;
  type_3 *pFree;
  long var_5;
  
  var_5 = *(long *)(var_1 + 0x28);
  pFree = pColset;
  if (pParse->pConfig->eDetail == 1) {
    pParse->rc = 1;
    pcVar1 = var_2("fts5: column queries are not supported (detail=none)");
    pParse->zErr = pcVar1;
  }
  else {
    var_3(pParse,pExpr,pColset,&pFree);
  }
  var_4(pFree);
  if (var_5 == *(long *)(var_1 + 0x28)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_6();
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) 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: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

void MASKED(long *param_1,undefined8 param_2,undefined8 param_3)

{
  long lVar1;
  long lVar2;
  long in_FS_OFFSET;
  
  lVar1 = *(long *)(in_FS_OFFSET + 0x28);
  if (*(int *)(*param_1 + 0x5c) == 1) {
    *(undefined4 *)(param_1 + 2) = 1;
    lVar2 = FUN_00163f20("fts5: column queries are not supported (detail=none)");
    param_1[1] = lVar2;
  }
  else {
    FUN_00133820();
  }
  FUN_00119e00(param_3);
  if (lVar1 == *(long *)(in_FS_OFFSET + 0x28)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}

