
void serial_unthrottle(void *handle,int backlog)

{
  Serial serial;
  
  *(int *)((int)handle + 0xc) = backlog;
  serial_uxsel_setup((Serial)handle);
  return;
}



void FUN_000826ec(int param_1,undefined4 param_2)

{
  *(undefined4 *)(param_1 + 0xc) = param_2;
  FUN_00082680();
  return;
}


lui gp,0x3
addiu gp,gp,0x2ba4
addu gp,gp,t9
lw t9,-0x7f98(gp)
addiu t9,t9,0x2680
b 0x00082680
_sw a1,0xc(a0)
(translation_unit "void FUN_000826ec(int param_1,undefined4 param_2)\n\n{\n  *(undefined4 *)(param_1 + 0xc) = param_2;\n  FUN_00082680();\n  return;\n}\n\n" (function_definition "void FUN_000826ec(int param_1,undefined4 param_2)\n\n{\n  *(undefined4 *)(param_1 + 0xc) = param_2;\n  FUN_00082680();\n  return;\n}" primitive_type (function_declarator "FUN_000826ec(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  *(undefined4 *)(param_1 + 0xc) = param_2;\n  FUN_00082680();\n  return;\n}" { (expression_statement "*(undefined4 *)(param_1 + 0xc) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_00082680();" (call_expression "FUN_00082680()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void serial_unthrottle(void *handle,int backlog)\n\n{\n  Serial serial;\n  \n  *(int *)((int)handle + 0xc) = backlog;\n  serial_uxsel_setup((Serial)handle);\n  return;\n}\n\n" (function_definition "void serial_unthrottle(void *handle,int backlog)\n\n{\n  Serial serial;\n  \n  *(int *)((int)handle + 0xc) = backlog;\n  serial_uxsel_setup((Serial)handle);\n  return;\n}" primitive_type (function_declarator "serial_unthrottle(void *handle,int backlog)" identifier (parameter_list "(void *handle,int backlog)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "int backlog" primitive_type identifier) ))) (compound_statement "{\n  Serial serial;\n  \n  *(int *)((int)handle + 0xc) = backlog;\n  serial_uxsel_setup((Serial)handle);\n  return;\n}" { (declaration "Serial serial;" type_identifier identifier ;) (expression_statement "*(int *)((int)handle + 0xc) = backlog;" (assignment_expression "*(int *)((int)handle + 0xc) = backlog" (pointer_expression "*(int *)((int)handle + 0xc)" * (cast_expression "(int *)((int)handle + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0xc)" ( (binary_expression "(int)handle + 0xc" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "serial_uxsel_setup((Serial)handle);" (call_expression "serial_uxsel_setup((Serial)handle)" identifier (argument_list "((Serial)handle)" ( (cast_expression "(Serial)handle" ( (type_descriptor "Serial" type_identifier) ) identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000826ec(int param_1,undefined4 param_2)\n\n{\n  *(undefined4 *)(param_1 + 0xc) = param_2;\n  FUN_00082680();\n  return;\n}\n\n" (function_definition "void FUN_000826ec(int param_1,undefined4 param_2)\n\n{\n  *(undefined4 *)(param_1 + 0xc) = param_2;\n  FUN_00082680();\n  return;\n}" primitive_type (function_declarator "FUN_000826ec(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  *(undefined4 *)(param_1 + 0xc) = param_2;\n  FUN_00082680();\n  return;\n}" { (expression_statement "*(undefined4 *)(param_1 + 0xc) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_00082680();" (call_expression "FUN_00082680()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_000826ec(int param_1,undefined4 param_2)\n\n{\n  *(undefined4 *)(param_1 + 0xc) = param_2;\n  FUN_00082680();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000826ec(int param_1,undefined4 param_2)" (identifier "FUN_000826ec") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  *(undefined4 *)(param_1 + 0xc) = param_2;\n  FUN_00082680();\n  return;\n}" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 0xc) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0xc) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "FUN_00082680();" (call_expression "FUN_00082680()" (identifier "FUN_00082680") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(void *handle,int backlog)

{
  type_1 serial;
  
  *(int *)((int)handle + 0xc) = backlog;
  var_1((type_1)handle);
  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: (type_identifier) declarator: (identifier)))) body: (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: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))))

void MASKED(int param_1,undefined4 param_2)

{
  *(undefined4 *)(param_1 + 0xc) = param_2;
  FUN_00082680();
  return;
}

