Both are not endangered and pigs are in fact smarter than dogs.
- Among other talents, pigs have excellent long-term memories
- They are skilled at completing mazes and recognising symbols
- They also have empathy and can learn from each other in groups
You could argue that you live with a dog but then again in some countries/rural areas it's not uncommon to live with pigs as pets.
The only rational reason one could cite would be the universal vegetarian/vegan argument. That would cover both.
But if you eat pigs, chickens and cows you have no right to complain about people in Asia jamming, killing and eating dogs.
The same applies to cats btw. For further reading see here.