The correct inference from the passage of the black codes is:
Many white Southerners wanted African Americans to remain as servants.
The black codes were designed to restrict the freedom of African Americans and maintain a system of racial subordination, reflecting the desire of many white Southerners to keep African Americans in a position of servitude and inferiority.