The most accurate inference from the passage of the black codes is:
Many white Southerners wanted African Americans to remain as servants.
The black codes were laws enacted in the Southern states after the Civil War, aimed at limiting the rights and freedoms of African Americans, effectively enforcing a system of racial subordination and maintaining white supremacy.