summaryrefslogtreecommitdiff
path: root/tests/fuzz/17.c
blob: 25b3028e8043540256d5f15084fb5f41445ab416 (plain)
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
/*
 * This is a RANDOMLY GENERATED PROGRAM.
 *
 * Generator: csmith 2.2.0
 * Git version: bf42ffd
 * Options:   --no-volatiles --no-math64 --no-packed-struct
 * Seed:      3580928136
 */

#include "csmith.h"


static long __undefined;

/* --- Struct/Union Declarations --- */
struct S0 {
   const uint16_t  f0;
   int8_t  f1;
   int16_t  f2;
   const int8_t  f3;
   int32_t  f4;
};

struct S1 {
   unsigned f0 : 15;
   signed f1 : 17;
   signed f2 : 2;
   const unsigned f3 : 30;
   signed f4 : 20;
};

/* --- GLOBAL VARIABLES --- */
static int32_t g_3[6] = {0x99D94B4BL,0x99D94B4BL,0x99D94B4BL,0x99D94B4BL,0x99D94B4BL,0x99D94B4BL};
static int32_t g_5 = (-1L);
static uint16_t g_6[10] = {0xD814L,0x4B54L,0xD814L,0xD814L,0x4B54L,0xD814L,0xD814L,0x4B54L,0xD814L,0xD814L};
static int32_t g_11 = 0L;
static int32_t g_12 = 0xBD4856CDL;
static int32_t g_15 = (-1L);
static int16_t g_20 = 0xE3D4L;
static int32_t *g_54 = &g_3[0];
static int32_t **g_53 = &g_54;
static struct S1 g_68 = {97,-181,0,30095,273};
static int8_t g_83 = 0x24L;
static int32_t g_90 = 0xA07F58E9L;
static struct S0 g_92[6][4][9] = {{{{0x78D3L,0L,0x3BA0L,0x38L,-1L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L}},{{0x8624L,1L,1L,-1L,0xD6B41A24L},{65530UL,-1L,8L,3L,0xCB4F9107L},{65535UL,0x4CL,-1L,-1L,1L},{65535UL,0x4CL,-1L,-1L,1L},{65530UL,-1L,8L,3L,0xCB4F9107L},{0x8624L,1L,1L,-1L,0xD6B41A24L},{65530UL,-1L,8L,3L,0xCB4F9107L},{65535UL,0x4CL,-1L,-1L,1L},{65535UL,0x4CL,-1L,-1L,1L}},{{0x78D3L,0L,0x3BA0L,0x38L,-1L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L}},{{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65530UL,-1L,8L,3L,0xCB4F9107L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65535UL,0x4CL,-1L,-1L,1L},{65535UL,-1L,6L,1L,0x50DEC7D6L},{65535UL,0x4CL,-1L,-1L,1L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL}}},{{{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L}},{{0x8624L,1L,1L,-1L,0xD6B41A24L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65530UL,-1L,8L,3L,0xCB4F9107L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{0x8624L,1L,1L,-1L,0xD6B41A24L},{0x8624L,1L,1L,-1L,0xD6B41A24L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65530UL,-1L,8L,3L,0xCB4F9107L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL}},{{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{65535UL,-4L,0L,-1L,0x3BBBF133L},{65535UL,-4L,0L,-1L,0x3BBBF133L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{65535UL,-4L,0L,-1L,0x3BBBF133L},{65535UL,-4L,0L,-1L,0x3BBBF133L}},{{0x8624L,1L,1L,-1L,0xD6B41A24L},{0x8624L,1L,1L,-1L,0xD6B41A24L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65530UL,-1L,8L,3L,0xCB4F9107L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{0x8624L,1L,1L,-1L,0xD6B41A24L},{0x8624L,1L,1L,-1L,0xD6B41A24L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65530UL,-1L,8L,3L,0xCB4F9107L}}},{{{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L}},{{65535UL,0x4CL,-1L,-1L,1L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65535UL,0x4CL,-1L,-1L,1L},{65535UL,-1L,6L,1L,0x50DEC7D6L},{65535UL,0x4CL,-1L,-1L,1L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65535UL,0x4CL,-1L,-1L,1L}},{{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{65535UL,-4L,0L,-1L,0x3BBBF133L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{65535UL,-4L,0L,-1L,0x3BBBF133L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L}},{{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65535UL,-1L,6L,1L,0x50DEC7D6L},{65530UL,-1L,8L,3L,0xCB4F9107L},{65530UL,-1L,8L,3L,0xCB4F9107L},{65535UL,-1L,6L,1L,0x50DEC7D6L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65535UL,-1L,6L,1L,0x50DEC7D6L},{65530UL,-1L,8L,3L,0xCB4F9107L},{65530UL,-1L,8L,3L,0xCB4F9107L}}},{{{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{65535UL,-4L,0L,-1L,0x3BBBF133L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{65535UL,-4L,0L,-1L,0x3BBBF133L}},{{65535UL,0x4CL,-1L,-1L,1L},{65535UL,-1L,6L,1L,0x50DEC7D6L},{65535UL,0x4CL,-1L,-1L,1L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65535UL,0x4CL,-1L,-1L,1L},{65535UL,-1L,6L,1L,0x50DEC7D6L},{65535UL,0x4CL,-1L,-1L,1L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL}},{{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L}},{{0x8624L,1L,1L,-1L,0xD6B41A24L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65530UL,-1L,8L,3L,0xCB4F9107L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{0x8624L,1L,1L,-1L,0xD6B41A24L},{0x8624L,1L,1L,-1L,0xD6B41A24L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65530UL,-1L,8L,3L,0xCB4F9107L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL}}},{{{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{65535UL,-4L,0L,-1L,0x3BBBF133L},{65535UL,-4L,0L,-1L,0x3BBBF133L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{65535UL,-4L,0L,-1L,0x3BBBF133L},{65535UL,-4L,0L,-1L,0x3BBBF133L}},{{0x8624L,1L,1L,-1L,0xD6B41A24L},{0x8624L,1L,1L,-1L,0xD6B41A24L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65530UL,-1L,8L,3L,0xCB4F9107L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{0x8624L,1L,1L,-1L,0xD6B41A24L},{0x8624L,1L,1L,-1L,0xD6B41A24L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65530UL,-1L,8L,3L,0xCB4F9107L}},{{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x78D3L,0L,0x3BA0L,0x38L,-1L},{0x85E4L,0xCFL,0x1528L,0x9DL,0xD8B2F938L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L}},{{65535UL,0x4CL,-1L,-1L,1L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65535UL,0x4CL,-1L,-1L,1L},{65535UL,-1L,6L,1L,0x50DEC7D6L},{65535UL,0x4CL,-1L,-1L,1L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65535UL,0x4CL,-1L,-1L,1L}}},{{{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{65535UL,-4L,0L,-1L,0x3BBBF133L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{65535UL,-4L,0L,-1L,0x3BBBF133L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L}},{{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65535UL,-1L,6L,1L,0x50DEC7D6L},{65530UL,-1L,8L,3L,0xCB4F9107L},{65530UL,-1L,8L,3L,0xCB4F9107L},{65535UL,-1L,6L,1L,0x50DEC7D6L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65535UL,-1L,6L,1L,0x50DEC7D6L},{65530UL,-1L,8L,3L,0xCB4F9107L},{65530UL,-1L,8L,3L,0xCB4F9107L}},{{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{65535UL,-4L,0L,-1L,0x3BBBF133L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x3FE2L,0xFCL,0x2E64L,-4L,0xAE891756L},{0x68CBL,0x47L,-8L,0x60L,0x879556C6L},{65535UL,-4L,0L,-1L,0x3BBBF133L}},{{65535UL,0x4CL,-1L,-1L,1L},{65535UL,-1L,6L,1L,0x50DEC7D6L},{65535UL,0x4CL,-1L,-1L,1L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL},{65535UL,0x4CL,-1L,-1L,1L},{65535UL,-1L,6L,1L,0x50DEC7D6L},{65535UL,0x4CL,-1L,-1L,1L},{0xE1C3L,-9L,-8L,-1L,0x4BB8EBACL}}}};
static struct S0 *g_91 = &g_92[3][1][3];
static int32_t *g_94 = &g_90;
static int32_t g_97 = 0L;
static const int32_t *g_130 = (void*)0;
static const int32_t **g_129[4] = {(void*)0,(void*)0,(void*)0,(void*)0};
static uint16_t g_150 = 0xD7ECL;
static uint32_t g_156[6][8] = {{4294967295UL,0x5E426DA7L,5UL,0x5E426DA7L,0UL,0UL,0x5E426DA7L,5UL},{0UL,0UL,0x5E426DA7L,5UL,0x5E426DA7L,0UL,0UL,0x5E426DA7L},{0x43A2B23CL,0x5E426DA7L,0x5E426DA7L,0x43A2B23CL,4294967295UL,0x43A2B23CL,0x5E426DA7L,0x5E426DA7L},{0x5E426DA7L,4294967295UL,5UL,5UL,4294967295UL,0x5E426DA7L,4294967295UL,5UL},{0x43A2B23CL,4294967295UL,0x43A2B23CL,0x5E426DA7L,0x5E426DA7L,0x43A2B23CL,4294967295UL,0x43A2B23CL},{0UL,0x5E426DA7L,5UL,0x5E426DA7L,0UL,0UL,0x5E426DA7L,5UL}};
static int32_t *g_185 = &g_97;
static int32_t **g_184 = &g_185;
static uint32_t g_213 = 2UL;
static int8_t ***g_272 = (void*)0;
static uint16_t g_278[1][4] = {{65535UL,65535UL,65535UL,65535UL}};
static uint8_t g_294 = 0x8DL;
static int8_t g_353 = 0x6DL;
static uint32_t g_356 = 0UL;
static const uint16_t g_357 = 0xF420L;
static int8_t g_359[4] = {0x2CL,0x2CL,0x2CL,0x2CL};
static uint32_t g_428 = 0x0034FCF9L;
static const struct S1 g_433 = {96,257,-1,30005,-437};
static const struct S1 *g_432 = &g_433;
static uint32_t g_489 = 0UL;
static uint32_t g_504 = 0x38500FCCL;
static uint32_t g_518 = 0x7A80F367L;
static int32_t g_544[9][4] = {{0x433C63A2L,0xE3D1AC7EL,6L,0L},{5L,6L,0xFD45AB81L,0xBDED5D88L},{6L,0x433C63A2L,0x00D2AF56L,0x00D2AF56L},{6L,6L,0xFD45AB81L,0xD4E567DBL},{5L,0x00D2AF56L,6L,6L},{0x433C63A2L,7L,(-4L),6L},{0L,7L,0L,6L},{7L,0x00D2AF56L,0x7AF8F90EL,0xD4E567DBL},{0xD4E567DBL,6L,0x433C63A2L,0x00D2AF56L}};
static struct S0 g_576 = {65535UL,-1L,0L,0x7CL,-3L};
static int32_t g_584 = 0xEF0DB528L;
static int32_t ***g_667 = (void*)0;
static int32_t ****g_666[5][4] = {{&g_667,&g_667,&g_667,&g_667},{&g_667,&g_667,&g_667,&g_667},{&g_667,&g_667,&g_667,&g_667},{&g_667,&g_667,&g_667,&g_667},{&g_667,&g_667,&g_667,&g_667}};
static int8_t g_698 = 0x03L;
static int32_t g_760 = (-1L);
static uint8_t *g_780 = &g_294;
static uint8_t **g_779 = &g_780;
static uint8_t **g_785[3][2] = {{&g_780,(void*)0},{(void*)0,&g_780},{(void*)0,(void*)0}};
static int8_t g_857[1][9][4] = {{{0xEBL,(-1L),0xEBL,0xEBL},{(-1L),(-1L),(-1L),(-1L)},{(-1L),0xEBL,0xEBL,(-1L)},{0xEBL,(-1L),0xEBL,0xEBL},{(-1L),(-1L),(-1L),(-1L)},{(-1L),0xEBL,0xEBL,(-1L)},{0xEBL,(-1L),0xEBL,0xEBL},{(-1L),(-1L),(-1L),(-1L)},{(-1L),0xEBL,0xEBL,(-1L)}}};
static struct S1 g_905[7] = {{91,303,0,27868,-625},{91,303,0,27868,-625},{91,303,0,27868,-625},{91,303,0,27868,-625},{91,303,0,27868,-625},{91,303,0,27868,-625},{91,303,0,27868,-625}};
static struct S0 **g_910 = &g_91;
static struct S0 ***g_909 = &g_910;
static uint32_t g_1042 = 4294967288UL;
static uint32_t g_1058 = 0UL;
static uint32_t g_1138[10] = {0x2CC729EFL,0x2CC729EFL,0x2CC729EFL,0x2CC729EFL,0x2CC729EFL,0x2CC729EFL,0x2CC729EFL,0x2CC729EFL,0x2CC729EFL,0x2CC729EFL};
static uint32_t *g_1145 = &g_1138[0];
static uint32_t **g_1144 = &g_1145;
static int32_t g_1225 = 0xC7C95C74L;
static int32_t g_1239 = 0x41BFFEA5L;
static int8_t g_1257[8] = {5L,0x31L,5L,0x31L,5L,0x31L,5L,0x31L};
static int16_t g_1261 = 0x1F90L;
static struct S0 **g_1294 = (void*)0;
static uint32_t *g_1339 = &g_1042;
static uint32_t **g_1338[3] = {&g_1339,&g_1339,&g_1339};
static int16_t *g_1372 = &g_1261;
static int16_t **g_1371 = &g_1372;
static uint8_t ***g_1386 = &g_785[1][0];
static uint8_t g_1402[5] = {255UL,255UL,255UL,255UL,255UL};
static const int32_t g_1436 = 0x93A97107L;
static int32_t *g_1450[5] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static uint8_t g_1682 = 1UL;
static uint8_t * const g_1681 = &g_1682;
static uint8_t * const *g_1680 = &g_1681;
static uint8_t * const **g_1679 = &g_1680;
static uint8_t * const ***g_1678[8][6][4] = {{{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}},{{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}},{{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}},{{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}},{{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}},{{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}},{{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}},{{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0}}};
static int32_t g_1695[4][5][9] = {{{(-6L),0x427FB25DL,(-1L),0x073E8F67L,8L,1L,3L,0x537E2500L,0x56EAC977L},{0xD85C7FAFL,0x5DB9A4CCL,(-6L),0x073E8F67L,(-7L),8L,3L,9L,0xAD915C69L},{0x903CDB84L,3L,0x0AE52047L,(-1L),1L,1L,(-1L),0x0AE52047L,3L},{0x0C02BF6DL,0xE4C26D6EL,(-1L),1L,(-1L),(-1L),0x0653B189L,0L,0xE5196C37L},{0x2B93F6CCL,0L,0x073E8F67L,(-1L),(-1L),(-7L),0x58D09167L,(-6L),(-1L)}},{{8L,0xE4C26D6EL,1L,(-1L),0x58D09167L,0L,(-10L),0x2B93F6CCL,0L},{0x9B61D6B7L,3L,0xE5196C37L,0x21E388DCL,5L,0x427FB25DL,0L,(-10L),(-7L)},{0x537E2500L,0x5DB9A4CCL,0x2A65B087L,0x85E59DB9L,0xB966E758L,1L,1L,1L,(-7L)},{0x073E8F67L,0x427FB25DL,0x21E388DCL,0x0AE52047L,1L,(-1L),0L,5L,0L},{(-6L),9L,0L,0L,9L,(-6L),0x2B93F6CCL,0xD85C7FAFL,(-1L)}},{{0L,(-1L),0x2B93F6CCL,0x427FB25DL,0x0C02BF6DL,0L,0x0AE52047L,(-1L),0xE5196C37L},{0xDEA2987DL,(-1L),0x046970CFL,(-1L),0x537E2500L,(-6L),0x2B93F6CCL,0x9B61D6B7L,3L},{1L,(-1L),0x58D09167L,0L,(-10L),0x2B93F6CCL,0L,0x427FB25DL,0xAD915C69L},{1L,0xFB6358FBL,0x5DB9A4CCL,3L,(-1L),0xAD915C69L,1L,(-2L),0x56EAC977L},{8L,0x0AE52047L,5L,(-1L),(-1L),0xB966E758L,0L,1L,(-1L)}},{{(-1L),1L,(-1L),0x58D09167L,(-10L),3L,(-10L),0x58D09167L,(-1L)},{0x56EAC977L,0x56EAC977L,0x903CDB84L,8L,0x537E2500L,0xE4C26D6EL,0x58D09167L,1L,0x21E388DCL},{0x58D09167L,0xCDBE185FL,(-2L),(-9L),0x0C02BF6DL,(-1L),0x0653B189L,(-1L),1L},{(-1L),1L,0x903CDB84L,0xE5196C37L,9L,0xFB6358FBL,(-1L),(-1L),0L},{0x05DCEBBBL,8L,(-1L),0xD85C7FAFL,1L,0x0368BC60L,3L,0x046970CFL,0xFB6358FBL}}};
static int8_t g_2022 = 0L;
static int32_t g_2037 = 0L;
static uint32_t g_2052 = 0x9C7F09F6L;
static uint32_t ***g_2099 = (void*)0;


/* --- FORWARD DECLARATIONS --- */
static uint32_t  func_1(void);
static int32_t ** func_13(int32_t * p_14);
static int32_t  func_21(int32_t ** p_22, int32_t * const  p_23, int8_t  p_24);
static int32_t ** func_25(int32_t * p_26, int32_t ** p_27, int16_t  p_28, int16_t  p_29);
static int32_t * func_30(int32_t  p_31, int32_t * p_32, struct S0  p_33, int32_t ** p_34);
static uint8_t  func_40(int32_t  p_41);
static struct S1  func_47(int32_t * p_48);
static int32_t * func_49(int32_t ** p_50, int16_t  p_51, struct S0  p_52);
static struct S0  func_60(int32_t  p_61);
static struct S0 * func_62(struct S1  p_63, uint32_t  p_64, uint32_t  p_65, int32_t ** const  p_66, int32_t ** p_67);


/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/* 
 * reads : g_92.f2 g_53 g_54 g_1680 g_1681 g_1682 g_94 g_3 g_15 g_90 g_1257 g_432 g_433 g_68 g_6 g_83 g_20 g_91 g_97 g_92 g_780 g_294 g_2022 g_2037 g_1679 g_150 g_1371 g_1372 g_1261 g_779 g_2052 g_1339 g_1042 g_359 g_1239 g_910
 * writes: g_3 g_1261 g_92.f2 g_83 g_15 g_1257 g_90 g_91 g_94 g_97 g_2022 g_1682 g_294 g_1042 g_428 g_54 g_20 g_584 g_2099 g_1450 g_504
 */
static uint32_t  func_1(void)
{ /* block id: 0 */
    int32_t l_2[10] = {0L,0L,0L,0L,0L,0L,0L,0L,0L,0L};
    int32_t **l_1500 = &g_185;
    uint16_t l_1513 = 0x73BAL;
    int32_t l_1564 = 0x551E51B6L;
    int32_t l_1578 = 0L;
    int32_t **l_1609 = &g_1450[4];
    int32_t l_1653 = 0x77865CC7L;
    int32_t l_1656 = 0L;
    int32_t l_1658[2][4] = {{4L,4L,4L,4L},{4L,4L,4L,4L}};
    int32_t l_1696 = (-7L);
    uint16_t l_1759 = 1UL;
    int8_t *l_1783 = &g_1257[1];
    int8_t **l_1782[6] = {(void*)0,&l_1783,&l_1783,(void*)0,&l_1783,&l_1783};
    int32_t *l_1801[3];
    struct S0 l_1802 = {0x3C70L,0L,0xE823L,0xB4L,8L};
    int16_t l_1835 = 0x24A2L;
    uint8_t l_1868 = 0x8EL;
    struct S0 **l_1881[6][2];
    uint8_t l_1908 = 0x6CL;
    struct S1 *l_1958[6] = {&g_68,&g_68,&g_68,&g_68,&g_68,&g_68};
    struct S1 **l_1957[10] = {&l_1958[0],&l_1958[0],&l_1958[0],&l_1958[0],&l_1958[0],&l_1958[0],&l_1958[0],&l_1958[0],&l_1958[0],&l_1958[0]};
    const uint32_t *l_1999 = &g_518;
    const uint32_t **l_1998 = &l_1999;
    int32_t ***** const l_2000 = &g_666[1][2];
    uint16_t l_2002 = 0x939BL;
    uint32_t l_2004 = 0x02546869L;
    uint32_t l_2018 = 8UL;
    uint32_t l_2053 = 0x6D00545FL;
    uint16_t l_2065 = 0x89B5L;
    int32_t l_2066[9] = {(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)};
    uint32_t l_2067 = 0x46071B4CL;
    uint16_t l_2082 = 2UL;
    int i, j;
    for (i = 0; i < 3; i++)
        l_1801[i] = &l_1658[0][1];
    for (i = 0; i < 6; i++)
    {
        for (j = 0; j < 2; j++)
            l_1881[i][j] = &g_91;
    }
lbl_2105:
    for (g_3[0] = 1; (g_3[0] <= 9); g_3[0] += 1)
    { /* block id: 3 */
        int16_t ***l_1574 = (void*)0;
        int32_t l_1577 = 0L;
        int32_t l_1579 = 0L;
        struct S0 l_1616 = {1UL,0xF6L,6L,7L,0L};
        uint16_t l_1618 = 0x18F5L;
        int32_t l_1619 = (-8L);
        int32_t **l_1621[5][5] = {{(void*)0,&g_185,(void*)0,&g_185,(void*)0},{&g_185,&g_185,&g_185,&g_185,&g_185},{(void*)0,&g_185,(void*)0,&g_185,(void*)0},{&g_185,&g_185,&g_185,&g_185,&g_185},{(void*)0,&g_185,(void*)0,&g_185,(void*)0}};
        int32_t l_1657 = 5L;
        int8_t *l_1699 = &g_576.f1;
        int8_t **l_1698 = &l_1699;
        int8_t ***l_1697 = &l_1698;
        uint32_t l_1709 = 1UL;
        int32_t l_1730 = 0xA4003686L;
        int32_t l_1731 = 1L;
        int32_t l_1733 = 8L;
        int32_t l_1734 = (-1L);
        int32_t l_1735 = 1L;
        int32_t l_1736 = 1L;
        int32_t l_1737 = 0x063BC762L;
        int32_t l_1738 = 0L;
        int32_t l_1739 = 0xEE142BBCL;
        int32_t l_1740[7] = {1L,1L,1L,1L,1L,1L,1L};
        int16_t l_1748 = 0xC892L;
        int32_t *l_1803 = &l_1734;
        const uint8_t ** const ***l_1808 = (void*)0;
        int32_t ****l_1834 = &g_667;
        uint32_t l_1849 = 0x5FFDC98BL;
        uint16_t l_1935 = 0x99F0L;
        int i, j;
    }
    for (g_1261 = 0; (g_1261 >= 11); ++g_1261)
    { /* block id: 929 */
        uint32_t l_1947 = 0UL;
        uint8_t l_2001 = 0xB8L;
        uint8_t l_2021[1][5];
        int32_t l_2069 = 0x28203BBBL;
        int32_t *l_2094 = &g_576.f4;
        int32_t l_2106 = 0x8F4603E5L;
        int32_t l_2107 = 0xD7C30BE3L;
        int32_t l_2108 = 0x7A725D9CL;
        int32_t l_2109[8] = {0L,0L,0L,0L,0L,0L,0L,0L};
        uint16_t l_2110 = 0xA6BBL;
        int i, j;
        for (i = 0; i < 1; i++)
        {
            for (j = 0; j < 5; j++)
                l_2021[i][j] = 0xE3L;
        }
        for (l_1802.f4 = 17; (l_1802.f4 >= 14); l_1802.f4--)
        { /* block id: 932 */
            int32_t l_1959 = 0x5C4E9040L;
            int32_t l_1960 = 0xD082F1F8L;
            int32_t l_1968 = (-6L);
            int16_t ***l_1995 = (void*)0;
            uint32_t *l_2063 = &g_428;
            uint8_t l_2071 = 0UL;
            struct S0 l_2097 = {6UL,0x5CL,-1L,0x3FL,2L};
            int32_t **l_2101 = &l_1801[0];
            for (l_1802.f2 = 20; (l_1802.f2 == (-10)); --l_1802.f2)
            { /* block id: 935 */
                int16_t l_1954 = 0xD64CL;
                int32_t l_2016 = 0xBD733EEBL;
                struct S1 *l_2020 = &g_68;
                l_1960 ^= ((l_1947 >= (safe_lshift_func_uint8_t_u_u(((((safe_rshift_func_int16_t_s_u((g_92[3][1][3].f2 |= (safe_div_func_uint8_t_u_u(0xA5L, l_1954))), 13)) || (safe_sub_func_int16_t_s_s(0xD018L, 65535UL))) , (func_47((*g_53)) , &g_432)) != l_1957[0]), (**g_1680)))) < l_1959);
                if ((*g_94))
                { /* block id: 938 */
                    int16_t ****l_1996 = &l_1995;
                    uint32_t l_1997 = 1UL;
                    uint32_t l_2003 = 0x5496A29AL;
                    if ((safe_unary_minus_func_uint8_t_u((safe_div_func_uint8_t_u_u((safe_lshift_func_uint8_t_u_u((safe_sub_func_int8_t_s_s(((*l_1783) &= l_1968), (func_60(((*g_432) , 6L)) , (*g_780)))), 7)), l_2001)))))
                    { /* block id: 942 */
                        l_1960 |= (*g_54);
                    }
                    else
                    { /* block id: 944 */
                        if (l_1968)
                            break;
                    }
                }
                else
                { /* block id: 947 */
                    uint8_t l_2013 = 0xD2L;
                    int16_t *l_2017[5][5][8] = {{{&g_576.f2,&g_576.f2,&l_1954,&g_576.f2,&g_576.f2,&l_1954,&l_1954,&l_1954},{&g_92[3][1][3].f2,&g_576.f2,&l_1835,&l_1835,&g_576.f2,&g_92[3][1][3].f2,&l_1835,&g_576.f2},{&l_1954,&l_1835,&l_1835,&l_1954,&l_1835,&l_1835,&l_1954,&g_92[3][1][3].f2},{&g_576.f2,&g_576.f2,&l_1954,&l_1954,&l_1954,&l_1954,&g_576.f2,&g_576.f2},{&g_92[3][1][3].f2,&l_1954,&l_1835,&l_1835,&l_1954,&l_1835,&l_1835,&l_1954}},{{&g_576.f2,&l_1835,&g_92[3][1][3].f2,&g_576.f2,&l_1835,&l_1835,&g_576.f2,&g_92[3][1][3].f2},{&l_1954,&l_1954,&l_1954,&g_576.f2,&g_576.f2,&l_1954,&g_576.f2,&g_576.f2},{&g_92[3][1][3].f2,&g_576.f2,&g_92[3][1][3].f2,&l_1835,&g_576.f2,&l_1835,&l_1835,&g_576.f2},{&g_576.f2,&l_1835,&l_1835,&g_576.f2,&l_1835,&g_92[3][1][3].f2,&g_576.f2,&g_92[3][1][3].f2},{&g_576.f2,&g_576.f2,&l_1954,&g_576.f2,&g_576.f2,&l_1954,&l_1954,&l_1954}},{{&g_92[3][1][3].f2,&g_576.f2,&l_1835,&l_1835,&g_576.f2,&g_92[3][1][3].f2,&l_1835,&g_576.f2},{&l_1954,&l_1835,&l_1835,&l_1954,&l_1835,&l_1835,&l_1954,&g_92[3][1][3].f2},{&g_576.f2,&g_576.f2,&l_1954,&l_1954,&l_1954,&l_1954,&g_576.f2,&g_576.f2},{&g_92[3][1][3].f2,&l_1954,&l_1835,&l_1835,&l_1954,&l_1835,&l_1835,&g_92[3][1][3].f2},{&l_1835,&l_1954,(void*)0,&l_1835,&g_20,&g_20,&l_1835,(void*)0}},{{&g_92[3][1][3].f2,&g_92[3][1][3].f2,&l_1954,&l_1835,&l_1835,&l_1954,&l_1835,&l_1835},{(void*)0,&l_1835,(void*)0,&g_20,&l_1835,&l_1954,&l_1954,&l_1835},{&l_1835,&l_1954,&l_1954,&l_1835,&g_20,(void*)0,&l_1835,(void*)0},{&l_1835,&l_1835,&l_1954,&l_1835,&l_1835,&l_1954,&g_92[3][1][3].f2,&g_92[3][1][3].f2},{(void*)0,&l_1835,&g_20,&g_20,&l_1835,(void*)0,&l_1954,&l_1835}},{{&g_92[3][1][3].f2,&l_1954,&g_20,&g_92[3][1][3].f2,&g_20,&l_1954,&g_92[3][1][3].f2,(void*)0},{&l_1835,&l_1835,&l_1954,&g_92[3][1][3].f2,&g_92[3][1][3].f2,&l_1954,&l_1835,&l_1835},{(void*)0,&g_92[3][1][3].f2,&l_1954,&g_20,&g_92[3][1][3].f2,&g_20,&l_1954,&g_92[3][1][3].f2},{&l_1835,&l_1954,(void*)0,&l_1835,&g_20,&g_20,&l_1835,(void*)0},{&g_92[3][1][3].f2,&g_92[3][1][3].f2,&l_1954,&l_1835,&l_1835,&l_1954,&l_1835,&l_1835}}};
                    uint16_t *l_2019 = &l_1513;
                    int32_t l_2054 = 0x15864E9CL;
                    int i, j, k;
                    g_2022 &= ((safe_add_func_uint32_t_u_u((0x35C2757CL < l_1959), (safe_mod_func_int8_t_s_s(((*l_1783) = ((safe_mod_func_int8_t_s_s((safe_lshift_func_uint8_t_u_u((((l_2013 , ((*l_2019) &= (safe_rshift_func_int16_t_s_s((l_2018 = l_2016), 0)))) ^ (((func_60(l_2013) , l_2020) != &g_68) && (l_2013 > 0x26F129C6L))) | l_2021[0][1]), 6)), 1L)) ^ 1L)), l_1954)))) <= 1UL);
                    (*g_54) = l_2013;
                    l_2054 |= (safe_mod_func_int32_t_s_s(((safe_div_func_uint16_t_u_u(((((safe_rshift_func_uint16_t_u_s(l_1968, (safe_div_func_uint32_t_u_u((((l_1959 = (safe_lshift_func_int8_t_s_u((safe_sub_func_int16_t_s_s((((l_1960 |= ((**g_779) = (safe_sub_func_int8_t_s_s((g_2037 , (safe_sub_func_int16_t_s_s((((!((safe_sub_func_uint32_t_u_u((safe_lshift_func_uint8_t_u_s(((***g_1679) = (**g_1680)), l_2021[0][1])), ((safe_lshift_func_uint16_t_u_s(g_3[4], 13)) < (safe_sub_func_uint16_t_u_u(65535UL, (((safe_sub_func_uint8_t_u_u((safe_add_func_uint32_t_u_u(l_2016, ((func_60((*g_94)) , (-6L)) && l_1959))), l_1959)) , g_150) | l_2013)))))) && 0x909A7A8FL)) < (-5L)) || 65531UL), (**g_1371)))), l_1954)))) <= 0x83L) | l_2013), 1L)), l_2013))) < 0x0C9DL) < 1L), g_2052)))) || 0x89L) > l_2013) < 0UL), 65534UL)) < l_2001), l_2053));
                }
                return (*g_1339);
            }
            l_2067 &= (l_2066[2] = (0x57717F14L != (!(safe_add_func_int16_t_s_s(((safe_add_func_int8_t_s_s((0x63L > (safe_mod_func_int32_t_s_s(((*g_54) = (safe_mul_func_int8_t_s_s(l_1959, (((*l_2063) = (+((*g_1339) = 4294967291UL))) >= 0x26BB40F7L)))), 1UL))), l_1947)) >= (safe_unary_minus_func_uint16_t_u(2UL))), ((l_2065 ^ l_1947) <= g_433.f2))))));
            for (g_428 = 0; (g_428 <= 1); g_428 += 1)
            { /* block id: 968 */
                int32_t l_2068 = (-1L);
                int32_t l_2070 = 0x1F9A11E0L;
                l_2071--;
            }
            if ((safe_mod_func_uint32_t_u_u(l_1959, ((*g_1339) = 4294967292UL))))
            { /* block id: 972 */
                uint8_t l_2078 = 2UL;
                int8_t *l_2087 = &g_2022;
                for (l_1802.f1 = 0; (l_1802.f1 < 28); l_1802.f1 = safe_add_func_int8_t_s_s(l_1802.f1, 8))
                { /* block id: 975 */
                    if ((*g_94))
                        break;
                    return l_2078;
                }
                for (l_1656 = 0; (l_1656 <= 3); l_1656 += 1)
                { /* block id: 981 */
                    int32_t *l_2079 = &g_15;
                    int16_t *l_2090 = (void*)0;
                    int16_t *l_2091[6];
                    int i;
                    for (i = 0; i < 6; i++)
                        l_2091[i] = &g_576.f2;
                    if (g_1257[(l_1656 + 2)])
                        break;
                    if (l_2069)
                        break;
                    (*g_53) = l_2079;
                    (*g_54) &= ((safe_mod_func_uint8_t_u_u(l_2082, (safe_mul_func_int8_t_s_s((((safe_sub_func_uint8_t_u_u(0x7DL, ((~(((void*)0 == l_2087) & l_2001)) < (((((safe_lshift_func_uint8_t_u_s(l_2071, 2)) > (~(g_20 |= (*g_1372)))) == g_359[3]) <= ((*g_1680) == (*g_779))) ^ (**g_779))))) != (**g_1680)) <= (*g_1681)), l_2069)))) && (*g_1372));
                }
            }
            else
            { /* block id: 988 */
                uint32_t ***l_2098 = (void*)0;
                int32_t l_2104 = 0L;
                for (g_584 = (-27); (g_584 > 23); ++g_584)
                { /* block id: 991 */
                    l_2094 = (*g_53);
                    for (g_15 = 14; (g_15 >= (-7)); g_15 = safe_sub_func_uint32_t_u_u(g_15, 6))
                    { /* block id: 995 */
                        int32_t *l_2100 = &g_544[0][0];
                        (*g_53) = func_30(((*g_1339) > ((-10L) & (l_2097 , (0L && ((g_2099 = l_2098) != (g_1239 , &g_1338[2])))))), ((*l_1609) = l_2100), (*g_91), l_2101);
                    }
                    for (l_1578 = 0; (l_1578 != 0); ++l_1578)
                    { /* block id: 1002 */
                        if (l_2104)
                            break;
                    }
                }
                if (g_150)
                    goto lbl_2105;
                (**l_2101) ^= ((0x77L <= (*g_780)) | 4L);
            }
        }
        (**g_53) |= 0x338F39E1L;
        l_2110++;
    }
    return (*g_1339);
}


/* ------------------------------------------ */
/* 
 * reads : g_15 g_12 g_20 g_53 g_294 g_1450 g_1372 g_1261 g_94 g_90 g_3 g_1339 g_1042
 * writes: g_15 g_20 g_54 g_294 g_83 g_698 g_432 g_1261 g_90
 */
static int32_t ** func_13(int32_t * p_14)
{ /* block id: 16 */
    struct S0 l_55 = {0x0EABL,1L,0xC62BL,0x19L,-8L};
    int32_t *l_913 = &g_15;
    int16_t **l_1374 = &g_1372;
    int32_t l_1416 = 0x288A7F16L;
    int32_t l_1417 = 8L;
    int32_t l_1418 = 0xF05E35F3L;
    int32_t l_1419 = 0L;
    int32_t l_1420[10][7] = {{0x02F3AB36L,(-1L),0x02F3AB36L,0x02F3AB36L,(-1L),0x02F3AB36L,0x02F3AB36L},{0x64FCE704L,0x64FCE704L,3L,0x64FCE704L,0x64FCE704L,3L,0x64FCE704L},{(-1L),0x02F3AB36L,0x02F3AB36L,(-1L),0x02F3AB36L,0x02F3AB36L,(-1L)},{8L,0x64FCE704L,8L,8L,0x64FCE704L,8L,8L},{(-1L),(-1L),0xB6B56C67L,(-1L),(-1L),0xB6B56C67L,(-1L)},{0x64FCE704L,8L,8L,0x64FCE704L,8L,8L,0x64FCE704L},{0x02F3AB36L,(-1L),0x02F3AB36L,0x02F3AB36L,(-1L),0x02F3AB36L,0x02F3AB36L},{0x64FCE704L,0x64FCE704L,3L,0x64FCE704L,0x64FCE704L,3L,0x64FCE704L},{(-1L),0x02F3AB36L,0x02F3AB36L,(-1L),0x02F3AB36L,0x02F3AB36L,(-1L)},{8L,0x64FCE704L,8L,8L,0x64FCE704L,8L,8L}};
    int8_t l_1427 = 0x3FL;
    int32_t l_1429 = 0x3BD3FFBDL;
    struct S1 l_1460 = {59,102,-0,21913,-681};
    int8_t *l_1478 = &g_359[3];
    int8_t ** const l_1477 = &l_1478;
    int8_t ** const *l_1476 = &l_1477;
    int32_t **l_1484 = (void*)0;
    int i, j;
    for (g_15 = 0; (g_15 <= 21); g_15++)
    { /* block id: 19 */
        int32_t *l_19 = &g_3[0];
        int32_t **l_18 = &l_19;
        int32_t l_37 = 0L;
        uint32_t *l_912 = &g_518;
        struct S0 l_1360 = {6UL,0xB1L,1L,0x9DL,0L};
        uint8_t ** const *l_1383[5][8] = {{&g_779,&g_779,&g_779,&g_779,&g_779,&g_779,&g_779,&g_779},{&g_779,&g_779,&g_779,&g_779,&g_779,&g_779,&g_779,&g_779},{&g_779,&g_779,&g_779,&g_779,&g_779,&g_779,&g_779,&g_779},{&g_779,&g_779,&g_779,&g_779,&g_779,&g_779,&g_779,&g_779},{&g_779,&g_779,&g_779,&g_779,&g_779,&g_779,&g_779,&g_779}};
        int32_t l_1413 = (-5L);
        int32_t l_1414 = 1L;
        int32_t l_1415 = 0x2585D5A7L;
        int32_t l_1421 = 0x7D67A841L;
        int32_t l_1422 = 1L;
        int32_t l_1423 = 0xA2EE8647L;
        int32_t l_1424 = 2L;
        int32_t l_1425 = 0x2EFF0BD9L;
        int32_t l_1428[2];
        uint8_t l_1430 = 255UL;
        struct S0 *l_1439 = (void*)0;
        uint32_t l_1442 = 0xA45523CEL;
        int32_t *l_1448 = (void*)0;
        int32_t *l_1449 = &l_1419;
        int i, j;
        for (i = 0; i < 2; i++)
            l_1428[i] = 0L;
        (*l_18) = (void*)0;
        g_20 &= g_12;
    }
    (*g_53) = p_14;
    (*g_53) = &l_1420[4][3];
    for (g_294 = 0; (g_294 <= 3); g_294 += 1)
    { /* block id: 705 */
        int32_t l_1459 = 0x47B85732L;
        int32_t ***l_1464[10];
        int8_t * const *l_1480 = &l_1478;
        int8_t * const **l_1479 = &l_1480;
        int i;
        for (i = 0; i < 10; i++)
            l_1464[i] = (void*)0;
        (*g_53) = g_1450[2];
        for (g_83 = 3; (g_83 >= 0); g_83 -= 1)
        { /* block id: 709 */
            struct S1 *l_1451 = &g_68;
            int32_t l_1463 = 0xB66E4D5EL;
            int8_t *l_1474 = (void*)0;
            int8_t *l_1475[10] = {(void*)0,(void*)0,&g_353,&l_55.f1,&g_353,(void*)0,(void*)0,&g_353,&l_55.f1,&g_353};
            int8_t ** const l_1473[9] = {(void*)0,&l_1475[2],(void*)0,(void*)0,&l_1475[2],(void*)0,(void*)0,&l_1475[2],(void*)0};
            int8_t ** const *l_1472 = &l_1473[1];
            int8_t ** const **l_1471[1];
            struct S0 l_1481 = {1UL,-1L,-1L,0x33L,0xFB97AB4BL};
            int32_t *****l_1482 = (void*)0;
            uint16_t l_1483 = 0x3C40L;
            int i;
            for (i = 0; i < 1; i++)
                l_1471[i] = &l_1472;
            for (g_698 = 5; (g_698 >= 1); g_698 -= 1)
            { /* block id: 712 */
                struct S1 **l_1452 = &l_1451;
                struct S1 **l_1453 = (void*)0;
                struct S1 **l_1454 = (void*)0;
                g_432 = ((*l_1452) = l_1451);
            }
            (*g_94) = ((((*g_1372) = ((((safe_div_func_uint8_t_u_u((((safe_sub_func_int16_t_s_s((((l_1459 & ((&g_666[3][0] != (((((l_1460 , (((safe_mul_func_int16_t_s_s(l_1463, ((void*)0 == l_1464[6]))) ^ ((safe_lshift_func_int16_t_s_u((0xFC449DBAL || (safe_sub_func_uint16_t_u_u((safe_add_func_uint32_t_u_u((+((l_1476 = (void*)0) != l_1479)), (*p_14))), (*g_1372)))), l_1463)) >= 0xE908L)) && l_1459)) && 1UL) == (*p_14)) , l_1481) , l_1482)) == (*l_913))) ^ l_1483) < (*g_94)), 65526UL)) & 0x697DL) & (*l_913)), 0x98L)) <= l_1459) != g_3[0]) >= 65535UL)) > 5UL) && (*g_1339));
        }
    }
    return l_1484;
}


/* ------------------------------------------ */
/* 
 * reads : g_428 g_53 g_1338 g_54 g_3
 * writes: g_428 g_54 g_1338
 */
static int32_t  func_21(int32_t ** p_22, int32_t * const  p_23, int8_t  p_24)
{ /* block id: 630 */
    int32_t *l_1337 = (void*)0;
    int32_t l_1342 = (-2L);
    for (g_428 = 1; (g_428 < 32); g_428++)
    { /* block id: 633 */
        uint32_t ***l_1340 = &g_1338[0];
        int32_t *l_1341[5] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
        int i;
        (*g_53) = l_1337;
        (*g_53) = l_1337;
        (*l_1340) = g_1338[0];
        l_1342 ^= ((void*)0 == (*g_53));
    }
    return (*p_23);
}


/* ------------------------------------------ */
/* 
 * reads : g_90 g_94 g_15 g_3 g_780 g_294 g_1294 g_909 g_910 g_433.f2 g_857 g_1042 g_353 g_1225 g_504 g_779 g_156 g_83 g_91 g_53 g_54 g_92 g_544
 * writes: g_90 g_910 g_92.f2 g_294 g_156 g_91
 */
static int32_t ** func_25(int32_t * p_26, int32_t ** p_27, int16_t  p_28, int16_t  p_29)
{ /* block id: 606 */
    uint8_t l_1273 = 0UL;
    int32_t l_1287 = 0x988A4625L;
    struct S0 **l_1305 = &g_91;
    struct S0 **l_1307 = &g_91;
    struct S0 ***l_1306 = &l_1307;
    int8_t *l_1310[8];
    int32_t l_1311[4][2] = {{0x85BF4A12L,0x85BF4A12L},{0x85BF4A12L,0x85BF4A12L},{0x85BF4A12L,0x85BF4A12L},{0x85BF4A12L,0x85BF4A12L}};
    int16_t *l_1314 = &g_92[3][1][3].f2;
    int32_t l_1315[5][8] = {{0x9A7D1D6DL,0L,0x5D141B90L,0L,0x9A7D1D6DL,1L,1L,0x9A7D1D6DL},{0L,0xFC94235DL,0xFC94235DL,0L,0x5A407FBCL,0x9A7D1D6DL,0x5A407FBCL,0L},{0xFC94235DL,0x5A407FBCL,0xFC94235DL,1L,0x5D141B90L,0x5D141B90L,1L,0xFC94235DL},{0x5A407FBCL,0x5A407FBCL,0x5D141B90L,0x9A7D1D6DL,1L,0x9A7D1D6DL,0x5D141B90L,0x5A407FBCL},{0x5A407FBCL,0xFC94235DL,1L,0x5D141B90L,0x5D141B90L,1L,0xFC94235DL,0x5A407FBCL}};
    int32_t l_1316[1];
    uint32_t *l_1317[9] = {&g_428,&g_1042,&g_428,&g_1042,&g_428,&g_1042,&g_428,&g_1042,&g_428};
    int16_t l_1318[10][5][5] = {{{1L,0xCA09L,0xDB76L,0x9AB2L,(-1L)},{0xC6CFL,0x329AL,0x4616L,1L,0x200DL},{0x27C9L,0xE21FL,(-2L),0x4CF8L,0xF4CDL},{0x8A57L,0x657FL,0xAC44L,1L,7L},{0x1E8AL,0xAF8AL,0xEE93L,0x4D00L,0xB5C3L}},{{0x924DL,0L,1L,0x0C44L,0xB5C3L},{(-8L),0L,0xC6CFL,0x200DL,7L},{(-4L),0x200DL,0x4CF8L,0xEAF3L,0xF4CDL},{(-5L),0xAC44L,0x2C37L,(-5L),0x200DL},{0xAF8AL,1L,0x97E4L,0x4E6EL,(-1L)}},{{0xE21FL,0x9AB2L,(-1L),(-1L),0x97E4L},{0x4616L,0xD6BDL,5L,0xD2F8L,(-5L)},{7L,1L,(-8L),(-8L),1L},{0x0890L,0xC8E9L,0x8A57L,(-9L),0L},{0xE35BL,1L,7L,0x7C90L,0xD74DL}},{{0xD74DL,0x4E6EL,(-4L),0xB5C3L,0x9AB2L},{0xE35BL,0x4D00L,(-1L),(-2L),0xEAF3L},{0x0890L,0L,0xD6BDL,(-1L),0x4D11L},{7L,(-7L),0x3E6CL,0xC8E9L,(-1L)},{0x4616L,(-2L),0xE21FL,0xCB11L,0xD4A1L}},{{0xE21FL,0xEAF3L,0x0459L,0x3E6CL,0x329AL},{0xFA67L,(-2L),1L,0x36C8L,7L},{(-5L),(-9L),1L,1L,1L},{0xAC44L,0x1E8AL,0xAF8AL,0xEE93L,0x4D00L},{0xC6CFL,0xCA09L,0x879DL,0x657FL,1L}},{{0xEE93L,0xCA09L,0L,1L,0xD2F8L},{0xEAF3L,0x1E8AL,0x4D00L,0x0890L,0xC6CFL},{0x7C90L,(-9L),9L,(-5L),(-7L)},{(-8L),(-2L),(-2L),8L,(-1L)},{0x9AB2L,0xEAF3L,0x97E4L,0x0F72L,0L}},{{(-5L),(-1L),(-9L),0L,0L},{0x04F8L,(-4L),0xEE93L,(-2L),(-2L)},{0x4616L,0x657FL,0x4616L,0x1E8AL,0x0F72L},{0L,0x4E6EL,0xF4CDL,0xC6CFL,9L},{0x2C37L,0x879DL,0xC2C1L,0L,0xCA09L}},{{0x2C75L,8L,0xF4CDL,9L,0xAC44L},{0x329AL,0xD2F8L,0x4616L,1L,0x8A57L},{1L,(-8L),0xEE93L,1L,0x0459L},{0xC37DL,0x36C8L,(-9L),0x200DL,0x04F8L},{0xC2C1L,5L,0x97E4L,7L,0L}},{{9L,(-7L),(-2L),0xE35BL,0x1E8AL},{0x879DL,0x924DL,9L,(-1L),(-1L)},{(-7L),0x97E4L,0x4D00L,0x2C37L,(-4L)},{(-1L),(-4L),0L,0xCB11L,(-1L)},{0xDB76L,0x0459L,0x879DL,0xCB11L,6L}},{{1L,0xFA67L,0xAF8AL,0x2C37L,0x4616L},{7L,(-1L),1L,(-1L),0xE35BL},{0x27C9L,0L,1L,0xE35BL,(-1L)},{1L,0xD6BDL,0x0459L,7L,0L},{0x36C8L,1L,0L,0x200DL,0x7C90L}}};
    int32_t l_1319 = 0xCFB328C7L;
    int32_t **l_1322[3][9] = {{&g_54,&g_94,&g_54,&g_54,&g_94,&g_54,&g_54,&g_94,&g_54},{&g_54,&g_94,&g_54,&g_54,&g_94,&g_54,&g_54,&g_94,&g_54},{&g_54,&g_94,&g_54,&g_54,&g_94,&g_54,&g_54,&g_94,&g_54}};
    struct S0 * const l_1333 = &g_576;
    uint32_t l_1334[1][9];
    int i, j, k;
    for (i = 0; i < 8; i++)
        l_1310[i] = &g_576.f1;
    for (i = 0; i < 1; i++)
        l_1316[i] = 0x0B92BB51L;
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 9; j++)
            l_1334[i][j] = 4294967286UL;
    }
    for (g_90 = (-11); (g_90 <= (-11)); ++g_90)
    { /* block id: 609 */
        uint32_t l_1270 = 0xE1184BB9L;
        int16_t *l_1282 = &g_1261;
        l_1287 &= ((safe_div_func_int16_t_s_s(1L, (l_1270 , (safe_lshift_func_int8_t_s_u((l_1273 < (safe_div_func_int16_t_s_s(((safe_div_func_int32_t_s_s((safe_sub_func_uint16_t_u_u((l_1270 | (safe_sub_func_int16_t_s_s(((&g_20 != l_1282) ^ l_1273), (safe_rshift_func_int8_t_s_u((safe_lshift_func_int16_t_s_s(1L, p_29)), l_1270))))), l_1273)), l_1270)) || (*g_94)), 65535UL))), (*g_780)))))) <= g_90);
    }
    l_1319 = ((0x8F3813C5L >= ((safe_rshift_func_int16_t_s_u((safe_add_func_int8_t_s_s((+((((g_156[0][0] |= (((l_1287 |= (*g_94)) >= ((((**g_779) = ((safe_mul_func_int8_t_s_s((g_1294 != ((*g_909) = (*g_909))), ((l_1316[0] = (l_1315[3][4] = ((safe_rshift_func_int8_t_s_s(((((safe_div_func_uint16_t_u_u(((safe_lshift_func_int8_t_s_s((safe_lshift_func_int16_t_s_s((g_433.f2 || (safe_mod_func_int16_t_s_s(((*l_1314) = ((l_1305 == ((*l_1306) = l_1305)) , (((safe_mul_func_int8_t_s_s((l_1311[3][0] = 0xD7L), ((safe_sub_func_uint8_t_u_u(((g_857[0][8][2] != l_1273) > l_1273), p_29)) >= g_1042))) || l_1311[3][0]) ^ 1UL))), g_353))), 6)), 4)) <= g_1225), g_504)) != p_28) <= p_29) > l_1273), l_1273)) || l_1273))) ^ 1UL))) & 0L)) >= l_1273) ^ l_1273)) || l_1287)) , 1L) & 0UL) >= l_1318[9][3][0])), p_29)), 11)) && p_28)) >= (**p_27));
    for (g_90 = 0; (g_90 >= 27); g_90 = safe_add_func_int32_t_s_s(g_90, 9))
    { /* block id: 624 */
        return l_1322[0][0];
    }
    l_1334[0][0] = (((safe_mul_func_uint16_t_u_u(((g_83 != (((safe_sub_func_int32_t_s_s((**p_27), (((((((((safe_rshift_func_int16_t_s_s(((void*)0 == l_1322[1][0]), 5)) >= (p_28 >= ((((**p_27) != ((((**p_27) >= (safe_mod_func_int32_t_s_s(((p_29 ^ (((((*l_1305) = (**l_1306)) == l_1333) && 1L) , p_28)) && g_90), 4294967295UL))) , (void*)0) != &l_1317[6])) || (**g_53)) , p_28))) , (**l_1305)) , &g_213) == p_26) & p_29) | (**g_779)) != p_28) >= 0xA1FC27BAL))) ^ 65534UL) , g_90)) <= p_28), 0x1068L)) > p_28) ^ (**g_779));
    return l_1322[0][0];
}


/* ------------------------------------------ */
/* 
 * reads : g_83 g_20 g_90 g_91 g_910
 * writes: g_504 g_83 g_90 g_91
 */
static int32_t * func_30(int32_t  p_31, int32_t * p_32, struct S0  p_33, int32_t ** p_34)
{ /* block id: 472 */
    int32_t **l_914[8][10] = {{&g_94,&g_94,&g_54,&g_94,&g_54,(void*)0,&g_94,(void*)0,&g_94,(void*)0},{&g_94,(void*)0,&g_54,&g_54,&g_54,&g_54,&g_94,&g_54,&g_94,&g_94},{&g_94,&g_94,&g_94,(void*)0,(void*)0,&g_54,&g_54,&g_54,&g_54,&g_54},{&g_54,&g_94,&g_54,&g_54,&g_94,&g_54,&g_94,&g_94,&g_54,&g_54},{&g_94,&g_54,&g_94,&g_54,(void*)0,&g_94,(void*)0,&g_94,(void*)0,&g_94},{&g_94,&g_54,&g_94,&g_54,&g_94,&g_54,&g_94,&g_94,&g_54,&g_54},{&g_54,&g_94,&g_94,&g_54,&g_54,&g_54,&g_94,&g_94,&g_54,&g_54},{&g_94,&g_54,&g_54,&g_94,&g_94,&g_54,&g_94,&g_54,(void*)0,&g_94}};
    struct S1 l_915 = {78,-58,0,25102,417};
    uint16_t l_916[5];
    struct S0 ****l_926[10] = {&g_909,(void*)0,(void*)0,&g_909,&g_909,&g_909,(void*)0,(void*)0,&g_909,&g_909};
    const int32_t l_929 = 0L;
    const int32_t l_932 = (-7L);
    uint32_t l_933 = 1UL;
    uint16_t l_981 = 7UL;
    struct S1 * const l_1010 = &g_905[2];
    struct S1 * const *l_1009[10] = {&l_1010,(void*)0,&l_1010,(void*)0,&l_1010,(void*)0,&l_1010,(void*)0,&l_1010,(void*)0};
    int8_t l_1015 = 0xE6L;
    int16_t l_1049 = 0x9987L;
    uint8_t * const *l_1115[2][6][6] = {{{&g_780,&g_780,&g_780,&g_780,&g_780,&g_780},{&g_780,&g_780,&g_780,&g_780,&g_780,&g_780},{&g_780,&g_780,&g_780,&g_780,&g_780,&g_780},{&g_780,&g_780,&g_780,&g_780,&g_780,&g_780},{&g_780,&g_780,&g_780,&g_780,&g_780,&g_780},{&g_780,&g_780,&g_780,&g_780,&g_780,&g_780}},{{&g_780,&g_780,&g_780,&g_780,&g_780,&g_780},{&g_780,&g_780,&g_780,&g_780,&g_780,&g_780},{&g_780,&g_780,&g_780,&g_780,&g_780,&g_780},{&g_780,&g_780,&g_780,&g_780,&g_780,&g_780},{&g_780,&g_780,&g_780,&g_780,&g_780,&g_780},{&g_780,&g_780,&g_780,&g_780,&g_780,&g_780}}};
    int32_t ****l_1123[4];
    uint8_t l_1188 = 2UL;
    int8_t l_1226 = (-1L);
    int32_t **l_1247 = &g_185;
    int32_t l_1258 = 0x7F18010EL;
    int32_t l_1260[5] = {0L,0L,0L,0L,0L};
    int i, j, k;
    for (i = 0; i < 5; i++)
        l_916[i] = 0xF8D7L;
    for (i = 0; i < 4; i++)
        l_1123[i] = &g_667;
    (*p_34) = (*p_34);
    (*g_910) = func_62(l_915, (g_504 = (p_33 , 0x9F0AE6BEL)), l_916[2], &p_32, l_914[0][1]);
    return (*p_34);
}


/* ------------------------------------------ */
/* 
 * reads :
 * writes:
 */
static uint8_t  func_40(int32_t  p_41)
{ /* block id: 22 */
    uint32_t l_42 = 0x5CB296ADL;
    return l_42;
}


/* ------------------------------------------ */
/* 
 * reads : g_83
 * writes: g_83 g_92.f4 g_3 g_15
 */
static struct S1  func_47(int32_t * p_48)
{ /* block id: 62 */
    int32_t **l_133[10][5] = {{&g_94,&g_94,&g_94,&g_94,&g_94},{&g_94,&g_94,&g_94,&g_94,&g_94},{&g_94,&g_94,&g_94,&g_94,&g_94},{&g_94,&g_94,&g_94,&g_94,&g_94},{&g_94,&g_94,&g_94,&g_94,&g_94},{&g_94,&g_94,&g_94,&g_94,&g_94},{&g_94,&g_94,&g_94,&g_94,&g_94},{&g_94,&g_94,&g_94,&g_94,&g_94},{&g_94,&g_94,&g_94,&g_94,&g_94},{&g_94,&g_94,&g_94,&g_94,&g_94}};
    int16_t l_161 = 6L;
    int8_t *l_205 = &g_83;
    int32_t l_247 = (-1L);
    const int8_t * const l_270[8][1] = {{&g_83},{&g_83},{&g_83},{&g_83},{&g_83},{&g_83},{&g_83},{&g_83}};
    const int8_t * const *l_269 = &l_270[3][0];
    const int8_t * const **l_268[5][4] = {{&l_269,&l_269,&l_269,&l_269},{&l_269,&l_269,&l_269,&l_269},{&l_269,&l_269,&l_269,&l_269},{&l_269,&l_269,&l_269,&l_269},{&l_269,&l_269,&l_269,&l_269}};
    uint32_t l_301[5];
    int16_t l_311[4][6] = {{0x68BFL,0x95B2L,1L,1L,0x95B2L,1L},{0x68BFL,0x3D51L,0x68BFL,1L,0x3D51L,1L},{0x68BFL,9L,1L,1L,9L,0x68BFL},{0x68BFL,0x95B2L,1L,1L,0x95B2L,1L}};
    struct S0 **l_416 = &g_91;
    const uint8_t l_542 = 0xE5L;
    struct S1 l_560 = {172,-330,-0,18929,95};
    uint32_t l_611 = 1UL;
    int32_t *l_705 = (void*)0;
    int32_t l_758 = (-6L);
    int8_t l_759 = (-1L);
    uint8_t l_778 = 3UL;
    int32_t l_797 = 0L;
    int32_t l_862 = 0xB39451ADL;
    int32_t l_873 = 0xFE5FDFEFL;
    int16_t l_889 = (-7L);
    int i, j;
    for (i = 0; i < 5; i++)
        l_301[i] = 0x350790CDL;
    for (g_83 = 0; (g_83 == 10); g_83 = safe_add_func_uint8_t_u_u(g_83, 3))
    { /* block id: 65 */
        int16_t *l_122[7][5][1] = {{{(void*)0},{&g_20},{&g_20},{&g_92[3][1][3].f2},{&g_92[3][1][3].f2}},{{&g_92[3][1][3].f2},{&g_92[3][1][3].f2},{&g_92[3][1][3].f2},{&g_92[3][1][3].f2},{&g_92[3][1][3].f2}},{{&g_92[3][1][3].f2},{&g_20},{&g_20},{(void*)0},{&g_20}},{{&g_20},{&g_92[3][1][3].f2},{&g_92[3][1][3].f2},{&g_92[3][1][3].f2},{&g_92[3][1][3].f2}},{{&g_92[3][1][3].f2},{&g_92[3][1][3].f2},{&g_92[3][1][3].f2},{&g_92[3][1][3].f2},{&g_20}},{{&g_20},{(void*)0},{&g_20},{&g_20},{&g_92[3][1][3].f2}},{{&g_92[3][1][3].f2},{&g_92[3][1][3].f2},{&g_92[3][1][3].f2},{&g_92[3][1][3].f2},{&g_92[3][1][3].f2}}};
        int32_t l_123 = 0L;
        int32_t l_124 = 1L;
        const int32_t ***l_131 = (void*)0;
        const int32_t ***l_132 = &g_129[1];
        int32_t *l_153 = &l_123;
        struct S0 *l_154 = &g_92[1][0][6];
        int16_t *l_162 = &g_20;
        int32_t l_172 = (-1L);
        int32_t l_173 = 0xAD3B4E33L;
        const int8_t l_242 = 0x4DL;
        int8_t **l_265 = &l_205;
        const int32_t *l_284 = &l_173;
        uint8_t l_331 = 250UL;
        struct S0 l_396 = {9UL,-6L,1L,0x34L,-1L};
        uint32_t *l_419 = &g_213;
        uint32_t **l_418 = &l_419;
        int32_t l_441 = 0x8C037808L;
        int16_t l_488 = 0L;
        uint8_t l_605 = 0xA4L;
        uint32_t l_670 = 18446744073709551607UL;
        int32_t l_689 = 1L;
        int32_t l_692 = 0xE43AF478L;
        int32_t l_693 = 0xC0F3538AL;
        int32_t l_695 = 0L;
        int32_t l_696 = 0xCFD69C5FL;
        int32_t l_699 = (-6L);
        int16_t l_707 = 0L;
        struct S0 ***l_727[7][2] = {{&l_416,(void*)0},{&l_416,&l_416},{(void*)0,&l_416},{&l_416,(void*)0},{&l_416,&l_416},{&l_416,(void*)0},{&l_416,&l_416}};
        struct S0 ****l_726 = &l_727[0][0];
        uint32_t *l_734 = &g_504;
        uint16_t *l_743 = &g_150;
        int16_t l_882 = 0L;
        int32_t l_884[7][1][7] = {{{7L,7L,0xFD203C11L,(-3L),(-8L),(-3L),0xFD203C11L}},{{0x83438ED6L,0x83438ED6L,1L,0L,(-1L),0L,1L}},{{7L,7L,0xFD203C11L,(-3L),(-8L),(-3L),0xFD203C11L}},{{0x83438ED6L,0x83438ED6L,1L,0L,(-1L),0L,1L}},{{7L,7L,0xFD203C11L,(-3L),(-8L),(-3L),0xFD203C11L}},{{0x83438ED6L,0x83438ED6L,1L,0L,(-1L),0L,1L}},{{7L,7L,0xFD203C11L,(-3L),(-8L),(-3L),0xFD203C11L}}};
        struct S1 *l_892 = &g_68;
        uint32_t l_896 = 0x3B23285FL;
        int i, j, k;
    }
    (*p_48) = (-1L);
    return l_560;
}


/* ------------------------------------------ */
/* 
 * reads : g_54 g_3 g_68 g_6 g_83 g_20 g_90 g_91 g_97 g_94 g_53 g_92 g_12 g_15
 * writes: g_83 g_90 g_91 g_94 g_97 g_92.f4
 */
static int32_t * func_49(int32_t ** p_50, int16_t  p_51, struct S0  p_52)
{ /* block id: 24 */
    const uint16_t l_110 = 0xE3F5L;
    int32_t *l_111 = &g_92[3][1][3].f4;
    (*l_111) = (safe_mul_func_int8_t_s_s(func_40((**p_50)), ((safe_sub_func_int8_t_s_s((((func_60((*g_54)) , (*g_53)) != (g_20 , (*p_50))) & (safe_lshift_func_uint16_t_u_s((safe_mod_func_int8_t_s_s(((p_52.f1 = p_52.f0) & (((safe_lshift_func_int8_t_s_s((p_52.f3 == l_110), g_6[8])) > l_110) , g_92[3][1][3].f1)), 1UL)), l_110))), l_110)) > g_12)));
    return l_111;
}


/* ------------------------------------------ */
/* 
 * reads : g_68 g_6 g_83 g_20 g_90 g_91 g_54 g_97 g_3 g_94 g_53 g_92 g_15
 * writes: g_83 g_90 g_91 g_94 g_97
 */
static struct S0  func_60(int32_t  p_61)
{ /* block id: 25 */
    int32_t l_71 = (-4L);
    int32_t ** const l_72[1][6][3] = {{{&g_54,&g_54,&g_54},{&g_54,&g_54,&g_54},{&g_54,&g_54,&g_54},{&g_54,&g_54,&g_54},{&g_54,&g_54,&g_54},{&g_54,&g_54,&g_54}}};
    int32_t **l_73 = &g_54;
    int32_t ***l_74 = &l_73;
    struct S0 **l_93 = &g_91;
    int32_t *l_95 = &g_92[3][1][3].f4;
    uint8_t l_96[5];
    int i, j, k;
    for (i = 0; i < 5; i++)
        l_96[i] = 0UL;
    (*l_93) = func_62(g_68, p_61, (safe_mul_func_int16_t_s_s(g_6[3], l_71)), l_72[0][5][0], ((*l_74) = l_73));
    l_95 = (g_94 = (*l_73));
    for (p_61 = 1; (p_61 <= 4); p_61 += 1)
    { /* block id: 36 */
        int32_t l_98 = 0xFA4E93F4L;
        int32_t *l_102[3];
        int i;
        for (i = 0; i < 3; i++)
            l_102[i] = (void*)0;
        g_97 ^= (~l_96[p_61]);
        l_98 = (-1L);
        for (g_90 = 4; (g_90 >= 0); g_90 -= 1)
        { /* block id: 41 */
            int16_t l_99[5];
            int i;
            for (i = 0; i < 5; i++)
                l_99[i] = 0x8431L;
            l_99[2] |= ((***l_74) , ((void*)0 == &g_91));
            for (l_71 = 0; (l_71 <= 4); l_71 += 1)
            { /* block id: 45 */
                int32_t *l_100 = (void*)0;
                int32_t *l_101 = &g_97;
                l_98 &= (((*l_101) = p_61) , (*g_94));
                l_102[1] = (*g_53);
                if (l_99[1])
                    break;
            }
        }
    }
    for (g_90 = 0; (g_90 <= 4); g_90 += 1)
    { /* block id: 55 */
        int32_t *l_103 = &g_15;
        g_94 = l_103;
    }
    return (*g_91);
}


/* ------------------------------------------ */
/* 
 * reads : g_83 g_20 g_90 g_91
 * writes: g_83 g_90
 */
static struct S0 * func_62(struct S1  p_63, uint32_t  p_64, uint32_t  p_65, int32_t ** const  p_66, int32_t ** p_67)
{ /* block id: 27 */
    uint16_t l_81 = 0xC310L;
    int8_t *l_82 = &g_83;
    struct S1 l_86 = {5,-235,-1,9762,-453};
    int32_t *l_89 = &g_90;
    (*l_89) ^= (safe_mod_func_int8_t_s_s(((safe_add_func_uint32_t_u_u(p_65, ((+p_63.f0) && (safe_div_func_int8_t_s_s((l_81 , ((*l_82) &= p_63.f3)), ((l_81 && l_81) | (safe_rshift_func_int16_t_s_s(1L, (l_86 , ((safe_mod_func_int32_t_s_s(0x986173B0L, l_86.f0)) & g_20)))))))))) != 0x4030L), l_81));
    return g_91;
}




/* ---------------------------------------- */
int main (int argc, char* argv[])
{
    int i, j, k;
    int print_hash_value = 0;
    if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
    platform_main_begin();
    crc32_gentab();
    func_1();
    for (i = 0; i < 6; i++)
    {
        transparent_crc(g_3[i], "g_3[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_5, "g_5", print_hash_value);
    for (i = 0; i < 10; i++)
    {
        transparent_crc(g_6[i], "g_6[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_11, "g_11", print_hash_value);
    transparent_crc(g_12, "g_12", print_hash_value);
    transparent_crc(g_15, "g_15", print_hash_value);
    transparent_crc(g_20, "g_20", print_hash_value);
    transparent_crc(g_68.f0, "g_68.f0", print_hash_value);
    transparent_crc(g_68.f1, "g_68.f1", print_hash_value);
    transparent_crc(g_68.f2, "g_68.f2", print_hash_value);
    transparent_crc(g_68.f3, "g_68.f3", print_hash_value);
    transparent_crc(g_68.f4, "g_68.f4", print_hash_value);
    transparent_crc(g_83, "g_83", print_hash_value);
    transparent_crc(g_90, "g_90", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        for (j = 0; j < 4; j++)
        {
            for (k = 0; k < 9; k++)
            {
                transparent_crc(g_92[i][j][k].f0, "g_92[i][j][k].f0", print_hash_value);
                transparent_crc(g_92[i][j][k].f1, "g_92[i][j][k].f1", print_hash_value);
                transparent_crc(g_92[i][j][k].f2, "g_92[i][j][k].f2", print_hash_value);
                transparent_crc(g_92[i][j][k].f3, "g_92[i][j][k].f3", print_hash_value);
                transparent_crc(g_92[i][j][k].f4, "g_92[i][j][k].f4", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_97, "g_97", print_hash_value);
    transparent_crc(g_150, "g_150", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        for (j = 0; j < 8; j++)
        {
            transparent_crc(g_156[i][j], "g_156[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_213, "g_213", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 4; j++)
        {
            transparent_crc(g_278[i][j], "g_278[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_294, "g_294", print_hash_value);
    transparent_crc(g_353, "g_353", print_hash_value);
    transparent_crc(g_356, "g_356", print_hash_value);
    transparent_crc(g_357, "g_357", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        transparent_crc(g_359[i], "g_359[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_428, "g_428", print_hash_value);
    transparent_crc(g_433.f0, "g_433.f0", print_hash_value);
    transparent_crc(g_433.f1, "g_433.f1", print_hash_value);
    transparent_crc(g_433.f2, "g_433.f2", print_hash_value);
    transparent_crc(g_433.f3, "g_433.f3", print_hash_value);
    transparent_crc(g_433.f4, "g_433.f4", print_hash_value);
    transparent_crc(g_489, "g_489", print_hash_value);
    transparent_crc(g_504, "g_504", print_hash_value);
    transparent_crc(g_518, "g_518", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        for (j = 0; j < 4; j++)
        {
            transparent_crc(g_544[i][j], "g_544[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_576.f0, "g_576.f0", print_hash_value);
    transparent_crc(g_576.f1, "g_576.f1", print_hash_value);
    transparent_crc(g_576.f2, "g_576.f2", print_hash_value);
    transparent_crc(g_576.f3, "g_576.f3", print_hash_value);
    transparent_crc(g_576.f4, "g_576.f4", print_hash_value);
    transparent_crc(g_584, "g_584", print_hash_value);
    transparent_crc(g_698, "g_698", print_hash_value);
    transparent_crc(g_760, "g_760", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 9; j++)
        {
            for (k = 0; k < 4; k++)
            {
                transparent_crc(g_857[i][j][k], "g_857[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    for (i = 0; i < 7; i++)
    {
        transparent_crc(g_905[i].f0, "g_905[i].f0", print_hash_value);
        transparent_crc(g_905[i].f1, "g_905[i].f1", print_hash_value);
        transparent_crc(g_905[i].f2, "g_905[i].f2", print_hash_value);
        transparent_crc(g_905[i].f3, "g_905[i].f3", print_hash_value);
        transparent_crc(g_905[i].f4, "g_905[i].f4", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1042, "g_1042", print_hash_value);
    transparent_crc(g_1058, "g_1058", print_hash_value);
    for (i = 0; i < 10; i++)
    {
        transparent_crc(g_1138[i], "g_1138[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1225, "g_1225", print_hash_value);
    transparent_crc(g_1239, "g_1239", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        transparent_crc(g_1257[i], "g_1257[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1261, "g_1261", print_hash_value);
    for (i = 0; i < 5; i++)
    {
        transparent_crc(g_1402[i], "g_1402[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1436, "g_1436", print_hash_value);
    transparent_crc(g_1682, "g_1682", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 5; j++)
        {
            for (k = 0; k < 9; k++)
            {
                transparent_crc(g_1695[i][j][k], "g_1695[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_2022, "g_2022", print_hash_value);
    transparent_crc(g_2037, "g_2037", print_hash_value);
    transparent_crc(g_2052, "g_2052", print_hash_value);
    platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
    return 0;
}

/************************ statistics *************************
XXX max struct depth: 1
breakdown:
   depth: 0, occurrence: 547
   depth: 1, occurrence: 33
XXX total union variables: 0

XXX non-zero bitfields defined in structs: 5
XXX zero bitfields defined in structs: 0
XXX const bitfields defined in structs: 1
XXX volatile bitfields defined in structs: 0
XXX structs with bitfields in the program: 27
breakdown:
   indirect level: 0, occurrence: 16
   indirect level: 1, occurrence: 8
   indirect level: 2, occurrence: 3
XXX full-bitfields structs in the program: 16
breakdown:
   indirect level: 0, occurrence: 16
XXX times a bitfields struct's address is taken: 24
XXX times a bitfields struct on LHS: 0
XXX times a bitfields struct on RHS: 24
XXX times a single bitfield on LHS: 5
XXX times a single bitfield on RHS: 74

XXX max expression depth: 46
breakdown:
   depth: 1, occurrence: 83
   depth: 2, occurrence: 25
   depth: 3, occurrence: 4
   depth: 8, occurrence: 3
   depth: 13, occurrence: 2
   depth: 14, occurrence: 1
   depth: 15, occurrence: 1
   depth: 16, occurrence: 1
   depth: 17, occurrence: 1
   depth: 18, occurrence: 1
   depth: 20, occurrence: 1
   depth: 32, occurrence: 1
   depth: 33, occurrence: 1
   depth: 37, occurrence: 1
   depth: 46, occurrence: 1

XXX total number of pointers: 404

XXX times a variable address is taken: 729
XXX times a pointer is dereferenced on RHS: 359
breakdown:
   depth: 1, occurrence: 251
   depth: 2, occurrence: 71
   depth: 3, occurrence: 35
   depth: 4, occurrence: 2
XXX times a pointer is dereferenced on LHS: 280
breakdown:
   depth: 1, occurrence: 245
   depth: 2, occurrence: 30
   depth: 3, occurrence: 5
XXX times a pointer is compared with null: 33
XXX times a pointer is compared with address of another variable: 8
XXX times a pointer is compared with another pointer: 10
XXX times a pointer is qualified to be dereferenced: 8112

XXX max dereference level: 5
breakdown:
   level: 0, occurrence: 0
   level: 1, occurrence: 1335
   level: 2, occurrence: 410
   level: 3, occurrence: 168
   level: 4, occurrence: 15
   level: 5, occurrence: 8
XXX number of pointers point to pointers: 190
XXX number of pointers point to scalars: 194
XXX number of pointers point to structs: 20
XXX percent of pointers has null in alias set: 29.5
XXX average alias set size: 1.4

XXX times a non-volatile is read: 1935
XXX times a non-volatile is write: 902
XXX times a volatile is read: 0
XXX    times read thru a pointer: 0
XXX times a volatile is write: 0
XXX    times written thru a pointer: 0
XXX times a volatile is available for access: 0
XXX percentage of non-volatile access: 100

XXX forward jumps: 0
XXX backward jumps: 3

XXX stmts: 86
XXX max block depth: 5
breakdown:
   depth: 0, occurrence: 31
   depth: 1, occurrence: 17
   depth: 2, occurrence: 8
   depth: 3, occurrence: 13
   depth: 4, occurrence: 13
   depth: 5, occurrence: 4

XXX percentage a fresh-made variable is used: 16.4
XXX percentage an existing variable is used: 83.6
FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
********************* end of statistics **********************/