
/* WARNING: Unknown calling convention */

void png_set_benign_errors(png_structrp png_ptr,int allowed)

{
  if (allowed != 0) {
    png_ptr->flags = png_ptr->flags | 0x700000;
    return;
  }
  png_ptr->flags = png_ptr->flags & 0xff8fffff;
  return;
}



void png_set_benign_errors(int param_1,int param_2)

{
  if (param_2 != 0) {
    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;
    return;
  }
  *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff;
  return;
}


beq a1,zero,0x00034478
_lw v0,0x128(a0)
lui v1,0x70
or v0,v0,v1
jr ra
_sw v0,0x128(a0)
lui v1,0xff8f
ori v1,v1,0xffff
and v0,v0,v1
jr ra
_sw v0,0x128(a0)
(translation_unit "void png_set_benign_errors(int param_1,int param_2)\n\n{\n  if (param_2 != 0) {\n    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;\n    return;\n  }\n  *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff;\n  return;\n}\n\n" (function_definition "void png_set_benign_errors(int param_1,int param_2)\n\n{\n  if (param_2 != 0) {\n    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;\n    return;\n  }\n  *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff;\n  return;\n}" primitive_type (function_declarator "png_set_benign_errors(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (param_2 != 0) {\n    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;\n    return;\n  }\n  *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff;\n  return;\n}" { (if_statement "if (param_2 != 0) {\n    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;\n    return;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;\n    return;\n  }" { (expression_statement "*(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;" (assignment_expression "*(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000" (pointer_expression "*(uint *)(param_1 + 0x128)" * (cast_expression "(uint *)(param_1 + 0x128)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x128) | 0x700000" (pointer_expression "*(uint *)(param_1 + 0x128)" * (cast_expression "(uint *)(param_1 + 0x128)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) | number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "*(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff;" (assignment_expression "*(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff" (pointer_expression "*(uint *)(param_1 + 0x128)" * (cast_expression "(uint *)(param_1 + 0x128)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x128) & 0xff8fffff" (pointer_expression "*(uint *)(param_1 + 0x128)" * (cast_expression "(uint *)(param_1 + 0x128)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) & number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid png_set_benign_errors(png_structrp png_ptr,int allowed)\n\n{\n  if (allowed != 0) {\n    png_ptr->flags = png_ptr->flags | 0x700000;\n    return;\n  }\n  png_ptr->flags = png_ptr->flags & 0xff8fffff;\n  return;\n}\n\n" comment (function_definition "void png_set_benign_errors(png_structrp png_ptr,int allowed)\n\n{\n  if (allowed != 0) {\n    png_ptr->flags = png_ptr->flags | 0x700000;\n    return;\n  }\n  png_ptr->flags = png_ptr->flags & 0xff8fffff;\n  return;\n}" primitive_type (function_declarator "png_set_benign_errors(png_structrp png_ptr,int allowed)" identifier (parameter_list "(png_structrp png_ptr,int allowed)" ( (parameter_declaration "png_structrp png_ptr" type_identifier identifier) , (parameter_declaration "int allowed" primitive_type identifier) ))) (compound_statement "{\n  if (allowed != 0) {\n    png_ptr->flags = png_ptr->flags | 0x700000;\n    return;\n  }\n  png_ptr->flags = png_ptr->flags & 0xff8fffff;\n  return;\n}" { (if_statement "if (allowed != 0) {\n    png_ptr->flags = png_ptr->flags | 0x700000;\n    return;\n  }" if (parenthesized_expression "(allowed != 0)" ( (binary_expression "allowed != 0" identifier != number_literal) )) (compound_statement "{\n    png_ptr->flags = png_ptr->flags | 0x700000;\n    return;\n  }" { (expression_statement "png_ptr->flags = png_ptr->flags | 0x700000;" (assignment_expression "png_ptr->flags = png_ptr->flags | 0x700000" (field_expression "png_ptr->flags" identifier -> field_identifier) = (binary_expression "png_ptr->flags | 0x700000" (field_expression "png_ptr->flags" identifier -> field_identifier) | number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "png_ptr->flags = png_ptr->flags & 0xff8fffff;" (assignment_expression "png_ptr->flags = png_ptr->flags & 0xff8fffff" (field_expression "png_ptr->flags" identifier -> field_identifier) = (binary_expression "png_ptr->flags & 0xff8fffff" (field_expression "png_ptr->flags" identifier -> field_identifier) & number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void png_set_benign_errors(int param_1,int param_2)\n\n{\n  if (param_2 != 0) {\n    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;\n    return;\n  }\n  *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff;\n  return;\n}\n\n" (function_definition "void png_set_benign_errors(int param_1,int param_2)\n\n{\n  if (param_2 != 0) {\n    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;\n    return;\n  }\n  *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff;\n  return;\n}" primitive_type (function_declarator "png_set_benign_errors(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (param_2 != 0) {\n    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;\n    return;\n  }\n  *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff;\n  return;\n}" { (if_statement "if (param_2 != 0) {\n    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;\n    return;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;\n    return;\n  }" { (expression_statement "*(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;" (assignment_expression "*(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000" (pointer_expression "*(uint *)(param_1 + 0x128)" * (cast_expression "(uint *)(param_1 + 0x128)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x128) | 0x700000" (pointer_expression "*(uint *)(param_1 + 0x128)" * (cast_expression "(uint *)(param_1 + 0x128)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) | number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "*(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff;" (assignment_expression "*(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff" (pointer_expression "*(uint *)(param_1 + 0x128)" * (cast_expression "(uint *)(param_1 + 0x128)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x128) & 0xff8fffff" (pointer_expression "*(uint *)(param_1 + 0x128)" * (cast_expression "(uint *)(param_1 + 0x128)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) & number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT)) ;) (return_statement return ;) })))
(function_definition "void png_set_benign_errors(int param_1,int param_2)\n\n{\n  if (param_2 != 0) {\n    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;\n    return;\n  }\n  *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff;\n  return;\n}" (primitive_type "void") (function_declarator "png_set_benign_errors(int param_1,int param_2)" (identifier "png_set_benign_errors") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (param_2 != 0) {\n    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;\n    return;\n  }\n  *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff;\n  return;\n}" ({ "{") (if_statement "if (param_2 != 0) {\n    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;\n    return;\n  }" ({ "{") (expression_statement "*(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;" (assignment_expression "*(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000" (pointer_expression "*(uint *)(param_1 + 0x128)" (* "*") (cast_expression "(uint *)(param_1 + 0x128)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x128)" (( "(") (binary_expression "param_1 + 0x128" (identifier "param_1") (+ "+") (number_literal "0x128")) () ")")))) (= "=") (binary_expression "*(uint *)(param_1 + 0x128) | 0x700000" (pointer_expression "*(uint *)(param_1 + 0x128)" (* "*") (cast_expression "(uint *)(param_1 + 0x128)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x128)" (( "(") (binary_expression "param_1 + 0x128" (identifier "param_1") (+ "+") (number_literal "0x128")) () ")")))) (| "|") (number_literal "0x700000"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "*(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff;" (assignment_expression "*(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff" (pointer_expression "*(uint *)(param_1 + 0x128)" (* "*") (cast_expression "(uint *)(param_1 + 0x128)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x128)" (( "(") (binary_expression "param_1 + 0x128" (identifier "param_1") (+ "+") (number_literal "0x128")) () ")")))) (= "=") (binary_expression "*(uint *)(param_1 + 0x128) & 0xff8fffff" (pointer_expression "*(uint *)(param_1 + 0x128)" (* "*") (cast_expression "(uint *)(param_1 + 0x128)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x128)" (( "(") (binary_expression "param_1 + 0x128" (identifier "param_1") (+ "+") (number_literal "0x128")) () ")")))) (& "&") (number_literal "0xff8fffff"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (return_statement))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (return_statement))))

void MASKED(int param_1,int param_2)

{
  if (param_2 != 0) {
    *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) | 0x700000;
    return;
  }
  *(uint *)(param_1 + 0x128) = *(uint *)(param_1 + 0x128) & 0xff8fffff;
  return;
}

