Counterparty Risk Valuation: A Marked Branching Diffusion Approach · Study