LAX lounge is far better and much shorter walk TBIT to T4 than at SFO int to AA domestic. But SFO INS/customs can be faster (varies with competing arrivals at SFO and LAX). If flying in Y trans-pacific then you may prefer AA metal, otherwise in F/J CX is more comfortable.