During hip replacement surgery, a surgeon removes the damaged parts of the hip joint and replaces them with parts that a