If there are only two seats available for a standby flight with two A-listers AND a companion pass holder on the standby list, the companion pass holder will not fly.
If there are two or more seats available for a flight with one A-lister AND a companion pass holder on the standby list, they will both fly.
The second A-lister has priority over the companion pass holder.