Split it to multiple private methods first and give each method a name. Things disentangle themselves on their own if you go that way