A 16 year old girl was brought to the psychiatric emergency after she slashed her wrists in a suicide attempt. On enquiry, her father revealed that she had made several such wrist-slashing attempts in the past, mostly in response to trivial fights at home. She also has marked mood fluctuations with a pervasive pattern of unstable interpersonal relationships. What is the most probable diagnosis?