#include <metal_stdlib>
using namespace metal;
struct vertex_main_outputs {
  float4 tint_symbol [[position]];
};

void select_1f4d93() {
  bool2 arg_2 = bool2(true);
  float2 res = select(float2(1.0f), float2(1.0f), arg_2);
}
float4 vertex_main_inner() {
  select_1f4d93();
  return float4(0.0f);
}
fragment void fragment_main() {
  select_1f4d93();
}
kernel void compute_main() {
  select_1f4d93();
}
vertex vertex_main_outputs vertex_main() {
  return vertex_main_outputs{.tint_symbol=vertex_main_inner()};
}
