Moved de_chirp to it’s own function.