Immigration can either be pretty fast if only 1 flight (yours) comes in at that time. But if multiple flights arrive at about the same time immigration can take quite a while. That is pretty tight. Good thing is that there should be plenty of SFO-LAX flights if you miss you booked one. But if you are right around the Xmas travel time there may not be any room on any of the later flights.