
int symbol_shadow_p(symbolS *s)

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



bool FUN_00052380(short *param_1)

{
  if (-1 < *param_1) {
    return param_1 == *(short **)(param_1 + 0x10);
  }
  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {
    return false;
  }
  return *(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20);
}


lui gp,0x7
addiu gp,gp,-0x4700
addu gp,gp,t9
lh v0,0x0(a0)
bltz v0,0x000523a8
_nop
lw v0,0x20(a0)
xor a0,a0,v0
jr ra
_sltiu v0,a0,0x1
lw v0,-0x7edc(gp)
lw v1,0x4(a0)
lw v0,0x0(v0)
beq v1,v0,0x000523c4
_nop
jr ra
_or v0,zero,zero
lw a0,0xc(a0)
lw v0,0x20(a0)
xor a0,a0,v0
jr ra
_sltiu v0,a0,0x1
(translation_unit "bool FUN_00052380(short *param_1)\n\n{\n  if (-1 < *param_1) {\n    return param_1 == *(short **)(param_1 + 0x10);\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return false;\n  }\n  return *(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20);\n}\n\n" (function_definition "bool FUN_00052380(short *param_1)\n\n{\n  if (-1 < *param_1) {\n    return param_1 == *(short **)(param_1 + 0x10);\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return false;\n  }\n  return *(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20);\n}" primitive_type (function_declarator "FUN_00052380(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 param_1 == *(short **)(param_1 + 0x10);\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return false;\n  }\n  return *(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20);\n}" { (if_statement "if (-1 < *param_1) {\n    return param_1 == *(short **)(param_1 + 0x10);\n  }" if (parenthesized_expression "(-1 < *param_1)" ( (binary_expression "-1 < *param_1" number_literal < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    return param_1 == *(short **)(param_1 + 0x10);\n  }" { (return_statement "return param_1 == *(short **)(param_1 + 0x10);" return (binary_expression "param_1 == *(short **)(param_1 + 0x10)" identifier == (pointer_expression "*(short **)(param_1 + 0x10)" * (cast_expression "(short **)(param_1 + 0x10)" ( (type_descriptor "short **" (sized_type_specifier "short" short) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return false;\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 false;\n  }" { (return_statement "return false;" return false ;) })) (return_statement "return *(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20);" return (binary_expression "*(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20)" (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) )))) == (pointer_expression "*(int *)(*(int *)(param_1 + 6) + 0x20)" * (cast_expression "(int *)(*(int *)(param_1 + 6) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 6) + 0x20)" ( (binary_expression "*(int *)(param_1 + 6) + 0x20" (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) ))))) ;) })))
(translation_unit "int symbol_shadow_p(symbolS *s)\n\n{\n  symbolS *psVar1;\n  \n  if (-1 < *(short *)&s->sy_flags) {\n    return (uint)(s == s->sy_next);\n  }\n  if (s->bsym != *(asymbol **)PTR_reg_section_000b5da4) {\n    return 0;\n  }\n  psVar1 = (s->sy_value).X_op_symbol;\n  return (uint)(psVar1 == psVar1->sy_next);\n}\n\n" (function_definition "int symbol_shadow_p(symbolS *s)\n\n{\n  symbolS *psVar1;\n  \n  if (-1 < *(short *)&s->sy_flags) {\n    return (uint)(s == s->sy_next);\n  }\n  if (s->bsym != *(asymbol **)PTR_reg_section_000b5da4) {\n    return 0;\n  }\n  psVar1 = (s->sy_value).X_op_symbol;\n  return (uint)(psVar1 == psVar1->sy_next);\n}" primitive_type (function_declarator "symbol_shadow_p(symbolS *s)" identifier (parameter_list "(symbolS *s)" ( (parameter_declaration "symbolS *s" type_identifier (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  symbolS *psVar1;\n  \n  if (-1 < *(short *)&s->sy_flags) {\n    return (uint)(s == s->sy_next);\n  }\n  if (s->bsym != *(asymbol **)PTR_reg_section_000b5da4) {\n    return 0;\n  }\n  psVar1 = (s->sy_value).X_op_symbol;\n  return (uint)(psVar1 == psVar1->sy_next);\n}" { (declaration "symbolS *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (if_statement "if (-1 < *(short *)&s->sy_flags) {\n    return (uint)(s == s->sy_next);\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 == s->sy_next);\n  }" { (return_statement "return (uint)(s == s->sy_next);" return (call_expression "(uint)(s == s->sy_next)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(s == s->sy_next)" ( (binary_expression "s == s->sy_next" identifier == (field_expression "s->sy_next" identifier -> field_identifier)) ))) ;) })) (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 ;) })) (expression_statement "psVar1 = (s->sy_value).X_op_symbol;" (assignment_expression "psVar1 = (s->sy_value).X_op_symbol" identifier = (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier)) ;) (return_statement "return (uint)(psVar1 == psVar1->sy_next);" return (call_expression "(uint)(psVar1 == psVar1->sy_next)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(psVar1 == psVar1->sy_next)" ( (binary_expression "psVar1 == psVar1->sy_next" identifier == (field_expression "psVar1->sy_next" identifier -> field_identifier)) ))) ;) })))
(translation_unit "bool FUN_00052380(short *param_1)\n\n{\n  if (-1 < *param_1) {\n    return param_1 == *(short **)(param_1 + 0x10);\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return false;\n  }\n  return *(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20);\n}\n\n" (function_definition "bool FUN_00052380(short *param_1)\n\n{\n  if (-1 < *param_1) {\n    return param_1 == *(short **)(param_1 + 0x10);\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return false;\n  }\n  return *(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20);\n}" primitive_type (function_declarator "FUN_00052380(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 param_1 == *(short **)(param_1 + 0x10);\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return false;\n  }\n  return *(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20);\n}" { (if_statement "if (-1 < *param_1) {\n    return param_1 == *(short **)(param_1 + 0x10);\n  }" if (parenthesized_expression "(-1 < *param_1)" ( (binary_expression "-1 < *param_1" number_literal < (pointer_expression "*param_1" * identifier)) )) (compound_statement "{\n    return param_1 == *(short **)(param_1 + 0x10);\n  }" { (return_statement "return param_1 == *(short **)(param_1 + 0x10);" return (binary_expression "param_1 == *(short **)(param_1 + 0x10)" identifier == (pointer_expression "*(short **)(param_1 + 0x10)" * (cast_expression "(short **)(param_1 + 0x10)" ( (type_descriptor "short **" (sized_type_specifier "short" short) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) })) (if_statement "if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return false;\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 false;\n  }" { (return_statement "return false;" return false ;) })) (return_statement "return *(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20);" return (binary_expression "*(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20)" (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) )))) == (pointer_expression "*(int *)(*(int *)(param_1 + 6) + 0x20)" * (cast_expression "(int *)(*(int *)(param_1 + 6) + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 6) + 0x20)" ( (binary_expression "*(int *)(param_1 + 6) + 0x20" (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) ))))) ;) })))
(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 IDENT == (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression 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 IDENT + LIT) )))) == (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) ))))) ;) })))
(function_definition "bool FUN_00052380(short *param_1)\n\n{\n  if (-1 < *param_1) {\n    return param_1 == *(short **)(param_1 + 0x10);\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return false;\n  }\n  return *(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20);\n}" (primitive_type "bool") (function_declarator "FUN_00052380(short *param_1)" (identifier "FUN_00052380") (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 param_1 == *(short **)(param_1 + 0x10);\n  }\n  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return false;\n  }\n  return *(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20);\n}" ({ "{") (if_statement "if (-1 < *param_1) {\n    return param_1 == *(short **)(param_1 + 0x10);\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 param_1 == *(short **)(param_1 + 0x10);\n  }" ({ "{") (return_statement "return param_1 == *(short **)(param_1 + 0x10);" (return "return") (binary_expression "param_1 == *(short **)(param_1 + 0x10)" (identifier "param_1") (== "==") (pointer_expression "*(short **)(param_1 + 0x10)" (* "*") (cast_expression "(short **)(param_1 + 0x10)" (( "(") (type_descriptor "short **" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {\n    return false;\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 false;\n  }" ({ "{") (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}"))) (return_statement "return *(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20);" (return "return") (binary_expression "*(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20)" (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")) () ")")))) (== "==") (pointer_expression "*(int *)(*(int *)(param_1 + 6) + 0x20)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 6) + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 6) + 0x20)" (( "(") (binary_expression "*(int *)(param_1 + 6) + 0x20" (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 "0x20")) () ")"))))) (; ";")) (} "}")))

int function_1(type_1 *var_1)

{
  type_1 *var_2;
  
  if (-1 < *(short *)&var_1->sy_flags) {
    return (uint)(var_1 == var_1->sy_next);
  }
  if (var_1->bsym != *(type_2 **)PTR_reg_section_000b5da4) {
    return 0;
  }
  var_2 = (var_1->sy_value).X_op_symbol;
  return (uint)(var_2 == var_2->sy_next);
}


(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: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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 (false)))) (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: (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))))))))))

bool MASKED(short *param_1)

{
  if (-1 < *param_1) {
    return param_1 == *(short **)(param_1 + 0x10);
  }
  if (*(int *)(param_1 + 2) != *(int *)PTR_reg_section_000b5da4) {
    return false;
  }
  return *(int *)(param_1 + 6) == *(int *)(*(int *)(param_1 + 6) + 0x20);
}

