Design and performance of a ASAXS instrument at the Advanced Photon Source