You need to add back the amount that was claimed as a loss on your Federal return, which would include the depreciation. Use line 22 unless the loss was not actually claimed on your Federal return.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"