Loop/do while/ not sure how to proceed

This part
if( sensorDifMin>=cfg.snd_no_readings ) {
the second if is nested, however it closes right after that. so its structure is

if statement1
if time event different
else
if statement 2
if timbe event different2..

however the other section would be not nested in the loop()
I would upload my code but i have 2 conditions that stop me. This is a work project while eventually going to be open source for the time being i havn't been givne permission to share it in its entirty, i can give a lot of snippets where ever needed....and 2 the whole ino file is over 3k sloppy lines of code hehe