
ulonglong bb_makedev(uint major,uint minor)

{
  return CONCAT44(major & 0xfffff000 | minor >> 0x14,
                  (minor & 0xfff00) << 0xc | minor & 0xff | (major & 0xfff) << 8);
}



undefined8 FUN_000f29ec(uint param_1,uint param_2)

{
  return CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,
                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8);
}


sll a2,a1,0xc
lui v1,0xfff0
sll v0,a0,0x8
and a2,a2,v1
andi v1,a1,0xff
or a2,a2,v1
lui v1,0xf
srl a1,a1,0x14
ori v1,v1,0xff00
and v1,v0,v1
li v0,-0x1000
or v1,a2,v1
and v0,a0,v0
jr ra
_or v0,v0,a1
(translation_unit "undefined8 FUN_000f29ec(uint param_1,uint param_2)\n\n{\n  return CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8);\n}\n\n" (function_definition "undefined8 FUN_000f29ec(uint param_1,uint param_2)\n\n{\n  return CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8);\n}" type_identifier (function_declarator "FUN_000f29ec(uint param_1,uint param_2)" identifier (parameter_list "(uint param_1,uint param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  return CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8);\n}" { (return_statement "return CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8);" return (call_expression "CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8)" identifier (argument_list "(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8)" ( (binary_expression "param_1 & 0xfffff000 | param_2 >> 0x14" (binary_expression "param_1 & 0xfffff000" identifier & number_literal) | (binary_expression "param_2 >> 0x14" identifier >> number_literal)) , (binary_expression "(param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8" (binary_expression "(param_2 & 0xfff00) << 0xc | param_2 & 0xff" (binary_expression "(param_2 & 0xfff00) << 0xc" (parenthesized_expression "(param_2 & 0xfff00)" ( (binary_expression "param_2 & 0xfff00" identifier & number_literal) )) << number_literal) | (binary_expression "param_2 & 0xff" identifier & number_literal)) | (binary_expression "(param_1 & 0xfff) << 8" (parenthesized_expression "(param_1 & 0xfff)" ( (binary_expression "param_1 & 0xfff" identifier & number_literal) )) << number_literal)) ))) ;) })))
(translation_unit "ulonglong bb_makedev(uint major,uint minor)\n\n{\n  return CONCAT44(major & 0xfffff000 | minor >> 0x14,\n                  (minor & 0xfff00) << 0xc | minor & 0xff | (major & 0xfff) << 8);\n}\n\n" (function_definition "ulonglong bb_makedev(uint major,uint minor)\n\n{\n  return CONCAT44(major & 0xfffff000 | minor >> 0x14,\n                  (minor & 0xfff00) << 0xc | minor & 0xff | (major & 0xfff) << 8);\n}" type_identifier (function_declarator "bb_makedev(uint major,uint minor)" identifier (parameter_list "(uint major,uint minor)" ( (parameter_declaration "uint major" type_identifier identifier) , (parameter_declaration "uint minor" type_identifier identifier) ))) (compound_statement "{\n  return CONCAT44(major & 0xfffff000 | minor >> 0x14,\n                  (minor & 0xfff00) << 0xc | minor & 0xff | (major & 0xfff) << 8);\n}" { (return_statement "return CONCAT44(major & 0xfffff000 | minor >> 0x14,\n                  (minor & 0xfff00) << 0xc | minor & 0xff | (major & 0xfff) << 8);" return (call_expression "CONCAT44(major & 0xfffff000 | minor >> 0x14,\n                  (minor & 0xfff00) << 0xc | minor & 0xff | (major & 0xfff) << 8)" identifier (argument_list "(major & 0xfffff000 | minor >> 0x14,\n                  (minor & 0xfff00) << 0xc | minor & 0xff | (major & 0xfff) << 8)" ( (binary_expression "major & 0xfffff000 | minor >> 0x14" (binary_expression "major & 0xfffff000" identifier & number_literal) | (binary_expression "minor >> 0x14" identifier >> number_literal)) , (binary_expression "(minor & 0xfff00) << 0xc | minor & 0xff | (major & 0xfff) << 8" (binary_expression "(minor & 0xfff00) << 0xc | minor & 0xff" (binary_expression "(minor & 0xfff00) << 0xc" (parenthesized_expression "(minor & 0xfff00)" ( (binary_expression "minor & 0xfff00" identifier & number_literal) )) << number_literal) | (binary_expression "minor & 0xff" identifier & number_literal)) | (binary_expression "(major & 0xfff) << 8" (parenthesized_expression "(major & 0xfff)" ( (binary_expression "major & 0xfff" identifier & number_literal) )) << number_literal)) ))) ;) })))
(translation_unit "undefined8 FUN_000f29ec(uint param_1,uint param_2)\n\n{\n  return CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8);\n}\n\n" (function_definition "undefined8 FUN_000f29ec(uint param_1,uint param_2)\n\n{\n  return CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8);\n}" type_identifier (function_declarator "FUN_000f29ec(uint param_1,uint param_2)" identifier (parameter_list "(uint param_1,uint param_2)" ( (parameter_declaration "uint param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  return CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8);\n}" { (return_statement "return CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8);" return (call_expression "CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8)" identifier (argument_list "(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8)" ( (binary_expression "param_1 & 0xfffff000 | param_2 >> 0x14" (binary_expression "param_1 & 0xfffff000" identifier & number_literal) | (binary_expression "param_2 >> 0x14" identifier >> number_literal)) , (binary_expression "(param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8" (binary_expression "(param_2 & 0xfff00) << 0xc | param_2 & 0xff" (binary_expression "(param_2 & 0xfff00) << 0xc" (parenthesized_expression "(param_2 & 0xfff00)" ( (binary_expression "param_2 & 0xfff00" identifier & number_literal) )) << number_literal) | (binary_expression "param_2 & 0xff" identifier & number_literal)) | (binary_expression "(param_1 & 0xfff) << 8" (parenthesized_expression "(param_1 & 0xfff)" ( (binary_expression "param_1 & 0xfff" identifier & number_literal) )) << number_literal)) ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (return_statement return (call_expression IDENT (argument_list ( (binary_expression (binary_expression IDENT & LIT) | (binary_expression IDENT >> LIT)) , (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) | (binary_expression IDENT & LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) ))) ;) })))
(function_definition "undefined8 FUN_000f29ec(uint param_1,uint param_2)\n\n{\n  return CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8);\n}" (type_identifier "undefined8") (function_declarator "FUN_000f29ec(uint param_1,uint param_2)" (identifier "FUN_000f29ec") (parameter_list "(uint param_1,uint param_2)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  return CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8);\n}" ({ "{") (return_statement "return CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8);" (return "return") (call_expression "CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8)" (identifier "CONCAT44") (argument_list "(param_1 & 0xfffff000 | param_2 >> 0x14,\n                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8)" (( "(") (binary_expression "param_1 & 0xfffff000 | param_2 >> 0x14" (binary_expression "param_1 & 0xfffff000" (identifier "param_1") (& "&") (number_literal "0xfffff000")) (| "|") (binary_expression "param_2 >> 0x14" (identifier "param_2") (>> ">>") (number_literal "0x14"))) (, ",") (binary_expression "(param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8" (binary_expression "(param_2 & 0xfff00) << 0xc | param_2 & 0xff" (binary_expression "(param_2 & 0xfff00) << 0xc" (parenthesized_expression "(param_2 & 0xfff00)" (( "(") (binary_expression "param_2 & 0xfff00" (identifier "param_2") (& "&") (number_literal "0xfff00")) () ")")) (<< "<<") (number_literal "0xc")) (| "|") (binary_expression "param_2 & 0xff" (identifier "param_2") (& "&") (number_literal "0xff"))) (| "|") (binary_expression "(param_1 & 0xfff) << 8" (parenthesized_expression "(param_1 & 0xfff)" (( "(") (binary_expression "param_1 & 0xfff" (identifier "param_1") (& "&") (number_literal "0xfff")) () ")")) (<< "<<") (number_literal "8"))) () ")"))) (; ";")) (} "}")))

type_1 function_1(type_2 var_2,type_2 var_3)

{
  return var_1(var_2 & 0xfffff000 | var_3 >> 0x14,
                  (var_3 & 0xfff00) << 0xc | var_3 & 0xff | (var_2 & 0xfff) << 8);
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (return_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))) (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))))))

undefined8 MASKED(uint param_1,uint param_2)

{
  return CONCAT44(param_1 & 0xfffff000 | param_2 >> 0x14,
                  (param_2 & 0xfff00) << 0xc | param_2 & 0xff | (param_1 & 0xfff) << 8);
}

