When replacing cables or working on the bike in general the cables tend to get twisted up and routed where they don’t belong. Here are some diagrams showing the factory recommended cable routing for the throttle cables, clutch cables, decompression cables, and other wires.

Honda XR650R Cable Routing Front

Honda XR650R Cable Routing Side

Honda XR650R Cable Routing Rear