The airline posted its second highest profit after setting a record in 2022.