Which loss is deferred in wash sale when two shares sold together with different basis adjustments?
Trying to untangle a wash sale situation and my broker's 1099-B is making my head spin. I sold two lots of the same stock on the same day — one lot had a cost basis adjusted upward from a previous wash sale, the other was purchased clean. Both sold at a loss. Within 30 days I bought back the same number of shares. My tax software is flagging both lots as wash sales but the disallowed amounts look completely different from what I'd expect given the different basis figures. I can't tell whether the software is deferring the loss from the adjusted lot first, the clean lot first, or splitting it somehow. The 1099-B box 1g figures don't match either lot's loss. Which lot's loss actually gets deferred, and how does the deferred amount get added to the replacement shares?