#include <metal_stdlib>
using namespace metal;
struct frexp_result_f16 {
  half fract;
  int exp;
};
struct vertex_main_outputs {
  float4 tint_symbol [[position]];
};

void frexp_5257dd() {
  frexp_result_f16 res = frexp_result_f16{.fract=0.5h, .exp=1};
}
float4 vertex_main_inner() {
  frexp_5257dd();
  return float4(0.0f);
}
fragment void fragment_main() {
  frexp_5257dd();
}
kernel void compute_main() {
  frexp_5257dd();
}
vertex vertex_main_outputs vertex_main() {
  return vertex_main_outputs{.tint_symbol=vertex_main_inner()};
}
