pretty sure you could adapt xs650 stock flanges to fit, there are lots of them around, I am sure I have several stock sets . XS650 pipes will slip into a 1980 xs400 exhaust port but the angle the port faces is different. xs400 is straight on and xs650 is outboard at a angle.