#include <metal_stdlib>

using namespace metal;
float2 subgroupBroadcast_5196c8() {
  float2 res = simd_broadcast(float2(1.0f),ushort(1u));
  return res;
}

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

