1#![allow(unused_parens)]
16#![allow(non_camel_case_types)]
17
18struct IndexConst<T: ?Sized>(T);
22
23impl<'a, T, const N: usize> IndexConst<&'a [T; N]> {
24 #[inline(always)]
25 #[allow(unused)]
26 const fn index(self, i: usize) -> &'a T {
27 &self.0[i]
28 }
29}
30impl<'a, 'b, T, const N: usize> IndexConst<&'a mut &'b mut [T; N]> {
31 #[inline(always)]
32 #[allow(unused)]
33 const fn index_mut(self, i: usize) -> &'a mut T {
34 &mut self.0[i]
35 }
36}
37
38pub type fiat_p521_u1 = u8;
40pub type fiat_p521_i1 = i8;
42pub type fiat_p521_u2 = u8;
44pub type fiat_p521_i2 = i8;
46
47#[derive(Clone, Copy)]
50pub struct fiat_p521_loose_field_element(pub [u32; 19]);
51
52impl core::ops::Index<usize> for fiat_p521_loose_field_element {
53 type Output = u32;
54 #[inline]
55 fn index(&self, index: usize) -> &Self::Output {
56 &self.0[index]
57 }
58}
59
60impl core::ops::IndexMut<usize> for fiat_p521_loose_field_element {
61 #[inline]
62 fn index_mut(&mut self, index: usize) -> &mut Self::Output {
63 &mut self.0[index]
64 }
65}
66
67impl<'a> IndexConst<&'a fiat_p521_loose_field_element> {
68 #[allow(unused)]
69 #[inline(always)]
70 const fn index(self, i: usize) -> &'a u32 {
71 &self.0.0[i]
72 }
73}
74
75impl<'a, 'b> IndexConst<&'a mut &'b mut fiat_p521_loose_field_element> {
76 #[allow(unused)]
77 #[inline(always)]
78 const fn index_mut(self, i: usize) -> &'a mut u32 {
79 &mut self.0.0[i]
80 }
81}
82
83#[derive(Clone, Copy)]
86pub struct fiat_p521_tight_field_element(pub [u32; 19]);
87
88impl core::ops::Index<usize> for fiat_p521_tight_field_element {
89 type Output = u32;
90 #[inline]
91 fn index(&self, index: usize) -> &Self::Output {
92 &self.0[index]
93 }
94}
95
96impl core::ops::IndexMut<usize> for fiat_p521_tight_field_element {
97 #[inline]
98 fn index_mut(&mut self, index: usize) -> &mut Self::Output {
99 &mut self.0[index]
100 }
101}
102
103impl<'a> IndexConst<&'a fiat_p521_tight_field_element> {
104 #[allow(unused)]
105 #[inline(always)]
106 const fn index(self, i: usize) -> &'a u32 {
107 &self.0.0[i]
108 }
109}
110
111impl<'a, 'b> IndexConst<&'a mut &'b mut fiat_p521_tight_field_element> {
112 #[allow(unused)]
113 #[inline(always)]
114 const fn index_mut(self, i: usize) -> &'a mut u32 {
115 &mut self.0.0[i]
116 }
117}
118
119
120#[inline]
134pub const fn fiat_p521_addcarryx_u28(out1: &mut u32, out2: &mut fiat_p521_u1, arg1: fiat_p521_u1, arg2: u32, arg3: u32) {
135 let x1: u32 = (((arg1 as u32) + arg2) + arg3);
136 let x2: u32 = (x1 & 0xfffffff);
137 let x3: fiat_p521_u1 = ((x1 >> 28) as fiat_p521_u1);
138 *out1 = x2;
139 *out2 = x3;
140}
141
142#[inline]
156pub const fn fiat_p521_subborrowx_u28(out1: &mut u32, out2: &mut fiat_p521_u1, arg1: fiat_p521_u1, arg2: u32, arg3: u32) {
157 let x1: i32 = ((((((arg2 as i64) - (arg1 as i64)) as i32) as i64) - (arg3 as i64)) as i32);
158 let x2: fiat_p521_i1 = ((x1 >> 28) as fiat_p521_i1);
159 let x3: u32 = (((x1 as i64) & (0xfffffff as i64)) as u32);
160 *out1 = x3;
161 *out2 = (((0x0 as fiat_p521_i2) - (x2 as fiat_p521_i2)) as fiat_p521_u1);
162}
163
164#[inline]
178pub const fn fiat_p521_addcarryx_u27(out1: &mut u32, out2: &mut fiat_p521_u1, arg1: fiat_p521_u1, arg2: u32, arg3: u32) {
179 let x1: u32 = (((arg1 as u32) + arg2) + arg3);
180 let x2: u32 = (x1 & 0x7ffffff);
181 let x3: fiat_p521_u1 = ((x1 >> 27) as fiat_p521_u1);
182 *out1 = x2;
183 *out2 = x3;
184}
185
186#[inline]
200pub const fn fiat_p521_subborrowx_u27(out1: &mut u32, out2: &mut fiat_p521_u1, arg1: fiat_p521_u1, arg2: u32, arg3: u32) {
201 let x1: i32 = ((((((arg2 as i64) - (arg1 as i64)) as i32) as i64) - (arg3 as i64)) as i32);
202 let x2: fiat_p521_i1 = ((x1 >> 27) as fiat_p521_i1);
203 let x3: u32 = (((x1 as i64) & (0x7ffffff as i64)) as u32);
204 *out1 = x3;
205 *out2 = (((0x0 as fiat_p521_i2) - (x2 as fiat_p521_i2)) as fiat_p521_u1);
206}
207
208#[inline]
220pub const fn fiat_p521_cmovznz_u32(out1: &mut u32, arg1: fiat_p521_u1, arg2: u32, arg3: u32) {
221 let x1: fiat_p521_u1 = (!(!arg1));
222 let x2: u32 = ((((((0x0 as fiat_p521_i2) - (x1 as fiat_p521_i2)) as fiat_p521_i1) as i64) & (0xffffffff as i64)) as u32);
223 let x3: u32 = ((x2 & arg3) | ((!x2) & arg2));
224 *out1 = x3;
225}
226
227#[inline]
233pub const fn fiat_p521_carry_mul(mut out1: &mut fiat_p521_tight_field_element, arg1: &fiat_p521_loose_field_element, arg2: &fiat_p521_loose_field_element) {
234 let x1: u64 = (((*IndexConst(arg1).index(18)) as u64) * ((*IndexConst(arg2).index(18)) as u64));
235 let x2: u64 = (((*IndexConst(arg1).index(18)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
236 let x3: u64 = (((*IndexConst(arg1).index(18)) as u64) * ((*IndexConst(arg2).index(16)) as u64));
237 let x4: u64 = (((*IndexConst(arg1).index(18)) as u64) * (((*IndexConst(arg2).index(15)) * 0x2) as u64));
238 let x5: u64 = (((*IndexConst(arg1).index(18)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
239 let x6: u64 = (((*IndexConst(arg1).index(18)) as u64) * ((*IndexConst(arg2).index(13)) as u64));
240 let x7: u64 = (((*IndexConst(arg1).index(18)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
241 let x8: u64 = (((*IndexConst(arg1).index(18)) as u64) * ((*IndexConst(arg2).index(11)) as u64));
242 let x9: u64 = (((*IndexConst(arg1).index(18)) as u64) * (((*IndexConst(arg2).index(10)) * 0x2) as u64));
243 let x10: u64 = (((*IndexConst(arg1).index(18)) as u64) * ((*IndexConst(arg2).index(9)) as u64));
244 let x11: u64 = (((*IndexConst(arg1).index(18)) as u64) * (((*IndexConst(arg2).index(8)) * 0x2) as u64));
245 let x12: u64 = (((*IndexConst(arg1).index(18)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
246 let x13: u64 = (((*IndexConst(arg1).index(18)) as u64) * ((*IndexConst(arg2).index(6)) as u64));
247 let x14: u64 = (((*IndexConst(arg1).index(18)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
248 let x15: u64 = (((*IndexConst(arg1).index(18)) as u64) * ((*IndexConst(arg2).index(4)) as u64));
249 let x16: u64 = (((*IndexConst(arg1).index(18)) as u64) * (((*IndexConst(arg2).index(3)) * 0x2) as u64));
250 let x17: u64 = (((*IndexConst(arg1).index(18)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
251 let x18: u64 = (((*IndexConst(arg1).index(18)) as u64) * (((*IndexConst(arg2).index(1)) * 0x2) as u64));
252 let x19: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(18)) * 0x2) as u64));
253 let x20: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
254 let x21: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(16)) * 0x2) as u64));
255 let x22: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(15)) * 0x2) as u64));
256 let x23: u64 = (((*IndexConst(arg1).index(17)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
257 let x24: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(13)) * 0x2) as u64));
258 let x25: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
259 let x26: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(11)) * 0x2) as u64));
260 let x27: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(10)) * 0x2) as u64));
261 let x28: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(9)) * 0x2) as u64));
262 let x29: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(8)) * 0x2) as u64));
263 let x30: u64 = (((*IndexConst(arg1).index(17)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
264 let x31: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(6)) * 0x2) as u64));
265 let x32: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
266 let x33: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(4)) * 0x2) as u64));
267 let x34: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(3)) * 0x2) as u64));
268 let x35: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(2)) * 0x2) as u64));
269 let x36: u64 = (((*IndexConst(arg1).index(16)) as u64) * ((*IndexConst(arg2).index(18)) as u64));
270 let x37: u64 = (((*IndexConst(arg1).index(16)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
271 let x38: u64 = (((*IndexConst(arg1).index(16)) as u64) * ((*IndexConst(arg2).index(16)) as u64));
272 let x39: u64 = (((*IndexConst(arg1).index(16)) as u64) * ((*IndexConst(arg2).index(15)) as u64));
273 let x40: u64 = (((*IndexConst(arg1).index(16)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
274 let x41: u64 = (((*IndexConst(arg1).index(16)) as u64) * ((*IndexConst(arg2).index(13)) as u64));
275 let x42: u64 = (((*IndexConst(arg1).index(16)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
276 let x43: u64 = (((*IndexConst(arg1).index(16)) as u64) * ((*IndexConst(arg2).index(11)) as u64));
277 let x44: u64 = (((*IndexConst(arg1).index(16)) as u64) * (((*IndexConst(arg2).index(10)) * 0x2) as u64));
278 let x45: u64 = (((*IndexConst(arg1).index(16)) as u64) * ((*IndexConst(arg2).index(9)) as u64));
279 let x46: u64 = (((*IndexConst(arg1).index(16)) as u64) * ((*IndexConst(arg2).index(8)) as u64));
280 let x47: u64 = (((*IndexConst(arg1).index(16)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
281 let x48: u64 = (((*IndexConst(arg1).index(16)) as u64) * ((*IndexConst(arg2).index(6)) as u64));
282 let x49: u64 = (((*IndexConst(arg1).index(16)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
283 let x50: u64 = (((*IndexConst(arg1).index(16)) as u64) * ((*IndexConst(arg2).index(4)) as u64));
284 let x51: u64 = (((*IndexConst(arg1).index(16)) as u64) * (((*IndexConst(arg2).index(3)) * 0x2) as u64));
285 let x52: u64 = (((*IndexConst(arg1).index(15)) as u64) * (((*IndexConst(arg2).index(18)) * 0x2) as u64));
286 let x53: u64 = (((*IndexConst(arg1).index(15)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
287 let x54: u64 = (((*IndexConst(arg1).index(15)) as u64) * ((*IndexConst(arg2).index(16)) as u64));
288 let x55: u64 = (((*IndexConst(arg1).index(15)) as u64) * (((*IndexConst(arg2).index(15)) * 0x2) as u64));
289 let x56: u64 = (((*IndexConst(arg1).index(15)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
290 let x57: u64 = (((*IndexConst(arg1).index(15)) as u64) * (((*IndexConst(arg2).index(13)) * 0x2) as u64));
291 let x58: u64 = (((*IndexConst(arg1).index(15)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
292 let x59: u64 = (((*IndexConst(arg1).index(15)) as u64) * (((*IndexConst(arg2).index(11)) * 0x2) as u64));
293 let x60: u64 = (((*IndexConst(arg1).index(15)) as u64) * (((*IndexConst(arg2).index(10)) * 0x2) as u64));
294 let x61: u64 = (((*IndexConst(arg1).index(15)) as u64) * ((*IndexConst(arg2).index(9)) as u64));
295 let x62: u64 = (((*IndexConst(arg1).index(15)) as u64) * (((*IndexConst(arg2).index(8)) * 0x2) as u64));
296 let x63: u64 = (((*IndexConst(arg1).index(15)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
297 let x64: u64 = (((*IndexConst(arg1).index(15)) as u64) * (((*IndexConst(arg2).index(6)) * 0x2) as u64));
298 let x65: u64 = (((*IndexConst(arg1).index(15)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
299 let x66: u64 = (((*IndexConst(arg1).index(15)) as u64) * (((*IndexConst(arg2).index(4)) * 0x2) as u64));
300 let x67: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(18)) as u64));
301 let x68: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(17)) as u64));
302 let x69: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(16)) as u64));
303 let x70: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(15)) as u64));
304 let x71: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
305 let x72: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(13)) as u64));
306 let x73: u64 = (((*IndexConst(arg1).index(14)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
307 let x74: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(11)) as u64));
308 let x75: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(10)) as u64));
309 let x76: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(9)) as u64));
310 let x77: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(8)) as u64));
311 let x78: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
312 let x79: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(6)) as u64));
313 let x80: u64 = (((*IndexConst(arg1).index(14)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
314 let x81: u64 = (((*IndexConst(arg1).index(13)) as u64) * ((*IndexConst(arg2).index(18)) as u64));
315 let x82: u64 = (((*IndexConst(arg1).index(13)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
316 let x83: u64 = (((*IndexConst(arg1).index(13)) as u64) * ((*IndexConst(arg2).index(16)) as u64));
317 let x84: u64 = (((*IndexConst(arg1).index(13)) as u64) * (((*IndexConst(arg2).index(15)) * 0x2) as u64));
318 let x85: u64 = (((*IndexConst(arg1).index(13)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
319 let x86: u64 = (((*IndexConst(arg1).index(13)) as u64) * (((*IndexConst(arg2).index(13)) * 0x2) as u64));
320 let x87: u64 = (((*IndexConst(arg1).index(13)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
321 let x88: u64 = (((*IndexConst(arg1).index(13)) as u64) * ((*IndexConst(arg2).index(11)) as u64));
322 let x89: u64 = (((*IndexConst(arg1).index(13)) as u64) * (((*IndexConst(arg2).index(10)) * 0x2) as u64));
323 let x90: u64 = (((*IndexConst(arg1).index(13)) as u64) * ((*IndexConst(arg2).index(9)) as u64));
324 let x91: u64 = (((*IndexConst(arg1).index(13)) as u64) * (((*IndexConst(arg2).index(8)) * 0x2) as u64));
325 let x92: u64 = (((*IndexConst(arg1).index(13)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
326 let x93: u64 = (((*IndexConst(arg1).index(13)) as u64) * (((*IndexConst(arg2).index(6)) * 0x2) as u64));
327 let x94: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(18)) * 0x2) as u64));
328 let x95: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
329 let x96: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(16)) * 0x2) as u64));
330 let x97: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(15)) * 0x2) as u64));
331 let x98: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(14)) * 0x2) as u64));
332 let x99: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(13)) * 0x2) as u64));
333 let x100: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
334 let x101: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(11)) * 0x2) as u64));
335 let x102: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(10)) * 0x2) as u64));
336 let x103: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(9)) * 0x2) as u64));
337 let x104: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(8)) * 0x2) as u64));
338 let x105: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(7)) * 0x2) as u64));
339 let x106: u64 = (((*IndexConst(arg1).index(11)) as u64) * ((*IndexConst(arg2).index(18)) as u64));
340 let x107: u64 = (((*IndexConst(arg1).index(11)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
341 let x108: u64 = (((*IndexConst(arg1).index(11)) as u64) * ((*IndexConst(arg2).index(16)) as u64));
342 let x109: u64 = (((*IndexConst(arg1).index(11)) as u64) * (((*IndexConst(arg2).index(15)) * 0x2) as u64));
343 let x110: u64 = (((*IndexConst(arg1).index(11)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
344 let x111: u64 = (((*IndexConst(arg1).index(11)) as u64) * ((*IndexConst(arg2).index(13)) as u64));
345 let x112: u64 = (((*IndexConst(arg1).index(11)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
346 let x113: u64 = (((*IndexConst(arg1).index(11)) as u64) * ((*IndexConst(arg2).index(11)) as u64));
347 let x114: u64 = (((*IndexConst(arg1).index(11)) as u64) * (((*IndexConst(arg2).index(10)) * 0x2) as u64));
348 let x115: u64 = (((*IndexConst(arg1).index(11)) as u64) * ((*IndexConst(arg2).index(9)) as u64));
349 let x116: u64 = (((*IndexConst(arg1).index(11)) as u64) * (((*IndexConst(arg2).index(8)) * 0x2) as u64));
350 let x117: u64 = (((*IndexConst(arg1).index(10)) as u64) * (((*IndexConst(arg2).index(18)) * 0x2) as u64));
351 let x118: u64 = (((*IndexConst(arg1).index(10)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
352 let x119: u64 = (((*IndexConst(arg1).index(10)) as u64) * (((*IndexConst(arg2).index(16)) * 0x2) as u64));
353 let x120: u64 = (((*IndexConst(arg1).index(10)) as u64) * (((*IndexConst(arg2).index(15)) * 0x2) as u64));
354 let x121: u64 = (((*IndexConst(arg1).index(10)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
355 let x122: u64 = (((*IndexConst(arg1).index(10)) as u64) * (((*IndexConst(arg2).index(13)) * 0x2) as u64));
356 let x123: u64 = (((*IndexConst(arg1).index(10)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
357 let x124: u64 = (((*IndexConst(arg1).index(10)) as u64) * (((*IndexConst(arg2).index(11)) * 0x2) as u64));
358 let x125: u64 = (((*IndexConst(arg1).index(10)) as u64) * (((*IndexConst(arg2).index(10)) * 0x2) as u64));
359 let x126: u64 = (((*IndexConst(arg1).index(10)) as u64) * (((*IndexConst(arg2).index(9)) * 0x2) as u64));
360 let x127: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg2).index(18)) as u64));
361 let x128: u64 = (((*IndexConst(arg1).index(9)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
362 let x129: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg2).index(16)) as u64));
363 let x130: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg2).index(15)) as u64));
364 let x131: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
365 let x132: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg2).index(13)) as u64));
366 let x133: u64 = (((*IndexConst(arg1).index(9)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
367 let x134: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg2).index(11)) as u64));
368 let x135: u64 = (((*IndexConst(arg1).index(9)) as u64) * (((*IndexConst(arg2).index(10)) * 0x2) as u64));
369 let x136: u64 = (((*IndexConst(arg1).index(8)) as u64) * (((*IndexConst(arg2).index(18)) * 0x2) as u64));
370 let x137: u64 = (((*IndexConst(arg1).index(8)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
371 let x138: u64 = (((*IndexConst(arg1).index(8)) as u64) * ((*IndexConst(arg2).index(16)) as u64));
372 let x139: u64 = (((*IndexConst(arg1).index(8)) as u64) * (((*IndexConst(arg2).index(15)) * 0x2) as u64));
373 let x140: u64 = (((*IndexConst(arg1).index(8)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
374 let x141: u64 = (((*IndexConst(arg1).index(8)) as u64) * (((*IndexConst(arg2).index(13)) * 0x2) as u64));
375 let x142: u64 = (((*IndexConst(arg1).index(8)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
376 let x143: u64 = (((*IndexConst(arg1).index(8)) as u64) * (((*IndexConst(arg2).index(11)) * 0x2) as u64));
377 let x144: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(18)) as u64));
378 let x145: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(17)) as u64));
379 let x146: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(16)) as u64));
380 let x147: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(15)) as u64));
381 let x148: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
382 let x149: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(13)) as u64));
383 let x150: u64 = (((*IndexConst(arg1).index(7)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
384 let x151: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((*IndexConst(arg2).index(18)) as u64));
385 let x152: u64 = (((*IndexConst(arg1).index(6)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
386 let x153: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((*IndexConst(arg2).index(16)) as u64));
387 let x154: u64 = (((*IndexConst(arg1).index(6)) as u64) * (((*IndexConst(arg2).index(15)) * 0x2) as u64));
388 let x155: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
389 let x156: u64 = (((*IndexConst(arg1).index(6)) as u64) * (((*IndexConst(arg2).index(13)) * 0x2) as u64));
390 let x157: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(18)) * 0x2) as u64));
391 let x158: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
392 let x159: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(16)) * 0x2) as u64));
393 let x160: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(15)) * 0x2) as u64));
394 let x161: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(14)) * 0x2) as u64));
395 let x162: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((*IndexConst(arg2).index(18)) as u64));
396 let x163: u64 = (((*IndexConst(arg1).index(4)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
397 let x164: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((*IndexConst(arg2).index(16)) as u64));
398 let x165: u64 = (((*IndexConst(arg1).index(4)) as u64) * (((*IndexConst(arg2).index(15)) * 0x2) as u64));
399 let x166: u64 = (((*IndexConst(arg1).index(3)) as u64) * (((*IndexConst(arg2).index(18)) * 0x2) as u64));
400 let x167: u64 = (((*IndexConst(arg1).index(3)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
401 let x168: u64 = (((*IndexConst(arg1).index(3)) as u64) * (((*IndexConst(arg2).index(16)) * 0x2) as u64));
402 let x169: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(18)) as u64));
403 let x170: u64 = (((*IndexConst(arg1).index(2)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
404 let x171: u64 = (((*IndexConst(arg1).index(1)) as u64) * (((*IndexConst(arg2).index(18)) * 0x2) as u64));
405 let x172: u64 = (((*IndexConst(arg1).index(18)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
406 let x173: u64 = (((*IndexConst(arg1).index(17)) as u64) * (((*IndexConst(arg2).index(1)) * 0x2) as u64));
407 let x174: u64 = (((*IndexConst(arg1).index(17)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
408 let x175: u64 = (((*IndexConst(arg1).index(16)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
409 let x176: u64 = (((*IndexConst(arg1).index(16)) as u64) * ((*IndexConst(arg2).index(1)) as u64));
410 let x177: u64 = (((*IndexConst(arg1).index(16)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
411 let x178: u64 = (((*IndexConst(arg1).index(15)) as u64) * (((*IndexConst(arg2).index(3)) * 0x2) as u64));
412 let x179: u64 = (((*IndexConst(arg1).index(15)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
413 let x180: u64 = (((*IndexConst(arg1).index(15)) as u64) * (((*IndexConst(arg2).index(1)) * 0x2) as u64));
414 let x181: u64 = (((*IndexConst(arg1).index(15)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
415 let x182: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(4)) as u64));
416 let x183: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(3)) as u64));
417 let x184: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
418 let x185: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(1)) as u64));
419 let x186: u64 = (((*IndexConst(arg1).index(14)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
420 let x187: u64 = (((*IndexConst(arg1).index(13)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
421 let x188: u64 = (((*IndexConst(arg1).index(13)) as u64) * ((*IndexConst(arg2).index(4)) as u64));
422 let x189: u64 = (((*IndexConst(arg1).index(13)) as u64) * (((*IndexConst(arg2).index(3)) * 0x2) as u64));
423 let x190: u64 = (((*IndexConst(arg1).index(13)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
424 let x191: u64 = (((*IndexConst(arg1).index(13)) as u64) * (((*IndexConst(arg2).index(1)) * 0x2) as u64));
425 let x192: u64 = (((*IndexConst(arg1).index(13)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
426 let x193: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(6)) * 0x2) as u64));
427 let x194: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
428 let x195: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(4)) * 0x2) as u64));
429 let x196: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(3)) * 0x2) as u64));
430 let x197: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(2)) * 0x2) as u64));
431 let x198: u64 = (((*IndexConst(arg1).index(12)) as u64) * (((*IndexConst(arg2).index(1)) * 0x2) as u64));
432 let x199: u64 = (((*IndexConst(arg1).index(12)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
433 let x200: u64 = (((*IndexConst(arg1).index(11)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
434 let x201: u64 = (((*IndexConst(arg1).index(11)) as u64) * ((*IndexConst(arg2).index(6)) as u64));
435 let x202: u64 = (((*IndexConst(arg1).index(11)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
436 let x203: u64 = (((*IndexConst(arg1).index(11)) as u64) * ((*IndexConst(arg2).index(4)) as u64));
437 let x204: u64 = (((*IndexConst(arg1).index(11)) as u64) * (((*IndexConst(arg2).index(3)) * 0x2) as u64));
438 let x205: u64 = (((*IndexConst(arg1).index(11)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
439 let x206: u64 = (((*IndexConst(arg1).index(11)) as u64) * ((*IndexConst(arg2).index(1)) as u64));
440 let x207: u64 = (((*IndexConst(arg1).index(11)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
441 let x208: u64 = (((*IndexConst(arg1).index(10)) as u64) * (((*IndexConst(arg2).index(8)) * 0x2) as u64));
442 let x209: u64 = (((*IndexConst(arg1).index(10)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
443 let x210: u64 = (((*IndexConst(arg1).index(10)) as u64) * (((*IndexConst(arg2).index(6)) * 0x2) as u64));
444 let x211: u64 = (((*IndexConst(arg1).index(10)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
445 let x212: u64 = (((*IndexConst(arg1).index(10)) as u64) * (((*IndexConst(arg2).index(4)) * 0x2) as u64));
446 let x213: u64 = (((*IndexConst(arg1).index(10)) as u64) * (((*IndexConst(arg2).index(3)) * 0x2) as u64));
447 let x214: u64 = (((*IndexConst(arg1).index(10)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
448 let x215: u64 = (((*IndexConst(arg1).index(10)) as u64) * (((*IndexConst(arg2).index(1)) * 0x2) as u64));
449 let x216: u64 = (((*IndexConst(arg1).index(10)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
450 let x217: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg2).index(9)) as u64));
451 let x218: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg2).index(8)) as u64));
452 let x219: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
453 let x220: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg2).index(6)) as u64));
454 let x221: u64 = (((*IndexConst(arg1).index(9)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
455 let x222: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg2).index(4)) as u64));
456 let x223: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg2).index(3)) as u64));
457 let x224: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
458 let x225: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg2).index(1)) as u64));
459 let x226: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
460 let x227: u64 = (((*IndexConst(arg1).index(8)) as u64) * (((*IndexConst(arg2).index(10)) * 0x2) as u64));
461 let x228: u64 = (((*IndexConst(arg1).index(8)) as u64) * ((*IndexConst(arg2).index(9)) as u64));
462 let x229: u64 = (((*IndexConst(arg1).index(8)) as u64) * (((*IndexConst(arg2).index(8)) * 0x2) as u64));
463 let x230: u64 = (((*IndexConst(arg1).index(8)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
464 let x231: u64 = (((*IndexConst(arg1).index(8)) as u64) * (((*IndexConst(arg2).index(6)) * 0x2) as u64));
465 let x232: u64 = (((*IndexConst(arg1).index(8)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
466 let x233: u64 = (((*IndexConst(arg1).index(8)) as u64) * ((*IndexConst(arg2).index(4)) as u64));
467 let x234: u64 = (((*IndexConst(arg1).index(8)) as u64) * (((*IndexConst(arg2).index(3)) * 0x2) as u64));
468 let x235: u64 = (((*IndexConst(arg1).index(8)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
469 let x236: u64 = (((*IndexConst(arg1).index(8)) as u64) * (((*IndexConst(arg2).index(1)) * 0x2) as u64));
470 let x237: u64 = (((*IndexConst(arg1).index(8)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
471 let x238: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(11)) as u64));
472 let x239: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(10)) as u64));
473 let x240: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(9)) as u64));
474 let x241: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(8)) as u64));
475 let x242: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
476 let x243: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(6)) as u64));
477 let x244: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(5)) as u64));
478 let x245: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(4)) as u64));
479 let x246: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(3)) as u64));
480 let x247: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
481 let x248: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(1)) as u64));
482 let x249: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
483 let x250: u64 = (((*IndexConst(arg1).index(6)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
484 let x251: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((*IndexConst(arg2).index(11)) as u64));
485 let x252: u64 = (((*IndexConst(arg1).index(6)) as u64) * (((*IndexConst(arg2).index(10)) * 0x2) as u64));
486 let x253: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((*IndexConst(arg2).index(9)) as u64));
487 let x254: u64 = (((*IndexConst(arg1).index(6)) as u64) * (((*IndexConst(arg2).index(8)) * 0x2) as u64));
488 let x255: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
489 let x256: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((*IndexConst(arg2).index(6)) as u64));
490 let x257: u64 = (((*IndexConst(arg1).index(6)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
491 let x258: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((*IndexConst(arg2).index(4)) as u64));
492 let x259: u64 = (((*IndexConst(arg1).index(6)) as u64) * (((*IndexConst(arg2).index(3)) * 0x2) as u64));
493 let x260: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
494 let x261: u64 = (((*IndexConst(arg1).index(6)) as u64) * (((*IndexConst(arg2).index(1)) * 0x2) as u64));
495 let x262: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
496 let x263: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(13)) * 0x2) as u64));
497 let x264: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
498 let x265: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(11)) * 0x2) as u64));
499 let x266: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(10)) * 0x2) as u64));
500 let x267: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(9)) * 0x2) as u64));
501 let x268: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(8)) * 0x2) as u64));
502 let x269: u64 = (((*IndexConst(arg1).index(5)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
503 let x270: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(6)) * 0x2) as u64));
504 let x271: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
505 let x272: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(4)) * 0x2) as u64));
506 let x273: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(3)) * 0x2) as u64));
507 let x274: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(2)) * 0x2) as u64));
508 let x275: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg2).index(1)) * 0x2) as u64));
509 let x276: u64 = (((*IndexConst(arg1).index(5)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
510 let x277: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
511 let x278: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((*IndexConst(arg2).index(13)) as u64));
512 let x279: u64 = (((*IndexConst(arg1).index(4)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
513 let x280: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((*IndexConst(arg2).index(11)) as u64));
514 let x281: u64 = (((*IndexConst(arg1).index(4)) as u64) * (((*IndexConst(arg2).index(10)) * 0x2) as u64));
515 let x282: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((*IndexConst(arg2).index(9)) as u64));
516 let x283: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((*IndexConst(arg2).index(8)) as u64));
517 let x284: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
518 let x285: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((*IndexConst(arg2).index(6)) as u64));
519 let x286: u64 = (((*IndexConst(arg1).index(4)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
520 let x287: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((*IndexConst(arg2).index(4)) as u64));
521 let x288: u64 = (((*IndexConst(arg1).index(4)) as u64) * (((*IndexConst(arg2).index(3)) * 0x2) as u64));
522 let x289: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
523 let x290: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((*IndexConst(arg2).index(1)) as u64));
524 let x291: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
525 let x292: u64 = (((*IndexConst(arg1).index(3)) as u64) * (((*IndexConst(arg2).index(15)) * 0x2) as u64));
526 let x293: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
527 let x294: u64 = (((*IndexConst(arg1).index(3)) as u64) * (((*IndexConst(arg2).index(13)) * 0x2) as u64));
528 let x295: u64 = (((*IndexConst(arg1).index(3)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
529 let x296: u64 = (((*IndexConst(arg1).index(3)) as u64) * (((*IndexConst(arg2).index(11)) * 0x2) as u64));
530 let x297: u64 = (((*IndexConst(arg1).index(3)) as u64) * (((*IndexConst(arg2).index(10)) * 0x2) as u64));
531 let x298: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((*IndexConst(arg2).index(9)) as u64));
532 let x299: u64 = (((*IndexConst(arg1).index(3)) as u64) * (((*IndexConst(arg2).index(8)) * 0x2) as u64));
533 let x300: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
534 let x301: u64 = (((*IndexConst(arg1).index(3)) as u64) * (((*IndexConst(arg2).index(6)) * 0x2) as u64));
535 let x302: u64 = (((*IndexConst(arg1).index(3)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
536 let x303: u64 = (((*IndexConst(arg1).index(3)) as u64) * (((*IndexConst(arg2).index(4)) * 0x2) as u64));
537 let x304: u64 = (((*IndexConst(arg1).index(3)) as u64) * (((*IndexConst(arg2).index(3)) * 0x2) as u64));
538 let x305: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
539 let x306: u64 = (((*IndexConst(arg1).index(3)) as u64) * (((*IndexConst(arg2).index(1)) * 0x2) as u64));
540 let x307: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
541 let x308: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(16)) as u64));
542 let x309: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(15)) as u64));
543 let x310: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
544 let x311: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(13)) as u64));
545 let x312: u64 = (((*IndexConst(arg1).index(2)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
546 let x313: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(11)) as u64));
547 let x314: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(10)) as u64));
548 let x315: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(9)) as u64));
549 let x316: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(8)) as u64));
550 let x317: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
551 let x318: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(6)) as u64));
552 let x319: u64 = (((*IndexConst(arg1).index(2)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
553 let x320: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(4)) as u64));
554 let x321: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(3)) as u64));
555 let x322: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
556 let x323: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(1)) as u64));
557 let x324: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
558 let x325: u64 = (((*IndexConst(arg1).index(1)) as u64) * (((*IndexConst(arg2).index(17)) * 0x2) as u64));
559 let x326: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((*IndexConst(arg2).index(16)) as u64));
560 let x327: u64 = (((*IndexConst(arg1).index(1)) as u64) * (((*IndexConst(arg2).index(15)) * 0x2) as u64));
561 let x328: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
562 let x329: u64 = (((*IndexConst(arg1).index(1)) as u64) * (((*IndexConst(arg2).index(13)) * 0x2) as u64));
563 let x330: u64 = (((*IndexConst(arg1).index(1)) as u64) * (((*IndexConst(arg2).index(12)) * 0x2) as u64));
564 let x331: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((*IndexConst(arg2).index(11)) as u64));
565 let x332: u64 = (((*IndexConst(arg1).index(1)) as u64) * (((*IndexConst(arg2).index(10)) * 0x2) as u64));
566 let x333: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((*IndexConst(arg2).index(9)) as u64));
567 let x334: u64 = (((*IndexConst(arg1).index(1)) as u64) * (((*IndexConst(arg2).index(8)) * 0x2) as u64));
568 let x335: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
569 let x336: u64 = (((*IndexConst(arg1).index(1)) as u64) * (((*IndexConst(arg2).index(6)) * 0x2) as u64));
570 let x337: u64 = (((*IndexConst(arg1).index(1)) as u64) * (((*IndexConst(arg2).index(5)) * 0x2) as u64));
571 let x338: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((*IndexConst(arg2).index(4)) as u64));
572 let x339: u64 = (((*IndexConst(arg1).index(1)) as u64) * (((*IndexConst(arg2).index(3)) * 0x2) as u64));
573 let x340: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
574 let x341: u64 = (((*IndexConst(arg1).index(1)) as u64) * (((*IndexConst(arg2).index(1)) * 0x2) as u64));
575 let x342: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
576 let x343: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(18)) as u64));
577 let x344: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(17)) as u64));
578 let x345: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(16)) as u64));
579 let x346: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(15)) as u64));
580 let x347: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(14)) as u64));
581 let x348: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(13)) as u64));
582 let x349: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(12)) as u64));
583 let x350: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(11)) as u64));
584 let x351: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(10)) as u64));
585 let x352: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(9)) as u64));
586 let x353: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(8)) as u64));
587 let x354: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(7)) as u64));
588 let x355: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(6)) as u64));
589 let x356: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(5)) as u64));
590 let x357: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(4)) as u64));
591 let x358: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(3)) as u64));
592 let x359: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(2)) as u64));
593 let x360: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(1)) as u64));
594 let x361: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg2).index(0)) as u64));
595 let x362: u64 = (x361 + (x171 + (x170 + (x168 + (x165 + (x161 + (x156 + (x150 + (x143 + (x135 + (x126 + (x116 + (x105 + (x93 + (x80 + (x66 + (x51 + (x35 + x18))))))))))))))))));
596 let x363: u64 = (x362 >> 28);
597 let x364: u32 = ((x362 & (0xfffffff as u64)) as u32);
598 let x365: u64 = (x343 + (x325 + (x308 + (x292 + (x277 + (x263 + (x250 + (x238 + (x227 + (x217 + (x208 + (x200 + (x193 + (x187 + (x182 + (x178 + (x175 + (x173 + x172))))))))))))))))));
599 let x366: u64 = (x344 + (x326 + (x309 + (x293 + (x278 + (x264 + (x251 + (x239 + (x228 + (x218 + (x209 + (x201 + (x194 + (x188 + (x183 + (x179 + (x176 + (x174 + x1))))))))))))))))));
600 let x367: u64 = (x345 + (x327 + (x310 + (x294 + (x279 + (x265 + (x252 + (x240 + (x229 + (x219 + (x210 + (x202 + (x195 + (x189 + (x184 + (x180 + (x177 + (x19 + x2))))))))))))))))));
601 let x368: u64 = (x346 + (x328 + (x311 + (x295 + (x280 + (x266 + (x253 + (x241 + (x230 + (x220 + (x211 + (x203 + (x196 + (x190 + (x185 + (x181 + (x36 + (x20 + x3))))))))))))))))));
602 let x369: u64 = (x347 + (x329 + (x312 + (x296 + (x281 + (x267 + (x254 + (x242 + (x231 + (x221 + (x212 + (x204 + (x197 + (x191 + (x186 + (x52 + (x37 + (x21 + x4))))))))))))))))));
603 let x370: u64 = (x348 + (x330 + (x313 + (x297 + (x282 + (x268 + (x255 + (x243 + (x232 + (x222 + (x213 + (x205 + (x198 + (x192 + (x67 + (x53 + (x38 + (x22 + x5))))))))))))))))));
604 let x371: u64 = (x349 + (x331 + (x314 + (x298 + (x283 + (x269 + (x256 + (x244 + (x233 + (x223 + (x214 + (x206 + (x199 + (x81 + (x68 + (x54 + (x39 + (x23 + x6))))))))))))))))));
605 let x372: u64 = (x350 + (x332 + (x315 + (x299 + (x284 + (x270 + (x257 + (x245 + (x234 + (x224 + (x215 + (x207 + (x94 + (x82 + (x69 + (x55 + (x40 + (x24 + x7))))))))))))))))));
606 let x373: u64 = (x351 + (x333 + (x316 + (x300 + (x285 + (x271 + (x258 + (x246 + (x235 + (x225 + (x216 + (x106 + (x95 + (x83 + (x70 + (x56 + (x41 + (x25 + x8))))))))))))))))));
607 let x374: u64 = (x352 + (x334 + (x317 + (x301 + (x286 + (x272 + (x259 + (x247 + (x236 + (x226 + (x117 + (x107 + (x96 + (x84 + (x71 + (x57 + (x42 + (x26 + x9))))))))))))))))));
608 let x375: u64 = (x353 + (x335 + (x318 + (x302 + (x287 + (x273 + (x260 + (x248 + (x237 + (x127 + (x118 + (x108 + (x97 + (x85 + (x72 + (x58 + (x43 + (x27 + x10))))))))))))))))));
609 let x376: u64 = (x354 + (x336 + (x319 + (x303 + (x288 + (x274 + (x261 + (x249 + (x136 + (x128 + (x119 + (x109 + (x98 + (x86 + (x73 + (x59 + (x44 + (x28 + x11))))))))))))))))));
610 let x377: u64 = (x355 + (x337 + (x320 + (x304 + (x289 + (x275 + (x262 + (x144 + (x137 + (x129 + (x120 + (x110 + (x99 + (x87 + (x74 + (x60 + (x45 + (x29 + x12))))))))))))))))));
611 let x378: u64 = (x356 + (x338 + (x321 + (x305 + (x290 + (x276 + (x151 + (x145 + (x138 + (x130 + (x121 + (x111 + (x100 + (x88 + (x75 + (x61 + (x46 + (x30 + x13))))))))))))))))));
612 let x379: u64 = (x357 + (x339 + (x322 + (x306 + (x291 + (x157 + (x152 + (x146 + (x139 + (x131 + (x122 + (x112 + (x101 + (x89 + (x76 + (x62 + (x47 + (x31 + x14))))))))))))))))));
613 let x380: u64 = (x358 + (x340 + (x323 + (x307 + (x162 + (x158 + (x153 + (x147 + (x140 + (x132 + (x123 + (x113 + (x102 + (x90 + (x77 + (x63 + (x48 + (x32 + x15))))))))))))))))));
614 let x381: u64 = (x359 + (x341 + (x324 + (x166 + (x163 + (x159 + (x154 + (x148 + (x141 + (x133 + (x124 + (x114 + (x103 + (x91 + (x78 + (x64 + (x49 + (x33 + x16))))))))))))))))));
615 let x382: u64 = (x360 + (x342 + (x169 + (x167 + (x164 + (x160 + (x155 + (x149 + (x142 + (x134 + (x125 + (x115 + (x104 + (x92 + (x79 + (x65 + (x50 + (x34 + x17))))))))))))))))));
616 let x383: u64 = (x363 + x382);
617 let x384: u64 = (x383 >> 27);
618 let x385: u32 = ((x383 & (0x7ffffff as u64)) as u32);
619 let x386: u64 = (x384 + x381);
620 let x387: u64 = (x386 >> 28);
621 let x388: u32 = ((x386 & (0xfffffff as u64)) as u32);
622 let x389: u64 = (x387 + x380);
623 let x390: u64 = (x389 >> 27);
624 let x391: u32 = ((x389 & (0x7ffffff as u64)) as u32);
625 let x392: u64 = (x390 + x379);
626 let x393: u64 = (x392 >> 28);
627 let x394: u32 = ((x392 & (0xfffffff as u64)) as u32);
628 let x395: u64 = (x393 + x378);
629 let x396: u64 = (x395 >> 27);
630 let x397: u32 = ((x395 & (0x7ffffff as u64)) as u32);
631 let x398: u64 = (x396 + x377);
632 let x399: u64 = (x398 >> 27);
633 let x400: u32 = ((x398 & (0x7ffffff as u64)) as u32);
634 let x401: u64 = (x399 + x376);
635 let x402: u64 = (x401 >> 28);
636 let x403: u32 = ((x401 & (0xfffffff as u64)) as u32);
637 let x404: u64 = (x402 + x375);
638 let x405: u64 = (x404 >> 27);
639 let x406: u32 = ((x404 & (0x7ffffff as u64)) as u32);
640 let x407: u64 = (x405 + x374);
641 let x408: u64 = (x407 >> 28);
642 let x409: u32 = ((x407 & (0xfffffff as u64)) as u32);
643 let x410: u64 = (x408 + x373);
644 let x411: u64 = (x410 >> 27);
645 let x412: u32 = ((x410 & (0x7ffffff as u64)) as u32);
646 let x413: u64 = (x411 + x372);
647 let x414: u64 = (x413 >> 28);
648 let x415: u32 = ((x413 & (0xfffffff as u64)) as u32);
649 let x416: u64 = (x414 + x371);
650 let x417: u64 = (x416 >> 27);
651 let x418: u32 = ((x416 & (0x7ffffff as u64)) as u32);
652 let x419: u64 = (x417 + x370);
653 let x420: u64 = (x419 >> 27);
654 let x421: u32 = ((x419 & (0x7ffffff as u64)) as u32);
655 let x422: u64 = (x420 + x369);
656 let x423: u64 = (x422 >> 28);
657 let x424: u32 = ((x422 & (0xfffffff as u64)) as u32);
658 let x425: u64 = (x423 + x368);
659 let x426: u64 = (x425 >> 27);
660 let x427: u32 = ((x425 & (0x7ffffff as u64)) as u32);
661 let x428: u64 = (x426 + x367);
662 let x429: u64 = (x428 >> 28);
663 let x430: u32 = ((x428 & (0xfffffff as u64)) as u32);
664 let x431: u64 = (x429 + x366);
665 let x432: u64 = (x431 >> 27);
666 let x433: u32 = ((x431 & (0x7ffffff as u64)) as u32);
667 let x434: u64 = (x432 + x365);
668 let x435: u64 = (x434 >> 27);
669 let x436: u32 = ((x434 & (0x7ffffff as u64)) as u32);
670 let x437: u64 = ((x364 as u64) + x435);
671 let x438: u32 = ((x437 >> 28) as u32);
672 let x439: u32 = ((x437 & (0xfffffff as u64)) as u32);
673 let x440: u32 = (x438 + x385);
674 let x441: fiat_p521_u1 = ((x440 >> 27) as fiat_p521_u1);
675 let x442: u32 = (x440 & 0x7ffffff);
676 let x443: u32 = ((x441 as u32) + x388);
677 *IndexConst(&mut out1).index_mut(0) = x439;
678 *IndexConst(&mut out1).index_mut(1) = x442;
679 *IndexConst(&mut out1).index_mut(2) = x443;
680 *IndexConst(&mut out1).index_mut(3) = x391;
681 *IndexConst(&mut out1).index_mut(4) = x394;
682 *IndexConst(&mut out1).index_mut(5) = x397;
683 *IndexConst(&mut out1).index_mut(6) = x400;
684 *IndexConst(&mut out1).index_mut(7) = x403;
685 *IndexConst(&mut out1).index_mut(8) = x406;
686 *IndexConst(&mut out1).index_mut(9) = x409;
687 *IndexConst(&mut out1).index_mut(10) = x412;
688 *IndexConst(&mut out1).index_mut(11) = x415;
689 *IndexConst(&mut out1).index_mut(12) = x418;
690 *IndexConst(&mut out1).index_mut(13) = x421;
691 *IndexConst(&mut out1).index_mut(14) = x424;
692 *IndexConst(&mut out1).index_mut(15) = x427;
693 *IndexConst(&mut out1).index_mut(16) = x430;
694 *IndexConst(&mut out1).index_mut(17) = x433;
695 *IndexConst(&mut out1).index_mut(18) = x436;
696}
697
698#[inline]
704pub const fn fiat_p521_carry_square(mut out1: &mut fiat_p521_tight_field_element, arg1: &fiat_p521_loose_field_element) {
705 let x1: u32 = (*IndexConst(arg1).index(18));
706 let x2: u32 = (x1 * 0x2);
707 let x3: u32 = ((*IndexConst(arg1).index(18)) * 0x2);
708 let x4: u32 = (*IndexConst(arg1).index(17));
709 let x5: u32 = (x4 * 0x2);
710 let x6: u32 = ((*IndexConst(arg1).index(17)) * 0x2);
711 let x7: u32 = (*IndexConst(arg1).index(16));
712 let x8: u32 = (x7 * 0x2);
713 let x9: u32 = ((*IndexConst(arg1).index(16)) * 0x2);
714 let x10: u32 = (*IndexConst(arg1).index(15));
715 let x11: u32 = (x10 * 0x2);
716 let x12: u32 = ((*IndexConst(arg1).index(15)) * 0x2);
717 let x13: u32 = (*IndexConst(arg1).index(14));
718 let x14: u32 = (x13 * 0x2);
719 let x15: u32 = ((*IndexConst(arg1).index(14)) * 0x2);
720 let x16: u32 = (*IndexConst(arg1).index(13));
721 let x17: u32 = (x16 * 0x2);
722 let x18: u32 = ((*IndexConst(arg1).index(13)) * 0x2);
723 let x19: u32 = (*IndexConst(arg1).index(12));
724 let x20: u32 = (x19 * 0x2);
725 let x21: u32 = ((*IndexConst(arg1).index(12)) * 0x2);
726 let x22: u32 = (*IndexConst(arg1).index(11));
727 let x23: u32 = (x22 * 0x2);
728 let x24: u32 = ((*IndexConst(arg1).index(11)) * 0x2);
729 let x25: u32 = (*IndexConst(arg1).index(10));
730 let x26: u32 = (x25 * 0x2);
731 let x27: u32 = ((*IndexConst(arg1).index(10)) * 0x2);
732 let x28: u32 = ((*IndexConst(arg1).index(9)) * 0x2);
733 let x29: u32 = ((*IndexConst(arg1).index(8)) * 0x2);
734 let x30: u32 = ((*IndexConst(arg1).index(7)) * 0x2);
735 let x31: u32 = ((*IndexConst(arg1).index(6)) * 0x2);
736 let x32: u32 = ((*IndexConst(arg1).index(5)) * 0x2);
737 let x33: u32 = ((*IndexConst(arg1).index(4)) * 0x2);
738 let x34: u32 = ((*IndexConst(arg1).index(3)) * 0x2);
739 let x35: u32 = ((*IndexConst(arg1).index(2)) * 0x2);
740 let x36: u32 = ((*IndexConst(arg1).index(1)) * 0x2);
741 let x37: u64 = (((*IndexConst(arg1).index(18)) as u64) * (x1 as u64));
742 let x38: u64 = (((*IndexConst(arg1).index(17)) as u64) * ((x2 * 0x2) as u64));
743 let x39: u64 = (((*IndexConst(arg1).index(17)) as u64) * ((x4 * 0x2) as u64));
744 let x40: u64 = (((*IndexConst(arg1).index(16)) as u64) * (x2 as u64));
745 let x41: u64 = (((*IndexConst(arg1).index(16)) as u64) * ((x5 * 0x2) as u64));
746 let x42: u64 = (((*IndexConst(arg1).index(16)) as u64) * (x7 as u64));
747 let x43: u64 = (((*IndexConst(arg1).index(15)) as u64) * ((x2 * 0x2) as u64));
748 let x44: u64 = (((*IndexConst(arg1).index(15)) as u64) * ((x5 * 0x2) as u64));
749 let x45: u64 = (((*IndexConst(arg1).index(15)) as u64) * (x8 as u64));
750 let x46: u64 = (((*IndexConst(arg1).index(15)) as u64) * ((x10 * 0x2) as u64));
751 let x47: u64 = (((*IndexConst(arg1).index(14)) as u64) * (x2 as u64));
752 let x48: u64 = (((*IndexConst(arg1).index(14)) as u64) * (x5 as u64));
753 let x49: u64 = (((*IndexConst(arg1).index(14)) as u64) * (x8 as u64));
754 let x50: u64 = (((*IndexConst(arg1).index(14)) as u64) * (x11 as u64));
755 let x51: u64 = (((*IndexConst(arg1).index(14)) as u64) * (x13 as u64));
756 let x52: u64 = (((*IndexConst(arg1).index(13)) as u64) * (x2 as u64));
757 let x53: u64 = (((*IndexConst(arg1).index(13)) as u64) * ((x5 * 0x2) as u64));
758 let x54: u64 = (((*IndexConst(arg1).index(13)) as u64) * (x8 as u64));
759 let x55: u64 = (((*IndexConst(arg1).index(13)) as u64) * ((x11 * 0x2) as u64));
760 let x56: u64 = (((*IndexConst(arg1).index(13)) as u64) * (x14 as u64));
761 let x57: u64 = (((*IndexConst(arg1).index(13)) as u64) * ((x16 * 0x2) as u64));
762 let x58: u64 = (((*IndexConst(arg1).index(12)) as u64) * ((x2 * 0x2) as u64));
763 let x59: u64 = (((*IndexConst(arg1).index(12)) as u64) * ((x5 * 0x2) as u64));
764 let x60: u64 = (((*IndexConst(arg1).index(12)) as u64) * ((x8 * 0x2) as u64));
765 let x61: u64 = (((*IndexConst(arg1).index(12)) as u64) * ((x11 * 0x2) as u64));
766 let x62: u64 = (((*IndexConst(arg1).index(12)) as u64) * ((x14 * 0x2) as u64));
767 let x63: u64 = (((*IndexConst(arg1).index(12)) as u64) * ((x17 * 0x2) as u64));
768 let x64: u64 = (((*IndexConst(arg1).index(12)) as u64) * ((x19 * 0x2) as u64));
769 let x65: u64 = (((*IndexConst(arg1).index(11)) as u64) * (x2 as u64));
770 let x66: u64 = (((*IndexConst(arg1).index(11)) as u64) * ((x5 * 0x2) as u64));
771 let x67: u64 = (((*IndexConst(arg1).index(11)) as u64) * (x8 as u64));
772 let x68: u64 = (((*IndexConst(arg1).index(11)) as u64) * ((x11 * 0x2) as u64));
773 let x69: u64 = (((*IndexConst(arg1).index(11)) as u64) * (x14 as u64));
774 let x70: u64 = (((*IndexConst(arg1).index(11)) as u64) * (x17 as u64));
775 let x71: u64 = (((*IndexConst(arg1).index(11)) as u64) * ((x20 * 0x2) as u64));
776 let x72: u64 = (((*IndexConst(arg1).index(11)) as u64) * (x22 as u64));
777 let x73: u64 = (((*IndexConst(arg1).index(10)) as u64) * ((x2 * 0x2) as u64));
778 let x74: u64 = (((*IndexConst(arg1).index(10)) as u64) * ((x5 * 0x2) as u64));
779 let x75: u64 = (((*IndexConst(arg1).index(10)) as u64) * ((x8 * 0x2) as u64));
780 let x76: u64 = (((*IndexConst(arg1).index(10)) as u64) * ((x11 * 0x2) as u64));
781 let x77: u64 = (((*IndexConst(arg1).index(10)) as u64) * (x14 as u64));
782 let x78: u64 = (((*IndexConst(arg1).index(10)) as u64) * ((x17 * 0x2) as u64));
783 let x79: u64 = (((*IndexConst(arg1).index(10)) as u64) * ((x20 * 0x2) as u64));
784 let x80: u64 = (((*IndexConst(arg1).index(10)) as u64) * ((x23 * 0x2) as u64));
785 let x81: u64 = (((*IndexConst(arg1).index(10)) as u64) * ((x25 * 0x2) as u64));
786 let x82: u64 = (((*IndexConst(arg1).index(9)) as u64) * (x2 as u64));
787 let x83: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((x5 * 0x2) as u64));
788 let x84: u64 = (((*IndexConst(arg1).index(9)) as u64) * (x8 as u64));
789 let x85: u64 = (((*IndexConst(arg1).index(9)) as u64) * (x11 as u64));
790 let x86: u64 = (((*IndexConst(arg1).index(9)) as u64) * (x14 as u64));
791 let x87: u64 = (((*IndexConst(arg1).index(9)) as u64) * (x17 as u64));
792 let x88: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((x20 * 0x2) as u64));
793 let x89: u64 = (((*IndexConst(arg1).index(9)) as u64) * (x23 as u64));
794 let x90: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((x26 * 0x2) as u64));
795 let x91: u64 = (((*IndexConst(arg1).index(9)) as u64) * ((*IndexConst(arg1).index(9)) as u64));
796 let x92: u64 = (((*IndexConst(arg1).index(8)) as u64) * ((x2 * 0x2) as u64));
797 let x93: u64 = (((*IndexConst(arg1).index(8)) as u64) * ((x5 * 0x2) as u64));
798 let x94: u64 = (((*IndexConst(arg1).index(8)) as u64) * (x8 as u64));
799 let x95: u64 = (((*IndexConst(arg1).index(8)) as u64) * ((x11 * 0x2) as u64));
800 let x96: u64 = (((*IndexConst(arg1).index(8)) as u64) * (x14 as u64));
801 let x97: u64 = (((*IndexConst(arg1).index(8)) as u64) * ((x17 * 0x2) as u64));
802 let x98: u64 = (((*IndexConst(arg1).index(8)) as u64) * ((x20 * 0x2) as u64));
803 let x99: u64 = (((*IndexConst(arg1).index(8)) as u64) * ((x23 * 0x2) as u64));
804 let x100: u64 = (((*IndexConst(arg1).index(8)) as u64) * ((x27 * 0x2) as u64));
805 let x101: u64 = (((*IndexConst(arg1).index(8)) as u64) * (x28 as u64));
806 let x102: u64 = (((*IndexConst(arg1).index(8)) as u64) * (((*IndexConst(arg1).index(8)) * 0x2) as u64));
807 let x103: u64 = (((*IndexConst(arg1).index(7)) as u64) * (x2 as u64));
808 let x104: u64 = (((*IndexConst(arg1).index(7)) as u64) * (x5 as u64));
809 let x105: u64 = (((*IndexConst(arg1).index(7)) as u64) * (x8 as u64));
810 let x106: u64 = (((*IndexConst(arg1).index(7)) as u64) * (x11 as u64));
811 let x107: u64 = (((*IndexConst(arg1).index(7)) as u64) * (x14 as u64));
812 let x108: u64 = (((*IndexConst(arg1).index(7)) as u64) * (x17 as u64));
813 let x109: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((x20 * 0x2) as u64));
814 let x110: u64 = (((*IndexConst(arg1).index(7)) as u64) * (x24 as u64));
815 let x111: u64 = (((*IndexConst(arg1).index(7)) as u64) * (x27 as u64));
816 let x112: u64 = (((*IndexConst(arg1).index(7)) as u64) * (x28 as u64));
817 let x113: u64 = (((*IndexConst(arg1).index(7)) as u64) * (x29 as u64));
818 let x114: u64 = (((*IndexConst(arg1).index(7)) as u64) * ((*IndexConst(arg1).index(7)) as u64));
819 let x115: u64 = (((*IndexConst(arg1).index(6)) as u64) * (x2 as u64));
820 let x116: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((x5 * 0x2) as u64));
821 let x117: u64 = (((*IndexConst(arg1).index(6)) as u64) * (x8 as u64));
822 let x118: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((x11 * 0x2) as u64));
823 let x119: u64 = (((*IndexConst(arg1).index(6)) as u64) * (x14 as u64));
824 let x120: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((x17 * 0x2) as u64));
825 let x121: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((x21 * 0x2) as u64));
826 let x122: u64 = (((*IndexConst(arg1).index(6)) as u64) * (x24 as u64));
827 let x123: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((x27 * 0x2) as u64));
828 let x124: u64 = (((*IndexConst(arg1).index(6)) as u64) * (x28 as u64));
829 let x125: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((x29 * 0x2) as u64));
830 let x126: u64 = (((*IndexConst(arg1).index(6)) as u64) * (x30 as u64));
831 let x127: u64 = (((*IndexConst(arg1).index(6)) as u64) * ((*IndexConst(arg1).index(6)) as u64));
832 let x128: u64 = (((*IndexConst(arg1).index(5)) as u64) * ((x2 * 0x2) as u64));
833 let x129: u64 = (((*IndexConst(arg1).index(5)) as u64) * ((x5 * 0x2) as u64));
834 let x130: u64 = (((*IndexConst(arg1).index(5)) as u64) * ((x8 * 0x2) as u64));
835 let x131: u64 = (((*IndexConst(arg1).index(5)) as u64) * ((x11 * 0x2) as u64));
836 let x132: u64 = (((*IndexConst(arg1).index(5)) as u64) * ((x14 * 0x2) as u64));
837 let x133: u64 = (((*IndexConst(arg1).index(5)) as u64) * ((x18 * 0x2) as u64));
838 let x134: u64 = (((*IndexConst(arg1).index(5)) as u64) * ((x21 * 0x2) as u64));
839 let x135: u64 = (((*IndexConst(arg1).index(5)) as u64) * ((x24 * 0x2) as u64));
840 let x136: u64 = (((*IndexConst(arg1).index(5)) as u64) * ((x27 * 0x2) as u64));
841 let x137: u64 = (((*IndexConst(arg1).index(5)) as u64) * ((x28 * 0x2) as u64));
842 let x138: u64 = (((*IndexConst(arg1).index(5)) as u64) * ((x29 * 0x2) as u64));
843 let x139: u64 = (((*IndexConst(arg1).index(5)) as u64) * (x30 as u64));
844 let x140: u64 = (((*IndexConst(arg1).index(5)) as u64) * ((x31 * 0x2) as u64));
845 let x141: u64 = (((*IndexConst(arg1).index(5)) as u64) * (((*IndexConst(arg1).index(5)) * 0x2) as u64));
846 let x142: u64 = (((*IndexConst(arg1).index(4)) as u64) * (x2 as u64));
847 let x143: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((x5 * 0x2) as u64));
848 let x144: u64 = (((*IndexConst(arg1).index(4)) as u64) * (x8 as u64));
849 let x145: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((x11 * 0x2) as u64));
850 let x146: u64 = (((*IndexConst(arg1).index(4)) as u64) * (x15 as u64));
851 let x147: u64 = (((*IndexConst(arg1).index(4)) as u64) * (x18 as u64));
852 let x148: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((x21 * 0x2) as u64));
853 let x149: u64 = (((*IndexConst(arg1).index(4)) as u64) * (x24 as u64));
854 let x150: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((x27 * 0x2) as u64));
855 let x151: u64 = (((*IndexConst(arg1).index(4)) as u64) * (x28 as u64));
856 let x152: u64 = (((*IndexConst(arg1).index(4)) as u64) * (x29 as u64));
857 let x153: u64 = (((*IndexConst(arg1).index(4)) as u64) * (x30 as u64));
858 let x154: u64 = (((*IndexConst(arg1).index(4)) as u64) * (x31 as u64));
859 let x155: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((x32 * 0x2) as u64));
860 let x156: u64 = (((*IndexConst(arg1).index(4)) as u64) * ((*IndexConst(arg1).index(4)) as u64));
861 let x157: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((x2 * 0x2) as u64));
862 let x158: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((x5 * 0x2) as u64));
863 let x159: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((x8 * 0x2) as u64));
864 let x160: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((x12 * 0x2) as u64));
865 let x161: u64 = (((*IndexConst(arg1).index(3)) as u64) * (x15 as u64));
866 let x162: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((x18 * 0x2) as u64));
867 let x163: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((x21 * 0x2) as u64));
868 let x164: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((x24 * 0x2) as u64));
869 let x165: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((x27 * 0x2) as u64));
870 let x166: u64 = (((*IndexConst(arg1).index(3)) as u64) * (x28 as u64));
871 let x167: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((x29 * 0x2) as u64));
872 let x168: u64 = (((*IndexConst(arg1).index(3)) as u64) * (x30 as u64));
873 let x169: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((x31 * 0x2) as u64));
874 let x170: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((x32 * 0x2) as u64));
875 let x171: u64 = (((*IndexConst(arg1).index(3)) as u64) * ((x33 * 0x2) as u64));
876 let x172: u64 = (((*IndexConst(arg1).index(3)) as u64) * (((*IndexConst(arg1).index(3)) * 0x2) as u64));
877 let x173: u64 = (((*IndexConst(arg1).index(2)) as u64) * (x2 as u64));
878 let x174: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((x5 * 0x2) as u64));
879 let x175: u64 = (((*IndexConst(arg1).index(2)) as u64) * (x9 as u64));
880 let x176: u64 = (((*IndexConst(arg1).index(2)) as u64) * (x12 as u64));
881 let x177: u64 = (((*IndexConst(arg1).index(2)) as u64) * (x15 as u64));
882 let x178: u64 = (((*IndexConst(arg1).index(2)) as u64) * (x18 as u64));
883 let x179: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((x21 * 0x2) as u64));
884 let x180: u64 = (((*IndexConst(arg1).index(2)) as u64) * (x24 as u64));
885 let x181: u64 = (((*IndexConst(arg1).index(2)) as u64) * (x27 as u64));
886 let x182: u64 = (((*IndexConst(arg1).index(2)) as u64) * (x28 as u64));
887 let x183: u64 = (((*IndexConst(arg1).index(2)) as u64) * (x29 as u64));
888 let x184: u64 = (((*IndexConst(arg1).index(2)) as u64) * (x30 as u64));
889 let x185: u64 = (((*IndexConst(arg1).index(2)) as u64) * (x31 as u64));
890 let x186: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((x32 * 0x2) as u64));
891 let x187: u64 = (((*IndexConst(arg1).index(2)) as u64) * (x33 as u64));
892 let x188: u64 = (((*IndexConst(arg1).index(2)) as u64) * (x34 as u64));
893 let x189: u64 = (((*IndexConst(arg1).index(2)) as u64) * ((*IndexConst(arg1).index(2)) as u64));
894 let x190: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((x2 * 0x2) as u64));
895 let x191: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((x6 * 0x2) as u64));
896 let x192: u64 = (((*IndexConst(arg1).index(1)) as u64) * (x9 as u64));
897 let x193: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((x12 * 0x2) as u64));
898 let x194: u64 = (((*IndexConst(arg1).index(1)) as u64) * (x15 as u64));
899 let x195: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((x18 * 0x2) as u64));
900 let x196: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((x21 * 0x2) as u64));
901 let x197: u64 = (((*IndexConst(arg1).index(1)) as u64) * (x24 as u64));
902 let x198: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((x27 * 0x2) as u64));
903 let x199: u64 = (((*IndexConst(arg1).index(1)) as u64) * (x28 as u64));
904 let x200: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((x29 * 0x2) as u64));
905 let x201: u64 = (((*IndexConst(arg1).index(1)) as u64) * (x30 as u64));
906 let x202: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((x31 * 0x2) as u64));
907 let x203: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((x32 * 0x2) as u64));
908 let x204: u64 = (((*IndexConst(arg1).index(1)) as u64) * (x33 as u64));
909 let x205: u64 = (((*IndexConst(arg1).index(1)) as u64) * ((x34 * 0x2) as u64));
910 let x206: u64 = (((*IndexConst(arg1).index(1)) as u64) * (x35 as u64));
911 let x207: u64 = (((*IndexConst(arg1).index(1)) as u64) * (((*IndexConst(arg1).index(1)) * 0x2) as u64));
912 let x208: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x3 as u64));
913 let x209: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x6 as u64));
914 let x210: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x9 as u64));
915 let x211: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x12 as u64));
916 let x212: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x15 as u64));
917 let x213: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x18 as u64));
918 let x214: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x21 as u64));
919 let x215: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x24 as u64));
920 let x216: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x27 as u64));
921 let x217: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x28 as u64));
922 let x218: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x29 as u64));
923 let x219: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x30 as u64));
924 let x220: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x31 as u64));
925 let x221: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x32 as u64));
926 let x222: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x33 as u64));
927 let x223: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x34 as u64));
928 let x224: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x35 as u64));
929 let x225: u64 = (((*IndexConst(arg1).index(0)) as u64) * (x36 as u64));
930 let x226: u64 = (((*IndexConst(arg1).index(0)) as u64) * ((*IndexConst(arg1).index(0)) as u64));
931 let x227: u64 = (x226 + (x190 + (x174 + (x159 + (x145 + (x132 + (x120 + (x109 + (x99 + x90)))))))));
932 let x228: u64 = (x227 >> 28);
933 let x229: u32 = ((x227 & (0xfffffff as u64)) as u32);
934 let x230: u64 = (x208 + (x191 + (x175 + (x160 + (x146 + (x133 + (x121 + (x110 + (x100 + x91)))))))));
935 let x231: u64 = (x209 + (x192 + (x176 + (x161 + (x147 + (x134 + (x122 + (x111 + (x101 + x37)))))))));
936 let x232: u64 = (x210 + (x193 + (x177 + (x162 + (x148 + (x135 + (x123 + (x112 + (x102 + x38)))))))));
937 let x233: u64 = (x211 + (x194 + (x178 + (x163 + (x149 + (x136 + (x124 + (x113 + (x40 + x39)))))))));
938 let x234: u64 = (x212 + (x195 + (x179 + (x164 + (x150 + (x137 + (x125 + (x114 + (x43 + x41)))))))));
939 let x235: u64 = (x213 + (x196 + (x180 + (x165 + (x151 + (x138 + (x126 + (x47 + (x44 + x42)))))))));
940 let x236: u64 = (x214 + (x197 + (x181 + (x166 + (x152 + (x139 + (x127 + (x52 + (x48 + x45)))))))));
941 let x237: u64 = (x215 + (x198 + (x182 + (x167 + (x153 + (x140 + (x58 + (x53 + (x49 + x46)))))))));
942 let x238: u64 = (x216 + (x199 + (x183 + (x168 + (x154 + (x141 + (x65 + (x59 + (x54 + x50)))))))));
943 let x239: u64 = (x217 + (x200 + (x184 + (x169 + (x155 + (x73 + (x66 + (x60 + (x55 + x51)))))))));
944 let x240: u64 = (x218 + (x201 + (x185 + (x170 + (x156 + (x82 + (x74 + (x67 + (x61 + x56)))))))));
945 let x241: u64 = (x219 + (x202 + (x186 + (x171 + (x92 + (x83 + (x75 + (x68 + (x62 + x57)))))))));
946 let x242: u64 = (x220 + (x203 + (x187 + (x172 + (x103 + (x93 + (x84 + (x76 + (x69 + x63)))))))));
947 let x243: u64 = (x221 + (x204 + (x188 + (x115 + (x104 + (x94 + (x85 + (x77 + (x70 + x64)))))))));
948 let x244: u64 = (x222 + (x205 + (x189 + (x128 + (x116 + (x105 + (x95 + (x86 + (x78 + x71)))))))));
949 let x245: u64 = (x223 + (x206 + (x142 + (x129 + (x117 + (x106 + (x96 + (x87 + (x79 + x72)))))))));
950 let x246: u64 = (x224 + (x207 + (x157 + (x143 + (x130 + (x118 + (x107 + (x97 + (x88 + x80)))))))));
951 let x247: u64 = (x225 + (x173 + (x158 + (x144 + (x131 + (x119 + (x108 + (x98 + (x89 + x81)))))))));
952 let x248: u64 = (x228 + x247);
953 let x249: u64 = (x248 >> 27);
954 let x250: u32 = ((x248 & (0x7ffffff as u64)) as u32);
955 let x251: u64 = (x249 + x246);
956 let x252: u64 = (x251 >> 28);
957 let x253: u32 = ((x251 & (0xfffffff as u64)) as u32);
958 let x254: u64 = (x252 + x245);
959 let x255: u64 = (x254 >> 27);
960 let x256: u32 = ((x254 & (0x7ffffff as u64)) as u32);
961 let x257: u64 = (x255 + x244);
962 let x258: u64 = (x257 >> 28);
963 let x259: u32 = ((x257 & (0xfffffff as u64)) as u32);
964 let x260: u64 = (x258 + x243);
965 let x261: u64 = (x260 >> 27);
966 let x262: u32 = ((x260 & (0x7ffffff as u64)) as u32);
967 let x263: u64 = (x261 + x242);
968 let x264: u64 = (x263 >> 27);
969 let x265: u32 = ((x263 & (0x7ffffff as u64)) as u32);
970 let x266: u64 = (x264 + x241);
971 let x267: u64 = (x266 >> 28);
972 let x268: u32 = ((x266 & (0xfffffff as u64)) as u32);
973 let x269: u64 = (x267 + x240);
974 let x270: u64 = (x269 >> 27);
975 let x271: u32 = ((x269 & (0x7ffffff as u64)) as u32);
976 let x272: u64 = (x270 + x239);
977 let x273: u64 = (x272 >> 28);
978 let x274: u32 = ((x272 & (0xfffffff as u64)) as u32);
979 let x275: u64 = (x273 + x238);
980 let x276: u64 = (x275 >> 27);
981 let x277: u32 = ((x275 & (0x7ffffff as u64)) as u32);
982 let x278: u64 = (x276 + x237);
983 let x279: u64 = (x278 >> 28);
984 let x280: u32 = ((x278 & (0xfffffff as u64)) as u32);
985 let x281: u64 = (x279 + x236);
986 let x282: u64 = (x281 >> 27);
987 let x283: u32 = ((x281 & (0x7ffffff as u64)) as u32);
988 let x284: u64 = (x282 + x235);
989 let x285: u64 = (x284 >> 27);
990 let x286: u32 = ((x284 & (0x7ffffff as u64)) as u32);
991 let x287: u64 = (x285 + x234);
992 let x288: u64 = (x287 >> 28);
993 let x289: u32 = ((x287 & (0xfffffff as u64)) as u32);
994 let x290: u64 = (x288 + x233);
995 let x291: u64 = (x290 >> 27);
996 let x292: u32 = ((x290 & (0x7ffffff as u64)) as u32);
997 let x293: u64 = (x291 + x232);
998 let x294: u64 = (x293 >> 28);
999 let x295: u32 = ((x293 & (0xfffffff as u64)) as u32);
1000 let x296: u64 = (x294 + x231);
1001 let x297: u64 = (x296 >> 27);
1002 let x298: u32 = ((x296 & (0x7ffffff as u64)) as u32);
1003 let x299: u64 = (x297 + x230);
1004 let x300: u64 = (x299 >> 27);
1005 let x301: u32 = ((x299 & (0x7ffffff as u64)) as u32);
1006 let x302: u64 = ((x229 as u64) + x300);
1007 let x303: u32 = ((x302 >> 28) as u32);
1008 let x304: u32 = ((x302 & (0xfffffff as u64)) as u32);
1009 let x305: u32 = (x303 + x250);
1010 let x306: fiat_p521_u1 = ((x305 >> 27) as fiat_p521_u1);
1011 let x307: u32 = (x305 & 0x7ffffff);
1012 let x308: u32 = ((x306 as u32) + x253);
1013 *IndexConst(&mut out1).index_mut(0) = x304;
1014 *IndexConst(&mut out1).index_mut(1) = x307;
1015 *IndexConst(&mut out1).index_mut(2) = x308;
1016 *IndexConst(&mut out1).index_mut(3) = x256;
1017 *IndexConst(&mut out1).index_mut(4) = x259;
1018 *IndexConst(&mut out1).index_mut(5) = x262;
1019 *IndexConst(&mut out1).index_mut(6) = x265;
1020 *IndexConst(&mut out1).index_mut(7) = x268;
1021 *IndexConst(&mut out1).index_mut(8) = x271;
1022 *IndexConst(&mut out1).index_mut(9) = x274;
1023 *IndexConst(&mut out1).index_mut(10) = x277;
1024 *IndexConst(&mut out1).index_mut(11) = x280;
1025 *IndexConst(&mut out1).index_mut(12) = x283;
1026 *IndexConst(&mut out1).index_mut(13) = x286;
1027 *IndexConst(&mut out1).index_mut(14) = x289;
1028 *IndexConst(&mut out1).index_mut(15) = x292;
1029 *IndexConst(&mut out1).index_mut(16) = x295;
1030 *IndexConst(&mut out1).index_mut(17) = x298;
1031 *IndexConst(&mut out1).index_mut(18) = x301;
1032}
1033
1034#[inline]
1040pub const fn fiat_p521_carry(mut out1: &mut fiat_p521_tight_field_element, arg1: &fiat_p521_loose_field_element) {
1041 let x1: u32 = (*IndexConst(arg1).index(0));
1042 let x2: u32 = ((x1 >> 28) + (*IndexConst(arg1).index(1)));
1043 let x3: u32 = ((x2 >> 27) + (*IndexConst(arg1).index(2)));
1044 let x4: u32 = ((x3 >> 28) + (*IndexConst(arg1).index(3)));
1045 let x5: u32 = ((x4 >> 27) + (*IndexConst(arg1).index(4)));
1046 let x6: u32 = ((x5 >> 28) + (*IndexConst(arg1).index(5)));
1047 let x7: u32 = ((x6 >> 27) + (*IndexConst(arg1).index(6)));
1048 let x8: u32 = ((x7 >> 27) + (*IndexConst(arg1).index(7)));
1049 let x9: u32 = ((x8 >> 28) + (*IndexConst(arg1).index(8)));
1050 let x10: u32 = ((x9 >> 27) + (*IndexConst(arg1).index(9)));
1051 let x11: u32 = ((x10 >> 28) + (*IndexConst(arg1).index(10)));
1052 let x12: u32 = ((x11 >> 27) + (*IndexConst(arg1).index(11)));
1053 let x13: u32 = ((x12 >> 28) + (*IndexConst(arg1).index(12)));
1054 let x14: u32 = ((x13 >> 27) + (*IndexConst(arg1).index(13)));
1055 let x15: u32 = ((x14 >> 27) + (*IndexConst(arg1).index(14)));
1056 let x16: u32 = ((x15 >> 28) + (*IndexConst(arg1).index(15)));
1057 let x17: u32 = ((x16 >> 27) + (*IndexConst(arg1).index(16)));
1058 let x18: u32 = ((x17 >> 28) + (*IndexConst(arg1).index(17)));
1059 let x19: u32 = ((x18 >> 27) + (*IndexConst(arg1).index(18)));
1060 let x20: u32 = ((x1 & 0xfffffff) + (x19 >> 27));
1061 let x21: u32 = ((((x20 >> 28) as fiat_p521_u1) as u32) + (x2 & 0x7ffffff));
1062 let x22: u32 = (x20 & 0xfffffff);
1063 let x23: u32 = (x21 & 0x7ffffff);
1064 let x24: u32 = ((((x21 >> 27) as fiat_p521_u1) as u32) + (x3 & 0xfffffff));
1065 let x25: u32 = (x4 & 0x7ffffff);
1066 let x26: u32 = (x5 & 0xfffffff);
1067 let x27: u32 = (x6 & 0x7ffffff);
1068 let x28: u32 = (x7 & 0x7ffffff);
1069 let x29: u32 = (x8 & 0xfffffff);
1070 let x30: u32 = (x9 & 0x7ffffff);
1071 let x31: u32 = (x10 & 0xfffffff);
1072 let x32: u32 = (x11 & 0x7ffffff);
1073 let x33: u32 = (x12 & 0xfffffff);
1074 let x34: u32 = (x13 & 0x7ffffff);
1075 let x35: u32 = (x14 & 0x7ffffff);
1076 let x36: u32 = (x15 & 0xfffffff);
1077 let x37: u32 = (x16 & 0x7ffffff);
1078 let x38: u32 = (x17 & 0xfffffff);
1079 let x39: u32 = (x18 & 0x7ffffff);
1080 let x40: u32 = (x19 & 0x7ffffff);
1081 *IndexConst(&mut out1).index_mut(0) = x22;
1082 *IndexConst(&mut out1).index_mut(1) = x23;
1083 *IndexConst(&mut out1).index_mut(2) = x24;
1084 *IndexConst(&mut out1).index_mut(3) = x25;
1085 *IndexConst(&mut out1).index_mut(4) = x26;
1086 *IndexConst(&mut out1).index_mut(5) = x27;
1087 *IndexConst(&mut out1).index_mut(6) = x28;
1088 *IndexConst(&mut out1).index_mut(7) = x29;
1089 *IndexConst(&mut out1).index_mut(8) = x30;
1090 *IndexConst(&mut out1).index_mut(9) = x31;
1091 *IndexConst(&mut out1).index_mut(10) = x32;
1092 *IndexConst(&mut out1).index_mut(11) = x33;
1093 *IndexConst(&mut out1).index_mut(12) = x34;
1094 *IndexConst(&mut out1).index_mut(13) = x35;
1095 *IndexConst(&mut out1).index_mut(14) = x36;
1096 *IndexConst(&mut out1).index_mut(15) = x37;
1097 *IndexConst(&mut out1).index_mut(16) = x38;
1098 *IndexConst(&mut out1).index_mut(17) = x39;
1099 *IndexConst(&mut out1).index_mut(18) = x40;
1100}
1101
1102#[inline]
1108pub const fn fiat_p521_add(mut out1: &mut fiat_p521_loose_field_element, arg1: &fiat_p521_tight_field_element, arg2: &fiat_p521_tight_field_element) {
1109 let x1: u32 = ((*IndexConst(arg1).index(0)) + (*IndexConst(arg2).index(0)));
1110 let x2: u32 = ((*IndexConst(arg1).index(1)) + (*IndexConst(arg2).index(1)));
1111 let x3: u32 = ((*IndexConst(arg1).index(2)) + (*IndexConst(arg2).index(2)));
1112 let x4: u32 = ((*IndexConst(arg1).index(3)) + (*IndexConst(arg2).index(3)));
1113 let x5: u32 = ((*IndexConst(arg1).index(4)) + (*IndexConst(arg2).index(4)));
1114 let x6: u32 = ((*IndexConst(arg1).index(5)) + (*IndexConst(arg2).index(5)));
1115 let x7: u32 = ((*IndexConst(arg1).index(6)) + (*IndexConst(arg2).index(6)));
1116 let x8: u32 = ((*IndexConst(arg1).index(7)) + (*IndexConst(arg2).index(7)));
1117 let x9: u32 = ((*IndexConst(arg1).index(8)) + (*IndexConst(arg2).index(8)));
1118 let x10: u32 = ((*IndexConst(arg1).index(9)) + (*IndexConst(arg2).index(9)));
1119 let x11: u32 = ((*IndexConst(arg1).index(10)) + (*IndexConst(arg2).index(10)));
1120 let x12: u32 = ((*IndexConst(arg1).index(11)) + (*IndexConst(arg2).index(11)));
1121 let x13: u32 = ((*IndexConst(arg1).index(12)) + (*IndexConst(arg2).index(12)));
1122 let x14: u32 = ((*IndexConst(arg1).index(13)) + (*IndexConst(arg2).index(13)));
1123 let x15: u32 = ((*IndexConst(arg1).index(14)) + (*IndexConst(arg2).index(14)));
1124 let x16: u32 = ((*IndexConst(arg1).index(15)) + (*IndexConst(arg2).index(15)));
1125 let x17: u32 = ((*IndexConst(arg1).index(16)) + (*IndexConst(arg2).index(16)));
1126 let x18: u32 = ((*IndexConst(arg1).index(17)) + (*IndexConst(arg2).index(17)));
1127 let x19: u32 = ((*IndexConst(arg1).index(18)) + (*IndexConst(arg2).index(18)));
1128 *IndexConst(&mut out1).index_mut(0) = x1;
1129 *IndexConst(&mut out1).index_mut(1) = x2;
1130 *IndexConst(&mut out1).index_mut(2) = x3;
1131 *IndexConst(&mut out1).index_mut(3) = x4;
1132 *IndexConst(&mut out1).index_mut(4) = x5;
1133 *IndexConst(&mut out1).index_mut(5) = x6;
1134 *IndexConst(&mut out1).index_mut(6) = x7;
1135 *IndexConst(&mut out1).index_mut(7) = x8;
1136 *IndexConst(&mut out1).index_mut(8) = x9;
1137 *IndexConst(&mut out1).index_mut(9) = x10;
1138 *IndexConst(&mut out1).index_mut(10) = x11;
1139 *IndexConst(&mut out1).index_mut(11) = x12;
1140 *IndexConst(&mut out1).index_mut(12) = x13;
1141 *IndexConst(&mut out1).index_mut(13) = x14;
1142 *IndexConst(&mut out1).index_mut(14) = x15;
1143 *IndexConst(&mut out1).index_mut(15) = x16;
1144 *IndexConst(&mut out1).index_mut(16) = x17;
1145 *IndexConst(&mut out1).index_mut(17) = x18;
1146 *IndexConst(&mut out1).index_mut(18) = x19;
1147}
1148
1149#[inline]
1155pub const fn fiat_p521_sub(mut out1: &mut fiat_p521_loose_field_element, arg1: &fiat_p521_tight_field_element, arg2: &fiat_p521_tight_field_element) {
1156 let x1: u32 = ((0x1ffffffe + (*IndexConst(arg1).index(0))) - (*IndexConst(arg2).index(0)));
1157 let x2: u32 = ((0xffffffe + (*IndexConst(arg1).index(1))) - (*IndexConst(arg2).index(1)));
1158 let x3: u32 = ((0x1ffffffe + (*IndexConst(arg1).index(2))) - (*IndexConst(arg2).index(2)));
1159 let x4: u32 = ((0xffffffe + (*IndexConst(arg1).index(3))) - (*IndexConst(arg2).index(3)));
1160 let x5: u32 = ((0x1ffffffe + (*IndexConst(arg1).index(4))) - (*IndexConst(arg2).index(4)));
1161 let x6: u32 = ((0xffffffe + (*IndexConst(arg1).index(5))) - (*IndexConst(arg2).index(5)));
1162 let x7: u32 = ((0xffffffe + (*IndexConst(arg1).index(6))) - (*IndexConst(arg2).index(6)));
1163 let x8: u32 = ((0x1ffffffe + (*IndexConst(arg1).index(7))) - (*IndexConst(arg2).index(7)));
1164 let x9: u32 = ((0xffffffe + (*IndexConst(arg1).index(8))) - (*IndexConst(arg2).index(8)));
1165 let x10: u32 = ((0x1ffffffe + (*IndexConst(arg1).index(9))) - (*IndexConst(arg2).index(9)));
1166 let x11: u32 = ((0xffffffe + (*IndexConst(arg1).index(10))) - (*IndexConst(arg2).index(10)));
1167 let x12: u32 = ((0x1ffffffe + (*IndexConst(arg1).index(11))) - (*IndexConst(arg2).index(11)));
1168 let x13: u32 = ((0xffffffe + (*IndexConst(arg1).index(12))) - (*IndexConst(arg2).index(12)));
1169 let x14: u32 = ((0xffffffe + (*IndexConst(arg1).index(13))) - (*IndexConst(arg2).index(13)));
1170 let x15: u32 = ((0x1ffffffe + (*IndexConst(arg1).index(14))) - (*IndexConst(arg2).index(14)));
1171 let x16: u32 = ((0xffffffe + (*IndexConst(arg1).index(15))) - (*IndexConst(arg2).index(15)));
1172 let x17: u32 = ((0x1ffffffe + (*IndexConst(arg1).index(16))) - (*IndexConst(arg2).index(16)));
1173 let x18: u32 = ((0xffffffe + (*IndexConst(arg1).index(17))) - (*IndexConst(arg2).index(17)));
1174 let x19: u32 = ((0xffffffe + (*IndexConst(arg1).index(18))) - (*IndexConst(arg2).index(18)));
1175 *IndexConst(&mut out1).index_mut(0) = x1;
1176 *IndexConst(&mut out1).index_mut(1) = x2;
1177 *IndexConst(&mut out1).index_mut(2) = x3;
1178 *IndexConst(&mut out1).index_mut(3) = x4;
1179 *IndexConst(&mut out1).index_mut(4) = x5;
1180 *IndexConst(&mut out1).index_mut(5) = x6;
1181 *IndexConst(&mut out1).index_mut(6) = x7;
1182 *IndexConst(&mut out1).index_mut(7) = x8;
1183 *IndexConst(&mut out1).index_mut(8) = x9;
1184 *IndexConst(&mut out1).index_mut(9) = x10;
1185 *IndexConst(&mut out1).index_mut(10) = x11;
1186 *IndexConst(&mut out1).index_mut(11) = x12;
1187 *IndexConst(&mut out1).index_mut(12) = x13;
1188 *IndexConst(&mut out1).index_mut(13) = x14;
1189 *IndexConst(&mut out1).index_mut(14) = x15;
1190 *IndexConst(&mut out1).index_mut(15) = x16;
1191 *IndexConst(&mut out1).index_mut(16) = x17;
1192 *IndexConst(&mut out1).index_mut(17) = x18;
1193 *IndexConst(&mut out1).index_mut(18) = x19;
1194}
1195
1196#[inline]
1202pub const fn fiat_p521_opp(mut out1: &mut fiat_p521_loose_field_element, arg1: &fiat_p521_tight_field_element) {
1203 let x1: u32 = (0x1ffffffe - (*IndexConst(arg1).index(0)));
1204 let x2: u32 = (0xffffffe - (*IndexConst(arg1).index(1)));
1205 let x3: u32 = (0x1ffffffe - (*IndexConst(arg1).index(2)));
1206 let x4: u32 = (0xffffffe - (*IndexConst(arg1).index(3)));
1207 let x5: u32 = (0x1ffffffe - (*IndexConst(arg1).index(4)));
1208 let x6: u32 = (0xffffffe - (*IndexConst(arg1).index(5)));
1209 let x7: u32 = (0xffffffe - (*IndexConst(arg1).index(6)));
1210 let x8: u32 = (0x1ffffffe - (*IndexConst(arg1).index(7)));
1211 let x9: u32 = (0xffffffe - (*IndexConst(arg1).index(8)));
1212 let x10: u32 = (0x1ffffffe - (*IndexConst(arg1).index(9)));
1213 let x11: u32 = (0xffffffe - (*IndexConst(arg1).index(10)));
1214 let x12: u32 = (0x1ffffffe - (*IndexConst(arg1).index(11)));
1215 let x13: u32 = (0xffffffe - (*IndexConst(arg1).index(12)));
1216 let x14: u32 = (0xffffffe - (*IndexConst(arg1).index(13)));
1217 let x15: u32 = (0x1ffffffe - (*IndexConst(arg1).index(14)));
1218 let x16: u32 = (0xffffffe - (*IndexConst(arg1).index(15)));
1219 let x17: u32 = (0x1ffffffe - (*IndexConst(arg1).index(16)));
1220 let x18: u32 = (0xffffffe - (*IndexConst(arg1).index(17)));
1221 let x19: u32 = (0xffffffe - (*IndexConst(arg1).index(18)));
1222 *IndexConst(&mut out1).index_mut(0) = x1;
1223 *IndexConst(&mut out1).index_mut(1) = x2;
1224 *IndexConst(&mut out1).index_mut(2) = x3;
1225 *IndexConst(&mut out1).index_mut(3) = x4;
1226 *IndexConst(&mut out1).index_mut(4) = x5;
1227 *IndexConst(&mut out1).index_mut(5) = x6;
1228 *IndexConst(&mut out1).index_mut(6) = x7;
1229 *IndexConst(&mut out1).index_mut(7) = x8;
1230 *IndexConst(&mut out1).index_mut(8) = x9;
1231 *IndexConst(&mut out1).index_mut(9) = x10;
1232 *IndexConst(&mut out1).index_mut(10) = x11;
1233 *IndexConst(&mut out1).index_mut(11) = x12;
1234 *IndexConst(&mut out1).index_mut(12) = x13;
1235 *IndexConst(&mut out1).index_mut(13) = x14;
1236 *IndexConst(&mut out1).index_mut(14) = x15;
1237 *IndexConst(&mut out1).index_mut(15) = x16;
1238 *IndexConst(&mut out1).index_mut(16) = x17;
1239 *IndexConst(&mut out1).index_mut(17) = x18;
1240 *IndexConst(&mut out1).index_mut(18) = x19;
1241}
1242
1243#[inline]
1255pub const fn fiat_p521_selectznz(mut out1: &mut [u32; 19], arg1: fiat_p521_u1, arg2: &[u32; 19], arg3: &[u32; 19]) {
1256 let mut x1: u32 = 0;
1257 fiat_p521_cmovznz_u32(&mut x1, arg1, (*IndexConst(arg2).index(0)), (*IndexConst(arg3).index(0)));
1258 let mut x2: u32 = 0;
1259 fiat_p521_cmovznz_u32(&mut x2, arg1, (*IndexConst(arg2).index(1)), (*IndexConst(arg3).index(1)));
1260 let mut x3: u32 = 0;
1261 fiat_p521_cmovznz_u32(&mut x3, arg1, (*IndexConst(arg2).index(2)), (*IndexConst(arg3).index(2)));
1262 let mut x4: u32 = 0;
1263 fiat_p521_cmovznz_u32(&mut x4, arg1, (*IndexConst(arg2).index(3)), (*IndexConst(arg3).index(3)));
1264 let mut x5: u32 = 0;
1265 fiat_p521_cmovznz_u32(&mut x5, arg1, (*IndexConst(arg2).index(4)), (*IndexConst(arg3).index(4)));
1266 let mut x6: u32 = 0;
1267 fiat_p521_cmovznz_u32(&mut x6, arg1, (*IndexConst(arg2).index(5)), (*IndexConst(arg3).index(5)));
1268 let mut x7: u32 = 0;
1269 fiat_p521_cmovznz_u32(&mut x7, arg1, (*IndexConst(arg2).index(6)), (*IndexConst(arg3).index(6)));
1270 let mut x8: u32 = 0;
1271 fiat_p521_cmovznz_u32(&mut x8, arg1, (*IndexConst(arg2).index(7)), (*IndexConst(arg3).index(7)));
1272 let mut x9: u32 = 0;
1273 fiat_p521_cmovznz_u32(&mut x9, arg1, (*IndexConst(arg2).index(8)), (*IndexConst(arg3).index(8)));
1274 let mut x10: u32 = 0;
1275 fiat_p521_cmovznz_u32(&mut x10, arg1, (*IndexConst(arg2).index(9)), (*IndexConst(arg3).index(9)));
1276 let mut x11: u32 = 0;
1277 fiat_p521_cmovznz_u32(&mut x11, arg1, (*IndexConst(arg2).index(10)), (*IndexConst(arg3).index(10)));
1278 let mut x12: u32 = 0;
1279 fiat_p521_cmovznz_u32(&mut x12, arg1, (*IndexConst(arg2).index(11)), (*IndexConst(arg3).index(11)));
1280 let mut x13: u32 = 0;
1281 fiat_p521_cmovznz_u32(&mut x13, arg1, (*IndexConst(arg2).index(12)), (*IndexConst(arg3).index(12)));
1282 let mut x14: u32 = 0;
1283 fiat_p521_cmovznz_u32(&mut x14, arg1, (*IndexConst(arg2).index(13)), (*IndexConst(arg3).index(13)));
1284 let mut x15: u32 = 0;
1285 fiat_p521_cmovznz_u32(&mut x15, arg1, (*IndexConst(arg2).index(14)), (*IndexConst(arg3).index(14)));
1286 let mut x16: u32 = 0;
1287 fiat_p521_cmovznz_u32(&mut x16, arg1, (*IndexConst(arg2).index(15)), (*IndexConst(arg3).index(15)));
1288 let mut x17: u32 = 0;
1289 fiat_p521_cmovznz_u32(&mut x17, arg1, (*IndexConst(arg2).index(16)), (*IndexConst(arg3).index(16)));
1290 let mut x18: u32 = 0;
1291 fiat_p521_cmovznz_u32(&mut x18, arg1, (*IndexConst(arg2).index(17)), (*IndexConst(arg3).index(17)));
1292 let mut x19: u32 = 0;
1293 fiat_p521_cmovznz_u32(&mut x19, arg1, (*IndexConst(arg2).index(18)), (*IndexConst(arg3).index(18)));
1294 *IndexConst(&mut out1).index_mut(0) = x1;
1295 *IndexConst(&mut out1).index_mut(1) = x2;
1296 *IndexConst(&mut out1).index_mut(2) = x3;
1297 *IndexConst(&mut out1).index_mut(3) = x4;
1298 *IndexConst(&mut out1).index_mut(4) = x5;
1299 *IndexConst(&mut out1).index_mut(5) = x6;
1300 *IndexConst(&mut out1).index_mut(6) = x7;
1301 *IndexConst(&mut out1).index_mut(7) = x8;
1302 *IndexConst(&mut out1).index_mut(8) = x9;
1303 *IndexConst(&mut out1).index_mut(9) = x10;
1304 *IndexConst(&mut out1).index_mut(10) = x11;
1305 *IndexConst(&mut out1).index_mut(11) = x12;
1306 *IndexConst(&mut out1).index_mut(12) = x13;
1307 *IndexConst(&mut out1).index_mut(13) = x14;
1308 *IndexConst(&mut out1).index_mut(14) = x15;
1309 *IndexConst(&mut out1).index_mut(15) = x16;
1310 *IndexConst(&mut out1).index_mut(16) = x17;
1311 *IndexConst(&mut out1).index_mut(17) = x18;
1312 *IndexConst(&mut out1).index_mut(18) = x19;
1313}
1314
1315#[inline]
1323pub const fn fiat_p521_to_bytes(mut out1: &mut [u8; 66], arg1: &fiat_p521_tight_field_element) {
1324 let mut x1: u32 = 0;
1325 let mut x2: fiat_p521_u1 = 0;
1326 fiat_p521_subborrowx_u28(&mut x1, &mut x2, 0x0, (*IndexConst(arg1).index(0)), 0xfffffff);
1327 let mut x3: u32 = 0;
1328 let mut x4: fiat_p521_u1 = 0;
1329 fiat_p521_subborrowx_u27(&mut x3, &mut x4, x2, (*IndexConst(arg1).index(1)), 0x7ffffff);
1330 let mut x5: u32 = 0;
1331 let mut x6: fiat_p521_u1 = 0;
1332 fiat_p521_subborrowx_u28(&mut x5, &mut x6, x4, (*IndexConst(arg1).index(2)), 0xfffffff);
1333 let mut x7: u32 = 0;
1334 let mut x8: fiat_p521_u1 = 0;
1335 fiat_p521_subborrowx_u27(&mut x7, &mut x8, x6, (*IndexConst(arg1).index(3)), 0x7ffffff);
1336 let mut x9: u32 = 0;
1337 let mut x10: fiat_p521_u1 = 0;
1338 fiat_p521_subborrowx_u28(&mut x9, &mut x10, x8, (*IndexConst(arg1).index(4)), 0xfffffff);
1339 let mut x11: u32 = 0;
1340 let mut x12: fiat_p521_u1 = 0;
1341 fiat_p521_subborrowx_u27(&mut x11, &mut x12, x10, (*IndexConst(arg1).index(5)), 0x7ffffff);
1342 let mut x13: u32 = 0;
1343 let mut x14: fiat_p521_u1 = 0;
1344 fiat_p521_subborrowx_u27(&mut x13, &mut x14, x12, (*IndexConst(arg1).index(6)), 0x7ffffff);
1345 let mut x15: u32 = 0;
1346 let mut x16: fiat_p521_u1 = 0;
1347 fiat_p521_subborrowx_u28(&mut x15, &mut x16, x14, (*IndexConst(arg1).index(7)), 0xfffffff);
1348 let mut x17: u32 = 0;
1349 let mut x18: fiat_p521_u1 = 0;
1350 fiat_p521_subborrowx_u27(&mut x17, &mut x18, x16, (*IndexConst(arg1).index(8)), 0x7ffffff);
1351 let mut x19: u32 = 0;
1352 let mut x20: fiat_p521_u1 = 0;
1353 fiat_p521_subborrowx_u28(&mut x19, &mut x20, x18, (*IndexConst(arg1).index(9)), 0xfffffff);
1354 let mut x21: u32 = 0;
1355 let mut x22: fiat_p521_u1 = 0;
1356 fiat_p521_subborrowx_u27(&mut x21, &mut x22, x20, (*IndexConst(arg1).index(10)), 0x7ffffff);
1357 let mut x23: u32 = 0;
1358 let mut x24: fiat_p521_u1 = 0;
1359 fiat_p521_subborrowx_u28(&mut x23, &mut x24, x22, (*IndexConst(arg1).index(11)), 0xfffffff);
1360 let mut x25: u32 = 0;
1361 let mut x26: fiat_p521_u1 = 0;
1362 fiat_p521_subborrowx_u27(&mut x25, &mut x26, x24, (*IndexConst(arg1).index(12)), 0x7ffffff);
1363 let mut x27: u32 = 0;
1364 let mut x28: fiat_p521_u1 = 0;
1365 fiat_p521_subborrowx_u27(&mut x27, &mut x28, x26, (*IndexConst(arg1).index(13)), 0x7ffffff);
1366 let mut x29: u32 = 0;
1367 let mut x30: fiat_p521_u1 = 0;
1368 fiat_p521_subborrowx_u28(&mut x29, &mut x30, x28, (*IndexConst(arg1).index(14)), 0xfffffff);
1369 let mut x31: u32 = 0;
1370 let mut x32: fiat_p521_u1 = 0;
1371 fiat_p521_subborrowx_u27(&mut x31, &mut x32, x30, (*IndexConst(arg1).index(15)), 0x7ffffff);
1372 let mut x33: u32 = 0;
1373 let mut x34: fiat_p521_u1 = 0;
1374 fiat_p521_subborrowx_u28(&mut x33, &mut x34, x32, (*IndexConst(arg1).index(16)), 0xfffffff);
1375 let mut x35: u32 = 0;
1376 let mut x36: fiat_p521_u1 = 0;
1377 fiat_p521_subborrowx_u27(&mut x35, &mut x36, x34, (*IndexConst(arg1).index(17)), 0x7ffffff);
1378 let mut x37: u32 = 0;
1379 let mut x38: fiat_p521_u1 = 0;
1380 fiat_p521_subborrowx_u27(&mut x37, &mut x38, x36, (*IndexConst(arg1).index(18)), 0x7ffffff);
1381 let mut x39: u32 = 0;
1382 fiat_p521_cmovznz_u32(&mut x39, x38, (0x0 as u32), 0xffffffff);
1383 let mut x40: u32 = 0;
1384 let mut x41: fiat_p521_u1 = 0;
1385 fiat_p521_addcarryx_u28(&mut x40, &mut x41, 0x0, x1, (x39 & 0xfffffff));
1386 let mut x42: u32 = 0;
1387 let mut x43: fiat_p521_u1 = 0;
1388 fiat_p521_addcarryx_u27(&mut x42, &mut x43, x41, x3, (x39 & 0x7ffffff));
1389 let mut x44: u32 = 0;
1390 let mut x45: fiat_p521_u1 = 0;
1391 fiat_p521_addcarryx_u28(&mut x44, &mut x45, x43, x5, (x39 & 0xfffffff));
1392 let mut x46: u32 = 0;
1393 let mut x47: fiat_p521_u1 = 0;
1394 fiat_p521_addcarryx_u27(&mut x46, &mut x47, x45, x7, (x39 & 0x7ffffff));
1395 let mut x48: u32 = 0;
1396 let mut x49: fiat_p521_u1 = 0;
1397 fiat_p521_addcarryx_u28(&mut x48, &mut x49, x47, x9, (x39 & 0xfffffff));
1398 let mut x50: u32 = 0;
1399 let mut x51: fiat_p521_u1 = 0;
1400 fiat_p521_addcarryx_u27(&mut x50, &mut x51, x49, x11, (x39 & 0x7ffffff));
1401 let mut x52: u32 = 0;
1402 let mut x53: fiat_p521_u1 = 0;
1403 fiat_p521_addcarryx_u27(&mut x52, &mut x53, x51, x13, (x39 & 0x7ffffff));
1404 let mut x54: u32 = 0;
1405 let mut x55: fiat_p521_u1 = 0;
1406 fiat_p521_addcarryx_u28(&mut x54, &mut x55, x53, x15, (x39 & 0xfffffff));
1407 let mut x56: u32 = 0;
1408 let mut x57: fiat_p521_u1 = 0;
1409 fiat_p521_addcarryx_u27(&mut x56, &mut x57, x55, x17, (x39 & 0x7ffffff));
1410 let mut x58: u32 = 0;
1411 let mut x59: fiat_p521_u1 = 0;
1412 fiat_p521_addcarryx_u28(&mut x58, &mut x59, x57, x19, (x39 & 0xfffffff));
1413 let mut x60: u32 = 0;
1414 let mut x61: fiat_p521_u1 = 0;
1415 fiat_p521_addcarryx_u27(&mut x60, &mut x61, x59, x21, (x39 & 0x7ffffff));
1416 let mut x62: u32 = 0;
1417 let mut x63: fiat_p521_u1 = 0;
1418 fiat_p521_addcarryx_u28(&mut x62, &mut x63, x61, x23, (x39 & 0xfffffff));
1419 let mut x64: u32 = 0;
1420 let mut x65: fiat_p521_u1 = 0;
1421 fiat_p521_addcarryx_u27(&mut x64, &mut x65, x63, x25, (x39 & 0x7ffffff));
1422 let mut x66: u32 = 0;
1423 let mut x67: fiat_p521_u1 = 0;
1424 fiat_p521_addcarryx_u27(&mut x66, &mut x67, x65, x27, (x39 & 0x7ffffff));
1425 let mut x68: u32 = 0;
1426 let mut x69: fiat_p521_u1 = 0;
1427 fiat_p521_addcarryx_u28(&mut x68, &mut x69, x67, x29, (x39 & 0xfffffff));
1428 let mut x70: u32 = 0;
1429 let mut x71: fiat_p521_u1 = 0;
1430 fiat_p521_addcarryx_u27(&mut x70, &mut x71, x69, x31, (x39 & 0x7ffffff));
1431 let mut x72: u32 = 0;
1432 let mut x73: fiat_p521_u1 = 0;
1433 fiat_p521_addcarryx_u28(&mut x72, &mut x73, x71, x33, (x39 & 0xfffffff));
1434 let mut x74: u32 = 0;
1435 let mut x75: fiat_p521_u1 = 0;
1436 fiat_p521_addcarryx_u27(&mut x74, &mut x75, x73, x35, (x39 & 0x7ffffff));
1437 let mut x76: u32 = 0;
1438 let mut x77: fiat_p521_u1 = 0;
1439 fiat_p521_addcarryx_u27(&mut x76, &mut x77, x75, x37, (x39 & 0x7ffffff));
1440 let x78: u64 = ((x76 as u64) << 6);
1441 let x79: u32 = (x74 << 3);
1442 let x80: u64 = ((x72 as u64) << 7);
1443 let x81: u32 = (x70 << 4);
1444 let x82: u32 = (x66 << 5);
1445 let x83: u32 = (x64 << 2);
1446 let x84: u64 = ((x62 as u64) << 6);
1447 let x85: u32 = (x60 << 3);
1448 let x86: u64 = ((x58 as u64) << 7);
1449 let x87: u32 = (x56 << 4);
1450 let x88: u32 = (x52 << 5);
1451 let x89: u32 = (x50 << 2);
1452 let x90: u64 = ((x48 as u64) << 6);
1453 let x91: u32 = (x46 << 3);
1454 let x92: u64 = ((x44 as u64) << 7);
1455 let x93: u32 = (x42 << 4);
1456 let x94: u8 = ((x40 & (0xff as u32)) as u8);
1457 let x95: u32 = (x40 >> 8);
1458 let x96: u8 = ((x95 & (0xff as u32)) as u8);
1459 let x97: u32 = (x95 >> 8);
1460 let x98: u8 = ((x97 & (0xff as u32)) as u8);
1461 let x99: u8 = ((x97 >> 8) as u8);
1462 let x100: u32 = (x93 + (x99 as u32));
1463 let x101: u8 = ((x100 & (0xff as u32)) as u8);
1464 let x102: u32 = (x100 >> 8);
1465 let x103: u8 = ((x102 & (0xff as u32)) as u8);
1466 let x104: u32 = (x102 >> 8);
1467 let x105: u8 = ((x104 & (0xff as u32)) as u8);
1468 let x106: u8 = ((x104 >> 8) as u8);
1469 let x107: u64 = (x92 + (x106 as u64));
1470 let x108: u8 = ((x107 & (0xff as u64)) as u8);
1471 let x109: u32 = ((x107 >> 8) as u32);
1472 let x110: u8 = ((x109 & (0xff as u32)) as u8);
1473 let x111: u32 = (x109 >> 8);
1474 let x112: u8 = ((x111 & (0xff as u32)) as u8);
1475 let x113: u32 = (x111 >> 8);
1476 let x114: u8 = ((x113 & (0xff as u32)) as u8);
1477 let x115: u8 = ((x113 >> 8) as u8);
1478 let x116: u32 = (x91 + (x115 as u32));
1479 let x117: u8 = ((x116 & (0xff as u32)) as u8);
1480 let x118: u32 = (x116 >> 8);
1481 let x119: u8 = ((x118 & (0xff as u32)) as u8);
1482 let x120: u32 = (x118 >> 8);
1483 let x121: u8 = ((x120 & (0xff as u32)) as u8);
1484 let x122: u8 = ((x120 >> 8) as u8);
1485 let x123: u64 = (x90 + (x122 as u64));
1486 let x124: u8 = ((x123 & (0xff as u64)) as u8);
1487 let x125: u32 = ((x123 >> 8) as u32);
1488 let x126: u8 = ((x125 & (0xff as u32)) as u8);
1489 let x127: u32 = (x125 >> 8);
1490 let x128: u8 = ((x127 & (0xff as u32)) as u8);
1491 let x129: u32 = (x127 >> 8);
1492 let x130: u8 = ((x129 & (0xff as u32)) as u8);
1493 let x131: u8 = ((x129 >> 8) as u8);
1494 let x132: u32 = (x89 + (x131 as u32));
1495 let x133: u8 = ((x132 & (0xff as u32)) as u8);
1496 let x134: u32 = (x132 >> 8);
1497 let x135: u8 = ((x134 & (0xff as u32)) as u8);
1498 let x136: u32 = (x134 >> 8);
1499 let x137: u8 = ((x136 & (0xff as u32)) as u8);
1500 let x138: u8 = ((x136 >> 8) as u8);
1501 let x139: u32 = (x88 + (x138 as u32));
1502 let x140: u8 = ((x139 & (0xff as u32)) as u8);
1503 let x141: u32 = (x139 >> 8);
1504 let x142: u8 = ((x141 & (0xff as u32)) as u8);
1505 let x143: u32 = (x141 >> 8);
1506 let x144: u8 = ((x143 & (0xff as u32)) as u8);
1507 let x145: u8 = ((x143 >> 8) as u8);
1508 let x146: u8 = ((x54 & (0xff as u32)) as u8);
1509 let x147: u32 = (x54 >> 8);
1510 let x148: u8 = ((x147 & (0xff as u32)) as u8);
1511 let x149: u32 = (x147 >> 8);
1512 let x150: u8 = ((x149 & (0xff as u32)) as u8);
1513 let x151: u8 = ((x149 >> 8) as u8);
1514 let x152: u32 = (x87 + (x151 as u32));
1515 let x153: u8 = ((x152 & (0xff as u32)) as u8);
1516 let x154: u32 = (x152 >> 8);
1517 let x155: u8 = ((x154 & (0xff as u32)) as u8);
1518 let x156: u32 = (x154 >> 8);
1519 let x157: u8 = ((x156 & (0xff as u32)) as u8);
1520 let x158: u8 = ((x156 >> 8) as u8);
1521 let x159: u64 = (x86 + (x158 as u64));
1522 let x160: u8 = ((x159 & (0xff as u64)) as u8);
1523 let x161: u32 = ((x159 >> 8) as u32);
1524 let x162: u8 = ((x161 & (0xff as u32)) as u8);
1525 let x163: u32 = (x161 >> 8);
1526 let x164: u8 = ((x163 & (0xff as u32)) as u8);
1527 let x165: u32 = (x163 >> 8);
1528 let x166: u8 = ((x165 & (0xff as u32)) as u8);
1529 let x167: u8 = ((x165 >> 8) as u8);
1530 let x168: u32 = (x85 + (x167 as u32));
1531 let x169: u8 = ((x168 & (0xff as u32)) as u8);
1532 let x170: u32 = (x168 >> 8);
1533 let x171: u8 = ((x170 & (0xff as u32)) as u8);
1534 let x172: u32 = (x170 >> 8);
1535 let x173: u8 = ((x172 & (0xff as u32)) as u8);
1536 let x174: u8 = ((x172 >> 8) as u8);
1537 let x175: u64 = (x84 + (x174 as u64));
1538 let x176: u8 = ((x175 & (0xff as u64)) as u8);
1539 let x177: u32 = ((x175 >> 8) as u32);
1540 let x178: u8 = ((x177 & (0xff as u32)) as u8);
1541 let x179: u32 = (x177 >> 8);
1542 let x180: u8 = ((x179 & (0xff as u32)) as u8);
1543 let x181: u32 = (x179 >> 8);
1544 let x182: u8 = ((x181 & (0xff as u32)) as u8);
1545 let x183: u8 = ((x181 >> 8) as u8);
1546 let x184: u32 = (x83 + (x183 as u32));
1547 let x185: u8 = ((x184 & (0xff as u32)) as u8);
1548 let x186: u32 = (x184 >> 8);
1549 let x187: u8 = ((x186 & (0xff as u32)) as u8);
1550 let x188: u32 = (x186 >> 8);
1551 let x189: u8 = ((x188 & (0xff as u32)) as u8);
1552 let x190: u8 = ((x188 >> 8) as u8);
1553 let x191: u32 = (x82 + (x190 as u32));
1554 let x192: u8 = ((x191 & (0xff as u32)) as u8);
1555 let x193: u32 = (x191 >> 8);
1556 let x194: u8 = ((x193 & (0xff as u32)) as u8);
1557 let x195: u32 = (x193 >> 8);
1558 let x196: u8 = ((x195 & (0xff as u32)) as u8);
1559 let x197: u8 = ((x195 >> 8) as u8);
1560 let x198: u8 = ((x68 & (0xff as u32)) as u8);
1561 let x199: u32 = (x68 >> 8);
1562 let x200: u8 = ((x199 & (0xff as u32)) as u8);
1563 let x201: u32 = (x199 >> 8);
1564 let x202: u8 = ((x201 & (0xff as u32)) as u8);
1565 let x203: u8 = ((x201 >> 8) as u8);
1566 let x204: u32 = (x81 + (x203 as u32));
1567 let x205: u8 = ((x204 & (0xff as u32)) as u8);
1568 let x206: u32 = (x204 >> 8);
1569 let x207: u8 = ((x206 & (0xff as u32)) as u8);
1570 let x208: u32 = (x206 >> 8);
1571 let x209: u8 = ((x208 & (0xff as u32)) as u8);
1572 let x210: u8 = ((x208 >> 8) as u8);
1573 let x211: u64 = (x80 + (x210 as u64));
1574 let x212: u8 = ((x211 & (0xff as u64)) as u8);
1575 let x213: u32 = ((x211 >> 8) as u32);
1576 let x214: u8 = ((x213 & (0xff as u32)) as u8);
1577 let x215: u32 = (x213 >> 8);
1578 let x216: u8 = ((x215 & (0xff as u32)) as u8);
1579 let x217: u32 = (x215 >> 8);
1580 let x218: u8 = ((x217 & (0xff as u32)) as u8);
1581 let x219: u8 = ((x217 >> 8) as u8);
1582 let x220: u32 = (x79 + (x219 as u32));
1583 let x221: u8 = ((x220 & (0xff as u32)) as u8);
1584 let x222: u32 = (x220 >> 8);
1585 let x223: u8 = ((x222 & (0xff as u32)) as u8);
1586 let x224: u32 = (x222 >> 8);
1587 let x225: u8 = ((x224 & (0xff as u32)) as u8);
1588 let x226: u8 = ((x224 >> 8) as u8);
1589 let x227: u64 = (x78 + (x226 as u64));
1590 let x228: u8 = ((x227 & (0xff as u64)) as u8);
1591 let x229: u32 = ((x227 >> 8) as u32);
1592 let x230: u8 = ((x229 & (0xff as u32)) as u8);
1593 let x231: u32 = (x229 >> 8);
1594 let x232: u8 = ((x231 & (0xff as u32)) as u8);
1595 let x233: u32 = (x231 >> 8);
1596 let x234: u8 = ((x233 & (0xff as u32)) as u8);
1597 let x235: fiat_p521_u1 = ((x233 >> 8) as fiat_p521_u1);
1598 *IndexConst(&mut out1).index_mut(0) = x94;
1599 *IndexConst(&mut out1).index_mut(1) = x96;
1600 *IndexConst(&mut out1).index_mut(2) = x98;
1601 *IndexConst(&mut out1).index_mut(3) = x101;
1602 *IndexConst(&mut out1).index_mut(4) = x103;
1603 *IndexConst(&mut out1).index_mut(5) = x105;
1604 *IndexConst(&mut out1).index_mut(6) = x108;
1605 *IndexConst(&mut out1).index_mut(7) = x110;
1606 *IndexConst(&mut out1).index_mut(8) = x112;
1607 *IndexConst(&mut out1).index_mut(9) = x114;
1608 *IndexConst(&mut out1).index_mut(10) = x117;
1609 *IndexConst(&mut out1).index_mut(11) = x119;
1610 *IndexConst(&mut out1).index_mut(12) = x121;
1611 *IndexConst(&mut out1).index_mut(13) = x124;
1612 *IndexConst(&mut out1).index_mut(14) = x126;
1613 *IndexConst(&mut out1).index_mut(15) = x128;
1614 *IndexConst(&mut out1).index_mut(16) = x130;
1615 *IndexConst(&mut out1).index_mut(17) = x133;
1616 *IndexConst(&mut out1).index_mut(18) = x135;
1617 *IndexConst(&mut out1).index_mut(19) = x137;
1618 *IndexConst(&mut out1).index_mut(20) = x140;
1619 *IndexConst(&mut out1).index_mut(21) = x142;
1620 *IndexConst(&mut out1).index_mut(22) = x144;
1621 *IndexConst(&mut out1).index_mut(23) = x145;
1622 *IndexConst(&mut out1).index_mut(24) = x146;
1623 *IndexConst(&mut out1).index_mut(25) = x148;
1624 *IndexConst(&mut out1).index_mut(26) = x150;
1625 *IndexConst(&mut out1).index_mut(27) = x153;
1626 *IndexConst(&mut out1).index_mut(28) = x155;
1627 *IndexConst(&mut out1).index_mut(29) = x157;
1628 *IndexConst(&mut out1).index_mut(30) = x160;
1629 *IndexConst(&mut out1).index_mut(31) = x162;
1630 *IndexConst(&mut out1).index_mut(32) = x164;
1631 *IndexConst(&mut out1).index_mut(33) = x166;
1632 *IndexConst(&mut out1).index_mut(34) = x169;
1633 *IndexConst(&mut out1).index_mut(35) = x171;
1634 *IndexConst(&mut out1).index_mut(36) = x173;
1635 *IndexConst(&mut out1).index_mut(37) = x176;
1636 *IndexConst(&mut out1).index_mut(38) = x178;
1637 *IndexConst(&mut out1).index_mut(39) = x180;
1638 *IndexConst(&mut out1).index_mut(40) = x182;
1639 *IndexConst(&mut out1).index_mut(41) = x185;
1640 *IndexConst(&mut out1).index_mut(42) = x187;
1641 *IndexConst(&mut out1).index_mut(43) = x189;
1642 *IndexConst(&mut out1).index_mut(44) = x192;
1643 *IndexConst(&mut out1).index_mut(45) = x194;
1644 *IndexConst(&mut out1).index_mut(46) = x196;
1645 *IndexConst(&mut out1).index_mut(47) = x197;
1646 *IndexConst(&mut out1).index_mut(48) = x198;
1647 *IndexConst(&mut out1).index_mut(49) = x200;
1648 *IndexConst(&mut out1).index_mut(50) = x202;
1649 *IndexConst(&mut out1).index_mut(51) = x205;
1650 *IndexConst(&mut out1).index_mut(52) = x207;
1651 *IndexConst(&mut out1).index_mut(53) = x209;
1652 *IndexConst(&mut out1).index_mut(54) = x212;
1653 *IndexConst(&mut out1).index_mut(55) = x214;
1654 *IndexConst(&mut out1).index_mut(56) = x216;
1655 *IndexConst(&mut out1).index_mut(57) = x218;
1656 *IndexConst(&mut out1).index_mut(58) = x221;
1657 *IndexConst(&mut out1).index_mut(59) = x223;
1658 *IndexConst(&mut out1).index_mut(60) = x225;
1659 *IndexConst(&mut out1).index_mut(61) = x228;
1660 *IndexConst(&mut out1).index_mut(62) = x230;
1661 *IndexConst(&mut out1).index_mut(63) = x232;
1662 *IndexConst(&mut out1).index_mut(64) = x234;
1663 *IndexConst(&mut out1).index_mut(65) = (x235 as u8);
1664}
1665
1666#[inline]
1674pub const fn fiat_p521_from_bytes(mut out1: &mut fiat_p521_tight_field_element, arg1: &[u8; 66]) {
1675 let x1: u32 = ((((*IndexConst(arg1).index(65)) as fiat_p521_u1) as u32) << 26);
1676 let x2: u32 = (((*IndexConst(arg1).index(64)) as u32) << 18);
1677 let x3: u32 = (((*IndexConst(arg1).index(63)) as u32) << 10);
1678 let x4: u32 = (((*IndexConst(arg1).index(62)) as u32) << 2);
1679 let x5: u32 = (((*IndexConst(arg1).index(61)) as u32) << 21);
1680 let x6: u32 = (((*IndexConst(arg1).index(60)) as u32) << 13);
1681 let x7: u32 = (((*IndexConst(arg1).index(59)) as u32) << 5);
1682 let x8: u64 = (((*IndexConst(arg1).index(58)) as u64) << 25);
1683 let x9: u32 = (((*IndexConst(arg1).index(57)) as u32) << 17);
1684 let x10: u32 = (((*IndexConst(arg1).index(56)) as u32) << 9);
1685 let x11: u32 = (((*IndexConst(arg1).index(55)) as u32) * (0x2 as u32));
1686 let x12: u32 = (((*IndexConst(arg1).index(54)) as u32) << 20);
1687 let x13: u32 = (((*IndexConst(arg1).index(53)) as u32) << 12);
1688 let x14: u32 = (((*IndexConst(arg1).index(52)) as u32) << 4);
1689 let x15: u32 = (((*IndexConst(arg1).index(51)) as u32) << 24);
1690 let x16: u32 = (((*IndexConst(arg1).index(50)) as u32) << 16);
1691 let x17: u32 = (((*IndexConst(arg1).index(49)) as u32) << 8);
1692 let x18: u8 = (*IndexConst(arg1).index(48));
1693 let x19: u32 = (((*IndexConst(arg1).index(47)) as u32) << 19);
1694 let x20: u32 = (((*IndexConst(arg1).index(46)) as u32) << 11);
1695 let x21: u32 = (((*IndexConst(arg1).index(45)) as u32) << 3);
1696 let x22: u32 = (((*IndexConst(arg1).index(44)) as u32) << 22);
1697 let x23: u32 = (((*IndexConst(arg1).index(43)) as u32) << 14);
1698 let x24: u32 = (((*IndexConst(arg1).index(42)) as u32) << 6);
1699 let x25: u64 = (((*IndexConst(arg1).index(41)) as u64) << 26);
1700 let x26: u32 = (((*IndexConst(arg1).index(40)) as u32) << 18);
1701 let x27: u32 = (((*IndexConst(arg1).index(39)) as u32) << 10);
1702 let x28: u32 = (((*IndexConst(arg1).index(38)) as u32) << 2);
1703 let x29: u32 = (((*IndexConst(arg1).index(37)) as u32) << 21);
1704 let x30: u32 = (((*IndexConst(arg1).index(36)) as u32) << 13);
1705 let x31: u32 = (((*IndexConst(arg1).index(35)) as u32) << 5);
1706 let x32: u64 = (((*IndexConst(arg1).index(34)) as u64) << 25);
1707 let x33: u32 = (((*IndexConst(arg1).index(33)) as u32) << 17);
1708 let x34: u32 = (((*IndexConst(arg1).index(32)) as u32) << 9);
1709 let x35: u32 = (((*IndexConst(arg1).index(31)) as u32) * (0x2 as u32));
1710 let x36: u32 = (((*IndexConst(arg1).index(30)) as u32) << 20);
1711 let x37: u32 = (((*IndexConst(arg1).index(29)) as u32) << 12);
1712 let x38: u32 = (((*IndexConst(arg1).index(28)) as u32) << 4);
1713 let x39: u32 = (((*IndexConst(arg1).index(27)) as u32) << 24);
1714 let x40: u32 = (((*IndexConst(arg1).index(26)) as u32) << 16);
1715 let x41: u32 = (((*IndexConst(arg1).index(25)) as u32) << 8);
1716 let x42: u8 = (*IndexConst(arg1).index(24));
1717 let x43: u32 = (((*IndexConst(arg1).index(23)) as u32) << 19);
1718 let x44: u32 = (((*IndexConst(arg1).index(22)) as u32) << 11);
1719 let x45: u32 = (((*IndexConst(arg1).index(21)) as u32) << 3);
1720 let x46: u32 = (((*IndexConst(arg1).index(20)) as u32) << 22);
1721 let x47: u32 = (((*IndexConst(arg1).index(19)) as u32) << 14);
1722 let x48: u32 = (((*IndexConst(arg1).index(18)) as u32) << 6);
1723 let x49: u64 = (((*IndexConst(arg1).index(17)) as u64) << 26);
1724 let x50: u32 = (((*IndexConst(arg1).index(16)) as u32) << 18);
1725 let x51: u32 = (((*IndexConst(arg1).index(15)) as u32) << 10);
1726 let x52: u32 = (((*IndexConst(arg1).index(14)) as u32) << 2);
1727 let x53: u32 = (((*IndexConst(arg1).index(13)) as u32) << 21);
1728 let x54: u32 = (((*IndexConst(arg1).index(12)) as u32) << 13);
1729 let x55: u32 = (((*IndexConst(arg1).index(11)) as u32) << 5);
1730 let x56: u64 = (((*IndexConst(arg1).index(10)) as u64) << 25);
1731 let x57: u32 = (((*IndexConst(arg1).index(9)) as u32) << 17);
1732 let x58: u32 = (((*IndexConst(arg1).index(8)) as u32) << 9);
1733 let x59: u32 = (((*IndexConst(arg1).index(7)) as u32) * (0x2 as u32));
1734 let x60: u32 = (((*IndexConst(arg1).index(6)) as u32) << 20);
1735 let x61: u32 = (((*IndexConst(arg1).index(5)) as u32) << 12);
1736 let x62: u32 = (((*IndexConst(arg1).index(4)) as u32) << 4);
1737 let x63: u32 = (((*IndexConst(arg1).index(3)) as u32) << 24);
1738 let x64: u32 = (((*IndexConst(arg1).index(2)) as u32) << 16);
1739 let x65: u32 = (((*IndexConst(arg1).index(1)) as u32) << 8);
1740 let x66: u8 = (*IndexConst(arg1).index(0));
1741 let x67: u32 = (x65 + (x66 as u32));
1742 let x68: u32 = (x64 + x67);
1743 let x69: u32 = (x63 + x68);
1744 let x70: u32 = (x69 & 0xfffffff);
1745 let x71: u8 = ((x69 >> 28) as u8);
1746 let x72: u32 = (x62 + (x71 as u32));
1747 let x73: u32 = (x61 + x72);
1748 let x74: u32 = (x60 + x73);
1749 let x75: u32 = (x74 & 0x7ffffff);
1750 let x76: fiat_p521_u1 = ((x74 >> 27) as fiat_p521_u1);
1751 let x77: u32 = (x59 + (x76 as u32));
1752 let x78: u32 = (x58 + x77);
1753 let x79: u32 = (x57 + x78);
1754 let x80: u64 = (x56 + (x79 as u64));
1755 let x81: u32 = ((x80 & (0xfffffff as u64)) as u32);
1756 let x82: u8 = ((x80 >> 28) as u8);
1757 let x83: u32 = (x55 + (x82 as u32));
1758 let x84: u32 = (x54 + x83);
1759 let x85: u32 = (x53 + x84);
1760 let x86: u32 = (x85 & 0x7ffffff);
1761 let x87: u8 = ((x85 >> 27) as u8);
1762 let x88: u32 = (x52 + (x87 as u32));
1763 let x89: u32 = (x51 + x88);
1764 let x90: u32 = (x50 + x89);
1765 let x91: u64 = (x49 + (x90 as u64));
1766 let x92: u32 = ((x91 & (0xfffffff as u64)) as u32);
1767 let x93: u8 = ((x91 >> 28) as u8);
1768 let x94: u32 = (x48 + (x93 as u32));
1769 let x95: u32 = (x47 + x94);
1770 let x96: u32 = (x46 + x95);
1771 let x97: u32 = (x96 & 0x7ffffff);
1772 let x98: u8 = ((x96 >> 27) as u8);
1773 let x99: u32 = (x45 + (x98 as u32));
1774 let x100: u32 = (x44 + x99);
1775 let x101: u32 = (x43 + x100);
1776 let x102: u32 = (x41 + (x42 as u32));
1777 let x103: u32 = (x40 + x102);
1778 let x104: u32 = (x39 + x103);
1779 let x105: u32 = (x104 & 0xfffffff);
1780 let x106: u8 = ((x104 >> 28) as u8);
1781 let x107: u32 = (x38 + (x106 as u32));
1782 let x108: u32 = (x37 + x107);
1783 let x109: u32 = (x36 + x108);
1784 let x110: u32 = (x109 & 0x7ffffff);
1785 let x111: fiat_p521_u1 = ((x109 >> 27) as fiat_p521_u1);
1786 let x112: u32 = (x35 + (x111 as u32));
1787 let x113: u32 = (x34 + x112);
1788 let x114: u32 = (x33 + x113);
1789 let x115: u64 = (x32 + (x114 as u64));
1790 let x116: u32 = ((x115 & (0xfffffff as u64)) as u32);
1791 let x117: u8 = ((x115 >> 28) as u8);
1792 let x118: u32 = (x31 + (x117 as u32));
1793 let x119: u32 = (x30 + x118);
1794 let x120: u32 = (x29 + x119);
1795 let x121: u32 = (x120 & 0x7ffffff);
1796 let x122: u8 = ((x120 >> 27) as u8);
1797 let x123: u32 = (x28 + (x122 as u32));
1798 let x124: u32 = (x27 + x123);
1799 let x125: u32 = (x26 + x124);
1800 let x126: u64 = (x25 + (x125 as u64));
1801 let x127: u32 = ((x126 & (0xfffffff as u64)) as u32);
1802 let x128: u8 = ((x126 >> 28) as u8);
1803 let x129: u32 = (x24 + (x128 as u32));
1804 let x130: u32 = (x23 + x129);
1805 let x131: u32 = (x22 + x130);
1806 let x132: u32 = (x131 & 0x7ffffff);
1807 let x133: u8 = ((x131 >> 27) as u8);
1808 let x134: u32 = (x21 + (x133 as u32));
1809 let x135: u32 = (x20 + x134);
1810 let x136: u32 = (x19 + x135);
1811 let x137: u32 = (x17 + (x18 as u32));
1812 let x138: u32 = (x16 + x137);
1813 let x139: u32 = (x15 + x138);
1814 let x140: u32 = (x139 & 0xfffffff);
1815 let x141: u8 = ((x139 >> 28) as u8);
1816 let x142: u32 = (x14 + (x141 as u32));
1817 let x143: u32 = (x13 + x142);
1818 let x144: u32 = (x12 + x143);
1819 let x145: u32 = (x144 & 0x7ffffff);
1820 let x146: fiat_p521_u1 = ((x144 >> 27) as fiat_p521_u1);
1821 let x147: u32 = (x11 + (x146 as u32));
1822 let x148: u32 = (x10 + x147);
1823 let x149: u32 = (x9 + x148);
1824 let x150: u64 = (x8 + (x149 as u64));
1825 let x151: u32 = ((x150 & (0xfffffff as u64)) as u32);
1826 let x152: u8 = ((x150 >> 28) as u8);
1827 let x153: u32 = (x7 + (x152 as u32));
1828 let x154: u32 = (x6 + x153);
1829 let x155: u32 = (x5 + x154);
1830 let x156: u32 = (x155 & 0x7ffffff);
1831 let x157: u8 = ((x155 >> 27) as u8);
1832 let x158: u32 = (x4 + (x157 as u32));
1833 let x159: u32 = (x3 + x158);
1834 let x160: u32 = (x2 + x159);
1835 let x161: u32 = (x1 + x160);
1836 *IndexConst(&mut out1).index_mut(0) = x70;
1837 *IndexConst(&mut out1).index_mut(1) = x75;
1838 *IndexConst(&mut out1).index_mut(2) = x81;
1839 *IndexConst(&mut out1).index_mut(3) = x86;
1840 *IndexConst(&mut out1).index_mut(4) = x92;
1841 *IndexConst(&mut out1).index_mut(5) = x97;
1842 *IndexConst(&mut out1).index_mut(6) = x101;
1843 *IndexConst(&mut out1).index_mut(7) = x105;
1844 *IndexConst(&mut out1).index_mut(8) = x110;
1845 *IndexConst(&mut out1).index_mut(9) = x116;
1846 *IndexConst(&mut out1).index_mut(10) = x121;
1847 *IndexConst(&mut out1).index_mut(11) = x127;
1848 *IndexConst(&mut out1).index_mut(12) = x132;
1849 *IndexConst(&mut out1).index_mut(13) = x136;
1850 *IndexConst(&mut out1).index_mut(14) = x140;
1851 *IndexConst(&mut out1).index_mut(15) = x145;
1852 *IndexConst(&mut out1).index_mut(16) = x151;
1853 *IndexConst(&mut out1).index_mut(17) = x156;
1854 *IndexConst(&mut out1).index_mut(18) = x161;
1855}
1856
1857#[inline]
1863pub const fn fiat_p521_relax(mut out1: &mut fiat_p521_loose_field_element, arg1: &fiat_p521_tight_field_element) {
1864 let x1: u32 = (*IndexConst(arg1).index(0));
1865 let x2: u32 = (*IndexConst(arg1).index(1));
1866 let x3: u32 = (*IndexConst(arg1).index(2));
1867 let x4: u32 = (*IndexConst(arg1).index(3));
1868 let x5: u32 = (*IndexConst(arg1).index(4));
1869 let x6: u32 = (*IndexConst(arg1).index(5));
1870 let x7: u32 = (*IndexConst(arg1).index(6));
1871 let x8: u32 = (*IndexConst(arg1).index(7));
1872 let x9: u32 = (*IndexConst(arg1).index(8));
1873 let x10: u32 = (*IndexConst(arg1).index(9));
1874 let x11: u32 = (*IndexConst(arg1).index(10));
1875 let x12: u32 = (*IndexConst(arg1).index(11));
1876 let x13: u32 = (*IndexConst(arg1).index(12));
1877 let x14: u32 = (*IndexConst(arg1).index(13));
1878 let x15: u32 = (*IndexConst(arg1).index(14));
1879 let x16: u32 = (*IndexConst(arg1).index(15));
1880 let x17: u32 = (*IndexConst(arg1).index(16));
1881 let x18: u32 = (*IndexConst(arg1).index(17));
1882 let x19: u32 = (*IndexConst(arg1).index(18));
1883 *IndexConst(&mut out1).index_mut(0) = x1;
1884 *IndexConst(&mut out1).index_mut(1) = x2;
1885 *IndexConst(&mut out1).index_mut(2) = x3;
1886 *IndexConst(&mut out1).index_mut(3) = x4;
1887 *IndexConst(&mut out1).index_mut(4) = x5;
1888 *IndexConst(&mut out1).index_mut(5) = x6;
1889 *IndexConst(&mut out1).index_mut(6) = x7;
1890 *IndexConst(&mut out1).index_mut(7) = x8;
1891 *IndexConst(&mut out1).index_mut(8) = x9;
1892 *IndexConst(&mut out1).index_mut(9) = x10;
1893 *IndexConst(&mut out1).index_mut(10) = x11;
1894 *IndexConst(&mut out1).index_mut(11) = x12;
1895 *IndexConst(&mut out1).index_mut(12) = x13;
1896 *IndexConst(&mut out1).index_mut(13) = x14;
1897 *IndexConst(&mut out1).index_mut(14) = x15;
1898 *IndexConst(&mut out1).index_mut(15) = x16;
1899 *IndexConst(&mut out1).index_mut(16) = x17;
1900 *IndexConst(&mut out1).index_mut(17) = x18;
1901 *IndexConst(&mut out1).index_mut(18) = x19;
1902}