gal5840