
/* WARNING: Unknown calling convention */

void i_ring_init(I_ring *ir,int default_val)

{
  ir->ir_front = 0;
  ir->ir_back = 0;
  ir->ir_empty = true;
  ir->ir_data[0] = default_val;
  ir->ir_data[1] = default_val;
  ir->ir_data[2] = default_val;
  ir->ir_data[3] = default_val;
  ir->ir_default_val = default_val;
  return;
}



void i_ring_init(undefined4 *param_1,undefined4 param_2)

{
  param_1[5] = 0;
  param_1[6] = 0;
  *(undefined1 *)(param_1 + 7) = 1;
  *param_1 = param_2;
  param_1[1] = param_2;
  param_1[2] = param_2;
  param_1[3] = param_2;
  param_1[4] = param_2;
  return;
}


li v0,0x1
sw zero,0x14(a0)
sw zero,0x18(a0)
sb v0,0x1c(a0)
sw a1,0x0(a0)
sw a1,0x4(a0)
sw a1,0x8(a0)
sw a1,0xc(a0)
jr ra
_sw a1,0x10(a0)
(translation_unit "void i_ring_init(undefined4 *param_1,undefined4 param_2)\n\n{\n  param_1[5] = 0;\n  param_1[6] = 0;\n  *(undefined1 *)(param_1 + 7) = 1;\n  *param_1 = param_2;\n  param_1[1] = param_2;\n  param_1[2] = param_2;\n  param_1[3] = param_2;\n  param_1[4] = param_2;\n  return;\n}\n\n" (function_definition "void i_ring_init(undefined4 *param_1,undefined4 param_2)\n\n{\n  param_1[5] = 0;\n  param_1[6] = 0;\n  *(undefined1 *)(param_1 + 7) = 1;\n  *param_1 = param_2;\n  param_1[1] = param_2;\n  param_1[2] = param_2;\n  param_1[3] = param_2;\n  param_1[4] = param_2;\n  return;\n}" primitive_type (function_declarator "i_ring_init(undefined4 *param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  param_1[5] = 0;\n  param_1[6] = 0;\n  *(undefined1 *)(param_1 + 7) = 1;\n  *param_1 = param_2;\n  param_1[1] = param_2;\n  param_1[2] = param_2;\n  param_1[3] = param_2;\n  param_1[4] = param_2;\n  return;\n}" { (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 7) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 7) = 1" (pointer_expression "*(undefined1 *)(param_1 + 7)" * (cast_expression "(undefined1 *)(param_1 + 7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = param_2;" (assignment_expression "param_1[2] = param_2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = param_2;" (assignment_expression "param_1[3] = param_2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[4] = param_2;" (assignment_expression "param_1[4] = param_2" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid i_ring_init(I_ring *ir,int default_val)\n\n{\n  ir->ir_front = 0;\n  ir->ir_back = 0;\n  ir->ir_empty = true;\n  ir->ir_data[0] = default_val;\n  ir->ir_data[1] = default_val;\n  ir->ir_data[2] = default_val;\n  ir->ir_data[3] = default_val;\n  ir->ir_default_val = default_val;\n  return;\n}\n\n" comment (function_definition "void i_ring_init(I_ring *ir,int default_val)\n\n{\n  ir->ir_front = 0;\n  ir->ir_back = 0;\n  ir->ir_empty = true;\n  ir->ir_data[0] = default_val;\n  ir->ir_data[1] = default_val;\n  ir->ir_data[2] = default_val;\n  ir->ir_data[3] = default_val;\n  ir->ir_default_val = default_val;\n  return;\n}" primitive_type (function_declarator "i_ring_init(I_ring *ir,int default_val)" identifier (parameter_list "(I_ring *ir,int default_val)" ( (parameter_declaration "I_ring *ir" type_identifier (pointer_declarator "*ir" * identifier)) , (parameter_declaration "int default_val" primitive_type identifier) ))) (compound_statement "{\n  ir->ir_front = 0;\n  ir->ir_back = 0;\n  ir->ir_empty = true;\n  ir->ir_data[0] = default_val;\n  ir->ir_data[1] = default_val;\n  ir->ir_data[2] = default_val;\n  ir->ir_data[3] = default_val;\n  ir->ir_default_val = default_val;\n  return;\n}" { (expression_statement "ir->ir_front = 0;" (assignment_expression "ir->ir_front = 0" (field_expression "ir->ir_front" identifier -> field_identifier) = number_literal) ;) (expression_statement "ir->ir_back = 0;" (assignment_expression "ir->ir_back = 0" (field_expression "ir->ir_back" identifier -> field_identifier) = number_literal) ;) (expression_statement "ir->ir_empty = true;" (assignment_expression "ir->ir_empty = true" (field_expression "ir->ir_empty" identifier -> field_identifier) = true) ;) (expression_statement "ir->ir_data[0] = default_val;" (assignment_expression "ir->ir_data[0] = default_val" (subscript_expression "ir->ir_data[0]" (field_expression "ir->ir_data" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "ir->ir_data[1] = default_val;" (assignment_expression "ir->ir_data[1] = default_val" (subscript_expression "ir->ir_data[1]" (field_expression "ir->ir_data" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "ir->ir_data[2] = default_val;" (assignment_expression "ir->ir_data[2] = default_val" (subscript_expression "ir->ir_data[2]" (field_expression "ir->ir_data" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "ir->ir_data[3] = default_val;" (assignment_expression "ir->ir_data[3] = default_val" (subscript_expression "ir->ir_data[3]" (field_expression "ir->ir_data" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "ir->ir_default_val = default_val;" (assignment_expression "ir->ir_default_val = default_val" (field_expression "ir->ir_default_val" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void i_ring_init(undefined4 *param_1,undefined4 param_2)\n\n{\n  param_1[5] = 0;\n  param_1[6] = 0;\n  *(undefined1 *)(param_1 + 7) = 1;\n  *param_1 = param_2;\n  param_1[1] = param_2;\n  param_1[2] = param_2;\n  param_1[3] = param_2;\n  param_1[4] = param_2;\n  return;\n}\n\n" (function_definition "void i_ring_init(undefined4 *param_1,undefined4 param_2)\n\n{\n  param_1[5] = 0;\n  param_1[6] = 0;\n  *(undefined1 *)(param_1 + 7) = 1;\n  *param_1 = param_2;\n  param_1[1] = param_2;\n  param_1[2] = param_2;\n  param_1[3] = param_2;\n  param_1[4] = param_2;\n  return;\n}" primitive_type (function_declarator "i_ring_init(undefined4 *param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  param_1[5] = 0;\n  param_1[6] = 0;\n  *(undefined1 *)(param_1 + 7) = 1;\n  *param_1 = param_2;\n  param_1[1] = param_2;\n  param_1[2] = param_2;\n  param_1[3] = param_2;\n  param_1[4] = param_2;\n  return;\n}" { (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 7) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 7) = 1" (pointer_expression "*(undefined1 *)(param_1 + 7)" * (cast_expression "(undefined1 *)(param_1 + 7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = param_2;" (assignment_expression "param_1[2] = param_2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = param_2;" (assignment_expression "param_1[3] = param_2" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[4] = param_2;" (assignment_expression "param_1[4] = param_2" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void i_ring_init(undefined4 *param_1,undefined4 param_2)\n\n{\n  param_1[5] = 0;\n  param_1[6] = 0;\n  *(undefined1 *)(param_1 + 7) = 1;\n  *param_1 = param_2;\n  param_1[1] = param_2;\n  param_1[2] = param_2;\n  param_1[3] = param_2;\n  param_1[4] = param_2;\n  return;\n}" (primitive_type "void") (function_declarator "i_ring_init(undefined4 *param_1,undefined4 param_2)" (identifier "i_ring_init") (parameter_list "(undefined4 *param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  param_1[5] = 0;\n  param_1[6] = 0;\n  *(undefined1 *)(param_1 + 7) = 1;\n  *param_1 = param_2;\n  param_1[1] = param_2;\n  param_1[2] = param_2;\n  param_1[3] = param_2;\n  param_1[4] = param_2;\n  return;\n}" ({ "{") (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 7) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 7) = 1" (pointer_expression "*(undefined1 *)(param_1 + 7)" (* "*") (cast_expression "(undefined1 *)(param_1 + 7)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*param_1 = param_2;" (assignment_expression "*param_1 = param_2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_1[2] = param_2;" (assignment_expression "param_1[2] = param_2" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_1[3] = param_2;" (assignment_expression "param_1[3] = param_2" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_1[4] = param_2;" (assignment_expression "param_1[4] = param_2" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *ir,int default_val)

{
  ir->ir_front = 0;
  ir->ir_back = 0;
  ir->ir_empty = true;
  ir->ir_data[0] = default_val;
  ir->ir_data[1] = default_val;
  ir->ir_data[2] = default_val;
  ir->ir_data[3] = default_val;
  ir->ir_default_val = default_val;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (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: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))

void MASKED(undefined4 *param_1,undefined4 param_2)

{
  param_1[5] = 0;
  param_1[6] = 0;
  *(undefined1 *)(param_1 + 7) = 1;
  *param_1 = param_2;
  param_1[1] = param_2;
  param_1[2] = param_2;
  param_1[3] = param_2;
  param_1[4] = param_2;
  return;
}

