#include <metal_stdlib>

using namespace metal;
void countOneBits_0d0e46() {
  uint4 res =   popcount(uint4());
}

vertex void vertex_main() {
  countOneBits_0d0e46();
  return;
}

fragment void fragment_main() {
  countOneBits_0d0e46();
  return;
}

kernel void compute_main() {
  countOneBits_0d0e46();
  return;
}

