AA 9790 then WN 1488 at LAX
Santa Ana → Los Angeles → Chicago Midway
Timetable, Los Angeles time
08:14AA 9790 from Santa Ana at the gatealso AA 9791
06:30WN 1488 to Chicago Midway leaves the gate
22 h 16 apart on the timetable, overnight
WN 1488 leaves 22 h 16 after AA 9790 arrives on the timetable: more than half a day, so not a connection we count.