Apple may be battling one branch of U.S. law enforcement on a terrorist-related issue, but CNN reports that the company is working closely with another on a broader fight against ISIS. Apple is one of six leading tech and media companies offering assistance to the Department of Justice in countering ISIS messaging and posts on social media.

In all, nearly 50 companies and community groups participated, along with the National Security Council, the State Department and the British Embassy.

At a meeting conducted at the Justice Department on Wednesday, executives from Apple, Twitter, Snapchat, Facebook, MTV and Buzzfeed offered their input to top counter intelligence officials, according to an industry source familiar with the meeting.

The issue is not just one of propaganda, said National Counterterrorism Center director Nick Rasmussen, but of directly encouraging acts of terrorism …

Apple’s participation may help to cool suggestions that the company is helping “put people beyond the law.”

Rasmussen told the group the administration is making strides in combating ISIS on social media, where the terrorist army has inspired potential lone wolf assailants to carry out attacks.

Tim Cook yesterday told ABC News that a master key into the iPhone would be “the software equivalent of cancer,” a description that will have particular resonance in a company whose co-founder died from pancreatic cancer.

Photo: AP Photo/Susan Walsh