#include <metal_stdlib>

using namespace metal;
uint2 quadBroadcast_641316() {
  uint2 arg_0 = uint2(1u);
  uint2 res = quad_broadcast(arg_0,1);
  return res;
}

fragment void fragment_main(device uint2* tint_symbol [[buffer(0)]]) {
  *(tint_symbol) = quadBroadcast_641316();
  return;
}

kernel void compute_main(device uint2* tint_symbol_1 [[buffer(0)]]) {
  *(tint_symbol_1) = quadBroadcast_641316();
  return;
}

