Daisy Chain USB Devices with USB2422
My guess (or how I would do it) is that there are multiplexers on the data lines of both USB ports, and then check which port is being connected to the computer using power sensing in order to switch the multiplexers from each USB port to the correct pins on the USB2422.
Those look like they could be multiplexers: