Boeing is reportedly warning that it may stop production of the 737 Max jets in the event the aircraft’s grounding continues for a longer period.

If problems continue to persist with the regulators, the company considers plans to reduce or shut down production of the 737 Max jets completely.

However, the company expects the plane to be back in the air by October.

Due to the troubled jet, Boeing has reported the largest ever quarterly loss in its second-quarter results.

The company’s revenue for this quarter was $15.8bn, which represents a 35% decline from $24.25bn during the second quarter of last year.

These figures revealed how costly the three software issues discovered so far have been for the company’s shareholders.

Commenting on the Q2 figures, Software Intelligence provider CAST said that the Boeing could have detected these risks earlier by using Software Intelligence to assess the security and resilience of their software.

CAST Strategy and Analytics executive vice-president Lev Lesokhin said: “There is no doubt software issues in airplanes can have devastating and tragic effects. Airplane avionics systems have over five, sometimes ten million lines of code.

“It’s beyond human comprehension and requires a regular, automated end-to-end inspection to prevent serious safety flaws.

“As our reliance on software increases, it will be impossible for profit-driven enterprises to self-regulate software safety. Any safety-critical system such as airplanes, medical devices and autonomous vehicles need to be checked against a software engineering standard, such as the one from CISQ.”

Last month, US regulators found a potential risk in Boeing’s troubled 737 Max aircraft during simulator trials, which is likely to delay test flights.

Two crashes that occurred in Indonesia and Ethiopia collectively killed 346 people.

In March, Boeing announced a fix for 737 Max aircraft.

In May, Boeing announced that it completed a software update for the aircraft. The company stated that it has flown the aircraft with updated MCAS software on 207 flights for more than 360 hours.

However, earlier last month, Boeing announced that some of its 737 planes, including many 737 Max aircraft, may have faulty parts on their wings.