Numerical Investigation into CO Emission, O Depletion, and Thermal Decomposition in a Reacting Slab