July 8, 2020 | 2:14pm

The Silicon Valley startup founder who went on a racist tirade against an Asian family at a California restaurant apologized for the outburst — which he chalked up to losing “control,” according to a report.

Michael Lofthouse, the CEO of IT company Solid8, was caught on video verbally attacking Jordan Chan and her family Saturday at Bernardus Lodge and Spa’s Lucia restaurant in Carmel Valley.

“My behavior in the video is appalling. This was clearly a moment where I lost control and made incredibly hurtful and divisive comments,” Lofthouse said in an email to news station KGO-TV.

“I would like to deeply apologize to the Chan family. I can only imagine the stress and pain they feel,” he continued.

“I was taught to respect people of all races, and I will take the time to reflect on my actions and work to better understand the inequality that so many of those around me face every day.”

In the video filmed by Chan, the tech entrepreneur could be seen gesturing at the family while saying, “Trump’s going to f–k you!”

“You f–kers need to leave,” he said to them as he stood up and put on his coat.

A waitress then confronted him, saying, “You do not talk to a guest like that, you need to leave now.”

But he continued to rail into the other patrons, shouting at them, “You f–king Asian piece of s–t.”

Raymond Orosa, who is Chan’s uncle and witnessed the incident, said that he’s not buying Lofthouse’s apology.

“He’s just saving face. I think he really meant what he said and what he did,” Orosa told news station KGO-TV.

“I don’t believe his words because his actions speak louder than the words he’s saying.”