Chaisson and McMillan's Astronomy textbook gives the following explanation for the strong magnetic fields in neutron stars: "The original field of the parent star is amplified as the collapsing core squeezes the magnetic field lines closer together, creating a magnetic field trillions of times stronger than the Earth's field." However, don't neutron stars form by photodisintegration, where energetic photons split iron nuclei into smaller nuclei until only protons and neutrons remain? The protons then combine with electrons to form neutrons. As the electrons get consumed, electron pressure can no longer hold up the weight of the star, and it collapses. Where then, does the current come from to support a dynamo that fuels the magnetic field?