#version 310 es

void f_1() {
  ivec3 v = ivec3(0);
  uint offset_1 = 0u;
  uint count = 0u;
  ivec3 v_1 = v;
  uint v_2 = count;
  uint v_3 = min(offset_1, 32u);
  uint v_4 = min(v_2, (32u - v_3));
  int v_5 = int(v_3);
  ivec3 x_15 = bitfieldExtract(v_1, v_5, int(v_4));
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
  f_1();
}
