None of the signals in the wave form (including s_clk) are in the code you posted. Please post the code that relates to the waveform.
But I do have several comments on the code you did post.
1. Your reset and clk branches are in separate ifs. That means that the clock if always has priority over the reset.
2. you have signals assigned outside of the clock and reset branches, and they are dependent of signals not in the sensitivity list
3. This code is unlikely to synthesise as it does not match the synchronous template
4. If it does synchronise, then the simulation is unlikely to match the hardware, due to above concerns.
Post the real code that has any relation to the waveform, and maybe we can explain the falling edge clock issue (but I bet its because of at least one of the reasons above).