forked from mit-plv/fiat-crypto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
p448_solinas_32.c
2874 lines (2854 loc) · 86 KB
/
p448_solinas_32.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* Autogenerated: 'src/ExtractionOCaml/unsaturated_solinas' --inline --static --use-value-barrier p448 32 16 '2^448 - 2^224 - 1' carry_mul carry_square carry add sub opp selectznz to_bytes from_bytes relax */
/* curve description: p448 */
/* machine_wordsize = 32 (from "32") */
/* requested operations: carry_mul, carry_square, carry, add, sub, opp, selectznz, to_bytes, from_bytes, relax */
/* n = 16 (from "16") */
/* s-c = 2^448 - [(2^224, 1), (1, 1)] (from "2^448 - 2^224 - 1") */
/* tight_bounds_multiplier = 1 (from "") */
/* */
/* Computed values: */
/* carry_chain = [7, 15, 8, 0, 9, 1, 10, 2, 11, 3, 12, 4, 13, 5, 14, 6, 15, 7, 8, 0] */
/* eval z = z[0] + (z[1] << 28) + (z[2] << 56) + (z[3] << 84) + (z[4] << 112) + (z[5] << 140) + (z[6] << 168) + (z[7] << 196) + (z[8] << 224) + (z[9] << 252) + (z[10] << 0x118) + (z[11] << 0x134) + (z[12] << 0x150) + (z[13] << 0x16c) + (z[14] << 0x188) + (z[15] << 0x1a4) */
/* bytes_eval z = z[0] + (z[1] << 8) + (z[2] << 16) + (z[3] << 24) + (z[4] << 32) + (z[5] << 40) + (z[6] << 48) + (z[7] << 56) + (z[8] << 64) + (z[9] << 72) + (z[10] << 80) + (z[11] << 88) + (z[12] << 96) + (z[13] << 104) + (z[14] << 112) + (z[15] << 120) + (z[16] << 128) + (z[17] << 136) + (z[18] << 144) + (z[19] << 152) + (z[20] << 160) + (z[21] << 168) + (z[22] << 176) + (z[23] << 184) + (z[24] << 192) + (z[25] << 200) + (z[26] << 208) + (z[27] << 216) + (z[28] << 224) + (z[29] << 232) + (z[30] << 240) + (z[31] << 248) + (z[32] << 256) + (z[33] << 0x108) + (z[34] << 0x110) + (z[35] << 0x118) + (z[36] << 0x120) + (z[37] << 0x128) + (z[38] << 0x130) + (z[39] << 0x138) + (z[40] << 0x140) + (z[41] << 0x148) + (z[42] << 0x150) + (z[43] << 0x158) + (z[44] << 0x160) + (z[45] << 0x168) + (z[46] << 0x170) + (z[47] << 0x178) + (z[48] << 0x180) + (z[49] << 0x188) + (z[50] << 0x190) + (z[51] << 0x198) + (z[52] << 0x1a0) + (z[53] << 0x1a8) + (z[54] << 0x1b0) + (z[55] << 0x1b8) */
/* balance = [0x1ffffffe, 0x1ffffffe, 0x1ffffffe, 0x1ffffffe, 0x1ffffffe, 0x1ffffffe, 0x1ffffffe, 0x1ffffffe, 0x1ffffffc, 0x1ffffffe, 0x1ffffffe, 0x1ffffffe, 0x1ffffffe, 0x1ffffffe, 0x1ffffffe, 0x1ffffffe] */
#include <stdint.h>
typedef unsigned char fiat_p448_uint1;
typedef signed char fiat_p448_int1;
#if defined(__GNUC__) || defined(__clang__)
# define FIAT_P448_FIAT_EXTENSION __extension__
# define FIAT_P448_FIAT_INLINE __inline__
#else
# define FIAT_P448_FIAT_EXTENSION
# define FIAT_P448_FIAT_INLINE
#endif
FIAT_P448_FIAT_EXTENSION typedef signed __int128 fiat_p448_int128;
FIAT_P448_FIAT_EXTENSION typedef unsigned __int128 fiat_p448_uint128;
/* The type fiat_p448_loose_field_element is a field element with loose bounds. */
/* Bounds: [[0x0 ~> 0x30000000], [0x0 ~> 0x30000000], [0x0 ~> 0x30000000], [0x0 ~> 0x30000000], [0x0 ~> 0x30000000], [0x0 ~> 0x30000000], [0x0 ~> 0x30000000], [0x0 ~> 0x30000000], [0x0 ~> 0x30000000], [0x0 ~> 0x30000000], [0x0 ~> 0x30000000], [0x0 ~> 0x30000000], [0x0 ~> 0x30000000], [0x0 ~> 0x30000000], [0x0 ~> 0x30000000], [0x0 ~> 0x30000000]] */
typedef uint32_t fiat_p448_loose_field_element[16];
/* The type fiat_p448_tight_field_element is a field element with tight bounds. */
/* Bounds: [[0x0 ~> 0x10000000], [0x0 ~> 0x10000000], [0x0 ~> 0x10000000], [0x0 ~> 0x10000000], [0x0 ~> 0x10000000], [0x0 ~> 0x10000000], [0x0 ~> 0x10000000], [0x0 ~> 0x10000000], [0x0 ~> 0x10000000], [0x0 ~> 0x10000000], [0x0 ~> 0x10000000], [0x0 ~> 0x10000000], [0x0 ~> 0x10000000], [0x0 ~> 0x10000000], [0x0 ~> 0x10000000], [0x0 ~> 0x10000000]] */
typedef uint32_t fiat_p448_tight_field_element[16];
#if (-1 & 3) != 3
#error "This code only works on a two's complement system"
#endif
#if !defined(FIAT_P448_NO_ASM) && (defined(__GNUC__) || defined(__clang__))
static __inline__ uint32_t fiat_p448_value_barrier_u32(uint32_t a) {
__asm__("" : "+r"(a) : /* no inputs */);
return a;
}
#else
# define fiat_p448_value_barrier_u32(x) (x)
#endif
/*
* The function fiat_p448_addcarryx_u28 is an addition with carry.
*
* Postconditions:
* out1 = (arg1 + arg2 + arg3) mod 2^28
* out2 = ⌊(arg1 + arg2 + arg3) / 2^28⌋
*
* Input Bounds:
* arg1: [0x0 ~> 0x1]
* arg2: [0x0 ~> 0xfffffff]
* arg3: [0x0 ~> 0xfffffff]
* Output Bounds:
* out1: [0x0 ~> 0xfffffff]
* out2: [0x0 ~> 0x1]
*/
static FIAT_P448_FIAT_INLINE void fiat_p448_addcarryx_u28(uint32_t* out1, fiat_p448_uint1* out2, fiat_p448_uint1 arg1, uint32_t arg2, uint32_t arg3) {
uint32_t x1;
uint32_t x2;
fiat_p448_uint1 x3;
x1 = ((arg1 + arg2) + arg3);
x2 = (x1 & UINT32_C(0xfffffff));
x3 = (fiat_p448_uint1)(x1 >> 28);
*out1 = x2;
*out2 = x3;
}
/*
* The function fiat_p448_subborrowx_u28 is a subtraction with borrow.
*
* Postconditions:
* out1 = (-arg1 + arg2 + -arg3) mod 2^28
* out2 = -⌊(-arg1 + arg2 + -arg3) / 2^28⌋
*
* Input Bounds:
* arg1: [0x0 ~> 0x1]
* arg2: [0x0 ~> 0xfffffff]
* arg3: [0x0 ~> 0xfffffff]
* Output Bounds:
* out1: [0x0 ~> 0xfffffff]
* out2: [0x0 ~> 0x1]
*/
static FIAT_P448_FIAT_INLINE void fiat_p448_subborrowx_u28(uint32_t* out1, fiat_p448_uint1* out2, fiat_p448_uint1 arg1, uint32_t arg2, uint32_t arg3) {
int32_t x1;
fiat_p448_int1 x2;
uint32_t x3;
x1 = ((int32_t)(arg2 - arg1) - (int32_t)arg3);
x2 = (fiat_p448_int1)(x1 >> 28);
x3 = (x1 & UINT32_C(0xfffffff));
*out1 = x3;
*out2 = (fiat_p448_uint1)(0x0 - x2);
}
/*
* The function fiat_p448_cmovznz_u32 is a single-word conditional move.
*
* Postconditions:
* out1 = (if arg1 = 0 then arg2 else arg3)
*
* Input Bounds:
* arg1: [0x0 ~> 0x1]
* arg2: [0x0 ~> 0xffffffff]
* arg3: [0x0 ~> 0xffffffff]
* Output Bounds:
* out1: [0x0 ~> 0xffffffff]
*/
static FIAT_P448_FIAT_INLINE void fiat_p448_cmovznz_u32(uint32_t* out1, fiat_p448_uint1 arg1, uint32_t arg2, uint32_t arg3) {
fiat_p448_uint1 x1;
uint32_t x2;
uint32_t x3;
x1 = (!(!arg1));
x2 = ((fiat_p448_int1)(0x0 - x1) & UINT32_C(0xffffffff));
x3 = ((fiat_p448_value_barrier_u32(x2) & arg3) | (fiat_p448_value_barrier_u32((~x2)) & arg2));
*out1 = x3;
}
/*
* The function fiat_p448_carry_mul multiplies two field elements and reduces the result.
*
* Postconditions:
* eval out1 mod m = (eval arg1 * eval arg2) mod m
*
*/
static FIAT_P448_FIAT_INLINE void fiat_p448_carry_mul(fiat_p448_tight_field_element out1, const fiat_p448_loose_field_element arg1, const fiat_p448_loose_field_element arg2) {
uint64_t x1;
uint64_t x2;
uint64_t x3;
uint64_t x4;
uint64_t x5;
uint64_t x6;
uint64_t x7;
uint64_t x8;
uint64_t x9;
uint64_t x10;
uint64_t x11;
uint64_t x12;
uint64_t x13;
uint64_t x14;
uint64_t x15;
uint64_t x16;
uint64_t x17;
uint64_t x18;
uint64_t x19;
uint64_t x20;
uint64_t x21;
uint64_t x22;
uint64_t x23;
uint64_t x24;
uint64_t x25;
uint64_t x26;
uint64_t x27;
uint64_t x28;
uint64_t x29;
uint64_t x30;
uint64_t x31;
uint64_t x32;
uint64_t x33;
uint64_t x34;
uint64_t x35;
uint64_t x36;
uint64_t x37;
uint64_t x38;
uint64_t x39;
uint64_t x40;
uint64_t x41;
uint64_t x42;
uint64_t x43;
uint64_t x44;
uint64_t x45;
uint64_t x46;
uint64_t x47;
uint64_t x48;
uint64_t x49;
uint64_t x50;
uint64_t x51;
uint64_t x52;
uint64_t x53;
uint64_t x54;
uint64_t x55;
uint64_t x56;
uint64_t x57;
uint64_t x58;
uint64_t x59;
uint64_t x60;
uint64_t x61;
uint64_t x62;
uint64_t x63;
uint64_t x64;
uint64_t x65;
uint64_t x66;
uint64_t x67;
uint64_t x68;
uint64_t x69;
uint64_t x70;
uint64_t x71;
uint64_t x72;
uint64_t x73;
uint64_t x74;
uint64_t x75;
uint64_t x76;
uint64_t x77;
uint64_t x78;
uint64_t x79;
uint64_t x80;
uint64_t x81;
uint64_t x82;
uint64_t x83;
uint64_t x84;
uint64_t x85;
uint64_t x86;
uint64_t x87;
uint64_t x88;
uint64_t x89;
uint64_t x90;
uint64_t x91;
uint64_t x92;
uint64_t x93;
uint64_t x94;
uint64_t x95;
uint64_t x96;
uint64_t x97;
uint64_t x98;
uint64_t x99;
uint64_t x100;
uint64_t x101;
uint64_t x102;
uint64_t x103;
uint64_t x104;
uint64_t x105;
uint64_t x106;
uint64_t x107;
uint64_t x108;
uint64_t x109;
uint64_t x110;
uint64_t x111;
uint64_t x112;
uint64_t x113;
uint64_t x114;
uint64_t x115;
uint64_t x116;
uint64_t x117;
uint64_t x118;
uint64_t x119;
uint64_t x120;
uint64_t x121;
uint64_t x122;
uint64_t x123;
uint64_t x124;
uint64_t x125;
uint64_t x126;
uint64_t x127;
uint64_t x128;
uint64_t x129;
uint64_t x130;
uint64_t x131;
uint64_t x132;
uint64_t x133;
uint64_t x134;
uint64_t x135;
uint64_t x136;
uint64_t x137;
uint64_t x138;
uint64_t x139;
uint64_t x140;
uint64_t x141;
uint64_t x142;
uint64_t x143;
uint64_t x144;
uint64_t x145;
uint64_t x146;
uint64_t x147;
uint64_t x148;
uint64_t x149;
uint64_t x150;
uint64_t x151;
uint64_t x152;
uint64_t x153;
uint64_t x154;
uint64_t x155;
uint64_t x156;
uint64_t x157;
uint64_t x158;
uint64_t x159;
uint64_t x160;
uint64_t x161;
uint64_t x162;
uint64_t x163;
uint64_t x164;
uint64_t x165;
uint64_t x166;
uint64_t x167;
uint64_t x168;
uint64_t x169;
uint64_t x170;
uint64_t x171;
uint64_t x172;
uint64_t x173;
uint64_t x174;
uint64_t x175;
uint64_t x176;
uint64_t x177;
uint64_t x178;
uint64_t x179;
uint64_t x180;
uint64_t x181;
uint64_t x182;
uint64_t x183;
uint64_t x184;
uint64_t x185;
uint64_t x186;
uint64_t x187;
uint64_t x188;
uint64_t x189;
uint64_t x190;
uint64_t x191;
uint64_t x192;
uint64_t x193;
uint64_t x194;
uint64_t x195;
uint64_t x196;
uint64_t x197;
uint64_t x198;
uint64_t x199;
uint64_t x200;
uint64_t x201;
uint64_t x202;
uint64_t x203;
uint64_t x204;
uint64_t x205;
uint64_t x206;
uint64_t x207;
uint64_t x208;
uint64_t x209;
uint64_t x210;
uint64_t x211;
uint64_t x212;
uint64_t x213;
uint64_t x214;
uint64_t x215;
uint64_t x216;
uint64_t x217;
uint64_t x218;
uint64_t x219;
uint64_t x220;
uint64_t x221;
uint64_t x222;
uint64_t x223;
uint64_t x224;
uint64_t x225;
uint64_t x226;
uint64_t x227;
uint64_t x228;
uint64_t x229;
uint64_t x230;
uint64_t x231;
uint64_t x232;
uint64_t x233;
uint64_t x234;
uint64_t x235;
uint64_t x236;
uint64_t x237;
uint64_t x238;
uint64_t x239;
uint64_t x240;
uint64_t x241;
uint64_t x242;
uint64_t x243;
uint64_t x244;
uint64_t x245;
uint64_t x246;
uint64_t x247;
uint64_t x248;
uint64_t x249;
uint64_t x250;
uint64_t x251;
uint64_t x252;
uint64_t x253;
uint64_t x254;
uint64_t x255;
uint64_t x256;
uint64_t x257;
uint64_t x258;
uint64_t x259;
uint64_t x260;
uint64_t x261;
uint64_t x262;
uint64_t x263;
uint64_t x264;
uint64_t x265;
uint64_t x266;
uint64_t x267;
uint64_t x268;
uint64_t x269;
uint64_t x270;
uint64_t x271;
uint64_t x272;
uint64_t x273;
uint64_t x274;
uint64_t x275;
uint64_t x276;
uint64_t x277;
uint64_t x278;
uint64_t x279;
uint64_t x280;
uint64_t x281;
uint64_t x282;
uint64_t x283;
uint64_t x284;
uint64_t x285;
uint64_t x286;
uint64_t x287;
uint64_t x288;
uint64_t x289;
uint64_t x290;
uint64_t x291;
uint64_t x292;
uint64_t x293;
uint64_t x294;
uint64_t x295;
uint64_t x296;
uint64_t x297;
uint64_t x298;
uint64_t x299;
uint64_t x300;
uint64_t x301;
uint64_t x302;
uint64_t x303;
uint64_t x304;
uint64_t x305;
uint64_t x306;
uint64_t x307;
uint64_t x308;
uint64_t x309;
uint64_t x310;
uint64_t x311;
uint64_t x312;
uint64_t x313;
uint64_t x314;
uint64_t x315;
uint64_t x316;
uint64_t x317;
uint64_t x318;
uint64_t x319;
uint64_t x320;
uint64_t x321;
uint64_t x322;
uint64_t x323;
uint64_t x324;
uint64_t x325;
uint64_t x326;
uint64_t x327;
uint64_t x328;
uint64_t x329;
uint64_t x330;
uint64_t x331;
uint64_t x332;
uint64_t x333;
uint64_t x334;
uint64_t x335;
uint64_t x336;
uint64_t x337;
uint64_t x338;
uint64_t x339;
uint64_t x340;
uint64_t x341;
uint64_t x342;
uint64_t x343;
uint64_t x344;
uint64_t x345;
uint64_t x346;
uint64_t x347;
uint64_t x348;
uint64_t x349;
uint64_t x350;
uint64_t x351;
uint64_t x352;
uint64_t x353;
uint64_t x354;
uint64_t x355;
uint64_t x356;
uint64_t x357;
uint64_t x358;
uint64_t x359;
uint64_t x360;
uint64_t x361;
uint64_t x362;
uint64_t x363;
uint64_t x364;
uint64_t x365;
uint64_t x366;
uint64_t x367;
uint64_t x368;
uint64_t x369;
uint64_t x370;
uint64_t x371;
uint64_t x372;
uint64_t x373;
uint64_t x374;
uint64_t x375;
uint64_t x376;
uint64_t x377;
uint64_t x378;
uint64_t x379;
uint64_t x380;
uint64_t x381;
uint64_t x382;
uint64_t x383;
uint64_t x384;
uint64_t x385;
uint64_t x386;
uint64_t x387;
uint64_t x388;
uint64_t x389;
uint64_t x390;
uint64_t x391;
uint64_t x392;
uint64_t x393;
uint64_t x394;
uint64_t x395;
uint64_t x396;
uint64_t x397;
uint64_t x398;
uint64_t x399;
uint64_t x400;
uint64_t x401;
uint64_t x402;
uint64_t x403;
uint64_t x404;
uint64_t x405;
uint64_t x406;
uint32_t x407;
uint64_t x408;
uint64_t x409;
uint64_t x410;
fiat_p448_uint128 x411;
fiat_p448_uint128 x412;
fiat_p448_uint128 x413;
fiat_p448_uint128 x414;
fiat_p448_uint128 x415;
uint64_t x416;
uint64_t x417;
uint64_t x418;
uint64_t x419;
uint64_t x420;
uint64_t x421;
uint64_t x422;
fiat_p448_uint128 x423;
uint64_t x424;
uint32_t x425;
fiat_p448_uint128 x426;
uint64_t x427;
uint32_t x428;
uint64_t x429;
fiat_p448_uint128 x430;
uint64_t x431;
uint32_t x432;
uint64_t x433;
uint64_t x434;
uint32_t x435;
fiat_p448_uint128 x436;
uint64_t x437;
uint32_t x438;
uint64_t x439;
uint64_t x440;
uint32_t x441;
fiat_p448_uint128 x442;
uint64_t x443;
uint32_t x444;
uint64_t x445;
uint64_t x446;
uint32_t x447;
fiat_p448_uint128 x448;
uint64_t x449;
uint32_t x450;
uint64_t x451;
uint64_t x452;
uint32_t x453;
uint64_t x454;
uint64_t x455;
uint32_t x456;
uint64_t x457;
uint64_t x458;
uint32_t x459;
uint64_t x460;
uint64_t x461;
uint32_t x462;
uint64_t x463;
uint64_t x464;
uint32_t x465;
uint64_t x466;
uint64_t x467;
uint32_t x468;
uint64_t x469;
uint32_t x470;
uint32_t x471;
uint32_t x472;
uint32_t x473;
uint32_t x474;
uint32_t x475;
uint32_t x476;
fiat_p448_uint1 x477;
uint32_t x478;
uint32_t x479;
fiat_p448_uint1 x480;
uint32_t x481;
uint32_t x482;
x1 = ((uint64_t)(arg1[15]) * (arg2[15]));
x2 = ((uint64_t)(arg1[15]) * (arg2[14]));
x3 = ((uint64_t)(arg1[15]) * (arg2[13]));
x4 = ((uint64_t)(arg1[15]) * (arg2[12]));
x5 = ((uint64_t)(arg1[15]) * (arg2[11]));
x6 = ((uint64_t)(arg1[15]) * (arg2[10]));
x7 = ((uint64_t)(arg1[15]) * (arg2[9]));
x8 = ((uint64_t)(arg1[14]) * (arg2[15]));
x9 = ((uint64_t)(arg1[14]) * (arg2[14]));
x10 = ((uint64_t)(arg1[14]) * (arg2[13]));
x11 = ((uint64_t)(arg1[14]) * (arg2[12]));
x12 = ((uint64_t)(arg1[14]) * (arg2[11]));
x13 = ((uint64_t)(arg1[14]) * (arg2[10]));
x14 = ((uint64_t)(arg1[13]) * (arg2[15]));
x15 = ((uint64_t)(arg1[13]) * (arg2[14]));
x16 = ((uint64_t)(arg1[13]) * (arg2[13]));
x17 = ((uint64_t)(arg1[13]) * (arg2[12]));
x18 = ((uint64_t)(arg1[13]) * (arg2[11]));
x19 = ((uint64_t)(arg1[12]) * (arg2[15]));
x20 = ((uint64_t)(arg1[12]) * (arg2[14]));
x21 = ((uint64_t)(arg1[12]) * (arg2[13]));
x22 = ((uint64_t)(arg1[12]) * (arg2[12]));
x23 = ((uint64_t)(arg1[11]) * (arg2[15]));
x24 = ((uint64_t)(arg1[11]) * (arg2[14]));
x25 = ((uint64_t)(arg1[11]) * (arg2[13]));
x26 = ((uint64_t)(arg1[10]) * (arg2[15]));
x27 = ((uint64_t)(arg1[10]) * (arg2[14]));
x28 = ((uint64_t)(arg1[9]) * (arg2[15]));
x29 = ((uint64_t)(arg1[15]) * (arg2[15]));
x30 = ((uint64_t)(arg1[15]) * (arg2[14]));
x31 = ((uint64_t)(arg1[15]) * (arg2[13]));
x32 = ((uint64_t)(arg1[15]) * (arg2[12]));
x33 = ((uint64_t)(arg1[15]) * (arg2[11]));
x34 = ((uint64_t)(arg1[15]) * (arg2[10]));
x35 = ((uint64_t)(arg1[15]) * (arg2[9]));
x36 = ((uint64_t)(arg1[14]) * (arg2[15]));
x37 = ((uint64_t)(arg1[14]) * (arg2[14]));
x38 = ((uint64_t)(arg1[14]) * (arg2[13]));
x39 = ((uint64_t)(arg1[14]) * (arg2[12]));
x40 = ((uint64_t)(arg1[14]) * (arg2[11]));
x41 = ((uint64_t)(arg1[14]) * (arg2[10]));
x42 = ((uint64_t)(arg1[13]) * (arg2[15]));
x43 = ((uint64_t)(arg1[13]) * (arg2[14]));
x44 = ((uint64_t)(arg1[13]) * (arg2[13]));
x45 = ((uint64_t)(arg1[13]) * (arg2[12]));
x46 = ((uint64_t)(arg1[13]) * (arg2[11]));
x47 = ((uint64_t)(arg1[12]) * (arg2[15]));
x48 = ((uint64_t)(arg1[12]) * (arg2[14]));
x49 = ((uint64_t)(arg1[12]) * (arg2[13]));
x50 = ((uint64_t)(arg1[12]) * (arg2[12]));
x51 = ((uint64_t)(arg1[11]) * (arg2[15]));
x52 = ((uint64_t)(arg1[11]) * (arg2[14]));
x53 = ((uint64_t)(arg1[11]) * (arg2[13]));
x54 = ((uint64_t)(arg1[10]) * (arg2[15]));
x55 = ((uint64_t)(arg1[10]) * (arg2[14]));
x56 = ((uint64_t)(arg1[9]) * (arg2[15]));
x57 = ((uint64_t)(arg1[15]) * (arg2[15]));
x58 = ((uint64_t)(arg1[15]) * (arg2[14]));
x59 = ((uint64_t)(arg1[15]) * (arg2[13]));
x60 = ((uint64_t)(arg1[15]) * (arg2[12]));
x61 = ((uint64_t)(arg1[15]) * (arg2[11]));
x62 = ((uint64_t)(arg1[15]) * (arg2[10]));
x63 = ((uint64_t)(arg1[15]) * (arg2[9]));
x64 = ((uint64_t)(arg1[15]) * (arg2[8]));
x65 = ((uint64_t)(arg1[15]) * (arg2[7]));
x66 = ((uint64_t)(arg1[15]) * (arg2[6]));
x67 = ((uint64_t)(arg1[15]) * (arg2[5]));
x68 = ((uint64_t)(arg1[15]) * (arg2[4]));
x69 = ((uint64_t)(arg1[15]) * (arg2[3]));
x70 = ((uint64_t)(arg1[15]) * (arg2[2]));
x71 = ((uint64_t)(arg1[15]) * (arg2[1]));
x72 = ((uint64_t)(arg1[14]) * (arg2[15]));
x73 = ((uint64_t)(arg1[14]) * (arg2[14]));
x74 = ((uint64_t)(arg1[14]) * (arg2[13]));
x75 = ((uint64_t)(arg1[14]) * (arg2[12]));
x76 = ((uint64_t)(arg1[14]) * (arg2[11]));
x77 = ((uint64_t)(arg1[14]) * (arg2[10]));
x78 = ((uint64_t)(arg1[14]) * (arg2[9]));
x79 = ((uint64_t)(arg1[14]) * (arg2[8]));
x80 = ((uint64_t)(arg1[14]) * (arg2[7]));
x81 = ((uint64_t)(arg1[14]) * (arg2[6]));
x82 = ((uint64_t)(arg1[14]) * (arg2[5]));
x83 = ((uint64_t)(arg1[14]) * (arg2[4]));
x84 = ((uint64_t)(arg1[14]) * (arg2[3]));
x85 = ((uint64_t)(arg1[14]) * (arg2[2]));
x86 = ((uint64_t)(arg1[13]) * (arg2[15]));
x87 = ((uint64_t)(arg1[13]) * (arg2[14]));
x88 = ((uint64_t)(arg1[13]) * (arg2[13]));
x89 = ((uint64_t)(arg1[13]) * (arg2[12]));
x90 = ((uint64_t)(arg1[13]) * (arg2[11]));
x91 = ((uint64_t)(arg1[13]) * (arg2[10]));
x92 = ((uint64_t)(arg1[13]) * (arg2[9]));
x93 = ((uint64_t)(arg1[13]) * (arg2[8]));
x94 = ((uint64_t)(arg1[13]) * (arg2[7]));
x95 = ((uint64_t)(arg1[13]) * (arg2[6]));
x96 = ((uint64_t)(arg1[13]) * (arg2[5]));
x97 = ((uint64_t)(arg1[13]) * (arg2[4]));
x98 = ((uint64_t)(arg1[13]) * (arg2[3]));
x99 = ((uint64_t)(arg1[12]) * (arg2[15]));
x100 = ((uint64_t)(arg1[12]) * (arg2[14]));
x101 = ((uint64_t)(arg1[12]) * (arg2[13]));
x102 = ((uint64_t)(arg1[12]) * (arg2[12]));
x103 = ((uint64_t)(arg1[12]) * (arg2[11]));
x104 = ((uint64_t)(arg1[12]) * (arg2[10]));
x105 = ((uint64_t)(arg1[12]) * (arg2[9]));
x106 = ((uint64_t)(arg1[12]) * (arg2[8]));
x107 = ((uint64_t)(arg1[12]) * (arg2[7]));
x108 = ((uint64_t)(arg1[12]) * (arg2[6]));
x109 = ((uint64_t)(arg1[12]) * (arg2[5]));
x110 = ((uint64_t)(arg1[12]) * (arg2[4]));
x111 = ((uint64_t)(arg1[11]) * (arg2[15]));
x112 = ((uint64_t)(arg1[11]) * (arg2[14]));
x113 = ((uint64_t)(arg1[11]) * (arg2[13]));
x114 = ((uint64_t)(arg1[11]) * (arg2[12]));
x115 = ((uint64_t)(arg1[11]) * (arg2[11]));
x116 = ((uint64_t)(arg1[11]) * (arg2[10]));
x117 = ((uint64_t)(arg1[11]) * (arg2[9]));
x118 = ((uint64_t)(arg1[11]) * (arg2[8]));
x119 = ((uint64_t)(arg1[11]) * (arg2[7]));
x120 = ((uint64_t)(arg1[11]) * (arg2[6]));
x121 = ((uint64_t)(arg1[11]) * (arg2[5]));
x122 = ((uint64_t)(arg1[10]) * (arg2[15]));
x123 = ((uint64_t)(arg1[10]) * (arg2[14]));
x124 = ((uint64_t)(arg1[10]) * (arg2[13]));
x125 = ((uint64_t)(arg1[10]) * (arg2[12]));
x126 = ((uint64_t)(arg1[10]) * (arg2[11]));
x127 = ((uint64_t)(arg1[10]) * (arg2[10]));
x128 = ((uint64_t)(arg1[10]) * (arg2[9]));
x129 = ((uint64_t)(arg1[10]) * (arg2[8]));
x130 = ((uint64_t)(arg1[10]) * (arg2[7]));
x131 = ((uint64_t)(arg1[10]) * (arg2[6]));
x132 = ((uint64_t)(arg1[9]) * (arg2[15]));
x133 = ((uint64_t)(arg1[9]) * (arg2[14]));
x134 = ((uint64_t)(arg1[9]) * (arg2[13]));
x135 = ((uint64_t)(arg1[9]) * (arg2[12]));
x136 = ((uint64_t)(arg1[9]) * (arg2[11]));
x137 = ((uint64_t)(arg1[9]) * (arg2[10]));
x138 = ((uint64_t)(arg1[9]) * (arg2[9]));
x139 = ((uint64_t)(arg1[9]) * (arg2[8]));
x140 = ((uint64_t)(arg1[9]) * (arg2[7]));
x141 = ((uint64_t)(arg1[8]) * (arg2[15]));
x142 = ((uint64_t)(arg1[8]) * (arg2[14]));
x143 = ((uint64_t)(arg1[8]) * (arg2[13]));
x144 = ((uint64_t)(arg1[8]) * (arg2[12]));
x145 = ((uint64_t)(arg1[8]) * (arg2[11]));
x146 = ((uint64_t)(arg1[8]) * (arg2[10]));
x147 = ((uint64_t)(arg1[8]) * (arg2[9]));
x148 = ((uint64_t)(arg1[8]) * (arg2[8]));
x149 = ((uint64_t)(arg1[7]) * (arg2[15]));
x150 = ((uint64_t)(arg1[7]) * (arg2[14]));
x151 = ((uint64_t)(arg1[7]) * (arg2[13]));
x152 = ((uint64_t)(arg1[7]) * (arg2[12]));
x153 = ((uint64_t)(arg1[7]) * (arg2[11]));
x154 = ((uint64_t)(arg1[7]) * (arg2[10]));
x155 = ((uint64_t)(arg1[7]) * (arg2[9]));
x156 = ((uint64_t)(arg1[6]) * (arg2[15]));
x157 = ((uint64_t)(arg1[6]) * (arg2[14]));
x158 = ((uint64_t)(arg1[6]) * (arg2[13]));
x159 = ((uint64_t)(arg1[6]) * (arg2[12]));
x160 = ((uint64_t)(arg1[6]) * (arg2[11]));
x161 = ((uint64_t)(arg1[6]) * (arg2[10]));
x162 = ((uint64_t)(arg1[5]) * (arg2[15]));
x163 = ((uint64_t)(arg1[5]) * (arg2[14]));
x164 = ((uint64_t)(arg1[5]) * (arg2[13]));
x165 = ((uint64_t)(arg1[5]) * (arg2[12]));
x166 = ((uint64_t)(arg1[5]) * (arg2[11]));
x167 = ((uint64_t)(arg1[4]) * (arg2[15]));
x168 = ((uint64_t)(arg1[4]) * (arg2[14]));
x169 = ((uint64_t)(arg1[4]) * (arg2[13]));
x170 = ((uint64_t)(arg1[4]) * (arg2[12]));
x171 = ((uint64_t)(arg1[3]) * (arg2[15]));
x172 = ((uint64_t)(arg1[3]) * (arg2[14]));
x173 = ((uint64_t)(arg1[3]) * (arg2[13]));
x174 = ((uint64_t)(arg1[2]) * (arg2[15]));
x175 = ((uint64_t)(arg1[2]) * (arg2[14]));
x176 = ((uint64_t)(arg1[1]) * (arg2[15]));
x177 = ((uint64_t)(arg1[15]) * (arg2[8]));
x178 = ((uint64_t)(arg1[15]) * (arg2[7]));
x179 = ((uint64_t)(arg1[15]) * (arg2[6]));
x180 = ((uint64_t)(arg1[15]) * (arg2[5]));
x181 = ((uint64_t)(arg1[15]) * (arg2[4]));
x182 = ((uint64_t)(arg1[15]) * (arg2[3]));
x183 = ((uint64_t)(arg1[15]) * (arg2[2]));
x184 = ((uint64_t)(arg1[15]) * (arg2[1]));
x185 = ((uint64_t)(arg1[14]) * (arg2[9]));
x186 = ((uint64_t)(arg1[14]) * (arg2[8]));
x187 = ((uint64_t)(arg1[14]) * (arg2[7]));
x188 = ((uint64_t)(arg1[14]) * (arg2[6]));
x189 = ((uint64_t)(arg1[14]) * (arg2[5]));
x190 = ((uint64_t)(arg1[14]) * (arg2[4]));
x191 = ((uint64_t)(arg1[14]) * (arg2[3]));
x192 = ((uint64_t)(arg1[14]) * (arg2[2]));
x193 = ((uint64_t)(arg1[13]) * (arg2[10]));
x194 = ((uint64_t)(arg1[13]) * (arg2[9]));
x195 = ((uint64_t)(arg1[13]) * (arg2[8]));
x196 = ((uint64_t)(arg1[13]) * (arg2[7]));
x197 = ((uint64_t)(arg1[13]) * (arg2[6]));
x198 = ((uint64_t)(arg1[13]) * (arg2[5]));
x199 = ((uint64_t)(arg1[13]) * (arg2[4]));
x200 = ((uint64_t)(arg1[13]) * (arg2[3]));
x201 = ((uint64_t)(arg1[12]) * (arg2[11]));
x202 = ((uint64_t)(arg1[12]) * (arg2[10]));
x203 = ((uint64_t)(arg1[12]) * (arg2[9]));
x204 = ((uint64_t)(arg1[12]) * (arg2[8]));
x205 = ((uint64_t)(arg1[12]) * (arg2[7]));
x206 = ((uint64_t)(arg1[12]) * (arg2[6]));
x207 = ((uint64_t)(arg1[12]) * (arg2[5]));
x208 = ((uint64_t)(arg1[12]) * (arg2[4]));
x209 = ((uint64_t)(arg1[11]) * (arg2[12]));
x210 = ((uint64_t)(arg1[11]) * (arg2[11]));
x211 = ((uint64_t)(arg1[11]) * (arg2[10]));
x212 = ((uint64_t)(arg1[11]) * (arg2[9]));
x213 = ((uint64_t)(arg1[11]) * (arg2[8]));
x214 = ((uint64_t)(arg1[11]) * (arg2[7]));
x215 = ((uint64_t)(arg1[11]) * (arg2[6]));
x216 = ((uint64_t)(arg1[11]) * (arg2[5]));
x217 = ((uint64_t)(arg1[10]) * (arg2[13]));
x218 = ((uint64_t)(arg1[10]) * (arg2[12]));
x219 = ((uint64_t)(arg1[10]) * (arg2[11]));
x220 = ((uint64_t)(arg1[10]) * (arg2[10]));
x221 = ((uint64_t)(arg1[10]) * (arg2[9]));
x222 = ((uint64_t)(arg1[10]) * (arg2[8]));
x223 = ((uint64_t)(arg1[10]) * (arg2[7]));
x224 = ((uint64_t)(arg1[10]) * (arg2[6]));
x225 = ((uint64_t)(arg1[9]) * (arg2[14]));
x226 = ((uint64_t)(arg1[9]) * (arg2[13]));
x227 = ((uint64_t)(arg1[9]) * (arg2[12]));
x228 = ((uint64_t)(arg1[9]) * (arg2[11]));
x229 = ((uint64_t)(arg1[9]) * (arg2[10]));
x230 = ((uint64_t)(arg1[9]) * (arg2[9]));
x231 = ((uint64_t)(arg1[9]) * (arg2[8]));
x232 = ((uint64_t)(arg1[9]) * (arg2[7]));
x233 = ((uint64_t)(arg1[8]) * (arg2[15]));
x234 = ((uint64_t)(arg1[8]) * (arg2[14]));
x235 = ((uint64_t)(arg1[8]) * (arg2[13]));
x236 = ((uint64_t)(arg1[8]) * (arg2[12]));
x237 = ((uint64_t)(arg1[8]) * (arg2[11]));
x238 = ((uint64_t)(arg1[8]) * (arg2[10]));
x239 = ((uint64_t)(arg1[8]) * (arg2[9]));
x240 = ((uint64_t)(arg1[8]) * (arg2[8]));
x241 = ((uint64_t)(arg1[7]) * (arg2[15]));
x242 = ((uint64_t)(arg1[7]) * (arg2[14]));
x243 = ((uint64_t)(arg1[7]) * (arg2[13]));
x244 = ((uint64_t)(arg1[7]) * (arg2[12]));
x245 = ((uint64_t)(arg1[7]) * (arg2[11]));
x246 = ((uint64_t)(arg1[7]) * (arg2[10]));
x247 = ((uint64_t)(arg1[7]) * (arg2[9]));
x248 = ((uint64_t)(arg1[6]) * (arg2[15]));
x249 = ((uint64_t)(arg1[6]) * (arg2[14]));
x250 = ((uint64_t)(arg1[6]) * (arg2[13]));
x251 = ((uint64_t)(arg1[6]) * (arg2[12]));
x252 = ((uint64_t)(arg1[6]) * (arg2[11]));
x253 = ((uint64_t)(arg1[6]) * (arg2[10]));
x254 = ((uint64_t)(arg1[5]) * (arg2[15]));
x255 = ((uint64_t)(arg1[5]) * (arg2[14]));
x256 = ((uint64_t)(arg1[5]) * (arg2[13]));
x257 = ((uint64_t)(arg1[5]) * (arg2[12]));
x258 = ((uint64_t)(arg1[5]) * (arg2[11]));
x259 = ((uint64_t)(arg1[4]) * (arg2[15]));
x260 = ((uint64_t)(arg1[4]) * (arg2[14]));
x261 = ((uint64_t)(arg1[4]) * (arg2[13]));
x262 = ((uint64_t)(arg1[4]) * (arg2[12]));
x263 = ((uint64_t)(arg1[3]) * (arg2[15]));
x264 = ((uint64_t)(arg1[3]) * (arg2[14]));
x265 = ((uint64_t)(arg1[3]) * (arg2[13]));
x266 = ((uint64_t)(arg1[2]) * (arg2[15]));
x267 = ((uint64_t)(arg1[2]) * (arg2[14]));
x268 = ((uint64_t)(arg1[1]) * (arg2[15]));
x269 = ((uint64_t)(arg1[15]) * (arg2[0]));
x270 = ((uint64_t)(arg1[14]) * (arg2[1]));
x271 = ((uint64_t)(arg1[14]) * (arg2[0]));
x272 = ((uint64_t)(arg1[13]) * (arg2[2]));
x273 = ((uint64_t)(arg1[13]) * (arg2[1]));
x274 = ((uint64_t)(arg1[13]) * (arg2[0]));
x275 = ((uint64_t)(arg1[12]) * (arg2[3]));
x276 = ((uint64_t)(arg1[12]) * (arg2[2]));
x277 = ((uint64_t)(arg1[12]) * (arg2[1]));
x278 = ((uint64_t)(arg1[12]) * (arg2[0]));
x279 = ((uint64_t)(arg1[11]) * (arg2[4]));
x280 = ((uint64_t)(arg1[11]) * (arg2[3]));
x281 = ((uint64_t)(arg1[11]) * (arg2[2]));
x282 = ((uint64_t)(arg1[11]) * (arg2[1]));
x283 = ((uint64_t)(arg1[11]) * (arg2[0]));
x284 = ((uint64_t)(arg1[10]) * (arg2[5]));
x285 = ((uint64_t)(arg1[10]) * (arg2[4]));
x286 = ((uint64_t)(arg1[10]) * (arg2[3]));
x287 = ((uint64_t)(arg1[10]) * (arg2[2]));
x288 = ((uint64_t)(arg1[10]) * (arg2[1]));
x289 = ((uint64_t)(arg1[10]) * (arg2[0]));
x290 = ((uint64_t)(arg1[9]) * (arg2[6]));
x291 = ((uint64_t)(arg1[9]) * (arg2[5]));
x292 = ((uint64_t)(arg1[9]) * (arg2[4]));
x293 = ((uint64_t)(arg1[9]) * (arg2[3]));
x294 = ((uint64_t)(arg1[9]) * (arg2[2]));
x295 = ((uint64_t)(arg1[9]) * (arg2[1]));
x296 = ((uint64_t)(arg1[9]) * (arg2[0]));
x297 = ((uint64_t)(arg1[8]) * (arg2[7]));
x298 = ((uint64_t)(arg1[8]) * (arg2[6]));
x299 = ((uint64_t)(arg1[8]) * (arg2[5]));
x300 = ((uint64_t)(arg1[8]) * (arg2[4]));
x301 = ((uint64_t)(arg1[8]) * (arg2[3]));
x302 = ((uint64_t)(arg1[8]) * (arg2[2]));
x303 = ((uint64_t)(arg1[8]) * (arg2[1]));
x304 = ((uint64_t)(arg1[8]) * (arg2[0]));
x305 = ((uint64_t)(arg1[7]) * (arg2[8]));
x306 = ((uint64_t)(arg1[7]) * (arg2[7]));
x307 = ((uint64_t)(arg1[7]) * (arg2[6]));
x308 = ((uint64_t)(arg1[7]) * (arg2[5]));
x309 = ((uint64_t)(arg1[7]) * (arg2[4]));
x310 = ((uint64_t)(arg1[7]) * (arg2[3]));
x311 = ((uint64_t)(arg1[7]) * (arg2[2]));
x312 = ((uint64_t)(arg1[7]) * (arg2[1]));
x313 = ((uint64_t)(arg1[7]) * (arg2[0]));
x314 = ((uint64_t)(arg1[6]) * (arg2[9]));
x315 = ((uint64_t)(arg1[6]) * (arg2[8]));
x316 = ((uint64_t)(arg1[6]) * (arg2[7]));
x317 = ((uint64_t)(arg1[6]) * (arg2[6]));
x318 = ((uint64_t)(arg1[6]) * (arg2[5]));
x319 = ((uint64_t)(arg1[6]) * (arg2[4]));
x320 = ((uint64_t)(arg1[6]) * (arg2[3]));
x321 = ((uint64_t)(arg1[6]) * (arg2[2]));
x322 = ((uint64_t)(arg1[6]) * (arg2[1]));
x323 = ((uint64_t)(arg1[6]) * (arg2[0]));
x324 = ((uint64_t)(arg1[5]) * (arg2[10]));
x325 = ((uint64_t)(arg1[5]) * (arg2[9]));
x326 = ((uint64_t)(arg1[5]) * (arg2[8]));
x327 = ((uint64_t)(arg1[5]) * (arg2[7]));
x328 = ((uint64_t)(arg1[5]) * (arg2[6]));
x329 = ((uint64_t)(arg1[5]) * (arg2[5]));
x330 = ((uint64_t)(arg1[5]) * (arg2[4]));
x331 = ((uint64_t)(arg1[5]) * (arg2[3]));
x332 = ((uint64_t)(arg1[5]) * (arg2[2]));
x333 = ((uint64_t)(arg1[5]) * (arg2[1]));
x334 = ((uint64_t)(arg1[5]) * (arg2[0]));
x335 = ((uint64_t)(arg1[4]) * (arg2[11]));
x336 = ((uint64_t)(arg1[4]) * (arg2[10]));
x337 = ((uint64_t)(arg1[4]) * (arg2[9]));
x338 = ((uint64_t)(arg1[4]) * (arg2[8]));
x339 = ((uint64_t)(arg1[4]) * (arg2[7]));
x340 = ((uint64_t)(arg1[4]) * (arg2[6]));
x341 = ((uint64_t)(arg1[4]) * (arg2[5]));
x342 = ((uint64_t)(arg1[4]) * (arg2[4]));
x343 = ((uint64_t)(arg1[4]) * (arg2[3]));
x344 = ((uint64_t)(arg1[4]) * (arg2[2]));
x345 = ((uint64_t)(arg1[4]) * (arg2[1]));
x346 = ((uint64_t)(arg1[4]) * (arg2[0]));
x347 = ((uint64_t)(arg1[3]) * (arg2[12]));
x348 = ((uint64_t)(arg1[3]) * (arg2[11]));
x349 = ((uint64_t)(arg1[3]) * (arg2[10]));
x350 = ((uint64_t)(arg1[3]) * (arg2[9]));
x351 = ((uint64_t)(arg1[3]) * (arg2[8]));
x352 = ((uint64_t)(arg1[3]) * (arg2[7]));
x353 = ((uint64_t)(arg1[3]) * (arg2[6]));
x354 = ((uint64_t)(arg1[3]) * (arg2[5]));
x355 = ((uint64_t)(arg1[3]) * (arg2[4]));
x356 = ((uint64_t)(arg1[3]) * (arg2[3]));
x357 = ((uint64_t)(arg1[3]) * (arg2[2]));
x358 = ((uint64_t)(arg1[3]) * (arg2[1]));
x359 = ((uint64_t)(arg1[3]) * (arg2[0]));
x360 = ((uint64_t)(arg1[2]) * (arg2[13]));
x361 = ((uint64_t)(arg1[2]) * (arg2[12]));
x362 = ((uint64_t)(arg1[2]) * (arg2[11]));
x363 = ((uint64_t)(arg1[2]) * (arg2[10]));
x364 = ((uint64_t)(arg1[2]) * (arg2[9]));
x365 = ((uint64_t)(arg1[2]) * (arg2[8]));
x366 = ((uint64_t)(arg1[2]) * (arg2[7]));
x367 = ((uint64_t)(arg1[2]) * (arg2[6]));
x368 = ((uint64_t)(arg1[2]) * (arg2[5]));
x369 = ((uint64_t)(arg1[2]) * (arg2[4]));
x370 = ((uint64_t)(arg1[2]) * (arg2[3]));
x371 = ((uint64_t)(arg1[2]) * (arg2[2]));
x372 = ((uint64_t)(arg1[2]) * (arg2[1]));
x373 = ((uint64_t)(arg1[2]) * (arg2[0]));
x374 = ((uint64_t)(arg1[1]) * (arg2[14]));
x375 = ((uint64_t)(arg1[1]) * (arg2[13]));
x376 = ((uint64_t)(arg1[1]) * (arg2[12]));
x377 = ((uint64_t)(arg1[1]) * (arg2[11]));
x378 = ((uint64_t)(arg1[1]) * (arg2[10]));
x379 = ((uint64_t)(arg1[1]) * (arg2[9]));
x380 = ((uint64_t)(arg1[1]) * (arg2[8]));
x381 = ((uint64_t)(arg1[1]) * (arg2[7]));
x382 = ((uint64_t)(arg1[1]) * (arg2[6]));
x383 = ((uint64_t)(arg1[1]) * (arg2[5]));
x384 = ((uint64_t)(arg1[1]) * (arg2[4]));
x385 = ((uint64_t)(arg1[1]) * (arg2[3]));