The pectoralis muscle moves the front limb inward and the transverse abdominal muscles moves the posterior limiting membrane up. The limbs are brought into the shell, pushing up on the lung, causing air to expel by the muscles contracting.
To Breathe air in, the serrates muscle pulls out, the abdominal oblique pulls down and the weight of the viscera allows air to flow in, via negative pressure.