The descent of the double pendulum into chaos