static void fesquare(uint64_t out[5], const uint64_t in1[5]) {
  { const uint64_t x7 = in1[4];
  { const uint64_t x8 = in1[3];
  { const uint64_t x6 = in1[2];
  { const uint64_t x4 = in1[1];
  { const uint64_t x2 = in1[0];
  { uint128_t x9 = (((uint128_t)x2 * x7) + (((uint128_t)x4 * x8) + ((0x2 * ((uint128_t)x6 * x6)) + (((uint128_t)x8 * x4) + ((uint128_t)x7 * x2)))));
  { uint128_t x10 = ((((uint128_t)x2 * x8) + ((0x2 * ((uint128_t)x4 * x6)) + ((0x2 * ((uint128_t)x6 * x4)) + ((uint128_t)x8 * x2)))) + (0x9 * (0x2 * ((uint128_t)x7 * x7))));
  { uint128_t x11 = ((((uint128_t)x2 * x6) + (((uint128_t)x4 * x4) + ((uint128_t)x6 * x2))) + (0x9 * (((uint128_t)x8 * x7) + ((uint128_t)x7 * x8))));
  { uint128_t x12 = ((((uint128_t)x2 * x4) + ((uint128_t)x4 * x2)) + (0x9 * ((0x2 * ((uint128_t)x6 * x7)) + (((uint128_t)x8 * x8) + (0x2 * ((uint128_t)x7 * x6))))));
  { uint128_t x13 = (((uint128_t)x2 * x2) + (0x9 * ((0x2 * ((uint128_t)x4 * x7)) + ((0x2 * ((uint128_t)x6 * x8)) + ((0x2 * ((uint128_t)x8 * x6)) + (0x2 * ((uint128_t)x7 * x4)))))));
  { uint64_t x14 = (uint64_t) (x13 >> 0x31);
  { uint64_t x15 = ((uint64_t)x13 & 0x1ffffffffffff);
  { uint128_t x16 = (x14 + x12);
  { uint64_t x17 = (uint64_t) (x16 >> 0x31);
  { uint64_t x18 = ((uint64_t)x16 & 0x1ffffffffffff);
  { uint128_t x19 = (x17 + x11);
  { uint64_t x20 = (uint64_t) (x19 >> 0x30);
  { uint64_t x21 = ((uint64_t)x19 & 0xffffffffffff);
  { uint128_t x22 = (x20 + x10);
  { uint64_t x23 = (uint64_t) (x22 >> 0x31);
  { uint64_t x24 = ((uint64_t)x22 & 0x1ffffffffffff);
  { uint128_t x25 = (x23 + x9);
  { uint64_t x26 = (uint64_t) (x25 >> 0x30);
  { uint64_t x27 = ((uint64_t)x25 & 0xffffffffffff);
  { uint64_t x28 = (x15 + (0x9 * x26));
  { uint64_t x29 = (x28 >> 0x31);
  { uint64_t x30 = (x28 & 0x1ffffffffffff);
  { uint64_t x31 = (x29 + x18);
  { uint64_t x32 = (x31 >> 0x31);
  { uint64_t x33 = (x31 & 0x1ffffffffffff);
  out[0] = x30;
  out[1] = x33;
  out[2] = (x32 + x21);
  out[3] = x24;
  out[4] = x27;
  }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
}
