owed state - federal withdrew ?

I am not sure how to ask the question in the subject 

 

I owed $217 to state and they withdrew it from my checking account.  Will irs give me the original refund amount of $800 or will they give me $583 and deduct state due again