The correct inference from the passage of the black codes is:
O Many white Southerners wanted African Americans to remain as servants.
The black codes were laws enacted in the South after the Civil War that aimed to restrict the rights of newly freed African Americans, essentially maintaining a system of racial subordination and ensuring a labor force that could be exploited, often resembling their previous status as slaves.