Sold as is means you are not responsible. You are selling it as
it is.
Unfortunately in California there is no AS-IS clause for vehicle
sales. If it is registered as operational and you sold as
operational then the seller is responsible for smogging it. The
title of an operational registered vehicle can NOT be transfered
without a smog certificate. If it does not pass smog, the purchaser
can require the seller to pay for repairs to pass smog.
The work around is to register the vehicle as Planed
Non-operation (PNO) and sell the vehicle as non-operational. It may
not be driven or parked on a public street and would need to be
towed from it's residence by the purchaser. The purchaser would
then not be able to drive or operate the vehicle on public roads
until they registered it as operational. The purchaser would be
responsible at that point for smogging the vehicle since they would
be the title holder at that time.