
int exprAlwaysFalse(Expr *p)

{
  uint uVar1;
  int iVar2;
  long in_FS_OFFSET;
  int v;
  long local_10;
  
  local_10 = *(long *)(in_FS_OFFSET + 0x28);
  v = 0;
  if ((p->flags & 1) == 0) {
    iVar2 = sqlite3ExprIsInteger(p,&v);
    if (iVar2 != 0) {
      uVar1 = (uint)(v == 0);
      goto LAB_00122234;
    }
  }
  uVar1 = 0;
LAB_00122234:
  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}



bool FUN_00122210(long param_1)

{
  int iVar1;
  long in_FS_OFFSET;
  bool bVar2;
  int local_14;
  long local_10;
  
  local_10 = *(long *)(in_FS_OFFSET + 0x28);
  local_14 = 0;
  if ((*(byte *)(param_1 + 4) & 1) == 0) {
    iVar1 = FUN_00122160(param_1,&local_14);
    if (iVar1 != 0) {
      bVar2 = local_14 == 0;
      goto LAB_00122234;
    }
  }
  bVar2 = false;
LAB_00122234:
  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {
    return bVar2;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}


SUB RSP,0x18
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x8],RAX
XOR EAX,EAX
MOV dword ptr [RSP + 0x4],0x0
TEST byte ptr [RDI + 0x4],0x1
JZ 0x00122250
XOR EAX,EAX
MOV RDX,qword ptr [RSP + 0x8]
XOR RDX,qword ptr FS:[0x28]
JNZ 0x0012226b
ADD RSP,0x18
RET
LEA RSI,[RSP + 0x4]
CALL 0x00122160
TEST EAX,EAX
JZ 0x00122232
MOV EDX,dword ptr [RSP + 0x4]
XOR EAX,EAX
TEST EDX,EDX
SETZ AL
JMP 0x00122234
CALL 0x0010a140
(translation_unit "bool FUN_00122210(long param_1)\n\n{\n  int iVar1;\n  long in_FS_OFFSET;\n  bool bVar2;\n  int local_14;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  local_14 = 0;\n  if ((*(byte *)(param_1 + 4) & 1) == 0) {\n    iVar1 = FUN_00122160(param_1,&local_14);\n    if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }\n  }\n  bVar2 = false;\nLAB_00122234:\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return bVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "bool FUN_00122210(long param_1)\n\n{\n  int iVar1;\n  long in_FS_OFFSET;\n  bool bVar2;\n  int local_14;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  local_14 = 0;\n  if ((*(byte *)(param_1 + 4) & 1) == 0) {\n    iVar1 = FUN_00122160(param_1,&local_14);\n    if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }\n  }\n  bVar2 = false;\nLAB_00122234:\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return bVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "FUN_00122210(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  long in_FS_OFFSET;\n  bool bVar2;\n  int local_14;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  local_14 = 0;\n  if ((*(byte *)(param_1 + 4) & 1) == 0) {\n    iVar1 = FUN_00122160(param_1,&local_14);\n    if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }\n  }\n  bVar2 = false;\nLAB_00122234:\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return bVar2;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int local_14;" primitive_type 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 "local_14 = 0;" (assignment_expression "local_14 = 0" identifier = number_literal) ;) (if_statement "if ((*(byte *)(param_1 + 4) & 1) == 0) {\n    iVar1 = FUN_00122160(param_1,&local_14);\n    if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 4) & 1) == 0)" ( (binary_expression "(*(byte *)(param_1 + 4) & 1) == 0" (parenthesized_expression "(*(byte *)(param_1 + 4) & 1)" ( (binary_expression "*(byte *)(param_1 + 4) & 1" (pointer_expression "*(byte *)(param_1 + 4)" * (cast_expression "(byte *)(param_1 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = FUN_00122160(param_1,&local_14);\n    if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }\n  }" { (expression_statement "iVar1 = FUN_00122160(param_1,&local_14);" (assignment_expression "iVar1 = FUN_00122160(param_1,&local_14)" identifier = (call_expression "FUN_00122160(param_1,&local_14)" identifier (argument_list "(param_1,&local_14)" ( identifier , (pointer_expression "&local_14" & identifier) )))) ;) (if_statement "if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }" { (expression_statement "bVar2 = local_14 == 0;" (assignment_expression "bVar2 = local_14 == 0" identifier = (binary_expression "local_14 == 0" identifier == number_literal)) ;) (goto_statement "goto LAB_00122234;" goto statement_identifier ;) })) })) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (labeled_statement "LAB_00122234:\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return bVar2;\n  }" statement_identifier : (if_statement "if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return bVar2;\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 bVar2;\n  }" { (return_statement "return bVar2;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int exprAlwaysFalse(Expr *p)\n\n{\n  uint uVar1;\n  int iVar2;\n  long in_FS_OFFSET;\n  int v;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  v = 0;\n  if ((p->flags & 1) == 0) {\n    iVar2 = sqlite3ExprIsInteger(p,&v);\n    if (iVar2 != 0) {\n      uVar1 = (uint)(v == 0);\n      goto LAB_00122234;\n    }\n  }\n  uVar1 = 0;\nLAB_00122234:\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}\n\n" (function_definition "int exprAlwaysFalse(Expr *p)\n\n{\n  uint uVar1;\n  int iVar2;\n  long in_FS_OFFSET;\n  int v;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  v = 0;\n  if ((p->flags & 1) == 0) {\n    iVar2 = sqlite3ExprIsInteger(p,&v);\n    if (iVar2 != 0) {\n      uVar1 = (uint)(v == 0);\n      goto LAB_00122234;\n    }\n  }\n  uVar1 = 0;\nLAB_00122234:\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" primitive_type (function_declarator "exprAlwaysFalse(Expr *p)" identifier (parameter_list "(Expr *p)" ( (parameter_declaration "Expr *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  long in_FS_OFFSET;\n  int v;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  v = 0;\n  if ((p->flags & 1) == 0) {\n    iVar2 = sqlite3ExprIsInteger(p,&v);\n    if (iVar2 != 0) {\n      uVar1 = (uint)(v == 0);\n      goto LAB_00122234;\n    }\n  }\n  uVar1 = 0;\nLAB_00122234:\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "int v;" primitive_type 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 "v = 0;" (assignment_expression "v = 0" identifier = number_literal) ;) (if_statement "if ((p->flags & 1) == 0) {\n    iVar2 = sqlite3ExprIsInteger(p,&v);\n    if (iVar2 != 0) {\n      uVar1 = (uint)(v == 0);\n      goto LAB_00122234;\n    }\n  }" if (parenthesized_expression "((p->flags & 1) == 0)" ( (binary_expression "(p->flags & 1) == 0" (parenthesized_expression "(p->flags & 1)" ( (binary_expression "p->flags & 1" (field_expression "p->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar2 = sqlite3ExprIsInteger(p,&v);\n    if (iVar2 != 0) {\n      uVar1 = (uint)(v == 0);\n      goto LAB_00122234;\n    }\n  }" { (expression_statement "iVar2 = sqlite3ExprIsInteger(p,&v);" (assignment_expression "iVar2 = sqlite3ExprIsInteger(p,&v)" identifier = (call_expression "sqlite3ExprIsInteger(p,&v)" identifier (argument_list "(p,&v)" ( identifier , (pointer_expression "&v" & identifier) )))) ;) (if_statement "if (iVar2 != 0) {\n      uVar1 = (uint)(v == 0);\n      goto LAB_00122234;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar1 = (uint)(v == 0);\n      goto LAB_00122234;\n    }" { (expression_statement "uVar1 = (uint)(v == 0);" (assignment_expression "uVar1 = (uint)(v == 0)" identifier = (call_expression "(uint)(v == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(v == 0)" ( (binary_expression "v == 0" identifier == number_literal) )))) ;) (goto_statement "goto LAB_00122234;" goto statement_identifier ;) })) })) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00122234:\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar1;\n  }" statement_identifier : (if_statement "if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return uVar1;\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 uVar1;\n  }" { (return_statement "return uVar1;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "bool FUN_00122210(long param_1)\n\n{\n  int iVar1;\n  long in_FS_OFFSET;\n  bool bVar2;\n  int local_14;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  local_14 = 0;\n  if ((*(byte *)(param_1 + 4) & 1) == 0) {\n    iVar1 = FUN_00122160(param_1,&local_14);\n    if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }\n  }\n  bVar2 = false;\nLAB_00122234:\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return bVar2;\n  }\n                    \n  __stack_chk_fail();\n}\n\n" (function_definition "bool FUN_00122210(long param_1)\n\n{\n  int iVar1;\n  long in_FS_OFFSET;\n  bool bVar2;\n  int local_14;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  local_14 = 0;\n  if ((*(byte *)(param_1 + 4) & 1) == 0) {\n    iVar1 = FUN_00122160(param_1,&local_14);\n    if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }\n  }\n  bVar2 = false;\nLAB_00122234:\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return bVar2;\n  }\n                    \n  __stack_chk_fail();\n}" primitive_type (function_declarator "FUN_00122210(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  int iVar1;\n  long in_FS_OFFSET;\n  bool bVar2;\n  int local_14;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  local_14 = 0;\n  if ((*(byte *)(param_1 + 4) & 1) == 0) {\n    iVar1 = FUN_00122160(param_1,&local_14);\n    if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }\n  }\n  bVar2 = false;\nLAB_00122234:\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return bVar2;\n  }\n                    \n  __stack_chk_fail();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int local_14;" primitive_type 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 "local_14 = 0;" (assignment_expression "local_14 = 0" identifier = number_literal) ;) (if_statement "if ((*(byte *)(param_1 + 4) & 1) == 0) {\n    iVar1 = FUN_00122160(param_1,&local_14);\n    if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 4) & 1) == 0)" ( (binary_expression "(*(byte *)(param_1 + 4) & 1) == 0" (parenthesized_expression "(*(byte *)(param_1 + 4) & 1)" ( (binary_expression "*(byte *)(param_1 + 4) & 1" (pointer_expression "*(byte *)(param_1 + 4)" * (cast_expression "(byte *)(param_1 + 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = FUN_00122160(param_1,&local_14);\n    if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }\n  }" { (expression_statement "iVar1 = FUN_00122160(param_1,&local_14);" (assignment_expression "iVar1 = FUN_00122160(param_1,&local_14)" identifier = (call_expression "FUN_00122160(param_1,&local_14)" identifier (argument_list "(param_1,&local_14)" ( identifier , (pointer_expression "&local_14" & identifier) )))) ;) (if_statement "if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }" { (expression_statement "bVar2 = local_14 == 0;" (assignment_expression "bVar2 = local_14 == 0" identifier = (binary_expression "local_14 == 0" identifier == number_literal)) ;) (goto_statement "goto LAB_00122234;" goto statement_identifier ;) })) })) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (labeled_statement "LAB_00122234:\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return bVar2;\n  }" statement_identifier : (if_statement "if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return bVar2;\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 bVar2;\n  }" { (return_statement "return bVar2;" return identifier ;) }))) (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) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (labeled_statement statement_identifier : (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 IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "bool FUN_00122210(long param_1)\n\n{\n  int iVar1;\n  long in_FS_OFFSET;\n  bool bVar2;\n  int local_14;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  local_14 = 0;\n  if ((*(byte *)(param_1 + 4) & 1) == 0) {\n    iVar1 = FUN_00122160(param_1,&local_14);\n    if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }\n  }\n  bVar2 = false;\nLAB_00122234:\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return bVar2;\n  }\n                    \n  __stack_chk_fail();\n}" (primitive_type "bool") (function_declarator "FUN_00122210(long param_1)" (identifier "FUN_00122210") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  long in_FS_OFFSET;\n  bool bVar2;\n  int local_14;\n  long local_10;\n  \n  local_10 = *(long *)(in_FS_OFFSET + 0x28);\n  local_14 = 0;\n  if ((*(byte *)(param_1 + 4) & 1) == 0) {\n    iVar1 = FUN_00122160(param_1,&local_14);\n    if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }\n  }\n  bVar2 = false;\nLAB_00122234:\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return bVar2;\n  }\n                    \n  __stack_chk_fail();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (declaration "long local_10;" (sized_type_specifier "long" (long "long")) (identifier "local_10") (; ";")) (expression_statement "local_10 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_10 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_10") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "local_14 = 0;" (assignment_expression "local_14 = 0" (identifier "local_14") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((*(byte *)(param_1 + 4) & 1) == 0) {\n    iVar1 = FUN_00122160(param_1,&local_14);\n    if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_1 + 4) & 1) == 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 4) & 1) == 0" (parenthesized_expression "(*(byte *)(param_1 + 4) & 1)" (( "(") (binary_expression "*(byte *)(param_1 + 4) & 1" (pointer_expression "*(byte *)(param_1 + 4)" (* "*") (cast_expression "(byte *)(param_1 + 4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = FUN_00122160(param_1,&local_14);\n    if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }\n  }" ({ "{") (expression_statement "iVar1 = FUN_00122160(param_1,&local_14);" (assignment_expression "iVar1 = FUN_00122160(param_1,&local_14)" (identifier "iVar1") (= "=") (call_expression "FUN_00122160(param_1,&local_14)" (identifier "FUN_00122160") (argument_list "(param_1,&local_14)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_14" (& "&") (identifier "local_14")) () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      bVar2 = local_14 == 0;\n      goto LAB_00122234;\n    }" ({ "{") (expression_statement "bVar2 = local_14 == 0;" (assignment_expression "bVar2 = local_14 == 0" (identifier "bVar2") (= "=") (binary_expression "local_14 == 0" (identifier "local_14") (== "==") (number_literal "0"))) (; ";")) (goto_statement "goto LAB_00122234;" (goto "goto") (statement_identifier "LAB_00122234") (; ";")) (} "}"))) (} "}"))) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (labeled_statement "LAB_00122234:\n  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return bVar2;\n  }" (statement_identifier "LAB_00122234") (: ":") (if_statement "if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {\n    return bVar2;\n  }" (if "if") (parenthesized_expression "(local_10 == *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_10 == *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_10") (== "==") (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 bVar2;\n  }" ({ "{") (return_statement "return bVar2;" (return "return") (identifier "bVar2") (; ";")) (} "}")))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

int function_1(type_1 *p)

{
  type_2 uVar1;
  int var_3;
  long var_1;
  int var_4;
  long var_5;
  
  var_5 = *(long *)(var_1 + 0x28);
  var_4 = 0;
  if ((p->flags & 1) == 0) {
    var_3 = var_2(p,&var_4);
    if (var_3 != 0) {
      uVar1 = (type_2)(var_4 == 0);
      goto LAB_00122234;
    }
  }
  uVar1 = 0;
LAB_00122234:
  if (var_5 == *(long *)(var_1 + 0x28)) {
    return uVar1;
  }
                    /* 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: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) 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))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (false))) (labeled_statement label: (statement_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 (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

bool MASKED(long param_1)

{
  int iVar1;
  long in_FS_OFFSET;
  bool bVar2;
  int local_14;
  long local_10;
  
  local_10 = *(long *)(in_FS_OFFSET + 0x28);
  local_14 = 0;
  if ((*(byte *)(param_1 + 4) & 1) == 0) {
    iVar1 = FUN_00122160(param_1,&local_14);
    if (iVar1 != 0) {
      bVar2 = local_14 == 0;
      goto LAB_00122234;
    }
  }
  bVar2 = false;
LAB_00122234:
  if (local_10 == *(long *)(in_FS_OFFSET + 0x28)) {
    return bVar2;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail();
}

