While this topic is very worthy of discussion, if leaving the EU materialises it will takes years to take effect. I can see the current as is state being maintained as much as possible.
If the EU put restrictions on UK airlines operating inside EU (between EU points), this could lead to restrictions being put on place on non UK airlines flying into the UK, hence, back to the days of bilateral agreements all over the show... I don't think any material issues will arise..