The airline hasn't posted an annual profit since 2019 and lost more than $335 million in the first half of the year.