How much will it cost to replace or repair the air compressor on 2010 Chevrolet Equinox

The compressor is knocking when the engine is cold

1 answer
Does it knock with all heat/ac controls turned off when started cold?? If so it aint the compressor! Out of warranty?