#include <metal_stdlib>

using namespace metal;
struct tint_symbol {
  float4 value [[position]];
};

void select_99f883() {
  uint res =   select(1u, 1u, bool());
}

vertex tint_symbol vertex_main() {
  select_99f883();
  tint_symbol const tint_symbol_1 = {.value=float4()};
  return tint_symbol_1;
}

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

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

