#include <metal_stdlib>

using namespace metal;
int4 subgroupBroadcast_f637f9() {
  int4 res = simd_broadcast(int4(1),ushort(1u));
  return res;
}

kernel void compute_main(device int4* tint_symbol [[buffer(0)]]) {
  *(tint_symbol) = subgroupBroadcast_f637f9();
  return;
}

