
int symbol_constant_p(symbolS *s)

{
  if (-1 < *(short *)&s->sy_flags) {
    return (uint)((s->sy_value).field_0x10 == '\x02');
  }
  if (s->bsym != *(asymbol **)PTR_reg_section_000b5da4) {
    return 1;
  }
  return (uint)((((s->sy_value).X_op_symbol)->sy_value).field_0x10 == '\x02');
}



bool symbol_constant_p(short *param_1)

{
  if (-1 < *param_1) {
    return *(char *)(param_1 + 0xc) == '\x02';
  }
  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {
    return true;
  }
  return *(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02';
}


lui gp,0x7
addiu gp,gp,-0x46a8
addu gp,gp,t9
lh v0,0x0(a0)
bltz v0,0x00052350
_nop
lbu v0,0x18(a0)
xori v0,v0,0x2
jr ra
_sltiu v0,v0,0x1
lw v0,-0x7edc(gp)
lw v1,0x4(a0)
lw v0,0x0(v0)
beq v1,v0,0x0005236c
_nop
jr ra
_li v0,0x1
lw a0,0xc(a0)
lbu v0,0x18(a0)
xori v0,v0,0x2
jr ra
_sltiu v0,v0,0x1
(translation_unit "bool symbol_constant_p(short *param_1)\n\n{\n  if (-1 < *param_1) {\n    return *(char *)(param_1 + 0xc) == '\x02';\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return true;\n  }\n  return *(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02';\n}\n\n" (function_definition "bool symbol_constant_p(short *param_1)\n\n{\n  if (-1 < *param_1) {\n    return *(char *)(param_1 + 0xc) == '\x02';\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return true;\n  }\n  return *(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02';\n}" primitive_type (function_declarator "symbol_constant_p(short *param_1)" identifier (parameter_list "(short *param_1)" ( (parameter_declaration "short *param_1" (sized_type_specifier "short" short) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (-1 < *param_1) {\n    return *(char *)(param_1 + 0xc) == '\x02';\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return true;\n  }\n  return *(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02';\n}" { (if_statement "if (-1 < *param_1) {\n    return *(char *)(param_1 + 0xc) == '\x02';\n  }" if (parenthesized_expression "(-1 < *param_1)" ( (binary_expression "-1 < *param_1" number_literal < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    return *(char *)(param_1 + 0xc) == '\x02';\n  }" { (return_statement "return *(char *)(param_1 + 0xc) == '\x02';" return (binary_expression "*(char *)(param_1 + 0xc) == '\x02'" (pointer_expression "*(char *)(param_1 + 0xc)" * (cast_expression "(char *)(param_1 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) ;) })) (if_statement "if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return true;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4)" ( (binary_expression "*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4" (pointer_expression "*(int *)(param_1 + 2)" * (cast_expression "(int *)(param_1 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) != (pointer_expression "*(int *)PTR_reg_section_000b5da4" * (cast_expression "(int *)PTR_reg_section_000b5da4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (return_statement "return *(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02';" return (binary_expression "*(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02'" (pointer_expression "*(char *)(*(int *)(param_1 + 6) + 0x18)" * (cast_expression "(char *)(*(int *)(param_1 + 6) + 0x18)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 6) + 0x18)" ( (binary_expression "*(int *)(param_1 + 6) + 0x18" (pointer_expression "*(int *)(param_1 + 6)" * (cast_expression "(int *)(param_1 + 6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 6)" ( (binary_expression "param_1 + 6" identifier + number_literal) )))) + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) ;) })))
(translation_unit "int symbol_constant_p(symbolS *s)\n\n{\n  if (-1 < *(short *)&s->sy_flags) {\n    return (uint)((s->sy_value).field_0x10 == '\x02');\n  }\n  if (s->bsym != *(asymbol **)PTR_reg_section_000b5da4) {\n    return 1;\n  }\n  return (uint)((((s->sy_value).X_op_symbol)->sy_value).field_0x10 == '\x02');\n}\n\n" (function_definition "int symbol_constant_p(symbolS *s)\n\n{\n  if (-1 < *(short *)&s->sy_flags) {\n    return (uint)((s->sy_value).field_0x10 == '\x02');\n  }\n  if (s->bsym != *(asymbol **)PTR_reg_section_000b5da4) {\n    return 1;\n  }\n  return (uint)((((s->sy_value).X_op_symbol)->sy_value).field_0x10 == '\x02');\n}" primitive_type (function_declarator "symbol_constant_p(symbolS *s)" identifier (parameter_list "(symbolS *s)" ( (parameter_declaration "symbolS *s" type_identifier (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  if (-1 < *(short *)&s->sy_flags) {\n    return (uint)((s->sy_value).field_0x10 == '\x02');\n  }\n  if (s->bsym != *(asymbol **)PTR_reg_section_000b5da4) {\n    return 1;\n  }\n  return (uint)((((s->sy_value).X_op_symbol)->sy_value).field_0x10 == '\x02');\n}" { (if_statement "if (-1 < *(short *)&s->sy_flags) {\n    return (uint)((s->sy_value).field_0x10 == '\x02');\n  }" if (parenthesized_expression "(-1 < *(short *)&s->sy_flags)" ( (binary_expression "-1 < *(short *)&s->sy_flags" number_literal < (pointer_expression "*(short *)&s->sy_flags" * (cast_expression "(short *)&s->sy_flags" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (pointer_expression "&s->sy_flags" & (field_expression "s->sy_flags" identifier -> field_identifier))))) )) (compound_statement "{\n    return (uint)((s->sy_value).field_0x10 == '\x02');\n  }" { (return_statement "return (uint)((s->sy_value).field_0x10 == '\x02');" return (call_expression "(uint)((s->sy_value).field_0x10 == '\x02')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((s->sy_value).field_0x10 == '\x02')" ( (binary_expression "(s->sy_value).field_0x10 == '\x02'" (field_expression "(s->sy_value).field_0x10" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) == (char_literal "'\x02'" ' escape_sequence ')) ))) ;) })) (if_statement "if (s->bsym != *(asymbol **)PTR_reg_section_000b5da4) {\n    return 1;\n  }" if (parenthesized_expression "(s->bsym != *(asymbol **)PTR_reg_section_000b5da4)" ( (binary_expression "s->bsym != *(asymbol **)PTR_reg_section_000b5da4" (field_expression "s->bsym" identifier -> field_identifier) != (pointer_expression "*(asymbol **)PTR_reg_section_000b5da4" * (cast_expression "(asymbol **)PTR_reg_section_000b5da4" ( (type_descriptor "asymbol **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (return_statement "return (uint)((((s->sy_value).X_op_symbol)->sy_value).field_0x10 == '\x02');" return (call_expression "(uint)((((s->sy_value).X_op_symbol)->sy_value).field_0x10 == '\x02')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((((s->sy_value).X_op_symbol)->sy_value).field_0x10 == '\x02')" ( (binary_expression "(((s->sy_value).X_op_symbol)->sy_value).field_0x10 == '\x02'" (field_expression "(((s->sy_value).X_op_symbol)->sy_value).field_0x10" (parenthesized_expression "(((s->sy_value).X_op_symbol)->sy_value)" ( (field_expression "((s->sy_value).X_op_symbol)->sy_value" (parenthesized_expression "((s->sy_value).X_op_symbol)" ( (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) )) . field_identifier) == (char_literal "'\x02'" ' escape_sequence ')) ))) ;) })))
(translation_unit "bool symbol_constant_p(short *param_1)\n\n{\n  if (-1 < *param_1) {\n    return *(char *)(param_1 + 0xc) == '\x02';\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return true;\n  }\n  return *(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02';\n}\n\n" (function_definition "bool symbol_constant_p(short *param_1)\n\n{\n  if (-1 < *param_1) {\n    return *(char *)(param_1 + 0xc) == '\x02';\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return true;\n  }\n  return *(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02';\n}" primitive_type (function_declarator "symbol_constant_p(short *param_1)" identifier (parameter_list "(short *param_1)" ( (parameter_declaration "short *param_1" (sized_type_specifier "short" short) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (-1 < *param_1) {\n    return *(char *)(param_1 + 0xc) == '\x02';\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return true;\n  }\n  return *(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02';\n}" { (if_statement "if (-1 < *param_1) {\n    return *(char *)(param_1 + 0xc) == '\x02';\n  }" if (parenthesized_expression "(-1 < *param_1)" ( (binary_expression "-1 < *param_1" number_literal < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    return *(char *)(param_1 + 0xc) == '\x02';\n  }" { (return_statement "return *(char *)(param_1 + 0xc) == '\x02';" return (binary_expression "*(char *)(param_1 + 0xc) == '\x02'" (pointer_expression "*(char *)(param_1 + 0xc)" * (cast_expression "(char *)(param_1 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) ;) })) (if_statement "if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return true;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4)" ( (binary_expression "*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4" (pointer_expression "*(int *)(param_1 + 2)" * (cast_expression "(int *)(param_1 + 2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) != (pointer_expression "*(int *)PTR_reg_section_000b5da4" * (cast_expression "(int *)PTR_reg_section_000b5da4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return true;\n  }" { (return_statement "return true;" return true ;) })) (return_statement "return *(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02';" return (binary_expression "*(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02'" (pointer_expression "*(char *)(*(int *)(param_1 + 6) + 0x18)" * (cast_expression "(char *)(*(int *)(param_1 + 6) + 0x18)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 6) + 0x18)" ( (binary_expression "*(int *)(param_1 + 6) + 0x18" (pointer_expression "*(int *)(param_1 + 6)" * (cast_expression "(int *)(param_1 + 6)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 6)" ( (binary_expression "param_1 + 6" identifier + number_literal) )))) + number_literal) )))) == (char_literal "'\x02'" ' escape_sequence ')) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier short) (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (return_statement return (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return BOOL ;) })) (return_statement return (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) == (char_literal ' escape_sequence ')) ;) })))
(function_definition "bool symbol_constant_p(short *param_1)\n\n{\n  if (-1 < *param_1) {\n    return *(char *)(param_1 + 0xc) == '\x02';\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return true;\n  }\n  return *(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02';\n}" (primitive_type "bool") (function_declarator "symbol_constant_p(short *param_1)" (identifier "symbol_constant_p") (parameter_list "(short *param_1)" (( "(") (parameter_declaration "short *param_1" (sized_type_specifier "short" (short "short")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  if (-1 < *param_1) {\n    return *(char *)(param_1 + 0xc) == '\x02';\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return true;\n  }\n  return *(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02';\n}" ({ "{") (if_statement "if (-1 < *param_1) {\n    return *(char *)(param_1 + 0xc) == '\x02';\n  }" (if "if") (parenthesized_expression "(-1 < *param_1)" (( "(") (binary_expression "-1 < *param_1" (number_literal "-1") (< "<") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (compound_statement "{\n    return *(char *)(param_1 + 0xc) == '\x02';\n  }" ({ "{") (return_statement "return *(char *)(param_1 + 0xc) == '\x02';" (return "return") (binary_expression "*(char *)(param_1 + 0xc) == '\x02'" (pointer_expression "*(char *)(param_1 + 0xc)" (* "*") (cast_expression "(char *)(param_1 + 0xc)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return true;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4)" (( "(") (binary_expression "*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4" (pointer_expression "*(int *)(param_1 + 2)" (* "*") (cast_expression "(int *)(param_1 + 2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (!= "!=") (pointer_expression "*(int *)PTR_reg_section_000b5da4" (* "*") (cast_expression "(int *)PTR_reg_section_000b5da4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_reg_section_000b5da4")))) () ")")) (compound_statement "{\n    return true;\n  }" ({ "{") (return_statement "return true;" (return "return") (true "true") (; ";")) (} "}"))) (return_statement "return *(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02';" (return "return") (binary_expression "*(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02'" (pointer_expression "*(char *)(*(int *)(param_1 + 6) + 0x18)" (* "*") (cast_expression "(char *)(*(int *)(param_1 + 6) + 0x18)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 6) + 0x18)" (( "(") (binary_expression "*(int *)(param_1 + 6) + 0x18" (pointer_expression "*(int *)(param_1 + 6)" (* "*") (cast_expression "(int *)(param_1 + 6)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 6)" (( "(") (binary_expression "param_1 + 6" (identifier "param_1") (+ "+") (number_literal "6")) () ")")))) (+ "+") (number_literal "0x18")) () ")")))) (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) (; ";")) (} "}")))
(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))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (return_statement (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))))) (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: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (true)))) (return_statement (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (char_literal (escape_sequence)))))))

bool MASKED(short *param_1)

{
  if (-1 < *param_1) {
    return *(char *)(param_1 + 0xc) == '\x02';
  }
  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {
    return true;
  }
  return *(char *)(*(int *)(param_1 + 6) + 0x18) == '\x02';
}

