
int symbol_mri_common_p(symbolS *s)

{
  if (-1 < *(short *)&s->sy_flags) {
    return (uint)((int)s->sy_flags << 8) >> 0x1f;
  }
  if (s->bsym != *(asymbol **)PTR_reg_section_000b5da4) {
    return 0;
  }
  return (uint)((int)((s->sy_value).X_op_symbol)->sy_flags << 8) >> 0x1f;
}



uint symbol_mri_common_p(int *param_1)

{
  if (-1 < *(short *)param_1) {
    return (uint)(*param_1 << 8) >> 0x1f;
  }
  if (param_1[1] != *(int *)PTR_reg_section_000b5da4) {
    return 0;
  }
  return (uint)(*(int *)param_1[3] << 8) >> 0x1f;
}


lui gp,0x7
addiu gp,gp,-0x433c
addu gp,gp,t9
lh v0,0x0(a0)
bltz v0,0x00051fe0
_nop
lw v0,0x0(a0)
jr ra
_ext v0,v0,0x17,0x1
lw v0,-0x7edc(gp)
lw v1,0x4(a0)
lw v0,0x0(v0)
beq v1,v0,0x00051ffc
_nop
jr ra
_or v0,zero,zero
lw a0,0xc(a0)
lw v0,0x0(a0)
jr ra
_ext v0,v0,0x17,0x1
(translation_unit "uint symbol_mri_common_p(int *param_1)\n\n{\n  if (-1 < *(short *)param_1) {\n    return (uint)(*param_1 << 8) >> 0x1f;\n  }\n  if (param_1[1] != *(int *)PTR_reg_section_000b5da4) {\n    return 0;\n  }\n  return (uint)(*(int *)param_1[3] << 8) >> 0x1f;\n}\n\n" (function_definition "uint symbol_mri_common_p(int *param_1)\n\n{\n  if (-1 < *(short *)param_1) {\n    return (uint)(*param_1 << 8) >> 0x1f;\n  }\n  if (param_1[1] != *(int *)PTR_reg_section_000b5da4) {\n    return 0;\n  }\n  return (uint)(*(int *)param_1[3] << 8) >> 0x1f;\n}" type_identifier (function_declarator "symbol_mri_common_p(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (-1 < *(short *)param_1) {\n    return (uint)(*param_1 << 8) >> 0x1f;\n  }\n  if (param_1[1] != *(int *)PTR_reg_section_000b5da4) {\n    return 0;\n  }\n  return (uint)(*(int *)param_1[3] << 8) >> 0x1f;\n}" { (if_statement "if (-1 < *(short *)param_1) {\n    return (uint)(*param_1 << 8) >> 0x1f;\n  }" if (parenthesized_expression "(-1 < *(short *)param_1)" ( (binary_expression "-1 < *(short *)param_1" number_literal < (pointer_expression "*(short *)param_1" * (cast_expression "(short *)param_1" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return (uint)(*param_1 << 8) >> 0x1f;\n  }" { (return_statement "return (uint)(*param_1 << 8) >> 0x1f;" return (binary_expression "(uint)(*param_1 << 8) >> 0x1f" (call_expression "(uint)(*param_1 << 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*param_1 << 8)" ( (binary_expression "*param_1 << 8" (pointer_expression "*param_1" * identifier) << number_literal) ))) >> number_literal) ;) })) (if_statement "if (param_1[1] != *(int *)PTR_reg_section_000b5da4) {\n    return 0;\n  }" if (parenthesized_expression "(param_1[1] != *(int *)PTR_reg_section_000b5da4)" ( (binary_expression "param_1[1] != *(int *)PTR_reg_section_000b5da4" (subscript_expression "param_1[1]" 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 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return (uint)(*(int *)param_1[3] << 8) >> 0x1f;" return (binary_expression "(uint)(*(int *)param_1[3] << 8) >> 0x1f" (call_expression "(uint)(*(int *)param_1[3] << 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)param_1[3] << 8)" ( (binary_expression "*(int *)param_1[3] << 8" (pointer_expression "*(int *)param_1[3]" * (cast_expression "(int *)param_1[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) << number_literal) ))) >> number_literal) ;) })))
(translation_unit "int symbol_mri_common_p(symbolS *s)\n\n{\n  if (-1 < *(short *)&s->sy_flags) {\n    return (uint)((int)s->sy_flags << 8) >> 0x1f;\n  }\n  if (s->bsym != *(asymbol **)PTR_reg_section_000b5da4) {\n    return 0;\n  }\n  return (uint)((int)((s->sy_value).X_op_symbol)->sy_flags << 8) >> 0x1f;\n}\n\n" (function_definition "int symbol_mri_common_p(symbolS *s)\n\n{\n  if (-1 < *(short *)&s->sy_flags) {\n    return (uint)((int)s->sy_flags << 8) >> 0x1f;\n  }\n  if (s->bsym != *(asymbol **)PTR_reg_section_000b5da4) {\n    return 0;\n  }\n  return (uint)((int)((s->sy_value).X_op_symbol)->sy_flags << 8) >> 0x1f;\n}" primitive_type (function_declarator "symbol_mri_common_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)((int)s->sy_flags << 8) >> 0x1f;\n  }\n  if (s->bsym != *(asymbol **)PTR_reg_section_000b5da4) {\n    return 0;\n  }\n  return (uint)((int)((s->sy_value).X_op_symbol)->sy_flags << 8) >> 0x1f;\n}" { (if_statement "if (-1 < *(short *)&s->sy_flags) {\n    return (uint)((int)s->sy_flags << 8) >> 0x1f;\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)((int)s->sy_flags << 8) >> 0x1f;\n  }" { (return_statement "return (uint)((int)s->sy_flags << 8) >> 0x1f;" return (binary_expression "(uint)((int)s->sy_flags << 8) >> 0x1f" (call_expression "(uint)((int)s->sy_flags << 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)s->sy_flags << 8)" ( (binary_expression "(int)s->sy_flags << 8" (cast_expression "(int)s->sy_flags" ( (type_descriptor "int" primitive_type) ) (field_expression "s->sy_flags" identifier -> field_identifier)) << number_literal) ))) >> number_literal) ;) })) (if_statement "if (s->bsym != *(asymbol **)PTR_reg_section_000b5da4) {\n    return 0;\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 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return (uint)((int)((s->sy_value).X_op_symbol)->sy_flags << 8) >> 0x1f;" return (binary_expression "(uint)((int)((s->sy_value).X_op_symbol)->sy_flags << 8) >> 0x1f" (call_expression "(uint)((int)((s->sy_value).X_op_symbol)->sy_flags << 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)((s->sy_value).X_op_symbol)->sy_flags << 8)" ( (binary_expression "(int)((s->sy_value).X_op_symbol)->sy_flags << 8" (cast_expression "(int)((s->sy_value).X_op_symbol)->sy_flags" ( (type_descriptor "int" primitive_type) ) (field_expression "((s->sy_value).X_op_symbol)->sy_flags" (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)) << number_literal) ))) >> number_literal) ;) })))
(translation_unit "uint symbol_mri_common_p(int *param_1)\n\n{\n  if (-1 < *(short *)param_1) {\n    return (uint)(*param_1 << 8) >> 0x1f;\n  }\n  if (param_1[1] != *(int *)PTR_reg_section_000b5da4) {\n    return 0;\n  }\n  return (uint)(*(int *)param_1[3] << 8) >> 0x1f;\n}\n\n" (function_definition "uint symbol_mri_common_p(int *param_1)\n\n{\n  if (-1 < *(short *)param_1) {\n    return (uint)(*param_1 << 8) >> 0x1f;\n  }\n  if (param_1[1] != *(int *)PTR_reg_section_000b5da4) {\n    return 0;\n  }\n  return (uint)(*(int *)param_1[3] << 8) >> 0x1f;\n}" type_identifier (function_declarator "symbol_mri_common_p(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  if (-1 < *(short *)param_1) {\n    return (uint)(*param_1 << 8) >> 0x1f;\n  }\n  if (param_1[1] != *(int *)PTR_reg_section_000b5da4) {\n    return 0;\n  }\n  return (uint)(*(int *)param_1[3] << 8) >> 0x1f;\n}" { (if_statement "if (-1 < *(short *)param_1) {\n    return (uint)(*param_1 << 8) >> 0x1f;\n  }" if (parenthesized_expression "(-1 < *(short *)param_1)" ( (binary_expression "-1 < *(short *)param_1" number_literal < (pointer_expression "*(short *)param_1" * (cast_expression "(short *)param_1" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return (uint)(*param_1 << 8) >> 0x1f;\n  }" { (return_statement "return (uint)(*param_1 << 8) >> 0x1f;" return (binary_expression "(uint)(*param_1 << 8) >> 0x1f" (call_expression "(uint)(*param_1 << 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*param_1 << 8)" ( (binary_expression "*param_1 << 8" (pointer_expression "*param_1" * identifier) << number_literal) ))) >> number_literal) ;) })) (if_statement "if (param_1[1] != *(int *)PTR_reg_section_000b5da4) {\n    return 0;\n  }" if (parenthesized_expression "(param_1[1] != *(int *)PTR_reg_section_000b5da4)" ( (binary_expression "param_1[1] != *(int *)PTR_reg_section_000b5da4" (subscript_expression "param_1[1]" 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 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (return_statement "return (uint)(*(int *)param_1[3] << 8) >> 0x1f;" return (binary_expression "(uint)(*(int *)param_1[3] << 8) >> 0x1f" (call_expression "(uint)(*(int *)param_1[3] << 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)param_1[3] << 8)" ( (binary_expression "*(int *)param_1[3] << 8" (pointer_expression "*(int *)param_1[3]" * (cast_expression "(int *)param_1[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) << number_literal) ))) >> number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * IDENT) << LIT) ))) >> LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return LIT ;) })) (return_statement return (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) << LIT) ))) >> LIT) ;) })))
(function_definition "uint symbol_mri_common_p(int *param_1)\n\n{\n  if (-1 < *(short *)param_1) {\n    return (uint)(*param_1 << 8) >> 0x1f;\n  }\n  if (param_1[1] != *(int *)PTR_reg_section_000b5da4) {\n    return 0;\n  }\n  return (uint)(*(int *)param_1[3] << 8) >> 0x1f;\n}" (type_identifier "uint") (function_declarator "symbol_mri_common_p(int *param_1)" (identifier "symbol_mri_common_p") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  if (-1 < *(short *)param_1) {\n    return (uint)(*param_1 << 8) >> 0x1f;\n  }\n  if (param_1[1] != *(int *)PTR_reg_section_000b5da4) {\n    return 0;\n  }\n  return (uint)(*(int *)param_1[3] << 8) >> 0x1f;\n}" ({ "{") (if_statement "if (-1 < *(short *)param_1) {\n    return (uint)(*param_1 << 8) >> 0x1f;\n  }" (if "if") (parenthesized_expression "(-1 < *(short *)param_1)" (( "(") (binary_expression "-1 < *(short *)param_1" (number_literal "-1") (< "<") (pointer_expression "*(short *)param_1" (* "*") (cast_expression "(short *)param_1" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")))) () ")")) (compound_statement "{\n    return (uint)(*param_1 << 8) >> 0x1f;\n  }" ({ "{") (return_statement "return (uint)(*param_1 << 8) >> 0x1f;" (return "return") (binary_expression "(uint)(*param_1 << 8) >> 0x1f" (call_expression "(uint)(*param_1 << 8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*param_1 << 8)" (( "(") (binary_expression "*param_1 << 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (<< "<<") (number_literal "8")) () ")"))) (>> ">>") (number_literal "0x1f")) (; ";")) (} "}"))) (if_statement "if (param_1[1] != *(int *)PTR_reg_section_000b5da4) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_1[1] != *(int *)PTR_reg_section_000b5da4)" (( "(") (binary_expression "param_1[1] != *(int *)PTR_reg_section_000b5da4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (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 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (return_statement "return (uint)(*(int *)param_1[3] << 8) >> 0x1f;" (return "return") (binary_expression "(uint)(*(int *)param_1[3] << 8) >> 0x1f" (call_expression "(uint)(*(int *)param_1[3] << 8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)param_1[3] << 8)" (( "(") (binary_expression "*(int *)param_1[3] << 8" (pointer_expression "*(int *)param_1[3]" (* "*") (cast_expression "(int *)param_1[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (<< "<<") (number_literal "8")) () ")"))) (>> ">>") (number_literal "0x1f")) (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (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 (number_literal)))) (return_statement (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (number_literal)))) right: (number_literal))))))

uint MASKED(int *param_1)

{
  if (-1 < *(short *)param_1) {
    return (uint)(*param_1 << 8) >> 0x1f;
  }
  if (param_1[1] != *(int *)PTR_reg_section_000b5da4) {
    return 0;
  }
  return (uint)(*(int *)param_1[3] << 8) >> 0x1f;
}

