
/* WARNING: Unknown calling convention */

int parser_in_command_position(void)

{
  int iVar1;
  uint toksym;
  
  toksym = *(uint *)(PTR_data_start_00144568 + 0x6b14);
  if (toksym == 0x11a) {
    return 1;
  }
  if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {
    if (toksym - 0x127 < 3) {
      return 0;
    }
  }
  else if ((toksym & 0xfffffffd) != 0x3c) {
    if (0xc < toksym - 0x122) {
      return 1;
    }
    if (-1 < (int)((0x1b1fU >> (toksym - 0x122 & 0x1f)) << 0x1f)) {
      return 1;
    }
  }
  iVar1 = reserved_word_acceptable(toksym);
  return (uint)(iVar1 != 0);
}



bool parser_in_command_position(void)

{
  int iVar1;
  uint uVar2;
  
  uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14);
  if (uVar2 == 0x11a) {
    return true;
  }
  if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {
    if (uVar2 - 0x127 < 3) {
      return false;
    }
  }
  else if ((uVar2 & 0xfffffffd) != 0x3c) {
    if (0xc < uVar2 - 0x122) {
      return true;
    }
    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {
      return true;
    }
  }
  iVar1 = FUN_000318c0();
  return iVar1 != 0;
}


lui gp,0x12
addiu gp,gp,-0x6984
addu gp,gp,t9
lw v1,-0x7fd8(gp)
addiu sp,sp,-0x20
li v0,0x11a
sw gp,0x10(sp)
sw ra,0x1c(sp)
lw a0,0x6b14(v1)
beq a0,v0,0x00032f6c
_lw v0,-0x7c48(gp)
lui v1,0x8
lw v0,0x0(v0)
and v0,v0,v1
beq v0,zero,0x00032f58
_addiu v1,a0,-0x127
li v0,-0x3
li v1,0x3c
and v0,a0,v0
beq v0,v1,0x00032f38
_addiu v1,a0,-0x122
sltiu v0,v1,0xd
beq v0,zero,0x00032f70
_lw ra,0x1c(sp)
li v0,0x1b1f
srlv v0,v0,v1
ext v0,v0,0x0,0x1
beq v0,zero,0x00032f74
_li v0,0x1
lw t9,-0x7fcc(gp)
addiu t9,t9,0x18c0
bal 0x000318c0
_nop
lw ra,0x1c(sp)
sltu v0,zero,v0
jr ra
_addiu sp,sp,0x20
sltiu v1,v1,0x3
beq v1,zero,0x00032f38
_lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
lw ra,0x1c(sp)
li v0,0x1
jr ra
_addiu sp,sp,0x20
(translation_unit "bool parser_in_command_position(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14);\n  if (uVar2 == 0x11a) {\n    return true;\n  }\n  if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {\n    if (uVar2 - 0x127 < 3) {\n      return false;\n    }\n  }\n  else if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }\n  iVar1 = FUN_000318c0();\n  return iVar1 != 0;\n}\n\n" (function_definition "bool parser_in_command_position(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14);\n  if (uVar2 == 0x11a) {\n    return true;\n  }\n  if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {\n    if (uVar2 - 0x127 < 3) {\n      return false;\n    }\n  }\n  else if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }\n  iVar1 = FUN_000318c0();\n  return iVar1 != 0;\n}" primitive_type (function_declarator "parser_in_command_position(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14);\n  if (uVar2 == 0x11a) {\n    return true;\n  }\n  if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {\n    if (uVar2 - 0x127 < 3) {\n      return false;\n    }\n  }\n  else if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }\n  iVar1 = FUN_000318c0();\n  return iVar1 != 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14);" (assignment_expression "uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14)" identifier = (pointer_expression "*(uint *)(PTR_data_start_00144568 + 0x6b14)" * (cast_expression "(uint *)(PTR_data_start_00144568 + 0x6b14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_00144568 + 0x6b14)" ( (binary_expression "PTR_data_start_00144568 + 0x6b14" identifier + number_literal) ))))) ;) (if_statement "if (uVar2 == 0x11a) {\n    return true;\n  }" if (parenthesized_expression "(uVar2 == 0x11a)" ( (binary_expression "uVar2 == 0x11a" identifier == number_literal) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (if_statement "if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {\n    if (uVar2 - 0x127 < 3) {\n      return false;\n    }\n  }\n  else if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }" if (parenthesized_expression "((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0)" ( (binary_expression "(*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0" (parenthesized_expression "(*(uint *)PTR_parser_state_001448f8 & 0x80000)" ( (binary_expression "*(uint *)PTR_parser_state_001448f8 & 0x80000" (pointer_expression "*(uint *)PTR_parser_state_001448f8" * (cast_expression "(uint *)PTR_parser_state_001448f8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n    if (uVar2 - 0x127 < 3) {\n      return false;\n    }\n  }" { (if_statement "if (uVar2 - 0x127 < 3) {\n      return false;\n    }" if (parenthesized_expression "(uVar2 - 0x127 < 3)" ( (binary_expression "uVar2 - 0x127 < 3" (binary_expression "uVar2 - 0x127" identifier - number_literal) < number_literal) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) }) (else_clause "else if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }" else (if_statement "if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }" if (parenthesized_expression "((uVar2 & 0xfffffffd) != 0x3c)" ( (binary_expression "(uVar2 & 0xfffffffd) != 0x3c" (parenthesized_expression "(uVar2 & 0xfffffffd)" ( (binary_expression "uVar2 & 0xfffffffd" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }" { (if_statement "if (0xc < uVar2 - 0x122) {\n      return true;\n    }" if (parenthesized_expression "(0xc < uVar2 - 0x122)" ( (binary_expression "0xc < uVar2 - 0x122" number_literal < (binary_expression "uVar2 - 0x122" identifier - number_literal)) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) (if_statement "if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }" if (parenthesized_expression "(-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f))" ( (binary_expression "-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)" number_literal < (cast_expression "(int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)" ( (binary_expression "(0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f" (parenthesized_expression "(0x1b1fU >> (uVar2 - 0x122 & 0x1f))" ( (binary_expression "0x1b1fU >> (uVar2 - 0x122 & 0x1f)" number_literal >> (parenthesized_expression "(uVar2 - 0x122 & 0x1f)" ( (binary_expression "uVar2 - 0x122 & 0x1f" (binary_expression "uVar2 - 0x122" identifier - number_literal) & number_literal) ))) )) << number_literal) )))) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) })))) (expression_statement "iVar1 = FUN_000318c0();" (assignment_expression "iVar1 = FUN_000318c0()" identifier = (call_expression "FUN_000318c0()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1 != 0;" return (binary_expression "iVar1 != 0" identifier != number_literal) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint parser_in_command_position(void)\n\n{\n  int iVar1;\n  uint toksym;\n  \n  toksym = *(uint *)(PTR_data_start_00144568 + 0x6b14);\n  if (toksym == 0x11a) {\n    return 1;\n  }\n  if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {\n    if (toksym - 0x127 < 3) {\n      return 0;\n    }\n  }\n  else if ((toksym & 0xfffffffd) != 0x3c) {\n    if (0xc < toksym - 0x122) {\n      return 1;\n    }\n    if (-1 < (int)((0x1b1fU >> (toksym - 0x122 & 0x1f)) << 0x1f)) {\n      return 1;\n    }\n  }\n  iVar1 = reserved_word_acceptable(toksym);\n  return (uint)(iVar1 != 0);\n}\n\n" comment (function_definition "int parser_in_command_position(void)\n\n{\n  int iVar1;\n  uint toksym;\n  \n  toksym = *(uint *)(PTR_data_start_00144568 + 0x6b14);\n  if (toksym == 0x11a) {\n    return 1;\n  }\n  if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {\n    if (toksym - 0x127 < 3) {\n      return 0;\n    }\n  }\n  else if ((toksym & 0xfffffffd) != 0x3c) {\n    if (0xc < toksym - 0x122) {\n      return 1;\n    }\n    if (-1 < (int)((0x1b1fU >> (toksym - 0x122 & 0x1f)) << 0x1f)) {\n      return 1;\n    }\n  }\n  iVar1 = reserved_word_acceptable(toksym);\n  return (uint)(iVar1 != 0);\n}" primitive_type (function_declarator "parser_in_command_position(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  uint toksym;\n  \n  toksym = *(uint *)(PTR_data_start_00144568 + 0x6b14);\n  if (toksym == 0x11a) {\n    return 1;\n  }\n  if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {\n    if (toksym - 0x127 < 3) {\n      return 0;\n    }\n  }\n  else if ((toksym & 0xfffffffd) != 0x3c) {\n    if (0xc < toksym - 0x122) {\n      return 1;\n    }\n    if (-1 < (int)((0x1b1fU >> (toksym - 0x122 & 0x1f)) << 0x1f)) {\n      return 1;\n    }\n  }\n  iVar1 = reserved_word_acceptable(toksym);\n  return (uint)(iVar1 != 0);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint toksym;" type_identifier identifier ;) (expression_statement "toksym = *(uint *)(PTR_data_start_00144568 + 0x6b14);" (assignment_expression "toksym = *(uint *)(PTR_data_start_00144568 + 0x6b14)" identifier = (pointer_expression "*(uint *)(PTR_data_start_00144568 + 0x6b14)" * (cast_expression "(uint *)(PTR_data_start_00144568 + 0x6b14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_00144568 + 0x6b14)" ( (binary_expression "PTR_data_start_00144568 + 0x6b14" identifier + number_literal) ))))) ;) (if_statement "if (toksym == 0x11a) {\n    return 1;\n  }" if (parenthesized_expression "(toksym == 0x11a)" ( (binary_expression "toksym == 0x11a" identifier == number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {\n    if (toksym - 0x127 < 3) {\n      return 0;\n    }\n  }\n  else if ((toksym & 0xfffffffd) != 0x3c) {\n    if (0xc < toksym - 0x122) {\n      return 1;\n    }\n    if (-1 < (int)((0x1b1fU >> (toksym - 0x122 & 0x1f)) << 0x1f)) {\n      return 1;\n    }\n  }" if (parenthesized_expression "((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0)" ( (binary_expression "(*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0" (parenthesized_expression "(*(uint *)PTR_parser_state_001448f8 & 0x80000)" ( (binary_expression "*(uint *)PTR_parser_state_001448f8 & 0x80000" (pointer_expression "*(uint *)PTR_parser_state_001448f8" * (cast_expression "(uint *)PTR_parser_state_001448f8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n    if (toksym - 0x127 < 3) {\n      return 0;\n    }\n  }" { (if_statement "if (toksym - 0x127 < 3) {\n      return 0;\n    }" if (parenthesized_expression "(toksym - 0x127 < 3)" ( (binary_expression "toksym - 0x127 < 3" (binary_expression "toksym - 0x127" identifier - number_literal) < number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) }) (else_clause "else if ((toksym & 0xfffffffd) != 0x3c) {\n    if (0xc < toksym - 0x122) {\n      return 1;\n    }\n    if (-1 < (int)((0x1b1fU >> (toksym - 0x122 & 0x1f)) << 0x1f)) {\n      return 1;\n    }\n  }" else (if_statement "if ((toksym & 0xfffffffd) != 0x3c) {\n    if (0xc < toksym - 0x122) {\n      return 1;\n    }\n    if (-1 < (int)((0x1b1fU >> (toksym - 0x122 & 0x1f)) << 0x1f)) {\n      return 1;\n    }\n  }" if (parenthesized_expression "((toksym & 0xfffffffd) != 0x3c)" ( (binary_expression "(toksym & 0xfffffffd) != 0x3c" (parenthesized_expression "(toksym & 0xfffffffd)" ( (binary_expression "toksym & 0xfffffffd" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    if (0xc < toksym - 0x122) {\n      return 1;\n    }\n    if (-1 < (int)((0x1b1fU >> (toksym - 0x122 & 0x1f)) << 0x1f)) {\n      return 1;\n    }\n  }" { (if_statement "if (0xc < toksym - 0x122) {\n      return 1;\n    }" if (parenthesized_expression "(0xc < toksym - 0x122)" ( (binary_expression "0xc < toksym - 0x122" number_literal < (binary_expression "toksym - 0x122" identifier - number_literal)) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (-1 < (int)((0x1b1fU >> (toksym - 0x122 & 0x1f)) << 0x1f)) {\n      return 1;\n    }" if (parenthesized_expression "(-1 < (int)((0x1b1fU >> (toksym - 0x122 & 0x1f)) << 0x1f))" ( (binary_expression "-1 < (int)((0x1b1fU >> (toksym - 0x122 & 0x1f)) << 0x1f)" number_literal < (cast_expression "(int)((0x1b1fU >> (toksym - 0x122 & 0x1f)) << 0x1f)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((0x1b1fU >> (toksym - 0x122 & 0x1f)) << 0x1f)" ( (binary_expression "(0x1b1fU >> (toksym - 0x122 & 0x1f)) << 0x1f" (parenthesized_expression "(0x1b1fU >> (toksym - 0x122 & 0x1f))" ( (binary_expression "0x1b1fU >> (toksym - 0x122 & 0x1f)" number_literal >> (parenthesized_expression "(toksym - 0x122 & 0x1f)" ( (binary_expression "toksym - 0x122 & 0x1f" (binary_expression "toksym - 0x122" identifier - number_literal) & number_literal) ))) )) << number_literal) )))) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) })))) (expression_statement "iVar1 = reserved_word_acceptable(toksym);" (assignment_expression "iVar1 = reserved_word_acceptable(toksym)" identifier = (call_expression "reserved_word_acceptable(toksym)" identifier (argument_list "(toksym)" ( identifier )))) ;) (return_statement "return (uint)(iVar1 != 0);" return (call_expression "(uint)(iVar1 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) ))) ;) })))
(translation_unit "bool parser_in_command_position(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14);\n  if (uVar2 == 0x11a) {\n    return true;\n  }\n  if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {\n    if (uVar2 - 0x127 < 3) {\n      return false;\n    }\n  }\n  else if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }\n  iVar1 = FUN_000318c0();\n  return iVar1 != 0;\n}\n\n" (function_definition "bool parser_in_command_position(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14);\n  if (uVar2 == 0x11a) {\n    return true;\n  }\n  if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {\n    if (uVar2 - 0x127 < 3) {\n      return false;\n    }\n  }\n  else if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }\n  iVar1 = FUN_000318c0();\n  return iVar1 != 0;\n}" primitive_type (function_declarator "parser_in_command_position(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14);\n  if (uVar2 == 0x11a) {\n    return true;\n  }\n  if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {\n    if (uVar2 - 0x127 < 3) {\n      return false;\n    }\n  }\n  else if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }\n  iVar1 = FUN_000318c0();\n  return iVar1 != 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14);" (assignment_expression "uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14)" identifier = (pointer_expression "*(uint *)(PTR_data_start_00144568 + 0x6b14)" * (cast_expression "(uint *)(PTR_data_start_00144568 + 0x6b14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_data_start_00144568 + 0x6b14)" ( (binary_expression "PTR_data_start_00144568 + 0x6b14" identifier + number_literal) ))))) ;) (if_statement "if (uVar2 == 0x11a) {\n    return true;\n  }" if (parenthesized_expression "(uVar2 == 0x11a)" ( (binary_expression "uVar2 == 0x11a" identifier == number_literal) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (if_statement "if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {\n    if (uVar2 - 0x127 < 3) {\n      return false;\n    }\n  }\n  else if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }" if (parenthesized_expression "((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0)" ( (binary_expression "(*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0" (parenthesized_expression "(*(uint *)PTR_parser_state_001448f8 & 0x80000)" ( (binary_expression "*(uint *)PTR_parser_state_001448f8 & 0x80000" (pointer_expression "*(uint *)PTR_parser_state_001448f8" * (cast_expression "(uint *)PTR_parser_state_001448f8" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) & number_literal) )) == number_literal) )) (compound_statement "{\n    if (uVar2 - 0x127 < 3) {\n      return false;\n    }\n  }" { (if_statement "if (uVar2 - 0x127 < 3) {\n      return false;\n    }" if (parenthesized_expression "(uVar2 - 0x127 < 3)" ( (binary_expression "uVar2 - 0x127 < 3" (binary_expression "uVar2 - 0x127" identifier - number_literal) < number_literal) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) }) (else_clause "else if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }" else (if_statement "if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }" if (parenthesized_expression "((uVar2 & 0xfffffffd) != 0x3c)" ( (binary_expression "(uVar2 & 0xfffffffd) != 0x3c" (parenthesized_expression "(uVar2 & 0xfffffffd)" ( (binary_expression "uVar2 & 0xfffffffd" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }" { (if_statement "if (0xc < uVar2 - 0x122) {\n      return true;\n    }" if (parenthesized_expression "(0xc < uVar2 - 0x122)" ( (binary_expression "0xc < uVar2 - 0x122" number_literal < (binary_expression "uVar2 - 0x122" identifier - number_literal)) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) (if_statement "if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }" if (parenthesized_expression "(-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f))" ( (binary_expression "-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)" number_literal < (cast_expression "(int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)" ( (binary_expression "(0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f" (parenthesized_expression "(0x1b1fU >> (uVar2 - 0x122 & 0x1f))" ( (binary_expression "0x1b1fU >> (uVar2 - 0x122 & 0x1f)" number_literal >> (parenthesized_expression "(uVar2 - 0x122 & 0x1f)" ( (binary_expression "uVar2 - 0x122 & 0x1f" (binary_expression "uVar2 - 0x122" identifier - number_literal) & number_literal) ))) )) << number_literal) )))) )) (compound_statement "{\n      return true;\n    }" { (return_statement "return true;" return true ;) })) })))) (expression_statement "iVar1 = FUN_000318c0();" (assignment_expression "iVar1 = FUN_000318c0()" identifier = (call_expression "FUN_000318c0()" identifier (argument_list "()" ( )))) ;) (return_statement "return iVar1 != 0;" return (binary_expression "iVar1 != 0" identifier != number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return BOOL ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (return_statement return BOOL ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) )) (compound_statement { (return_statement return BOOL ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT >> (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) ))) )) << LIT) )))) )) (compound_statement { (return_statement return BOOL ;) })) })))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return (binary_expression IDENT != LIT) ;) })))
(function_definition "bool parser_in_command_position(void)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14);\n  if (uVar2 == 0x11a) {\n    return true;\n  }\n  if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {\n    if (uVar2 - 0x127 < 3) {\n      return false;\n    }\n  }\n  else if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }\n  iVar1 = FUN_000318c0();\n  return iVar1 != 0;\n}" (primitive_type "bool") (function_declarator "parser_in_command_position(void)" (identifier "parser_in_command_position") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  \n  uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14);\n  if (uVar2 == 0x11a) {\n    return true;\n  }\n  if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {\n    if (uVar2 - 0x127 < 3) {\n      return false;\n    }\n  }\n  else if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }\n  iVar1 = FUN_000318c0();\n  return iVar1 != 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (expression_statement "uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14);" (assignment_expression "uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(PTR_data_start_00144568 + 0x6b14)" (* "*") (cast_expression "(uint *)(PTR_data_start_00144568 + 0x6b14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_data_start_00144568 + 0x6b14)" (( "(") (binary_expression "PTR_data_start_00144568 + 0x6b14" (identifier "PTR_data_start_00144568") (+ "+") (number_literal "0x6b14")) () ")"))))) (; ";")) (if_statement "if (uVar2 == 0x11a) {\n    return true;\n  }" (if "if") (parenthesized_expression "(uVar2 == 0x11a)" (( "(") (binary_expression "uVar2 == 0x11a" (identifier "uVar2") (== "==") (number_literal "0x11a")) () ")")) (compound_statement "{\n    return true;\n  }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (if_statement "if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {\n    if (uVar2 - 0x127 < 3) {\n      return false;\n    }\n  }\n  else if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }" (if "if") (parenthesized_expression "((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0)" (( "(") (binary_expression "(*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0" (parenthesized_expression "(*(uint *)PTR_parser_state_001448f8 & 0x80000)" (( "(") (binary_expression "*(uint *)PTR_parser_state_001448f8 & 0x80000" (pointer_expression "*(uint *)PTR_parser_state_001448f8" (* "*") (cast_expression "(uint *)PTR_parser_state_001448f8" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_parser_state_001448f8"))) (& "&") (number_literal "0x80000")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (uVar2 - 0x127 < 3) {\n      return false;\n    }\n  }" ({ "{") (if_statement "if (uVar2 - 0x127 < 3) {\n      return false;\n    }" (if "if") (parenthesized_expression "(uVar2 - 0x127 < 3)" (( "(") (binary_expression "uVar2 - 0x127 < 3" (binary_expression "uVar2 - 0x127" (identifier "uVar2") (- "-") (number_literal "0x127")) (< "<") (number_literal "3")) () ")")) (compound_statement "{\n      return false;\n    }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (} "}")) (else_clause "else if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }" (else "else") (if_statement "if ((uVar2 & 0xfffffffd) != 0x3c) {\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }" (if "if") (parenthesized_expression "((uVar2 & 0xfffffffd) != 0x3c)" (( "(") (binary_expression "(uVar2 & 0xfffffffd) != 0x3c" (parenthesized_expression "(uVar2 & 0xfffffffd)" (( "(") (binary_expression "uVar2 & 0xfffffffd" (identifier "uVar2") (& "&") (number_literal "0xfffffffd")) () ")")) (!= "!=") (number_literal "0x3c")) () ")")) (compound_statement "{\n    if (0xc < uVar2 - 0x122) {\n      return true;\n    }\n    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }\n  }" ({ "{") (if_statement "if (0xc < uVar2 - 0x122) {\n      return true;\n    }" (if "if") (parenthesized_expression "(0xc < uVar2 - 0x122)" (( "(") (binary_expression "0xc < uVar2 - 0x122" (number_literal "0xc") (< "<") (binary_expression "uVar2 - 0x122" (identifier "uVar2") (- "-") (number_literal "0x122"))) () ")")) (compound_statement "{\n      return true;\n    }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (if_statement "if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {\n      return true;\n    }" (if "if") (parenthesized_expression "(-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f))" (( "(") (binary_expression "-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)" (number_literal "-1") (< "<") (cast_expression "(int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)" (( "(") (binary_expression "(0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f" (parenthesized_expression "(0x1b1fU >> (uVar2 - 0x122 & 0x1f))" (( "(") (binary_expression "0x1b1fU >> (uVar2 - 0x122 & 0x1f)" (number_literal "0x1b1fU") (>> ">>") (parenthesized_expression "(uVar2 - 0x122 & 0x1f)" (( "(") (binary_expression "uVar2 - 0x122 & 0x1f" (binary_expression "uVar2 - 0x122" (identifier "uVar2") (- "-") (number_literal "0x122")) (& "&") (number_literal "0x1f")) () ")"))) () ")")) (<< "<<") (number_literal "0x1f")) () ")")))) () ")")) (compound_statement "{\n      return true;\n    }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (} "}"))))) (expression_statement "iVar1 = FUN_000318c0();" (assignment_expression "iVar1 = FUN_000318c0()" (identifier "iVar1") (= "=") (call_expression "FUN_000318c0()" (identifier "FUN_000318c0") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar1 != 0;" (return "return") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(void)

{
  int var_4;
  type_1 var_2;
  
  var_2 = *(type_1 *)(var_1 + 0x6b14);
  if (var_2 == 0x11a) {
    return 1;
  }
  if ((*(type_1 *)PTR_parser_state_001448f8 & 0x80000) == 0) {
    if (var_2 - 0x127 < 3) {
      return 0;
    }
  }
  else if ((var_2 & 0xfffffffd) != 0x3c) {
    if (0xc < var_2 - 0x122) {
      return 1;
    }
    if (-1 < (int)((0x1b1fU >> (var_2 - 0x122 & 0x1f)) << 0x1f)) {
      return 1;
    }
  }
  var_4 = var_3(var_2);
  return (type_1)(var_4 != 0);
}


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

bool MASKED(void)

{
  int iVar1;
  uint uVar2;
  
  uVar2 = *(uint *)(PTR_data_start_00144568 + 0x6b14);
  if (uVar2 == 0x11a) {
    return true;
  }
  if ((*(uint *)PTR_parser_state_001448f8 & 0x80000) == 0) {
    if (uVar2 - 0x127 < 3) {
      return false;
    }
  }
  else if ((uVar2 & 0xfffffffd) != 0x3c) {
    if (0xc < uVar2 - 0x122) {
      return true;
    }
    if (-1 < (int)((0x1b1fU >> (uVar2 - 0x122 & 0x1f)) << 0x1f)) {
      return true;
    }
  }
  iVar1 = FUN_000318c0();
  return iVar1 != 0;
}

