I suppose things did not work out too well for the pigs.
This was a relatively small funeral with 500/600 people. The family need to feed all those people, so you can guess what happened to the pigs.
In the few hours we were present they got about 40 pigs.
There were 6 butchers present. It's a quick death for the pigs as they put a knife direct into the heart. After this the skin was burnt off.
The intestines were put in bamboo sticks and it was cooked later (it's a delicacy).
At the end they distribute what's left to the other families and poor people, nothing is wasted.