text: /*
   * This is a RANDOMLY GENERATED PROGRAM.
   *
   * Generator: csmith 2.2.0
   * Git version: dcef523
   * Options:   (none)
   * Seed:      4133991056
   */
  
  #include "csmith.h"
  
  
  static long __undefined;
  
  /* --- Struct/Union Declarations --- */
  struct S0 {
     const volatile unsigned f0 : 22;
     unsigned f1 : 19;
     unsigned f2 : 9;
     const unsigned f3 : 17;
     volatile unsigned f4 : 28;
  };
  
  #pragma pack(push)
  #pragma pack(1)
  struct S1 {
     unsigned f0 : 15;
     signed f1 : 12;
  };
  #pragma pack(pop)
  
  #pragma pack(push)
  #pragma pack(1)
  struct S2 {
     int32_t  f0;
     volatile uint32_t  f1;
     struct S0  f2;
  };
  #pragma pack(pop)
  
  union U3 {
     int8_t * volatile  f0;
  };
  
  union U4 {
     volatile int8_t * f0;
     unsigned f1 : 14;
     volatile uint32_t  f2;
     uint8_t  f3;
     volatile uint32_t  f4;
  };
  
  union U5 {
     int32_t  f0;
     uint64_t  f1;
     int8_t * const  f2;
     volatile signed : 0;
     uint8_t  f3;
  };
  
  union U6 {
     int8_t * volatile  f0;
  };
  
  /* --- GLOBAL VARIABLES --- */
  static int8_t g_5 = 0xB7L;
  static int8_t * volatile g_4[1] = {&g_5};
  static int8_t g_63 = (-2L);
  static int32_t g_72 = 0xBD5F5AB9L;
  static uint8_t g_102 = 0xC1L;
  static struct S1 g_106 = {54,9};
  static int8_t * volatile g_110 = &g_63;/* VOLATILE GLOBAL g_110 */
  static int8_t * volatile *g_109 = &g_110;
  static int16_t g_119 = 3L;
  static int64_t g_131 = 0x3401CF63C109E68FLL;
  static int16_t g_140 = (-1L);
  static uint16_t g_142[3] = {1UL,1UL,1UL};
  static int64_t g_168 = (-6L);
  static int8_t g_170 = (-4L);
  static uint32_t g_171 = 0x3AEAE043L;
  static union U3 g_175 = {0};/* VOLATILE GLOBAL g_175 */
  static union U3 g_176 = {0};/* VOLATILE GLOBAL g_176 */
  static union U3 g_177 = {0};/* VOLATILE GLOBAL g_177 */
  static union U3 g_178 = {0};/* VOLATILE GLOBAL g_178 */
  static union U3 g_179 = {0};/* VOLATILE GLOBAL g_179 */
  static union U3 g_180[8] = {{0},{0},{0},{0},{0},{0},{0},{0}};
  static union U3 g_181 = {0};/* VOLATILE GLOBAL g_181 */
  static volatile union U6 g_184 = {0};/* VOLATILE GLOBAL g_184 */
  static volatile union U6 g_185 = {0};/* VOLATILE GLOBAL g_185 */
  static volatile union U6 g_186 = {0};/* VOLATILE GLOBAL g_186 */
  static volatile union U6 g_187 = {0};/* VOLATILE GLOBAL g_187 */
  static volatile union U6 g_188 = {0};/* VOLATILE GLOBAL g_188 */
  static volatile union U6 g_189[5] = {{0},{0},{0},{0},{0}};
  static volatile union U6 g_190[9][10][2] = {{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}}};
  static volatile union U6 g_191 = {0};/* VOLATILE GLOBAL g_191 */
  static volatile union U6 g_192 = {0};/* VOLATILE GLOBAL g_192 */
  static volatile union U6 g_193 = {0};/* VOLATILE GLOBAL g_193 */
  static volatile union U6 g_194 = {0};/* VOLATILE GLOBAL g_194 */
  static volatile union U6 g_195 = {0};/* VOLATILE GLOBAL g_195 */
  static volatile union U6 g_196 = {0};/* VOLATILE GLOBAL g_196 */
  static volatile union U6 g_197 = {0};/* VOLATILE GLOBAL g_197 */
  static volatile union U6 g_198 = {0};/* VOLATILE GLOBAL g_198 */
  static volatile union U6 g_199[1][3][6] = {{{{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0}}}};
  static volatile union U6 g_200 = {0};/* VOLATILE GLOBAL g_200 */
  static volatile union U6 g_201 = {0};/* VOLATILE GLOBAL g_201 */
  static volatile union U6 g_202 = {0};/* VOLATILE GLOBAL g_202 */
  static volatile union U6 g_203 = {0};/* VOLATILE GLOBAL g_203 */
  static volatile union U6 g_204 = {0};/* VOLATILE GLOBAL g_204 */
  static volatile union U6 g_205 = {0};/* VOLATILE GLOBAL g_205 */
  static volatile union U6 g_206[10] = {{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}};
  static volatile union U6 g_207 = {0};/* VOLATILE GLOBAL g_207 */
  static volatile union U6 g_208 = {0};/* VOLATILE GLOBAL g_208 */
  static volatile union U6 g_209[7] = {{0},{0},{0},{0},{0},{0},{0}};
  static volatile union U6 g_210[2] = {{0},{0}};
  static volatile union U6 g_211 = {0};/* VOLATILE GLOBAL g_211 */
  static volatile union U6 g_212[6][1] = {{{0}},{{0}},{{0}},{{0}},{{0}},{{0}}};
  static volatile union U6 g_213 = {0};/* VOLATILE GLOBAL g_213 */
  static volatile union U6 g_214 = {0};/* VOLATILE GLOBAL g_214 */
  static volatile union U6 g_215 = {0};/* VOLATILE GLOBAL g_215 */
  static volatile union U6 *g_183[10][10] = {{&g_185,&g_187,&g_206[5],(void*)0,&g_194,&g_198,&g_186,&g_189[0],&g_211,&g_184},{(void*)0,&g_209[5],(void*)0,&g_203,(void*)0,&g_197,&g_204,&g_193,&g_201,&g_191},{&g_215,(void*)0,&g_212[3][0],&g_187,&g_210[1],&g_186,&g_210[1],&g_187,&g_212[3][0],(void*)0},{&g_199[0][1][4],&g_190[6][5][1],&g_200,&g_192,&g_203,&g_196,&g_208,&g_202,&g_213,(void*)0},{&g_205,&g_214,&g_209[5],(void*)0,&g_184,&g_196,&g_192,&g_207,&g_204,&g_185},{&g_199[0][1][4],&g_195,(void*)0,&g_207,&g_188,&g_186,&g_201,&g_200,&g_215,&g_215},{&g_215,&g_198,&g_197,&g_213,&g_213,&g_197,&g_198,&g_215,&g_185,&g_204},{(void*)0,&g_189[0],(void*)0,&g_209[5],&g_195,&g_198,&g_185,(void*)0,(void*)0,&g_213},{&g_185,&g_205,(void*)0,&g_195,&g_200,(void*)0,&g_193,&g_215,(void*)0,&g_212[3][0]},{&g_203,(void*)0,&g_197,&g_204,&g_193,&g_201,&g_191,&g_200,&g_191,&g_201}};
  static volatile union U6 g_217 = {0};/* VOLATILE GLOBAL g_217 */
  static int32_t g_232 = 0L;
  static int64_t g_269 = 0x0BCA7656AE978212LL;
  static int64_t g_270[9] = {0xEE98ABC2DA774B31LL,0xEE98ABC2DA774B31LL,0xEE98ABC2DA774B31LL,0xEE98ABC2DA774B31LL,0xEE98ABC2DA774B31LL,0xEE98ABC2DA774B31LL,0xEE98ABC2DA774B31LL,0xEE98ABC2DA774B31LL,0xEE98ABC2DA774B31LL};
  static int16_t g_271 = (-8L);
  static int8_t g_273[1][4][10] = {{{0x2EL,(-6L),0x2EL,(-6L),0x2EL,(-6L),0x2EL,(-6L),0x2EL,(-6L)},{(-1L),(-6L),(-1L),(-6L),(-1L),(-6L),(-1L),(-6L),(-1L),(-6L)},{0x2EL,(-6L),0x2EL,(-6L),0x2EL,(-6L),0x2EL,(-6L),0x2EL,(-6L)},{(-1L),(-6L),(-1L),(-6L),(-1L),(-6L),(-1L),(-6L),(-1L),(-6L)}}};
  static uint8_t g_274 = 255UL;
  static union U3 g_282 = {0};/* VOLATILE GLOBAL g_282 */
  static volatile union U3 g_284[7][1] = {{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}}};
  static volatile union U3 * const g_283 = &g_284[3][0];
  static uint32_t g_314 = 1UL;
  static int64_t *g_351 = &g_270[2];
  static int64_t *g_352 = &g_131;
  static union U3 g_355[8] = {{0},{0},{0},{0},{0},{0},{0},{0}};
  static int16_t g_356 = 0x62E9L;
  static uint64_t g_358 = 0UL;
  static union U3 g_366 = {0};/* VOLATILE GLOBAL g_366 */
  static volatile union U4 g_369 = {0};/* VOLATILE GLOBAL g_369 */
  static volatile union U4 * volatile g_368 = &g_369;/* VOLATILE GLOBAL g_368 */
  static volatile union U4 * volatile *g_367 = &g_368;
  static uint32_t g_406 = 4294967295UL;
  static union U4 g_413[9] = {{0},{0},{0},{0},{0},{0},{0},{0},{0}};
  static union U4 *g_412 = &g_413[8];
  static union U6 g_445[1] = {{0}};
  static int32_t *g_456 = &g_72;
  static uint16_t g_473 = 0xB3F1L;
  static struct S1 *g_485 = (void*)0;
  static struct S1 **g_484[6] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
  static union U6 g_554 = {0};/* VOLATILE GLOBAL g_554 */
  static union U6 *g_553 = &g_554;
  static union U6 g_557 = {0};/* VOLATILE GLOBAL g_557 */
  static uint32_t g_585 = 0xC20DDC43L;
  static uint8_t g_639 = 0x05L;
  static uint16_t g_672 = 0x9F56L;
  static const int64_t *g_771 = (void*)0;
  static const int64_t **g_770 = &g_771;
  static const int64_t ***g_769 = &g_770;
  static union U6 g_790 = {0};/* VOLATILE GLOBAL g_790 */
  static uint32_t g_810 = 0x4ADC43AAL;
  static union U6 g_814 = {0};/* VOLATILE GLOBAL g_814 */
  static int32_t g_831[1][6] = {{0xDA8A8BE9L,0x27499C8AL,0xDA8A8BE9L,0xDA8A8BE9L,0x27499C8AL,0xDA8A8BE9L}};
  static int64_t g_832 = 0xDBC0F0AB0D68F772LL;
  static uint8_t g_833 = 255UL;
  static union U3 g_863 = {0};/* VOLATILE GLOBAL g_863 */
  static int8_t * const g_877 = &g_273[0][0][3];
  static struct S2 g_890 = {0L,1UL,{416,386,20,307,16113}};/* VOLATILE GLOBAL g_890 */
  static struct S2 g_892 = {2L,4UL,{1850,416,20,65,11904}};/* VOLATILE GLOBAL g_892 */
  static struct S2 *g_891 = &g_892;
  static const uint16_t *g_896[4][7] = {{&g_672,&g_142[1],&g_142[1],&g_142[1],&g_142[1],&g_142[1],&g_142[1]},{&g_142[1],(void*)0,&g_142[1],(void*)0,(void*)0,&g_142[1],(void*)0},{&g_142[1],&g_672,&g_142[1],&g_142[1],&g_672,&g_142[1],&g_672},{&g_142[1],(void*)0,(void*)0,&g_142[1],(void*)0,&g_142[1],(void*)0}};
  static const uint16_t **g_895 = &g_896[2][6];
  static struct S2 g_942 = {5L,1UL,{1569,515,14,360,16108}};/* VOLATILE GLOBAL g_942 */
  static int32_t g_963 = 1L;
  static struct S0 g_996 = {1024,316,18,46,254};/* VOLATILE GLOBAL g_996 */
  static struct S0 g_1001[7] = {{603,699,2,188,11726},{603,699,2,188,11726},{603,699,2,188,11726},{603,699,2,188,11726},{603,699,2,188,11726},{603,699,2,188,11726},{603,699,2,188,11726}};
  static struct S0 g_1003 = {944,363,14,29,16159};/* VOLATILE GLOBAL g_1003 */
  static int32_t g_1035 = 0xDB40C038L;
  static uint64_t *g_1042 = &g_358;
  static uint64_t **g_1041 = &g_1042;
  static struct S1 **g_1054 = &g_485;
  static struct S1 g_1055 = {97,-51};
  static union U5 g_1057 = {1L};/* VOLATILE GLOBAL g_1057 */
  static union U5 *g_1056 = &g_1057;
  static union U5 g_1060 = {0xABC84162L};/* VOLATILE GLOBAL g_1060 */
  static struct S1 g_1077 = {32,2};
  static union U3 g_1080 = {0};/* VOLATILE GLOBAL g_1080 */
  static union U3 *g_1079 = &g_1080;
  static union U3 g_1083 = {0};/* VOLATILE GLOBAL g_1083 */
  static union U5 g_1104[3][8] = {{{1L},{1L},{1L},{1L},{1L},{1L},{1L},{1L}},{{1L},{1L},{1L},{1L},{1L},{1L},{1L},{1L}},{{1L},{1L},{1L},{1L},{1L},{1L},{1L},{1L}}};
  static union U4 g_1108[9][10][2] = {{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}}};
  static union U4 g_1111 = {0};/* VOLATILE GLOBAL g_1111 */
  static union U4 *g_1110 = &g_1111;
  static union U6 g_1150 = {0};/* VOLATILE GLOBAL g_1150 */
  static volatile union U3 g_1203 = {0};/* VOLATILE GLOBAL g_1203 */
  static volatile union U3 g_1204 = {0};/* VOLATILE GLOBAL g_1204 */
  static volatile union U3 g_1205 = {0};/* VOLATILE GLOBAL g_1205 */
  static volatile union U3 g_1206 = {0};/* VOLATILE GLOBAL g_1206 */
  static volatile union U3 g_1207 = {0};/* VOLATILE GLOBAL g_1207 */
  static volatile union U3 g_1208[7][4] = {{{0},{0},{0},{0}},{{0},{0},{0},{0}},{{0},{0},{0},{0}},{{0},{0},{0},{0}},{{0},{0},{0},{0}},{{0},{0},{0},{0}},{{0},{0},{0},{0}}};
  static volatile union U3 g_1209 = {0};/* VOLATILE GLOBAL g_1209 */
  static volatile union U3 g_1210 = {0};/* VOLATILE GLOBAL g_1210 */
  static volatile union U3 g_1211 = {0};/* VOLATILE GLOBAL g_1211 */
  static volatile union U3 g_1212 = {0};/* VOLATILE GLOBAL g_1212 */
  static volatile union U3 * volatile g_1202[1][8][7] = {{{&g_1203,&g_1211,&g_1212,&g_1206,&g_1212,&g_1211,&g_1203},{&g_1211,&g_1204,(void*)0,&g_1208[0][2],&g_1209,&g_1212,&g_1209},{&g_1211,&g_1209,&g_1209,&g_1211,&g_1207,&g_1205,&g_1206},{&g_1203,&g_1205,(void*)0,&g_1207,&g_1207,(void*)0,&g_1205},{&g_1207,&g_1203,&g_1212,&g_1204,&g_1209,&g_1206,&g_1206},{&g_1212,&g_1203,&g_1207,&g_1203,&g_1212,&g_1204,&g_1209},{(void*)0,&g_1205,&g_1203,&g_1204,&g_1208[0][2],&g_1204,&g_1203},{&g_1209,&g_1209,&g_1211,&g_1207,&g_1205,&g_1206,(void*)0}}};
  static volatile union U3 * volatile *g_1201 = &g_1202[0][0][3];
  static volatile union U3 * volatile **g_1200 = &g_1201;
  static int32_t g_1224 = 0x64365142L;
  static uint64_t g_1225 = 0UL;
  static struct S0 *g_1259 = (void*)0;
  static union U5 g_1318 = {0xFBE9C707L};/* VOLATILE GLOBAL g_1318 */
  static union U6 g_1368 = {0};/* VOLATILE GLOBAL g_1368 */
  static const union U3 g_1423 = {0};/* VOLATILE GLOBAL g_1423 */
  static union U3 g_1424 = {0};/* VOLATILE GLOBAL g_1424 */
  static const union U3 g_1425[3] = {{0},{0},{0}};
  static const union U3 g_1426 = {0};/* VOLATILE GLOBAL g_1426 */
  static union U3 g_1427[2] = {{0},{0}};
  static union U3 g_1428 = {0};/* VOLATILE GLOBAL g_1428 */
  static const union U3 g_1429 = {0};/* VOLATILE GLOBAL g_1429 */
  static union U3 g_1430 = {0};/* VOLATILE GLOBAL g_1430 */
  static union U3 g_1431[2] = {{0},{0}};
  static const union U3 g_1432[5] = {{0},{0},{0},{0},{0}};
  static union U3 g_1433 = {0};/* VOLATILE GLOBAL g_1433 */
  static union U3 g_1434 = {0};/* VOLATILE GLOBAL g_1434 */
  static union U3 g_1435[3] = {{0},{0},{0}};
  static const union U3 g_1436 = {0};/* VOLATILE GLOBAL g_1436 */
  static const union U3 g_1437 = {0};/* VOLATILE GLOBAL g_1437 */
  static const union U3 g_1438 = {0};/* VOLATILE GLOBAL g_1438 */
  static const union U3 g_1439 = {0};/* VOLATILE GLOBAL g_1439 */
  static const union U3 g_1440 = {0};/* VOLATILE GLOBAL g_1440 */
  static union U3 g_1441 = {0};/* VOLATILE GLOBAL g_1441 */
  static union U3 g_1442 = {0};/* VOLATILE GLOBAL g_1442 */
  static union U3 g_1443 = {0};/* VOLATILE GLOBAL g_1443 */
  static union U3 g_1444[7][10] = {{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}}};
  static union U3 g_1445 = {0};/* VOLATILE GLOBAL g_1445 */
  static const union U3 g_1446 = {0};/* VOLATILE GLOBAL g_1446 */
  static union U3 g_1447 = {0};/* VOLATILE GLOBAL g_1447 */
  static const union U3 g_1448 = {0};/* VOLATILE GLOBAL g_1448 */
  static union U3 g_1449[5][1] = {{{0}},{{0}},{{0}},{{0}},{{0}}};
  static union U3 g_1450 = {0};/* VOLATILE GLOBAL g_1450 */
  static union U3 g_1451[2][9][3] = {{{{0},{0},{0}},{{0},{0},{0}},{{0},{0},{0}},{{0},{0},{0}},{{0},{0},{0}},{{0},{0},{0}},{{0},{0},{0}},{{0},{0},{0}},{{0},{0},{0}}},{{{0},{0},{0}},{{0},{0},{0}},{{0},{0},{0}},{{0},{0},{0}},{{0},{0},{0}},{{0},{0},{0}},{{0},{0},{0}},{{0},{0},{0}},{{0},{0},{0}}}};
  static union U3 g_1452 = {0};/* VOLATILE GLOBAL g_1452 */
  static const union U3 g_1453 = {0};/* VOLATILE GLOBAL g_1453 */
  static const union U3 g_1454[2] = {{0},{0}};
  static union U3 g_1455 = {0};/* VOLATILE GLOBAL g_1455 */
  static const union U3 g_1456[1] = {{0}};
  static const union U3 g_1457 = {0};/* VOLATILE GLOBAL g_1457 */
  static const union U3 g_1458 = {0};/* VOLATILE GLOBAL g_1458 */
  static union U3 g_1459 = {0};/* VOLATILE GLOBAL g_1459 */
  static const union U3 g_1460 = {0};/* VOLATILE GLOBAL g_1460 */
  static union U3 g_1461 = {0};/* VOLATILE GLOBAL g_1461 */
  static const union U3 g_1462 = {0};/* VOLATILE GLOBAL g_1462 */
  static const union U3 g_1463 = {0};/* VOLATILE GLOBAL g_1463 */
  static union U3 g_1464[9][10] = {{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}}};
  static union U3 g_1465 = {0};/* VOLATILE GLOBAL g_1465 */
  static const union U3 g_1466 = {0};/* VOLATILE GLOBAL g_1466 */
  static union U3 g_1467 = {0};/* VOLATILE GLOBAL g_1467 */
  static union U3 g_1468 = {0};/* VOLATILE GLOBAL g_1468 */
  static const union U3 g_1469 = {0};/* VOLATILE GLOBAL g_1469 */
  static union U3 g_1470 = {0};/* VOLATILE GLOBAL g_1470 */
  static union U3 g_1471 = {0};/* VOLATILE GLOBAL g_1471 */
  static union U3 g_1472 = {0};/* VOLATILE GLOBAL g_1472 */
  static union U3 g_1473[8] = {{0},{0},{0},{0},{0},{0},{0},{0}};
  static union U3 g_1474[9][4][7] = {{{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}}},{{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}}},{{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}}},{{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}}},{{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}}},{{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}}},{{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}}},{{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}}},{{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0}}}};
  static union U3 g_1475[9] = {{0},{0},{0},{0},{0},{0},{0},{0},{0}};
  static union U3 g_1476 = {0};/* VOLATILE GLOBAL g_1476 */
  static const union U3 g_1477 = {0};/* VOLATILE GLOBAL g_1477 */
  static const union U3 g_1478 = {0};/* VOLATILE GLOBAL g_1478 */
  static union U3 g_1479 = {0};/* VOLATILE GLOBAL g_1479 */
  static union U3 g_1480[1][5][9] = {{{{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0}}}};
  static const union U3 g_1481 = {0};/* VOLATILE GLOBAL g_1481 */
  static const union U3 g_1482 = {0};/* VOLATILE GLOBAL g_1482 */
  static uint16_t g_1497 = 0xFC37L;
  static int64_t g_1587 = 0xA65CE9A0A89EEC93LL;
  static uint16_t g_1588 = 0xB47FL;
  static union U3 **g_1595 = &g_1079;
  static union U3 ***g_1594 = &g_1595;
  static union U3 g_1599 = {0};/* VOLATILE GLOBAL g_1599 */
  static const union U3 **g_1602 = (void*)0;
  static const union U3 ***g_1601[10][4][6] = {{{&g_1602,&g_1602,&g_1602,&g_1602,(void*)0,&g_1602},{&g_1602,&g_1602,(void*)0,(void*)0,(void*)0,&g_1602},{&g_1602,&g_1602,(void*)0,&g_1602,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602}},{{&g_1602,&g_1602,(void*)0,&g_1602,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,(void*)0},{&g_1602,&g_1602,&g_1602,(void*)0,&g_1602,&g_1602}},{{&g_1602,(void*)0,&g_1602,&g_1602,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,(void*)0},{&g_1602,&g_1602,&g_1602,&g_1602,(void*)0,&g_1602},{&g_1602,&g_1602,&g_1602,(void*)0,&g_1602,&g_1602}},{{&g_1602,&g_1602,(void*)0,&g_1602,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602},{(void*)0,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602}},{{&g_1602,&g_1602,&g_1602,(void*)0,(void*)0,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,(void*)0}},{{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602},{(void*)0,&g_1602,&g_1602,(void*)0,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,(void*)0,&g_1602,&g_1602}},{{(void*)0,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602},{(void*)0,&g_1602,&g_1602,(void*)0,&g_1602,(void*)0},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602}},{{&g_1602,&g_1602,&g_1602,(void*)0,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,(void*)0,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602},{(void*)0,&g_1602,(void*)0,&g_1602,&g_1602,(void*)0}},{{(void*)0,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602},{(void*)0,&g_1602,(void*)0,&g_1602,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,(void*)0,&g_1602}},{{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602},{&g_1602,&g_1602,&g_1602,&g_1602,&g_1602,&g_1602},{&g_1602,(void*)0,&g_1602,&g_1602,&g_1602,&g_1602}}};
  static const union U3 ***g_1603 = (void*)0;
  static union U5 g_1633 = {0L};/* VOLATILE GLOBAL g_1633 */
  static const struct S0 g_1674 = {659,618,1,301,666};/* VOLATILE GLOBAL g_1674 */
  static struct S0 g_1676 = {1480,353,11,318,523};/* VOLATILE GLOBAL g_1676 */
  static struct S0 g_1680 = {716,176,20,219,8328};/* VOLATILE GLOBAL g_1680 */
  static union U5 g_1692 = {1L};/* VOLATILE GLOBAL g_1692 */
  static union U5 g_1695 = {0L};/* VOLATILE GLOBAL g_1695 */
  static int64_t g_1796[3][5][8] = {{{0L,0L,(-6L),8L,1L,0L,5L,1L},{5L,(-1L),0x980E01C1F941BE7ELL,0x32AC2754B5555663LL,1L,(-1L),6L,1L},{(-1L),(-1L),0L,8L,0x2D44FE2F72B853A9LL,(-5L),(-1L),0L},{0x13253C62D54D069DLL,0x980E01C1F941BE7ELL,1L,0L,(-1L),(-1L),(-3L),0x71AD466918136ED2LL},{1L,1L,(-1L),0x1223578135CF4031LL,1L,1L,5L,1L}},{{0xAE5D6D13DD320C83LL,0x980E01C1F941BE7ELL,(-1L),0x980E01C1F941BE7ELL,0xAE5D6D13DD320C83LL,0xEA7D35136CF7626BLL,0L,0L},{(-3L),0x71AD466918136ED2LL,(-3L),(-1L),(-1L),0L,1L,0x980E01C1F941BE7ELL},{0L,(-1L),(-3L),0L,0x71AD466918136ED2LL,(-1L),0L,(-6L)},{(-1L),0x13253C62D54D069DLL,(-1L),0L,0xEA7D35136CF7626BLL,1L,5L,0L},{0L,(-3L),(-1L),0xD28F5CD139760966LL,0x2D44FE2F72B853A9LL,6L,(-1L),0L}},{{0x840094AC55CE8129LL,1L,1L,0x50B46D3B1292DFE6LL,0x50B46D3B1292DFE6LL,1L,1L,0x840094AC55CE8129LL},{(-3L),0x32AC2754B5555663LL,0x50B46D3B1292DFE6LL,1L,(-1L),(-6L),(-3L),0x2D44FE2F72B853A9LL},{(-1L),0x2D44FE2F72B853A9LL,(-1L),(-1L),1L,(-6L),6L,8L},{1L,0x32AC2754B5555663LL,0xC813D430768929E5LL,0L,(-1L),1L,0xAE5D6D13DD320C83LL,(-1L)},{8L,1L,1L,1L,1L,6L,(-3L),0L}}};
  static uint32_t g_1798 = 0xD3F50CE8L;
  static int64_t g_1817 = 0xA19DA4D12B05C5ECLL;
  static uint32_t g_1819 = 5UL;
  static union U6 g_1827 = {0};/* VOLATILE GLOBAL g_1827 */
  static union U3 g_1836 = {0};/* VOLATILE GLOBAL g_1836 */
  static union U4 g_1935 = {0};/* VOLATILE GLOBAL g_1935 */
  static struct S0 g_1978[2][9][3] = {{{{1498,21,2,15,6696},{1577,14,5,255,1537},{526,502,8,148,15350}},{{1469,622,1,170,15630},{526,502,8,148,15350},{1168,649,11,103,15615}},{{575,498,6,320,2990},{1237,695,4,6,7924},{338,585,20,130,2066}},{{526,502,8,148,15350},{526,502,8,148,15350},{1237,695,4,6,7924}},{{595,469,8,192,2170},{1577,14,5,255,1537},{830,70,3,190,12548}},{{595,469,8,192,2170},{1456,272,20,311,16008},{575,498,6,320,2990}},{{526,502,8,148,15350},{1168,649,11,103,15615},{1577,14,5,255,1537}},{{575,498,6,320,2990},{595,469,8,192,2170},{575,498,6,320,2990}},{{1469,622,1,170,15630},{1180,675,15,226,829},{830,70,3,190,12548}}},{{{1498,21,2,15,6696},{1180,675,15,226,829},{1237,695,4,6,7924}},{{1168,649,11,103,15615},{595,469,8,192,2170},{338,585,20,130,2066}},{{1718,542,4,236,7941},{1168,649,11,103,15615},{1168,649,11,103,15615}},{{1168,649,11,103,15615},{1456,272,20,311,16008},{526,502,8,148,15350}},{{1498,21,2,15,6696},{1577,14,5,255,1537},{526,502,8,148,15350}},{{1469,622,1,170,15630},{526,502,8,148,15350},{1168,649,11,103,15615}},{{575,498,6,320,2990},{1237,695,4,6,7924},{338,585,20,130,2066}},{{526,502,8,148,15350},{526,502,8,148,15350},{1237,695,4,6,7924}},{{595,469,8,192,2170},{1577,14,5,255,1537},{830,70,3,190,12548}}}};
  static int16_t g_1979 = 0xF5ECL;
  static union U5 **g_2005 = &g_1056;
  static uint32_t g_2021 = 18446744073709551615UL;
  static uint16_t g_2057[7][4] = {{65535UL,0x1EA3L,0x9CDAL,0x762AL},{0x1EA3L,0UL,0UL,0x1EA3L},{0x7B5CL,0x762AL,0UL,1UL},{0x1EA3L,65535UL,0x9CDAL,65535UL},{65535UL,0UL,0x7B5CL,65535UL},{0x7B5CL,65535UL,1UL,1UL},{0x762AL,0x762AL,0x9CDAL,0x1EA3L}};
  static uint32_t g_2087 = 4294967295UL;
  static struct S2 g_2274 = {-1L,1UL,{1936,188,3,82,5386}};/* VOLATILE GLOBAL g_2274 */
  static uint16_t g_2291[10][7] = {{0xA867L,0xE2B6L,1UL,0x8D59L,0xE9E0L,1UL,0UL},{65528UL,0x9A21L,1UL,0x7843L,65535UL,1UL,1UL},{65528UL,0xE2B6L,0x6BF0L,0xE2B6L,65528UL,1UL,65535UL},{65534UL,0x6CB9L,0xB2F8L,0x6F37L,1UL,0x6BF0L,0x9464L},{1UL,0x6CB9L,65534UL,3UL,1UL,65535UL,0x9464L},{65534UL,0x6F37L,0x43F7L,0x078BL,1UL,0x6BF0L,65535UL},{0UL,0x516FL,0x43F7L,3UL,1UL,1UL,1UL},{0UL,0x6F37L,65534UL,0x6F37L,0UL,1UL,65535UL},{65534UL,0x6CB9L,0xB2F8L,0x6F37L,1UL,0x6BF0L,0x9464L},{1UL,0x6CB9L,65534UL,3UL,1UL,65535UL,0x9464L}};
  static union U3 g_2324 = {0};/* VOLATILE GLOBAL g_2324 */
  static int8_t g_2341 = (-1L);
  static int8_t *g_2353 = &g_5;
  static uint64_t g_2422 = 0UL;
  static union U3 g_2429 = {0};/* VOLATILE GLOBAL g_2429 */
  static const union U6 g_2480 = {0};/* VOLATILE GLOBAL g_2480 */
  static union U3 g_2505 = {0};/* VOLATILE GLOBAL g_2505 */
  static uint16_t g_2506 = 0xB161L;
  static int8_t g_2540 = 9L;
  static uint64_t g_2541 = 0x47220481F4C2174BLL;
  static uint32_t *g_2594 = &g_1819;
  static uint32_t **g_2593 = &g_2594;
  static int32_t g_2603 = 0x896DAA5CL;
  static int16_t g_2604 = (-1L);
  static uint32_t g_2605 = 0x52B68935L;
  static union U5 **g_2614 = &g_1056;
  static union U5 **g_2616 = &g_1056;
  static union U5 * volatile *g_2619 = &g_1056;
  static union U5 * volatile * volatile * volatile g_2618 = &g_2619;/* VOLATILE GLOBAL g_2618 */
  static union U5 * volatile * volatile * const  volatile *g_2617 = &g_2618;
  static int32_t g_2653 = 0x9DB86E1AL;
  static struct S2 **g_2662 = &g_891;
  static struct S2 ***g_2661 = &g_2662;
  static union U3 g_2674[10][5][2] = {{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}},{{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}},{{0},{0}}}};
  static union U3 g_2703 = {0};/* VOLATILE GLOBAL g_2703 */
  static union U3 g_2705 = {0};/* VOLATILE GLOBAL g_2705 */
  static struct S2 g_2707[9] = {{0L,0x78425B3BL,{119,59,9,153,12756}},{0L,0x78425B3BL,{119,59,9,153,12756}},{0xF873BFC2L,0x8D43D43BL,{1561,26,10,219,3662}},{0L,0x78425B3BL,{119,59,9,153,12756}},{0L,0x78425B3BL,{119,59,9,153,12756}},{0xF873BFC2L,0x8D43D43BL,{1561,26,10,219,3662}},{0L,0x78425B3BL,{119,59,9,153,12756}},{0L,0x78425B3BL,{119,59,9,153,12756}},{0xF873BFC2L,0x8D43D43BL,{1561,26,10,219,3662}}};
  static union U5 g_2720[7] = {{-1L},{-1L},{-1L},{-1L},{-1L},{-1L},{-1L}};
  static union U5 g_2721[3] = {{0x77ABA33FL},{0x77ABA33FL},{0x77ABA33FL}};
  static union U5 g_2722 = {0xD52FDE45L};/* VOLATILE GLOBAL g_2722 */
  static union U5 g_2723 = {-3L};/* VOLATILE GLOBAL g_2723 */
  static union U5 g_2724 = {-1L};/* VOLATILE GLOBAL g_2724 */
  static union U5 g_2725 = {0x3BF65714L};/* VOLATILE GLOBAL g_2725 */
  static union U5 g_2726 = {-1L};/* VOLATILE GLOBAL g_2726 */
  static union U5 g_2727 = {0x55E60B62L};/* VOLATILE GLOBAL g_2727 */
  static union U5 g_2728 = {-1L};/* VOLATILE GLOBAL g_2728 */
  static union U5 g_2729 = {0xE8F391E4L};/* VOLATILE GLOBAL g_2729 */
  static union U5 g_2730 = {0x5AC9B3B9L};/* VOLATILE GLOBAL g_2730 */
  static union U5 g_2731[1] = {{0x46823EA3L}};
  static union U5 g_2732 = {0xA82645E7L};/* VOLATILE GLOBAL g_2732 */
  static union U5 g_2733 = {1L};/* VOLATILE GLOBAL g_2733 */
  static union U5 g_2734 = {1L};/* VOLATILE GLOBAL g_2734 */
  static union U5 g_2735 = {0L};/* VOLATILE GLOBAL g_2735 */
  static union U5 g_2736 = {0xD94C67DAL};/* VOLATILE GLOBAL g_2736 */
  static union U5 g_2737 = {0xD91283E4L};/* VOLATILE GLOBAL g_2737 */
  static union U5 g_2738 = {-1L};/* VOLATILE GLOBAL g_2738 */
  static union U5 g_2739 = {0x7AE72A8EL};/* VOLATILE GLOBAL g_2739 */
  static union U5 g_2740 = {0x8A8E4345L};/* VOLATILE GLOBAL g_2740 */
  static union U5 g_2741[7][4] = {{{0xF794A491L},{0xF794A491L},{0xF794A491L},{0xF794A491L}},{{0xF794A491L},{0xF794A491L},{0xF794A491L},{0xF794A491L}},{{0xF794A491L},{0xF794A491L},{0xF794A491L},{0xF794A491L}},{{0xF794A491L},{0xF794A491L},{0xF794A491L},{0xF794A491L}},{{0xF794A491L},{0xF794A491L},{0xF794A491L},{0xF794A491L}},{{0xF794A491L},{0xF794A491L},{0xF794A491L},{0xF794A491L}},{{0xF794A491L},{0xF794A491L},{0xF794A491L},{0xF794A491L}}};
  static union U5 g_2742[3][7] = {{{1L},{-3L},{-1L},{-1L},{-3L},{1L},{-3L}},{{0L},{0xF909B0A8L},{0xF909B0A8L},{0L},{1L},{0L},{0xF909B0A8L}},{{6L},{6L},{1L},{-1L},{1L},{6L},{6L}}};
  static union U5 g_2743 = {0xDE7D833DL};/* VOLATILE GLOBAL g_2743 */
  static union U5 g_2744 = {0xB8CA083EL};/* VOLATILE GLOBAL g_2744 */
  static union U5 g_2745[4][4][2] = {{{{2L},{2L}},{{-6L},{0L}},{{0x9C9B44A8L},{-8L}},{{0x00DBF14EL},{0x80865B02L}}},{{{0xEE17564EL},{0x00DBF14EL}},{{-3L},{4L}},{{-3L},{0x00DBF14EL}},{{0xEE17564EL},{0x80865B02L}}},{{{0x00DBF14EL},{-8L}},{{0x9C9B44A8L},{0L}},{{-6L},{2L}},{{2L},{0xEE17564EL}}},{{{2L},{0xEE17564EL}},{{2L},{2L}},{{-6L},{0L}},{{0x9C9B44A8L},{-8L}}}};
  static union U5 g_2746[1][1][6] = {{{{0xD843917CL},{-1L},{0xD843917CL},{0xD843917CL},{-1L},{0xD843917CL}}}};
  static union U5 g_2747 = {0xCAD90D09L};/* VOLATILE GLOBAL g_2747 */
  static union U5 g_2748[5][10] = {{{1L},{0xDFDA8E26L},{5L},{0xD0F51D9DL},{0xD0F51D9DL},{5L},{0xDFDA8E26L},{1L},{0xDFDA8E26L},{5L}},{{0L},{-1L},{0xD0F51D9DL},{-1L},{0L},{5L},{5L},{0L},{-1L},{0xD0F51D9DL}},{{1L},{1L},{0xD0F51D9DL},{0L},{5L},{0L},{0xD0F51D9DL},{1L},{1L},{0xD0F51D9DL}},{{-1L},{0L},{5L},{5L},{0L},{-1L},{0xD0F51D9DL},{-1L},{0L},{5L}},{{0xDFDA8E26L},{1L},{0xDFDA8E26L},{5L},{0xD0F51D9DL},{0xD0F51D9DL},{5L},{0xDFDA8E26L},{1L},{0xDFDA8E26L}}};
  static union U5 g_2749 = {0xF4A4FE3FL};/* VOLATILE GLOBAL g_2749 */
  static int32_t g_2783 = 0x74477D71L;
  static int32_t g_2794 = 0xAE64C0EDL;
  static uint8_t g_2796 = 255UL;
  static struct S0 g_2824 = {1644,265,10,220,10226};/* VOLATILE GLOBAL g_2824 */
  static struct S0 g_2825 = {1892,299,15,169,7145};/* VOLATILE GLOBAL g_2825 */
  static struct S0 g_2826 = {1025,397,12,349,10417};/* VOLATILE GLOBAL g_2826 */
  static struct S0 g_2827[4] = {{1548,6,20,229,12151},{1548,6,20,229,12151},{1548,6,20,229,12151},{1548,6,20,229,12151}};
  static struct S2 g_2953 = {0L,0xA12C240CL,{983,187,20,353,6185}};/* VOLATILE GLOBAL g_2953 */
  static struct S2 g_2954[8][7] = {{{-1L,3UL,{226,129,21,27,13479}},{0x99D5E183L,0x1D259343L,{345,287,10,71,15940}},{-1L,3UL,{226,129,21,27,13479}},{1L,0xC986ED9DL,{1720,381,9,263,15647}},{-1L,4294967292UL,{1544,320,4,46,16319}},{1L,0xC986ED9DL,{1720,381,9,263,15647}},{-1L,3UL,{226,129,21,27,13479}}},{{7L,7UL,{1852,435,7,2,5272}},{0x986D460AL,0xB19DD57DL,{119,154,5,14,11109}},{0xB060251FL,0x1EFF7320L,{407,28,11,199,8524}},{7L,7UL,{1852,435,7,2,5272}},{7L,7UL,{1852,435,7,2,5272}},{0xB060251FL,0x1EFF7320L,{407,28,11,199,8524}},{0x986D460AL,0xB19DD57DL,{119,154,5,14,11109}}},{{1L,0xED207814L,{1008,406,14,158,1778}},{1L,0xC986ED9DL,{1720,381,9,263,15647}},{0xFEA52843L,0x2C901CCDL,{440,423,0,333,9609}},{0x99D5E183L,0x1D259343L,{345,287,10,71,15940}},{0xFEA52843L,0x2C901CCDL,{440,423,0,333,9609}},{1L,0xC986ED9DL,{1720,381,9,263,15647}},{1L,0xED207814L,{1008,406,14,158,1778}}},{{1L,1UL,{1098,123,17,94,7798}},{7L,7UL,{1852,435,7,2,5272}},{0x2A000E44L,0x0659C4BCL,{1919,688,11,230,288}},{0x2A000E44L,0x0659C4BCL,{1919,688,11,230,288}},{7L,7UL,{1852,435,7,2,5272}},{1L,1UL,{1098,123,17,94,7798}},{0x2A000E44L,0x0659C4BCL,{1919,688,11,230,288}}},{{-1L,4294967292UL,{1544,320,4,46,16319}},{0x99D5E183L,0x1D259343L,{345,287,10,71,15940}},{-1L,0x44B4A44AL,{1176,143,16,132,10567}},{0x99D5E183L,0x1D259343L,{345,287,10,71,15940}},{-1L,4294967292UL,{1544,320,4,46,16319}},{0x7B83316EL,0UL,{1634,57,12,96,14541}},{-1L,4294967292UL,{1544,320,4,46,16319}}},{{7L,7UL,{1852,435,7,2,5272}},{0x2A000E44L,0x0659C4BCL,{1919,688,11,230,288}},{0x2A000E44L,0x0659C4BCL,{1919,688,11,230,288}},{7L,7UL,{1852,435,7,2,5272}},{1L,1UL,{1098,123,17,94,7798}},{0x2A000E44L,0x0659C4BCL,{1919,688,11,230,288}},{0x986D460AL,0xB19DD57DL,{119,154,5,14,11109}}},{{0xFEA52843L,0x2C901CCDL,{440,423,0,333,9609}},{0x99D5E183L,0x1D259343L,{345,287,10,71,15940}},{0xFEA52843L,0x2C901CCDL,{440,423,0,333,9609}},{1L,0xC986ED9DL,{1720,381,9,263,15647}},{1L,0xED207814L,{1008,406,14,158,1778}},{1L,0xC986ED9DL,{1720,381,9,263,15647}},{0xFEA52843L,0x2C901CCDL,{440,423,0,333,9609}}},{{7L,7UL,{1852,435,7,2,5272}},{7L,7UL,{1852,435,7,2,5272}},{0xB060251FL,0x1EFF7320L,{407,28,11,199,8524}},{0x986D460AL,0xB19DD57DL,{119,154,5,14,11109}},{7L,7UL,{1852,435,7,2,5272}},{-8L,0xC44B2EB3L,{88,723,12,269,7294}},{0x986D460AL,0xB19DD57DL,{119,154,5,14,11109}}}};
  static struct S2 g_2955 = {0x6B62B178L,6UL,{609,693,9,25,12476}};/* VOLATILE GLOBAL g_2955 */
  static union U4 g_2969 = {0};/* VOLATILE GLOBAL g_2969 */
  static uint32_t *g_2988[5][4][6] = {{{&g_2021,&g_1798,(void*)0,&g_2021,(void*)0,&g_1798},{&g_171,&g_171,&g_171,&g_1798,&g_2021,&g_171},{(void*)0,&g_314,&g_314,&g_314,&g_314,&g_1798},{&g_1798,(void*)0,&g_171,&g_171,&g_2021,(void*)0}},{{&g_2021,(void*)0,&g_171,&g_2021,(void*)0,&g_2021},{&g_1798,&g_171,&g_1798,(void*)0,&g_1798,&g_171},{&g_171,&g_1798,&g_1798,&g_171,&g_171,(void*)0},{&g_314,&g_314,&g_1798,&g_171,&g_2021,(void*)0}},{{&g_171,&g_171,(void*)0,(void*)0,&g_2021,&g_1798},{&g_1798,(void*)0,&g_171,&g_2021,&g_1798,(void*)0},{&g_2021,&g_171,(void*)0,&g_171,&g_1798,(void*)0},{&g_1798,&g_2021,(void*)0,&g_314,&g_171,&g_1798}},{{&g_1798,&g_171,&g_1798,(void*)0,&g_171,&g_171},{&g_2021,&g_1798,&g_2021,&g_314,&g_314,&g_2021},{&g_171,&g_171,&g_2021,(void*)0,&g_1798,(void*)0},{&g_171,&g_2021,&g_314,(void*)0,(void*)0,&g_2021}},{{&g_1798,&g_171,&g_314,&g_171,&g_171,(void*)0},{&g_2021,&g_171,&g_2021,&g_2021,&g_314,&g_2021},{&g_2021,&g_314,&g_2021,&g_1798,&g_314,&g_171},{(void*)0,&g_1798,&g_1798,&g_171,&g_2021,&g_1798}}};
  static uint32_t **g_2987 = &g_2988[1][0][0];
  static uint32_t ***g_2986 = &g_2987;
  static union U6 g_3037 = {0};/* VOLATILE GLOBAL g_3037 */
  static union U6 g_3040 = {0};/* VOLATILE GLOBAL g_3040 */
  static union U6 *g_3039 = &g_3040;
  static uint8_t *g_3140 = &g_2725.f3;
  static uint8_t **g_3139 = &g_3140;
  static union U4 g_3145[7] = {{0},{0},{0},{0},{0},{0},{0}};
  static union U4 g_3147[10][10][1] = {{{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}}},{{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}}},{{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}}},{{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}}},{{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}}},{{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}}},{{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}}},{{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}}},{{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}}},{{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}},{{0}}}};
  static int16_t g_3169 = 0x9339L;
  static const struct S2 g_3193 = {0xDF39C667L,0UL,{1931,655,7,98,1547}};/* VOLATILE GLOBAL g_3193 */
  static const union U4 **g_3195 = (void*)0;
  static union U4 **g_3199 = (void*)0;
  static int32_t g_3216 = (-6L);
  static int8_t g_3255 = 0x14L;
  static union U4 g_3280 = {0};/* VOLATILE GLOBAL g_3280 */
  static struct S0 ** volatile * volatile *g_3296 = (void*)0;
  static union U6 g_3407 = {0};/* VOLATILE GLOBAL g_3407 */
  static union U5 g_3462 = {0L};/* VOLATILE GLOBAL g_3462 */
  static union U5 g_3463 = {0x0629189CL};/* VOLATILE GLOBAL g_3463 */
  static union U5 g_3464 = {9L};/* VOLATILE GLOBAL g_3464 */
  static struct S0 g_3499 = {321,340,4,160,15901};/* VOLATILE GLOBAL g_3499 */
  static int32_t g_3549 = (-8L);
  static uint32_t g_3659 = 4294967295UL;
  static uint32_t * const *g_3676 = &g_2988[1][0][0];
  static uint32_t * const **g_3675 = &g_3676;
  static uint32_t * const ***g_3674 = &g_3675;
  static struct S0 g_3786 = {772,719,2,25,4708};/* VOLATILE GLOBAL g_3786 */
  static union U3 g_3790 = {0};/* VOLATILE GLOBAL g_3790 */
  static struct S2 * volatile *g_3839 = (void*)0;
  static struct S2 * volatile **g_3838 = &g_3839;
  static struct S2 * volatile ** const *g_3837[1] = {&g_3838};
  static struct S2 * volatile ** const * volatile *g_3836[9][1][8] = {{{&g_3837[0],(void*)0,&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0]}},{{&g_3837[0],(void*)0,&g_3837[0],&g_3837[0],&g_3837[0],(void*)0,&g_3837[0],&g_3837[0]}},{{&g_3837[0],(void*)0,&g_3837[0],(void*)0,&g_3837[0],(void*)0,&g_3837[0],&g_3837[0]}},{{&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0]}},{{&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0]}},{{&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],(void*)0,&g_3837[0]}},{{&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0]}},{{&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0],&g_3837[0]}},{{&g_3837[0],&g_3837[0],&g_3837[0],(void*)0,(void*)0,&g_3837[0],&g_3837[0],&g_3837[0]}}};
  static int8_t * volatile * volatile * const g_3841 = &g_109;
  static int8_t * volatile * volatile * const *g_3840 = &g_3841;
  static uint32_t ***g_3860 = &g_2593;
  static union U3 g_3896 = {0};/* VOLATILE GLOBAL g_3896 */
  static int16_t g_3912 = 0xC40EL;
  static union U3 g_3916 = {0};/* VOLATILE GLOBAL g_3916 */
  
  
  /* --- FORWARD DECLARATIONS --- */
  static union U3  func_1(void);
  static int64_t  func_6(int16_t  p_7, uint32_t  p_8, uint16_t  p_9, uint16_t  p_10, const uint16_t  p_11);
  static uint16_t  func_13(int64_t  p_14, int8_t * p_15, int8_t * const  p_16, int32_t  p_17);
  static int64_t  func_18(uint16_t  p_19, const int8_t * p_20, uint8_t  p_21, int8_t  p_22, int32_t  p_23);
  static int64_t  func_35(int64_t  p_36, int8_t * p_37);
  static int8_t * func_38(const int8_t  p_39, uint32_t  p_40, struct S1  p_41, int8_t * p_42);
  static int64_t  func_43(int8_t * p_44, int8_t * p_45, int8_t * const  p_46, int8_t * const  p_47, const int16_t  p_48);
  static int8_t * func_50(int64_t  p_51, uint16_t  p_52, int8_t * p_53, uint16_t  p_54);
  static int32_t  func_56(int8_t  p_57, const int8_t * p_58, uint32_t  p_59, int8_t * p_60);
  static int8_t * func_65(int8_t * p_66, int64_t  p_67, uint32_t  p_68);
  
  
  /* --- FUNCTIONS --- */
  /* ------------------------------------------ */
  /* 
   * reads : g_4 g_5 g_63 g_72 g_106 g_109 g_102 g_142 g_140 g_119 g_171 g_183 g_232 g_170 g_131 g_274 g_283 g_271 g_270 g_314 g_273 g_168 g_367 g_269 g_406 g_412 g_456 g_358 g_473 g_484 g_356 g_810 g_833 g_877 g_831 g_639 g_890.f2.f3 g_892.f2.f1 g_891 g_963 g_890.f2.f2 g_672 g_769 g_770 g_890.f2.f1 g_1042 g_996.f3 g_1055 g_1056 g_1077 g_1079 g_1060.f0 g_832 g_553 g_771 g_942.f2.f1 g_942.f2.f2 g_1200 g_1225 g_1259 g_1035 g_1057.f3 g_1497 g_1003.f1 g_1104.f0 g_1588 g_1587 g_585 g_2021 g_2057 g_1054 g_485 g_2087 g_1692.f3 g_1057.f0 g_1224 g_2986 g_2603 g_2729.f0 g_2720.f3 g_1798 g_3195 g_1001.f2 g_2748.f3 g_2593 g_2594 g_1819 g_2540 g_3139 g_3140 g_2725.f3 g_2726.f0 g_1001.f1 g_2738.f0 g_3296 g_2730.f0 g_1595 g_2341 g_2736.f0 g_2274.f2.f3 g_2721.f0 g_2662 g_2783 g_2796 g_2955.f0 g_2740.f0 g_2353 g_2748.f0 g_2724.f3 g_2506 g_2291 g_2723.f0 g_2616 g_2747.f3 g_2732.f3 g_1674.f2 g_2794 g_2661 g_3216 g_1817 g_2744.f0 g_1979 g_2728.f0 g_2727.f3 g_3499.f1 g_2742.f0 g_1633.f0 g_2953.f0 g_3836 g_3840 g_2746.f0 g_2955.f2.f3 g_3912 g_284 g_3916
   * writes: g_72 g_102 g_109 g_119 g_142 g_131 g_168 g_171 g_106.f1 g_232 g_63 g_274 g_314 g_140 g_351 g_352 g_356 g_358 g_406 g_456 g_484 g_413.f3 g_106.f0 g_810 g_833 g_485 g_106 g_585 g_271 g_891 g_895 g_942.f0 g_639 g_963 g_473 g_270 g_1035 g_1041 g_1003.f2 g_1054 g_1056 g_1079 g_170 g_1060.f0 g_412 g_1110 g_553 g_273 g_1077.f1 g_1055 g_1225 g_1057.f0 g_1259 g_5 g_1077 g_672 g_1497 g_832 g_269 g_890.f0 g_1588 g_1594 g_1601 g_1603 g_1587 g_1104.f0 g_2005 g_2021 g_2057 g_1108.f3 g_2087 g_1817 g_1692.f3 g_2729.f0 g_2603 g_1798 g_2604 g_3195 g_3199 g_2726.f0 g_2725.f3 g_2724.f0 g_2738.f0 g_2730.f0 g_1979 g_2783 g_2796 g_2955.f0 g_2740.f0 g_892.f0 g_2748.f0 g_2540 g_2506 g_2291 g_2723.f0 g_2743.f0 g_2661 g_2794 g_2341 g_1819 g_2744.f0 g_2541 g_3216 g_1633.f0 g_2953.f0 g_3464.f3 g_3860 g_2720.f0 g_2745.f0
   */
  static union U3  func_1(void)
  { /* block id: 0 */
      int16_t l_12 = 0xBDD7L;
      const int8_t *l_24 = &g_5;
      int64_t *l_3260 = &g_269;
      int8_t * const l_3261 = &g_2341;
      const uint8_t l_3624 = 0x3CL;
      if (((safe_sub_func_uint16_t_u_u((((void*)0 == g_4[0]) <= ((*l_3260) = func_6(l_12, l_12, func_13(((*l_3260) = func_18(l_12, l_24, (safe_lshift_func_int8_t_s_s((safe_add_func_uint64_t_u_u(0x8C84B7B831966C47LL, 0xD44F4CC511EC1FCCLL)), ((safe_div_func_uint64_t_u_u(0xE2718B9628EAF608LL, g_5)) == g_5))), l_12, g_5)), &g_2540, l_3261, g_2748[1][7].f3), l_12, l_3624))), 0L)) ^ l_12))
      { /* block id: 1889 */
          return (*g_283);
      }
      else
      { /* block id: 1891 */
          union U4 ***l_3913 = &g_3199;
          int16_t *l_3914 = &g_119;
          int32_t l_3915 = 2L;
          (*l_3913) = (void*)0;
          l_3915 &= (g_890.f2.f1 && ((*l_3914) = (-1L)));
          return g_3916;
      }
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_168 g_2291 g_3499.f1 g_2742.f0 g_1633.f0 g_3836 g_3840 g_270 g_2593 g_2594 g_1819 g_1042 g_358 g_2721.f0 g_3139 g_3140 g_2746.f0 g_2955.f2.f3 g_2725.f3 g_639 g_3912 g_102 g_2953.f0
   * writes: g_2723.f0 g_2724.f0 g_2541 g_3216 g_168 g_102 g_1633.f0 g_2953.f0 g_270 g_358 g_2725.f3 g_3464.f3 g_3860 g_142 g_2720.f0 g_2745.f0 g_2729.f0
   */
  static int64_t  func_6(int16_t  p_7, uint32_t  p_8, uint16_t  p_9, uint16_t  p_10, const uint16_t  p_11)
  { /* block id: 1752 */
      int32_t *l_3625 = (void*)0;
      int32_t *l_3626[1];
      struct S1 l_3628 = {127,-20};
      uint32_t **l_3655[9] = {&g_2594,&g_2594,&g_2594,&g_2594,&g_2594,&g_2594,&g_2594,&g_2594,&g_2594};
      uint32_t l_3663 = 0UL;
      int16_t *l_3686 = &g_271;
      int8_t l_3697[2];
      int64_t l_3755 = (-1L);
      int32_t l_3879 = (-3L);
      uint32_t l_3890 = 0xB7561583L;
      int i;
      for (i = 0; i < 1; i++)
          l_3626[i] = &g_1692.f0;
      for (i = 0; i < 2; i++)
          l_3697[i] = 0x5DL;
      if ((g_2723.f0 = p_11))
      { /* block id: 1754 */
          struct S1 l_3627 = {67,-60};
          int32_t *l_3631[3][5][6] = {{{&g_3463.f0,&g_2743.f0,&g_2743.f0,&g_3463.f0,&g_2743.f0,&g_2743.f0},{&g_3463.f0,&g_2743.f0,&g_2743.f0,&g_3463.f0,&g_2743.f0,&g_2743.f0},{&g_3463.f0,&g_2743.f0,&g_2743.f0,&g_3463.f0,&g_2743.f0,&g_2743.f0},{&g_3463.f0,&g_2743.f0,&g_2743.f0,&g_3463.f0,&g_2743.f0,&g_2743.f0},{&g_3463.f0,&g_2743.f0,&g_2743.f0,&g_3463.f0,&g_2743.f0,&g_2743.f0}},{{&g_3463.f0,&g_2743.f0,&g_2743.f0,&g_3463.f0,&g_2743.f0,&g_2743.f0},{&g_3463.f0,&g_2743.f0,&g_2743.f0,&g_3463.f0,&g_2743.f0,&g_2743.f0},{&g_3463.f0,&g_2743.f0,&g_2743.f0,&g_3463.f0,&g_2743.f0,&g_2743.f0},{&g_3463.f0,&g_2743.f0,&g_2743.f0,&g_3463.f0,&g_2743.f0,&g_2743.f0},{&g_3463.f0,&g_2743.f0,&g_2743.f0,&g_3463.f0,&g_2743.f0,&g_2743.f0}},{{&g_3463.f0,&g_2743.f0,&g_2743.f0,&g_3463.f0,&g_2743.f0,&g_2743.f0},{&g_3463.f0,&g_2743.f0,&g_2743.f0,&g_3463.f0,&g_2743.f0,&g_2743.f0},{&g_3463.f0,&g_2743.f0,&g_2743.f0,&g_3463.f0,&g_2743.f0,&g_2743.f0},{&g_3463.f0,&g_2743.f0,&g_2743.f0,&g_3463.f0,&g_2743.f0,&g_2743.f0},{&g_3463.f0,&g_2743.f0,&g_2743.f0,&g_2743.f0,&g_1633.f0,&g_1633.f0}}};
          int64_t **l_3682 = (void*)0;
          int64_t ***l_3681[6][3][3] = {{{&l_3682,&l_3682,&l_3682},{(void*)0,&l_3682,&l_3682},{&l_3682,&l_3682,&l_3682}},{{&l_3682,&l_3682,&l_3682},{&l_3682,&l_3682,&l_3682},{(void*)0,&l_3682,&l_3682}},{{&l_3682,&l_3682,&l_3682},{&l_3682,&l_3682,&l_3682},{&l_3682,&l_3682,&l_3682}},{{(void*)0,&l_3682,&l_3682},{&l_3682,&l_3682,&l_3682},{&l_3682,&l_3682,&l_3682}},{{&l_3682,&l_3682,&l_3682},{(void*)0,&l_3682,&l_3682},{&l_3682,&l_3682,&l_3682}},{{&l_3682,&l_3682,&l_3682},{&l_3682,&l_3682,&l_3682},{(void*)0,&l_3682,&l_3682}}};
          const int8_t *l_3694 = &g_273[0][0][3];
          const int8_t **l_3693[7][2][6] = {{{&l_3694,&l_3694,(void*)0,&l_3694,&l_3694,&l_3694},{(void*)0,&l_3694,&l_3694,&l_3694,&l_3694,&l_3694}},{{&l_3694,&l_3694,(void*)0,(void*)0,&l_3694,&l_3694},{&l_3694,(void*)0,&l_3694,&l_3694,&l_3694,&l_3694}},{{(void*)0,&l_3694,&l_3694,&l_3694,&l_3694,&l_3694},{(void*)0,&l_3694,&l_3694,&l_3694,&l_3694,&l_3694}},{{&l_3694,&l_3694,&l_3694,(void*)0,&l_3694,&l_3694},{&l_3694,(void*)0,&l_3694,&l_3694,&l_3694,&l_3694}},{{(void*)0,(void*)0,&l_3694,&l_3694,&l_3694,&l_3694},{&l_3694,&l_3694,(void*)0,&l_3694,&l_3694,(void*)0}},{{&l_3694,&l_3694,&l_3694,&l_3694,&l_3694,(void*)0},{&l_3694,&l_3694,&l_3694,(void*)0,&l_3694,(void*)0}},{{(void*)0,(void*)0,(void*)0,&l_3694,&l_3694,&l_3694},{&l_3694,&l_3694,&l_3694,&l_3694,&l_3694,&l_3694}}};
          const int8_t *** const l_3692 = &l_3693[3][0][3];
          struct S2 ****l_3729 = &g_2661;
          union U3 *l_3789[8];
          int i, j, k;
          for (i = 0; i < 8; i++)
              l_3789[i] = &g_3790;
          l_3628 = l_3627;
          l_3627.f1 ^= (g_2724.f0 = p_11);
          for (g_2541 = 0; (g_2541 == 2); g_2541 = safe_add_func_uint16_t_u_u(g_2541, 2))
          { /* block id: 1760 */
              int32_t **l_3632 = &l_3626[0];
              uint16_t l_3662 = 0x87CBL;
              uint32_t ****l_3673 = (void*)0;
              const uint32_t *l_3683 = &l_3663;
              int32_t l_3701 = 4L;
              uint32_t l_3705 = 18446744073709551606UL;
              int32_t l_3721[6] = {(-10L),0xEF8A6C40L,0xEF8A6C40L,(-10L),0xEF8A6C40L,0xEF8A6C40L};
              int8_t **l_3761 = &g_2353;
              int8_t ***l_3760 = &l_3761;
              int i;
              (*l_3632) = l_3631[1][4][1];
              for (g_3216 = 0; (g_3216 > 9); g_3216 = safe_add_func_uint32_t_u_u(g_3216, 9))
              { /* block id: 1764 */
                  int32_t *l_3664 = &g_2745[3][3][1].f0;
                  int16_t l_3665 = 0x526DL;
                  int8_t * const *l_3691[4][9][1] = {{{(void*)0},{&g_877},{&g_877},{&g_877},{&g_877},{(void*)0},{&g_877},{&g_877},{(void*)0}},{{&g_2353},{&g_877},{&g_2353},{&g_877},{&g_2353},{(void*)0},{&g_877},{&g_877},{(void*)0}},{{&g_877},{&g_877},{&g_877},{&g_877},{(void*)0},{&g_877},{&g_877},{(void*)0},{&g_2353}},{{&g_877},{&g_2353},{&g_877},{&g_2353},{(void*)0},{&g_877},{&g_877},{(void*)0},{&g_877}}};
                  int8_t * const **l_3690 = &l_3691[1][7][0];
                  int64_t l_3695[3];
                  int32_t l_3704 = 0x6F93D2A4L;
                  int32_t l_3725 = 0x9105DF50L;
                  struct S2 ** const l_3756 = &g_891;
                  struct S1 l_3791 = {113,23};
                  int i, j, k;
                  for (i = 0; i < 3; i++)
                      l_3695[i] = 0xC184A0174619547DLL;
                  if (p_7)
                      break;
              }
          }
      }
      else
      { /* block id: 1835 */
          int32_t l_3792 = (-8L);
          int32_t l_3797 = 0L;
          int32_t l_3798 = 0x7BE87A31L;
          int32_t l_3805 = 0x10DC22C3L;
          int32_t l_3807[9] = {0L,0L,0L,0L,0L,0L,0L,0L,0L};
          int8_t l_3810 = 0L;
          struct S1 l_3819 = {131,10};
          int8_t **l_3827 = &g_2353;
          int8_t ***l_3826 = &l_3827;
          int8_t ****l_3825 = &l_3826;
          struct S1 l_3866 = {92,42};
          uint8_t *l_3902 = &g_2745[3][3][1].f3;
          int i;
  lbl_3897:
          for (g_168 = 0; (g_168 <= 6); g_168 += 1)
          { /* block id: 1838 */
              int32_t l_3799 = (-7L);
              int32_t l_3804 = 0L;
              int32_t l_3806 = 0x1AA0321AL;
              int32_t l_3808 = (-8L);
              int32_t l_3809[9][10][2] = {{{0xD83AF8B4L,6L},{0x9A343493L,1L},{0xF85A1EDEL,(-3L)},{0xD83AF8B4L,0x92BA740DL},{(-3L),0xCFE23F93L},{(-1L),0xD101C8E1L},{0L,0xFCCE59BBL},{0xB52B21BDL,0xD83AF8B4L},{0x95BDE3C4L,0xD83AF8B4L},{0xB52B21BDL,0xFCCE59BBL}},{{0L,0xD101C8E1L},{(-1L),0xCFE23F93L},{(-3L),0x92BA740DL},{0xD83AF8B4L,(-3L)},{0xF85A1EDEL,1L},{0x9A343493L,6L},{0xD83AF8B4L,0x4AFDE824L},{6L,0xCFE23F93L},{(-2L),7L},{0L,0xB52B21BDL}},{{0xFCCE59BBL,0xD83AF8B4L},{0xAF8C2315L,0x1D9046BCL},{0xB52B21BDL,0xB52B21BDL},{0xA0F675ADL,0xD101C8E1L},{(-2L),(-1L)},{(-3L),0x4AFDE824L},{0x1D9046BCL,(-3L)},{0x9A343493L,9L},{0x9A343493L,(-3L)},{0x1D9046BCL,0x4AFDE824L}},{{(-3L),(-1L)},{(-2L),0xD101C8E1L},{0xA0F675ADL,0xB52B21BDL},{0xB52B21BDL,0x1D9046BCL},{0xAF8C2315L,0xD83AF8B4L},{0xFCCE59BBL,0xB52B21BDL},{0L,7L},{(-2L),0xCFE23F93L},{6L,0x4AFDE824L},{0xD83AF8B4L,6L}},{{0x9A343493L,1L},{0xF85A1EDEL,(-3L)},{0xD83AF8B4L,0x92BA740DL},{(-3L),0xCFE23F93L},{(-1L),0xD101C8E1L},{0L,0xFCCE59BBL},{0xB52B21BDL,0xD83AF8B4L},{0x95BDE3C4L,0xD83AF8B4L},{0xB52B21BDL,0xFCCE59BBL},{0L,0xD101C8E1L}},{{(-1L),0xCFE23F93L},{(-3L),0x92BA740DL},{0xD83AF8B4L,(-3L)},{0xF85A1EDEL,1L},{0x9A343493L,6L},{0xD83AF8B4L,0x4AFDE824L},{6L,0xCFE23F93L},{(-2L),7L},{0L,0xB52B21BDL},{0xFCCE59BBL,0xD83AF8B4L}},{{0xAF8C2315L,0x1D9046BCL},{0xB52B21BDL,0xB52B21BDL},{0xA0F675ADL,0xD101C8E1L},{(-2L),(-1L)},{(-3L),0x4AFDE824L},{0x1D9046BCL,(-3L)},{0x9A343493L,9L},{0x9A343493L,(-3L)},{0x1D9046BCL,0x4AFDE824L},{(-3L),(-1L)}},{{(-2L),0xD101C8E1L},{0xA0F675ADL,0xB52B21BDL},{0xB52B21BDL,0x1D9046BCL},{0xAF8C2315L,0xD83AF8B4L},{0xFCCE59BBL,0xB52B21BDL},{0L,7L},{(-2L),0xCFE23F93L},{6L,0x4AFDE824L},{0xD83AF8B4L,6L},{0x9A343493L,1L}},{{0xF85A1EDEL,(-3L)},{0xD83AF8B4L,0x92BA740DL},{(-3L),0xCFE23F93L},{(-1L),0xD101C8E1L},{0L,0xFCCE59BBL},{0xB52B21BDL,0xD83AF8B4L},{0x95BDE3C4L,0xD83AF8B4L},{0xB52B21BDL,0xFCCE59BBL},{0L,0xD101C8E1L},{(-1L),0xCFE23F93L}}};
              uint8_t l_3816 = 1UL;
              uint32_t ***l_3857[3][10] = {{&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7]},{&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7]},{&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7],&l_3655[7]}};
              struct S1 l_3864[5] = {{159,43},{159,43},{159,43},{159,43},{159,43}};
              int i, j, k;
              for (g_102 = 0; (g_102 <= 6); g_102 += 1)
              { /* block id: 1841 */
                  int32_t l_3802 = 0xE0D7A5FFL;
                  int32_t l_3812 = 3L;
                  int32_t l_3813 = (-1L);
                  int32_t l_3814 = 8L;
                  int32_t l_3815 = 0x35565F60L;
                  const uint64_t *l_3824 = &g_1225;
                  struct S1 l_3833[5] = {{147,36},{147,36},{147,36},{147,36},{147,36}};
                  int i, j;
                  if (g_2291[(g_168 + 2)][g_168])
                  { /* block id: 1842 */
                      int16_t l_3793[8];
                      int32_t l_3794 = 0x229C9DEAL;
                      int32_t l_3795 = 0xE84C32B8L;
                      int32_t l_3796 = 0xB73C578CL;
                      int32_t l_3800 = 8L;
                      int32_t l_3801 = 0x67405416L;
                      int32_t l_3803 = (-1L);
                      int32_t l_3811[7][5][5] = {{{9L,0x7DE773B7L,(-9L),0x645517AFL,0L},{0x06AD6215L,0x73966BDDL,7L,0x68DC70FDL,5L},{0x7EA5D251L,0L,0x4BC5E17EL,(-10L),(-1L)},{5L,0L,(-1L),(-1L),0L},{0xEB75317AL,(-3L),0xE68C23D4L,(-1L),0x9F7EB629L}},{{0x3402BFC1L,0x5994EAC1L,1L,0x0A98E9ADL,0xA0D18191L},{0xB4ED2666L,0xEB75317AL,(-9L),0xB4ED2666L,0L},{0x3402BFC1L,(-1L),(-6L),0xA7263E39L,0xC6035041L},{0xEB75317AL,0x40CC266DL,0xE7D5BA88L,0x7DE773B7L,0xB61C3A6DL},{5L,0L,0xC6035041L,9L,0xE48E7C1FL}},{{0x7EA5D251L,0x41D7EEF5L,0L,0L,(-9L)},{0x06AD6215L,0x0A98E9ADL,1L,0x0A98E9ADL,0x06AD6215L},{9L,(-10L),0x9F7EB629L,0x521EE1E1L,0x7DE773B7L},{0xA7263E39L,5L,0xBA180526L,0x450509FEL,(-1L)},{(-1L),0x40CC266DL,0xC865519CL,(-10L),0x7DE773B7L}},{{(-7L),0x450509FEL,5L,0x2E42FB7BL,0x06AD6215L},{0x7DE773B7L,(-9L),0x645517AFL,0L,(-9L)},{0L,0x5994EAC1L,0x352078FFL,0x06AD6215L,0xE48E7C1FL},{0x35927EACL,0x8A114170L,0x521EE1E1L,0L,0xB61C3A6DL},{(-3L),0xBA180526L,0xBA180526L,(-3L),0xC6035041L}},{{0x40CC266DL,0L,1L,0x717EE938L,0L},{0xBA180526L,0x3402BFC1L,0x303A1719L,5L,0xA0D18191L},{0x7DE773B7L,0xE68C23D4L,0L,0x717EE938L,0x9F7EB629L},{(-1L),0x68DC70FDL,(-8L),(-3L),0L},{0x521EE1E1L,0L,6L,0L,(-1L)}},{{0xA7263E39L,0x2E42FB7BL,(-6L),0x06AD6215L,5L},{0x717EE938L,0x7DE773B7L,0x9B6E4080L,0L,0L},{7L,0x3402BFC1L,7L,0x2E42FB7BL,0L},{0x7EA5D251L,0x645517AFL,0xE68C23D4L,(-10L),0x521EE1E1L},{0L,0L,0x04749615L,0x450509FEL,0L}},{{(-9L),0x8A114170L,0xE68C23D4L,0x521EE1E1L,0xD50BB292L},{0x3402BFC1L,(-6L),7L,0x0A98E9ADL,0x303A1719L},{0xE68C23D4L,0xB4ED2666L,0L,0xE68C23D4L,0x35927EACL},{0x84907DABL,0xBA180526L,1L,0x6AA5E445L,0x73966BDDL},{0xB4ED2666L,0L,(-1L),0L,(-1L)}}};
                      int8_t *****l_3828 = &l_3825;
                      int i, j, k;
                      for (i = 0; i < 8; i++)
                          l_3793[i] = 1L;
                      l_3816--;
                      g_1633.f0 &= (((l_3819 , g_2291[g_168][g_168]) <= ((safe_mul_func_uint16_t_u_u(((safe_lshift_func_int16_t_s_u(((l_3824 != (void*)0) && (((*l_3828) = l_3825) == (void*)0)), p_7)) || (safe_add_func_uint64_t_u_u((safe_add_func_int8_t_s_s((l_3833[0] , p_11), l_3792)), 0xFE9452590496623ELL))), g_3499.f1)) == 0x91CBAD546406B50CLL)) && g_2742[0][6].f0);
                      for (g_2953.f0 = 5; (g_2953.f0 >= 0); g_2953.f0 -= 1)
                      { /* block id: 1848 */
                          int32_t **l_3834 = &l_3626[0];
                          int32_t **l_3835[5] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
                          int i;
                          l_3625 = ((*l_3834) = &l_3815);
                      }
                  }
                  else
                  { /* block id: 1852 */
                      uint8_t *l_3855 = (void*)0;
                      uint8_t *l_3856 = &g_3464.f3;
                      uint8_t **l_3880 = &l_3855;
                      uint8_t **l_3893 = (void*)0;
                      union U3 *l_3895 = &g_3896;
                      int i;
                      if ((g_3836[3][0][3] == (((*l_3856) = ((**g_3139) = (((void*)0 != g_3840) || (safe_rshift_func_int16_t_s_s((p_9 >= ((*g_1042) = (safe_add_func_int64_t_s_s(((safe_div_func_uint8_t_u_u(0x17L, (safe_add_func_int32_t_s_s(((g_270[(g_168 + 2)] ^= 0x2EFE68BE21E3F65ELL) < ((safe_add_func_int16_t_s_s(((((safe_mul_func_int16_t_s_s(((0x78441BC5BF682E14LL || (((p_7 > (((!(p_11 >= 1UL)) , (**g_2593)) != 4294967292UL)) != p_10) < 1UL)) | 0xA126L), p_10)) == 0x19AF16AEFECAE151LL) & p_11) ^ (*g_1042)), l_3819.f0)) & p_11)), 1L)))) | l_3808), 4UL)))), g_2721[1].f0))))) , &g_3837[0])))
                      { /* block id: 1857 */
                          return p_7;
                      }
                      else
                      { /* block id: 1859 */
                          uint32_t ***l_3859 = &g_2593;
                          uint32_t ****l_3858[10][9] = {{&l_3859,&l_3859,&l_3859,&l_3859,(void*)0,&l_3859,&l_3857[2][0],&l_3859,&l_3857[2][0]},{&l_3859,(void*)0,&l_3857[2][9],&l_3859,&l_3859,&l_3857[2][0],(void*)0,&l_3857[2][0],(void*)0},{&l_3859,&l_3859,&l_3857[0][8],&l_3859,&l_3857[1][2],(void*)0,&l_3857[2][0],(void*)0,(void*)0},{(void*)0,&l_3857[2][0],&l_3857[2][0],&l_3859,(void*)0,&l_3857[2][0],&l_3859,&l_3857[2][0],(void*)0},{&l_3857[2][0],(void*)0,(void*)0,&l_3857[2][0],&l_3859,&l_3857[2][0],&l_3857[2][0],(void*)0,(void*)0},{(void*)0,&l_3859,&l_3857[1][2],&l_3859,&l_3857[1][8],&l_3857[2][0],(void*)0,(void*)0,&l_3857[2][0]},{(void*)0,&l_3857[2][0],&l_3857[2][0],&l_3857[1][8],&l_3859,(void*)0,&l_3857[2][0],&l_3857[2][0],&l_3859},{&l_3857[1][2],(void*)0,&l_3857[2][0],(void*)0,(void*)0,&l_3859,&l_3857[0][4],&l_3857[0][4],&l_3859},{&l_3857[1][2],&l_3859,(void*)0,&l_3859,&l_3857[1][2],&l_3857[2][0],&l_3857[2][3],(void*)0,&l_3857[0][4]},{(void*)0,&l_3857[2][0],(void*)0,&l_3859,&l_3859,(void*)0,&l_3859,&l_3857[2][9],&l_3857[1][2]}};
                          struct S1 *l_3865 = &l_3819;
                          uint16_t *l_3881 = (void*)0;
                          uint16_t *l_3882 = &g_142[1];
                          int32_t l_3891 = 0x5DDE3BD7L;
                          uint8_t ***l_3892[8] = {&g_3139,&g_3139,&g_3139,&g_3139,&g_3139,&g_3139,&g_3139,&g_3139};
                          uint64_t *l_3894 = &g_2541;
                          int i, j;
                          l_3866 = ((((l_3857[2][0] == (g_3860 = &g_2593)) | (safe_unary_minus_func_uint16_t_u(g_270[(g_168 + 2)]))) | g_270[(g_168 + 2)]) , ((l_3799 <= (safe_add_func_int16_t_s_s(0xD5E9L, l_3799))) , ((*l_3865) = l_3864[4])));
                          g_2720[6].f0 = (safe_mod_func_uint8_t_u_u((safe_add_func_int64_t_s_s(0xABBBCC02AE313E71LL, ((*l_3894) = (safe_lshift_func_int8_t_s_s(((safe_add_func_int8_t_s_s((((l_3866.f1 ^= (safe_div_func_int64_t_s_s((-7L), (safe_lshift_func_uint16_t_u_s(l_3879, 9))))) , (l_3880 = &g_3140)) == (((*l_3882) = p_8) , (l_3893 = (((safe_mod_func_uint32_t_u_u((((safe_div_func_uint16_t_u_u((!(safe_div_func_int8_t_s_s((((((((l_3833[0].f0 | g_270[(g_168 + 2)]) , (g_2746[0][0][5].f0 > ((((*g_1042) = ((((l_3890 = ((18446744073709551609UL ^ l_3808) <= p_8)) >= g_270[(g_168 + 2)]) ^ p_9) & 3UL)) ^ g_270[(g_168 + 2)]) == 0xE2691786L))) && 4294967295UL) == 4UL) >= p_10) | l_3833[0].f0) , p_11), 1UL))), g_2955.f2.f3)) <= l_3806) && (**g_3139)), l_3891)) <= g_2291[(g_168 + 2)][g_168]) , (void*)0)))), l_3805)) , 9L), l_3807[6]))))), l_3798));
                          l_3891 = l_3808;
                      }
                      l_3895 = l_3895;
                      if (g_168)
                          goto lbl_3897;
                  }
                  g_2745[3][3][1].f0 = (((*g_1042) , (void*)0) == (void*)0);
                  return l_3813;
              }
              if (p_11)
                  break;
              return l_3819.f1;
          }
          l_3866.f1 |= 0xF3D6A59AL;
          l_3819.f1 |= (((safe_mod_func_int8_t_s_s((safe_add_func_int64_t_s_s(((void*)0 == l_3902), ((0x64F30B31L == ((&g_2593 == (void*)0) < (+((((0x1350975AL != (((*g_1042) &= 0x5212119F88D87D05LL) , (((safe_mul_func_uint8_t_u_u((safe_mod_func_int16_t_s_s(0x9C26L, (safe_lshift_func_uint16_t_u_s((4294967287UL > g_639), l_3805)))), (*g_3140))) | g_3912) == p_10))) || 3L) & 0x67588CE7L) | 4294967295UL)))) >= p_7))), (*g_3140))) >= 0xFD2395E4L) ^ 0x08L);
          g_2729.f0 = p_11;
      }
      return p_7;
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_2593 g_2594 g_1819 g_1798 g_1042 g_358 g_2540 g_3139 g_3140 g_2725.f3 g_2726.f0 g_1001.f1 g_2738.f0 g_142 g_356 g_119 g_3296 g_2730.f0 g_1595 g_2341 g_2736.f0 g_2274.f2.f3 g_473 g_2721.f0 g_171 g_2662 g_891 g_1054 g_2783 g_2796 g_2955.f0 g_833 g_2740.f0 g_72 g_2353 g_553 g_2748.f0 g_2724.f3 g_2506 g_2291 g_2723.f0 g_2616 g_810 g_963 g_2747.f3 g_2732.f3 g_1674.f2 g_1587 g_406 g_2794 g_1057.f0 g_2661 g_3216 g_106.f1 g_273 g_890.f2.f2 g_1817 g_890.f2.f3 g_2744.f0 g_1979 g_2728.f0 g_2727.f3 g_1077.f1
   * writes: g_358 g_2726.f0 g_2725.f3 g_2724.f0 g_2738.f0 g_119 g_890.f0 g_2730.f0 g_1079 g_1798 g_356 g_1979 g_473 g_171 g_891 g_485 g_2783 g_456 g_2796 g_2955.f0 g_833 g_2740.f0 g_484 g_5 g_102 g_2604 g_406 g_892.f0 g_2748.f0 g_2540 g_72 g_2506 g_2291 g_2723.f0 g_1056 g_2743.f0 g_2057 g_168 g_672 g_963 g_2661 g_1587 g_2794 g_2341 g_810 g_1819 g_2744.f0
   */
  static uint16_t  func_13(int64_t  p_14, int8_t * p_15, int8_t * const  p_16, int32_t  p_17)
  { /* block id: 1567 */
      const uint32_t ***l_3264 = (void*)0;
      const uint32_t ***l_3265 = (void*)0;
      int32_t l_3266 = 0xDD569613L;
      int8_t l_3267 = 0L;
      int32_t *l_3268[3];
      union U4 *l_3279 = &g_3280;
      union U4 **l_3281 = &l_3279;
      uint16_t l_3282 = 0x39DBL;
      union U5 *l_3285 = (void*)0;
      int16_t *l_3294 = &g_119;
      int32_t *l_3295 = &g_890.f0;
      uint64_t l_3297 = 0x859497F22002BAB2LL;
      union U3 *l_3298 = (void*)0;
      uint32_t *l_3307 = &g_1798;
      int32_t l_3308 = 7L;
      int16_t *l_3309[8][9] = {{&g_1979,&g_1979,&g_1979,&g_1979,&g_1979,&g_2604,&g_140,&g_356,&g_140},{&g_356,&g_140,&g_1979,&g_1979,&g_140,&g_356,&g_140,&g_1979,&g_140},{(void*)0,&g_2604,&g_356,&g_1979,&g_1979,&g_356,&g_2604,(void*)0,&g_140},{&g_140,&g_1979,(void*)0,&g_140,&g_2604,&g_2604,&g_140,(void*)0,&g_1979},{&g_1979,(void*)0,&g_140,&g_140,&g_1979,&g_140,&g_140,&g_1979,&g_140},{&g_1979,&g_356,&g_1979,&g_140,&g_140,&g_140,&g_356,&g_356,&g_140},{&g_140,(void*)0,&g_1979,(void*)0,&g_140,&g_140,&g_1979,&g_140,&g_140},{(void*)0,&g_1979,&g_140,&g_140,&g_140,&g_1979,(void*)0,&g_140,&g_2604}};
      int32_t l_3336[4] = {0x11882D6DL,0x11882D6DL,0x11882D6DL,0x11882D6DL};
      struct S1 l_3393 = {52,54};
      uint8_t *l_3591[10][4] = {{&g_3463.f3,&g_2727.f3,&g_1695.f3,&g_2729.f3},{&g_3464.f3,&g_2747.f3,&g_1695.f3,(void*)0},{&g_3463.f3,&g_2748[1][7].f3,&g_2748[1][7].f3,&g_3463.f3},{&g_2727.f3,&g_3464.f3,&g_274,&g_3464.f3},{&g_274,&g_3464.f3,&g_2729.f3,&g_2747.f3},{&g_3462.f3,(void*)0,&g_1695.f3,&g_2747.f3},{&g_833,&g_3464.f3,&g_3462.f3,&g_3464.f3},{&g_2722.f3,&g_3464.f3,&g_2730.f3,&g_3463.f3},{&g_2729.f3,&g_2748[1][7].f3,&g_833,(void*)0},{(void*)0,&g_2747.f3,(void*)0,&g_2729.f3}};
      int i, j;
      for (i = 0; i < 3; i++)
          l_3268[i] = &g_2724.f0;
      g_2726.f0 ^= (((((**g_2593) >= (safe_add_func_int64_t_s_s(((((((*g_1042) |= ((l_3265 = (g_1798 , (l_3264 = l_3264))) != (void*)0)) ^ (9UL | l_3266)) & ((l_3266 > l_3266) ^ ((l_3266 , (*p_15)) != p_17))) ^ p_14) | l_3266), l_3267))) ^ l_3267) > p_17) ^ (**g_3139));
      g_2738.f0 ^= (g_2724.f0 = (safe_mod_func_int32_t_s_s(((p_14 | (((*g_3140) = (safe_lshift_func_uint16_t_u_s(0x1F5AL, ((((((1UL < (safe_mod_func_uint8_t_u_u((*g_3140), (*p_15)))) >= 8UL) , 3UL) , ((safe_mul_func_int8_t_s_s((safe_add_func_uint64_t_u_u((((*l_3281) = l_3279) == (void*)0), p_14)), 255UL)) > p_14)) , (*p_15)) , g_1001[2].f1)))) || l_3282)) > 1L), 0x6BE691D2L)));
  lbl_3335:
      g_2730.f0 ^= ((safe_div_func_int8_t_s_s(((l_3285 == (void*)0) == g_142[2]), p_14)) & ((((**g_3139) = ((safe_lshift_func_uint8_t_u_s((l_3297 = ((((*l_3295) = (((safe_sub_func_uint8_t_u_u(p_14, (p_17 & p_14))) || ((*g_2594) || ((safe_rshift_func_int16_t_s_u(((*l_3294) |= g_356), 13)) < 0xFFL))) || 0x0F3AL)) , g_3296) == (void*)0)), (*p_15))) == 1L)) || (**g_3139)) , 8UL));
      if ((((((*g_1595) = l_3298) != l_3298) < (((p_14 == (safe_sub_func_int16_t_s_s(p_17, ((*p_15) <= (safe_mod_func_uint64_t_u_u(0xAADF67A0C9B5A71DLL, 18446744073709551614UL)))))) || (safe_div_func_int16_t_s_s((g_1979 = (g_356 = ((*l_3294) = ((safe_mul_func_int16_t_s_s((p_14 == (((*l_3307) ^= (p_14 >= p_14)) , 1L)), p_14)) && l_3308)))), 65530UL))) < 1L)) ^ 250UL))
      { /* block id: 1586 */
          int32_t l_3310[6][3][3] = {{{1L,(-1L),7L},{5L,5L,0x6D383CB8L},{1L,(-1L),7L}},{{5L,5L,0x6D383CB8L},{1L,(-1L),7L},{5L,5L,0x6D383CB8L}},{{1L,(-1L),7L},{5L,5L,0x6D383CB8L},{1L,(-1L),7L}},{{5L,5L,0x6D383CB8L},{1L,(-1L),7L},{5L,5L,0x6D383CB8L}},{{1L,(-1L),7L},{5L,5L,0x6D383CB8L},{1L,(-1L),7L}},{{5L,5L,0x6D383CB8L},{1L,(-1L),7L},{5L,5L,0x6D383CB8L}}};
          uint32_t l_3319 = 1UL;
          int32_t l_3320 = 0L;
          int8_t l_3321 = (-5L);
          int32_t l_3322 = 0x1769AA5BL;
          int i, j, k;
          g_2726.f0 ^= ((((p_14 >= l_3310[0][2][1]) , p_17) , l_3310[2][0][1]) , (((safe_div_func_int32_t_s_s((((safe_mod_func_uint64_t_u_u(((&g_273[0][0][3] != ((((((l_3322 = (l_3310[0][2][1] = ((safe_rshift_func_uint16_t_u_u((((((l_3320 ^= (safe_mod_func_int8_t_s_s(((((p_14 , 1L) && ((7L ^ (p_17 < 0xFDE32081513785D8LL)) , l_3310[4][0][1])) | l_3310[0][2][1]) , l_3319), (-1L)))) | (**g_2593)) >= l_3319) == (*p_16)) & l_3321), 7)) , g_2736.f0))) , g_2274.f2.f3) , p_17) > l_3319) && (*p_15)) , &l_3267)) , 0x0BCB88AB51282271LL), p_14)) ^ p_14) || p_14), p_17)) || p_17) & (*g_1042)));
      }
      else
      { /* block id: 1591 */
          int32_t l_3340 = 0x8161D006L;
          int32_t l_3341 = 0xF651BFC7L;
          int32_t l_3344 = 0x36535535L;
          int32_t l_3348 = 0x6BD3C5D3L;
          int32_t l_3349 = 0x5F8D2772L;
          int32_t l_3353 = 0L;
          int32_t l_3354 = 0xE8747D28L;
          uint64_t l_3357 = 0xE0B90A964D769003LL;
          int32_t *l_3373 = &g_72;
          struct S1 **l_3382 = &g_485;
          struct S1 **l_3384[3][8] = {{&g_485,&g_485,&g_485,&g_485,&g_485,&g_485,&g_485,&g_485},{&g_485,&g_485,&g_485,&g_485,&g_485,&g_485,&g_485,&g_485},{&g_485,&g_485,&g_485,&g_485,&g_485,&g_485,&g_485,&g_485}};
          uint16_t *l_3487 = &g_2057[1][1];
          uint16_t *l_3488[8][3] = {{&g_2291[0][4],(void*)0,(void*)0},{&g_1497,(void*)0,&l_3282},{(void*)0,&g_2291[0][4],&g_2291[4][6]},{&g_1497,&g_1497,&g_2291[4][6]},{&g_2291[0][4],(void*)0,&l_3282},{(void*)0,&g_1497,(void*)0},{(void*)0,&g_2291[0][4],&g_1497},{&g_2291[0][4],(void*)0,(void*)0}};
          uint32_t l_3489 = 0xF2229D43L;
          int64_t *l_3490 = (void*)0;
          int64_t *l_3491[6][1][6] = {{{&g_131,&g_1796[1][2][6],(void*)0,&g_269,&g_269,(void*)0}},{{&g_131,&g_131,&g_269,&g_1587,(void*)0,&g_1587}},{{&g_1796[1][2][6],&g_131,&g_1796[1][2][6],(void*)0,&g_269,&g_269}},{{&g_168,&g_1796[1][2][6],&g_1796[1][2][6],&g_168,&g_131,&g_1587}},{{&g_1587,&g_168,&g_269,&g_168,&g_1587,(void*)0}},{{&g_168,&g_1587,(void*)0,(void*)0,&g_1587,&g_168}}};
          int32_t l_3551 = 1L;
          union U5 ***l_3565 = &g_2614;
          uint32_t **l_3586[7][9][4] = {{{&g_2988[1][0][0],&g_2988[1][0][0],&l_3307,&g_2988[1][0][0]},{&g_2988[1][0][0],(void*)0,&g_2988[1][0][0],&g_2988[1][0][0]},{&g_2988[1][0][0],&l_3307,&g_2988[1][0][0],&g_2988[0][0][0]},{(void*)0,&l_3307,&g_2988[1][0][0],&g_2988[1][0][0]},{&g_2988[1][0][0],&g_2988[1][0][0],&l_3307,&l_3307},{&g_2988[1][1][2],&g_2988[1][0][0],&l_3307,&g_2988[1][0][0]},{&l_3307,&g_2988[1][0][0],&g_2988[1][0][0],&l_3307},{&g_2988[1][0][0],&g_2988[1][0][0],(void*)0,&g_2988[1][0][0]},{&g_2988[1][0][0],&g_2988[1][0][0],&g_2988[1][0][0],&l_3307}},{{&l_3307,&g_2988[1][0][0],&l_3307,&g_2988[1][0][0]},{(void*)0,&l_3307,&g_2988[1][0][0],&g_2988[0][0][0]},{&g_2988[1][0][0],&l_3307,&g_2988[1][0][0],&g_2988[1][0][0]},{(void*)0,&l_3307,&l_3307,&l_3307},{(void*)0,&g_2988[1][0][0],&l_3307,&l_3307},{&g_2988[1][0][0],&l_3307,&g_2988[1][0][0],&g_2988[1][1][3]},{&g_2988[1][0][0],&l_3307,&g_2988[1][0][0],&g_2988[1][0][0]},{&g_2988[3][1][5],&g_2988[1][0][0],&l_3307,&l_3307},{&g_2988[1][0][0],(void*)0,&g_2988[1][0][0],&g_2988[3][1][5]}},{{&l_3307,(void*)0,&l_3307,&g_2988[1][0][0]},{&l_3307,&g_2988[2][3][2],&l_3307,(void*)0},{(void*)0,&l_3307,&l_3307,&g_2988[1][0][0]},{&l_3307,&g_2988[1][0][0],&l_3307,&g_2988[1][0][0]},{&l_3307,&g_2988[1][1][2],&g_2988[1][0][0],&l_3307},{&g_2988[1][0][0],&l_3307,&l_3307,&g_2988[1][0][0]},{&g_2988[3][1][5],&g_2988[1][0][0],&g_2988[1][0][0],&l_3307},{&g_2988[1][0][0],&g_2988[1][0][0],&g_2988[1][0][0],&g_2988[1][0][0]},{&g_2988[1][0][0],(void*)0,&l_3307,&g_2988[1][0][0]}},{{(void*)0,&l_3307,&l_3307,&l_3307},{(void*)0,&g_2988[1][0][0],&g_2988[1][0][0],&l_3307},{&g_2988[1][0][0],&g_2988[1][0][0],&g_2988[1][0][0],(void*)0},{(void*)0,&l_3307,&l_3307,(void*)0},{&l_3307,&g_2988[1][0][0],&g_2988[1][0][0],&g_2988[1][2][1]},{&g_2988[1][0][0],&g_2988[1][0][0],(void*)0,&l_3307},{&g_2988[1][0][0],(void*)0,&g_2988[1][0][0],&l_3307},{&l_3307,&g_2988[1][0][0],&l_3307,&g_2988[1][2][1]},{&g_2988[1][1][2],&g_2988[1][0][0],&l_3307,(void*)0}},{{&g_2988[1][0][0],&l_3307,&g_2988[1][0][0],(void*)0},{(void*)0,&g_2988[1][0][0],&g_2988[1][0][0],&l_3307},{&l_3307,&g_2988[1][0][0],&g_2988[1][0][0],&l_3307},{&g_2988[1][2][1],&l_3307,&g_2988[1][1][3],&g_2988[1][0][0]},{&g_2988[1][0][0],(void*)0,&g_2988[1][0][0],&g_2988[1][0][0]},{&g_2988[0][0][0],&g_2988[1][0][0],&l_3307,&l_3307},{&l_3307,&g_2988[1][0][0],&g_2988[1][0][0],&g_2988[1][0][0]},{&g_2988[1][0][0],&l_3307,&g_2988[1][0][0],&l_3307},{&l_3307,&g_2988[1][1][2],&g_2988[0][1][2],&g_2988[1][0][0]}},{{(void*)0,&g_2988[1][0][0],&g_2988[0][0][0],&g_2988[1][0][0]},{&g_2988[1][0][0],&l_3307,&g_2988[3][1][5],(void*)0},{&g_2988[1][0][0],&g_2988[2][3][2],&g_2988[0][0][0],&g_2988[1][0][0]},{(void*)0,(void*)0,&g_2988[0][1][2],&g_2988[3][1][5]},{&l_3307,(void*)0,&g_2988[1][0][0],&l_3307},{&l_3307,&g_2988[1][0][0],&g_2988[1][0][0],&g_2988[1][0][0]},{(void*)0,&l_3307,&l_3307,&g_2988[3][1][5]},{&g_2988[1][0][0],&l_3307,&l_3307,&l_3307},{&g_2988[1][0][0],&l_3307,&g_2988[3][1][5],&l_3307}},{{(void*)0,&l_3307,&l_3307,&g_2988[1][0][0]},{&g_2988[1][0][0],&g_2988[1][0][0],&l_3307,&g_2988[1][0][0]},{&g_2988[1][0][0],&l_3307,&g_2988[1][0][0],&g_2988[1][0][0]},{&l_3307,&l_3307,&g_2988[2][3][2],&g_2988[1][0][0]},{&g_2988[0][0][0],&g_2988[1][0][0],&l_3307,&l_3307},{&l_3307,(void*)0,&g_2988[1][0][0],&l_3307},{&g_2988[1][0][0],(void*)0,&l_3307,&l_3307},{(void*)0,&g_2988[1][0][0],&g_2988[1][0][0],&g_2988[1][0][0]},{&l_3307,&l_3307,(void*)0,&g_2988[1][0][0]}}};
          int8_t l_3623[9][2][4] = {{{0L,0L,0x51L,0L},{0L,(-1L),(-1L),0L}},{{(-1L),0L,(-1L),(-1L)},{0L,0L,0x51L,0L}},{{0L,(-1L),(-1L),0L},{(-1L),0L,(-1L),(-1L)}},{{0L,0L,0x51L,0L},{0L,(-1L),(-1L),0L}},{{(-1L),0L,(-1L),(-1L)},{0L,0L,0x51L,0L}},{{0L,(-1L),(-1L),0L},{(-1L),0L,(-1L),(-1L)}},{{0L,0L,0x51L,0L},{0L,(-1L),(-1L),0L}},{{(-1L),0L,(-1L),(-1L)},{0L,0L,0x51L,0L}},{{0L,(-1L),(-1L),0L},{(-1L),0L,(-1L),(-1L)}}};
          int i, j, k;
          for (g_473 = (-23); (g_473 <= 47); g_473++)
          { /* block id: 1594 */
              int32_t l_3325 = 9L;
              return l_3325;
          }
          if (g_2721[1].f0)
          { /* block id: 1597 */
              struct S1 *l_3330 = (void*)0;
              int32_t l_3351[7][7][5] = {{{0xD0366A3AL,0x1639A294L,0x80EEA9D4L,(-6L),0x457F49E8L},{0x3BA7A458L,(-1L),0x46998C72L,0x1234E2E5L,0x3BA7A458L},{0x8B5E9BBAL,0x1639A294L,0x23DDD5D5L,0xFCA3BB89L,(-4L)},{0L,1L,0L,(-1L),(-1L)},{1L,7L,1L,0x1639A294L,0x05D425DFL},{0x29CF21EEL,(-1L),1L,(-6L),0x3BA7A458L},{(-4L),0xC2D237A9L,0L,1L,1L}},{{0xA0330203L,0xB71EF8F5L,1L,0x3BA7A458L,0xAA78F884L},{(-9L),0x2E1D8741L,1L,0x365E0072L,(-5L)},{(-10L),0xA0330203L,0L,0xD3F94733L,(-1L)},{0x455889B2L,1L,0x23DDD5D5L,7L,0x963FFD87L},{0xA0330203L,0x36A24A18L,0x46998C72L,8L,1L},{0x05D425DFL,0L,0x80EEA9D4L,7L,1L},{0x29CF21EEL,0xE18E9DF4L,0x36A24A18L,1L,(-10L)}},{{0L,7L,1L,7L,0L},{0xE18E9DF4L,0xB71EF8F5L,0x46998C72L,(-1L),(-1L)},{0x4EF97E56L,0x365E0072L,9L,0xC2D237A9L,0x457F49E8L},{(-1L),0L,0x619079D8L,0xB71EF8F5L,(-1L)},{(-1L),0xC2D237A9L,0x963FFD87L,0x2E1D8741L,0L},{(-1L),0xD3F94733L,0L,0xA0330203L,(-10L)},{9L,0x9E307FD0L,0x80EEA9D4L,1L,(-5L)}},{{0L,0xAA78F884L,0x619079D8L,0x36A24A18L,0x29CF21EEL},{(-4L),(-6L),0xE6E4803BL,0L,0x455889B2L},{0L,0L,0x46998C72L,0xE18E9DF4L,0x77CEAD60L},{9L,7L,0xD0366A3AL,0x365E0072L,0xD0366A3AL},{(-1L),(-1L),0x36A24A18L,(-6L),1L},{(-1L),0x2E1D8741L,0x455889B2L,0L,0xE6E4803BL},{(-1L),0x36A24A18L,0x55D074F5L,0x77CEAD60L,(-1L)}},{{0x4EF97E56L,0x2E1D8741L,(-5L),1L,0x80EEA9D4L},{0xE18E9DF4L,(-1L),0xD3F94733L,0L,0xA0330203L},{0L,7L,0L,0x2E1D8741L,0x963FFD87L},{0x3BA7A458L,0L,0x1234E2E5L,0xFCD4B213L,(-1L)},{0x80EEA9D4L,(-6L),0x457F49E8L,0xC2D237A9L,9L},{(-10L),0xAA78F884L,0x1234E2E5L,0x619079D8L,1L},{0x8B5E9BBAL,0x9E307FD0L,0L,7L,1L}},{{8L,0xD3F94733L,0xD3F94733L,8L,0x77CEAD60L},{(-1L),0xC2D237A9L,(-5L),0x1639A294L,(-9L)},{(-10L),0L,0x55D074F5L,0x1234E2E5L,0x29CF21EEL},{0x963FFD87L,0x365E0072L,0x455889B2L,0x1639A294L,5L},{0x3BA7A458L,0xB71EF8F5L,0x36A24A18L,8L,(-10L)},{0L,7L,0xD0366A3AL,7L,0L},{0xE18E9DF4L,0xFCD4B213L,0x46998C72L,0x619079D8L,(-1L)}},{{(-7L),0x365E0072L,0xE6E4803BL,0xC2D237A9L,1L},{(-1L),0x9D2D2674L,0x619079D8L,0xFCD4B213L,(-1L)},{1L,0xC2D237A9L,0x80EEA9D4L,0x2E1D8741L,0L},{(-1L),(-10L),0L,0L,(-10L)},{0xE6E4803BL,0x9E307FD0L,0x963FFD87L,1L,5L},{0L,(-1L),0x619079D8L,0x77CEAD60L,0x29CF21EEL},{0x05D425DFL,(-6L),9L,0L,(-9L)}}};
              const int32_t *l_3366 = &g_2747.f0;
              int32_t **l_3372[10] = {&g_456,&l_3268[0],&g_456,&g_456,&g_456,&g_456,&l_3268[0],&g_456,&g_456,&g_456};
              int i, j, k;
  lbl_3361:
              for (g_171 = 0; (g_171 >= 53); g_171++)
              { /* block id: 1600 */
                  int8_t l_3338 = 0xE5L;
                  int32_t l_3342 = 0x803B98A2L;
                  int32_t l_3343 = 6L;
                  int8_t l_3350 = 0x86L;
                  for (l_3267 = 0; (l_3267 != (-11)); l_3267 = safe_sub_func_uint32_t_u_u(l_3267, 4))
                  { /* block id: 1603 */
                      int8_t l_3345 = 0x5AL;
                      int32_t l_3355 = 0L;
                      int32_t l_3356 = (-2L);
                      int32_t **l_3360 = &g_456;
                      (*g_2662) = (*g_2662);
                      (*g_1054) = l_3330;
                      for (g_2783 = 0; (g_2783 < (-3)); g_2783 = safe_sub_func_uint32_t_u_u(g_2783, 1))
                      { /* block id: 1608 */
                          int32_t **l_3333 = (void*)0;
                          int32_t **l_3334 = &g_456;
                          int32_t l_3337 = 7L;
                          int32_t l_3339 = 0x9424C8E7L;
                          int32_t l_3346 = (-1L);
                          int32_t l_3347 = 0xE697B05BL;
                          int32_t l_3352[1][7];
                          int i, j;
                          for (i = 0; i < 1; i++)
                          {
                              for (j = 0; j < 7; j++)
                                  l_3352[i][j] = 0xE49B186CL;
                          }
                          (*l_3334) = (void*)0;
                          if (g_2738.f0)
                              goto lbl_3335;
                          if (g_2783)
                              goto lbl_3361;
                          (*l_3334) = &g_963;
                          --l_3357;
                      }
                      (*l_3360) = &g_72;
                  }
              }
              for (g_2796 = 0; (g_2796 > 26); g_2796++)
              { /* block id: 1620 */
                  const int32_t *l_3364 = &l_3336[1];
                  const int32_t **l_3365 = (void*)0;
                  l_3366 = l_3364;
              }
              for (g_2955.f0 = 0; (g_2955.f0 != 12); g_2955.f0 = safe_add_func_uint8_t_u_u(g_2955.f0, 9))
              { /* block id: 1625 */
                  uint32_t l_3369 = 0x6C351EACL;
                  for (g_833 = 2; (g_833 <= 8); g_833 += 1)
                  { /* block id: 1628 */
                      l_3369++;
                  }
              }
              l_3373 = &g_963;
          }
          else
          { /* block id: 1633 */
              struct S1 ***l_3383 = &g_484[3];
              const int32_t l_3392 = 0x3B5C5BB1L;
              int32_t l_3398[2];
              union U6 *l_3406 = &g_3407;
              uint64_t ***l_3434[2];
              uint32_t ***l_3445 = &g_2987;
              union U5 *l_3461[9] = {&g_3462,&g_3462,&g_3462,&g_3462,&g_3462,&g_3462,&g_3462,&g_3462,&g_3462};
              int i;
              for (i = 0; i < 2; i++)
                  l_3398[i] = (-1L);
              for (i = 0; i < 2; i++)
                  l_3434[i] = &g_1041;
  lbl_3408:
              g_2740.f0 ^= 0L;
              if ((((void*)0 == &l_3354) != ((*g_1042) = (safe_mod_func_uint16_t_u_u(p_17, (0x2FL && ((*g_2353) = (safe_mul_func_int8_t_s_s((*p_16), ((safe_sub_func_uint32_t_u_u((safe_rshift_func_int8_t_s_s(0xECL, 6)), (l_3382 != (l_3384[1][3] = ((*l_3383) = l_3382))))) & ((safe_mul_func_int16_t_s_s(((safe_rshift_func_int8_t_s_u(((~(((safe_mul_func_uint16_t_u_u(p_17, g_2730.f0)) | 0x9A05B66E28176496LL) > 0x2525D5E1L)) && p_14), 2)) ^ (*l_3373)), 1UL)) < l_3392)))))))))))
              { /* block id: 1639 */
                  struct S1 l_3394[3] = {{94,-10},{94,-10},{94,-10}};
                  int32_t l_3402 = 0x5582AA7EL;
                  uint8_t l_3403 = 253UL;
                  int i;
                  l_3394[0] = l_3393;
                  l_3398[0] = (safe_mul_func_int8_t_s_s((safe_unary_minus_func_int64_t_s(l_3392)), (**g_3139)));
                  for (g_102 = 0; (g_102 == 48); g_102 = safe_add_func_int64_t_s_s(g_102, 4))
                  { /* block id: 1644 */
                      int32_t l_3401[9] = {0x18425666L,0x18425666L,0x18425666L,0x18425666L,0x18425666L,0x18425666L,0x18425666L,0x18425666L,0x18425666L};
                      int i;
                      l_3403--;
                  }
              }
              else
              { /* block id: 1647 */
                  l_3406 = g_553;
                  if (g_2726.f0)
                      goto lbl_3408;
                  return p_14;
              }
              for (g_2604 = 0; (g_2604 <= 24); g_2604++)
              { /* block id: 1654 */
                  uint8_t l_3431 = 0x2CL;
                  const int32_t *l_3439 = &g_1104[2][1].f0;
                  const int32_t **l_3438 = &l_3439;
                  int32_t l_3447[9] = {0x33607432L,0x33607432L,(-1L),0x33607432L,0x33607432L,(-1L),0x33607432L,0x33607432L,(-1L)};
                  int i;
                  for (g_406 = 0; (g_406 >= 56); g_406 = safe_add_func_uint32_t_u_u(g_406, 7))
                  { /* block id: 1657 */
                      uint16_t *l_3430 = &g_2506;
                      const uint64_t *l_3437 = &g_1225;
                      const uint64_t **l_3436[5][1][2] = {{{&l_3437,&l_3437}},{{&l_3437,&l_3437}},{{&l_3437,&l_3437}},{{&l_3437,&l_3437}},{{&l_3437,&l_3437}}};
                      const uint64_t ***l_3435 = &l_3436[1][0][0];
                      int i, j, k;
                      for (g_892.f0 = (-6); (g_892.f0 == 21); ++g_892.f0)
                      { /* block id: 1660 */
                          g_2748[1][7].f0 |= p_14;
                          (*l_3373) &= (safe_mul_func_uint16_t_u_u((p_17 > 0x0EL), (0L && (safe_mod_func_int8_t_s_s(((((safe_sub_func_int16_t_s_s(g_2724.f3, (safe_sub_func_uint16_t_u_u((safe_lshift_func_uint8_t_u_u((+(((safe_mul_func_int8_t_s_s((-1L), 246UL)) & ((**g_3139) != ((*p_15) |= (safe_lshift_func_uint16_t_u_s(1UL, 10))))) , 1L)), 1)), l_3398[0])))) | 0UL) , &g_1201) == &g_1595), (-1L))))));
                      }
                      (*l_3373) ^= ((((l_3398[1] < ((*l_3430) ^= 5UL)) | l_3431) | (l_3392 & (((p_17 | (safe_div_func_int8_t_s_s(((l_3434[0] != (l_3398[1] , l_3435)) , 0x43L), p_17))) && (-1L)) >= l_3392))) != 3UL);
                  }
                  (*l_3438) = &l_3392;
                  for (g_171 = 0; (g_171 <= 2); g_171 += 1)
                  { /* block id: 1671 */
                      int32_t l_3440 = 0x7361EB7AL;
                      uint16_t l_3442 = 0x94E7L;
                      for (p_17 = 0; (p_17 <= 6); p_17 += 1)
                      { /* block id: 1674 */
                          int32_t l_3441 = 0x889A92BFL;
                          uint32_t ****l_3446 = &l_3445;
                          int i, j;
                          l_3442--;
                          l_3447[4] |= (((&l_3297 != &l_3297) & (((*l_3446) = l_3445) != (void*)0)) || 0x4490L);
                          g_2723.f0 |= ((--g_2291[(g_171 + 7)][p_17]) >= (((*l_3294) ^= ((safe_rshift_func_uint16_t_u_u(p_17, (((safe_lshift_func_int8_t_s_u(1L, 2)) && (((~((safe_mul_func_uint8_t_u_u((l_3398[1] , (((void*)0 == l_3268[g_171]) & 4294967295UL)), (*l_3373))) != (safe_mul_func_uint16_t_u_u((safe_div_func_uint8_t_u_u(0x20L, 1L)), 8UL)))) | 0x16650505L) & 0x01FAL)) && (**g_2593)))) || (**l_3438))) ^ p_14));
                      }
                      for (l_3340 = 2; (l_3340 >= 0); l_3340 -= 1)
                      { /* block id: 1684 */
                          int i;
                          (*g_2616) = l_3461[5];
                          l_3268[g_171] = l_3268[l_3340];
                          (*l_3438) = &l_3398[0];
                          g_2743.f0 = p_17;
                      }
                      (*l_3438) = (*l_3438);
                  }
              }
          }
          if ((0xC689E5004CDDF90FLL & (safe_add_func_uint8_t_u_u((((safe_add_func_uint16_t_u_u(p_17, (g_810 , (safe_div_func_uint64_t_u_u(((safe_mod_func_uint16_t_u_u((((g_168 = ((safe_rshift_func_int8_t_s_u((safe_rshift_func_uint8_t_u_s((safe_div_func_int8_t_s_s(0x39L, (safe_div_func_int8_t_s_s((*l_3373), (l_3393 , ((l_3393 , (*l_3373)) && (((((safe_lshift_func_uint16_t_u_s((l_3348 = (safe_rshift_func_uint16_t_u_u(((*l_3487) = (safe_add_func_uint8_t_u_u(((*l_3373) >= 0x67L), 0x0FL))), 10))), g_2747.f3)) == (*l_3373)) && g_2732.f3) , p_16) != &g_170))))))), l_3489)), (**g_3139))) >= p_14)) ^ 2L) <= (*l_3373)), 1UL)) > p_17), p_14))))) & 65529UL) > 0x3EB7AAB78D12AB8CLL), p_14))))
          { /* block id: 1697 */
              int32_t **l_3492 = (void*)0;
              int32_t **l_3493 = &l_3373;
              struct S0 *l_3498 = &g_3499;
              union U3 *l_3504 = (void*)0;
              struct S2 * const *l_3512[7][3][7] = {{{&g_891,&g_891,&g_891,&g_891,(void*)0,(void*)0,&g_891},{&g_891,(void*)0,&g_891,(void*)0,(void*)0,&g_891,&g_891},{&g_891,&g_891,&g_891,&g_891,&g_891,&g_891,(void*)0}},{{&g_891,&g_891,(void*)0,&g_891,(void*)0,&g_891,&g_891},{&g_891,(void*)0,&g_891,(void*)0,(void*)0,(void*)0,&g_891},{&g_891,&g_891,(void*)0,(void*)0,&g_891,(void*)0,&g_891}},{{&g_891,&g_891,&g_891,&g_891,(void*)0,&g_891,&g_891},{&g_891,&g_891,(void*)0,(void*)0,&g_891,&g_891,&g_891},{&g_891,&g_891,&g_891,(void*)0,(void*)0,&g_891,&g_891}},{{&g_891,&g_891,&g_891,&g_891,(void*)0,(void*)0,&g_891},{&g_891,&g_891,&g_891,(void*)0,&g_891,&g_891,&g_891},{(void*)0,&g_891,(void*)0,&g_891,(void*)0,(void*)0,&g_891}},{{(void*)0,&g_891,(void*)0,(void*)0,(void*)0,&g_891,(void*)0},{&g_891,&g_891,&g_891,(void*)0,&g_891,(void*)0,&g_891},{(void*)0,(void*)0,&g_891,&g_891,&g_891,&g_891,&g_891}},{{(void*)0,&g_891,&g_891,(void*)0,(void*)0,&g_891,(void*)0},{&g_891,&g_891,(void*)0,(void*)0,&g_891,&g_891,&g_891},{&g_891,(void*)0,(void*)0,&g_891,&g_891,(void*)0,(void*)0}},{{&g_891,&g_891,&g_891,&g_891,(void*)0,(void*)0,&g_891},{&g_891,(void*)0,&g_891,(void*)0,(void*)0,&g_891,&g_891},{&g_891,&g_891,&g_891,&g_891,&g_891,&g_891,(void*)0}}};
              struct S2 * const **l_3511 = &l_3512[5][1][6];
              struct S2 ****l_3513 = (void*)0;
              struct S2 ****l_3514 = &g_2661;
              int i, j, k;
              (*l_3493) = &g_963;
              (*l_3373) = (p_17 == (safe_mul_func_int16_t_s_s(g_2274.f2.f3, (g_672 = (((0UL <= (safe_lshift_func_int8_t_s_s((*p_15), ((((void*)0 == l_3498) >= ((safe_div_func_uint16_t_u_u((((safe_div_func_uint8_t_u_u(((**l_3493) , p_17), (**g_3139))) , l_3298) == l_3504), 1UL)) && (*l_3373))) & (*p_16))))) , 18446744073709551614UL) & (*g_1042))))));
              l_3353 &= ((safe_mod_func_int64_t_s_s(((safe_add_func_uint8_t_u_u(((safe_sub_func_int16_t_s_s((3L <= ((l_3511 == ((*l_3514) = ((*l_3373) , &g_2662))) >= p_17)), p_14)) , (**g_3139)), ((p_17 < ((safe_lshift_func_uint16_t_u_u((safe_sub_func_uint32_t_u_u(p_14, p_14)), p_17)) < (*l_3373))) , (*p_15)))) > g_1674.f2), p_14)) && p_14);
              (*l_3493) = &l_3336[0];
          }
          else
          { /* block id: 1704 */
              int32_t **l_3519 = &g_456;
              uint16_t **l_3523 = &l_3487;
              struct S1 l_3532 = {48,-26};
              int32_t l_3538 = (-1L);
              int32_t l_3542 = 1L;
              int8_t l_3544 = 0L;
              int32_t l_3548[2][5] = {{0xA2440297L,0xA2440297L,0xA2440297L,0xA2440297L,0xA2440297L},{1L,1L,1L,1L,1L}};
              uint32_t l_3560 = 0UL;
              int i, j;
              (*l_3519) = (void*)0;
              for (g_1587 = 0; (g_1587 <= 5); g_1587 += 1)
              { /* block id: 1708 */
                  uint32_t l_3520 = 0x2C46A50DL;
                  int32_t l_3534 = 0L;
                  int32_t l_3541 = 6L;
                  int32_t l_3543 = 0x15AA8A82L;
                  int32_t l_3546 = 1L;
                  int32_t l_3550[10][7] = {{0x79480644L,5L,0x92F0222CL,0x4E40EE1CL,4L,4L,0x4E40EE1CL},{1L,(-2L),1L,0xD85AE513L,0L,0xE236B53FL,0x5927C40DL},{0x65C8F601L,0x08BF3634L,0x4E40EE1CL,5L,(-10L),0L,0x79480644L},{0xE236B53FL,0x8A8ADAEEL,(-8L),(-8L),0x8A8ADAEEL,0xE236B53FL,0x5BA9FA92L},{0L,0x4E40EE1CL,(-10L),2L,0x92F0222CL,4L,1L},{0L,0xE236B53FL,2L,0x5927C40DL,0x9106106EL,0x5927C40DL,2L},{0x4E40EE1CL,0x4E40EE1CL,0L,0xBD696FE4L,2L,0x65C8F601L,0x4ABD1C52L},{0x5BA9FA92L,0x8A8ADAEEL,0xD85AE513L,0x282CCBE8L,2L,0L,0L},{2L,0x08BF3634L,0xB9A5DADDL,0x08BF3634L,2L,0x4E40EE1CL,(-1L)},{0x6ACB35E5L,(-2L),0L,7L,0x9106106EL,0x9278647CL,0xE236B53FL}};
                  union U5 ** const *l_3564[4][1][10] = {{{(void*)0,&g_2614,(void*)0,&g_2614,(void*)0,&g_2614,(void*)0,&g_2614,(void*)0,&g_2614}},{{(void*)0,&g_2614,(void*)0,&g_2614,(void*)0,&g_2614,(void*)0,&g_2614,(void*)0,&g_2614}},{{(void*)0,&g_2614,(void*)0,&g_2614,(void*)0,&g_2614,(void*)0,&g_2614,(void*)0,&g_2614}},{{(void*)0,&g_2614,(void*)0,&g_2614,(void*)0,&g_2614,(void*)0,&g_2614,(void*)0,&g_2614}}};
                  uint8_t *l_3590 = &g_2728.f3;
                  const int16_t l_3604 = 0x4F3DL;
                  int16_t l_3619[1];
                  int i, j, k;
                  for (i = 0; i < 1; i++)
                      l_3619[i] = (-1L);
                  l_3373 = (void*)0;
                  l_3520--;
                  if (g_406)
                      break;
                  for (g_2794 = 5; (g_2794 >= 0); g_2794 -= 1)
                  { /* block id: 1714 */
                      uint16_t l_3533 = 65535UL;
                      int32_t l_3535 = 4L;
                      int32_t l_3540 = (-1L);
                      int32_t l_3547[8];
                      uint64_t l_3552 = 0x0F5D9969B358C53FLL;
                      uint64_t **l_3594 = &g_1042;
                      int8_t l_3618 = 5L;
                      int i;
                      for (i = 0; i < 8; i++)
                          l_3547[i] = 0x71D6FA9DL;
                      if ((((((*p_16) ^= (*p_15)) == ((l_3393 , ((p_14 & (&g_896[2][6] != l_3523)) == ((safe_add_func_int16_t_s_s((safe_add_func_int32_t_s_s(g_1057.f0, ((void*)0 == (**g_2661)))), (safe_add_func_int32_t_s_s((((safe_sub_func_int64_t_s_s((((((g_2740.f0 = (l_3532 , g_3216)) > l_3533) < p_14) || 0xBFF4266C06A2D681LL) & 0L), p_14)) , l_3533) <= 65535UL), p_17)))) , 7UL))) != (-1L))) | (-4L)) == l_3520))
                      { /* block id: 1717 */
                          int8_t l_3536[1][6][2];
                          int32_t l_3537 = 0x28D5785CL;
                          int32_t l_3539 = 1L;
                          int32_t l_3545 = 0xB0B5B0A6L;
                          uint32_t *l_3561 = (void*)0;
                          uint32_t *l_3562 = (void*)0;
                          uint32_t *l_3563 = &g_810;
                          int i, j, k;
                          for (i = 0; i < 1; i++)
                          {
                              for (j = 0; j < 6; j++)
                              {
                                  for (k = 0; k < 2; k++)
                                      l_3536[i][j][k] = 0x6BL;
                              }
                          }
                          ++l_3552;
                          g_2748[1][7].f0 |= (~(((safe_add_func_uint8_t_u_u((safe_div_func_uint32_t_u_u(l_3560, (*g_2594))), ((*p_15) >= ((*g_3140) = (((*l_3563) = (*g_2594)) >= (g_2341 & 0x18BCL)))))) , l_3564[0][0][5]) == l_3565));
                      }
                      else
                      { /* block id: 1722 */
                          const int16_t l_3583 = 0x3C85L;
                          struct S1 *l_3589 = &g_106;
                          l_3535 |= ((((*g_1042) = (((0x2E2CL || (65529UL && (safe_sub_func_int16_t_s_s(((safe_unary_minus_func_uint8_t_u((0x85L || ((safe_lshift_func_int8_t_s_u(((*p_15) = (((safe_rshift_func_uint16_t_u_u(((((*g_2594) = ((safe_sub_func_int16_t_s_s((((safe_div_func_int32_t_s_s(p_14, p_14)) , 0xA7L) > ((safe_mul_func_int16_t_s_s(g_106.f1, 2L)) ^ ((**g_3139) ^= ((safe_rshift_func_uint16_t_u_u((((((((safe_add_func_int32_t_s_s(g_273[0][0][3], (**g_2593))) <= l_3583) || l_3540) > p_17) , (void*)0) != (void*)0) == g_890.f2.f2), 8)) > 0xE7L)))), 1UL)) < l_3583)) , 6L) >= g_1817), l_3540)) && g_1057.f0) < (-1L))), 5)) & l_3583)))) , g_890.f2.f3), p_14)))) & l_3550[9][2]) & 0x2C5994F9L)) , p_14) && p_14);
                          l_3542 |= (safe_sub_func_int64_t_s_s((l_3586[2][4][1] == (l_3393 , &l_3307)), (((((((((((safe_rshift_func_uint16_t_u_s(((l_3589 == (((l_3590 == l_3591[1][3]) != (p_17 < (**g_3139))) , &l_3393)) < l_3535), p_17)) , p_14) & 0x64AEE2F6L) != l_3540) < p_17) >= 18446744073709551615UL) , 0x117FL) == p_14) <= (*p_16)) && 0x739D4E79211555DFLL) != 0xD5F8B45BL)));
                          g_2744.f0 ^= 0xF556CDABL;
                          l_3535 = (safe_mod_func_uint64_t_u_u((65535UL & (l_3594 != &g_1042)), (((0L | (((*l_3294) |= (safe_rshift_func_uint8_t_u_u((+p_14), 5))) ^ (p_14 ^ (((void*)0 == &g_3195) != (safe_mod_func_uint64_t_u_u(((safe_mul_func_uint8_t_u_u((p_17 && (*p_16)), (*p_16))) == (*p_16)), l_3547[3])))))) | l_3550[1][6]) && p_17)));
                      }
                      if (((safe_mod_func_uint16_t_u_u(l_3604, (((((safe_add_func_uint16_t_u_u((safe_lshift_func_int16_t_s_s(((-10L) > 0xFA5C1591DDD0D3DCLL), 1)), ((-1L) == (p_17 > ((safe_sub_func_uint16_t_u_u((safe_sub_func_int8_t_s_s(((((g_356 = ((*l_3294) = 0x4B5AL)) ^ 0x009FL) | ((((((g_1979 ^= 1L) ^ (safe_mul_func_uint16_t_u_u(((safe_unary_minus_func_uint16_t_u(65528UL)) < (-1L)), g_2728.f0))) && p_17) & p_14) == l_3618) < (-1L))) > p_14), 0L)), 0x5EB8L)) ^ p_14))))) ^ p_14) , 0x9C153CA8509A36C0LL) > (*g_1042)) && l_3619[0]))) != (*p_15)))
                      { /* block id: 1736 */
                          if (g_2727.f3)
                              break;
                          return p_17;
                      }
                      else
                      { /* block id: 1739 */
                          uint32_t l_3622 = 0x57CE6CD0L;
                          if (g_1077.f1)
                              break;
                          if (l_3619[0])
                              break;
                          l_3623[0][0][3] = ((++(**g_3139)) < (l_3622 = 0xD5L));
                          return p_14;
                      }
                  }
              }
          }
      }
      return p_17;
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_5 g_63 g_72 g_106 g_109 g_102 g_142 g_140 g_119 g_171 g_183 g_232 g_170 g_131 g_274 g_283 g_271 g_270 g_314 g_273 g_168 g_367 g_269 g_406 g_412 g_456 g_358 g_473 g_484 g_356 g_810 g_833 g_877 g_831 g_639 g_890.f2.f3 g_892.f2.f1 g_891 g_963 g_890.f2.f2 g_672 g_769 g_770 g_890.f2.f1 g_1042 g_996.f3 g_1055 g_1056 g_1077 g_1079 g_1060.f0 g_832 g_553 g_771 g_942.f2.f1 g_942.f2.f2 g_1200 g_1225 g_1259 g_1035 g_1057.f3 g_1497 g_1003.f1 g_1104.f0 g_1588 g_1587 g_585 g_2021 g_2057 g_1054 g_485 g_2087 g_1692.f3 g_1057.f0 g_1224 g_2986 g_2603 g_2729.f0 g_2720.f3 g_1798 g_3195 g_1001.f2
   * writes: g_72 g_102 g_109 g_119 g_142 g_131 g_168 g_171 g_106.f1 g_232 g_63 g_274 g_314 g_140 g_351 g_352 g_356 g_358 g_406 g_456 g_484 g_413.f3 g_106.f0 g_810 g_833 g_485 g_106 g_585 g_271 g_891 g_895 g_942.f0 g_639 g_963 g_473 g_270 g_1035 g_1041 g_1003.f2 g_1054 g_1056 g_1079 g_170 g_1060.f0 g_412 g_1110 g_553 g_273 g_1077.f1 g_1055 g_1225 g_1057.f0 g_1259 g_5 g_1077 g_672 g_1497 g_832 g_269 g_890.f0 g_1588 g_1594 g_1601 g_1603 g_1587 g_1104.f0 g_2005 g_2021 g_2057 g_1108.f3 g_2087 g_1817 g_1692.f3 g_2729.f0 g_2603 g_1798 g_2604 g_3195 g_3199
   */
  static int64_t  func_18(uint16_t  p_19, const int8_t * p_20, uint8_t  p_21, int8_t  p_22, int32_t  p_23)
  { /* block id: 1 */
      int8_t *l_49 = &g_5;
      int32_t l_55 = 1L;
      int8_t *l_61 = (void*)0;
      int8_t *l_62[2];
      int32_t l_64 = 4L;
      int32_t *l_71 = &g_72;
      int8_t *l_113 = (void*)0;
      uint16_t l_2221[10] = {0xEFE3L,0xEFE3L,0xEFE3L,0xEFE3L,0xEFE3L,0xEFE3L,0xEFE3L,0xEFE3L,0xEFE3L,0xEFE3L};
      uint64_t *** const l_2256 = &g_1041;
      int32_t l_2279 = 0x1A2AC929L;
      int32_t l_2280 = 0xC8400A24L;
      int32_t l_2290[4];
      struct S1 * const l_2327 = &g_1055;
      int32_t l_2330 = 0x38AF5A05L;
      union U3 *l_2428 = &g_2429;
      const struct S0 **l_2441 = (void*)0;
      const struct S0 ***l_2440 = &l_2441;
      const struct S0 ***l_2443 = &l_2441;
      union U5 ***l_2518[1][8] = {{(void*)0,&g_2005,(void*)0,&g_2005,(void*)0,&g_2005,(void*)0,&g_2005}};
      int8_t l_2660 = 1L;
      struct S2 *l_2706 = &g_2707[5];
      int8_t **l_2923 = &l_49;
      union U4 *l_2927[2];
      int16_t *l_2950 = (void*)0;
      int8_t l_3014 = 9L;
      int8_t l_3022 = 0xAEL;
      uint32_t l_3048 = 18446744073709551615UL;
      int32_t l_3131[1];
      uint8_t **l_3141 = &g_3140;
      uint32_t l_3231 = 0x795797B2L;
      int32_t l_3240 = (-10L);
      int32_t *l_3244 = &g_2722.f0;
      int32_t *l_3245 = &g_2732.f0;
      int32_t *l_3246 = (void*)0;
      int32_t *l_3247 = &g_2724.f0;
      int32_t *l_3248 = &g_2743.f0;
      int32_t *l_3249 = &g_2722.f0;
      int32_t *l_3250 = (void*)0;
      int32_t *l_3251 = &l_2290[1];
      int32_t *l_3252[8] = {&g_2725.f0,&g_1318.f0,&g_2725.f0,&g_1318.f0,&g_2725.f0,&g_1318.f0,&g_2725.f0,&g_1318.f0};
      int32_t l_3253 = 0x199019C6L;
      int32_t l_3254 = 4L;
      int16_t l_3256 = (-7L);
      uint8_t l_3257 = 0x09L;
      int i, j;
      for (i = 0; i < 2; i++)
          l_62[i] = &g_63;
      for (i = 0; i < 4; i++)
          l_2290[i] = 1L;
      for (i = 0; i < 2; i++)
          l_2927[i] = (void*)0;
      for (i = 0; i < 1; i++)
          l_3131[i] = 0x2FA2C421L;
      if ((safe_mul_func_int8_t_s_s((safe_div_func_int64_t_s_s(func_35(g_5, func_38(((((func_43(l_49, func_50(g_5, l_55, ((func_56((l_64 = 0xC4L), func_65(&g_5, g_63, (l_55 | (((*l_71) = (safe_lshift_func_int8_t_s_u(g_5, 0))) || 0xA44E0C42L))), p_22, l_113) > 0x4157FA2CL) , (void*)0), g_273[0][0][3]), l_49, g_877, g_831[0][2]) , &p_22) == (void*)0) == g_273[0][3][6]) , (*p_20)), g_996.f3, g_1055, &g_5)), 0x2AF0D8FA6027D5E1LL)), p_23)))
      { /* block id: 1093 */
          int16_t l_2171 = 0L;
          int64_t l_2191 = 0xB9D079ADA2791578LL;
          union U3 ***l_2245 = &g_1595;
          uint16_t **l_2260 = (void*)0;
          uint16_t ***l_2259 = &l_2260;
          struct S2 *l_2273 = &g_2274;
          int32_t l_2276 = 0xFC36C652L;
          int32_t l_2281 = 0L;
          int32_t l_2282 = 0x9C14D5ABL;
          int32_t l_2285 = 0x0FE8E939L;
          int32_t l_2286 = 0L;
          int32_t l_2289 = 0xCC85251FL;
          int32_t ** const l_2309 = (void*)0;
          int16_t l_2318 = 0xDA00L;
          union U6 **l_2333 = &g_553;
          struct S1 *l_2334 = &g_1055;
          int32_t l_2354 = 0x805EDFD5L;
          uint64_t **l_2374 = &g_1042;
          int8_t l_2419 = 1L;
          union U4 **l_2447[4] = {&g_1110,&g_1110,&g_1110,&g_1110};
          union U4 ***l_2446 = &l_2447[2];
          int32_t *l_2514[5] = {&g_942.f0,&g_942.f0,&g_942.f0,&g_942.f0,&g_942.f0};
          union U5 ***l_2515[2][10][1] = {{{&g_2005},{&g_2005},{&g_2005},{&g_2005},{(void*)0},{&g_2005},{(void*)0},{&g_2005},{&g_2005},{&g_2005}},{{&g_2005},{(void*)0},{&g_2005},{(void*)0},{&g_2005},{&g_2005},{&g_2005},{&g_2005},{(void*)0},{&g_2005}}};
          int32_t l_2532 = 0xF908FCA2L;
          uint8_t l_2591 = 255UL;
          const uint8_t l_2650[1][6] = {{0x8EL,0x02L,0x8EL,0x8EL,0x02L,0x8EL}};
          struct S1 l_2657 = {36,-56};
          union U5 *l_2719[8][10][3] = {{{&g_2739,&g_2721[1],&g_2737},{&g_2729,&g_2729,&g_2730},{(void*)0,(void*)0,&g_2744},{&g_2740,&g_2742[0][6],&g_2746[0][0][5]},{&g_2726,&g_2747,&g_2736},{&g_2734,&g_2745[3][3][1],(void*)0},{&g_2735,(void*)0,&g_2749},{&g_2720[6],&g_2726,&g_2736},{&g_2722,&g_2748[1][7],&g_2742[0][6]},{&g_2746[0][0][5],&g_2725,&g_2737}},{{(void*)0,&g_2722,(void*)0},{(void*)0,&g_2740,&g_2722},{&g_2746[0][0][5],&g_2745[3][3][1],&g_2745[3][3][1]},{&g_2722,&g_2739,&g_2724},{&g_2720[6],(void*)0,&g_2723},{&g_2735,&g_2722,&g_2742[0][6]},{&g_2740,&g_2744,&g_2749},{&g_2732,&g_2722,&g_2745[3][3][1]},{&g_2745[3][3][1],(void*)0,&g_2728},{&g_2746[0][0][5],&g_2739,&g_2732}},{{&g_2735,&g_2745[3][3][1],&g_2724},{&g_2744,&g_2740,&g_2736},{&g_2741[1][0],&g_2722,&g_2736},{&g_2726,&g_2725,&g_2724},{&g_2732,&g_2748[1][7],&g_2732},{(void*)0,&g_2726,&g_2728},{&g_2740,(void*)0,&g_2745[3][3][1]},{&g_2741[1][0],&g_2745[3][3][1],&g_2749},{&g_2731[0],(void*)0,&g_2742[0][6]},{&g_2741[1][0],&g_2748[1][7],&g_2723}},{{&g_2740,&g_2731[0],&g_2724},{(void*)0,&g_2735,&g_2745[3][3][1]},{&g_2732,&g_2726,&g_2722},{&g_2726,&g_2739,(void*)0},{&g_2741[1][0],&g_2739,&g_2737},{&g_2744,&g_2726,&g_2742[0][6]},{&g_2735,&g_2735,&g_2736},{&g_2746[0][0][5],&g_2731[0],&g_2749},{&g_2745[3][3][1],&g_2748[1][7],(void*)0},{&g_2732,(void*)0,&g_2741[1][0]}},{{&g_2740,&g_2745[3][3][1],(void*)0},{&g_2735,(void*)0,&g_2749},{&g_2720[6],&g_2726,&g_2736},{&g_2722,&g_2748[1][7],&g_2742[0][6]},{&g_2746[0][0][5],&g_2725,&g_2737},{(void*)0,&g_2722,(void*)0},{(void*)0,&g_2740,&g_2722},{&g_2746[0][0][5],&g_2745[3][3][1],&g_2745[3][3][1]},{&g_2722,&g_2739,&g_2724},{&g_2720[6],(void*)0,&g_2723}},{{&g_2735,&g_2722,&g_2742[0][6]},{&g_2740,&g_2744,&g_2749},{&g_2732,&g_2722,&g_2745[3][3][1]},{&g_2745[3][3][1],(void*)0,&g_2728},{&g_2746[0][0][5],&g_2739,&g_2732},{&g_2735,&g_2745[3][3][1],&g_2724},{&g_2744,&g_2740,&g_2736},{&g_2741[1][0],&g_2722,&g_2736},{&g_2726,&g_2725,&g_2724},{&g_2732,&g_2748[1][7],&g_2732}},{{(void*)0,&g_2726,&g_2728},{&g_2740,(void*)0,&g_2745[3][3][1]},{&g_2741[1][0],&g_2745[3][3][1],&g_2749},{&g_2731[0],(void*)0,&g_2742[0][6]},{&g_2741[1][0],&g_2748[1][7],&g_2723},{&g_2740,&g_2731[0],&g_2724},{(void*)0,&g_2735,&g_2745[3][3][1]},{&g_2732,&g_2726,&g_2722},{&g_2726,&g_2739,(void*)0},{&g_2747,&g_2744,&g_2742[0][6]}},{{&g_2749,&g_2732,&g_2748[1][7]},{(void*)0,(void*)0,&g_2741[1][0]},{(void*)0,&g_2737,&g_2723},{&g_2720[6],&g_2721[1],&g_2725},{&g_2738,(void*)0,&g_2747},{&g_2745[3][3][1],&g_2720[6],&g_2725},{(void*)0,&g_2731[0],&g_2723},{&g_2724,&g_2732,&g_2741[1][0]},{&g_2727,&g_2721[1],&g_2748[1][7]},{(void*)0,&g_2730,&g_2742[0][6]}}};
          int32_t l_2791 = (-8L);
          struct S0 *l_2823[9][4] = {{&g_2824,&g_2824,&g_2824,&g_2824},{&g_2824,&g_2824,&g_2824,&g_2824},{&g_2824,&g_2824,&g_2824,&g_2824},{&g_2824,&g_2824,&g_2824,&g_2824},{&g_2824,&g_2824,&g_2824,&g_2824},{&g_2824,&g_2824,&g_2824,&g_2824},{&g_2824,&g_2824,&g_2824,&g_2824},{&g_2824,&g_2824,&g_2824,&g_2824},{&g_2824,&g_2824,&g_2824,&g_2824}};
          uint64_t l_2914 = 0x33F460C0EEEFFEA5LL;
          int i, j, k;
      }
      else
      { /* block id: 1427 */
          uint32_t l_2975 = 18446744073709551615UL;
          int64_t *l_2976 = &g_269;
          int64_t *l_2977 = &g_1817;
          uint8_t *l_2989 = &g_413[8].f3;
          int32_t *l_2990 = &g_2729.f0;
          struct S1 l_2993 = {20,57};
          union U6 *l_3042 = (void*)0;
          int32_t l_3044 = 0x730C5E3AL;
          int32_t l_3045[4][2][7] = {{{(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)},{0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL}},{{(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)},{0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL}},{{(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)},{0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL}},{{(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)},{0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL,0xB7AB3DDAL}}};
          const union U4 *l_3093 = (void*)0;
          int32_t l_3129 = 0x9A0926D8L;
          uint16_t l_3130 = 65532UL;
          uint32_t l_3148 = 1UL;
          uint64_t l_3174 = 0x0E1917BBBF6ECDABLL;
          uint8_t l_3187 = 255UL;
          int8_t ***l_3219 = &l_2923;
          int i, j, k;
          (*l_2990) = ((safe_add_func_uint8_t_u_u((p_22 & (+((*l_71) |= 0x52822CC2L))), (safe_mul_func_uint16_t_u_u((((*l_2977) = ((*l_2976) = l_2975)) , ((safe_sub_func_uint8_t_u_u((g_1224 & ((safe_sub_func_uint8_t_u_u(((*l_2989) = (safe_lshift_func_uint8_t_u_s((safe_lshift_func_uint16_t_u_u(p_22, (g_2986 == (void*)0))), 4))), 0x4EL)) , ((0x7480214DL == 4294967289UL) , (*p_20)))), l_2975)) > 0xADEEL)), p_23)))) < 0L);
          for (g_2603 = (-21); (g_2603 <= (-1)); g_2603 = safe_add_func_uint32_t_u_u(g_2603, 6))
          { /* block id: 1435 */
              struct S1 l_2994 = {119,-3};
              int32_t *l_2995 = &g_2747.f0;
              int32_t *l_2996 = &g_2723.f0;
              int32_t *l_2997 = &g_2725.f0;
              int32_t *l_2998 = &g_2748[1][7].f0;
              int32_t *l_2999 = &g_2723.f0;
              int32_t *l_3000 = (void*)0;
              int32_t *l_3001 = &g_2723.f0;
              int32_t *l_3002 = (void*)0;
              int32_t *l_3003 = &g_2723.f0;
              int32_t *l_3004 = &g_2735.f0;
              int32_t *l_3005 = &l_2330;
              int32_t *l_3006 = &g_2742[0][6].f0;
              int32_t *l_3007 = &l_2290[1];
              int32_t *l_3008 = &g_1104[2][1].f0;
              int32_t *l_3009 = &g_72;
              int32_t *l_3010 = &g_1060.f0;
              int32_t *l_3011 = (void*)0;
              int32_t l_3012[7][5] = {{0x5D240476L,(-1L),(-1L),0x5D240476L,(-1L)},{0x5D240476L,0x5D240476L,(-6L),0x5D240476L,0x5D240476L},{(-1L),0x5D240476L,(-1L),(-1L),0x5D240476L},{0x5D240476L,(-1L),(-1L),0x5D240476L,(-1L)},{0x5D240476L,0x5D240476L,(-6L),0x5D240476L,0x5D240476L},{(-1L),0x5D240476L,(-1L),(-1L),0x5D240476L},{0x5D240476L,(-1L),(-1L),0x5D240476L,(-1L)}};
              int32_t *l_3013[9][7][3] = {{{&g_2739.f0,&g_2739.f0,&g_2742[0][6].f0},{&l_3012[0][3],&g_2729.f0,&g_1104[2][1].f0},{&g_2722.f0,&g_2722.f0,&g_2728.f0},{&g_72,&l_64,&l_55},{&g_2728.f0,&l_2330,&g_2749.f0},{(void*)0,&g_72,&g_2743.f0},{&g_2746[0][0][5].f0,&g_2728.f0,&g_2749.f0}},{{(void*)0,&l_3012[0][3],&l_55},{&l_3012[0][1],(void*)0,&g_2728.f0},{&g_2744.f0,&g_2720[6].f0,&g_1104[2][1].f0},{&l_3012[0][4],&g_2722.f0,&l_3012[0][4]},{(void*)0,&g_72,&g_72},{&g_2748[1][7].f0,&g_2728.f0,&g_2739.f0},{&g_1104[2][1].f0,(void*)0,&g_1057.f0}},{{&g_2737.f0,&g_2746[0][0][5].f0,&g_2739.f0},{&g_1104[2][1].f0,(void*)0,&g_2728.f0},{&g_2748[1][7].f0,&l_3012[0][1],&l_2330},{(void*)0,&g_2744.f0,&g_2743.f0},{&l_3012[0][4],&g_2742[0][6].f0,&g_2742[0][6].f0},{(void*)0,&g_2725.f0,&g_2743.f0},{&g_2749.f0,&g_2722.f0,&l_3012[0][4]}},{{&l_64,&g_2744.f0,&g_2742[0][6].f0},{(void*)0,&g_2728.f0,&l_3012[0][1]},{&l_2290[1],&g_2744.f0,&g_72},{&g_2737.f0,&g_2722.f0,&g_1060.f0},{&g_2737.f0,&g_2725.f0,&g_2728.f0},{&g_2728.f0,&g_2742[0][6].f0,&l_64},{&g_2744.f0,&g_2744.f0,(void*)0}},{{(void*)0,&l_3012[0][1],&l_3012[6][3]},{(void*)0,(void*)0,&g_1318.f0},{&g_2721[1].f0,&g_2746[0][0][5].f0,&l_3012[0][4]},{&l_55,(void*)0,&g_1318.f0},{&g_1060.f0,&g_2728.f0,&l_3012[6][3]},{&g_2738.f0,&g_72,(void*)0},{&g_2737.f0,&g_2722.f0,&l_64}},{{&g_2728.f0,&l_3012[0][3],&g_2728.f0},{(void*)0,&g_2739.f0,&g_1060.f0},{&g_2729.f0,&g_2744.f0,&g_72},{(void*)0,&g_2737.f0,&l_3012[0][1]},{(void*)0,(void*)0,&g_2742[0][6].f0},{(void*)0,&l_3012[6][3],&l_3012[0][4]},{&g_2729.f0,&g_1057.f0,&g_2743.f0}},{{(void*)0,&g_2728.f0,&g_2742[0][6].f0},{&g_2728.f0,&g_2743.f0,&g_2743.f0},{&g_2737.f0,&l_2280,&l_2330},{&g_2738.f0,&g_2738.f0,&g_2728.f0},{&g_1060.f0,&l_3012[6][3],&g_2739.f0},{&l_55,&g_2744.f0,&g_1057.f0},{&g_2721[1].f0,&l_3012[6][3],&g_2739.f0}},{{(void*)0,&g_2738.f0,&g_72},{(void*)0,&l_2280,&l_3012[0][4]},{&g_2744.f0,&g_2743.f0,&g_2720[6].f0},{&g_2728.f0,&g_2728.f0,&g_2737.f0},{&g_2737.f0,&g_1057.f0,&g_2744.f0},{&g_2737.f0,&l_3012[6][3],&g_1057.f0},{&l_2290[1],(void*)0,&g_2728.f0}},{{(void*)0,&g_2737.f0,&g_1057.f0},{&l_64,&g_2744.f0,&g_2744.f0},{&g_2749.f0,&g_2739.f0,&g_2737.f0},{(void*)0,&l_3012[0][3],&g_2720[6].f0},{&l_3012[0][4],&g_2722.f0,&l_3012[0][4]},{(void*)0,&g_72,&g_72},{&g_2748[1][7].f0,&g_2728.f0,&g_2739.f0}}};
              uint8_t l_3015 = 0xF2L;
              int8_t l_3046 = 0x39L;
              int32_t l_3047 = 0L;
              uint16_t *l_3070[7];
              uint16_t **l_3069 = &l_3070[1];
              uint32_t ** const *l_3092 = &g_2987;
              int16_t l_3121 = 0x098DL;
              union U4 *l_3144 = &g_3145[5];
              uint8_t l_3159 = 0xF7L;
              int i, j, k;
              for (i = 0; i < 7; i++)
                  l_3070[i] = &g_142[0];
              l_2994 = l_2993;
              l_3015++;
          }
          (*l_2327) = ((safe_sub_func_uint64_t_u_u((*g_1042), ((p_23 || (safe_mod_func_uint32_t_u_u((*l_2990), g_2720[6].f3))) , l_3174))) , (*l_2327));
          for (l_3148 = 0; (l_3148 <= 9); l_3148 += 1)
          { /* block id: 1502 */
              int64_t l_3186 = 0x95F65124DAFD871DLL;
              int32_t l_3200 = 1L;
              int32_t l_3229 = 0xE9EEDD45L;
              int32_t l_3239[4][4];
              uint16_t l_3241 = 65535UL;
              int i, j;
              for (i = 0; i < 4; i++)
              {
                  for (j = 0; j < 4; j++)
                      l_3239[i][j] = 0x85F8D3F8L;
              }
              for (g_1798 = 0; (g_1798 <= 0); g_1798 += 1)
              { /* block id: 1505 */
                  for (g_170 = 0; (g_170 <= 5); g_170 += 1)
                  { /* block id: 1508 */
                      int64_t l_3178 = 1L;
                      int32_t l_3185 = 0x314FF98FL;
                      const struct S2 *l_3192 = &g_3193;
                      for (g_2604 = 5; (g_2604 >= 1); g_2604 -= 1)
                      { /* block id: 1511 */
                          int32_t l_3175 = (-5L);
                          int32_t *l_3176 = &l_55;
                          int32_t *l_3177 = &g_2726.f0;
                          int32_t *l_3179 = &l_2280;
                          int32_t *l_3180 = (void*)0;
                          int32_t *l_3181 = &g_2733.f0;
                          int32_t *l_3182 = &l_64;
                          int32_t *l_3183 = &g_963;
                          int32_t *l_3184[2][3][1] = {{{&l_2330},{&g_2743.f0},{&l_2330}},{{&g_2743.f0},{&l_2330},{&g_2743.f0}}};
                          int i, j, k;
                          ++l_3187;
                          return l_3131[g_1798];
                      }
                      for (g_171 = 0; (g_171 <= 9); g_171 += 1)
                      { /* block id: 1517 */
                          int32_t **l_3190 = (void*)0;
                          int32_t **l_3191[4] = {&l_2990,&l_2990,&l_2990,&l_2990};
                          const struct S2 **l_3194 = &l_3192;
                          const union U4 ***l_3196 = &g_3195;
                          union U4 **l_3198 = &l_2927[0];
                          union U4 ***l_3197 = &l_3198;
                          int i;
                          g_456 = &l_3131[g_1798];
                          (*l_3194) = l_3192;
                          l_3131[g_1798] &= (((*l_3196) = g_3195) != (g_3199 = ((*l_3197) = &g_412)));
                      }
                  }
              }
              if (p_23)
                  continue;
              (*l_71) = p_23;
              (*l_71) ^= (l_3200 = g_1001[2].f2);
              for (g_833 = 0; (g_833 <= 0); g_833 += 1)
              { /* block id: 1533 */
                  uint8_t l_3217 = 0xF3L;
                  uint16_t *l_3218 = &g_2057[1][1];
                  int32_t l_3230[1][8][8] = {{{0xB542C48FL,0x6768DDA7L,0xABB9C6FDL,0xEEB931A7L,8L,0xEEB931A7L,0xABB9C6FDL,0x6768DDA7L},{0xABB9C6FDL,0xD886B19BL,3L,0x3BF1932CL,0x6A83392FL,0xABB9C6FDL,(-1L),0L},{0xA9B3BC4DL,(-1L),0xEEB931A7L,0x8D94FDDDL,0xABB9C6FDL,8L,0x63404A54L,0x3BF1932CL},{0x43CD2D2DL,0xB542C48FL,0xB1B52AB7L,0xA9B3BC4DL,0xABB9C6FDL,0xABB9C6FDL,0xA9B3BC4DL,0xB1B52AB7L},{0xABB9C6FDL,0xABB9C6FDL,0xA9B3BC4DL,0xB1B52AB7L,0xB542C48FL,0x43CD2D2DL,0x6768DDA7L,8L},{(-3L),0xA9B3BC4DL,0xB542C48FL,0L,0x63404A54L,3L,0xEEB931A7L,8L},{0xA9B3BC4DL,(-1L),(-1L),0xB1B52AB7L,1L,0xA9B3BC4DL,1L,0xB1B52AB7L},{0L,0x98C10640L,0L,0xA9B3BC4DL,0x3A9B772FL,0x9A53CD34L,0x98C10640L,0x3BF1932CL}}};
                  int i, j, k;
              }
          }
      }
      ++l_3257;
      return p_21;
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_5 g_1042 g_358 g_1035 g_831 g_273 g_832 g_942.f2.f2 g_833 g_72 g_271 g_356 g_1077.f1 g_553 g_106.f0 g_890.f2.f1 g_119 g_1057.f3 g_473 g_1497 g_270 g_963 g_1003.f1 g_140 g_1104.f0 g_1588 g_1587 g_102 g_585 g_2021 g_1060.f0 g_2057 g_1054 g_485 g_2087 g_314 g_456 g_1692.f3 g_1057.f0
   * writes: g_5 g_106 g_1055 g_358 g_1035 g_1077 g_963 g_672 g_72 g_1056 g_140 g_942.f0 g_456 g_553 g_271 g_119 g_1497 g_832 g_270 g_269 g_142 g_890.f0 g_274 g_232 g_891 g_1225 g_1588 g_1594 g_1601 g_1603 g_1587 g_1104.f0 g_102 g_2005 g_2021 g_2057 g_485 g_1108.f3 g_1060.f0 g_2087 g_1817 g_314 g_1692.f3
   */
  static int64_t  func_35(int64_t  p_36, int8_t * p_37)
  { /* block id: 609 */
      const uint64_t l_1264 = 0UL;
      const struct S1 l_1272 = {11,62};
      union U5 **l_1304 = &g_1056;
      int16_t l_1323 = 0xC33DL;
      int32_t l_1336 = 0x8A43AD4FL;
      union U6 * const l_1367 = &g_1368;
      union U3 **l_1419 = &g_1079;
      int32_t l_1483 = 0x1733CD1AL;
      int32_t l_1484 = 5L;
      int32_t l_1486 = 0x79DE17C2L;
      int32_t l_1488 = 0x9178111EL;
      int32_t l_1489 = 0L;
      int32_t l_1493 = 0x89094CE6L;
      int32_t l_1494 = (-6L);
      struct S1 l_1563[4][1] = {{{47,46}},{{47,46}},{{47,46}},{{47,46}}};
      int32_t l_1585[7][9][4] = {{{0xCF7C07BBL,0xCC680584L,0x4CF7E1B6L,(-10L)},{0xDEB945FAL,1L,0x83AF7DBFL,1L},{(-10L),0x83AF7DBFL,(-1L),0x4CF7E1B6L},{(-10L),0xA58BD551L,0x83AF7DBFL,(-1L)},{0xDEB945FAL,0x4CF7E1B6L,0x4CF7E1B6L,0xDEB945FAL},{0xCF7C07BBL,0x8F01C95EL,0xDEB945FAL,1L},{(-1L),(-1L),0xF72F7D5AL,5L},{0L,1L,0xCC680584L,5L},{0x8F01C95EL,(-1L),0L,1L}},{{0xA58BD551L,0x8F01C95EL,0xA58BD551L,0xDEB945FAL},{0xCC680584L,0x4CF7E1B6L,(-10L),(-1L)},{5L,0xA58BD551L,1L,0x4CF7E1B6L},{0xD58E5496L,0x83AF7DBFL,1L,1L},{5L,1L,(-10L),(-10L)},{0xCC680584L,0xCC680584L,0xA58BD551L,0xD58E5496L},{0xA58BD551L,0xD58E5496L,0L,0x8F01C95EL},{0x8F01C95EL,(-1L),0xCC680584L,0L},{0L,(-1L),0xF72F7D5AL,0x8F01C95EL}},{{(-1L),0xD58E5496L,0xDEB945FAL,0xD58E5496L},{0xCF7C07BBL,0xCC680584L,0x4CF7E1B6L,(-10L)},{0xDEB945FAL,1L,0x83AF7DBFL,1L},{(-10L),0x83AF7DBFL,(-1L),0x4CF7E1B6L},{(-10L),0xA58BD551L,0x83AF7DBFL,(-1L)},{0xDEB945FAL,0x4CF7E1B6L,0x4CF7E1B6L,0xDEB945FAL},{0xCF7C07BBL,0x8F01C95EL,0xDEB945FAL,1L},{(-1L),(-1L),0xF72F7D5AL,5L},{0L,1L,0xCC680584L,5L}},{{0x8F01C95EL,(-1L),0L,1L},{0xA58BD551L,0x8F01C95EL,0xA58BD551L,0xDEB945FAL},{0xCC680584L,0x4CF7E1B6L,(-10L),(-1L)},{5L,0xA58BD551L,1L,0x4CF7E1B6L},{0xD58E5496L,0x83AF7DBFL,1L,1L},{5L,1L,(-10L),(-10L)},{0xCC680584L,0xCC680584L,0xA58BD551L,0xD58E5496L},{0xA58BD551L,0xD58E5496L,0L,0x8F01C95EL},{0x8F01C95EL,(-1L),0xCC680584L,0L}},{{(-1L),0xD58E5496L,0x8F01C95EL,0x83AF7DBFL},{0xD58E5496L,0x4CF7E1B6L,0xA58BD551L,0x4CF7E1B6L},{(-1L),0L,0xCC680584L,0xDEB945FAL},{0xA58BD551L,1L,5L,0xF72F7D5AL},{0xDEB945FAL,5L,0xD58E5496L,0xCC680584L},{0xDEB945FAL,0xCF7C07BBL,5L,0L},{0xA58BD551L,0xCC680584L,0xCC680584L,0xA58BD551L},{(-1L),0x83AF7DBFL,0xA58BD551L,(-10L)},{0xD58E5496L,0L,0x8F01C95EL,1L}},{{(-1L),0xF72F7D5AL,0L,1L},{0x83AF7DBFL,0L,(-1L),(-10L)},{0xCF7C07BBL,0x83AF7DBFL,0xCF7C07BBL,0xA58BD551L},{0L,0xCC680584L,0xDEB945FAL,0L},{1L,0xCF7C07BBL,(-10L),0xCC680584L},{0x4CF7E1B6L,5L,(-10L),0xF72F7D5AL},{1L,1L,0xDEB945FAL,0xDEB945FAL},{0L,0L,0xCF7C07BBL,0x4CF7E1B6L},{0xCF7C07BBL,0x4CF7E1B6L,(-1L),0x83AF7DBFL}},{{0x83AF7DBFL,0xD58E5496L,0L,(-1L)},{(-1L),0xD58E5496L,0x8F01C95EL,0x83AF7DBFL},{0xD58E5496L,0x4CF7E1B6L,0xA58BD551L,0x4CF7E1B6L},{(-1L),0L,0xCC680584L,0xDEB945FAL},{0xA58BD551L,1L,5L,0xF72F7D5AL},{0xDEB945FAL,5L,0xD58E5496L,0xCC680584L},{0xDEB945FAL,0xCF7C07BBL,5L,0L},{0xA58BD551L,0xCC680584L,0xCC680584L,0xA58BD551L},{(-1L),0x83AF7DBFL,0xA58BD551L,(-10L)}}};
      uint64_t *** const l_1591[10][8][3] = {{{&g_1041,&g_1041,(void*)0},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,(void*)0},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041}},{{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,(void*)0,(void*)0},{&g_1041,&g_1041,(void*)0},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041}},{{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,(void*)0,&g_1041},{&g_1041,&g_1041,(void*)0},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,(void*)0},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041}},{{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,(void*)0,&g_1041}},{{&g_1041,&g_1041,&g_1041},{&g_1041,(void*)0,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,(void*)0,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041}},{{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{(void*)0,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041}},{{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,(void*)0,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,(void*)0,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,(void*)0,&g_1041},{&g_1041,&g_1041,&g_1041}},{{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041}},{{&g_1041,&g_1041,&g_1041},{(void*)0,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,(void*)0,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,(void*)0,&g_1041}},{{&g_1041,&g_1041,&g_1041},{&g_1041,(void*)0,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041},{&g_1041,&g_1041,&g_1041}}};
      const union U3 *l_1598 = &g_1599;
      const union U3 **l_1597 = &l_1598;
      const union U3 ***l_1596 = &l_1597;
      uint8_t *l_1615 = &g_1108[2][8][0].f3;
      uint8_t *l_1616 = &g_413[8].f3;
      uint8_t *l_1617[7][4] = {{&g_1060.f3,&g_1060.f3,&g_1060.f3,&g_1057.f3},{&g_1060.f3,&g_1060.f3,(void*)0,&g_1104[2][1].f3},{&g_1104[2][1].f3,&g_274,&g_102,&g_1060.f3},{(void*)0,&g_102,&g_102,(void*)0},{&g_1104[2][1].f3,&g_1057.f3,(void*)0,&g_1060.f3},{&g_1060.f3,(void*)0,&g_1060.f3,&g_833},{&g_1060.f3,&g_833,&g_1104[2][1].f3,&g_833}};
      int8_t l_1618[6] = {0xA9L,0xA9L,0xA9L,0xA9L,0xA9L,0xA9L};
      struct S0 *l_1679[2];
      int8_t *l_1723 = &l_1618[3];
      int8_t **l_1722 = &l_1723;
      int8_t ***l_1721[1][6][2] = {{{&l_1722,&l_1722},{&l_1722,&l_1722},{&l_1722,&l_1722},{&l_1722,&l_1722},{&l_1722,&l_1722},{&l_1722,&l_1722}}};
      struct S1 **l_1779 = (void*)0;
      union U4 *l_1801[2][6][1];
      int32_t *l_1920 = &g_892.f0;
      int32_t l_2003[10][9][2] = {{{0x1E8919D7L,0x525B4A68L},{0x0C51127AL,0L},{0x0C51127AL,0x525B4A68L},{0x1E8919D7L,(-2L)},{0x525B4A68L,0xEDB54BE3L},{0x9C6D7977L,0x5F3092E9L},{0x16B86D7CL,(-9L)},{(-9L),0x25778D1FL},{0x5F2BD56DL,(-1L)}},{{0xD2C95FACL,0x3D98C6D5L},{0x25778D1FL,0L},{(-5L),0x9C6D7977L},{(-1L),0x1E8919D7L},{0xF7836477L,0xD2C95FACL},{0x35389DADL,(-3L)},{0L,0x2BF9B842L},{0L,0xFB4A0245L},{(-1L),0xFB4A0245L}},{{0L,0x2BF9B842L},{0L,(-3L)},{0x35389DADL,0xD2C95FACL},{0xF7836477L,0x1E8919D7L},{(-1L),0x9C6D7977L},{(-5L),0L},{0x25778D1FL,0x3D98C6D5L},{0xD2C95FACL,(-1L)},{0x5F2BD56DL,0x25778D1FL}},{{(-9L),(-9L)},{0x16B86D7CL,0x5F3092E9L},{0x9C6D7977L,0xEDB54BE3L},{0x525B4A68L,(-2L)},{0x1E8919D7L,0x525B4A68L},{0x0C51127AL,0L},{0x0C51127AL,0x525B4A68L},{0x1E8919D7L,(-2L)},{0x525B4A68L,0xEDB54BE3L}},{{0x9C6D7977L,0x5F3092E9L},{0x16B86D7CL,(-9L)},{(-9L),0x25778D1FL},{0x5F2BD56DL,(-1L)},{0xD2C95FACL,0x3D98C6D5L},{0x25778D1FL,0L},{(-5L),0x9C6D7977L},{(-1L),0x1E8919D7L},{0xF7836477L,0xD2C95FACL}},{{0x35389DADL,(-3L)},{0L,0x2BF9B842L},{0L,0xFB4A0245L},{(-1L),0xFB4A0245L},{0L,0x2BF9B842L},{0L,(-3L)},{0x35389DADL,0xD2C95FACL},{0xF7836477L,0x1E8919D7L},{(-1L),0x9C6D7977L}},{{(-5L),0L},{0x25778D1FL,0x3D98C6D5L},{0xD2C95FACL,(-1L)},{0x5F2BD56DL,0x25778D1FL},{(-9L),(-9L)},{0x16B86D7CL,0x5F3092E9L},{0x9C6D7977L,0xEDB54BE3L},{0x525B4A68L,(-2L)},{0x1E8919D7L,0x525B4A68L}},{{0x0C51127AL,0L},{0x0C51127AL,0x525B4A68L},{0x1E8919D7L,(-2L)},{0x525B4A68L,0xEDB54BE3L},{0x9C6D7977L,0x5F3092E9L},{0x16B86D7CL,(-9L)},{(-9L),0x25778D1FL},{0x5F2BD56DL,(-1L)},{0xD2C95FACL,0x3D98C6D5L}},{{0x25778D1FL,0L},{(-5L),0x9C6D7977L},{(-1L),0x1E8919D7L},{0xF7836477L,0xD2C95FACL},{0x35389DADL,(-3L)},{0L,0x2BF9B842L},{0L,0xFB4A0245L},{(-1L),0xFB4A0245L},{0L,0x2BF9B842L}},{{0L,(-3L)},{0x35389DADL,0xD2C95FACL},{0xF7836477L,0x1E8919D7L},{(-1L),0x9C6D7977L},{(-5L),0L},{0x25778D1FL,0x3D98C6D5L},{0xD2C95FACL,(-1L)},{0x5F2BD56DL,0x25778D1FL},{0x3F61AC9BL,0x3F61AC9BL}}};
      int64_t l_2016[2][3] = {{9L,5L,5L},{9L,5L,5L}};
      uint16_t l_2090 = 65535UL;
      int8_t l_2102 = (-9L);
      uint8_t l_2122 = 0x04L;
      int i, j, k;
      for (i = 0; i < 2; i++)
          l_1679[i] = &g_1680;
      for (i = 0; i < 2; i++)
      {
          for (j = 0; j < 6; j++)
          {
              for (k = 0; k < 1; k++)
                  l_1801[i][j][k] = (void*)0;
          }
      }
      for (g_5 = 0; (g_5 <= 0); g_5 += 1)
      { /* block id: 612 */
          struct S1 l_1261 = {93,16};
          uint32_t *l_1280 = &g_314;
          uint32_t **l_1281 = (void*)0;
          uint32_t *l_1283 = &g_171;
          uint32_t **l_1282 = &l_1283;
          union U5 **l_1303 = &g_1056;
          int32_t *l_1311 = (void*)0;
          int32_t l_1312 = 0xF2ADB5C6L;
          uint16_t *l_1313[5] = {&g_142[1],&g_142[1],&g_142[1],&g_142[1],&g_142[1]};
          uint64_t *l_1320 = &g_358;
          uint64_t l_1326 = 18446744073709551607UL;
          uint32_t l_1383 = 0x2AFB85B1L;
          int32_t l_1490 = 0L;
          int32_t l_1491 = 0L;
          int32_t l_1496 = (-2L);
          int64_t l_1524 = (-5L);
          struct S1 l_1554 = {121,-20};
          int i;
          if (p_36)
          { /* block id: 613 */
              struct S1 *l_1262 = &g_106;
              struct S1 *l_1263 = &g_1055;
              int32_t l_1271[7] = {0x7426A777L,0x7426A777L,0x0CB63237L,0x7426A777L,0x7426A777L,0x0CB63237L,0x7426A777L};
              int i;
              (*l_1263) = ((*l_1262) = l_1261);
              l_1261 = ((*l_1262) = (l_1264 , ((safe_lshift_func_int8_t_s_u((safe_rshift_func_uint16_t_u_u((safe_mod_func_uint64_t_u_u(((*g_1042) = (*g_1042)), l_1264)), 6)), 4)) , l_1261)));
              if (l_1264)
                  break;
              if (l_1271[1])
                  break;
          }
          else
          { /* block id: 621 */
              struct S1 l_1273 = {164,9};
              for (g_1035 = 0; (g_1035 <= 0); g_1035 += 1)
              { /* block id: 624 */
                  int i, j;
                  return g_831[g_5][(g_1035 + 5)];
              }
              if ((((void*)0 != &g_170) , (l_1272 , 0x5FA2E6F7L)))
              { /* block id: 627 */
                  return p_36;
              }
              else
              { /* block id: 629 */
                  struct S1 *l_1274 = &g_1077;
                  (*l_1274) = l_1273;
              }
          }
          if ((safe_rshift_func_uint8_t_u_u(l_1264, (((safe_mod_func_uint16_t_u_u((+((l_1280 = l_1280) == ((*l_1282) = &g_314))), 65535UL)) <= 0x2846D27EL) != 2UL))))
          { /* block id: 635 */
              const uint32_t l_1284 = 1UL;
              if (l_1284)
                  break;
          }
          else
          { /* block id: 637 */
              int32_t l_1285 = 1L;
              return l_1285;
          }
          if ((safe_lshift_func_int16_t_s_s(((g_672 = (safe_rshift_func_int8_t_s_u((safe_unary_minus_func_int64_t_s((!(safe_sub_func_int16_t_s_s((safe_rshift_func_int16_t_s_s(((((safe_add_func_int64_t_s_s((safe_mod_func_uint16_t_u_u(p_36, (((((~((l_1261.f0 ^ ((l_1304 = l_1303) != (void*)0)) <= 0x90C4284AEEE4535CLL)) < (g_963 = (g_273[0][0][3] <= (((safe_sub_func_uint8_t_u_u((safe_lshift_func_int16_t_s_s(((l_1261.f0 < (safe_div_func_int16_t_s_s((((&g_1041 != &g_1041) || l_1261.f0) , g_832), 0xD6F0L))) == l_1272.f1), p_36)), p_36)) >= 4294967290UL) || l_1261.f1)))) | g_942.f2.f2) != l_1312) || p_36))), l_1264)) | p_36) & p_36) | 0UL), 1)), 0xB078L))))), 3))) > 65527UL), 13)))
          { /* block id: 643 */
              int8_t l_1314[9] = {0x63L,0x63L,0x63L,0x63L,0x63L,0x63L,0x63L,0x63L,0x63L};
              int32_t *l_1315 = &g_72;
              union U5 * const l_1317 = &g_1318;
              int16_t l_1333 = (-1L);
              uint64_t * const l_1334 = &l_1326;
              int32_t *l_1335 = &l_1312;
              int i;
              if (((*l_1315) = l_1314[6]))
              { /* block id: 645 */
                  uint64_t l_1316 = 0x6DAD982124C7CA6ALL;
                  return l_1316;
              }
              else
              { /* block id: 647 */
                  union U5 **l_1319 = &g_1056;
                  (*l_1319) = l_1317;
              }
              if (p_36)
                  continue;
              l_1336 |= ((*l_1335) ^= (((l_1320 != ((safe_mul_func_uint16_t_u_u(l_1323, (safe_sub_func_uint64_t_u_u(l_1326, ((((l_1333 = ((safe_unary_minus_func_int64_t_s(0x58759906BCEFDEBELL)) == (l_1261.f0 , (safe_add_func_int32_t_s_s((~((((safe_lshift_func_int8_t_s_s((g_833 > (l_1261 , 0xAC66L)), 3)) ^ 0xE9L) ^ p_36) < (*g_1042))), (*l_1315)))))) < 1L) == 0xD1L) != p_36))))) , l_1334)) , 5UL) ^ g_271));
          }
          else
          { /* block id: 654 */
              uint32_t l_1344 = 0x6A5EAC92L;
              int64_t l_1351 = 0xF2C759B3D9C8EDFELL;
              uint32_t l_1352 = 0x473F18A7L;
              int32_t l_1353[4];
              struct S1 l_1384 = {51,-27};
              const union U3 *l_1422[2][10][10] = {{{&g_1433,&g_1429,&g_1451[1][1][1],&g_1445,&g_1466,&g_1452,&g_1471,&g_1453,&g_1467,&g_1448},{(void*)0,&g_1469,&g_1451[1][1][1],&g_1466,&g_1446,&g_1453,&g_1431[0],(void*)0,&g_1469,&g_1470},{&g_1435[1],&g_1472,&g_1476,&g_1449[3][0],(void*)0,&g_1478,&g_1475[4],&g_1439,&g_1433,&g_1452},{&g_1438,(void*)0,&g_1460,&g_1452,&g_1475[4],&g_1464[8][5],&g_1482,(void*)0,&g_1480[0][2][0],&g_1460},{(void*)0,(void*)0,&g_1469,&g_1423,&g_1463,&g_1473[7],(void*)0,&g_1454[1],&g_1429,(void*)0},{&g_1455,&g_1434,&g_1438,&g_1473[7],&g_1474[3][3][6],(void*)0,&g_1441,&g_1467,&g_1460,&g_1424},{&g_1469,(void*)0,&g_1432[1],&g_1426,&g_1448,(void*)0,&g_1454[1],&g_1441,&g_1454[1],(void*)0},{(void*)0,&g_1461,&g_1448,&g_1461,(void*)0,&g_1452,&g_1432[1],(void*)0,&g_1473[7],&g_1475[4]},{&g_1441,&g_1480[0][2][0],&g_1426,&g_1459,&g_1462,&g_1433,&g_1431[0],&g_1457,(void*)0,&g_1475[4]},{&g_1461,&g_1459,&g_1427[1],&g_1482,(void*)0,&g_1435[1],&g_1451[1][1][1],&g_1439,&g_1453,(void*)0}},{{&g_1444[1][9],&g_1463,(void*)0,&g_1465,&g_1448,&g_1458,(void*)0,&g_1444[1][9],&g_1480[0][2][0],&g_1424},{(void*)0,&g_1429,(void*)0,&g_1472,&g_1474[3][3][6],&g_1445,&g_1444[1][9],(void*)0,&g_1467,(void*)0},{&g_1478,&g_1477,&g_1444[1][9],&g_1439,&g_1463,&g_1453,&g_1474[3][3][6],&g_1461,&g_1477,&g_1460},{&g_1469,(void*)0,&g_1476,&g_1431[0],&g_1475[4],&g_1427[1],(void*)0,&g_1474[3][3][6],(void*)0,&g_1452},{&g_1423,&g_1461,&g_1470,&g_1445,(void*)0,&g_1482,&g_1482,(void*)0,&g_1445,&g_1470},{&g_1457,&g_1457,&g_1426,&g_1423,&g_1446,(void*)0,&g_1458,&g_1447,&g_1463,&g_1448},{&g_1455,(void*)0,&g_1437,&g_1451[1][1][1],(void*)0,(void*)0,(void*)0,&g_1438,&g_1476,&g_1481},{(void*)0,&g_1430,(void*)0,&g_1475[4],&g_1480[0][2][0],(void*)0,&g_1451[1][1][1],&g_1423,&g_1479,(void*)0},{&g_1433,&g_1434,&g_1462,(void*)0,&g_1425[0],&g_1477,(void*)0,&g_1428,&g_1444[1][9],&g_1430},{&g_1438,&g_1459,(void*)0,(void*)0,(void*)0,&g_1465,&g_1446,&g_1454[1],&g_1433,(void*)0}}};
              const union U3 **l_1421 = &l_1422[1][0][7];
              int i, j, k;
              for (i = 0; i < 4; i++)
                  l_1353[i] = 0xACF64CFAL;
              for (g_140 = 0; (g_140 < 2); g_140 = safe_add_func_int64_t_s_s(g_140, 3))
              { /* block id: 657 */
                  struct S1 ** const l_1339 = (void*)0;
                  int32_t l_1354[9][4][7] = {{{0x00524AF4L,(-9L),0xF3A5804AL,0L,0xAB32DD9DL,9L,0x00524AF4L},{(-9L),0xBD9A13E6L,0xB49C6C50L,(-1L),(-5L),0x68D7DD3AL,1L},{1L,1L,(-5L),1L,0xF7AFD73BL,0x379EC52DL,0x9182D532L},{0x00524AF4L,0xB49DF074L,0x280EA2DDL,0xF7AFD73BL,0xF7AFD73BL,0x280EA2DDL,0xB49DF074L}},{{0xF7AFD73BL,0x33123C37L,0x68D7DD3AL,(-1L),(-5L),0x9182D532L,0L},{0x68D7DD3AL,0x00524AF4L,0x83BECC6DL,0x33123C37L,0xAB32DD9DL,0xBD9A13E6L,(-5L)},{0x1F365A9CL,0xB49DF074L,(-6L),(-1L),(-1L),0xCBBED8F7L,0x00524AF4L},{1L,(-5L),1L,0xF7AFD73BL,0x379EC52DL,0x9182D532L,0x1F365A9CL}},{{0xB49C6C50L,(-1L),1L,1L,(-1L),0xB49C6C50L,0xDF68C619L},{0xAB32DD9DL,(-9L),(-6L),(-1L),0xB49DF074L,0L,(-1L)},{0xF7AFD73BL,1L,0x83BECC6DL,0L,0xDF68C619L,0x68D7DD3AL,0x1F365A9CL},{0x33123C37L,(-9L),0x68D7DD3AL,0x9182D532L,0xAB32DD9DL,1L,0x33123C37L}},{{(-9L),(-1L),0x280EA2DDL,(-1L),1L,0xF3A5804AL,1L},{(-9L),(-5L),(-5L),(-9L),0x83BECC6DL,0x379EC52DL,0L},{0x33123C37L,0xB49DF074L,0xB49C6C50L,0x83BECC6DL,0xF7AFD73BL,0xB49C6C50L,0x379EC52DL},{0xF7AFD73BL,0x00524AF4L,0xF3A5804AL,(-1L),1L,0x35373F25L,0L}},{{0xAB32DD9DL,0x33123C37L,0x83BECC6DL,0x00524AF4L,0x68D7DD3AL,0xBD9A13E6L,1L},{0xB49C6C50L,0xB49DF074L,0x33123C37L,0xBD9A13E6L,(-1L),0xBD9A13E6L,0x33123C37L},{1L,1L,9L,0xF7AFD73BL,0xB49DF074L,0x35373F25L,0x1F365A9CL},{0x1F365A9CL,0xBD9A13E6L,1L,(-9L),0xBD9A13E6L,0xB49C6C50L,(-1L)}},{{0x68D7DD3AL,(-9L),0x33123C37L,0xDF68C619L,0xB49DF074L,0x379EC52DL,0xDF68C619L},{0xF7AFD73BL,0L,0L,0L,(-1L),0xF3A5804AL,0x83BECC6DL},{1L,7L,0x280EA2DDL,0x33123C37L,0x280EA2DDL,7L,1L},{7L,1L,0L,0L,0x9182D532L,0x280EA2DDL,0x35373F25L}},{{(-5L),0x9182D532L,0L,(-5L),0xBD9A13E6L,0xAB32DD9DL,0x33123C37L},{1L,0xF3A5804AL,0L,0xBD9A13E6L,0xCBBED8F7L,0L,0x68D7DD3AL},{0xCBBED8F7L,1L,0x280EA2DDL,9L,0x9182D532L,(-6L),(-6L)},{0xB49C6C50L,1L,(-1L),1L,0xB49C6C50L,(-9L),0x9182D532L}},{{0x83BECC6DL,0xF3A5804AL,9L,1L,0L,9L,1L},{0x35373F25L,0x9182D532L,7L,0xCBBED8F7L,0x68D7DD3AL,(-6L),0L},{0x83BECC6DL,1L,1L,(-5L),1L,0xF7AFD73BL,0x379EC52DL},{0xB49C6C50L,7L,9L,0x379EC52DL,0xF3A5804AL,0xF3A5804AL,0x379EC52DL}},{{0xCBBED8F7L,0xDF68C619L,0xCBBED8F7L,(-6L),0x379EC52DL,0x280EA2DDL,0L},{1L,(-5L),0x1F365A9CL,0x33123C37L,0xB49C6C50L,1L,1L},{(-5L),9L,0L,0x379EC52DL,0x35373F25L,0x280EA2DDL,0x9182D532L},{7L,0x9182D532L,0x35373F25L,7L,0xBD9A13E6L,0xF3A5804AL,(-6L)}}};
                  int32_t *l_1355 = (void*)0;
                  int32_t *l_1356[10][4][4] = {{{(void*)0,&g_1104[2][1].f0,&g_1057.f0,&g_1104[2][1].f0},{&g_963,&g_1104[2][1].f0,&g_1104[2][1].f0,&g_963},{&g_1104[2][1].f0,&g_963,(void*)0,&g_1318.f0},{&g_1104[2][1].f0,(void*)0,&g_1104[2][1].f0,&g_1057.f0}},{{&g_963,&g_1318.f0,&g_1057.f0,&g_1057.f0},{(void*)0,(void*)0,&g_1104[2][1].f0,&g_1318.f0},{&g_1318.f0,&g_963,&g_1104[2][1].f0,&g_963},{(void*)0,&g_1104[2][1].f0,&g_1057.f0,&g_1104[2][1].f0}},{{&g_963,&g_1104[2][1].f0,&g_1104[2][1].f0,&g_963},{&g_1104[2][1].f0,&g_963,(void*)0,&g_1318.f0},{&g_1104[2][1].f0,(void*)0,&g_1104[2][1].f0,&g_1057.f0},{&g_963,&g_1318.f0,&g_1057.f0,&g_1057.f0}},{{(void*)0,(void*)0,&g_1104[2][1].f0,&g_1318.f0},{&g_1318.f0,&g_963,&g_1104[2][1].f0,&g_963},{(void*)0,&g_1104[2][1].f0,&g_1057.f0,&g_1104[2][1].f0},{&g_963,&g_1104[2][1].f0,&g_1104[2][1].f0,&g_963}},{{&g_1104[2][1].f0,&g_963,(void*)0,&g_1318.f0},{&g_1104[2][1].f0,(void*)0,&g_1104[2][1].f0,&g_1057.f0},{&g_963,&g_1318.f0,&g_1057.f0,&g_1057.f0},{(void*)0,(void*)0,&g_1104[2][1].f0,&g_1318.f0}},{{&g_1318.f0,&g_963,&g_1104[2][1].f0,&g_963},{(void*)0,&g_1104[2][1].f0,&g_1057.f0,&g_1104[2][1].f0},{&g_963,&g_1104[2][1].f0,&g_1104[2][1].f0,&g_1104[2][1].f0},{&g_1318.f0,&g_1104[2][1].f0,(void*)0,&g_1057.f0}},{{&g_1318.f0,(void*)0,&g_1318.f0,&g_1104[2][1].f0},{&g_1104[2][1].f0,&g_1057.f0,&g_1104[2][1].f0,&g_1104[2][1].f0},{(void*)0,(void*)0,(void*)0,&g_1057.f0},{&g_1057.f0,&g_1104[2][1].f0,(void*)0,&g_1104[2][1].f0}},{{(void*)0,&g_1318.f0,&g_1104[2][1].f0,(void*)0},{&g_1104[2][1].f0,&g_1318.f0,&g_1318.f0,&g_1104[2][1].f0},{&g_1318.f0,&g_1104[2][1].f0,(void*)0,&g_1057.f0},{&g_1318.f0,(void*)0,&g_1318.f0,&g_1104[2][1].f0}},{{&g_1104[2][1].f0,&g_1057.f0,&g_1104[2][1].f0,&g_1104[2][1].f0},{(void*)0,(void*)0,(void*)0,&g_1057.f0},{&g_1057.f0,&g_1104[2][1].f0,(void*)0,&g_1104[2][1].f0},{(void*)0,&g_1318.f0,&g_1104[2][1].f0,(void*)0}},{{&g_1104[2][1].f0,&g_1318.f0,&g_1318.f0,&g_1104[2][1].f0},{&g_1318.f0,&g_1104[2][1].f0,(void*)0,&g_1057.f0},{&g_1318.f0,(void*)0,&g_1318.f0,&g_1104[2][1].f0},{&g_1104[2][1].f0,&g_1057.f0,&g_1104[2][1].f0,&g_1104[2][1].f0}}};
                  union U6 **l_1366 = &g_553;
                  struct S1 l_1502 = {26,-28};
                  int8_t ***l_1540 = (void*)0;
                  int i, j, k;
                  g_1077.f1 |= (l_1354[4][3][3] |= (l_1353[3] &= (((g_356 , l_1339) == (void*)0) && (safe_sub_func_uint16_t_u_u((safe_rshift_func_int8_t_s_s((*p_37), (0xC6L < l_1344))), (l_1352 = (safe_lshift_func_uint16_t_u_u(((safe_lshift_func_int16_t_s_s((safe_div_func_int32_t_s_s(p_36, ((*g_1042) , 4294967289UL))), 9)) & l_1264), l_1351))))))));
                  for (g_942.f0 = 0; (g_942.f0 != 25); g_942.f0 = safe_add_func_uint32_t_u_u(g_942.f0, 9))
                  { /* block id: 664 */
                      int32_t **l_1359 = &g_456;
                      (*l_1359) = &l_1312;
                  }
                  if ((safe_mul_func_uint16_t_u_u(p_36, (((((*g_1042) <= ((((g_72 && 7UL) != (p_36 < (safe_add_func_int32_t_s_s(((((*l_1366) = g_553) != l_1367) >= (l_1264 & 0x548FL)), 1UL)))) > l_1272.f0) < 0xAFB5FA903ADC30FFLL)) <= p_36) > l_1272.f0) >= 0xA7F59FDBA6EB8035LL))))
                  { /* block id: 668 */
                      uint32_t *l_1371[1];
                      int64_t *l_1374[2][7] = {{&g_270[1],&g_270[1],&g_270[1],&g_270[1],&g_270[1],&g_270[1],&g_270[1]},{&g_168,&g_168,&g_168,&g_168,&g_168,&g_168,&g_168}};
                      int32_t l_1375 = 0xBAD94A0BL;
                      int32_t l_1378 = 0xDB7B7CD5L;
                      int i, j;
                      for (i = 0; i < 1; i++)
                          l_1371[i] = &g_406;
                      l_1378 ^= (l_1344 ^ ((safe_sub_func_uint32_t_u_u(((l_1375 &= ((((p_36 != g_106.f0) >= (p_36 ^ (l_1353[3] = l_1344))) & (~p_36)) != (!18446744073709551615UL))) || l_1272.f0), (safe_sub_func_uint64_t_u_u(p_36, 18446744073709551611UL)))) < (-10L)));
                      for (g_271 = (-1); (g_271 > (-24)); g_271--)
                      { /* block id: 674 */
                          if (l_1375)
                              break;
                      }
                      l_1353[3] = p_36;
                  }
                  else
                  { /* block id: 678 */
                      int32_t l_1388[8][2][4] = {{{0L,(-1L),1L,(-1L)},{(-1L),0L,8L,(-1L)}},{{0x2DBF207CL,(-8L),8L,(-1L)},{(-1L),(-5L),1L,0L}},{{0L,8L,7L,4L},{7L,4L,(-1L),(-1L)}},{{(-1L),(-1L),1L,6L},{(-8L),0L,0x02538894L,0x043C4846L}},{{7L,6L,0x516CD250L,0x02538894L},{4L,6L,1L,0x043C4846L}},{{6L,0L,(-8L),6L},{0x2DBF207CL,(-1L),0L,(-1L)}},{{(-6L),4L,1L,4L},{(-5L),8L,0x2DBF207CL,0L}},{{7L,(-5L),0L,(-1L)},{0x043C4846L,(-8L),1L,(-1L)}}};
                      int32_t l_1389 = (-6L);
                      uint8_t l_1403 = 6UL;
                      struct S1 l_1417[7][8][4] = {{{{56,-31},{94,-35},{94,-35},{56,-31}},{{94,-35},{56,-31},{94,-35},{94,-35}},{{56,-31},{56,-31},{30,-55},{56,-31}},{{56,-31},{94,-35},{94,-35},{56,-31}},{{94,-35},{56,-31},{94,-35},{94,-35}},{{56,-31},{56,-31},{30,-55},{56,-31}},{{56,-31},{94,-35},{94,-35},{56,-31}},{{94,-35},{56,-31},{94,-35},{94,-35}}},{{{56,-31},{56,-31},{30,-55},{56,-31}},{{56,-31},{94,-35},{94,-35},{56,-31}},{{94,-35},{56,-31},{94,-35},{94,-35}},{{94,-35},{94,-35},{56,-31},{94,-35}},{{94,-35},{30,-55},{30,-55},{94,-35}},{{30,-55},{94,-35},{30,-55},{30,-55}},{{94,-35},{94,-35},{56,-31},{94,-35}},{{94,-35},{30,-55},{30,-55},{94,-35}}},{{{30,-55},{94,-35},{30,-55},{30,-55}},{{94,-35},{94,-35},{56,-31},{94,-35}},{{94,-35},{30,-55},{30,-55},{94,-35}},{{30,-55},{94,-35},{30,-55},{30,-55}},{{94,-35},{94,-35},{56,-31},{94,-35}},{{94,-35},{30,-55},{30,-55},{94,-35}},{{30,-55},{94,-35},{30,-55},{30,-55}},{{94,-35},{94,-35},{56,-31},{94,-35}}},{{{94,-35},{30,-55},{30,-55},{94,-35}},{{30,-55},{94,-35},{30,-55},{30,-55}},{{94,-35},{94,-35},{56,-31},{94,-35}},{{94,-35},{30,-55},{30,-55},{94,-35}},{{30,-55},{94,-35},{30,-55},{30,-55}},{{94,-35},{94,-35},{56,-31},{94,-35}},{{94,-35},{30,-55},{30,-55},{94,-35}},{{30,-55},{94,-35},{30,-55},{30,-55}}},{{{94,-35},{94,-35},{56,-31},{94,-35}},{{94,-35},{30,-55},{30,-55},{94,-35}},{{30,-55},{94,-35},{30,-55},{30,-55}},{{94,-35},{94,-35},{56,-31},{94,-35}},{{94,-35},{30,-55},{30,-55},{94,-35}},{{30,-55},{94,-35},{30,-55},{30,-55}},{{94,-35},{94,-35},{56,-31},{94,-35}},{{94,-35},{30,-55},{30,-55},{94,-35}}},{{{30,-55},{94,-35},{30,-55},{30,-55}},{{94,-35},{94,-35},{56,-31},{94,-35}},{{94,-35},{30,-55},{30,-55},{94,-35}},{{30,-55},{94,-35},{30,-55},{30,-55}},{{94,-35},{94,-35},{56,-31},{94,-35}},{{94,-35},{30,-55},{30,-55},{94,-35}},{{30,-55},{94,-35},{30,-55},{30,-55}},{{94,-35},{94,-35},{56,-31},{94,-35}}},{{{94,-35},{30,-55},{30,-55},{94,-35}},{{30,-55},{94,-35},{30,-55},{30,-55}},{{94,-35},{94,-35},{56,-31},{94,-35}},{{94,-35},{30,-55},{30,-55},{94,-35}},{{30,-55},{94,-35},{30,-55},{30,-55}},{{94,-35},{94,-35},{56,-31},{94,-35}},{{94,-35},{30,-55},{30,-55},{94,-35}},{{30,-55},{94,-35},{30,-55},{30,-55}}}};
                      int i, j, k;
                      if ((safe_lshift_func_int8_t_s_s((*p_37), 0)))
                      { /* block id: 679 */
                          struct S1 l_1385[5][8][6] = {{{{147,-32},{139,-33},{144,51},{16,-16},{92,-55},{142,2}},{{92,-55},{6,1},{93,-10},{104,1},{56,40},{80,-41}},{{168,7},{71,-13},{139,-33},{157,-1},{27,39},{147,-32}},{{93,-10},{112,50},{104,1},{27,39},{144,51},{168,7}},{{123,-49},{90,32},{80,-41},{80,-41},{90,32},{123,-49}},{{65,-12},{5,47},{93,-10},{16,-16},{14,50},{60,7}},{{56,40},{60,7},{27,39},{145,46},{80,-41},{62,0}},{{56,40},{144,51},{145,46},{16,-16},{147,-32},{112,50}}},{{{65,-12},{14,50},{149,-14},{80,-41},{168,7},{139,-33}},{{123,-49},{27,39},{90,32},{27,39},{123,-49},{92,-55}},{{93,-10},{163,0},{123,-49},{157,-1},{60,7},{16,-16}},{{168,7},{123,-49},{112,50},{163,0},{62,0},{16,-16}},{{27,39},{6,1},{123,-49},{139,-33},{112,50},{92,-55}},{{62,0},{166,-36},{90,32},{93,-10},{139,-33},{139,-33}},{{13,33},{149,-14},{149,-14},{13,33},{92,-55},{112,50}},{{149,-14},{104,1},{145,46},{5,47},{16,-16},{62,0}}},{{{71,-13},{142,2},{27,39},{112,50},{16,-16},{60,7}},{{60,7},{104,1},{93,-10},{6,1},{92,-55},{123,-49}},{{14,50},{149,-14},{80,-41},{168,7},{139,-33},{168,7}},{{104,1},{166,-36},{104,1},{14,50},{112,50},{147,-32}},{{157,-1},{6,1},{139,-33},{149,-14},{62,0},{80,-41}},{{147,-32},{123,-49},{20,-7},{149,-14},{60,7},{14,50}},{{157,-1},{163,0},{142,2},{14,50},{123,-49},{90,32}},{{104,1},{27,39},{144,51},{168,7},{168,7},{144,51}}},{{{14,50},{14,50},{56,40},{6,1},{147,-32},{27,39}},{{60,7},{144,51},{13,33},{112,50},{80,-41},{56,40}},{{71,-13},{60,7},{13,33},{5,47},{14,50},{27,39}},{{149,-14},{5,47},{56,40},{13,33},{90,32},{144,51}},{{13,33},{90,32},{144,51},{93,-10},{144,51},{90,32}},{{62,0},{112,50},{142,2},{139,-33},{27,39},{14,50}},{{27,39},{71,-13},{20,-7},{163,0},{56,40},{80,-41}},{{168,7},{71,-13},{139,-33},{157,-1},{27,39},{147,-32}}},{{{93,-10},{112,50},{104,1},{27,39},{144,51},{168,7}},{{123,-49},{90,32},{80,-41},{65,-12},{5,47},{93,-10}},{{157,-1},{145,46},{20,-7},{139,-33},{16,-16},{56,40}},{{123,-49},{56,40},{147,-32},{13,33},{65,-12},{166,-36}},{{123,-49},{142,2},{13,33},{139,-33},{62,0},{104,1}},{{157,-1},{16,-16},{168,7},{65,-12},{6,1},{112,50}},{{93,-10},{147,-32},{5,47},{147,-32},{93,-10},{27,39}},{{20,-7},{60,7},{93,-10},{149,-14},{56,40},{139,-33}}}};
                          int i, j, k;
                          l_1353[3] = l_1383;
                          l_1385[3][7][5] = l_1384;
                      }
                      else
                      { /* block id: 682 */
                          uint32_t *l_1410 = &l_1383;
                          int32_t l_1415 = 0x0E020686L;
                          int16_t *l_1416 = &g_119;
                          struct S1 *l_1418 = &g_106;
                          (*l_1418) = (l_1417[3][1][2] = (((safe_lshift_func_int8_t_s_s((l_1389 = l_1388[6][1][0]), ((safe_lshift_func_uint8_t_u_u((g_890.f2.f1 == (safe_div_func_uint32_t_u_u((safe_mod_func_uint64_t_u_u(((((safe_mod_func_int64_t_s_s(((((((*l_1416) |= (p_36 & (safe_rshift_func_uint8_t_u_s((safe_div_func_int8_t_s_s((+l_1403), (safe_mul_func_int8_t_s_s(((p_37 != p_37) != (p_36 , (safe_add_func_int64_t_s_s(0xE925F7233EED47FCLL, (safe_div_func_int32_t_s_s(((--(*l_1410)) , (l_1415 = (safe_rshift_func_int8_t_s_s((*p_37), (*p_37))))), g_833)))))), 0x8DL)))), 7)))) == 65526UL) ^ g_1057.f3) , 0L) == l_1272.f0), p_36)) && p_36) == p_36) != l_1344), p_36)), g_473))), g_890.f2.f1)) || 0xAB22CB99L))) != p_36) , l_1417[5][0][0]));
                      }
                      if (p_36)
                      { /* block id: 690 */
                          union U3 ***l_1420 = &l_1419;
                          int32_t l_1485 = 0x717C1F16L;
                          int32_t l_1487 = (-2L);
                          int32_t l_1492 = 0L;
                          int32_t l_1495[7];
                          int32_t *l_1500 = (void*)0;
                          int i;
                          for (i = 0; i < 7; i++)
                              l_1495[i] = 0x3825E4D8L;
                          l_1336 ^= (((*l_1420) = l_1419) != (l_1417[5][0][0].f0 , l_1421));
                          g_1497++;
                          l_1500 = &g_963;
                      }
                      else
                      { /* block id: 695 */
                          int32_t **l_1501 = &l_1311;
                          g_456 = ((*l_1501) = &l_1493);
                      }
                      for (g_832 = 0; (g_832 >= 0); g_832 -= 1)
                      { /* block id: 701 */
                          int64_t *l_1510 = &g_270[3];
                          uint8_t *l_1525 = &g_1111.f3;
                          uint8_t *l_1526 = (void*)0;
                          uint8_t *l_1527 = (void*)0;
                          uint8_t *l_1528[2];
                          int i, j;
                          for (i = 0; i < 2; i++)
                              l_1528[i] = &g_274;
                          l_1417[2][7][1] = l_1502;
                          g_963 |= (safe_div_func_uint16_t_u_u((safe_lshift_func_uint16_t_u_u(((safe_mul_func_int8_t_s_s(g_831[g_832][g_832], (l_1389 ^= (((-4L) == (!((((*l_1510) &= l_1384.f1) <= (((safe_lshift_func_int16_t_s_u(((safe_mod_func_uint16_t_u_u(p_36, (safe_sub_func_int16_t_s_s((&g_484[3] != &g_484[2]), (safe_add_func_uint32_t_u_u((0x2D2CL ^ (safe_rshift_func_uint8_t_u_u(0x8EL, (~(safe_add_func_uint32_t_u_u(p_36, 0x3AFC7CF1L)))))), 0xE5FBD80AL)))))) ^ l_1484), p_36)) != 0xAA61L) < p_36)) , 0UL))) , l_1524)))) ^ g_942.f2.f2), 2)), p_36));
                      }
                  }
                  for (g_269 = 0; (g_269 == (-1)); g_269--)
                  { /* block id: 710 */
                      uint32_t l_1543 = 18446744073709551615UL;
                      int32_t l_1559 = 0L;
                      l_1261.f1 = ((l_1384.f1 = ((((0x6D9F1286L < (~(((((g_1003.f1 & (((((1L && (0x9F2F6D4C42BD9ECCLL > ((safe_rshift_func_int16_t_s_u(((((l_1384 , ((((safe_rshift_func_uint16_t_u_u(((safe_div_func_int32_t_s_s((((*l_1320) = (safe_mod_func_uint16_t_u_u((&g_109 == l_1540), (0xB9L && (safe_div_func_uint64_t_u_u(l_1353[1], 0x21F40D06C3A410A3LL)))))) == 0x77BC2C8587EA5CCALL), 0xE3EDCE81L)) || p_36), l_1494)) == (*p_37)) > 1UL) == l_1493)) ^ p_36) , &p_36) != (void*)0), p_36)) <= l_1543))) != p_36) >= 0x9AL) == 0xA0543AFE720612A4LL) || p_36)) | 0xB00FBE0FL) & g_140) , (void*)0) == (void*)0))) <= p_36) > p_36) && (-6L))) >= l_1543);
                      l_1559 |= (((safe_sub_func_int64_t_s_s((65534UL == ((p_36 & ((safe_sub_func_uint8_t_u_u(g_831[0][2], (safe_sub_func_int64_t_s_s((safe_add_func_int64_t_s_s(p_36, (safe_rshift_func_int8_t_s_u(((g_142[1] = l_1272.f0) && (-5L)), ((((*p_37) >= (l_1554 , ((safe_rshift_func_int8_t_s_s((safe_lshift_func_int16_t_s_u((g_119 && (*p_37)), p_36)), 4)) ^ (*p_37)))) | p_36) | 0x1F95L))))), p_36)))) != g_1003.f1)) | 18446744073709551609UL)), p_36)) <= g_1104[2][1].f0) < p_36);
                  }
              }
          }
          if (p_36)
              break;
      }
      for (l_1484 = (-23); (l_1484 == (-18)); ++l_1484)
      { /* block id: 723 */
          struct S1 *l_1562[3];
          int32_t l_1572 = 0xD2CDF97DL;
          int32_t l_1574 = 7L;
          int32_t l_1579 = (-4L);
          int32_t l_1582 = 0x4E4E3DCEL;
          int32_t l_1584 = 0x5507549DL;
          int32_t l_1586[5][4] = {{0xC9DBA2D4L,0xC9DBA2D4L,(-5L),0xC9DBA2D4L},{0xC9DBA2D4L,1L,1L,0xC9DBA2D4L},{1L,0xC9DBA2D4L,1L,1L},{0xC9DBA2D4L,0xC9DBA2D4L,(-5L),0xC9DBA2D4L},{0xC9DBA2D4L,1L,1L,0xC9DBA2D4L}};
          union U3 ***l_1593 = (void*)0;
          union U3 ****l_1592[4] = {&l_1593,&l_1593,&l_1593,&l_1593};
          const union U3 ****l_1600[9] = {(void*)0,&l_1596,(void*)0,&l_1596,(void*)0,&l_1596,(void*)0,&l_1596,(void*)0};
          int i, j;
          for (i = 0; i < 3; i++)
              l_1562[i] = (void*)0;
          l_1563[0][0] = l_1272;
          for (l_1494 = 0; (l_1494 <= 2); l_1494 += 1)
          { /* block id: 727 */
              struct S0 **l_1571 = &g_1259;
              int32_t l_1573 = 0x082FECA0L;
              int32_t l_1575 = 0x5190745AL;
              int32_t l_1576 = 2L;
              int32_t l_1577 = 6L;
              int32_t l_1578 = 0xC1C60898L;
              int32_t l_1580 = 0L;
              int32_t l_1581 = 0x2BE0B712L;
              int32_t l_1583 = 0L;
              if (p_36)
                  break;
              for (g_890.f0 = 0; (g_890.f0 <= 2); g_890.f0 += 1)
              { /* block id: 731 */
                  int64_t l_1564 = 3L;
                  int32_t *l_1565[8][7][4] = {{{&l_1483,&l_1486,&l_1336,&l_1486},{&l_1336,&l_1486,(void*)0,&l_1488},{&g_963,&l_1483,&g_963,&l_1486},{&l_1488,&g_1057.f0,(void*)0,&g_1060.f0},{&g_1060.f0,&l_1488,&l_1483,&g_963},{&g_963,&g_72,&g_72,&g_963},{&g_963,&l_1489,&g_1057.f0,&l_1483}},{{&l_1483,(void*)0,&l_1493,&l_1488},{&g_72,&l_1336,&l_1486,&l_1488},{&l_1488,(void*)0,&g_1104[2][1].f0,&l_1483},{&l_1489,&l_1489,&g_1060.f0,&g_963},{&g_1104[2][1].f0,&g_72,&l_1489,&g_963},{&l_1486,&l_1488,&g_963,&g_1060.f0},{&l_1494,&g_1057.f0,(void*)0,&l_1486}},{{(void*)0,&l_1483,(void*)0,&l_1488},{&l_1488,&l_1486,&g_1060.f0,&l_1486},{&g_1057.f0,&l_1486,&l_1486,(void*)0},{(void*)0,&g_963,&g_963,(void*)0},{&l_1486,&l_1486,&l_1489,&g_1318.f0},{&l_1486,&g_963,&g_963,&l_1493},{(void*)0,&g_1318.f0,&l_1486,&l_1494}},{{&g_1057.f0,&g_963,&g_1060.f0,&l_1494},{&l_1488,(void*)0,(void*)0,&g_963},{(void*)0,(void*)0,(void*)0,&g_1057.f0},{&l_1494,&l_1494,&g_963,&l_1488},{&l_1486,&l_1493,&l_1489,&l_1489},{&g_1104[2][1].f0,&g_1104[2][1].f0,&g_1060.f0,&g_963},{&l_1489,&l_1493,&g_1104[2][1].f0,&l_1489}},{{&l_1488,&l_1483,&l_1486,&g_1104[2][1].f0},{&g_72,&l_1483,&l_1493,&l_1488},{&g_1318.f0,&l_1486,&l_1489,&l_1336},{&l_1489,&g_1060.f0,&g_963,&l_1493},{&l_1488,&l_1493,&l_1494,&g_72},{&l_1488,&l_1336,&g_963,&l_1486},{(void*)0,&l_1494,&l_1489,(void*)0}},{{&l_1336,&l_1486,&g_1104[2][1].f0,(void*)0},{&l_1483,&l_1483,&l_1483,&l_1488},{&l_1494,&l_1494,&g_1060.f0,&l_1493},{&l_1486,(void*)0,&g_1057.f0,&l_1494},{&l_1486,&l_1486,&g_1057.f0,(void*)0},{&l_1486,&l_1488,&g_1060.f0,&g_963},{&l_1494,&g_1060.f0,&l_1483,&g_963}},{{&l_1483,&g_963,&g_1104[2][1].f0,&g_1057.f0},{&l_1336,&l_1494,&l_1489,&g_1060.f0},{(void*)0,&l_1489,&g_963,&g_1104[2][1].f0},{&l_1488,(void*)0,&l_1494,&l_1483},{&l_1488,&g_963,&g_963,&l_1488},{&l_1489,&l_1488,&l_1489,&l_1494},{&g_1318.f0,(void*)0,&l_1493,(void*)0}},{{&g_963,&l_1483,&l_1489,(void*)0},{(void*)0,(void*)0,&l_1488,&l_1494},{&l_1493,&l_1488,&l_1488,&l_1488},{&g_1060.f0,&g_963,&l_1493,&l_1483},{&g_1060.f0,(void*)0,&l_1488,&g_1104[2][1].f0},{(void*)0,&l_1489,&l_1488,&g_1060.f0},{(void*)0,&l_1494,&l_1494,&g_1057.f0}}};
                  int i, j, k;
                  for (g_274 = 0; (g_274 <= 0); g_274 += 1)
                  { /* block id: 734 */
                      struct S2 *l_1568 = (void*)0;
                      for (g_232 = 0; (g_232 <= 0); g_232 += 1)
                      { /* block id: 737 */
                          int32_t **l_1566 = &g_456;
                          int32_t **l_1567 = &l_1565[1][0][3];
                          if (l_1564)
                              break;
                          if (p_36)
                              continue;
                          (*l_1567) = ((*l_1566) = l_1565[3][2][3]);
                      }
                      for (g_269 = 4; (g_269 >= 0); g_269 -= 1)
                      { /* block id: 745 */
                          struct S2 **l_1569 = &g_891;
                          (*l_1569) = l_1568;
                      }
                  }
                  for (l_1488 = 0; (l_1488 <= 2); l_1488 += 1)
                  { /* block id: 751 */
                      struct S0 * const **l_1570 = (void*)0;
                      l_1571 = (void*)0;
                      for (g_1225 = 0; (g_1225 <= 0); g_1225 += 1)
                      { /* block id: 755 */
                          return p_36;
                      }
                  }
                  ++g_1588;
              }
          }
          if (((l_1591[7][0][1] != (void*)0) & (((g_1594 = &l_1419) == (g_1603 = (g_1601[2][2][4] = l_1596))) , p_36)))
          { /* block id: 765 */
              struct S1 l_1607[10][2] = {{{41,-32},{49,-51}},{{49,-51},{41,-32}},{{49,-51},{49,-51}},{{41,-32},{49,-51}},{{49,-51},{41,-32}},{{49,-51},{49,-51}},{{41,-32},{49,-51}},{{49,-51},{41,-32}},{{49,-51},{49,-51}},{{41,-32},{49,-51}}};
              int i, j;
              for (g_1587 = 0; (g_1587 < 4); ++g_1587)
              { /* block id: 768 */
                  struct S1 l_1606 = {47,-49};
                  l_1607[8][1] = (l_1606 = l_1563[0][0]);
                  return l_1607[8][1].f1;
              }
          }
          else
          { /* block id: 773 */
              g_1104[2][1].f0 ^= 9L;
          }
      }
      if ((l_1563[3][0] , (safe_unary_minus_func_int16_t_s((((safe_mul_func_uint16_t_u_u((safe_sub_func_int64_t_s_s((l_1483 | ((*g_1042)--)), (l_1323 ^ (--g_102)))), g_585)) , (p_36 , &l_1367)) != &g_183[7][2])))))
      { /* block id: 779 */
          int16_t *l_1623 = &l_1323;
          int32_t l_1624 = (-1L);
          int32_t **l_1625 = &g_456;
          l_1624 = (safe_rshift_func_int16_t_s_u(((*l_1623) = 1L), 3));
          (*l_1625) = &l_1494;
      }
      else
      { /* block id: 783 */
          int32_t **l_1626 = &g_456;
          struct S1 l_1668[6][7][6] = {{{{156,2},{59,62},{46,-2},{88,27},{59,62},{68,-8}},{{33,17},{26,-1},{116,53},{162,62},{178,-38},{94,52}},{{24,48},{94,52},{119,62},{115,23},{46,-2},{29,3}},{{24,48},{52,51},{128,51},{162,62},{52,30},{121,-58}},{{33,17},{178,-38},{34,48},{88,27},{43,-2},{72,12}},{{156,2},{119,62},{59,62},{27,1},{68,-8},{117,-46}},{{153,12},{129,23},{68,-8},{89,-51},{94,52},{27,33}}},{{{8,50},{68,-8},{121,-58},{49,-7},{29,3},{27,33}},{{27,1},{170,-61},{68,-8},{52,58},{121,-58},{117,-46}},{{158,-42},{86,-9},{59,62},{153,12},{72,12},{72,12}},{{147,56},{34,48},{34,48},{147,56},{117,-46},{36,24}},{{43,-2},{62,60},{93,60},{128,51},{137,-27},{119,18}},{{59,62},{21,-23},{102,61},{90,-7},{137,-27},{123,61}},{{14,-41},{62,60},{41,-6},{40,-55},{31,-29},{156,-9}}},{{{27,33},{163,-20},{29,18},{170,-61},{125,27},{35,2}},{{129,23},{108,26},{62,60},{27,33},{36,24},{155,-33}},{{34,48},{6,44},{125,27},{43,-2},{119,18},{29,18}},{{29,3},{156,-9},{179,47},{43,-2},{123,61},{174,-43}},{{34,48},{153,-3},{21,-23},{27,33},{156,-9},{176,63}},{{129,23},{102,61},{91,-16},{170,-61},{35,2},{91,-16}},{{27,33},{174,-43},{180,-57},{40,-55},{155,-33},{102,61}}},{{{14,-41},{91,-16},{67,19},{90,-7},{29,18},{180,-57}},{{59,62},{123,61},{67,19},{128,51},{174,-43},{102,61}},{{43,-2},{55,13},{180,-57},{52,51},{176,63},{91,-16}},{{52,51},{176,63},{91,-16},{63,2},{91,-16},{176,63}},{{86,-9},{36,24},{21,-23},{121,-58},{102,61},{174,-43}},{{52,30},{9,-33},{179,47},{94,52},{180,-57},{29,18}},{{170,-61},{9,-33},{125,27},{34,48},{102,61},{155,-33}}},{{{63,2},{36,24},{62,60},{52,30},{91,-16},{35,2}},{{116,53},{176,63},{29,18},{117,-6},{176,63},{156,-9}},{{8,21},{55,13},{41,-6},{72,12},{174,-43},{123,61}},{{68,-8},{123,61},{102,61},{60,-54},{29,18},{119,18}},{{68,-8},{91,-16},{93,60},{72,12},{155,-33},{36,24}},{{8,21},{174,-43},{163,-20},{117,-6},{35,2},{125,27}},{{116,53},{102,61},{176,63},{52,30},{156,-9},{31,-29}}},{{{63,2},{153,-3},{156,-9},{34,48},{123,61},{137,-27}},{{170,-61},{156,-9},{36,24},{94,52},{119,18},{137,-27}},{{52,30},{6,44},{156,-9},{121,-58},{36,24},{31,-29}},{{86,-9},{108,26},{176,63},{63,2},{125,27},{125,27}},{{52,51},{163,-20},{163,-20},{52,51},{31,-29},{36,24}},{{43,-2},{62,60},{93,60},{128,51},{137,-27},{119,18}},{{59,62},{21,-23},{102,61},{90,-7},{137,-27},{123,61}}}};
          int64_t **l_1697[7][3][10] = {{{(void*)0,&g_351,&g_352,(void*)0,&g_351,&g_351,&g_352,&g_352,&g_351,&g_351},{&g_351,&g_352,&g_352,&g_351,&g_351,&g_352,&g_352,&g_351,&g_351,&g_352},{&g_351,&g_351,(void*)0,&g_352,&g_351,(void*)0,&g_352,&g_352,(void*)0,&g_351}},{{&g_351,&g_352,&g_352,&g_351,&g_351,&g_352,&g_352,&g_351,&g_351,&g_352},{&g_351,&g_351,&g_352,&g_352,&g_351,&g_351,&g_352,&g_352,&g_351,&g_351},{&g_351,&g_352,(void*)0,&g_351,&g_351,(void*)0,&g_352,&g_351,(void*)0,&g_352}},{{&g_351,&g_351,&g_352,&g_352,&g_351,&g_351,&g_352,&g_352,&g_351,&g_351},{&g_351,&g_352,&g_352,&g_351,&g_351,&g_352,&g_352,&g_351,&g_351,&g_352},{&g_351,&g_351,(void*)0,&g_352,&g_351,(void*)0,&g_352,&g_352,(void*)0,&g_351}},{{&g_351,&g_352,&g_352,&g_351,&g_351,&g_352,&g_352,&g_351,&g_351,&g_352},{&g_351,&g_351,&g_352,&g_352,&g_351,&g_351,&g_352,&g_352,&g_351,&g_351},{&g_351,&g_352,(void*)0,&g_351,&g_351,(void*)0,&g_352,&g_351,(void*)0,&g_352}},{{&g_351,&g_351,&g_352,&g_352,&g_351,&g_351,&g_352,&g_352,&g_351,&g_351},{&g_351,&g_352,&g_352,&g_351,&g_351,&g_352,&g_352,&g_351,&g_351,&g_352},{&g_351,&g_351,(void*)0,&g_352,&g_351,(void*)0,&g_352,&g_352,(void*)0,&g_351}},{{&g_351,&g_352,&g_352,&g_351,&g_351,&g_352,&g_352,&g_351,&g_351,&g_352},{&g_351,&g_351,&g_352,&g_352,&g_351,&g_351,&g_352,&g_352,&g_351,&g_351},{&g_351,&g_352,(void*)0,&g_351,&g_351,(void*)0,&g_352,&g_351,(void*)0,&g_352}},{{&g_351,&g_351,&g_352,&g_352,&g_351,&g_351,&g_352,&g_352,&g_351,&g_351},{&g_351,&g_352,&g_352,&g_351,&g_351,(void*)0,(void*)0,&g_351,(void*)0,(void*)0},{&g_351,&g_351,&g_352,&g_352,&g_351,&g_351,&g_352,&g_352,&g_351,&g_351}}};
          struct S0 * const **l_1772 = (void*)0;
          int32_t l_1793 = 0L;
          int32_t l_1795 = 0x967309B4L;
          int32_t l_1797 = 7L;
          int32_t l_1814 = (-1L);
          int32_t l_1815 = 1L;
          int32_t l_1816 = 3L;
          int32_t l_1818 = 0x4DBED9D7L;
          union U6 *l_1828 = (void*)0;
          union U3 ****l_1959[8] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
          int i, j, k;
          (*l_1626) = &l_1336;
      }
      if ((p_36 != (p_36 , p_36)))
      { /* block id: 1017 */
          return l_2003[3][5][1];
      }
      else
      { /* block id: 1019 */
          union U5 **l_2004[6];
          union U5 ***l_2006[2][8][1] = {{{&l_1304},{&l_1304},{&l_2004[4]},{&l_1304},{&l_1304},{&l_2004[4]},{&l_1304},{&l_1304}},{{&l_2004[4]},{&l_1304},{&l_1304},{&l_2004[4]},{&l_1304},{&l_1304},{&l_2004[4]},{&l_1304}}};
          int32_t *l_2007 = &g_1057.f0;
          int32_t *l_2008 = &g_1318.f0;
          int32_t *l_2009 = &l_1486;
          int32_t *l_2010 = &l_1489;
          int32_t *l_2011 = &l_1494;
          int32_t *l_2012 = &g_72;
          int32_t *l_2013 = (void*)0;
          int32_t *l_2014 = (void*)0;
          int32_t *l_2015 = &g_1060.f0;
          int32_t *l_2017 = &g_1060.f0;
          int32_t *l_2018 = &g_72;
          int32_t *l_2019 = &l_1488;
          int32_t *l_2020[5];
          const uint64_t *l_2029 = &g_358;
          const uint64_t **l_2028 = &l_2029;
          const uint64_t ***l_2027[6][5] = {{&l_2028,&l_2028,&l_2028,&l_2028,&l_2028},{(void*)0,&l_2028,&l_2028,(void*)0,&l_2028},{&l_2028,&l_2028,&l_2028,&l_2028,&l_2028},{(void*)0,&l_2028,&l_2028,(void*)0,&l_2028},{&l_2028,&l_2028,&l_2028,&l_2028,&l_2028},{(void*)0,&l_2028,&l_2028,(void*)0,&l_2028}};
          uint8_t l_2041 = 1UL;
          const struct S1 l_2048 = {106,-37};
          uint16_t *l_2132 = &g_142[1];
          uint32_t l_2142 = 18446744073709551615UL;
          int i, j, k;
          for (i = 0; i < 6; i++)
              l_2004[i] = (void*)0;
          for (i = 0; i < 5; i++)
              l_2020[i] = &l_1336;
          l_1304 = (g_2005 = l_2004[4]);
          if (g_1588)
              goto lbl_2024;
  lbl_2024:
          ++g_2021;
          if ((safe_div_func_int8_t_s_s((*l_2015), (*p_37))))
          { /* block id: 1024 */
              uint8_t l_2033 = 0x08L;
              int32_t l_2036 = 0x6DA9F1B2L;
              int32_t l_2039 = 2L;
              int32_t l_2040 = 0xEBA3692EL;
              int32_t l_2055[10][9] = {{(-5L),(-1L),(-1L),(-5L),0L,(-5L),(-1L),(-1L),(-5L)},{(-1L),(-1L),5L,(-1L),(-1L),(-1L),(-1L),5L,(-1L)},{(-1L),0L,5L,5L,0L,(-1L),0L,5L,5L},{(-1L),(-1L),(-1L),5L,(-1L),(-1L),(-1L),(-1L),5L},{(-5L),0L,(-5L),(-1L),(-1L),(-5L),0L,(-5L),(-1L)},{(-5L),(-1L),(-1L),(-5L),0L,(-5L),(-1L),(-1L),(-5L)},{(-1L),(-1L),5L,(-1L),(-1L),(-1L),(-1L),5L,(-1L)},{(-1L),0L,5L,5L,0L,(-1L),0L,5L,5L},{(-1L),(-1L),(-1L),5L,(-1L),(-1L),(-1L),(-1L),5L},{(-5L),0L,(-5L),(-1L),(-1L),(-5L),0L,(-5L),(-1L)}};
              int32_t *l_2093 = &l_1483;
              int i, j;
              for (g_102 = 0; (g_102 <= 1); g_102 += 1)
              { /* block id: 1027 */
                  struct S1 l_2049 = {52,62};
                  int32_t l_2050 = 0x2D4CF1B5L;
                  int32_t l_2051 = (-6L);
                  int32_t l_2053 = 0x946B953CL;
                  int32_t *l_2065[6][7] = {{&l_2050,&l_2050,&g_1060.f0,&l_2050,&l_2050,&g_1104[2][1].f0,&g_1104[2][1].f0},{&l_2055[4][4],&l_2051,(void*)0,&l_2051,&l_2055[4][4],&l_2055[5][3],&l_2055[5][3]},{&l_2050,&l_2050,&g_1060.f0,&l_2050,&l_2050,&g_1104[2][1].f0,&g_1104[2][1].f0},{&l_2055[4][4],&l_2051,(void*)0,&l_2051,&l_2055[4][4],&l_2055[5][3],&l_2055[5][3]},{&l_2050,&l_2050,&g_1060.f0,&l_1585[5][5][2],&g_1104[2][1].f0,&g_1060.f0,&g_1060.f0},{&l_2055[5][3],&l_2051,&g_1318.f0,&l_2051,&l_2055[5][3],(void*)0,(void*)0}};
                  int i, j;
                  if ((l_2027[3][4] == &g_1041))
                  { /* block id: 1028 */
                      int32_t l_2037 = 0x33D9745FL;
                      int32_t l_2038 = 0x4E2CA2DDL;
                      uint32_t l_2045 = 0x07139A78L;
                      for (g_1225 = 0; (g_1225 <= 0); g_1225 += 1)
                      { /* block id: 1031 */
                          const struct S1 l_2030 = {128,-45};
                          struct S1 *l_2031 = &g_1077;
                          int32_t l_2032[5];
                          int i;
                          for (i = 0; i < 5; i++)
                              l_2032[i] = 9L;
                          (*l_2031) = l_2030;
                          if (p_36)
                              continue;
                          l_2033++;
                          --l_2041;
                      }
                      for (g_1588 = 0; (g_1588 <= 0); g_1588 += 1)
                      { /* block id: 1039 */
                          int8_t l_2044 = 0xD0L;
                          return l_2044;
                      }
                      l_2045--;
                  }
                  else
                  { /* block id: 1043 */
                      int16_t l_2052 = 0x76F3L;
                      int32_t l_2054 = 0x78682AF6L;
                      int32_t l_2056[2];
                      int8_t l_2086[9][9][2] = {{{0x3DL,1L},{0xC2L,0x2CL},{1L,0xC2L},{0x7DL,0xA4L},{0x7DL,0xC2L},{1L,0x2CL},{0xC2L,1L},{0x3DL,0L},{0x2CL,0x75L}},{{0x75L,0x75L},{0x2CL,0L},{0x3DL,1L},{0xC2L,0x2CL},{1L,0xC2L},{0x7DL,0xA4L},{0x7DL,0xC2L},{1L,0x2CL},{0xC2L,1L}},{{0x3DL,0L},{0x2CL,0x75L},{0x75L,0x75L},{0x2CL,0L},{0x3DL,1L},{0xC2L,0x2CL},{1L,0xC2L},{0x7DL,0xA4L},{0x7DL,0xC2L}},{{1L,0x2CL},{0xC2L,1L},{0x3DL,0L},{0x2CL,0x75L},{0x75L,0x75L},{0x2CL,0L},{0x3DL,1L},{0xC2L,0x2CL},{1L,0xC2L}},{{0x7DL,0xA4L},{0x7DL,0xC2L},{1L,0x2CL},{0xC2L,1L},{0x3DL,0L},{0x2CL,0x75L},{0x75L,0x75L},{0x2CL,0L},{0x3DL,1L}},{{0xC2L,0x2CL},{1L,0xC2L},{0x7DL,0xA4L},{0x7DL,0xC2L},{1L,0x2CL},{0xC2L,1L},{0x3DL,0L},{0x2CL,0x75L},{0x75L,0x75L}},{{0x2CL,0L},{0x3DL,1L},{0xC2L,0x2CL},{1L,0xC2L},{0x7DL,0xA4L},{0x7DL,0xC2L},{1L,0x2CL},{0xC2L,1L},{0x3DL,0L}},{{0x2CL,0x75L},{0x75L,0x75L},{0x2CL,0L},{0x3DL,1L},{0xC2L,0x2CL},{1L,0xC2L},{0x7DL,0xA4L},{0x7DL,0xC2L},{1L,0x2CL}},{{0xC2L,1L},{0x3DL,0L},{0x2CL,0x75L},{0x75L,0x75L},{0x2CL,0L},{0x3DL,1L},{0xC2L,0x2CL},{1L,0xC2L},{0x7DL,0xA4L}}};
                      int i, j, k;
                      for (i = 0; i < 2; i++)
                          l_2056[i] = 0xA07757BEL;
                      l_2049 = l_2048;
                      --g_2057[1][1];
                      for (l_2050 = 5; (l_2050 >= 0); l_2050 -= 1)
                      { /* block id: 1048 */
                          (*g_1054) = (*g_1054);
                          return p_36;
                      }
                      for (g_358 = 0; (g_358 <= 1); g_358 += 1)
                      { /* block id: 1054 */
                          struct S1 *l_2060 = &g_1055;
                          uint32_t *l_2075[3];
                          int32_t l_2076 = 0L;
                          int32_t l_2077 = 0xA54B626DL;
                          int32_t l_2078 = 0x2FF11CBCL;
                          uint64_t l_2079[9] = {18446744073709551610UL,18446744073709551610UL,18446744073709551610UL,18446744073709551610UL,18446744073709551610UL,18446744073709551610UL,18446744073709551610UL,18446744073709551610UL,18446744073709551610UL};
                          uint64_t l_2085 = 0xF53A52177FCB79AFLL;
                          int i;
                          for (i = 0; i < 3; i++)
                              l_2075[i] = &g_810;
                          (*l_2060) = l_2048;
                          (*l_2015) &= (safe_div_func_uint16_t_u_u(((((~((*l_1615) = ((+0x86L) , ((l_1336 , (l_2065[2][3] == ((((0UL > (safe_add_func_int64_t_s_s(p_36, (safe_div_func_uint64_t_u_u(((safe_mod_func_int8_t_s_s((!((p_36 != (l_2079[7]--)) < ((safe_add_func_uint16_t_u_u((safe_unary_minus_func_uint64_t_u(((0UL || (g_273[0][0][3] , ((p_36 & 0UL) , 0x3B33180DL))) > 1L))), p_36)) < 1L))), l_2033)) == l_2039), 0x5B934C7390B6D0B1LL))))) > 0UL) | 0x3B7FL) , &l_2051))) > (-6L))))) & l_2036) != p_36) & p_36), l_2085));
                          g_2087--;
                      }
                  }
                  for (g_1817 = 0; (g_1817 <= 5); g_1817 += 1)
                  { /* block id: 1064 */
                      l_2090--;
                      if ((*l_2018))
                          break;
                      l_2093 = &l_1488;
                      for (g_314 = 0; (g_314 <= 0); g_314 += 1)
                      { /* block id: 1070 */
                          if ((*g_456))
                              break;
                      }
                  }
              }
          }
          else
          { /* block id: 1075 */
              int32_t l_2103 = 0xC7134EB5L;
              int64_t *l_2106[2][4] = {{&g_168,&g_269,&g_168,&g_269},{&g_168,&g_269,&g_168,&g_269}};
              int i, j;
              (*l_2015) |= ((safe_mul_func_int8_t_s_s((safe_rshift_func_uint16_t_u_s(((!(((~((l_2122 ^= (safe_add_func_int64_t_s_s((p_36 |= (l_2102 & (--g_1692.f3))), ((safe_div_func_uint8_t_u_u(((l_2103 , ((safe_mod_func_uint8_t_u_u((~((safe_sub_func_uint64_t_u_u((l_1493 , l_2103), l_2103)) & (((safe_lshift_func_int16_t_s_s((safe_mul_func_int16_t_s_s(l_1494, ((((safe_mod_func_int32_t_s_s(1L, ((l_1618[3] == (safe_mul_func_uint8_t_u_u(2UL, 0L))) ^ l_1272.f0))) , 0x1B10358810959954LL) , l_1493) <= l_2103))), l_2103)) > (*l_2007)) <= l_1486))), (*p_37))) | l_2103)) <= l_2103), (*p_37))) ^ (*l_2010))))) < (*p_37))) , &l_1679[1]) != &l_1679[0])) | 0x0EL), g_356)), (*p_37))) , p_36);
              for (g_2021 = 0; (g_2021 >= 14); g_2021++)
              { /* block id: 1082 */
                  int8_t l_2125[5][6] = {{(-1L),1L,0x3BL,0x3BL,1L,0L},{0x3BL,1L,0L,0x37L,(-1L),(-1L)},{(-1L),(-1L),1L,(-1L),(-1L),1L},{(-1L),0x3BL,(-1L),0x37L,4L,4L},{0x3BL,(-1L),(-1L),0x3BL,1L,4L}};
                  uint16_t l_2126[2];
                  int i, j;
                  for (i = 0; i < 2; i++)
                      l_2126[i] = 0xB954L;
                  --l_2126[0];
              }
          }
          l_1493 ^= ((+g_831[0][2]) , ((safe_add_func_int8_t_s_s(((**l_1722) &= (((*g_1042) > (((*l_2132) = p_36) < (safe_div_func_int16_t_s_s((((*l_1615) = ((safe_sub_func_uint8_t_u_u((((((*l_2018) &= (safe_mod_func_int8_t_s_s((((+(*p_37)) || 1UL) ^ p_36), (safe_mul_func_uint8_t_u_u(p_36, (l_1323 && (0x63C469CFL || (*g_456)))))))) > p_36) > l_1585[0][2][1]) ^ p_36), (*p_37))) || p_36)) >= p_36), 65534UL)))) , l_2142)), 248UL)) != 0xB386L));
      }
      return p_36;
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_810 g_1056 g_406 g_5 g_1077 g_1079 g_102 g_142 g_1060.f0 g_832 g_553 g_877 g_273 g_769 g_770 g_771 g_72 g_942.f2.f1 g_942.f2.f2 g_1200 g_232 g_1225 g_963 g_1259
   * writes: g_810 g_1056 g_274 g_106.f1 g_171 g_102 g_1079 g_170 g_473 g_639 g_1060.f0 g_412 g_1110 g_140 g_553 g_314 g_273 g_142 g_1077.f1 g_270 g_456 g_1055 g_1225 g_1057.f0 g_1259
   */
  static int8_t * func_38(const int8_t  p_39, uint32_t  p_40, struct S1  p_41, int8_t * p_42)
  { /* block id: 531 */
      uint64_t *l_1069 = &g_358;
      int32_t l_1073 = 0x7620ECB9L;
      union U3 *l_1082 = &g_1083;
      union U4 *l_1107 = &g_1108[2][8][0];
      uint32_t *l_1119 = &g_171;
      uint32_t **l_1118 = &l_1119;
      uint32_t *** const l_1117[6] = {&l_1118,&l_1118,&l_1118,&l_1118,&l_1118,&l_1118};
      int32_t l_1138 = 7L;
      int32_t l_1140 = 0x038B8A86L;
      int32_t l_1142 = 0L;
      int32_t l_1143 = 0x2A94EA4AL;
      union U6 *l_1149 = &g_1150;
      union U3 **l_1157[8];
      union U3 ***l_1156 = &l_1157[5];
      int64_t **l_1213 = &g_352;
      struct S1 *l_1254 = &g_1055;
      uint32_t l_1256 = 1UL;
      uint32_t l_1257 = 0UL;
      struct S0 **l_1260 = &g_1259;
      int i;
      for (i = 0; i < 8; i++)
          l_1157[i] = &g_1079;
      for (g_810 = 0; (g_810 <= 8); g_810 += 1)
      { /* block id: 534 */
          union U5 **l_1058 = &g_1056;
          union U5 *l_1059 = &g_1060;
          uint64_t *l_1070 = (void*)0;
          int32_t l_1078 = 0x0C61FE2EL;
          struct S1 * const l_1084 = &g_1055;
          int32_t l_1106 = (-4L);
          int32_t l_1141 = (-3L);
          uint8_t l_1144[9] = {255UL,255UL,255UL,255UL,255UL,255UL,255UL,255UL,255UL};
          union U4 **l_1176[9][7] = {{&l_1107,(void*)0,&l_1107,&g_412,&g_412,&l_1107,(void*)0},{(void*)0,&g_1110,(void*)0,&l_1107,&g_1110,(void*)0,&g_1110},{&l_1107,&g_412,&g_412,&l_1107,(void*)0,&l_1107,&g_412},{(void*)0,&g_1110,(void*)0,&l_1107,(void*)0,&g_1110,(void*)0},{&l_1107,&g_412,&g_412,&g_412,&l_1107,&l_1107,&g_412},{&g_412,&g_1110,&g_412,(void*)0,(void*)0,&l_1107,&g_1110},{&g_412,(void*)0,&g_412,&g_412,(void*)0,&g_412,(void*)0},{&g_412,(void*)0,(void*)0,&l_1107,&g_1110,&l_1107,(void*)0},{&l_1107,&l_1107,&g_412,&g_412,&g_412,&l_1107,&l_1107}};
          int32_t l_1179 = 0x46806B07L;
          int i, j;
          l_1059 = ((*l_1058) = g_1056);
          g_106.f1 = (safe_rshift_func_int16_t_s_u((safe_sub_func_int32_t_s_s(((((safe_rshift_func_uint8_t_u_s(g_406, (*p_42))) != (l_1069 == l_1070)) && (safe_sub_func_uint8_t_u_u((p_41.f0 , (g_274 = l_1073)), l_1073))) >= (safe_sub_func_uint16_t_u_u(p_39, (~(g_1077 , l_1078))))), p_41.f1)), 9));
          for (g_171 = 0; (g_171 <= 8); g_171 += 1)
          { /* block id: 541 */
              int8_t *l_1098[5];
              union U5 *l_1103 = &g_1104[2][1];
              int32_t *l_1105 = &l_1078;
              union U4 **l_1109 = &l_1107;
              int32_t l_1114 = 0x915C33D1L;
              uint32_t ***l_1120 = &l_1118;
              int16_t *l_1121 = &g_140;
              int32_t l_1126 = 0L;
              int32_t l_1139[5][7][7] = {{{0x5D724EB6L,(-4L),0x616DDB9FL,(-4L),0x5D724EB6L,0x117F3624L,0x365F83B8L},{0L,(-1L),2L,0xE4CA41B8L,0L,1L,1L},{0xD413A844L,(-4L),0x302B7C22L,(-4L),0xD413A844L,0x117F3624L,1L},{0L,0xE4CA41B8L,2L,(-1L),0L,(-1L),1L},{0x5D724EB6L,(-4L),0x616DDB9FL,(-4L),0x5D724EB6L,0x117F3624L,0x365F83B8L},{0L,(-1L),2L,0xE4CA41B8L,0L,1L,1L},{0xD413A844L,(-4L),0x302B7C22L,(-4L),0xD413A844L,0x117F3624L,1L}},{{0L,0xE4CA41B8L,2L,(-1L),0L,(-1L),1L},{0x5D724EB6L,(-4L),0x616DDB9FL,(-4L),0x5D724EB6L,0x117F3624L,0x365F83B8L},{0L,(-1L),2L,0xE4CA41B8L,0L,1L,1L},{0xD413A844L,(-4L),0x302B7C22L,(-4L),0xD413A844L,0x117F3624L,1L},{0L,0xE4CA41B8L,2L,(-1L),0L,(-1L),2L},{0x365F83B8L,0xDC8F2338L,0L,0xDC8F2338L,0x365F83B8L,0x46039BC2L,0x616DDB9FL},{(-1L),0x57EF90C4L,0L,(-9L),(-1L),2L,2L}},{{1L,0xDC8F2338L,0xE04642FCL,0xDC8F2338L,1L,0x46039BC2L,0x302B7C22L},{(-1L),(-9L),0L,0x57EF90C4L,(-1L),0x46889A02L,2L},{0x365F83B8L,0xDC8F2338L,0L,0xDC8F2338L,0x365F83B8L,0x46039BC2L,0x616DDB9FL},{(-1L),0x57EF90C4L,0L,(-9L),(-1L),2L,2L},{1L,0xDC8F2338L,0xE04642FCL,0xDC8F2338L,1L,0x46039BC2L,0x302B7C22L},{(-1L),(-9L),0L,0x57EF90C4L,(-1L),0x46889A02L,2L},{0x365F83B8L,0xDC8F2338L,0L,0xDC8F2338L,0x365F83B8L,0x46039BC2L,0x616DDB9FL}},{{(-1L),0x57EF90C4L,0L,(-9L),(-1L),2L,2L},{1L,0xDC8F2338L,0xE04642FCL,0xDC8F2338L,1L,0x46039BC2L,0x302B7C22L},{(-1L),(-9L),0L,0x57EF90C4L,(-1L),0x46889A02L,2L},{0x365F83B8L,0xDC8F2338L,0L,0xDC8F2338L,0x365F83B8L,0x46039BC2L,0x616DDB9FL},{(-1L),0x57EF90C4L,0L,(-9L),(-1L),2L,2L},{1L,0xDC8F2338L,0xE04642FCL,0xDC8F2338L,1L,0x46039BC2L,0x302B7C22L},{(-1L),(-9L),0L,0x57EF90C4L,(-1L),0x46889A02L,2L}},{{0x365F83B8L,0xDC8F2338L,0L,0xDC8F2338L,0x365F83B8L,0x46039BC2L,0x616DDB9FL},{(-1L),0x57EF90C4L,0L,(-9L),(-1L),2L,2L},{1L,0xDC8F2338L,0xE04642FCL,0xDC8F2338L,1L,0x46039BC2L,0x302B7C22L},{(-1L),(-9L),0L,0x57EF90C4L,(-1L),0x46889A02L,2L},{0x365F83B8L,0xDC8F2338L,0L,0xDC8F2338L,0x365F83B8L,0x46039BC2L,0x616DDB9FL},{(-1L),0x57EF90C4L,0L,(-9L),(-1L),2L,2L},{1L,0xDC8F2338L,0xE04642FCL,0xDC8F2338L,1L,0x46039BC2L,0x302B7C22L}}};
              struct S1 l_1232[10] = {{90,61},{90,61},{90,61},{90,61},{90,61},{90,61},{90,61},{90,61},{90,61},{90,61}};
              int8_t **l_1238 = &l_1098[1];
              int8_t ***l_1237 = &l_1238;
              int32_t *l_1258[5] = {&l_1142,&l_1142,&l_1142,&l_1142,&l_1142};
              int i, j, k;
              for (i = 0; i < 5; i++)
                  l_1098[i] = &g_5;
              l_1078 |= (p_41 , l_1073);
              for (g_102 = 0; (g_102 <= 2); g_102 += 1)
              { /* block id: 545 */
                  union U3 **l_1081 = &g_1079;
                  struct S1 *l_1085 = &g_1077;
                  l_1082 = ((*l_1081) = g_1079);
                  for (g_170 = 3; (g_170 >= 0); g_170 -= 1)
                  { /* block id: 550 */
                      uint8_t l_1092 = 0UL;
                      for (g_473 = 0; (g_473 <= 3); g_473 += 1)
                      { /* block id: 553 */
                          int32_t *l_1097 = &g_1060.f0;
                          int i;
                          l_1085 = l_1084;
                          (*l_1097) |= ((((g_142[g_102] & (~((safe_add_func_int8_t_s_s((safe_add_func_int8_t_s_s(l_1078, (safe_unary_minus_func_int16_t_s((255UL >= (l_1073 || (l_1092 ^ (0xB20873D2L == (g_142[g_102] <= ((p_40 , (g_639 = (safe_mod_func_int64_t_s_s(0xF16D9DCE8BDB0225LL, l_1078)))) ^ 0x4CL)))))))))), (*p_42))) && 9L))) != 9UL) || 0L) , 1L);
                          return l_1098[4];
                      }
                  }
              }
              if ((safe_mod_func_int64_t_s_s((safe_add_func_int32_t_s_s(((*l_1105) = (l_1103 != ((*l_1058) = l_1103))), ((l_1106 == (((*l_1109) = l_1107) != (g_1110 = (g_412 = (void*)0)))) && (((*l_1121) = (safe_add_func_uint32_t_u_u(g_832, ((l_1114 < (((p_41.f1 = (safe_sub_func_int64_t_s_s(1L, (((p_41.f1 , p_39) , 0UL) , p_39)))) , l_1117[4]) != l_1120)) , l_1114)))) && l_1106)))), 1L)))
              { /* block id: 568 */
                  int32_t *l_1122 = (void*)0;
                  int32_t *l_1123 = &g_1104[2][1].f0;
                  int32_t *l_1124 = (void*)0;
                  int32_t *l_1125 = &g_1057.f0;
                  int32_t *l_1127 = (void*)0;
                  int32_t *l_1128 = &l_1106;
                  int32_t *l_1129 = &g_72;
                  int32_t *l_1130 = (void*)0;
                  int32_t *l_1131 = (void*)0;
                  int32_t *l_1132 = &g_1060.f0;
                  int32_t *l_1133 = &l_1106;
                  int32_t l_1134 = 0x1BE0410BL;
                  int32_t *l_1135 = &l_1078;
                  int32_t *l_1136 = &l_1073;
                  int32_t *l_1137[6] = {&l_1106,&l_1073,&l_1106,&l_1106,&l_1073,&l_1106};
                  union U6 **l_1147 = (void*)0;
                  union U6 **l_1148[2][2][9] = {{{&g_553,&g_553,&g_553,&g_553,&g_553,&g_553,&g_553,&g_553,&g_553},{&g_553,&g_553,(void*)0,&g_553,&g_553,&g_553,(void*)0,&g_553,&g_553}},{{&g_553,&g_553,(void*)0,&g_553,&g_553,&g_553,(void*)0,&g_553,&g_553},{&g_553,&g_553,(void*)0,&g_553,&g_553,&g_553,(void*)0,&g_553,&g_553}}};
                  int i, j, k;
                  l_1144[0]++;
                  g_553 = (l_1149 = g_553);
                  for (g_314 = 0; (g_314 <= 8); g_314 += 1)
                  { /* block id: 574 */
                      int32_t **l_1151 = &l_1136;
                      (*l_1151) = &g_963;
                  }
              }
              else
              { /* block id: 577 */
                  uint16_t l_1168 = 65535UL;
                  int32_t l_1180 = 9L;
                  int32_t l_1194 = 0x90E9CB95L;
                  int32_t *l_1220 = &l_1143;
                  int32_t *l_1221 = &g_1104[2][1].f0;
                  int32_t *l_1222 = &l_1138;
                  int32_t *l_1223[3][7][4] = {{{(void*)0,&l_1141,(void*)0,(void*)0},{&l_1141,&l_1141,&g_1057.f0,&l_1141},{&l_1141,(void*)0,(void*)0,&l_1141},{(void*)0,&l_1141,(void*)0,(void*)0},{&l_1141,&l_1141,&g_1057.f0,&l_1141},{&l_1141,(void*)0,(void*)0,&l_1141},{(void*)0,&l_1141,(void*)0,(void*)0}},{{&l_1141,&l_1141,&g_1057.f0,&l_1141},{&l_1141,(void*)0,(void*)0,&l_1141},{(void*)0,&l_1141,(void*)0,(void*)0},{&l_1141,&l_1141,&g_1057.f0,&l_1141},{&l_1141,(void*)0,(void*)0,&l_1141},{(void*)0,&l_1141,(void*)0,(void*)0},{&l_1141,&l_1141,&g_1057.f0,&l_1141}},{{&l_1141,(void*)0,(void*)0,&l_1141},{(void*)0,&l_1141,(void*)0,(void*)0},{&l_1141,&l_1141,&g_1057.f0,&l_1141},{&l_1141,(void*)0,(void*)0,&l_1141},{(void*)0,&l_1141,(void*)0,(void*)0},{&l_1141,&l_1141,&g_1057.f0,&l_1141},{&l_1141,(void*)0,(void*)0,&l_1141}}};
                  union U4 ***l_1228 = &l_1176[3][0];
                  int i, j, k;
                  if (((*g_877) <= 0x11L))
                  { /* block id: 578 */
                      int64_t l_1165 = 0x6D8C90A6DFBD84DALL;
                      struct S0 *l_1175[3];
                      struct S0 **l_1174 = &l_1175[1];
                      uint16_t *l_1177 = &g_142[1];
                      uint16_t *l_1178[8] = {&g_473,(void*)0,&g_473,(void*)0,&g_473,(void*)0,&g_473,(void*)0};
                      int i;
                      for (i = 0; i < 3; i++)
                          l_1175[i] = (void*)0;
                      (*l_1105) ^= ((safe_rshift_func_uint8_t_u_s((((*p_42) == (safe_rshift_func_int8_t_s_u((l_1156 != (void*)0), 1))) <= (((safe_mul_func_int16_t_s_s(((*l_1121) = (safe_add_func_uint8_t_u_u((+((safe_div_func_uint64_t_u_u(p_41.f1, p_40)) | (l_1140 | l_1165))), (safe_div_func_uint8_t_u_u((((l_1069 != (**g_769)) == g_1077.f1) && l_1165), 0x4DL))))), g_1077.f1)) , l_1165) && l_1168)), (*p_42))) & g_72);
                      l_1180 &= ((l_1073 = ((*l_1177) |= (safe_sub_func_int32_t_s_s(((0x4B8D48153ED354ADLL && ((l_1176[3][0] = ((((((safe_mod_func_int32_t_s_s((g_942.f2.f1 != ((*l_1105) = ((g_406 || (!(&p_42 == (void*)0))) > 0x43BCAA4EL))), l_1142)) ^ ((*g_877) |= (*p_42))) & (((l_1174 == (void*)0) > p_41.f1) | 0UL)) , 0x629958B5L) > g_942.f2.f2) , l_1109)) != l_1109)) , 0x96B9CE3DL), 0xE273DDF9L)))) | l_1179);
                  }
                  else
                  { /* block id: 587 */
                      uint16_t l_1181 = 0x2ACDL;
                      struct S1 l_1190 = {2,12};
                      uint8_t *l_1191 = &g_413[8].f3;
                      uint8_t *l_1192[6] = {&g_1108[2][8][0].f3,&g_1060.f3,&g_1060.f3,&g_1108[2][8][0].f3,&g_1060.f3,&g_1060.f3};
                      int32_t l_1193 = 0x569CAAF6L;
                      int64_t **l_1197 = &g_351;
                      int i;
                      (*l_1105) &= l_1181;
                      g_1077.f1 = (p_41.f0 < ((p_41.f1 <= (safe_mul_func_int16_t_s_s(p_39, (0x0A4AL <= 0x9718L)))) <= (g_553 == (void*)0)));
                      if ((safe_add_func_uint64_t_u_u((safe_mul_func_uint16_t_u_u((l_1190 , (((g_102++) ^ ((p_40 , l_1197) == ((safe_lshift_func_int8_t_s_s((g_1200 == (void*)0), 2)) , l_1213))) < (p_41.f0 == ((*p_42) | ((safe_div_func_uint16_t_u_u((safe_add_func_int64_t_s_s((g_270[g_810] = (((*g_877) = (safe_add_func_uint8_t_u_u((((l_1190.f0 == l_1181) , 0x5365CDBF51F1E7AFLL) > l_1140), g_232))) < p_41.f1)), 0x5CC52B3EE693552ELL)), 0x587DL)) ^ l_1190.f0))))), p_39)), 0x577B8138A898D960LL)))
                      { /* block id: 593 */
                          g_456 = &g_963;
                      }
                      else
                      { /* block id: 595 */
                          (*l_1084) = p_41;
                      }
                  }
                  ++g_1225;
                  g_1057.f0 = (l_1109 != ((*l_1228) = &l_1107));
              }
              l_1142 &= ((safe_unary_minus_func_int16_t_s((safe_lshift_func_int16_t_s_s(((((l_1232[0] , (-8L)) || (safe_mul_func_uint8_t_u_u((safe_mul_func_int8_t_s_s((((*g_877) = ((l_1237 != ((safe_mod_func_int64_t_s_s((safe_rshift_func_int8_t_s_u(((safe_mod_func_int8_t_s_s(((safe_rshift_func_int8_t_s_s((((safe_lshift_func_uint16_t_u_u(((!(safe_add_func_uint8_t_u_u(255UL, ((g_963 ^ (safe_sub_func_int16_t_s_s(((l_1254 != (((!l_1144[0]) | 0x8C48788AL) , l_1254)) , l_1179), l_1256))) ^ l_1143)))) != (*l_1105)), 1)) , 4294967290UL) != p_41.f1), 3)) == 8UL), p_40)) | 1L), l_1073)), p_41.f0)) , (void*)0)) ^ 0L)) ^ 6UL), (*p_42))), 4L))) , l_1257) == (*l_1105)), 12)))) && 0L);
          }
      }
      (*l_1260) = g_1259;
      return &g_273[0][0][9];
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_406 g_833 g_831 g_119 g_639 g_142 g_890.f2.f3 g_271 g_892.f2.f1 g_131 g_63 g_273 g_891 g_473 g_72 g_358 g_963 g_106 g_356 g_877 g_269 g_890.f2.f2 g_5 g_232 g_672 g_769 g_770 g_140 g_890.f2.f1 g_270 g_1042 g_168
   * writes: g_168 g_140 g_585 g_271 g_891 g_833 g_895 g_142 g_356 g_106.f1 g_63 g_456 g_942.f0 g_358 g_639 g_232 g_963 g_106 g_72 g_473 g_270 g_1035 g_1041 g_1003.f2 g_484 g_1054
   */
  static int64_t  func_43(int8_t * p_44, int8_t * p_45, int8_t * const  p_46, int8_t * const  p_47, const int16_t  p_48)
  { /* block id: 430 */
      uint32_t l_886 = 0x587F6DCCL;
      union U6 **l_940 = (void*)0;
      struct S2 * const l_941 = &g_942;
      int32_t l_946 = (-7L);
      struct S1 *l_960 = &g_106;
      int64_t *l_993[8] = {&g_832,&g_270[4],&g_270[4],&g_832,&g_270[4],&g_270[4],&g_832,&g_270[4]};
      struct S0 *l_995 = &g_996;
      struct S1 ***l_1053[10] = {&g_484[3],&g_484[3],&g_484[3],&g_484[3],&g_484[3],&g_484[3],&g_484[3],&g_484[3],&g_484[3],&g_484[3]};
      int i;
  lbl_1052:
      for (g_168 = 0; (g_168 != 22); g_168++)
      { /* block id: 433 */
          int32_t l_918 = 3L;
          int32_t l_943 = 0xBBBD2424L;
          uint32_t l_951 = 0xE5C5850BL;
          if (g_406)
              break;
          for (g_140 = 0; (g_140 > (-28)); g_140 = safe_sub_func_int16_t_s_s(g_140, 4))
          { /* block id: 437 */
              struct S2 *l_889 = &g_890;
              int32_t l_928 = (-7L);
              for (g_585 = 24; (g_585 != 4); g_585--)
              { /* block id: 440 */
                  const union U6 *l_884 = (void*)0;
                  const union U6 **l_885 = &l_884;
                  const uint16_t *l_894 = (void*)0;
                  const uint16_t **l_893 = &l_894;
                  int32_t l_927[4][8][5] = {{{1L,0x5FEA8DF6L,(-1L),0xBA1E98EEL,(-1L)},{(-1L),(-1L),(-1L),0xBA1E98EEL,0xA704455EL},{0x5FEA8DF6L,1L,1L,0x5FEA8DF6L,(-1L)},{0x5FEA8DF6L,0xBA1E98EEL,0x7AADED00L,0x7AADED00L,0xBA1E98EEL},{(-1L),1L,0x7AADED00L,(-1L),(-1L)},{1L,(-1L),1L,0x7AADED00L,(-1L)},{0xBA1E98EEL,0x5FEA8DF6L,(-1L),0x5FEA8DF6L,0xBA1E98EEL},{1L,0x5FEA8DF6L,(-1L),0xBA1E98EEL,(-1L)}},{{(-1L),(-1L),(-1L),0xBA1E98EEL,0xA704455EL},{0x5FEA8DF6L,0xBA1E98EEL,0xBA1E98EEL,1L,0xA704455EL},{1L,0x7AADED00L,(-1L),(-1L),0x7AADED00L},{0xA704455EL,0xBA1E98EEL,(-1L),(-1L),(-1L)},{0xBA1E98EEL,0xA704455EL,0xBA1E98EEL,(-1L),(-1L)},{0x7AADED00L,1L,(-1L),1L,0x7AADED00L},{0xBA1E98EEL,1L,0xA704455EL,0x7AADED00L,0xA704455EL},{0xA704455EL,0xA704455EL,(-1L),0x7AADED00L,0x5FEA8DF6L}},{{1L,0xBA1E98EEL,0xBA1E98EEL,1L,0xA704455EL},{1L,0x7AADED00L,(-1L),(-1L),0x7AADED00L},{0xA704455EL,0xBA1E98EEL,(-1L),(-1L),(-1L)},{0xBA1E98EEL,0xA704455EL,0xBA1E98EEL,(-1L),(-1L)},{0x7AADED00L,1L,(-1L),1L,0x7AADED00L},{0xBA1E98EEL,1L,0xA704455EL,0x7AADED00L,0xA704455EL},{0xA704455EL,0xA704455EL,(-1L),0x7AADED00L,0x5FEA8DF6L},{1L,0xBA1E98EEL,0xBA1E98EEL,1L,0xA704455EL}},{{1L,0x7AADED00L,(-1L),(-1L),0x7AADED00L},{0xA704455EL,0xBA1E98EEL,(-1L),(-1L),(-1L)},{0xBA1E98EEL,0xA704455EL,0xBA1E98EEL,(-1L),(-1L)},{0x7AADED00L,1L,(-1L),1L,0x7AADED00L},{0xBA1E98EEL,1L,0xA704455EL,0x7AADED00L,0xA704455EL},{0xA704455EL,0xA704455EL,(-1L),0x7AADED00L,0x5FEA8DF6L},{1L,0xBA1E98EEL,0xBA1E98EEL,1L,0xA704455EL},{1L,0x7AADED00L,(-1L),(-1L),0x7AADED00L}}};
                  int i, j, k;
                  (*l_885) = l_884;
                  if (l_886)
                      continue;
                  for (g_271 = (-9); (g_271 > (-3)); ++g_271)
                  { /* block id: 445 */
                      g_891 = l_889;
                      for (g_833 = 0; (g_833 <= 0); g_833 += 1)
                      { /* block id: 449 */
                          uint16_t *l_913 = &g_142[1];
                          int16_t *l_929 = &g_356;
                          int i, j;
                          g_895 = l_893;
                          g_106.f1 = (safe_mul_func_uint8_t_u_u((safe_rshift_func_uint8_t_u_s((safe_add_func_int64_t_s_s((0x0CL != g_831[g_833][(g_833 + 5)]), g_119)), 4)), ((safe_sub_func_int32_t_s_s(((safe_mul_func_uint8_t_u_u((safe_div_func_uint32_t_u_u(4294967288UL, g_639)), (((*l_929) = ((safe_add_func_uint8_t_u_u(((safe_add_func_uint16_t_u_u(((*l_913)--), ((safe_add_func_uint64_t_u_u(l_918, (safe_lshift_func_uint8_t_u_s(g_890.f2.f3, l_886)))) , (safe_div_func_uint32_t_u_u(((safe_mod_func_uint16_t_u_u(((safe_sub_func_int8_t_s_s(l_927[3][6][0], g_271)) , p_48), p_48)) , l_927[1][2][4]), g_892.f2.f1))))) && l_918), l_928)) , p_48)) & 0x1B5FL))) >= l_886), g_131)) == g_119)));
                      }
                      for (g_63 = 0; (g_63 <= 0); g_63 += 1)
                      { /* block id: 457 */
                          int32_t *l_944 = &l_927[3][6][0];
                          int32_t **l_952 = &g_456;
                          int i, j, k;
                          (*l_944) = (safe_lshift_func_uint8_t_u_s(g_273[g_63][(g_63 + 3)][(g_63 + 9)], (safe_mod_func_int16_t_s_s(p_48, (safe_add_func_int32_t_s_s(0xBB3CBFE7L, ((l_943 = (((0L != (((((safe_mul_func_int8_t_s_s(l_928, (safe_mul_func_uint8_t_u_u((p_48 , ((void*)0 == l_940)), 0xB2L)))) , l_941) != (void*)0) <= l_886) ^ 0x0C6671AA8AF2646DLL)) , g_891) == g_891)) | p_48)))))));
                          (*l_944) = ((l_946 |= (!2UL)) <= (p_48 | (safe_rshift_func_int16_t_s_s((safe_add_func_int64_t_s_s(l_918, (*l_944))), 8))));
                          if (l_951)
                              continue;
                          (*l_952) = &l_927[3][6][0];
                      }
                  }
                  if (l_886)
                      break;
              }
          }
      }
      for (g_140 = 5; (g_140 >= 0); g_140 -= 1)
      { /* block id: 472 */
          int32_t *l_953 = &g_72;
          struct S1 *l_961 = &g_106;
          int64_t *l_989 = &g_270[4];
          struct S0 *l_1000 = &g_1001[2];
          struct S0 *l_1002 = &g_1003;
          uint64_t *l_1039[7][7][1] = {{{&g_358},{(void*)0},{&g_358},{&g_358},{&g_358},{(void*)0},{&g_358}},{{&g_358},{&g_358},{&g_358},{(void*)0},{&g_358},{&g_358},{&g_358}},{{(void*)0},{&g_358},{&g_358},{&g_358},{&g_358},{(void*)0},{&g_358}},{{&g_358},{&g_358},{(void*)0},{&g_358},{&g_358},{&g_358},{&g_358}},{{(void*)0},{&g_358},{&g_358},{&g_358},{(void*)0},{&g_358},{&g_358}},{{&g_358},{&g_358},{(void*)0},{&g_358},{&g_358},{&g_358},{(void*)0}},{{&g_358},{&g_358},{&g_358},{&g_358},{(void*)0},{&g_358},{&g_358}}};
          uint64_t **l_1038 = &l_1039[2][0][0];
          int i, j, k;
          for (g_942.f0 = 5; (g_942.f0 >= 1); g_942.f0 -= 1)
          { /* block id: 475 */
              uint32_t l_972 = 0x588D82DBL;
              int64_t *l_973 = &g_832;
              int8_t *l_978 = &g_63;
              uint16_t *l_988 = &g_473;
              uint16_t *l_990 = (void*)0;
              uint16_t *l_991[10] = {&g_672,&g_672,&g_142[1],&g_672,&g_672,&g_142[1],&g_672,&g_672,&g_142[1],&g_672};
              uint64_t l_992 = 0x567FF72968CB50BDLL;
              int32_t l_994 = 6L;
              int i;
              for (g_358 = 1; (g_358 <= 5); g_358 += 1)
              { /* block id: 478 */
                  for (g_639 = 0; (g_639 <= 8); g_639 += 1)
                  { /* block id: 481 */
                      for (g_356 = 1; (g_356 <= 5); g_356 += 1)
                      { /* block id: 484 */
                          l_953 = &g_72;
                      }
                      for (g_232 = 0; (g_232 <= 8); g_232 += 1)
                      { /* block id: 489 */
                          struct S1 l_956 = {24,56};
                          int32_t *l_962 = &g_963;
                          int i;
                          (*l_962) |= ((safe_mod_func_int16_t_s_s(((0x437F155E10568F7FLL && (65535UL < (l_956 , ((g_473 != ((!(l_960 != l_961)) & (((0x91B3FF4C694FF472LL < p_48) && p_48) > l_946))) >= p_48)))) ^ (*l_953)), g_358)) != p_48);
                      }
                  }
                  (*l_960) = (*l_960);
              }
              if (p_48)
                  break;
              if (p_48)
                  continue;
              l_994 = ((safe_mul_func_uint8_t_u_u((((p_48 < ((((((safe_add_func_uint16_t_u_u((l_992 = (g_142[1] |= (safe_sub_func_int8_t_s_s((safe_div_func_uint64_t_u_u((((((((9UL <= (((*l_953) ^= g_356) >= l_972)) , ((*g_877) <= (l_973 == ((safe_sub_func_int32_t_s_s((safe_mul_func_int8_t_s_s(((*l_978) = (-10L)), (((l_946 < ((*l_988) &= ((*l_953) = (safe_mod_func_uint32_t_u_u(((safe_add_func_int32_t_s_s((safe_rshift_func_int8_t_s_s(((((safe_unary_minus_func_uint8_t_u(((safe_mul_func_int16_t_s_s(p_48, p_48)) <= l_972))) != p_48) <= (*l_953)) || 1L), 2)), p_48)) , l_946), 0xE20CFFBDL))))) , l_886) & 9L))), p_48)) , l_989)))) , g_269) >= 0x842622589F6186E4LL) || (*g_877)) , 0L) , g_890.f2.f2), l_972)), l_886)))), p_48)) , l_993[3]) != (void*)0) ^ (*p_44)) == (*p_46)) >= g_232)) & p_48) >= l_972), (*g_877))) < p_48);
          }
          for (g_232 = 5; (g_232 >= 0); g_232 -= 1)
          { /* block id: 507 */
              struct S0 **l_997 = (void*)0;
              struct S0 **l_998 = (void*)0;
              struct S0 **l_999[4][3];
              uint16_t *l_1009 = (void*)0;
              uint16_t *l_1010 = &g_142[2];
              struct S2 *l_1011 = (void*)0;
              int16_t *l_1030 = (void*)0;
              int16_t *l_1031[10] = {(void*)0,&g_271,(void*)0,(void*)0,(void*)0,(void*)0,&g_271,(void*)0,(void*)0,(void*)0};
              int32_t l_1032 = 0xD5B876FAL;
              uint64_t *l_1033 = &g_358;
              int64_t **l_1034 = &l_993[3];
              int32_t l_1036[9][8] = {{0L,0xB7F10ED4L,0L,0x7501CE81L,0x05675E77L,0L,0xE4965F58L,0x92EE812BL},{0x7501CE81L,1L,0xA43485DBL,0L,(-2L),(-2L),0L,0xA43485DBL},{0x7501CE81L,0x7501CE81L,0x92EE812BL,0xE4965F58L,0L,0x05675E77L,0x7501CE81L,0L},{0xE97F8874L,0L,1L,0xE97F8874L,0L,0xE97F8874L,1L,0L},{0L,0xC0A46DF9L,0xA43485DBL,0xE4965F58L,0xC0A46DF9L,1L,0L,0xA43485DBL},{8L,0L,(-10L),0L,0L,(-10L),0L,8L},{(-2L),0L,0xA43485DBL,1L,0x7501CE81L,(-2L),1L,0xE4965F58L},{0x7501CE81L,(-2L),1L,0xE4965F58L,1L,(-2L),0x7501CE81L,1L},{8L,0L,0x92EE812BL,8L,0L,(-10L),0L,0L}};
              uint32_t *l_1051 = (void*)0;
              int i, j;
              for (i = 0; i < 4; i++)
              {
                  for (j = 0; j < 3; j++)
                      l_999[i][j] = (void*)0;
              }
              l_1002 = (l_1000 = l_995);
              if (((((safe_mod_func_uint64_t_u_u(((+(((((safe_div_func_uint64_t_u_u((((*l_1010) ^= (*l_953)) || ((((p_48 >= p_48) != (l_1011 == l_941)) , ((*l_961) = (*l_960))) , ((safe_sub_func_int32_t_s_s(((g_1035 = (g_270[(g_140 + 1)] = (safe_mul_func_int8_t_s_s((((g_142[1] = p_48) , (safe_sub_func_uint8_t_u_u(((safe_add_func_uint64_t_u_u((safe_mul_func_int8_t_s_s((safe_div_func_uint64_t_u_u(((safe_lshift_func_int16_t_s_u((safe_mod_func_int16_t_s_s((g_672 > (((((*l_1033) |= (safe_rshift_func_int16_t_s_u((l_1032 = p_48), 13))) != p_48) , l_1034) != (*g_769))), p_48)), l_946)) != p_48), g_106.f1)), p_48)), g_72)) || p_48), (*l_953)))) != 1UL), p_48)))) <= (-1L)), (*l_953))) == (*l_953)))), g_119)) <= 0x362BL) , 4294967293UL) && (-1L)) < 0xEC93L)) & 0xE6CB7CB8L), l_1036[6][5])) , p_48) == (*l_953)) ^ 0xA0B488F7L))
              { /* block id: 517 */
                  struct S1 l_1037 = {48,-2};
                  int i;
                  (*l_960) = l_1037;
                  l_953 = &l_946;
              }
              else
              { /* block id: 520 */
                  uint64_t ***l_1040[7][1][2] = {{{&l_1038,&l_1038}},{{&l_1038,&l_1038}},{{&l_1038,&l_1038}},{{&l_1038,&l_1038}},{{&l_1038,&l_1038}},{{&l_1038,&l_1038}},{{&l_1038,&l_1038}}};
                  int i, j, k;
                  g_1041 = l_1038;
              }
              l_1036[4][2] = (safe_sub_func_uint64_t_u_u((safe_lshift_func_int16_t_s_u((g_890.f2.f1 && (safe_add_func_int32_t_s_s((-3L), l_1036[4][5]))), 5)), (p_48 , ((((g_1003.f2 = (((p_48 , ((*p_45) == (safe_div_func_uint32_t_u_u((l_1036[6][5] != ((*g_877) && (*p_46))), g_270[(g_140 + 1)])))) == p_48) , 0x98DA7BBBL)) , (void*)0) != &g_456) , (*g_1042)))));
              if (g_271)
                  goto lbl_1052;
          }
      }
      g_1054 = (g_484[5] = &g_485);
      return p_48;
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_131 g_168 g_273 g_356 g_358 g_314 g_270
   * writes: g_106 g_72
   */
  static int8_t * func_50(int64_t  p_51, uint16_t  p_52, int8_t * p_53, uint16_t  p_54)
  { /* block id: 426 */
      uint32_t l_843 = 4294967286UL;
      int64_t l_856 = (-1L);
      struct S1 l_857 = {86,-61};
      struct S1 *l_858 = &g_106;
      union U3 * const l_862 = &g_863;
      union U3 * const *l_861 = &l_862;
      int32_t *l_875 = &g_72;
      int8_t *l_876 = &g_5;
      (*l_858) = ((safe_rshift_func_int16_t_s_u(2L, (l_843 && (safe_mod_func_uint8_t_u_u(((-1L) > (((safe_div_func_int64_t_s_s(0xFE4F2B79D30D8620LL, ((safe_sub_func_uint64_t_u_u(((l_843 & (0UL && 65535UL)) | (((0xBC30A39973BEFACALL || (safe_lshift_func_uint8_t_u_s((safe_rshift_func_int8_t_s_u((safe_div_func_int32_t_s_s(l_843, g_131)), l_843)), g_168))) , (void*)0) != (void*)0)), 0xB3F4AE9065158273LL)) , p_52))) , 5UL) || l_856)), p_54))))) , l_857);
      (*l_875) = ((safe_sub_func_uint32_t_u_u((g_273[0][0][3] == ((void*)0 != l_861)), (safe_sub_func_uint16_t_u_u((l_843 & g_356), g_358)))) , ((+(safe_rshift_func_int8_t_s_s(g_314, (((safe_rshift_func_int16_t_s_u((safe_mul_func_int8_t_s_s((g_270[4] & (safe_lshift_func_uint16_t_u_s(((l_857.f1 ^ l_857.f1) , l_856), p_54))), l_843)), p_52)) || 0x9DAFL) && l_843)))) ^ 0x5CB9E2C1L));
      return l_876;
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_72 g_102 g_106 g_5 g_142 g_140 g_63 g_119 g_171 g_183 g_109 g_232 g_170 g_131 g_274 g_283 g_271 g_270 g_314 g_273 g_168 g_367 g_269 g_406 g_412 g_456 g_358 g_473 g_484 g_356 g_810 g_833
   * writes: g_119 g_142 g_102 g_131 g_168 g_171 g_72 g_106.f1 g_232 g_63 g_274 g_314 g_140 g_351 g_352 g_356 g_358 g_406 g_456 g_484 g_413.f3 g_106.f0 g_810 g_833 g_485
   */
  static int32_t  func_56(int8_t  p_57, const int8_t * p_58, uint32_t  p_59, int8_t * p_60)
  { /* block id: 37 */
      uint16_t l_116[5] = {0x9577L,0x9577L,0x9577L,0x9577L,0x9577L};
      int16_t *l_117 = (void*)0;
      int16_t *l_118 = &g_119;
      struct S1 l_122 = {129,0};
      int32_t *l_137 = (void*)0;
      int32_t l_141 = 1L;
      int8_t *l_228 = &g_5;
      int8_t **l_227 = &l_228;
      union U3 *l_281 = &g_282;
      int64_t *l_353 = &g_168;
      int32_t l_402 = 0x7C8A839DL;
      union U4 **l_491 = &g_412;
      struct S1 *l_582 = &g_106;
      int32_t l_637 = 0xF4DE2BB9L;
      uint32_t *l_708 = &g_314;
      uint32_t **l_707 = &l_708;
      uint32_t ***l_706 = &l_707;
      union U3 **l_773 = &l_281;
      union U3 *** const l_772 = &l_773;
      union U6 *l_789 = &g_790;
      union U6 **l_791 = &l_789;
      const struct S1 *l_839 = &g_106;
      const struct S1 **l_838[10] = {&l_839,&l_839,&l_839,&l_839,&l_839,&l_839,&l_839,&l_839,&l_839,&l_839};
      struct S1 *l_840 = &g_106;
      int i;
      if (((0x5611L < (safe_rshift_func_uint16_t_u_s(g_72, ((((((*l_118) = (l_116[0] , p_57)) ^ (l_116[0] & g_102)) == 0xE16D896CD2A541E7LL) , g_72) | p_57)))) , l_116[3]))
      { /* block id: 39 */
          struct S1 *l_120 = (void*)0;
          struct S1 *l_121[10];
          int32_t l_125 = (-1L);
          int32_t l_165 = (-3L);
          int32_t l_169[4][10][6] = {{{0xC6651808L,0x8FBDC138L,(-1L),0xD43EB6FFL,0L,1L},{(-2L),0xE9FF3C38L,0xC625639FL,0x97FCBD7AL,0L,(-7L)},{0x454CA82FL,0x49C76149L,1L,0xDE83E9DEL,0x2F62A813L,0xC625639FL},{0xD43EB6FFL,6L,(-1L),0x7E85E602L,0xD3BA113AL,0xAC1AD123L},{6L,0xADFA8AF1L,0xC625639FL,0xD4CF2364L,0L,(-1L)},{2L,0xADFA8AF1L,1L,0x287A3C92L,0xD3BA113AL,0x2F62A813L},{(-1L),6L,0xB0B14FC1L,0xC6651808L,0x2F62A813L,9L},{(-7L),0x49C76149L,0x927C989EL,0x65B96844L,0L,0x8FBDC138L},{2L,0xE9FF3C38L,0x858CDCFDL,2L,0L,0L},{1L,0x8FBDC138L,6L,0x7E85E602L,1L,9L}},{{0x97FCBD7AL,0x60D7D18FL,0L,1L,1L,(-1L)},{0x454CA82FL,0x8FBDC138L,1L,0x2696941DL,0L,0x1C3D1073L},{0xC7EDD3F1L,0xE9FF3C38L,0x49C76149L,0xD43EB6FFL,0L,0xAC1AD123L},{0xC3BF28D7L,0x49C76149L,0x2F62A813L,1L,0x2F62A813L,0x49C76149L},{0x2696941DL,6L,1L,0L,0xD3BA113AL,(-1L)},{1L,0xADFA8AF1L,0x49C76149L,0x6CBEDFB4L,0L,1L},{0xD4CF2364L,0xADFA8AF1L,0x8C0F74BFL,(-1L),0L,0x6F50C62AL},{0x1C3D1073L,0x5E2D5444L,(-6L),(-1L),0x02343891L,1L},{(-1L),0xC9471742L,0x5E2D5444L,0x8FBDC138L,(-9L),2L},{0x858CDCFDL,(-1L),0L,0x858CDCFDL,0x8001326FL,0xBCEAF5C8L}},{{0L,0xBCEAF5C8L,2L,0xC625639FL,(-7L),1L},{0xADFA8AF1L,0x1C2E77F7L,0x2F4DF6C7L,6L,(-7L),0x8C604228L},{0x94419D39L,0xBCEAF5C8L,0x8C0F74BFL,9L,0x8001326FL,0xDA9AB640L},{(-1L),(-1L),0x33B97862L,0L,(-9L),0x974F6019L},{0x60D7D18FL,0xC9471742L,0x6F50C62AL,6L,0x02343891L,0x33B97862L},{9L,0x5E2D5444L,0x02343891L,0xE9429D60L,0L,1L},{0L,1L,0x33B97862L,0xD3BA113AL,1L,0x8C0F74BFL},{0xE9FF3C38L,1L,0xDA9AB640L,0x8FBDC138L,0L,0x8C604228L},{1L,0x5E2D5444L,0x8001326FL,0x94419D39L,0x02343891L,1L},{0x1C3D1073L,0xC9471742L,2L,0L,(-9L),(-9L)}},{{0xE9FF3C38L,(-1L),(-1L),0xE9FF3C38L,0x8001326FL,2L},{2L,0xBCEAF5C8L,(-4L),0xE9429D60L,(-7L),1L},{0L,0x1C2E77F7L,(-6L),0x927C989EL,(-7L),0x02343891L},{0x60D7D18FL,0xBCEAF5C8L,0xDA9AB640L,0xADFA8AF1L,0x8001326FL,0xE5EACDDFL},{0xAC1AD123L,(-1L),(-3L),9L,(-9L),1L},{(-1L),0xC9471742L,0x8C604228L,0x927C989EL,0x02343891L,(-3L)},{0xADFA8AF1L,0x5E2D5444L,0x6F50C62AL,0x49C76149L,0L,0x8A477277L},{2L,1L,(-3L),0x858CDCFDL,1L,0xDA9AB640L},{0xD3BA113AL,1L,0xE5EACDDFL,0L,0L,0x02343891L},{(-1L),0x5E2D5444L,0x2F4DF6C7L,0x60D7D18FL,0x02343891L,(-1L)}}};
          union U4 *l_342[2];
          uint32_t l_403 = 0x5C83813DL;
          int32_t *l_436[2];
          uint64_t l_437 = 0UL;
          int32_t *l_458[8][5][6] = {{{&l_169[1][4][4],&g_72,&l_125,(void*)0,(void*)0,&l_169[1][1][0]},{(void*)0,&g_72,&l_169[1][1][0],&l_125,&l_169[2][0][2],&l_402},{&l_402,&g_72,&l_169[1][1][0],&l_169[3][1][5],&g_72,&l_169[1][0][3]},{&l_125,&g_72,(void*)0,(void*)0,&l_169[1][1][0],&l_169[3][3][5]},{(void*)0,&l_125,(void*)0,&l_169[0][0][2],(void*)0,&l_169[1][1][0]}},{{(void*)0,&l_169[1][1][0],&g_72,(void*)0,&g_72,(void*)0},{&l_125,&l_169[1][1][0],(void*)0,&l_169[3][1][5],&l_165,(void*)0},{&l_402,(void*)0,&l_169[1][1][0],&l_125,&l_169[1][0][1],&l_402},{(void*)0,&g_72,&l_165,&l_165,&g_72,&l_169[3][4][3]},{(void*)0,&l_169[1][1][0],&l_402,&l_169[1][1][0],&g_72,&g_72}},{{&l_402,&l_402,&l_402,&l_402,&l_141,&l_125},{&l_169[1][1][0],&l_402,&l_169[1][1][0],(void*)0,&l_402,&l_169[0][5][4]},{&l_165,&l_165,&g_72,(void*)0,&l_402,&g_72},{&l_402,&l_402,&l_169[3][8][4],&l_169[1][1][0],&l_141,&l_169[2][7][4]},{&l_169[2][0][2],&l_402,&l_402,&g_72,&g_72,&l_402}},{{(void*)0,&l_169[1][1][0],&l_169[0][5][4],&l_169[1][0][1],&g_72,&l_402},{&l_169[1][1][0],&g_72,&l_125,&l_169[1][0][1],&l_125,&l_165},{(void*)0,&l_169[3][8][4],&l_141,&g_72,&l_165,&l_141},{&l_169[2][0][2],&l_402,&l_125,&l_169[1][1][0],&l_169[1][1][0],&l_169[1][1][0]},{&l_402,&l_169[0][5][4],&l_169[1][1][0],(void*)0,&l_125,&l_125}},{{&l_165,&l_125,&l_169[1][1][0],(void*)0,&l_402,&l_169[1][1][0]},{&l_169[1][1][0],&l_141,&l_125,&l_402,&l_125,&l_141},{&l_402,&l_125,&l_141,&l_169[1][1][0],&l_169[0][7][1],&l_165},{(void*)0,&l_169[1][1][0],&l_125,&l_165,&l_402,&l_402},{(void*)0,&l_169[1][1][0],&l_169[0][5][4],&l_402,&l_169[0][7][1],&l_402}},{{&l_169[1][1][0],&l_125,&l_402,&l_169[2][0][2],&l_125,&l_169[2][7][4]},{&g_72,&l_141,&l_169[3][8][4],(void*)0,&l_402,&g_72},{&l_169[1][0][1],&l_125,&g_72,&l_169[1][1][0],&l_125,&l_169[0][5][4]},{&l_169[1][0][1],&l_169[0][5][4],&l_169[1][1][0],(void*)0,&l_169[1][1][0],&l_125},{&g_72,&l_402,&l_402,&l_169[2][0][2],&l_165,&g_72}},{{&l_169[1][1][0],&l_169[3][8][4],&l_402,&l_402,&l_125,&l_169[3][4][3]},{(void*)0,&g_72,&l_165,&l_165,&g_72,&l_169[3][4][3]},{(void*)0,&l_169[1][1][0],&l_402,&l_169[1][1][0],&g_72,&g_72},{&l_402,&l_402,&l_402,&l_402,&l_141,&l_125},{&l_169[1][1][0],&l_402,&l_169[1][1][0],(void*)0,&l_402,&l_169[0][5][4]}},{{&l_165,&l_165,&g_72,(void*)0,&l_402,&g_72},{&l_402,&l_402,&l_169[3][8][4],&l_169[1][1][0],&l_141,&l_169[2][7][4]},{&l_169[2][0][2],&l_402,&l_402,&g_72,&g_72,&l_402},{(void*)0,&l_169[1][1][0],&l_169[0][5][4],&l_169[1][0][1],&g_72,&l_402},{&l_169[1][1][0],&g_72,&l_125,&l_169[1][0][1],&l_125,&l_125}}};
          union U6 *l_521 = (void*)0;
          int i, j, k;
          for (i = 0; i < 10; i++)
              l_121[i] = &g_106;
          for (i = 0; i < 2; i++)
              l_342[i] = (void*)0;
          for (i = 0; i < 2; i++)
              l_436[i] = &g_232;
  lbl_135:
          l_122 = g_106;
          if ((safe_sub_func_uint16_t_u_u(g_5, (l_116[0] && l_125))))
          { /* block id: 41 */
              uint16_t l_126 = 0x4766L;
              int32_t *l_127 = &l_125;
              int32_t *l_128 = &g_72;
              int32_t *l_129 = (void*)0;
              int32_t *l_130[7][6] = {{&l_125,&g_72,(void*)0,&l_125,(void*)0,&g_72},{&l_125,&g_72,&l_125,&l_125,&l_125,&g_72},{&g_72,(void*)0,&l_125,&l_125,&g_72,&g_72},{&l_125,&l_125,&l_125,&l_125,(void*)0,&l_125},{&l_125,&l_125,&g_72,&g_72,&g_72,&g_72},{(void*)0,(void*)0,&l_125,&l_125,&l_125,&l_125},{&g_72,&g_72,&g_72,&l_125,(void*)0,&l_125}};
              uint32_t l_132 = 18446744073709551614UL;
              int i, j;
              (*l_127) ^= l_126;
              --l_132;
              if (g_72)
                  goto lbl_135;
          }
          else
          { /* block id: 45 */
              struct S1 l_136[2] = {{14,22},{14,22}};
              int32_t **l_138 = &l_137;
              int32_t *l_139[1][3][9] = {{{&g_72,&l_125,&g_72,&l_125,&g_72,&l_125,&g_72,&l_125,&g_72},{&l_125,&l_125,&g_72,&l_125,&l_125,&g_72,&l_125,&l_125,&g_72},{&g_72,&l_125,&g_72,&l_125,&g_72,&l_125,&g_72,&l_125,&g_72}}};
              uint8_t *l_163[5][7] = {{&g_102,&g_102,(void*)0,&g_102,&g_102,(void*)0,&g_102},{&g_102,(void*)0,&g_102,&g_102,&g_102,(void*)0,&g_102},{&g_102,&g_102,&g_102,&g_102,&g_102,&g_102,&g_102},{&g_102,&g_102,&g_102,&g_102,&g_102,&g_102,&g_102},{&g_102,&g_102,&g_102,&g_102,&g_102,&g_102,&g_102}};
              int64_t *l_164 = &g_131;
              int64_t *l_166 = (void*)0;
              int64_t *l_167 = &g_168;
              int i, j, k;
              (*l_138) = (l_136[0] , l_137);
              if (g_102)
                  goto lbl_145;
  lbl_145:
              ++g_142[1];
              l_165 = ((0x0543L || ((safe_mul_func_uint16_t_u_u((((((*l_167) = (safe_div_func_int64_t_s_s((((((!g_106.f0) >= (g_140 ^ 65534UL)) != ((((0x63DC2C33L >= (safe_rshift_func_uint16_t_u_s(((safe_lshift_func_int8_t_s_s((g_106.f0 | ((*l_164) = (0xC662L ^ (safe_lshift_func_int16_t_s_s((p_60 != ((safe_div_func_uint8_t_u_u((l_125 = (((safe_sub_func_int64_t_s_s(((g_102 ^= (safe_lshift_func_int8_t_s_s((*p_58), (*p_58)))) & p_59), l_125)) != g_140) & g_140)), g_142[1])) , l_163[4][4])), g_106.f0))))), l_165)) , 0xB20EL), 4))) == p_59) || 0xAE7F92F1L) != (*p_58))) , g_119) >= 0L), 1L))) >= 0x4636B982148F4751LL) & (-1L)) == l_165), p_57)) | p_59)) | p_57);
              ++g_171;
          }
          for (p_57 = 2; (p_57 >= 0); p_57 -= 1)
          { /* block id: 58 */
              uint8_t l_264 = 0UL;
              int32_t l_265[10][7] = {{0L,0xF9A101D9L,0L,0x84C52192L,0xF9A101D9L,1L,1L},{0L,3L,0x404F5728L,3L,0L,0x404F5728L,(-1L)},{0x6FFF5530L,1L,0x84C52192L,0x6FFF5530L,0x84C52192L,1L,0x6FFF5530L},{(-3L),(-1L),0x57C2B75BL,(-5L),(-1L),(-5L),0x57C2B75BL},{0x6FFF5530L,0x6FFF5530L,(-1L),0xF9A101D9L,0x56C9CEF6L,(-1L),0x56C9CEF6L},{0L,0x57C2B75BL,0x57C2B75BL,0L,(-5L),(-3L),0L},{0L,0x56C9CEF6L,0x84C52192L,0x84C52192L,0x56C9CEF6L,0L,1L},{3L,0L,0x404F5728L,(-1L),(-1L),0x404F5728L,0L},{0x56C9CEF6L,1L,0L,0x56C9CEF6L,0x84C52192L,0x84C52192L,0x56C9CEF6L},{(-3L),0L,(-3L),(-5L),0L,0x57C2B75BL,0x57C2B75BL}};
              int64_t *l_349 = (void*)0;
              union U4 **l_370 = &l_342[1];
              int32_t l_408 = 0xA1B34EADL;
              union U6 *l_444 = &g_445[0];
              int i, j;
              for (p_59 = 0; (p_59 <= 9); p_59 += 1)
              { /* block id: 61 */
                  struct S1 l_293[2] = {{27,3},{27,3}};
                  struct S1 l_312[6][6] = {{{122,11},{13,-61},{122,11},{122,11},{13,-61},{122,11}},{{122,11},{13,-61},{122,11},{122,11},{13,-61},{152,-1}},{{152,-1},{122,11},{152,-1},{152,-1},{122,11},{152,-1}},{{152,-1},{122,11},{152,-1},{152,-1},{122,11},{152,-1}},{{152,-1},{122,11},{152,-1},{152,-1},{122,11},{152,-1}},{{152,-1},{122,11},{152,-1},{152,-1},{122,11},{152,-1}}};
                  int32_t *l_313[10] = {&l_125,&l_125,&l_125,&l_125,&l_125,&l_125,&l_125,&l_125,&l_125,&l_125};
                  int i, j;
                  if (l_116[(p_57 + 2)])
                  { /* block id: 62 */
                      union U3 *l_174[3][1][6] = {{{(void*)0,(void*)0,&g_180[7],&g_175,&g_177,&g_180[7]}},{{&g_175,&g_177,&g_180[7],&g_177,&g_175,&g_180[7]}},{{&g_177,&g_175,&g_180[7],(void*)0,(void*)0,&g_180[7]}}};
                      int i, j, k;
                      for (g_171 = 0; (g_171 <= 3); g_171 += 1)
                      { /* block id: 65 */
                          union U3 **l_182 = &l_174[2][0][0];
                          volatile union U6 *l_216 = &g_217;
                          int i, j, k;
                          if (l_169[(p_57 + 1)][(g_171 + 1)][(p_57 + 2)])
                              break;
                          (*l_182) = l_174[1][0][2];
                          l_216 = g_183[9][3];
                      }
                      return g_142[p_57];
                  }
                  else
                  { /* block id: 71 */
                      int32_t **l_218 = &l_137;
                      (*l_218) = &l_141;
                  }
                  (*l_137) = (safe_rshift_func_uint16_t_u_s(((((*l_118) ^= (~g_140)) >= (p_59 == (l_169[3][9][4] = 0x2B78B995595372CDLL))) && 0x88BDD47E45A53668LL), g_72));
                  if ((safe_rshift_func_uint16_t_u_s(p_57, (g_109 != &p_58))))
                  { /* block id: 77 */
                      int32_t *l_229 = (void*)0;
                      int32_t *l_230 = (void*)0;
                      int32_t *l_231 = &g_232;
                      int32_t l_244 = 0xDE11C7F7L;
                      for (g_119 = 4; (g_119 >= 0); g_119 -= 1)
                      { /* block id: 80 */
                          int32_t l_225 = (-1L);
                          int32_t **l_226 = &l_137;
                          int i, j, k;
                          l_225 |= (+l_169[p_57][(p_57 + 6)][(p_57 + 3)]);
                          (*l_226) = &l_169[p_57][p_59][(p_57 + 2)];
                      }
                      (*l_137) = (5UL || (&p_60 != l_227));
                      if ((((g_106.f1 = (g_72 = (g_140 <= 0UL))) , &g_131) != ((((((*l_231) ^= p_59) , 65526UL) , (g_142[1] > 0xCFL)) | (((((safe_div_func_uint32_t_u_u((g_171 ^ 4L), l_116[(p_57 + 2)])) | l_169[1][1][0]) , l_116[(p_57 + 2)]) & l_165) , l_169[3][6][3])) , (void*)0)))
                      { /* block id: 88 */
                          uint32_t l_235 = 0UL;
                          if (g_142[1])
                              break;
                          return l_235;
                      }
                      else
                      { /* block id: 91 */
                          g_106.f1 = g_140;
                      }
                      for (g_63 = 3; (g_63 >= 0); g_63 -= 1)
                      { /* block id: 96 */
                          int32_t *l_245 = &g_72;
                          int16_t *l_263 = &g_140;
                          int32_t *l_266 = &l_244;
                          int32_t *l_267 = &l_169[(p_57 + 1)][g_63][p_57];
                          int32_t *l_268[3][4] = {{(void*)0,&l_265[7][2],&l_141,&l_265[7][2]},{&l_265[7][2],(void*)0,&l_141,&l_141},{(void*)0,(void*)0,&l_265[7][2],&l_141}};
                          int32_t l_272 = 0xB9962CEFL;
                          int i, j, k;
                          (*l_245) ^= (safe_div_func_int64_t_s_s(((safe_lshift_func_int16_t_s_u(0xD12EL, 6)) > ((safe_mul_func_int8_t_s_s((l_169[(p_57 + 1)][p_59][(g_63 + 2)] , g_140), 250UL)) ^ 0x625BL)), (safe_lshift_func_int8_t_s_u(l_244, 5))));
                          (*l_266) |= ((g_106 , (((safe_rshift_func_int16_t_s_s(g_5, 1)) != ((safe_sub_func_uint32_t_u_u(g_5, (l_265[7][2] = (safe_unary_minus_func_uint32_t_u((((safe_lshift_func_int8_t_s_u((((*l_118) &= g_170) || 65533UL), (safe_div_func_uint64_t_u_u((safe_mul_func_uint8_t_u_u((safe_div_func_int16_t_s_s((((((safe_add_func_uint32_t_u_u((safe_rshift_func_int8_t_s_u((l_263 != ((l_116[(p_57 + 2)] <= (g_106 , (p_59 <= p_57))) , (void*)0)), (*l_245))), 0x77DD4E24L)) ^ g_131) || l_264) , 0x9340F2FBL) , (*l_137)), (*l_245))), g_72)), g_63)))) || 0xF61C7C29L) != 0x31L)))))) ^ l_116[(p_57 + 2)])) >= (-1L))) && p_59);
                          g_274++;
                      }
                  }
                  else
                  { /* block id: 103 */
                      uint8_t *l_277 = &g_274;
                      if ((((((*l_277) = g_170) , ((1L > ((*l_137) = ((safe_rshift_func_uint8_t_u_u((+(l_281 == g_283)), 1)) || (safe_rshift_func_uint8_t_u_s(((safe_mul_func_int16_t_s_s((-1L), p_59)) , (safe_lshift_func_uint16_t_u_u(((safe_add_func_uint8_t_u_u((g_106.f1 != g_232), g_106.f0)) > p_59), p_57))), 5))))) , 1L)) == (-9L)) & 65535UL))
                      { /* block id: 106 */
                          l_293[0] = g_106;
                          l_265[7][2] = (safe_lshift_func_int16_t_s_u(((*l_118) |= (safe_mul_func_int16_t_s_s(p_57, (safe_div_func_uint64_t_u_u((safe_lshift_func_int16_t_s_s((((safe_lshift_func_int16_t_s_u((safe_sub_func_int64_t_s_s((safe_lshift_func_uint16_t_u_u(((((safe_rshift_func_uint16_t_u_u((safe_mod_func_int32_t_s_s(p_57, p_59)), 7)) , &p_58) == (void*)0) >= (p_57 || (p_57 == g_271))), 4)), (1UL == p_57))), 9)) , p_57) , 3L), l_293[0].f1)), g_270[4]))))), g_170));
                      }
                      else
                      { /* block id: 110 */
                          l_312[1][1] = (p_59 , (p_59 , g_106));
                      }
                      return p_57;
                  }
                  --g_314;
              }
              for (g_140 = 0; (g_140 <= 4); g_140 += 1)
              { /* block id: 119 */
                  int32_t *l_317 = &l_141;
                  int8_t l_339 = (-9L);
                  int16_t l_340 = 0xABD6L;
                  int64_t **l_350[9] = {&l_349,(void*)0,&l_349,(void*)0,&l_349,(void*)0,&l_349,(void*)0,&l_349};
                  union U3 * const l_354 = &g_355[0];
                  uint64_t *l_357 = &g_358;
                  struct S1 l_359 = {148,10};
                  int32_t *l_362 = &l_165;
                  union U3 *l_365[6][1];
                  int32_t l_401 = (-6L);
                  int i, j;
                  for (i = 0; i < 6; i++)
                  {
                      for (j = 0; j < 1; j++)
                          l_365[i][j] = &g_366;
                  }
                  (*l_317) = (-1L);
                  for (g_72 = 8; (g_72 >= 2); g_72 -= 1)
                  { /* block id: 123 */
                      int8_t l_337 = 0xE9L;
                      uint32_t l_338[7][10][1] = {{{0x387689AEL},{0x84D2E449L},{0xAC32E7B3L},{0x1AD0A15EL},{0x9EB9F4AAL},{0xE6207B4AL},{0x387689AEL},{0x344009B8L},{7UL},{0x344009B8L}},{{0x387689AEL},{0xE6207B4AL},{0x9EB9F4AAL},{0x1AD0A15EL},{0xAC32E7B3L},{0x84D2E449L},{0x387689AEL},{0x2685E0CEL},{1UL},{0x344009B8L}},{{0x9FBA2D40L},{0x84D2E449L},{0x9EB9F4AAL},{0xB3597BFAL},{0x9EB9F4AAL},{0x84D2E449L},{0x9FBA2D40L},{0x344009B8L},{1UL},{0x2685E0CEL}},{{0x387689AEL},{0x84D2E449L},{0xAC32E7B3L},{0x1AD0A15EL},{0x9EB9F4AAL},{0xE6207B4AL},{0x387689AEL},{0x344009B8L},{7UL},{0x344009B8L}},{{0x387689AEL},{0xE6207B4AL},{0x9EB9F4AAL},{0x1AD0A15EL},{0xAC32E7B3L},{0x84D2E449L},{0x387689AEL},{0x2685E0CEL},{1UL},{0x344009B8L}},{{0x9FBA2D40L},{0x84D2E449L},{0x9EB9F4AAL},{0xB3597BFAL},{0x9EB9F4AAL},{0x84D2E449L},{0x9FBA2D40L},{0x344009B8L},{1UL},{0x2685E0CEL}},{{0x387689AEL},{0x84D2E449L},{0xAC32E7B3L},{0x1AD0A15EL},{0x9EB9F4AAL},{0xE6207B4AL},{0x387689AEL},{0x344009B8L},{7UL},{0x344009B8L}}};
                      int32_t **l_341 = &l_317;
                      int i, j, k;
                      for (g_102 = 1; (g_102 <= 9); g_102 += 1)
                      { /* block id: 126 */
                          int32_t l_318 = 0x1C98CFF1L;
                          int32_t **l_319 = &l_317;
                          int i;
                          if (l_116[p_57])
                              break;
                          l_318 = g_142[p_57];
                          (*l_319) = &l_141;
                          (*l_319) = ((safe_lshift_func_int8_t_s_s((safe_mul_func_int8_t_s_s((((safe_div_func_int32_t_s_s((g_63 != g_142[1]), (g_106.f1 = (-4L)))) >= (+g_273[0][0][5])) , (((((l_338[5][4][0] = ((safe_mul_func_int16_t_s_s((g_171 | (**l_319)), (p_57 | (safe_rshift_func_uint8_t_u_s((safe_rshift_func_int16_t_s_s((~((+(((safe_rshift_func_int16_t_s_u((((((g_106 , l_228) != (void*)0) == l_337) , (void*)0) == (void*)0), 6)) < 0x3BL) , g_271)) || l_337)), p_59)), (*l_317)))))) && p_57)) <= (**l_319)) != (-2L)) ^ l_339) <= 0xE6D188C2L)), l_340)), (*p_58))) , &g_72);
                      }
                      (*l_341) = &l_265[7][2];
                      l_317 = &l_141;
                      for (g_119 = 2; (g_119 >= 0); g_119 -= 1)
                      { /* block id: 138 */
                          union U4 **l_343 = (void*)0;
                          union U4 **l_344 = &l_342[0];
                          int i;
                          (*l_344) = l_342[0];
                          if (l_116[(g_119 + 2)])
                              break;
                      }
                  }
                  if ((safe_mod_func_int16_t_s_s(l_116[g_140], (+(safe_unary_minus_func_uint64_t_u(((((((*l_357) = (g_356 = ((((g_352 = (g_351 = l_349)) != l_353) , ((*l_317) = (l_354 == ((p_59 , l_265[9][5]) , g_283)))) < g_131))) || l_165) < g_171) , 0xC5AEF02EE0E000E1LL) == g_168)))))))
                  { /* block id: 148 */
                      int32_t **l_360 = &l_317;
                      int32_t **l_361[2][10] = {{&l_137,&l_137,(void*)0,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,(void*)0},{&l_137,&l_137,(void*)0,&l_137,&l_137,&l_137,(void*)0,&l_137,&l_137,(void*)0}};
                      union U4 ***l_371 = (void*)0;
                      union U4 ***l_372 = &l_370;
                      uint64_t l_409 = 0x79A0499970256F46LL;
                      int i, j;
                      if ((((l_359 , ((l_362 = ((*l_360) = l_317)) == &g_72)) != (l_265[7][2] = ((safe_div_func_int8_t_s_s((((void*)0 != l_365[0][0]) || (((*l_353) &= (g_367 != ((*l_372) = l_370))) & (safe_add_func_int8_t_s_s(((safe_lshift_func_uint16_t_u_s((safe_lshift_func_int8_t_s_u(0x76L, (safe_mod_func_int8_t_s_s(((((!(p_57 , 9L)) ^ g_314) & g_273[0][2][5]) , g_273[0][2][1]), g_102)))), p_57)) , 0L), g_232)))), g_314)) , p_59))) , g_269))
                      { /* block id: 154 */
                          uint32_t *l_404 = &l_403;
                          uint32_t *l_405 = &g_406;
                          uint8_t *l_407 = &g_102;
                          if (l_125)
                              break;
                          (*l_317) = l_265[0][3];
                          (*l_362) = ((+((18446744073709551615UL & l_265[7][2]) ^ ((safe_rshift_func_int8_t_s_s(((((void*)0 == &g_358) | ((safe_rshift_func_uint8_t_u_s((l_408 ^= ((safe_rshift_func_uint16_t_u_s((((((safe_lshift_func_int8_t_s_s((l_169[1][1][0] ^= g_142[1]), 2)) >= (g_106 , l_265[0][3])) == (safe_rshift_func_uint8_t_u_s(((*l_407) ^= (((*l_405) |= ((*l_404) = (safe_lshift_func_int16_t_s_s(((g_72 &= p_59) , ((safe_unary_minus_func_int8_t_s((safe_rshift_func_int16_t_s_s((safe_div_func_int32_t_s_s(((+l_401) == l_402), l_403)), 10)))) , (-3L))), p_57)))) <= (-8L))), 6))) , l_360) != (void*)0), 5)) && 5L)), g_171)) > 0x9A1EL)) > p_57), (*p_58))) < 0x0C5E9977L))) != g_273[0][2][7]);
                          (*l_317) = g_269;
                      }
                      else
                      { /* block id: 165 */
                          (*l_360) = &l_401;
                          (**l_360) &= (-5L);
                          ++l_409;
                      }
                  }
                  else
                  { /* block id: 170 */
                      uint16_t l_417 = 0xF428L;
                      int32_t *l_443 = (void*)0;
                      int32_t l_450 = 0L;
                      int32_t **l_451 = &l_137;
                      for (l_340 = 4; (l_340 >= 1); l_340 -= 1)
                      { /* block id: 173 */
                          int32_t l_430 = 0x2C610D86L;
                          const int32_t l_442 = 0x9BDB98C5L;
                          int8_t *l_449[2];
                          int i;
                          for (i = 0; i < 2; i++)
                              l_449[i] = &g_170;
                          (*l_362) = ((void*)0 != g_412);
                          (*l_317) = (!((0x72F85772L >= (((-1L) & (safe_rshift_func_int8_t_s_s(((((*l_353) = l_417) | (safe_mod_func_uint64_t_u_u(((safe_mod_func_uint16_t_u_u(((l_403 ^ ((((safe_add_func_int8_t_s_s((*l_317), ((safe_div_func_uint8_t_u_u((safe_mul_func_int16_t_s_s(((((safe_mod_func_uint8_t_u_u((g_273[0][0][3] && l_430), (+((safe_div_func_uint32_t_u_u((1L <= ((((safe_lshift_func_int16_t_s_u(((*l_118) = ((p_59 != p_59) > (-5L))), l_169[0][8][3])) , g_273[0][0][3]) , l_137) == l_436[0])), g_273[0][3][8])) , 0x5CL)))) == 18446744073709551615UL) != g_171) > 2L), 9UL)), l_437)) >= p_59))) >= 0x8765L) > 1UL) >= 0x703F634CE5A61A39LL)) ^ 0x39L), g_63)) , 0x70FA912836B3A9FCLL), l_265[7][2]))) | 0x0C19L), l_265[0][5]))) , 0x576593AEL)) == 6UL));
                          l_169[3][6][0] = (safe_add_func_int8_t_s_s((l_450 = (safe_rshift_func_int8_t_s_u((p_57 > ((g_171 || (l_442 != (l_443 == ((l_444 != g_183[9][3]) , l_137)))) , (-1L))), (+(safe_mul_func_uint8_t_u_u(1UL, p_59)))))), g_271));
                      }
                      (*l_451) = &g_72;
                  }
              }
          }
          for (g_406 = 19; (g_406 == 35); g_406 = safe_add_func_int8_t_s_s(g_406, 3))
          { /* block id: 187 */
              int32_t **l_457[9][9] = {{&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137},{&l_137,&l_137,&l_137,&l_137,&l_137,(void*)0,&l_137,&l_137,&l_137},{&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137},{&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137},{&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137},{&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137},{&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137},{&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137},{&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137,&l_137}};
              union U3 **l_460[1];
              union U4 **l_464 = &l_342[0];
              union U4 ***l_463 = &l_464;
              union U4 ***l_465 = (void*)0;
              union U4 **l_466 = &l_342[0];
              uint64_t *l_468[7][2] = {{&g_358,&g_358},{&g_358,&g_358},{&g_358,&g_358},{&g_358,&g_358},{&g_358,&g_358},{&g_358,&g_358},{&g_358,&g_358}};
              uint32_t l_474 = 0xC2D3943DL;
              uint16_t *l_475[9][2] = {{&g_142[1],&l_116[0]},{&g_142[1],&l_116[0]},{&g_142[1],&l_116[0]},{&g_142[1],&l_116[0]},{&g_142[1],&l_116[0]},{&g_142[1],&l_116[0]},{&g_142[1],&l_116[0]},{&g_142[1],&l_116[0]},{&g_142[1],&l_116[0]}};
              int i, j;
              for (i = 0; i < 1; i++)
                  l_460[i] = &l_281;
              for (g_232 = (-9); (g_232 != (-30)); --g_232)
              { /* block id: 190 */
                  return g_63;
              }
              l_458[5][0][2] = (g_456 = &l_141);
              if (((l_402 = (((*l_353) = (0xAA76B3C505BFE8EFLL != (safe_unary_minus_func_int16_t_s(g_273[0][0][3])))) & (((*g_456) == (((void*)0 != l_460[0]) >= ((safe_add_func_uint64_t_u_u((((*l_463) = &l_342[0]) == (l_466 = &l_342[0])), (+(((g_358 &= g_119) , (safe_lshift_func_int16_t_s_s((safe_div_func_uint8_t_u_u((((void*)0 != &p_58) > 0xF0L), g_473)), g_314))) & 0x503E69EFEEB15368LL)))) , l_474))) , p_57))) != 0x2B0EL))
              { /* block id: 200 */
                  uint16_t l_478 = 0UL;
                  uint16_t l_481 = 0x9903L;
                  for (l_141 = (-11); (l_141 != (-1)); l_141 = safe_add_func_int16_t_s_s(l_141, 8))
                  { /* block id: 203 */
                      for (l_125 = 0; (l_125 <= 4); l_125 += 1)
                      { /* block id: 206 */
                          int i, j, k;
                          --l_478;
                          l_481--;
                          g_72 = (g_106.f1 = p_59);
                      }
                  }
                  (*g_456) ^= ((void*)0 == &p_57);
                  if ((*g_456))
                      continue;
                  if ((*g_456))
                      continue;
              }
              else
              { /* block id: 216 */
                  struct S1 **l_486 = (void*)0;
                  int32_t l_512 = 3L;
                  g_484[3] = (l_486 = g_484[3]);
                  for (l_437 = 0; (l_437 <= 58); l_437 = safe_add_func_int8_t_s_s(l_437, 9))
                  { /* block id: 221 */
                      uint32_t l_492 = 4294967291UL;
                      int32_t l_518 = 6L;
                      struct S1 l_522 = {7,-54};
                      if ((safe_add_func_uint8_t_u_u((&g_412 == (l_491 = &g_412)), l_492)))
                      { /* block id: 223 */
                          int64_t l_498 = 0L;
                          uint8_t *l_513 = &g_413[8].f3;
                          int16_t *l_514[3][7] = {{&g_271,&g_271,&g_271,&g_271,&g_271,&g_271,&g_271},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{&g_271,&g_271,&g_271,&g_271,&g_271,&g_271,&g_271}};
                          uint32_t *l_515[9] = {&l_492,&l_403,&l_492,&l_492,&l_403,&l_492,&l_492,&l_403,&l_492};
                          uint8_t *l_516 = &g_102;
                          int64_t **l_517[10][9] = {{&g_352,&g_351,&g_352,&g_351,(void*)0,&g_351,&g_352,&g_351,&g_352},{&l_353,(void*)0,&l_353,&l_353,(void*)0,&l_353,&l_353,(void*)0,&l_353},{&g_352,&g_351,&g_352,&g_351,(void*)0,&g_351,&g_352,&g_351,&g_352},{&l_353,(void*)0,&l_353,&l_353,(void*)0,&l_353,&l_353,(void*)0,&l_353},{&g_352,&g_351,&g_352,&g_351,(void*)0,&g_351,&g_352,&g_351,&g_352},{&l_353,(void*)0,&l_353,&l_353,(void*)0,&l_353,&l_353,(void*)0,&l_353},{&g_352,&g_351,&g_352,&g_351,(void*)0,&g_351,&g_352,&g_351,&g_352},{&l_353,(void*)0,&l_353,&l_353,(void*)0,&l_353,&l_353,(void*)0,&l_353},{&g_352,&g_351,&g_351,&l_353,&g_352,&l_353,&g_351,&g_351,&g_351},{(void*)0,&l_353,(void*)0,(void*)0,&l_353,(void*)0,(void*)0,&l_353,(void*)0}};
                          int i, j;
                          l_518 = ((safe_rshift_func_int8_t_s_s(((((*l_516) &= ((safe_mul_func_uint16_t_u_u((((((*l_118) ^= (!l_498)) <= ((((((safe_lshift_func_uint16_t_u_s(p_59, 6)) == 0xA733794DL) ^ (((safe_add_func_uint64_t_u_u(g_274, p_57)) , (((safe_div_func_uint32_t_u_u((g_106.f0 = ((g_356 |= (safe_add_func_uint8_t_u_u(((*l_513) = ((!((((safe_add_func_uint32_t_u_u((((!p_57) , (*p_58)) && (!g_314)), 1UL)) >= l_512) != g_170) | 6UL)) > (*p_58))), p_59))) & g_140)), 4294967287UL)) , 0x35E3F1211D8B4104LL) >= 0xD9CE2155AAE28E93LL)) || 2UL)) > p_57) , g_358) <= (*p_58))) & p_59) | p_57), g_171)) > 0xA257BD63F954FDB4LL)) , l_517[5][1]) == &g_352), g_142[2])) , 6L);
                      }
                      else
                      { /* block id: 230 */
                          uint32_t *l_523 = &g_314;
                          uint16_t l_524 = 65534UL;
                          (*g_456) ^= ((safe_lshift_func_uint16_t_u_u(((void*)0 != l_521), 6)) != (g_356 = (5L ^ (((*l_523) = (((l_522 = l_522) , 0L) ^ 0x1DL)) , l_524))));
                          return p_59;
                      }
                  }
              }
          }
      }
      else
      { /* block id: 240 */
          uint32_t l_527 = 0x1452EECAL;
          struct S1 * const *l_535 = &g_485;
          union U6 *l_556 = &g_557;
          int32_t l_581[2];
          struct S1 *l_584 = &l_122;
          int32_t l_611 = 0L;
          uint16_t *l_646[5][2] = {{&l_116[0],(void*)0},{&l_116[2],&l_116[0]},{&g_473,&g_473},{&g_473,&l_116[0]},{&l_116[2],(void*)0}};
          uint32_t **l_700[3];
          uint32_t *l_718[8];
          uint64_t *l_738 = &g_358;
          int64_t **l_775 = &l_353;
          int64_t *** const l_774[6] = {&l_775,&l_775,&l_775,&l_775,&l_775,&l_775};
          int16_t l_782 = 9L;
          int32_t *l_787[3][6][6] = {{{&l_581[1],&g_72,(void*)0,(void*)0,&l_637,(void*)0},{&l_141,&l_637,&l_402,&l_581[1],&l_581[1],&g_72},{&l_141,&l_637,&l_581[1],(void*)0,&l_402,(void*)0},{&l_581[1],&l_637,&l_402,(void*)0,&l_402,&l_637},{&l_637,&l_637,&g_72,(void*)0,&l_581[0],&l_637},{(void*)0,(void*)0,&l_581[1],&l_402,&l_637,&g_72}},{{&g_72,(void*)0,&g_72,&l_581[1],&l_581[0],&l_581[1]},{(void*)0,&l_637,&l_581[1],&l_402,&l_402,&l_581[1]},{&l_637,&l_637,&l_637,&g_72,&l_402,&l_402},{&l_637,&l_637,&l_637,&l_581[1],&l_581[1],&l_637},{&g_72,&l_637,&l_637,&g_72,&l_637,&l_402},{&l_581[1],&g_72,&l_637,&l_581[1],&g_72,&l_581[1]}},{{&l_581[1],&g_72,&l_581[1],&l_637,&g_72,&l_581[1]},{&l_402,&l_637,&g_72,&l_637,&l_637,&g_72},{&l_637,&l_581[1],&l_581[1],&l_637,&l_637,&l_637},{&l_402,&l_402,&g_72,&l_637,&l_637,&l_637},{&l_581[1],&l_402,&l_402,&l_581[1],&l_637,(void*)0},{&l_581[1],&l_581[0],&l_581[1],&g_72,(void*)0,&g_72}}};
          int i, j, k;
          for (i = 0; i < 2; i++)
              l_581[i] = 0xBD615530L;
          for (i = 0; i < 3; i++)
              l_700[i] = (void*)0;
          for (i = 0; i < 8; i++)
              l_718[i] = &g_585;
      }
      (*l_791) = l_789;
      for (g_72 = 0; (g_72 <= 4); g_72 += 1)
      { /* block id: 392 */
          int32_t *l_792 = &g_72;
          int32_t l_807 = 1L;
          for (g_356 = 0; (g_356 <= 4); g_356 += 1)
          { /* block id: 395 */
              int32_t *l_793 = &l_141;
              int32_t l_798 = 0L;
              int32_t l_808 = 0x8304A188L;
              int32_t l_828 = 0x5BD3E2EBL;
              l_793 = l_792;
              for (g_131 = 4; (g_131 >= 0); g_131 -= 1)
              { /* block id: 399 */
                  uint8_t l_795 = 254UL;
                  int32_t l_825 = 0x60EAD434L;
                  int32_t l_829 = 0x5F2FBFB5L;
                  struct S1 *l_836 = &g_106;
                  int i;
                  for (p_57 = 0; (p_57 <= 0); p_57 += 1)
                  { /* block id: 402 */
                      union U6 *l_813 = &g_814;
                      int32_t l_820[1][5] = {{(-3L),(-3L),(-3L),(-3L),(-3L)}};
                      int i, j;
                      for (g_140 = 0; (g_140 <= 4); g_140 += 1)
                      { /* block id: 405 */
                          int32_t *l_794 = (void*)0;
                          int32_t *l_799 = (void*)0;
                          int32_t *l_800 = &l_798;
                          int32_t *l_801 = &l_402;
                          int32_t *l_802 = &l_798;
                          int32_t *l_803 = (void*)0;
                          int32_t *l_804 = &l_798;
                          int32_t *l_805 = &l_637;
                          int32_t *l_806 = &l_402;
                          int32_t *l_809[2][7];
                          int i, j, k;
                          for (i = 0; i < 2; i++)
                          {
                              for (j = 0; j < 7; j++)
                                  l_809[i][j] = &l_807;
                          }
                          g_106.f1 &= g_273[p_57][(p_57 + 3)][g_140];
                          if (l_116[(p_57 + 1)])
                              break;
                          l_795--;
                          ++g_810;
                      }
                      for (l_808 = 0; (l_808 >= 0); l_808 -= 1)
                      { /* block id: 413 */
                          int32_t *l_815 = &l_141;
                          int32_t *l_816 = &l_402;
                          int32_t *l_817 = &l_798;
                          int32_t l_818 = (-1L);
                          int32_t *l_819 = &l_402;
                          int32_t *l_821 = &l_818;
                          int32_t l_822 = 4L;
                          int32_t *l_823 = (void*)0;
                          int32_t *l_824 = &l_141;
                          int32_t *l_826 = (void*)0;
                          int32_t *l_827 = &l_820[0][0];
                          int32_t *l_830[6][1][9] = {{{&l_820[0][4],&l_402,&l_820[0][4],(void*)0,&l_822,(void*)0,&l_402,(void*)0,(void*)0}},{{&l_402,&l_820[0][3],&l_402,&l_829,&l_808,(void*)0,&l_808,&l_829,&l_402}},{{&l_402,&l_402,&l_402,(void*)0,&l_808,&l_828,&l_808,&l_818,&l_820[0][4]}},{{(void*)0,&l_820[0][2],(void*)0,&l_820[0][4],&l_820[0][4],&l_402,&l_402,&l_820[0][4],&l_820[0][4]}},{{&l_402,&l_828,&l_402,(void*)0,(void*)0,&l_820[0][2],&l_820[0][3],&l_820[0][4],&l_808}},{{&l_828,(void*)0,&l_402,(void*)0,&l_818,&l_828,&l_402,&l_828,&l_818}}};
                          struct S1 **l_837 = &g_485;
                          int i, j, k;
                          (*l_791) = l_813;
                          g_833--;
                          (*l_837) = l_836;
                      }
                  }
                  if (l_116[g_131])
                      continue;
              }
          }
          return p_59;
      }
      l_840 = (void*)0;
      return p_59;
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_72 g_5 g_63 g_106 g_109
   * writes: g_72 g_102 g_109
   */
  static int8_t * func_65(int8_t * p_66, int64_t  p_67, uint32_t  p_68)
  { /* block id: 4 */
      int32_t * const l_76 = &g_72;
      int8_t l_89[6][6][2] = {{{(-3L),0x71L},{2L,0xC3L},{(-1L),(-1L)},{(-3L),(-1L)},{(-1L),0xC3L},{2L,0x71L}},{{(-3L),2L},{0x71L,0xC3L},{0x71L,2L},{(-3L),0x71L},{2L,0xC3L},{(-1L),(-1L)}},{{(-3L),(-1L)},{(-1L),0xC3L},{2L,0x71L},{(-3L),2L},{0x71L,0xC3L},{0x71L,2L}},{{(-3L),0x71L},{2L,0xC3L},{(-1L),(-1L)},{(-3L),(-1L)},{(-1L),0xC3L},{2L,0x71L}},{{(-3L),2L},{0x71L,0xC3L},{0x71L,2L},{(-3L),0x71L},{2L,0xC3L},{(-1L),(-1L)}},{{(-3L),(-1L)},{(-1L),0xC3L},{2L,0x71L},{(-3L),2L},{0x71L,0xC3L},{0x71L,2L}}};
      int i, j, k;
      for (g_72 = 6; (g_72 == 28); ++g_72)
      { /* block id: 7 */
          int8_t l_86 = (-3L);
          int32_t l_87 = 0xDCCC76BFL;
          int32_t l_88 = (-1L);
          l_88 &= (safe_unary_minus_func_int8_t_s((((g_5 , l_76) != l_76) , ((~g_72) ^ (safe_div_func_int64_t_s_s((l_87 = ((safe_sub_func_int16_t_s_s(3L, ((g_5 != (((safe_lshift_func_uint16_t_u_u((p_66 == &g_63), (safe_mod_func_uint64_t_u_u(((g_5 , (-4L)) && p_67), l_86)))) , g_63) , (-4L))) , 0xB9AAL))) == 4294967287UL)), p_67))))));
      }
      (*l_76) &= (0x7DL > g_63);
      for (p_68 = 0; (p_68 <= 1); p_68 += 1)
      { /* block id: 14 */
          int8_t *l_100 = &l_89[2][5][0];
          int32_t l_104 = 0x0262A889L;
          if ((safe_sub_func_int16_t_s_s((safe_rshift_func_uint8_t_u_s((p_67 , (*l_76)), 1)), (*l_76))))
          { /* block id: 15 */
              int8_t **l_99 = (void*)0;
              uint8_t *l_101[3][3];
              int32_t l_103 = 0x8636BC84L;
              int32_t *l_105[4][10][1] = {{{&l_104},{&l_104},{(void*)0},{&l_104},{&g_72},{&l_104},{&l_103},{(void*)0},{(void*)0},{&l_103}},{{&l_104},{&g_72},{&l_104},{(void*)0},{&l_104},{&l_104},{&l_103},{&l_104},{&l_103},{&l_104}},{{&l_104},{(void*)0},{&l_104},{&g_72},{&l_104},{&l_103},{(void*)0},{(void*)0},{&l_103},{&l_104}},{{&g_72},{&l_104},{(void*)0},{&l_104},{&l_104},{&l_103},{&l_104},{&l_103},{&l_104},{&l_104}}};
              int i, j, k;
              for (i = 0; i < 3; i++)
              {
                  for (j = 0; j < 3; j++)
                      l_101[i][j] = &g_102;
              }
              (*l_76) = (safe_sub_func_int64_t_s_s((safe_div_func_int16_t_s_s((+((((((l_100 = &g_63) == p_66) , 1L) == (g_102 = (((void*)0 != &g_5) > p_68))) > (l_103 & ((void*)0 != &l_89[5][5][0]))) & 0xF79EL)), g_5)), 7UL));
              if (l_104)
                  break;
              l_105[2][3][0] = l_76;
          }
          else
          { /* block id: 21 */
              int8_t *l_112 = &g_5;
              if ((g_106 , (1L != ((~0x7FE427CCDDECA68ELL) != g_72))))
              { /* block id: 22 */
                  int8_t l_108 = 0x5EL;
                  (*l_76) ^= l_108;
                  for (p_67 = 0; (p_67 <= 1); p_67 += 1)
                  { /* block id: 26 */
                      return &g_63;
                  }
              }
              else
              { /* block id: 29 */
                  int8_t * volatile **l_111 = &g_109;
                  (*l_111) = g_109;
                  return l_112;
              }
          }
          return &g_63;
      }
      return p_66;
  }
  
  
  
  
  /* ---------------------------------------- */
  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();
      transparent_crc(g_5, "g_5", print_hash_value);
      transparent_crc(g_63, "g_63", print_hash_value);
      transparent_crc(g_72, "g_72", print_hash_value);
      transparent_crc(g_102, "g_102", print_hash_value);
      transparent_crc(g_106.f0, "g_106.f0", print_hash_value);
      transparent_crc(g_106.f1, "g_106.f1", print_hash_value);
      transparent_crc(g_119, "g_119", print_hash_value);
      transparent_crc(g_131, "g_131", print_hash_value);
      transparent_crc(g_140, "g_140", print_hash_value);
      for (i = 0; i < 3; i++)
      {
          transparent_crc(g_142[i], "g_142[i]", print_hash_value);
          if (print_hash_value) printf("index = [%d]\n", i);
  
      }
      transparent_crc(g_168, "g_168", print_hash_value);
      transparent_crc(g_170, "g_170", print_hash_value);
      transparent_crc(g_171, "g_171", print_hash_value);
      transparent_crc(g_232, "g_232", print_hash_value);
      transparent_crc(g_269, "g_269", print_hash_value);
      for (i = 0; i < 9; i++)
      {
          transparent_crc(g_270[i], "g_270[i]", print_hash_value);
          if (print_hash_value) printf("index = [%d]\n", i);
  
      }
      transparent_crc(g_271, "g_271", print_hash_value);
      for (i = 0; i < 1; i++)
      {
          for (j = 0; j < 4; j++)
          {
              for (k = 0; k < 10; k++)
              {
                  transparent_crc(g_273[i][j][k], "g_273[i][j][k]", print_hash_value);
                  if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
  
              }
          }
      }
      transparent_crc(g_274, "g_274", print_hash_value);
      transparent_crc(g_314, "g_314", print_hash_value);
      transparent_crc(g_356, "g_356", print_hash_value);
      transparent_crc(g_358, "g_358", print_hash_value);
      transparent_crc(g_406, "g_406", print_hash_value);
      transparent_crc(g_473, "g_473", print_hash_value);
      transparent_crc(g_585, "g_585", print_hash_value);
      transparent_crc(g_639, "g_639", print_hash_value);
      transparent_crc(g_672, "g_672", print_hash_value);
      transparent_crc(g_810, "g_810", print_hash_value);
      for (i = 0; i < 1; i++)
      {
          for (j = 0; j < 6; j++)
          {
              transparent_crc(g_831[i][j], "g_831[i][j]", print_hash_value);
              if (print_hash_value) printf("index = [%d][%d]\n", i, j);
  
          }
      }
      transparent_crc(g_832, "g_832", print_hash_value);
      transparent_crc(g_833, "g_833", print_hash_value);
      transparent_crc(g_890.f0, "g_890.f0", print_hash_value);
      transparent_crc(g_890.f1, "g_890.f1", print_hash_value);
      transparent_crc(g_890.f2.f0, "g_890.f2.f0", print_hash_value);
      transparent_crc(g_890.f2.f1, "g_890.f2.f1", print_hash_value);
      transparent_crc(g_890.f2.f2, "g_890.f2.f2", print_hash_value);
      transparent_crc(g_890.f2.f3, "g_890.f2.f3", print_hash_value);
      transparent_crc(g_890.f2.f4, "g_890.f2.f4", print_hash_value);
      transparent_crc(g_892.f0, "g_892.f0", print_hash_value);
      transparent_crc(g_892.f1, "g_892.f1", print_hash_value);
      transparent_crc(g_892.f2.f0, "g_892.f2.f0", print_hash_value);
      transparent_crc(g_892.f2.f1, "g_892.f2.f1", print_hash_value);
      transparent_crc(g_892.f2.f2, "g_892.f2.f2", print_hash_value);
      transparent_crc(g_892.f2.f3, "g_892.f2.f3", print_hash_value);
      transparent_crc(g_892.f2.f4, "g_892.f2.f4", print_hash_value);
      transparent_crc(g_942.f0, "g_942.f0", print_hash_value);
      transparent_crc(g_942.f1, "g_942.f1", print_hash_value);
      transparent_crc(g_942.f2.f0, "g_942.f2.f0", print_hash_value);
      transparent_crc(g_942.f2.f1, "g_942.f2.f1", print_hash_value);
      transparent_crc(g_942.f2.f2, "g_942.f2.f2", print_hash_value);
      transparent_crc(g_942.f2.f3, "g_942.f2.f3", print_hash_value);
      transparent_crc(g_942.f2.f4, "g_942.f2.f4", print_hash_value);
      transparent_crc(g_963, "g_963", print_hash_value);
      transparent_crc(g_996.f0, "g_996.f0", print_hash_value);
      transparent_crc(g_996.f1, "g_996.f1", print_hash_value);
      transparent_crc(g_996.f2, "g_996.f2", print_hash_value);
      transparent_crc(g_996.f3, "g_996.f3", print_hash_value);
      transparent_crc(g_996.f4, "g_996.f4", print_hash_value);
      for (i = 0; i < 7; i++)
      {
          transparent_crc(g_1001[i].f0, "g_1001[i].f0", print_hash_value);
          transparent_crc(g_1001[i].f1, "g_1001[i].f1", print_hash_value);
          transparent_crc(g_1001[i].f2, "g_1001[i].f2", print_hash_value);
          transparent_crc(g_1001[i].f3, "g_1001[i].f3", print_hash_value);
          transparent_crc(g_1001[i].f4, "g_1001[i].f4", print_hash_value);
          if (print_hash_value) printf("index = [%d]\n", i);
  
      }
      transparent_crc(g_1003.f0, "g_1003.f0", print_hash_value);
      transparent_crc(g_1003.f1, "g_1003.f1", print_hash_value);
      transparent_crc(g_1003.f2, "g_1003.f2", print_hash_value);
      transparent_crc(g_1003.f3, "g_1003.f3", print_hash_value);
      transparent_crc(g_1003.f4, "g_1003.f4", print_hash_value);
      transparent_crc(g_1035, "g_1035", print_hash_value);
      transparent_crc(g_1055.f0, "g_1055.f0", print_hash_value);
      transparent_crc(g_1055.f1, "g_1055.f1", print_hash_value);
      transparent_crc(g_1057.f0, "g_1057.f0", print_hash_value);
      transparent_crc(g_1057.f3, "g_1057.f3", print_hash_value);
      transparent_crc(g_1060.f0, "g_1060.f0", print_hash_value);
      transparent_crc(g_1060.f3, "g_1060.f3", print_hash_value);
      transparent_crc(g_1077.f0, "g_1077.f0", print_hash_value);
      transparent_crc(g_1077.f1, "g_1077.f1", print_hash_value);
      for (i = 0; i < 3; i++)
      {
          for (j = 0; j < 8; j++)
          {
              transparent_crc(g_1104[i][j].f0, "g_1104[i][j].f0", print_hash_value);
              transparent_crc(g_1104[i][j].f3, "g_1104[i][j].f3", print_hash_value);
              if (print_hash_value) printf("index = [%d][%d]\n", i, j);
  
          }
      }
      transparent_crc(g_1224, "g_1224", print_hash_value);
      transparent_crc(g_1225, "g_1225", print_hash_value);
      transparent_crc(g_1318.f0, "g_1318.f0", print_hash_value);
      transparent_crc(g_1318.f3, "g_1318.f3", print_hash_value);
      transparent_crc(g_1497, "g_1497", print_hash_value);
      transparent_crc(g_1587, "g_1587", print_hash_value);
      transparent_crc(g_1588, "g_1588", print_hash_value);
      transparent_crc(g_1633.f0, "g_1633.f0", print_hash_value);
      transparent_crc(g_1633.f3, "g_1633.f3", print_hash_value);
      transparent_crc(g_1674.f0, "g_1674.f0", print_hash_value);
      transparent_crc(g_1674.f1, "g_1674.f1", print_hash_value);
      transparent_crc(g_1674.f2, "g_1674.f2", print_hash_value);
      transparent_crc(g_1674.f3, "g_1674.f3", print_hash_value);
      transparent_crc(g_1674.f4, "g_1674.f4", print_hash_value);
      transparent_crc(g_1676.f0, "g_1676.f0", print_hash_value);
      transparent_crc(g_1676.f1, "g_1676.f1", print_hash_value);
      transparent_crc(g_1676.f2, "g_1676.f2", print_hash_value);
      transparent_crc(g_1676.f3, "g_1676.f3", print_hash_value);
      transparent_crc(g_1676.f4, "g_1676.f4", print_hash_value);
      transparent_crc(g_1680.f0, "g_1680.f0", print_hash_value);
      transparent_crc(g_1680.f1, "g_1680.f1", print_hash_value);
      transparent_crc(g_1680.f2, "g_1680.f2", print_hash_value);
      transparent_crc(g_1680.f3, "g_1680.f3", print_hash_value);
      transparent_crc(g_1680.f4, "g_1680.f4", print_hash_value);
      transparent_crc(g_1692.f3, "g_1692.f3", print_hash_value);
      transparent_crc(g_1695.f0, "g_1695.f0", print_hash_value);
      transparent_crc(g_1695.f3, "g_1695.f3", print_hash_value);
      for (i = 0; i < 3; i++)
      {
          for (j = 0; j < 5; j++)
          {
              for (k = 0; k < 8; k++)
              {
                  transparent_crc(g_1796[i][j][k], "g_1796[i][j][k]", print_hash_value);
                  if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
  
              }
          }
      }
      transparent_crc(g_1798, "g_1798", print_hash_value);
      transparent_crc(g_1817, "g_1817", print_hash_value);
      transparent_crc(g_1819, "g_1819", print_hash_value);
      for (i = 0; i < 2; i++)
      {
          for (j = 0; j < 9; j++)
          {
              for (k = 0; k < 3; k++)
              {
                  transparent_crc(g_1978[i][j][k].f0, "g_1978[i][j][k].f0", print_hash_value);
                  transparent_crc(g_1978[i][j][k].f1, "g_1978[i][j][k].f1", print_hash_value);
                  transparent_crc(g_1978[i][j][k].f2, "g_1978[i][j][k].f2", print_hash_value);
                  transparent_crc(g_1978[i][j][k].f3, "g_1978[i][j][k].f3", print_hash_value);
                  transparent_crc(g_1978[i][j][k].f4, "g_1978[i][j][k].f4", print_hash_value);
                  if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
  
              }
          }
      }
      transparent_crc(g_1979, "g_1979", print_hash_value);
      transparent_crc(g_2021, "g_2021", print_hash_value);
      for (i = 0; i < 7; i++)
      {
          for (j = 0; j < 4; j++)
          {
              transparent_crc(g_2057[i][j], "g_2057[i][j]", print_hash_value);
              if (print_hash_value) printf("index = [%d][%d]\n", i, j);
  
          }
      }
      transparent_crc(g_2087, "g_2087", print_hash_value);
      transparent_crc(g_2274.f0, "g_2274.f0", print_hash_value);
      transparent_crc(g_2274.f1, "g_2274.f1", print_hash_value);
      transparent_crc(g_2274.f2.f0, "g_2274.f2.f0", print_hash_value);
      transparent_crc(g_2274.f2.f1, "g_2274.f2.f1", print_hash_value);
      transparent_crc(g_2274.f2.f2, "g_2274.f2.f2", print_hash_value);
      transparent_crc(g_2274.f2.f3, "g_2274.f2.f3", print_hash_value);
      transparent_crc(g_2274.f2.f4, "g_2274.f2.f4", print_hash_value);
      for (i = 0; i < 10; i++)
      {
          for (j = 0; j < 7; j++)
          {
              transparent_crc(g_2291[i][j], "g_2291[i][j]", print_hash_value);
              if (print_hash_value) printf("index = [%d][%d]\n", i, j);
  
          }
      }
      transparent_crc(g_2341, "g_2341", print_hash_value);
      transparent_crc(g_2422, "g_2422", print_hash_value);
      transparent_crc(g_2506, "g_2506", print_hash_value);
      transparent_crc(g_2540, "g_2540", print_hash_value);
      transparent_crc(g_2541, "g_2541", print_hash_value);
      transparent_crc(g_2603, "g_2603", print_hash_value);
      transparent_crc(g_2604, "g_2604", print_hash_value);
      transparent_crc(g_2605, "g_2605", print_hash_value);
      transparent_crc(g_2653, "g_2653", print_hash_value);
      for (i = 0; i < 9; i++)
      {
          transparent_crc(g_2707[i].f0, "g_2707[i].f0", print_hash_value);
          transparent_crc(g_2707[i].f1, "g_2707[i].f1", print_hash_value);
          transparent_crc(g_2707[i].f2.f0, "g_2707[i].f2.f0", print_hash_value);
          transparent_crc(g_2707[i].f2.f1, "g_2707[i].f2.f1", print_hash_value);
          transparent_crc(g_2707[i].f2.f2, "g_2707[i].f2.f2", print_hash_value);
          transparent_crc(g_2707[i].f2.f3, "g_2707[i].f2.f3", print_hash_value);
          transparent_crc(g_2707[i].f2.f4, "g_2707[i].f2.f4", print_hash_value);
          if (print_hash_value) printf("index = [%d]\n", i);
  
      }
      for (i = 0; i < 7; i++)
      {
          transparent_crc(g_2720[i].f0, "g_2720[i].f0", print_hash_value);
          transparent_crc(g_2720[i].f3, "g_2720[i].f3", print_hash_value);
          if (print_hash_value) printf("index = [%d]\n", i);
  
      }
      for (i = 0; i < 3; i++)
      {
          transparent_crc(g_2721[i].f0, "g_2721[i].f0", print_hash_value);
          transparent_crc(g_2721[i].f3, "g_2721[i].f3", print_hash_value);
          if (print_hash_value) printf("index = [%d]\n", i);
  
      }
      transparent_crc(g_2722.f0, "g_2722.f0", print_hash_value);
      transparent_crc(g_2722.f3, "g_2722.f3", print_hash_value);
      transparent_crc(g_2723.f0, "g_2723.f0", print_hash_value);
      transparent_crc(g_2723.f3, "g_2723.f3", print_hash_value);
      transparent_crc(g_2724.f0, "g_2724.f0", print_hash_value);
      transparent_crc(g_2724.f3, "g_2724.f3", print_hash_value);
      transparent_crc(g_2725.f3, "g_2725.f3", print_hash_value);
      transparent_crc(g_2726.f0, "g_2726.f0", print_hash_value);
      transparent_crc(g_2726.f3, "g_2726.f3", print_hash_value);
      transparent_crc(g_2727.f0, "g_2727.f0", print_hash_value);
      transparent_crc(g_2727.f3, "g_2727.f3", print_hash_value);
      transparent_crc(g_2728.f0, "g_2728.f0", print_hash_value);
      transparent_crc(g_2728.f3, "g_2728.f3", print_hash_value);
      transparent_crc(g_2729.f0, "g_2729.f0", print_hash_value);
      transparent_crc(g_2729.f3, "g_2729.f3", print_hash_value);
      transparent_crc(g_2730.f0, "g_2730.f0", print_hash_value);
      transparent_crc(g_2730.f3, "g_2730.f3", print_hash_value);
      for (i = 0; i < 1; i++)
      {
          transparent_crc(g_2731[i].f0, "g_2731[i].f0", print_hash_value);
          transparent_crc(g_2731[i].f3, "g_2731[i].f3", print_hash_value);
          if (print_hash_value) printf("index = [%d]\n", i);
  
      }
      transparent_crc(g_2732.f0, "g_2732.f0", print_hash_value);
      transparent_crc(g_2732.f3, "g_2732.f3", print_hash_value);
      transparent_crc(g_2733.f0, "g_2733.f0", print_hash_value);
      transparent_crc(g_2733.f3, "g_2733.f3", print_hash_value);
      transparent_crc(g_2734.f0, "g_2734.f0", print_hash_value);
      transparent_crc(g_2734.f3, "g_2734.f3", print_hash_value);
      transparent_crc(g_2735.f0, "g_2735.f0", print_hash_value);
      transparent_crc(g_2735.f3, "g_2735.f3", print_hash_value);
      transparent_crc(g_2736.f0, "g_2736.f0", print_hash_value);
      transparent_crc(g_2736.f3, "g_2736.f3", print_hash_value);
      transparent_crc(g_2737.f0, "g_2737.f0", print_hash_value);
      transparent_crc(g_2737.f3, "g_2737.f3", print_hash_value);
      transparent_crc(g_2738.f0, "g_2738.f0", print_hash_value);
      transparent_crc(g_2738.f3, "g_2738.f3", print_hash_value);
      transparent_crc(g_2739.f0, "g_2739.f0", print_hash_value);
      transparent_crc(g_2739.f3, "g_2739.f3", print_hash_value);
      transparent_crc(g_2740.f0, "g_2740.f0", print_hash_value);
      transparent_crc(g_2740.f3, "g_2740.f3", print_hash_value);
      for (i = 0; i < 7; i++)
      {
          for (j = 0; j < 4; j++)
          {
              transparent_crc(g_2741[i][j].f0, "g_2741[i][j].f0", print_hash_value);
              transparent_crc(g_2741[i][j].f3, "g_2741[i][j].f3", print_hash_value);
              if (print_hash_value) printf("index = [%d][%d]\n", i, j);
  
          }
      }
      for (i = 0; i < 3; i++)
      {
          for (j = 0; j < 7; j++)
          {
              transparent_crc(g_2742[i][j].f0, "g_2742[i][j].f0", print_hash_value);
              transparent_crc(g_2742[i][j].f3, "g_2742[i][j].f3", print_hash_value);
              if (print_hash_value) printf("index = [%d][%d]\n", i, j);
  
          }
      }
      transparent_crc(g_2743.f0, "g_2743.f0", print_hash_value);
      transparent_crc(g_2743.f3, "g_2743.f3", print_hash_value);
      transparent_crc(g_2744.f0, "g_2744.f0", print_hash_value);
      transparent_crc(g_2744.f3, "g_2744.f3", print_hash_value);
      for (i = 0; i < 4; i++)
      {
          for (j = 0; j < 4; j++)
          {
              for (k = 0; k < 2; k++)
              {
                  transparent_crc(g_2745[i][j][k].f0, "g_2745[i][j][k].f0", print_hash_value);
                  transparent_crc(g_2745[i][j][k].f3, "g_2745[i][j][k].f3", print_hash_value);
                  if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
  
              }
          }
      }
      for (i = 0; i < 1; i++)
      {
          for (j = 0; j < 1; j++)
          {
              for (k = 0; k < 6; k++)
              {
                  transparent_crc(g_2746[i][j][k].f0, "g_2746[i][j][k].f0", print_hash_value);
                  transparent_crc(g_2746[i][j][k].f3, "g_2746[i][j][k].f3", print_hash_value);
                  if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
  
              }
          }
      }
      transparent_crc(g_2747.f0, "g_2747.f0", print_hash_value);
      transparent_crc(g_2747.f3, "g_2747.f3", print_hash_value);
      for (i = 0; i < 5; i++)
      {
          for (j = 0; j < 10; j++)
          {
              transparent_crc(g_2748[i][j].f0, "g_2748[i][j].f0", print_hash_value);
              transparent_crc(g_2748[i][j].f3, "g_2748[i][j].f3", print_hash_value);
              if (print_hash_value) printf("index = [%d][%d]\n", i, j);
  
          }
      }
      transparent_crc(g_2749.f0, "g_2749.f0", print_hash_value);
      transparent_crc(g_2749.f3, "g_2749.f3", print_hash_value);
      transparent_crc(g_2783, "g_2783", print_hash_value);
      transparent_crc(g_2794, "g_2794", print_hash_value);
      transparent_crc(g_2796, "g_2796", print_hash_value);
      transparent_crc(g_2824.f0, "g_2824.f0", print_hash_value);
      transparent_crc(g_2824.f1, "g_2824.f1", print_hash_value);
      transparent_crc(g_2824.f2, "g_2824.f2", print_hash_value);
      transparent_crc(g_2824.f3, "g_2824.f3", print_hash_value);
      transparent_crc(g_2824.f4, "g_2824.f4", print_hash_value);
      transparent_crc(g_2825.f0, "g_2825.f0", print_hash_value);
      transparent_crc(g_2825.f1, "g_2825.f1", print_hash_value);
      transparent_crc(g_2825.f2, "g_2825.f2", print_hash_value);
      transparent_crc(g_2825.f3, "g_2825.f3", print_hash_value);
      transparent_crc(g_2825.f4, "g_2825.f4", print_hash_value);
      transparent_crc(g_2826.f0, "g_2826.f0", print_hash_value);
      transparent_crc(g_2826.f1, "g_2826.f1", print_hash_value);
      transparent_crc(g_2826.f2, "g_2826.f2", print_hash_value);
      transparent_crc(g_2826.f3, "g_2826.f3", print_hash_value);
      transparent_crc(g_2826.f4, "g_2826.f4", print_hash_value);
      for (i = 0; i < 4; i++)
      {
          transparent_crc(g_2827[i].f0, "g_2827[i].f0", print_hash_value);
          transparent_crc(g_2827[i].f1, "g_2827[i].f1", print_hash_value);
          transparent_crc(g_2827[i].f2, "g_2827[i].f2", print_hash_value);
          transparent_crc(g_2827[i].f3, "g_2827[i].f3", print_hash_value);
          transparent_crc(g_2827[i].f4, "g_2827[i].f4", print_hash_value);
          if (print_hash_value) printf("index = [%d]\n", i);
  
      }
      transparent_crc(g_2953.f0, "g_2953.f0", print_hash_value);
      transparent_crc(g_2953.f1, "g_2953.f1", print_hash_value);
      transparent_crc(g_2953.f2.f0, "g_2953.f2.f0", print_hash_value);
      transparent_crc(g_2953.f2.f1, "g_2953.f2.f1", print_hash_value);
      transparent_crc(g_2953.f2.f2, "g_2953.f2.f2", print_hash_value);
      transparent_crc(g_2953.f2.f3, "g_2953.f2.f3", print_hash_value);
      transparent_crc(g_2953.f2.f4, "g_2953.f2.f4", print_hash_value);
      for (i = 0; i < 8; i++)
      {
          for (j = 0; j < 7; j++)
          {
              transparent_crc(g_2954[i][j].f0, "g_2954[i][j].f0", print_hash_value);
              transparent_crc(g_2954[i][j].f1, "g_2954[i][j].f1", print_hash_value);
              transparent_crc(g_2954[i][j].f2.f0, "g_2954[i][j].f2.f0", print_hash_value);
              transparent_crc(g_2954[i][j].f2.f1, "g_2954[i][j].f2.f1", print_hash_value);
              transparent_crc(g_2954[i][j].f2.f2, "g_2954[i][j].f2.f2", print_hash_value);
              transparent_crc(g_2954[i][j].f2.f3, "g_2954[i][j].f2.f3", print_hash_value);
              transparent_crc(g_2954[i][j].f2.f4, "g_2954[i][j].f2.f4", print_hash_value);
              if (print_hash_value) printf("index = [%d][%d]\n", i, j);
  
          }
      }
      transparent_crc(g_2955.f0, "g_2955.f0", print_hash_value);
      transparent_crc(g_2955.f1, "g_2955.f1", print_hash_value);
      transparent_crc(g_2955.f2.f0, "g_2955.f2.f0", print_hash_value);
      transparent_crc(g_2955.f2.f1, "g_2955.f2.f1", print_hash_value);
      transparent_crc(g_2955.f2.f2, "g_2955.f2.f2", print_hash_value);
      transparent_crc(g_2955.f2.f3, "g_2955.f2.f3", print_hash_value);
      transparent_crc(g_2955.f2.f4, "g_2955.f2.f4", print_hash_value);
      transparent_crc(g_3169, "g_3169", print_hash_value);
      transparent_crc(g_3193.f0, "g_3193.f0", print_hash_value);
      transparent_crc(g_3193.f1, "g_3193.f1", print_hash_value);
      transparent_crc(g_3193.f2.f0, "g_3193.f2.f0", print_hash_value);
      transparent_crc(g_3193.f2.f1, "g_3193.f2.f1", print_hash_value);
      transparent_crc(g_3193.f2.f2, "g_3193.f2.f2", print_hash_value);
      transparent_crc(g_3193.f2.f3, "g_3193.f2.f3", print_hash_value);
      transparent_crc(g_3193.f2.f4, "g_3193.f2.f4", print_hash_value);
      transparent_crc(g_3216, "g_3216", print_hash_value);
      transparent_crc(g_3255, "g_3255", print_hash_value);
      transparent_crc(g_3462.f0, "g_3462.f0", print_hash_value);
      transparent_crc(g_3462.f3, "g_3462.f3", print_hash_value);
      transparent_crc(g_3463.f0, "g_3463.f0", print_hash_value);
      transparent_crc(g_3463.f3, "g_3463.f3", print_hash_value);
      transparent_crc(g_3464.f3, "g_3464.f3", print_hash_value);
      transparent_crc(g_3499.f0, "g_3499.f0", print_hash_value);
      transparent_crc(g_3499.f1, "g_3499.f1", print_hash_value);
      transparent_crc(g_3499.f2, "g_3499.f2", print_hash_value);
      transparent_crc(g_3499.f3, "g_3499.f3", print_hash_value);
      transparent_crc(g_3499.f4, "g_3499.f4", print_hash_value);
      transparent_crc(g_3549, "g_3549", print_hash_value);
      transparent_crc(g_3659, "g_3659", print_hash_value);
      transparent_crc(g_3786.f0, "g_3786.f0", print_hash_value);
      transparent_crc(g_3786.f1, "g_3786.f1", print_hash_value);
      transparent_crc(g_3786.f2, "g_3786.f2", print_hash_value);
      transparent_crc(g_3786.f3, "g_3786.f3", print_hash_value);
      transparent_crc(g_3786.f4, "g_3786.f4", print_hash_value);
      transparent_crc(g_3912, "g_3912", print_hash_value);
      platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
      return 0;
  }
  
  /************************ statistics *************************
  XXX max struct depth: 1
  breakdown:
     depth: 0, occurrence: 907
     depth: 1, occurrence: 65
  XXX total union variables: 1
  
  XXX non-zero bitfields defined in structs: 9
  XXX zero bitfields defined in structs: 1
  XXX const bitfields defined in structs: 2
  XXX volatile bitfields defined in structs: 3
  XXX structs with bitfields in the program: 176
  breakdown:
     indirect level: 0, occurrence: 65
     indirect level: 1, occurrence: 57
     indirect level: 2, occurrence: 32
     indirect level: 3, occurrence: 17
     indirect level: 4, occurrence: 4
     indirect level: 5, occurrence: 1
  XXX full-bitfields structs in the program: 65
  breakdown:
     indirect level: 0, occurrence: 65
  XXX times a bitfields struct's address is taken: 127
  XXX times a bitfields struct on LHS: 21
  XXX times a bitfields struct on RHS: 84
  XXX times a single bitfield on LHS: 24
  XXX times a single bitfield on RHS: 124
  
  XXX max expression depth: 45
  breakdown:
     depth: 1, occurrence: 433
     depth: 2, occurrence: 123
     depth: 3, occurrence: 9
     depth: 4, occurrence: 6
     depth: 5, occurrence: 1
     depth: 6, occurrence: 3
     depth: 7, occurrence: 2
     depth: 8, occurrence: 4
     depth: 10, occurrence: 2
     depth: 11, occurrence: 3
     depth: 12, occurrence: 1
     depth: 13, occurrence: 2
     depth: 14, occurrence: 3
     depth: 15, occurrence: 2
     depth: 16, occurrence: 1
     depth: 17, occurrence: 9
     depth: 18, occurrence: 3
     depth: 19, occurrence: 3
     depth: 20, occurrence: 4
     depth: 21, occurrence: 3
     depth: 22, occurrence: 6
     depth: 24, occurrence: 5
     depth: 25, occurrence: 3
     depth: 28, occurrence: 3
     depth: 29, occurrence: 1
     depth: 30, occurrence: 1
     depth: 31, occurrence: 1
     depth: 32, occurrence: 2
     depth: 33, occurrence: 3
     depth: 35, occurrence: 1
     depth: 36, occurrence: 5
     depth: 37, occurrence: 1
     depth: 40, occurrence: 1
     depth: 43, occurrence: 1
     depth: 45, occurrence: 1
  
  XXX total number of pointers: 1109
  
  XXX times a variable address is taken: 2243
  XXX times a pointer is dereferenced on RHS: 349
  breakdown:
     depth: 1, occurrence: 297
     depth: 2, occurrence: 52
  XXX times a pointer is dereferenced on LHS: 460
  breakdown:
     depth: 1, occurrence: 433
     depth: 2, occurrence: 27
  XXX times a pointer is compared with null: 65
  XXX times a pointer is compared with address of another variable: 21
  XXX times a pointer is compared with another pointer: 23
  XXX times a pointer is qualified to be dereferenced: 9497
  
  XXX max dereference level: 4
  breakdown:
     level: 0, occurrence: 0
     level: 1, occurrence: 1714
     level: 2, occurrence: 325
     level: 3, occurrence: 39
     level: 4, occurrence: 1
  XXX number of pointers point to pointers: 339
  XXX number of pointers point to scalars: 647
  XXX number of pointers point to structs: 59
  XXX percent of pointers has null in alias set: 38.1
  XXX average alias set size: 1.74
  
  XXX times a non-volatile is read: 2866
  XXX times a non-volatile is write: 1516
  XXX times a volatile is read: 2
  XXX    times read thru a pointer: 1
  XXX times a volatile is write: 0
  XXX    times written thru a pointer: 0
  XXX times a volatile is available for access: 6
  XXX percentage of non-volatile access: 100
  
  XXX forward jumps: 6
  XXX backward jumps: 13
  
  XXX stmts: 434
  XXX max block depth: 5
  breakdown:
     depth: 0, occurrence: 35
     depth: 1, occurrence: 51
     depth: 2, occurrence: 77
     depth: 3, occurrence: 75
     depth: 4, occurrence: 78
     depth: 5, occurrence: 118
  
  XXX percentage a fresh-made variable is used: 19.5
  XXX percentage an existing variable is used: 80.5
  FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
  ********************* end of statistics **********************/
  
  