text: /*
   * This is a RANDOMLY GENERATED PROGRAM.
   *
   * Generator: csmith 2.2.0
   * Git version: dcef523
   * Options:   (none)
   * Seed:      1630032808
   */
  
  #include "csmith.h"
  
  
  static long __undefined;
  
  /* --- Struct/Union Declarations --- */
  #pragma pack(push)
  #pragma pack(1)
  struct S0 {
     signed f0 : 2;
  };
  #pragma pack(pop)
  
  /* --- GLOBAL VARIABLES --- */
  static uint32_t g_13 = 0x88999D94L;
  static int8_t g_48 = (-5L);
  static uint16_t g_51[2] = {0x8E51L,0x8E51L};
  static struct S0 g_52[2][4][8] = {{{{0},{-1},{-1},{-1},{0},{0},{-1},{-0}},{{-1},{-0},{0},{-1},{-1},{0},{-0},{-1}},{{0},{0},{0},{-1},{-1},{0},{-1},{-1}},{{-1},{-0},{-1},{-0},{-1},{0},{0},{0}}},{{{0},{0},{0},{0},{0},{0},{-1},{-1}},{{0},{-0},{-1},{0},{-0},{0},{-0},{0}},{{0},{-0},{0},{0},{-0},{-1},{-1},{-0}},{{-1},{-0},{-0},{-1},{0},{0},{-1},{-1}}}};
  static uint8_t g_73[9][8][3] = {{{255UL,251UL,0UL},{5UL,0xE6L,5UL},{255UL,255UL,255UL},{0x91L,0xE6L,252UL},{0x06L,251UL,255UL},{5UL,246UL,5UL},{0x06L,255UL,0UL},{0x91L,246UL,252UL}},{{255UL,251UL,0UL},{5UL,0xE6L,5UL},{255UL,255UL,255UL},{0x91L,0xE6L,252UL},{0x06L,251UL,255UL},{5UL,246UL,5UL},{0x06L,255UL,0UL},{0x91L,246UL,252UL}},{{255UL,251UL,0UL},{5UL,0xE6L,5UL},{255UL,255UL,255UL},{0x91L,0xE6L,252UL},{0x06L,251UL,255UL},{5UL,246UL,5UL},{0x06L,255UL,0UL},{0x91L,246UL,252UL}},{{255UL,251UL,0UL},{5UL,0xE6L,5UL},{255UL,255UL,255UL},{0x91L,0xE6L,252UL},{0x06L,251UL,255UL},{5UL,246UL,5UL},{0x06L,255UL,0UL},{0x91L,246UL,252UL}},{{255UL,251UL,0UL},{5UL,0xE6L,5UL},{255UL,255UL,255UL},{0x91L,0xE6L,252UL},{0x06L,251UL,255UL},{5UL,246UL,5UL},{0x06L,255UL,0UL},{0x91L,246UL,252UL}},{{255UL,251UL,0UL},{5UL,0xE6L,5UL},{255UL,255UL,255UL},{0x91L,0xE6L,252UL},{0x06L,251UL,255UL},{5UL,246UL,5UL},{0x06L,255UL,0UL},{0x91L,246UL,252UL}},{{255UL,251UL,0UL},{5UL,0xE6L,5UL},{255UL,255UL,255UL},{0x91L,0xE6L,252UL},{0x06L,251UL,255UL},{5UL,246UL,5UL},{0x06L,255UL,0UL},{0x91L,246UL,252UL}},{{255UL,251UL,0UL},{9UL,9UL,9UL},{0UL,0UL,0xF9L},{0xB8L,9UL,0x86L},{0xA0L,0x06L,0xF9L},{9UL,0x66L,9UL},{0xA0L,0UL,1UL},{0xB8L,0x66L,0x86L}},{{0UL,0x06L,1UL},{9UL,9UL,9UL},{0UL,0UL,0xF9L},{0xB8L,9UL,0x86L},{0xA0L,0x06L,0xF9L},{9UL,0x66L,9UL},{0xA0L,0UL,1UL},{0xB8L,0x66L,0x86L}}};
  static uint8_t g_90 = 0x3AL;
  static struct S0 *g_91 = (void*)0;
  static int32_t g_98[4] = {(-1L),(-1L),(-1L),(-1L)};
  static int32_t g_105 = 0x265DC7DFL;
  static struct S0 g_115 = {1};
  static int32_t g_121 = (-1L);
  static struct S0 ** volatile g_128 = (void*)0;/* VOLATILE GLOBAL g_128 */
  static struct S0 *g_129 = &g_115;
  static volatile int32_t g_145 = 0L;/* VOLATILE GLOBAL g_145 */
  static uint32_t g_146 = 0x558D5EF9L;
  static int8_t g_172 = 0x70L;
  static int16_t g_194 = 0xCEAAL;
  static uint16_t g_204 = 0UL;
  static uint8_t g_219 = 0x2DL;
  static uint64_t g_232 = 1UL;
  static int64_t g_270 = (-7L);
  static int32_t *g_273[1][10][8] = {{{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}}};
  static int32_t ** const  volatile g_272[9][4] = {{(void*)0,&g_273[0][0][7],&g_273[0][7][2],&g_273[0][6][0]},{(void*)0,&g_273[0][0][0],&g_273[0][4][0],&g_273[0][6][0]},{&g_273[0][7][2],&g_273[0][0][7],(void*)0,&g_273[0][0][7]},{(void*)0,(void*)0,&g_273[0][7][2],&g_273[0][8][2]},{&g_273[0][7][2],(void*)0,&g_273[0][7][2],&g_273[0][7][2]},{&g_273[0][0][0],&g_273[0][6][0],&g_273[0][7][2],&g_273[0][7][2]},{&g_273[0][0][0],(void*)0,&g_273[0][7][2],&g_273[0][7][2]},{&g_273[0][7][2],&g_273[0][7][2],&g_273[0][7][2],&g_273[0][5][5]},{(void*)0,&g_273[0][7][2],(void*)0,(void*)0}};
  static uint16_t g_287 = 0xC0F3L;
  static int32_t ** volatile g_358 = &g_273[0][4][1];/* VOLATILE GLOBAL g_358 */
  static struct S0 ** const  volatile g_359[1][3][6] = {{{&g_91,&g_91,&g_91,&g_91,&g_91,&g_91},{&g_91,&g_91,&g_91,&g_91,&g_91,&g_91},{&g_91,&g_91,&g_91,&g_91,&g_91,&g_91}}};
  static int16_t g_411 = 0L;
  static uint64_t *g_413 = &g_232;
  static volatile uint32_t g_417 = 4294967295UL;/* VOLATILE GLOBAL g_417 */
  static volatile uint32_t *g_416 = &g_417;
  static volatile uint32_t ** volatile g_415 = &g_416;/* VOLATILE GLOBAL g_415 */
  static const uint32_t * const *g_420 = (void*)0;
  static int32_t ** volatile g_422 = &g_273[0][7][2];/* VOLATILE GLOBAL g_422 */
  static int32_t ** volatile g_428[4][4][7] = {{{&g_273[0][3][5],&g_273[0][7][2],&g_273[0][7][2],&g_273[0][3][5],&g_273[0][1][0],&g_273[0][0][7],&g_273[0][3][6]},{&g_273[0][0][3],(void*)0,(void*)0,&g_273[0][5][2],(void*)0,&g_273[0][9][3],(void*)0},{(void*)0,&g_273[0][0][0],&g_273[0][0][7],&g_273[0][7][2],&g_273[0][1][4],(void*)0,&g_273[0][2][4]},{&g_273[0][6][6],(void*)0,&g_273[0][9][7],&g_273[0][5][2],&g_273[0][7][2],&g_273[0][9][3],&g_273[0][7][2]}},{{(void*)0,&g_273[0][0][7],&g_273[0][0][7],(void*)0,&g_273[0][1][4],&g_273[0][2][4],&g_273[0][2][4]},{&g_273[0][0][3],(void*)0,(void*)0,&g_273[0][5][2],(void*)0,&g_273[0][9][3],(void*)0},{(void*)0,&g_273[0][0][0],&g_273[0][0][7],&g_273[0][7][2],&g_273[0][1][4],(void*)0,&g_273[0][2][4]},{&g_273[0][6][6],(void*)0,&g_273[0][9][7],&g_273[0][5][2],&g_273[0][7][2],&g_273[0][9][3],&g_273[0][7][2]}},{{(void*)0,&g_273[0][0][7],&g_273[0][0][7],(void*)0,&g_273[0][1][4],&g_273[0][2][4],&g_273[0][2][4]},{&g_273[0][0][3],(void*)0,(void*)0,&g_273[0][5][2],(void*)0,&g_273[0][9][3],(void*)0},{(void*)0,&g_273[0][0][0],&g_273[0][0][7],&g_273[0][7][2],&g_273[0][1][4],(void*)0,&g_273[0][2][4]},{&g_273[0][6][6],(void*)0,&g_273[0][9][7],&g_273[0][5][2],&g_273[0][7][2],&g_273[0][9][3],&g_273[0][7][2]}},{{(void*)0,&g_273[0][0][7],&g_273[0][0][7],(void*)0,&g_273[0][1][4],&g_273[0][2][4],&g_273[0][2][4]},{&g_273[0][0][3],(void*)0,(void*)0,&g_273[0][5][2],(void*)0,&g_273[0][9][3],(void*)0},{(void*)0,&g_273[0][0][0],&g_273[0][0][7],&g_273[0][7][2],&g_273[0][1][4],(void*)0,&g_273[0][2][4]},{&g_273[0][6][6],(void*)0,&g_273[0][9][7],&g_273[0][5][2],&g_273[0][7][2],&g_273[0][9][3],&g_273[0][7][2]}}};
  static uint32_t *g_509 = &g_146;
  static uint32_t **g_508[8][10] = {{&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509},{&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509},{&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509},{&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509},{&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509},{&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509},{&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509},{&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509,&g_509}};
  static volatile int32_t g_539 = 0x326653DBL;/* VOLATILE GLOBAL g_539 */
  static volatile int32_t * volatile g_538[7][3][5] = {{{&g_539,&g_539,&g_539,&g_539,&g_539},{&g_539,&g_539,&g_539,(void*)0,&g_539},{&g_539,&g_539,&g_539,&g_539,&g_539}},{{&g_539,(void*)0,(void*)0,&g_539,&g_539},{&g_539,&g_539,&g_539,&g_539,&g_539},{&g_539,&g_539,&g_539,&g_539,&g_539}},{{(void*)0,&g_539,(void*)0,&g_539,&g_539},{&g_539,&g_539,&g_539,&g_539,&g_539},{(void*)0,&g_539,&g_539,(void*)0,&g_539}},{{(void*)0,(void*)0,&g_539,&g_539,&g_539},{&g_539,&g_539,(void*)0,&g_539,(void*)0},{(void*)0,&g_539,&g_539,&g_539,&g_539}},{{(void*)0,&g_539,&g_539,&g_539,&g_539},{&g_539,&g_539,(void*)0,&g_539,&g_539},{&g_539,(void*)0,&g_539,&g_539,&g_539}},{{&g_539,&g_539,&g_539,(void*)0,&g_539},{&g_539,&g_539,(void*)0,&g_539,(void*)0},{&g_539,&g_539,&g_539,&g_539,&g_539}},{{(void*)0,&g_539,&g_539,&g_539,&g_539},{(void*)0,&g_539,&g_539,(void*)0,(void*)0},{&g_539,(void*)0,&g_539,&g_539,&g_539}}};
  static int64_t g_603 = 0L;
  static int8_t *g_619 = &g_48;
  static uint64_t **g_636[8] = {&g_413,&g_413,&g_413,&g_413,&g_413,&g_413,&g_413,&g_413};
  static uint64_t *** volatile g_635[10][10][2] = {{{&g_636[6],&g_636[4]},{&g_636[7],(void*)0},{&g_636[1],&g_636[4]},{&g_636[3],&g_636[6]},{(void*)0,(void*)0},{&g_636[4],&g_636[0]},{&g_636[6],&g_636[0]},{&g_636[7],&g_636[1]},{&g_636[6],&g_636[7]},{&g_636[2],(void*)0}},{{&g_636[2],&g_636[7]},{&g_636[6],&g_636[1]},{&g_636[7],&g_636[0]},{&g_636[6],&g_636[0]},{&g_636[4],(void*)0},{(void*)0,&g_636[6]},{&g_636[3],&g_636[4]},{&g_636[1],(void*)0},{&g_636[7],&g_636[4]},{&g_636[6],&g_636[6]}},{{&g_636[6],(void*)0},{&g_636[7],(void*)0},{&g_636[6],&g_636[6]},{&g_636[6],&g_636[5]},{(void*)0,&g_636[3]},{(void*)0,&g_636[6]},{&g_636[6],&g_636[6]},{&g_636[7],&g_636[2]},{&g_636[5],&g_636[6]},{&g_636[6],&g_636[6]}},{{&g_636[6],(void*)0},{&g_636[4],&g_636[6]},{(void*)0,(void*)0},{&g_636[6],(void*)0},{(void*)0,&g_636[6]},{&g_636[4],(void*)0},{&g_636[6],&g_636[6]},{&g_636[6],&g_636[6]},{&g_636[5],&g_636[2]},{&g_636[7],&g_636[6]}},{{&g_636[6],&g_636[6]},{(void*)0,&g_636[3]},{&g_636[6],&g_636[6]},{&g_636[4],&g_636[0]},{&g_636[6],&g_636[0]},{&g_636[6],(void*)0},{&g_636[6],&g_636[7]},{&g_636[1],(void*)0},{&g_636[7],&g_636[6]},{(void*)0,&g_636[4]}},{{(void*)0,&g_636[4]},{&g_636[6],&g_636[6]},{&g_636[6],&g_636[6]},{&g_636[7],(void*)0},{&g_636[6],(void*)0},{&g_636[6],&g_636[6]},{&g_636[5],&g_636[6]},{&g_636[5],&g_636[6]},{&g_636[6],(void*)0},{&g_636[6],(void*)0}},{{&g_636[7],&g_636[6]},{&g_636[6],&g_636[6]},{&g_636[6],&g_636[4]},{(void*)0,&g_636[4]},{(void*)0,&g_636[6]},{&g_636[7],(void*)0},{&g_636[1],&g_636[7]},{&g_636[6],(void*)0},{&g_636[6],&g_636[0]},{&g_636[6],&g_636[0]}},{{&g_636[4],&g_636[6]},{&g_636[6],(void*)0},{&g_636[6],&g_636[4]},{&g_636[5],&g_636[7]},{&g_636[6],&g_636[5]},{&g_636[6],&g_636[5]},{(void*)0,&g_636[3]},{&g_636[4],(void*)0},{(void*)0,(void*)0},{&g_636[6],(void*)0}},{{&g_636[6],(void*)0},{&g_636[6],(void*)0},{(void*)0,(void*)0},{&g_636[4],&g_636[3]},{(void*)0,&g_636[5]},{&g_636[6],&g_636[5]},{&g_636[6],&g_636[7]},{&g_636[5],&g_636[4]},{&g_636[6],(void*)0},{&g_636[6],&g_636[6]}},{{&g_636[4],&g_636[0]},{&g_636[6],&g_636[0]},{&g_636[6],(void*)0},{&g_636[6],&g_636[7]},{&g_636[1],(void*)0},{&g_636[7],&g_636[6]},{(void*)0,&g_636[4]},{(void*)0,&g_636[4]},{&g_636[6],&g_636[6]},{&g_636[6],&g_636[6]}}};
  static uint64_t *** volatile g_637[2][5] = {{&g_636[6],&g_636[6],(void*)0,&g_636[6],&g_636[6]},{&g_636[2],&g_636[6],&g_636[2],&g_636[2],&g_636[6]}};
  static uint64_t *** volatile g_638 = (void*)0;/* VOLATILE GLOBAL g_638 */
  static uint64_t *** volatile g_639 = &g_636[6];/* VOLATILE GLOBAL g_639 */
  static int32_t ** volatile g_715 = &g_273[0][7][2];/* VOLATILE GLOBAL g_715 */
  static struct S0 * volatile g_717 = &g_115;/* VOLATILE GLOBAL g_717 */
  static int16_t ** const g_720 = (void*)0;
  static int16_t **g_722 = (void*)0;
  static int16_t *** volatile g_721 = &g_722;/* VOLATILE GLOBAL g_721 */
  static int32_t ** volatile g_743 = &g_273[0][6][3];/* VOLATILE GLOBAL g_743 */
  static int8_t g_769 = 4L;
  static uint8_t g_861 = 0UL;
  static uint8_t *g_867 = &g_73[7][0][0];
  static uint8_t **g_866 = &g_867;
  static uint8_t *** volatile g_865 = &g_866;/* VOLATILE GLOBAL g_865 */
  static int8_t g_905 = 0x72L;
  static uint64_t g_907 = 0x2A15576ABCA99376LL;
  static int32_t *g_910 = &g_121;
  static const int16_t g_921 = 0xF8E9L;
  static uint16_t *g_974 = (void*)0;
  static uint16_t ** volatile g_973 = &g_974;/* VOLATILE GLOBAL g_973 */
  static int16_t g_1019[2] = {(-1L),(-1L)};
  static int32_t ** volatile g_1170 = &g_273[0][7][2];/* VOLATILE GLOBAL g_1170 */
  static int32_t *g_1232[7] = {&g_121,&g_121,&g_121,&g_121,&g_121,&g_121,&g_121};
  static struct S0 ** volatile g_1266 = &g_129;/* VOLATILE GLOBAL g_1266 */
  static struct S0 ** volatile g_1269 = &g_129;/* VOLATILE GLOBAL g_1269 */
  static const int32_t g_1272 = 5L;
  static const int32_t *g_1271 = &g_1272;
  static const int32_t *g_1274[9] = {&g_105,&g_105,&g_105,&g_105,&g_105,&g_105,&g_105,&g_105,&g_105};
  static const int32_t ** volatile g_1273 = &g_1274[4];/* VOLATILE GLOBAL g_1273 */
  static volatile uint32_t * volatile g_1310 = (void*)0;/* VOLATILE GLOBAL g_1310 */
  static volatile uint32_t g_1312[8] = {18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL};
  static volatile uint32_t * volatile g_1311 = &g_1312[4];/* VOLATILE GLOBAL g_1311 */
  static volatile uint32_t g_1314[8][8][4] = {{{18446744073709551615UL,1UL,0xF0991883L,0x160AADD6L},{0xF0991883L,0x160AADD6L,0UL,1UL},{3UL,18446744073709551614UL,18446744073709551615UL,18446744073709551608UL},{18446744073709551607UL,3UL,0xA4DC7B18L,2UL},{0x9D9D8867L,0x67A15925L,0x1300391AL,1UL},{0xD9A9F663L,4UL,1UL,18446744073709551609UL},{18446744073709551612UL,0x283136A4L,0x87D2A73AL,0xBAE622F9L},{0x5F24D95FL,1UL,0x3AF513FCL,0x57F632A3L}},{{0UL,9UL,18446744073709551606UL,18446744073709551615UL},{0UL,18446744073709551609UL,0x0AE79C69L,18446744073709551615UL},{3UL,1UL,1UL,18446744073709551615UL},{18446744073709551615UL,0xA4DC7B18L,9UL,18446744073709551606UL},{0x268F569AL,8UL,2UL,0x267C74DCL},{0x7371B164L,18446744073709551615UL,0x9DF1A318L,0x1300391AL},{0UL,18446744073709551615UL,0x57F632A3L,0xDBFEE023L},{1UL,0xC4C4859BL,1UL,18446744073709551609UL}},{{0x57EA1A3AL,8UL,18446744073709551615UL,2UL},{0UL,0xE7B6B1A8L,0UL,18446744073709551613UL},{0x3058600DL,1UL,18446744073709551615UL,0xCB70EE0CL},{1UL,0xF67B98FFL,0xDA426BC1L,3UL},{0x0D228E38L,0x817CDB00L,8UL,8UL},{0x57F632A3L,0xD899A304L,18446744073709551615UL,18446744073709551615UL},{18446744073709551614UL,0UL,1UL,0x79CF3948L},{0x071E510AL,0xA76D6C7FL,0xD899A304L,18446744073709551615UL}},{{18446744073709551613UL,0x0D228E38L,0x57EA1A3AL,0x268F569AL},{0x3AF513FCL,0x79CF3948L,0x160AADD6L,1UL},{0xCB1904ECL,5UL,1UL,1UL},{0x267C74DCL,0x267C74DCL,0x2E02D780L,0x2F260E11L},{0xE2589BB8L,0x69A14105L,3UL,0x4972AAF0L},{1UL,0xB1E01621L,0x87756B85L,3UL},{18446744073709551613UL,0xB1E01621L,0x74991330L,0x4972AAF0L},{0xB1E01621L,0x69A14105L,18446744073709551611UL,0x2F260E11L}},{{18446744073709551610UL,0x267C74DCL,0xD9A9F663L,1UL},{0x5F24D95FL,5UL,0xABFF6691L,1UL},{18446744073709551607UL,0x79CF3948L,18446744073709551612UL,0x268F569AL},{7UL,0x0D228E38L,18446744073709551608UL,18446744073709551615UL},{18446744073709551615UL,0xA76D6C7FL,18446744073709551615UL,0x79CF3948L},{0x160AADD6L,0UL,4UL,18446744073709551615UL},{0x87D2A73AL,0xD899A304L,18446744073709551609UL,8UL},{3UL,0x817CDB00L,2UL,3UL}},{{18446744073709551609UL,0xF67B98FFL,0x2480D055L,0xCB70EE0CL},{0xC334EEC5L,1UL,0x071E510AL,18446744073709551613UL},{0x2480D055L,0xE7B6B1A8L,1UL,2UL},{0xABFF6691L,8UL,18446744073709551613UL,18446744073709551609UL},{0xDA426BC1L,0xC4C4859BL,1UL,0xDBFEE023L},{0xD9A9F663L,18446744073709551615UL,0x991004DFL,0x1300391AL},{0xD899A304L,18446744073709551615UL,0x268F569AL,0x267C74DCL},{0xA76D6C7FL,8UL,0x1AF484CFL,18446744073709551606UL}},{{0UL,0xA4DC7B18L,18446744073709551610UL,18446744073709551615UL},{18446744073709551613UL,1UL,0xA76D6C7FL,18446744073709551615UL},{0x9D9D8867L,0xC7CE77B4L,18446744073709551615UL,0UL},{0xDBFEE023L,18446744073709551615UL,0xC334EEC5L,8UL},{0UL,0xC334EEC5L,1UL,18446744073709551612UL},{0UL,0x071E510AL,1UL,0xC7CE77B4L},{18446744073709551615UL,0xCB70EE0CL,8UL,0xA4DC7B18L},{2UL,18446744073709551615UL,0x79089601L,5UL}},{{18446744073709551615UL,18446744073709551610UL,1UL,0xE2589BB8L},{1UL,0xBAE622F9L,18446744073709551609UL,18446744073709551612UL},{0x74991330L,0UL,0x87756B85L,0UL},{0x9D9D8867L,1UL,0UL,18446744073709551615UL},{18446744073709551611UL,18446744073709551609UL,0x7371B164L,0xA76D6C7FL},{0x2480D055L,0x2F260E11L,0xE9BC41E9L,0x4C092D0AL},{0x2480D055L,0xC7CE77B4L,0x7371B164L,0x9DF1A318L},{18446744073709551611UL,0x4C092D0AL,0UL,0xF67B98FFL}}};
  static volatile uint32_t * volatile g_1313[2] = {&g_1314[1][0][2],&g_1314[1][0][2]};
  static volatile uint32_t g_1316 = 18446744073709551612UL;/* VOLATILE GLOBAL g_1316 */
  static volatile uint32_t *g_1315 = &g_1316;
  static volatile uint32_t * volatile * const g_1309[3][1][9] = {{{&g_1315,&g_1315,(void*)0,&g_1315,&g_1315,&g_1315,&g_1315,&g_1315,(void*)0}},{{(void*)0,(void*)0,&g_1310,(void*)0,(void*)0,&g_1310,(void*)0,(void*)0,&g_1310}},{{&g_1315,&g_1315,(void*)0,&g_1315,&g_1315,&g_1315,&g_1315,&g_1315,(void*)0}}};
  static int16_t * const g_1338 = (void*)0;
  static int16_t * const *g_1337[3] = {&g_1338,&g_1338,&g_1338};
  static int16_t * const **g_1336 = &g_1337[2];
  static const int16_t ***g_1345 = (void*)0;
  static struct S0 ** volatile g_1354 = (void*)0;/* VOLATILE GLOBAL g_1354 */
  static struct S0 ** volatile g_1355 = &g_129;/* VOLATILE GLOBAL g_1355 */
  static struct S0 ** volatile g_1385 = &g_91;/* VOLATILE GLOBAL g_1385 */
  static volatile struct S0 ***g_1394 = (void*)0;
  static uint32_t g_1424 = 18446744073709551614UL;
  static int64_t *g_1441[1][8] = {{&g_270,&g_270,&g_603,&g_270,&g_270,&g_603,&g_270,&g_270}};
  static int16_t g_1459 = 0xDE3CL;
  static uint16_t *** volatile g_1472 = (void*)0;/* VOLATILE GLOBAL g_1472 */
  static int64_t * volatile g_1547 = &g_270;/* VOLATILE GLOBAL g_1547 */
  static int64_t **g_1574 = &g_1441[0][2];
  static int32_t g_1722 = 0L;
  static uint16_t g_1723 = 65531UL;
  static struct S0 ** volatile g_1751[2][7] = {{&g_129,&g_129,&g_129,&g_129,&g_129,&g_129,&g_129},{&g_129,&g_129,&g_91,&g_129,&g_129,&g_91,&g_129}};
  static struct S0 ** volatile g_1752[10][8] = {{&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91},{&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91},{&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91},{&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91},{&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91},{&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91},{&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91},{&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91},{&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91},{&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91,&g_91}};
  static struct S0 ** volatile g_1753[7] = {&g_91,&g_91,&g_129,&g_91,&g_91,&g_129,&g_91};
  static struct S0 ** volatile g_1754 = &g_91;/* VOLATILE GLOBAL g_1754 */
  static uint32_t ** const *g_1812[5][8][6] = {{{&g_508[3][6],&g_508[4][8],&g_508[7][9],&g_508[4][8],&g_508[4][3],&g_508[2][8]},{&g_508[4][8],&g_508[7][9],&g_508[2][0],&g_508[1][7],&g_508[1][7],&g_508[2][0]},{&g_508[4][8],&g_508[4][8],&g_508[5][8],&g_508[4][8],&g_508[4][3],&g_508[1][7]},{&g_508[6][7],&g_508[4][8],&g_508[4][8],&g_508[4][8],&g_508[4][8],&g_508[4][8]},{&g_508[1][7],&g_508[4][8],&g_508[4][8],&g_508[4][8],&g_508[4][8],&g_508[3][6]},{&g_508[4][7],&g_508[4][8],&g_508[4][8],&g_508[4][8],&g_508[0][3],&g_508[6][9]},{&g_508[4][8],&g_508[0][3],&g_508[6][9],&g_508[7][9],&g_508[6][7],&g_508[4][8]},{&g_508[4][7],&g_508[2][0],&g_508[5][8],&g_508[4][8],&g_508[1][7],&g_508[4][8]}},{{&g_508[1][7],&g_508[6][7],&g_508[4][8],&g_508[4][8],&g_508[1][7],&g_508[4][3]},{&g_508[4][8],&g_508[2][0],(void*)0,&g_508[2][8],&g_508[6][7],&g_508[5][8]},{&g_508[4][8],&g_508[0][3],&g_508[2][0],&g_508[2][0],&g_508[0][3],&g_508[4][8]},{&g_508[2][8],&g_508[4][8],(void*)0,&g_508[1][7],&g_508[4][8],(void*)0},{&g_508[0][3],&g_508[4][8],&g_508[4][8],&g_508[5][8],&g_508[0][7],&g_508[4][8]},{&g_508[0][3],(void*)0,&g_508[5][8],&g_508[1][7],&g_508[4][8],&g_508[4][8]},{&g_508[2][8],&g_508[4][8],&g_508[6][9],&g_508[2][0],&g_508[3][6],&g_508[0][3]},{&g_508[4][8],&g_508[5][8],&g_508[4][8],&g_508[2][8],&g_508[4][8],&g_508[2][0]}},{{&g_508[4][8],&g_508[4][3],&g_508[4][8],&g_508[4][8],&g_508[0][7],&g_508[6][7]},{&g_508[1][7],&g_508[4][8],&g_508[4][8],&g_508[4][8],&g_508[4][8],&g_508[2][0]},{&g_508[4][7],&g_508[4][8],&g_508[4][8],&g_508[7][9],&g_508[0][3],&g_508[0][3]},{&g_508[4][8],&g_508[6][9],&g_508[6][9],&g_508[4][8],&g_508[6][7],&g_508[4][8]},{&g_508[4][7],&g_508[3][6],&g_508[5][8],&g_508[4][8],&g_508[1][7],&g_508[4][8]},{&g_508[1][7],&g_508[4][8],&g_508[4][8],&g_508[6][7],&g_508[1][7],(void*)0},{&g_508[4][8],&g_508[3][6],(void*)0,&g_508[4][8],&g_508[6][7],&g_508[4][8]},{&g_508[4][8],&g_508[6][9],&g_508[2][0],&g_508[3][6],&g_508[0][3],&g_508[5][8]}},{{&g_508[2][8],&g_508[4][8],(void*)0,&g_508[4][8],&g_508[4][8],&g_508[4][3]},{&g_508[0][3],&g_508[4][8],&g_508[4][8],&g_508[4][8],&g_508[0][7],&g_508[4][8]},{&g_508[0][3],&g_508[4][3],&g_508[5][8],&g_508[4][8],&g_508[4][8],&g_508[4][8]},{&g_508[2][8],&g_508[5][8],&g_508[6][9],&g_508[3][6],&g_508[3][6],&g_508[6][9]},{&g_508[4][8],&g_508[4][8],&g_508[4][8],&g_508[4][8],&g_508[4][8],&g_508[3][6]},{&g_508[4][8],(void*)0,&g_508[4][8],&g_508[6][7],&g_508[0][7],&g_508[4][8]},{&g_508[1][7],&g_508[4][8],&g_508[4][8],&g_508[4][8],&g_508[4][8],&g_508[3][6]},{&g_508[4][7],&g_508[4][8],&g_508[4][8],&g_508[4][8],&g_508[0][3],&g_508[6][9]}},{{&g_508[4][8],&g_508[0][3],&g_508[6][9],&g_508[7][9],&g_508[6][7],&g_508[4][8]},{&g_508[4][7],&g_508[2][0],&g_508[5][8],&g_508[4][8],&g_508[1][7],&g_508[4][8]},{&g_508[1][7],&g_508[6][7],&g_508[4][8],&g_508[4][8],&g_508[1][7],&g_508[4][3]},{&g_508[4][8],&g_508[2][0],(void*)0,&g_508[2][8],&g_508[4][8],&g_508[4][8]},{&g_508[6][7],&g_508[4][8],&g_508[6][9],&g_508[6][9],&g_508[4][8],&g_508[6][7]},{&g_508[4][8],(void*)0,&g_508[4][8],&g_508[3][6],&g_508[6][7],(void*)0},{&g_508[4][8],&g_508[2][8],&g_508[4][8],&g_508[4][8],&g_508[4][7],&g_508[2][8]},{&g_508[4][8],(void*)0,&g_508[4][8],&g_508[3][6],&g_508[0][7],(void*)0}}};
  static uint32_t ** const * volatile *g_1811 = &g_1812[3][5][3];
  static uint8_t * volatile * volatile *g_1834 = (void*)0;
  static uint8_t * volatile * volatile **g_1833 = &g_1834;
  static int32_t ** volatile g_1844 = &g_1232[5];/* VOLATILE GLOBAL g_1844 */
  static struct S0 **g_1977 = &g_91;
  static struct S0 *** volatile g_1976 = &g_1977;/* VOLATILE GLOBAL g_1976 */
  static struct S0 ***g_2067[9][5] = {{&g_1977,&g_1977,&g_1977,&g_1977,(void*)0},{&g_1977,&g_1977,&g_1977,&g_1977,&g_1977},{&g_1977,&g_1977,&g_1977,&g_1977,&g_1977},{&g_1977,&g_1977,&g_1977,&g_1977,&g_1977},{&g_1977,&g_1977,&g_1977,&g_1977,&g_1977},{&g_1977,&g_1977,&g_1977,&g_1977,&g_1977},{&g_1977,&g_1977,&g_1977,&g_1977,&g_1977},{&g_1977,&g_1977,&g_1977,&g_1977,&g_1977},{&g_1977,&g_1977,&g_1977,&g_1977,&g_1977}};
  static struct S0 ***g_2068 = (void*)0;
  static volatile uint32_t * volatile * volatile g_2076 = (void*)0;/* VOLATILE GLOBAL g_2076 */
  static volatile uint32_t * volatile * volatile * volatile g_2075 = &g_2076;/* VOLATILE GLOBAL g_2075 */
  static int32_t * volatile * volatile *g_2133 = (void*)0;
  static int32_t * volatile * volatile * volatile *g_2132[5][3][9] = {{{&g_2133,&g_2133,&g_2133,(void*)0,&g_2133,&g_2133,&g_2133,&g_2133,&g_2133},{(void*)0,&g_2133,&g_2133,(void*)0,(void*)0,&g_2133,(void*)0,&g_2133,&g_2133},{&g_2133,&g_2133,&g_2133,(void*)0,(void*)0,(void*)0,(void*)0,&g_2133,&g_2133}},{{&g_2133,(void*)0,&g_2133,&g_2133,&g_2133,(void*)0,(void*)0,&g_2133,&g_2133},{(void*)0,&g_2133,&g_2133,&g_2133,(void*)0,&g_2133,(void*)0,&g_2133,&g_2133},{&g_2133,(void*)0,&g_2133,&g_2133,&g_2133,&g_2133,&g_2133,&g_2133,&g_2133}},{{&g_2133,&g_2133,(void*)0,&g_2133,&g_2133,(void*)0,&g_2133,(void*)0,&g_2133},{&g_2133,&g_2133,&g_2133,&g_2133,&g_2133,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,&g_2133,&g_2133,&g_2133,&g_2133,&g_2133,(void*)0,(void*)0,&g_2133}},{{&g_2133,&g_2133,&g_2133,&g_2133,(void*)0,&g_2133,&g_2133,&g_2133,&g_2133},{&g_2133,&g_2133,(void*)0,&g_2133,&g_2133,&g_2133,&g_2133,(void*)0,&g_2133},{(void*)0,&g_2133,(void*)0,&g_2133,(void*)0,&g_2133,&g_2133,(void*)0,&g_2133}},{{&g_2133,(void*)0,&g_2133,&g_2133,(void*)0,&g_2133,&g_2133,(void*)0,&g_2133},{&g_2133,(void*)0,&g_2133,&g_2133,&g_2133,&g_2133,(void*)0,&g_2133,&g_2133},{(void*)0,&g_2133,&g_2133,(void*)0,&g_2133,&g_2133,(void*)0,(void*)0,&g_2133}}};
  static uint32_t g_2306 = 18446744073709551606UL;
  static volatile int32_t *g_2315 = &g_145;
  static volatile int32_t * volatile * volatile g_2314 = &g_2315;/* VOLATILE GLOBAL g_2314 */
  static const uint64_t * const *g_2346 = (void*)0;
  static volatile uint64_t g_2382 = 0xF188E0F0D33ABA20LL;/* VOLATILE GLOBAL g_2382 */
  static uint32_t ***g_2409 = &g_508[4][8];
  static uint32_t ****g_2408[1] = {&g_2409};
  static int16_t g_2469 = 7L;
  static uint8_t g_2569 = 0UL;
  static uint16_t g_2574 = 0xDFAFL;
  static volatile int8_t g_2594 = 0xA5L;/* VOLATILE GLOBAL g_2594 */
  static volatile int8_t ***g_2690 = (void*)0;
  static uint64_t g_2703 = 1UL;
  static struct S0 ** volatile g_2707 = (void*)0;/* VOLATILE GLOBAL g_2707 */
  static struct S0 ** const  volatile g_2708 = &g_129;/* VOLATILE GLOBAL g_2708 */
  static struct S0 * const  volatile *g_2728 = &g_717;
  static uint64_t g_2742 = 18446744073709551611UL;
  static uint64_t * const g_2741 = &g_2742;
  static uint64_t * const *g_2740 = &g_2741;
  static const uint32_t **g_2767 = (void*)0;
  static const uint32_t ***g_2766[1] = {&g_2767};
  static const uint32_t ****g_2765 = &g_2766[0];
  static volatile struct S0 * volatile * volatile g_2855[6] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
  static volatile struct S0 * volatile * volatile * volatile g_2854[8] = {&g_2855[0],&g_2855[0],&g_2855[0],&g_2855[0],&g_2855[0],&g_2855[0],&g_2855[0],&g_2855[0]};
  static volatile struct S0 * volatile * volatile * volatile *g_2853[6][10] = {{&g_2854[1],&g_2854[3],&g_2854[1],&g_2854[1],&g_2854[1],&g_2854[3],&g_2854[1],&g_2854[1],&g_2854[1],(void*)0},{&g_2854[1],&g_2854[6],&g_2854[1],&g_2854[1],&g_2854[1],&g_2854[1],&g_2854[1],&g_2854[1],&g_2854[6],&g_2854[1]},{(void*)0,&g_2854[6],&g_2854[1],(void*)0,&g_2854[1],(void*)0,&g_2854[1],(void*)0,&g_2854[1],(void*)0},{(void*)0,&g_2854[3],(void*)0,&g_2854[6],&g_2854[1],&g_2854[1],&g_2854[1],&g_2854[1],&g_2854[1],&g_2854[1]},{&g_2854[1],&g_2854[1],&g_2854[1],&g_2854[1],&g_2854[1],&g_2854[1],(void*)0,&g_2854[1],&g_2854[1],(void*)0},{&g_2854[3],(void*)0,(void*)0,&g_2854[1],&g_2854[1],&g_2854[1],(void*)0,(void*)0,&g_2854[3],&g_2854[1]}};
  static volatile struct S0 * volatile * volatile * volatile * volatile *g_2852[7] = {&g_2853[2][6],&g_2853[2][6],&g_2853[2][6],&g_2853[2][6],&g_2853[2][6],&g_2853[2][6],&g_2853[2][6]};
  static uint16_t g_2856 = 65532UL;
  static volatile int16_t g_2866[6][9] = {{(-2L),(-2L),(-2L),(-2L),(-2L),(-2L),(-2L),(-2L),(-2L)},{0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL},{(-2L),(-2L),(-2L),(-2L),(-2L),(-2L),(-2L),(-2L),(-2L)},{0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL},{(-2L),(-2L),(-2L),(-2L),(-2L),(-2L),(-2L),(-2L),(-2L)},{0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL,0xC0ECL}};
  static int32_t g_2879 = 8L;
  static int16_t ****g_3010 = (void*)0;
  static uint64_t * volatile *g_3016 = (void*)0;
  static uint64_t * volatile * volatile *g_3015 = &g_3016;
  static uint64_t * volatile * volatile **g_3014 = &g_3015;
  
  
  /* --- FORWARD DECLARATIONS --- */
  static int32_t  func_1(void);
  static uint16_t  func_5(int32_t  p_6, uint32_t  p_7, uint16_t  p_8, uint32_t  p_9, int32_t  p_10);
  static int16_t  func_20(int16_t  p_21);
  static uint32_t  func_22(int8_t  p_23, uint32_t  p_24, int32_t  p_25);
  static int8_t  func_26(const int32_t  p_27, uint32_t  p_28, int64_t  p_29);
  static const int16_t  func_32(int32_t  p_33, int32_t  p_34, int32_t  p_35, uint8_t  p_36, uint16_t  p_37);
  static int16_t  func_40(int32_t  p_41, struct S0  p_42, uint32_t  p_43, uint32_t  p_44);
  static int32_t  func_55(struct S0  p_56, const struct S0  p_57, int8_t * const  p_58, const struct S0  p_59);
  static int8_t  func_85(uint8_t  p_86, uint8_t * p_87, struct S0 * p_88);
  static struct S0  func_108(uint32_t  p_109, int64_t  p_110, int32_t * p_111, uint32_t  p_112);
  
  
  /* --- FUNCTIONS --- */
  /* ------------------------------------------ */
  /* 
   * reads : g_13 g_48 g_52 g_73 g_91 g_90 g_105 g_115 g_98 g_51 g_146 g_145 g_232 g_172 g_270 g_272 g_204 g_287 g_194 g_121 g_358 g_413 g_415 g_422 g_416 g_417 g_509 g_538 g_273 g_619 g_639 g_715 g_717 g_720 g_721 g_636 g_743 g_1722 g_1271 g_1272 g_1312 g_2469 g_910 g_1547 g_2569 g_867 g_2574 g_2314 g_2315 g_865 g_866 g_2740 g_2741 g_2742 g_905
   * writes: g_51 g_52 g_73 g_48 g_90 g_98 g_105 g_115 g_121 g_91 g_129 g_146 g_172 g_194 g_204 g_219 g_232 g_270 g_287 g_273 g_411 g_413 g_420 g_508 g_538 g_603 g_619 g_636 g_722 g_1424 g_769 g_905
   */
  static int32_t  func_1(void)
  { /* block id: 0 */
      uint32_t l_2 = 1UL;
      int8_t *l_47[8][9][3] = {{{(void*)0,&g_48,&g_48},{&g_48,&g_48,&g_48},{(void*)0,&g_48,&g_48},{&g_48,&g_48,&g_48},{(void*)0,&g_48,&g_48},{&g_48,&g_48,&g_48},{(void*)0,&g_48,&g_48},{&g_48,&g_48,&g_48},{(void*)0,&g_48,&g_48}},{{&g_48,&g_48,&g_48},{(void*)0,&g_48,&g_48},{&g_48,&g_48,&g_48},{(void*)0,&g_48,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48}},{{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0}},{{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48}},{{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0}},{{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48}},{{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0}},{{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48},{&g_48,(void*)0,(void*)0},{&g_48,&g_48,&g_48}}};
      int32_t l_49[1];
      uint16_t *l_50 = &g_51[1];
      int32_t *l_601 = (void*)0;
      int32_t *l_602[7] = {&g_98[3],&g_98[3],&g_98[3],&g_98[3],&g_98[3],&g_98[3],&g_98[3]};
      int64_t l_709[2][10][3] = {{{2L,1L,0L},{(-10L),0xF3EBD34A95D4E91FLL,0x2DF830E258657728LL},{(-7L),(-7L),2L},{0xC30CF1F3FBE134F7LL,0x809B521567FE9959LL,0x2DF830E258657728LL},{0xDCE7956DFA207059LL,(-7L),0xDCE7956DFA207059LL},{(-10L),0xC30CF1F3FBE134F7LL,0x5DE6BDFD997AF9D9LL},{1L,0xDCE7956DFA207059LL,0xDCE7956DFA207059LL},{0x5DE6BDFD997AF9D9LL,(-10L),0x2DF830E258657728LL},{0L,1L,2L},{0x5DE6BDFD997AF9D9LL,0x5DE6BDFD997AF9D9LL,1L}},{{1L,0L,0x3F7074385BDBF216LL},{(-10L),0x5DE6BDFD997AF9D9LL,(-10L)},{0xDCE7956DFA207059LL,1L,(-7L)},{0xC30CF1F3FBE134F7LL,(-10L),(-10L)},{(-7L),0xDCE7956DFA207059LL,0x3F7074385BDBF216LL},{0x809B521567FE9959LL,0xC30CF1F3FBE134F7LL,1L},{(-7L),(-7L),2L},{0xC30CF1F3FBE134F7LL,0x809B521567FE9959LL,0x2DF830E258657728LL},{0xDCE7956DFA207059LL,(-7L),0xDCE7956DFA207059LL},{(-10L),0xC30CF1F3FBE134F7LL,0x5DE6BDFD997AF9D9LL}}};
      int32_t l_2527 = 0x33650267L;
      int16_t l_2528 = (-2L);
      uint64_t l_2529[6][4] = {{0x5268A967D29A9991LL,1UL,1UL,0x5268A967D29A9991LL},{1UL,0x5268A967D29A9991LL,1UL,1UL},{0x5268A967D29A9991LL,0x5268A967D29A9991LL,0xBD14B63FBB3ED172LL,0x5268A967D29A9991LL},{0x5268A967D29A9991LL,1UL,1UL,0x5268A967D29A9991LL},{1UL,0x5268A967D29A9991LL,1UL,1UL},{0x5268A967D29A9991LL,0x5268A967D29A9991LL,0xBD14B63FBB3ED172LL,0x5268A967D29A9991LL}};
      int8_t l_2530 = 0xD1L;
      uint16_t l_2531 = 0UL;
      int64_t l_2532 = 0x78250759897D75B4LL;
      int16_t l_2553 = 0xB4ECL;
      int32_t **l_2555 = &g_910;
      int32_t ***l_2554 = &l_2555;
      int32_t l_2560 = 0x7CBB0003L;
      struct S0 ** const l_2572 = &g_91;
      uint32_t l_2573 = 4294967294UL;
      uint32_t *l_2575 = &g_1424;
      uint32_t *l_2576[9][10] = {{(void*)0,&g_13,(void*)0,(void*)0,&g_2306,(void*)0,&g_13,&g_13,&g_13,&g_13},{&g_13,(void*)0,&g_13,&g_2306,&g_2306,(void*)0,(void*)0,&g_2306,&g_2306,&g_13},{&g_2306,&g_2306,&g_2306,&g_13,&g_2306,&g_2306,&g_2306,&g_2306,(void*)0,(void*)0},{(void*)0,&g_13,&g_2306,(void*)0,(void*)0,&g_13,&g_2306,&g_13,(void*)0,&g_13},{&g_13,&g_2306,&g_13,(void*)0,(void*)0,&g_2306,(void*)0,(void*)0,&g_13,&g_2306},{&g_2306,(void*)0,&g_13,&g_2306,&g_2306,&g_2306,&g_13,&g_13,&g_13,(void*)0},{&g_2306,&g_13,(void*)0,&g_13,&g_13,&g_2306,(void*)0,&g_13,&g_13,&g_13},{&g_2306,&g_13,&g_13,&g_13,&g_2306,&g_2306,&g_13,&g_13,&g_13,&g_2306},{&g_13,&g_13,&g_13,(void*)0,&g_2306,&g_13,&g_13,(void*)0,&g_13,&g_2306}};
      int32_t l_2577 = 3L;
      int16_t l_2580 = (-7L);
      int8_t l_2587 = (-4L);
      uint8_t l_2595 = 9UL;
      int8_t l_2609 = 0xEEL;
      uint32_t **l_2613 = &g_509;
      uint8_t ***l_2641 = &g_866;
      uint8_t **** const l_2640 = &l_2641;
      uint8_t **** const *l_2639 = &l_2640;
      uint32_t **l_2697 = &g_509;
      int32_t l_2729[1];
      uint32_t ***l_2730 = (void*)0;
      int16_t l_2745[6][2] = {{(-10L),0x963BL},{(-10L),(-10L)},{0x963BL,(-10L)},{(-10L),0x963BL},{(-10L),(-10L)},{0x963BL,(-10L)}};
      uint32_t l_2748 = 0UL;
      int16_t l_2751 = (-4L);
      uint16_t l_2769 = 0x1C59L;
      const struct S0 l_2770[8] = {{-1},{-0},{-0},{-1},{-0},{-0},{-1},{-0}};
      int16_t l_2857 = 0xAA2CL;
      uint16_t l_2870[7][5] = {{0xA0E2L,0x32EAL,0x32EAL,0xA0E2L,1UL},{65530UL,9UL,65530UL,0x71A7L,65530UL},{0xA0E2L,0xA0E2L,65535UL,0x32EAL,1UL},{0UL,0x71A7L,0xBA98L,0x71A7L,0UL},{1UL,0x32EAL,65535UL,0xA0E2L,0xA0E2L},{65530UL,0x71A7L,65530UL,9UL,65530UL},{1UL,0xA0E2L,0x32EAL,0x32EAL,0xA0E2L}};
      uint32_t l_2872 = 0xD1BF801CL;
      int64_t **l_2880 = &g_1441[0][0];
      uint64_t l_2944 = 0xD4A8BB295884CF6ALL;
      int8_t l_2950 = 0x5BL;
      uint64_t ***l_3003 = &g_636[5];
      uint64_t ****l_3002 = &l_3003;
      uint8_t l_3042 = 0xE0L;
      int i, j, k;
      for (i = 0; i < 1; i++)
          l_49[i] = (-6L);
      for (i = 0; i < 1; i++)
          l_2729[i] = 0x24150625L;
      l_2553 ^= (l_2 > (safe_rshift_func_uint16_t_u_u(func_5((safe_div_func_uint16_t_u_u(g_13, (safe_div_func_int16_t_s_s((((safe_rshift_func_uint8_t_u_s(((safe_add_func_uint64_t_u_u((func_20((g_13 ^ (func_22(func_26((safe_rshift_func_uint16_t_u_s(0x4383L, func_32(l_2, l_2, (g_603 = (((safe_sub_func_int16_t_s_s(l_2, func_40((((((*l_50) = ((safe_add_func_int8_t_s_s(l_2, (l_49[0] ^= g_13))) , l_2)) == g_48) > g_13) , g_48), g_52[1][0][1], l_2, l_2))) <= l_2) > g_13)), g_13, g_13))), g_13, g_13), g_13, g_13) != l_709[0][6][1]))) | 2UL), l_2527)) & l_2528), g_13)) ^ 0xE071F0A7L) ^ l_2529[3][0]), l_2530)))), l_2531, g_1722, l_2532, (*g_1271)), g_2469)));
      if ((((void*)0 == l_2554) < (safe_lshift_func_uint8_t_u_u((safe_div_func_int32_t_s_s(l_2560, (safe_mul_func_int16_t_s_s(((**l_2555) | (safe_mod_func_uint32_t_u_u((*g_509), (((*g_1547) > (**l_2555)) | ((((((((((l_2577 |= ((*l_2575) = ((safe_lshift_func_uint8_t_u_u(((safe_mod_func_uint32_t_u_u(g_2569, (safe_add_func_int8_t_s_s((l_2572 != l_2572), (*g_619))))) , (*g_867)), l_2573)) && g_2574))) , (*g_619)) & (*g_619)) < (***l_2554)) , 0UL) && 4294967295UL) != (***l_2554)) < (***l_2554)) | (*g_413)) || 0x5ACA1350D34D50E0LL))))), 3L)))), 5))))
      { /* block id: 1156 */
          int64_t l_2579 = 0x2FF101EEB21D7B83LL;
          int32_t l_2581 = 0xF1EE8281L;
          int32_t l_2584 = 0x318CDFC0L;
          int32_t l_2585 = (-5L);
          int32_t l_2589 = 0xAFF257D1L;
          int32_t l_2591 = 0x86E709D8L;
          int32_t l_2593 = (-9L);
          struct S0 ****l_2600 = &g_2067[4][0];
          uint8_t ***l_2608 = &g_866;
          uint8_t ****l_2607 = &l_2608;
          uint32_t **l_2610 = &g_509;
          uint32_t ***l_2611 = &g_508[4][8];
          uint32_t ***l_2612[9] = {&l_2610,&l_2610,&l_2610,&l_2610,&l_2610,&l_2610,&l_2610,&l_2610,&l_2610};
          uint16_t l_2664 = 9UL;
          int64_t l_2692 = 1L;
          int32_t l_2726 = 0x71D9EB03L;
          int64_t l_2733 = 0L;
          uint32_t l_2796[10] = {18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL};
          uint32_t l_2815 = 18446744073709551608UL;
          int32_t *l_2819[1];
          int i;
          for (i = 0; i < 1; i++)
              l_2819[i] = &g_98[3];
          for (g_769 = 6; (g_769 >= 2); g_769 -= 1)
          { /* block id: 1159 */
              int16_t l_2578 = 0L;
              int32_t l_2582 = 0L;
              int32_t l_2583 = (-1L);
              int32_t l_2586 = 0x511A2537L;
              int64_t l_2588 = (-5L);
              int32_t l_2590 = 1L;
              int32_t l_2592 = 0xF5EA79CFL;
              ++l_2595;
              for (g_270 = 2; (g_270 >= 0); g_270 -= 1)
              { /* block id: 1163 */
                  return (**g_2314);
              }
          }
      }
      else
      { /* block id: 1273 */
          int32_t l_2822 = (-1L);
          uint8_t *l_2827 = &l_2595;
          int16_t ****l_2832 = (void*)0;
          int16_t ***l_2834 = &g_722;
          int16_t ****l_2833 = &l_2834;
          uint32_t **l_2837 = (void*)0;
          uint32_t ***l_2838 = &g_508[4][8];
          (**l_2555) = (safe_mul_func_int16_t_s_s(((*g_619) | (l_2822 & (safe_rshift_func_uint16_t_u_s(((***g_865) > (((safe_lshift_func_uint8_t_u_s((++(*l_2827)), (g_905 ^= (3UL < ((**l_2697) = (safe_sub_func_int16_t_s_s(((***l_2554) , (((((*l_2833) = &g_722) != &g_1337[2]) <= ((**g_2740) == (safe_mod_func_uint32_t_u_u(((l_2837 = l_2837) != l_2613), (***l_2554))))) && l_2822)), l_2822))))))) , 4294967295UL) , l_2822)), 1)))), 0L));
          (***l_2554) = 0x6C13CF5BL;
      }
      if (((**l_2555) = (***l_2554)))
      { /* block id: 1283 */
          uint32_t l_2839[7][7] = {{8UL,0xA42F400EL,0x4426FAC4L,1UL,1UL,0x4426FAC4L,0xA42F400EL},{1UL,8UL,0x7393DD3BL,1UL,0UL,0x24F236F3L,0x24F236F3L},{0x7393DD3BL,8UL,1UL,8UL,0x7393DD3BL,1UL,0UL},{0x4426FAC4L,0xA42F400EL,8UL,1UL,0x37D4BEFCL,1UL,8UL},{0UL,0UL,1UL,1UL,0xA42F400EL,0x24F236F3L,0x4426FAC4L},{0x4426FAC4L,1UL,1UL,1UL,1UL,0x4426FAC4L,0x37D4BEFCL},{0x7393DD3BL,1UL,8UL,0x37D4BEFCL,0xA42F400EL,0xA42F400EL,0x37D4BEFCL}};
          uint8_t l_2842 = 0x39L;
          struct S0 ****l_2849[6];
          uint8_t l_2858 = 1UL;
          int64_t ***l_2862 = &g_1574;
          int64_t ****l_2861 = &l_2862;
          int8_t ***l_2878 = (void*)0;
          int32_t l_2893 = 0x3D5D829FL;
          int32_t l_2895 = (-1L);
          const int32_t *l_2940 = (void*)0;
          const int32_t **l_2939 = &l_2940;
          uint32_t l_2964 = 2UL;
          uint8_t l_2966[3][7] = {{0UL,0UL,0UL,0UL,0UL,0UL,0UL},{255UL,255UL,255UL,255UL,255UL,255UL,255UL},{0UL,0UL,0UL,0UL,0UL,0UL,0UL}};
          uint64_t l_2974 = 0x289D53DA648CB4DALL;
          int8_t l_2985 = 6L;
          int i, j;
          for (i = 0; i < 6; i++)
              l_2849[i] = &g_2067[6][2];
          for (g_90 = 2; (g_90 <= 7); g_90 += 1)
          { /* block id: 1286 */
              int16_t l_2845 = 1L;
              int16_t l_2865 = 0x6CA9L;
              struct S0 ***l_2867 = (void*)0;
              struct S0 ***l_2868 = &g_1977;
              int64_t ****l_2869 = &l_2862;
              int32_t *l_2873 = &g_121;
              uint8_t l_2885 = 0x8DL;
              int32_t l_2889 = 0xCC87D8D8L;
              int32_t l_2890 = 0xCDD150EDL;
              int32_t l_2894[10][7][2] = {{{(-1L),0xF577AE64L},{(-1L),(-1L)},{1L,(-1L)},{(-1L),0xF577AE64L},{(-1L),0x2F759E3DL},{1L,(-1L)},{0x2F759E3DL,0xF577AE64L}},{{0x2F759E3DL,(-1L)},{1L,0x2F759E3DL},{(-1L),0xF577AE64L},{(-1L),(-1L)},{1L,(-1L)},{(-1L),0xF577AE64L},{(-1L),0x2F759E3DL}},{{1L,(-1L)},{0x2F759E3DL,0xF577AE64L},{0x2F759E3DL,(-1L)},{1L,0x2F759E3DL},{(-1L),0xF577AE64L},{(-1L),(-1L)},{1L,(-1L)}},{{(-1L),0xF577AE64L},{(-1L),0x2F759E3DL},{1L,(-1L)},{0x2F759E3DL,0xF577AE64L},{0x2F759E3DL,(-1L)},{1L,0x2F759E3DL},{(-1L),0xF577AE64L}},{{(-1L),(-1L)},{1L,(-1L)},{(-1L),0xF577AE64L},{(-1L),0x2F759E3DL},{1L,(-1L)},{0x2F759E3DL,0xF577AE64L},{0x2F759E3DL,0xF577AE64L}},{{1L,1L},{0xF577AE64L,1L},{1L,1L},{1L,1L},{1L,1L},{0xF577AE64L,1L},{1L,0xF577AE64L}},{{1L,1L},{1L,0xF577AE64L},{1L,1L},{0xF577AE64L,1L},{1L,1L},{1L,1L},{1L,1L}},{{0xF577AE64L,1L},{1L,0xF577AE64L},{1L,1L},{1L,0xF577AE64L},{1L,1L},{0xF577AE64L,1L},{1L,1L}},{{1L,1L},{1L,1L},{0xF577AE64L,1L},{1L,0xF577AE64L},{1L,1L},{1L,0xF577AE64L},{1L,1L}},{{0xF577AE64L,1L},{1L,1L},{1L,1L},{1L,1L},{0xF577AE64L,1L},{1L,0xF577AE64L},{1L,1L}}};
              int16_t l_2924 = 1L;
              uint64_t l_2998 = 0xBFA7145902F6B390LL;
              int i, j, k;
          }
          (***l_2554) = l_3042;
      }
      else
      { /* block id: 1389 */
          return (**g_2314);
      }
      return (**g_2314);
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_121 g_1312
   * writes: g_121
   */
  static uint16_t  func_5(int32_t  p_6, uint32_t  p_7, uint16_t  p_8, uint32_t  p_9, int32_t  p_10)
  { /* block id: 1144 */
      int32_t *l_2535 = &g_105;
      int32_t l_2536 = 0xB34DDAC9L;
      int32_t *l_2537 = &l_2536;
      int32_t *l_2538 = &l_2536;
      int32_t *l_2539 = (void*)0;
      int32_t l_2540 = 0x1FC31C30L;
      int32_t *l_2541 = &g_98[0];
      int32_t *l_2542 = &l_2540;
      int32_t *l_2543 = (void*)0;
      int32_t l_2544[4][3] = {{(-1L),(-1L),(-1L)},{(-2L),(-2L),(-2L)},{(-1L),(-1L),(-1L)},{(-2L),(-2L),(-2L)}};
      int32_t *l_2545 = &g_98[3];
      int32_t *l_2546 = &g_105;
      int32_t *l_2547 = &g_105;
      int32_t *l_2548[6];
      uint8_t l_2549 = 0x65L;
      struct S0 l_2552 = {1};
      int i, j;
      for (i = 0; i < 6; i++)
          l_2548[i] = &l_2544[2][0];
      for (g_121 = 0; (g_121 >= (-18)); g_121 = safe_sub_func_uint32_t_u_u(g_121, 2))
      { /* block id: 1147 */
          return p_6;
      }
      --l_2549;
      l_2552 = l_2552;
      return g_1312[4];
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_715 g_717 g_720 g_721 g_73 g_98 g_105 g_639 g_636 g_13 g_194 g_509 g_52.f0 g_743
   * writes: g_105 g_172 g_273 g_115 g_270 g_722 g_603 g_98 g_146
   */
  static int16_t  func_20(int16_t  p_21)
  { /* block id: 300 */
      int32_t *l_714 = &g_105;
      struct S0 l_716 = {0};
      uint16_t *l_755 = &g_287;
      int32_t **l_759 = (void*)0;
      uint32_t **l_820 = &g_509;
      uint64_t **l_824[7][9][4] = {{{(void*)0,&g_413,&g_413,&g_413},{(void*)0,&g_413,(void*)0,&g_413},{&g_413,&g_413,&g_413,&g_413},{&g_413,&g_413,&g_413,&g_413},{&g_413,&g_413,&g_413,&g_413},{&g_413,(void*)0,&g_413,&g_413},{&g_413,(void*)0,(void*)0,&g_413},{(void*)0,&g_413,&g_413,&g_413},{(void*)0,&g_413,(void*)0,&g_413}},{{&g_413,&g_413,&g_413,&g_413},{&g_413,&g_413,&g_413,&g_413},{&g_413,&g_413,&g_413,&g_413},{&g_413,(void*)0,&g_413,&g_413},{&g_413,(void*)0,(void*)0,&g_413},{(void*)0,&g_413,&g_413,&g_413},{(void*)0,&g_413,(void*)0,&g_413},{&g_413,&g_413,&g_413,&g_413},{&g_413,&g_413,&g_413,&g_413}},{{&g_413,&g_413,&g_413,&g_413},{&g_413,(void*)0,&g_413,&g_413},{&g_413,(void*)0,(void*)0,&g_413},{(void*)0,&g_413,&g_413,&g_413},{(void*)0,&g_413,(void*)0,&g_413},{&g_413,&g_413,&g_413,&g_413},{&g_413,&g_413,&g_413,&g_413},{&g_413,&g_413,&g_413,&g_413},{&g_413,(void*)0,&g_413,&g_413}},{{(void*)0,&g_413,&g_413,(void*)0},{&g_413,(void*)0,(void*)0,&g_413},{&g_413,(void*)0,&g_413,&g_413},{(void*)0,&g_413,&g_413,&g_413},{(void*)0,(void*)0,&g_413,&g_413},{&g_413,(void*)0,&g_413,(void*)0},{(void*)0,&g_413,&g_413,&g_413},{(void*)0,&g_413,&g_413,(void*)0},{&g_413,(void*)0,(void*)0,&g_413}},{{&g_413,(void*)0,&g_413,&g_413},{(void*)0,&g_413,&g_413,&g_413},{(void*)0,(void*)0,&g_413,&g_413},{&g_413,(void*)0,&g_413,(void*)0},{(void*)0,&g_413,&g_413,&g_413},{(void*)0,&g_413,&g_413,(void*)0},{&g_413,(void*)0,(void*)0,&g_413},{&g_413,(void*)0,&g_413,&g_413},{(void*)0,&g_413,&g_413,&g_413}},{{(void*)0,(void*)0,&g_413,&g_413},{&g_413,(void*)0,&g_413,(void*)0},{(void*)0,&g_413,&g_413,&g_413},{(void*)0,&g_413,&g_413,(void*)0},{&g_413,(void*)0,(void*)0,&g_413},{&g_413,(void*)0,&g_413,&g_413},{(void*)0,&g_413,&g_413,&g_413},{(void*)0,(void*)0,&g_413,&g_413},{&g_413,(void*)0,&g_413,(void*)0}},{{(void*)0,&g_413,&g_413,&g_413},{(void*)0,&g_413,&g_413,(void*)0},{&g_413,(void*)0,(void*)0,&g_413},{&g_413,(void*)0,&g_413,&g_413},{(void*)0,&g_413,&g_413,&g_413},{(void*)0,(void*)0,&g_413,&g_413},{&g_413,(void*)0,&g_413,(void*)0},{(void*)0,&g_413,&g_413,&g_413},{(void*)0,&g_413,&g_413,(void*)0}}};
      uint8_t ** const l_862 = (void*)0;
      uint8_t ***l_894 = &g_866;
      uint8_t ****l_893[5];
      uint32_t l_904 = 1UL;
      uint64_t l_1054 = 0UL;
      int64_t *l_1055 = &g_270;
      int32_t l_1157 = 0x0877DC78L;
      int32_t l_1158 = 0x4BF14C5CL;
      uint32_t l_1159 = 0xF8A2470DL;
      int64_t *l_1173 = &g_270;
      int32_t **l_1194[6] = {&g_910,&g_910,&g_910,&g_910,&g_910,&g_910};
      int32_t *l_1195 = &g_105;
      int32_t *l_1196[2][10][9] = {{{&g_98[3],&g_98[3],(void*)0,&g_121,(void*)0,&l_1158,&l_1158,(void*)0,&g_121},{&g_105,(void*)0,&g_105,&g_105,(void*)0,(void*)0,&g_121,&g_98[3],&l_1157},{(void*)0,&g_98[3],&g_98[3],&g_98[3],(void*)0,&g_121,(void*)0,&l_1158,&l_1158},{&g_121,&g_98[0],&l_1157,&g_105,&l_1157,&g_98[0],&g_121,&l_1158,(void*)0},{&l_1158,&l_1157,&g_98[3],&g_121,(void*)0,(void*)0,&l_1158,(void*)0,&g_98[3]},{&g_121,&g_98[0],&g_105,&g_98[3],&l_1157,&g_98[3],&l_1157,&g_98[3],&g_105},{&l_1158,&l_1158,(void*)0,&g_121,(void*)0,&g_98[3],&g_98[3],&g_98[3],(void*)0},{&g_121,&g_105,&l_1157,&l_1158,&g_98[3],(void*)0,&g_121,&g_98[2],&g_121},{&g_98[3],(void*)0,(void*)0,(void*)0,(void*)0,&g_98[3],&l_1157,&l_1158,&l_1158},{&g_105,(void*)0,&g_105,&l_1157,&g_98[3],&g_98[2],&l_1157,(void*)0,&g_98[3]}},{{&l_1158,(void*)0,&l_1158,&l_1157,(void*)0,(void*)0,&l_1157,&l_1158,(void*)0},{&g_98[3],(void*)0,&g_121,&g_98[0],&l_1157,&g_105,&g_121,&g_105,&g_98[3]},{&g_121,(void*)0,&g_121,&g_98[3],&l_1157,&l_1158,&g_98[3],&g_98[3],&l_1158},{&g_121,(void*)0,&g_98[3],(void*)0,&g_121,&g_98[0],&l_1157,&g_105,&g_121},{&l_1158,(void*)0,&l_1158,&g_98[3],&l_1158,(void*)0,&l_1158,&l_1157,(void*)0},{&g_105,(void*)0,&g_105,&g_98[0],(void*)0,&g_98[0],&g_105,(void*)0,&g_105},{(void*)0,(void*)0,&g_98[3],&l_1157,&l_1158,&l_1158,&l_1158,&l_1157,&g_98[3]},{&l_1157,&g_105,&g_121,&l_1157,&l_1157,&g_105,&g_105,&g_105,&l_1157},{(void*)0,&l_1158,&l_1158,(void*)0,&g_121,(void*)0,&g_98[3],&g_98[3],&g_98[3]},{&g_105,&g_98[0],&g_121,&l_1158,&g_98[3],&g_98[2],(void*)0,&g_105,&g_121}}};
      int32_t *l_1197[7] = {&g_98[3],&g_98[3],(void*)0,&g_98[3],&g_98[3],(void*)0,&g_98[3]};
      int32_t l_1233 = 0x870CD520L;
      int32_t l_1257[2][2];
      uint16_t l_1262[3];
      struct S0 *l_1268[3][9];
      const int16_t *l_1344 = &g_921;
      const int16_t **l_1343 = &l_1344;
      const int16_t ***l_1342 = &l_1343;
      uint32_t l_1373 = 0UL;
      int32_t l_1401 = 0x904B7FF9L;
      int32_t *l_1406 = &l_1233;
      uint32_t l_1429 = 18446744073709551615UL;
      uint64_t * const *l_1479 = &g_413;
      uint32_t l_1490[6][8] = {{0UL,4294967295UL,0xF8C9229AL,0UL,0x1BC5A1D3L,0x1BC5A1D3L,0UL,0xF8C9229AL},{4294967290UL,4294967290UL,0xA163E583L,0xAB29DF1EL,0UL,0xA163E583L,0UL,0xAB29DF1EL},{0xF8C9229AL,0xAB29DF1EL,0xF8C9229AL,0x1BC5A1D3L,0xAB29DF1EL,4294967295UL,4294967295UL,0xAB29DF1EL},{0xAB29DF1EL,4294967295UL,4294967295UL,0xAB29DF1EL,0x1BC5A1D3L,0xF8C9229AL,0xAB29DF1EL,0xF8C9229AL},{0xAB29DF1EL,0UL,0xA163E583L,0UL,0xAB29DF1EL,0xA163E583L,4294967290UL,4294967290UL},{0xF8C9229AL,0UL,0x1BC5A1D3L,0x1BC5A1D3L,0x1BC5A1D3L,0x9FD4C440L,0xA163E583L,0x1BC5A1D3L}};
      int16_t l_1491 = (-1L);
      int16_t l_1494[5];
      uint32_t ***l_1509 = &g_508[4][8];
      uint32_t l_1593 = 0x8FD95630L;
      uint16_t l_1620 = 5UL;
      uint32_t *l_1696 = &l_904;
      uint32_t **l_1695[4] = {(void*)0,(void*)0,(void*)0,(void*)0};
      uint64_t l_1720 = 0x3FA81AE7E24C21E4LL;
      int32_t l_1750 = 0x7F07E0D5L;
      uint32_t **l_1792 = &l_1696;
      uint32_t l_1800 = 1UL;
      int32_t l_1867[3][5][6] = {{{0xA351DCC0L,(-6L),0xDD4B4C0FL,0x1A0D895BL,0xDD4B4C0FL,(-6L)},{0xDD4B4C0FL,(-8L),4L,1L,0x264F1DB0L,(-2L)},{0xDD4B4C0FL,0x2A40DDC7L,0x264F1DB0L,0x1A0D895BL,1L,0x1A0D895BL},{0xA351DCC0L,0x2A40DDC7L,0xA351DCC0L,(-2L),0x264F1DB0L,1L},{0L,(-8L),0xA351DCC0L,(-6L),0xDD4B4C0FL,0x1A0D895BL}},{{0L,(-6L),0x264F1DB0L,(-6L),0L,(-2L)},{0L,0x1A0D895BL,4L,(-2L),0L,(-6L)},{0xA351DCC0L,(-6L),0xDD4B4C0FL,0x1A0D895BL,0xDD4B4C0FL,(-6L)},{0xDD4B4C0FL,(-8L),4L,1L,0x264F1DB0L,(-2L)},{0xDD4B4C0FL,0x2A40DDC7L,0x264F1DB0L,0x1A0D895BL,1L,0x1A0D895BL}},{{0xA351DCC0L,0x2A40DDC7L,0xA351DCC0L,(-2L),0x264F1DB0L,1L},{0L,(-8L),0xA351DCC0L,(-6L),0xDD4B4C0FL,0x1A0D895BL},{0L,(-6L),0x264F1DB0L,(-6L),0L,(-2L)},{0L,0x1A0D895BL,4L,(-2L),0L,(-6L)},{0xA351DCC0L,(-6L),0xDD4B4C0FL,0x1A0D895BL,0xDD4B4C0FL,(-6L)}}};
      uint32_t l_1874 = 1UL;
      int64_t l_2119 = (-9L);
      uint64_t l_2176[4][5];
      int64_t ***l_2325 = &g_1574;
      int64_t *** const *l_2324 = &l_2325;
      uint32_t l_2380 = 0x22E228DFL;
      uint8_t l_2440 = 0x2FL;
      int16_t l_2474 = 9L;
      uint16_t l_2480[8][5] = {{65531UL,0x83FFL,0x3CD4L,0x7ED2L,0UL},{0x5D3EL,0x3CD4L,65535UL,0x3CD4L,0x5D3EL},{0x3BF0L,0x83FFL,1UL,0x5D3EL,65535UL},{0x3BF0L,65535UL,0UL,0xBB2FL,0xBB2FL},{0x5D3EL,1UL,0x5D3EL,0x83FFL,65535UL},{65531UL,0xBB2FL,65535UL,0x83FFL,0x5D3EL},{65535UL,0UL,0xBB2FL,0xBB2FL,0UL},{0UL,65531UL,65535UL,0x5D3EL,1UL}};
      struct S0 l_2525 = {-0};
      int8_t l_2526 = 1L;
      int i, j, k;
      for (i = 0; i < 5; i++)
          l_893[i] = &l_894;
      for (i = 0; i < 2; i++)
      {
          for (j = 0; j < 2; j++)
              l_1257[i][j] = 0L;
      }
      for (i = 0; i < 3; i++)
          l_1262[i] = 0x5B39L;
      for (i = 0; i < 3; i++)
      {
          for (j = 0; j < 9; j++)
              l_1268[i][j] = &g_52[1][0][1];
      }
      for (i = 0; i < 5; i++)
          l_1494[i] = 0L;
      for (i = 0; i < 4; i++)
      {
          for (j = 0; j < 5; j++)
              l_2176[i][j] = 18446744073709551607UL;
      }
      for (g_105 = 0; (g_105 <= (-22)); --g_105)
      { /* block id: 303 */
          const int32_t *l_726[10][3] = {{&g_98[3],&g_98[3],&g_121},{(void*)0,(void*)0,(void*)0},{&g_98[3],&g_98[3],&g_121},{(void*)0,(void*)0,(void*)0},{&g_98[3],&g_98[3],&g_121},{(void*)0,(void*)0,(void*)0},{&g_98[3],&g_98[3],&g_121},{(void*)0,(void*)0,(void*)0},{&g_98[3],&g_98[3],&g_121},{(void*)0,(void*)0,(void*)0}};
          int i, j;
          for (g_172 = (-4); (g_172 > 10); g_172++)
          { /* block id: 306 */
              int8_t l_739 = 0xBAL;
              struct S0 l_742 = {0};
              (*g_715) = l_714;
              (*g_717) = l_716;
              for (g_270 = 0; (g_270 <= (-22)); g_270 = safe_sub_func_int64_t_s_s(g_270, 8))
              { /* block id: 311 */
                  int32_t *l_725 = &g_98[3];
                  (*g_721) = g_720;
                  for (g_603 = 7; (g_603 >= 0); g_603 -= 1)
                  { /* block id: 315 */
                      struct S0 *l_723 = (void*)0;
                      struct S0 **l_724 = &l_723;
                      (*l_724) = l_723;
                      return g_73[8][3][0];
                  }
                  (*l_725) |= p_21;
                  if (((void*)0 == l_726[0][1]))
                  { /* block id: 320 */
                      l_742 = func_108(((*g_509) = ((((((safe_sub_func_uint8_t_u_u(((safe_mod_func_uint32_t_u_u((safe_mod_func_uint64_t_u_u(((safe_rshift_func_uint16_t_u_s(((safe_sub_func_int32_t_s_s((safe_rshift_func_uint8_t_u_u((0x5762L && l_739), 3)), 0x8882E48BL)) || (4294967292UL == (-8L))), 15)) <= (*l_725)), (((*l_714) , (safe_mul_func_uint8_t_u_u(((*g_639) == (void*)0), p_21))) ^ g_13))), l_739)) >= p_21), g_194)) ^ p_21) != (*l_714)) & (*l_714)) == 0xF8L) != 0x2561L)), g_52[1][0][1].f0, &g_121, p_21);
                  }
                  else
                  { /* block id: 323 */
                      if (p_21)
                          break;
                  }
              }
              (*g_743) = l_714;
          }
          return p_21;
      }
      return l_2526;
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_98 g_121 g_287 g_639 g_90 g_619 g_417
   * writes: g_98 g_121 g_287 g_636 g_172 g_48
   */
  static uint32_t  func_22(int8_t  p_23, uint32_t  p_24, int32_t  p_25)
  { /* block id: 266 */
      uint64_t l_628 = 0x27ABC0BA0F4ADF5DLL;
      int32_t *l_629 = &g_98[3];
      int32_t l_648[8][2][4] = {{{0x85F3DA28L,0L,0x85F3DA28L,0L},{0x85F3DA28L,0L,0x85F3DA28L,0L}},{{0x85F3DA28L,0L,0x85F3DA28L,0L},{0x85F3DA28L,0L,0x85F3DA28L,0L}},{{0x85F3DA28L,0L,0x85F3DA28L,0L},{0x85F3DA28L,0L,0x85F3DA28L,0L}},{{0x85F3DA28L,0L,0x85F3DA28L,0L},{0x85F3DA28L,0L,0x85F3DA28L,0L}},{{0x85F3DA28L,0L,0x85F3DA28L,0L},{0x85F3DA28L,0L,0x85F3DA28L,0L}},{{0x85F3DA28L,0L,0x85F3DA28L,0L},{0x85F3DA28L,0L,0x85F3DA28L,0L}},{{0x85F3DA28L,0L,0x85F3DA28L,0L},{0x85F3DA28L,0L,0x85F3DA28L,0L}},{{0x85F3DA28L,0L,0x85F3DA28L,0L},{0x85F3DA28L,0L,0x85F3DA28L,0L}}};
      uint64_t l_673 = 0x4CCF8D3001A4A2BDLL;
      uint64_t l_706[5][9] = {{0x249399F63CC1E06BLL,0x249399F63CC1E06BLL,0x5877A94B39F35A81LL,0x032D7058281C4298LL,0x5877A94B39F35A81LL,0x249399F63CC1E06BLL,0x249399F63CC1E06BLL,0x5877A94B39F35A81LL,0x032D7058281C4298LL},{0x92B273719B2482D5LL,0UL,0x92B273719B2482D5LL,0x5877A94B39F35A81LL,0x5877A94B39F35A81LL,0x92B273719B2482D5LL,0UL,0x92B273719B2482D5LL,0x5877A94B39F35A81LL},{0x92B273719B2482D5LL,0x5877A94B39F35A81LL,0x5877A94B39F35A81LL,0x92B273719B2482D5LL,0UL,0x92B273719B2482D5LL,0x5877A94B39F35A81LL,0x5877A94B39F35A81LL,0x92B273719B2482D5LL},{0x249399F63CC1E06BLL,0x5877A94B39F35A81LL,0x032D7058281C4298LL,0x5877A94B39F35A81LL,0x249399F63CC1E06BLL,0x249399F63CC1E06BLL,0x5877A94B39F35A81LL,0x032D7058281C4298LL,0x5877A94B39F35A81LL},{0x5877A94B39F35A81LL,0UL,0x032D7058281C4298LL,0x032D7058281C4298LL,0UL,0x5877A94B39F35A81LL,0UL,0x032D7058281C4298LL,0x032D7058281C4298LL}};
      int i, j, k;
      if (((*l_629) &= (l_628 < p_24)))
      { /* block id: 268 */
          int32_t l_649 = 0L;
          int32_t l_650 = 0xEE689ACFL;
          int32_t l_652 = (-3L);
          int32_t l_653[1][8] = {{1L,1L,1L,1L,1L,1L,1L,1L}};
          uint16_t l_657 = 0x095AL;
          uint32_t l_662 = 0x748CA863L;
          int16_t l_672 = 1L;
          int i, j;
          for (g_121 = (-26); (g_121 != 10); g_121 = safe_add_func_uint8_t_u_u(g_121, 9))
          { /* block id: 271 */
              uint64_t **l_634 = &g_413;
              int32_t l_647[7] = {0xD8AC970CL,0xD8AC970CL,7L,0xD8AC970CL,0xD8AC970CL,7L,0xD8AC970CL};
              int i;
              if (((*l_629) = 0xAAE85A88L))
              { /* block id: 273 */
                  int8_t l_644 = 0x6BL;
                  int32_t l_651 = (-9L);
                  int32_t l_654 = 0L;
                  int32_t l_655 = 0L;
                  int32_t l_656 = 0x5235F04FL;
                  int32_t l_660 = 7L;
                  int32_t l_661[7][6] = {{0x655455BCL,3L,0x84BEFF49L,0x15C85349L,0x84BEFF49L,3L},{0x655455BCL,3L,0x84BEFF49L,0x15C85349L,0x84BEFF49L,3L},{0x655455BCL,3L,0x84BEFF49L,0x15C85349L,0x84BEFF49L,3L},{0x655455BCL,3L,0x84BEFF49L,0x15C85349L,0x84BEFF49L,3L},{0x655455BCL,3L,0x84BEFF49L,0x15C85349L,0x84BEFF49L,3L},{0x655455BCL,3L,0x84BEFF49L,0x15C85349L,0x84BEFF49L,3L},{0x655455BCL,3L,0x84BEFF49L,0x15C85349L,0x84BEFF49L,3L}};
                  int32_t *l_665 = &l_653[0][2];
                  int32_t *l_666 = (void*)0;
                  int32_t *l_667 = (void*)0;
                  int32_t *l_668 = &l_655;
                  int32_t *l_669 = (void*)0;
                  int32_t *l_670 = &l_650;
                  int32_t *l_671[7] = {&l_651,&l_656,&l_656,&l_651,&l_656,&l_656,&l_651};
                  int i, j;
                  for (g_287 = 0; (g_287 != 38); ++g_287)
                  { /* block id: 276 */
                      int32_t *l_640 = &g_98[2];
                      int32_t *l_641 = &g_105;
                      int32_t *l_642 = (void*)0;
                      int32_t *l_643 = (void*)0;
                      int32_t *l_645 = &g_105;
                      int32_t *l_646[7] = {(void*)0,&g_105,(void*)0,(void*)0,&g_105,(void*)0,(void*)0};
                      int i;
                      (*g_639) = l_634;
                      l_657--;
                      l_662++;
                  }
                  --l_673;
              }
              else
              { /* block id: 282 */
                  int8_t l_695 = (-1L);
                  const int32_t l_696 = 0xF1752D07L;
                  (*l_629) ^= ((((void*)0 == &p_24) || (((((safe_lshift_func_uint16_t_u_s(p_24, ((((safe_lshift_func_int16_t_s_u((((safe_rshift_func_uint8_t_u_u((safe_mod_func_int32_t_s_s(((safe_add_func_int32_t_s_s((safe_mul_func_uint16_t_u_u((g_90 > p_24), ((!((safe_add_func_uint16_t_u_u((l_695 |= (safe_mul_func_int16_t_s_s((safe_add_func_int8_t_s_s(((*g_619) = p_24), p_25)), g_417))), (p_24 > (-1L)))) ^ 0x17006E9A64FB97BALL)) , 1L))), p_24)) , l_647[2]), 4294967295UL)), 3)) <= p_25) >= 0x49L), 6)) , 0xCE96CF96L) , l_653[0][0]) <= 0x63CCL))) , p_24) | 0x60L) <= l_696) <= p_24)) == 0L);
                  for (l_672 = (-28); (l_672 < (-4)); ++l_672)
                  { /* block id: 288 */
                      return p_25;
                  }
              }
              (*l_629) ^= 0xBB4FCBB4L;
          }
      }
      else
      { /* block id: 294 */
          int32_t *l_699 = &l_648[2][0][1];
          int32_t *l_700 = &g_105;
          int32_t *l_701 = &l_648[3][0][2];
          int32_t *l_702[6][7][2] = {{{&g_98[0],(void*)0},{&l_648[0][0][3],&l_648[2][0][1]},{&l_648[0][0][3],(void*)0},{&g_98[0],&g_98[3]},{(void*)0,&l_648[2][0][1]},{(void*)0,&g_98[3]},{&g_98[3],&g_98[3]}},{{&g_98[3],&g_98[3]},{&g_98[3],&g_98[3]},{(void*)0,&l_648[2][0][1]},{(void*)0,&g_98[3]},{&g_98[0],(void*)0},{&l_648[0][0][3],&l_648[2][0][1]},{&l_648[0][0][3],(void*)0}},{{&g_98[0],&g_98[3]},{(void*)0,&l_648[2][0][1]},{(void*)0,&g_98[3]},{&g_98[3],(void*)0},{(void*)0,(void*)0},{&g_98[3],&g_98[3]},{&l_648[0][0][3],&g_98[0]}},{{&l_648[2][0][1],&g_98[3]},{(void*)0,&l_648[2][0][1]},{&g_98[3],(void*)0},{&g_98[3],&l_648[2][0][1]},{(void*)0,&g_98[3]},{&l_648[2][0][1],&g_98[0]},{&l_648[0][0][3],&g_98[3]}},{{&g_98[3],(void*)0},{(void*)0,(void*)0},{&g_98[3],&g_98[3]},{&l_648[0][0][3],&g_98[0]},{&l_648[2][0][1],&g_98[3]},{(void*)0,&l_648[2][0][1]},{&g_98[3],(void*)0}},{{&g_98[3],&l_648[2][0][1]},{(void*)0,&g_98[3]},{&l_648[2][0][1],&g_98[0]},{&l_648[0][0][3],&g_98[3]},{&g_98[3],(void*)0},{(void*)0,(void*)0},{&g_98[3],&g_98[3]}}};
          uint64_t l_703[6] = {0x529F8D786A41972BLL,0x529F8D786A41972BLL,0x8266673E9F0AE6BELL,0x529F8D786A41972BLL,0x529F8D786A41972BLL,0x8266673E9F0AE6BELL};
          int i, j, k;
          ++l_703[4];
          --l_706[2][4];
          (*l_629) |= 0L;
      }
      return p_25;
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_619 g_172 g_48
   * writes:
   */
  static int8_t  func_26(const int32_t  p_27, uint32_t  p_28, int64_t  p_29)
  { /* block id: 260 */
      int8_t l_627 = (-1L);
      if (l_627)
      { /* block id: 261 */
          return (*g_619);
      }
      else
      { /* block id: 263 */
          return (*g_619);
      }
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_194 g_413 g_232 g_121
   * writes: g_194 g_273 g_411 g_619
   */
  static const int16_t  func_32(int32_t  p_33, int32_t  p_34, int32_t  p_35, uint8_t  p_36, uint16_t  p_37)
  { /* block id: 249 */
      int32_t l_615 = 0xB3120F5BL;
      int8_t *l_617 = &g_172;
      int32_t l_626 = 5L;
      for (g_194 = 23; (g_194 < (-22)); g_194 = safe_sub_func_int32_t_s_s(g_194, 4))
      { /* block id: 252 */
          int32_t **l_606 = &g_273[0][7][2];
          int32_t *l_608[3][8][3] = {{{&g_105,&g_98[3],&g_98[3]},{&g_121,&g_98[2],&g_105},{&g_98[0],&g_105,&g_98[3]},{&g_98[3],&g_98[3],(void*)0},{(void*)0,&g_105,&g_105},{&g_98[3],&g_98[2],&g_121},{(void*)0,&g_98[3],&g_98[3]},{&g_98[3],&g_98[3],&g_121}},{{&g_98[0],&g_98[0],&g_105},{&g_121,&g_98[3],(void*)0},{&g_105,&g_98[3],&g_98[3]},{&g_121,&g_98[2],&g_105},{&g_98[0],&g_105,&g_98[3]},{&g_98[3],&g_98[3],(void*)0},{(void*)0,&g_105,&g_105},{&g_98[3],&g_98[2],&g_121}},{{(void*)0,&g_98[3],&g_98[3]},{&g_98[3],&g_98[3],&g_121},{&g_98[0],&g_98[0],&g_105},{&g_121,&g_98[3],(void*)0},{&g_105,&g_98[3],&g_98[3]},{&g_121,&g_98[2],&g_105},{&g_98[0],&g_105,&g_98[3]},{&g_98[3],&g_98[3],(void*)0}}};
          int32_t **l_607 = &l_608[0][4][2];
          int16_t *l_616 = &g_411;
          int8_t **l_618[9][3] = {{(void*)0,(void*)0,(void*)0},{(void*)0,&l_617,&l_617},{(void*)0,&l_617,(void*)0},{&l_617,(void*)0,&l_617},{&l_617,&l_617,(void*)0},{(void*)0,(void*)0,(void*)0},{(void*)0,&l_617,&l_617},{(void*)0,&l_617,(void*)0},{&l_617,(void*)0,&l_617}};
          int i, j, k;
          (*l_607) = ((*l_606) = &p_35);
          l_626 &= ((safe_mul_func_int16_t_s_s(((*l_616) = (safe_mul_func_int16_t_s_s((safe_lshift_func_int16_t_s_u((8UL < ((*g_413) , p_34)), 15)), l_615))), (((*g_413) , (g_619 = l_617)) == &g_172))) & ((((safe_sub_func_int16_t_s_s((safe_mul_func_uint16_t_u_u((18446744073709551611UL | (safe_mod_func_int32_t_s_s(p_37, p_35))), 0x6891L)), g_121)) == p_35) >= 0x72L) != 0xBD7B8AADL));
      }
      return p_37;
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_52 g_73 g_13 g_91 g_90 g_105 g_115 g_98 g_51 g_146 g_145 g_232 g_172 g_270 g_272 g_204 g_287 g_194 g_121 g_358 g_48 g_413 g_415 g_422 g_416 g_417 g_509 g_538 g_273
   * writes: g_52 g_73 g_48 g_90 g_98 g_105 g_115 g_121 g_91 g_129 g_146 g_172 g_194 g_204 g_219 g_232 g_51 g_270 g_287 g_273 g_411 g_413 g_420 g_508 g_538
   */
  static int16_t  func_40(int32_t  p_41, struct S0  p_42, uint32_t  p_43, uint32_t  p_44)
  { /* block id: 3 */
      struct S0 l_60[7][7] = {{{-0},{1},{-1},{0},{1},{0},{1}},{{-0},{0},{1},{1},{0},{-0},{-1}},{{-0},{-0},{1},{1},{0},{-0},{-0}},{{-0},{1},{-0},{1},{1},{1},{0}},{{1},{-0},{0},{1},{1},{0},{-0}},{{-0},{1},{1},{-0},{0},{0},{-0}},{{0},{1},{0},{1},{0},{1},{1}}};
      int8_t * const l_69[8][10] = {{&g_48,&g_48,&g_48,&g_48,&g_48,&g_48,&g_48,&g_48,&g_48,&g_48},{(void*)0,&g_48,&g_48,(void*)0,&g_48,&g_48,&g_48,&g_48,&g_48,&g_48},{&g_48,&g_48,&g_48,&g_48,&g_48,&g_48,&g_48,&g_48,(void*)0,&g_48},{(void*)0,&g_48,&g_48,&g_48,&g_48,&g_48,(void*)0,&g_48,(void*)0,&g_48},{&g_48,&g_48,&g_48,&g_48,&g_48,&g_48,(void*)0,&g_48,&g_48,&g_48},{(void*)0,&g_48,&g_48,&g_48,&g_48,&g_48,&g_48,&g_48,&g_48,&g_48},{&g_48,&g_48,&g_48,&g_48,&g_48,&g_48,&g_48,&g_48,&g_48,&g_48},{&g_48,(void*)0,&g_48,&g_48,&g_48,&g_48,&g_48,(void*)0,&g_48,&g_48}};
      uint8_t *l_89 = &g_90;
      int32_t l_296 = (-1L);
      int32_t l_371 = 3L;
      int32_t l_374 = 0x585D67A7L;
      int32_t l_378 = (-1L);
      int32_t l_524 = 9L;
      int32_t l_533[5] = {0x56464818L,0x56464818L,0x56464818L,0x56464818L,0x56464818L};
      int i, j;
      for (p_41 = 0; (p_41 != (-18)); --p_41)
      { /* block id: 6 */
          struct S0 *l_61[6] = {&g_52[1][2][3],&l_60[2][1],&g_52[1][2][3],&g_52[1][2][3],&l_60[2][1],&g_52[1][2][3]};
          struct S0 *l_62[8][2] = {{&g_52[1][0][1],&g_52[1][0][1]},{&g_52[1][0][1],&g_52[1][0][1]},{&g_52[1][0][1],&g_52[1][0][1]},{&g_52[1][0][1],&g_52[1][0][1]},{&g_52[1][0][1],&g_52[1][0][1]},{&g_52[1][0][1],&g_52[1][0][1]},{&g_52[1][0][1],&g_52[1][0][1]},{&g_52[1][0][1],&g_52[1][0][1]}};
          struct S0 *l_63[5][5][9] = {{{&l_60[4][2],(void*)0,&l_60[2][4],(void*)0,&l_60[4][2],&l_60[4][5],&g_52[1][3][6],&g_52[1][3][6],&l_60[4][5]},{&g_52[0][1][7],&g_52[1][0][1],&l_60[4][2],&g_52[1][0][1],&g_52[0][1][7],&g_52[1][0][1],&l_60[4][2],&g_52[1][3][0],&l_60[3][2]},{&l_60[4][2],&g_52[1][0][1],&l_60[4][5],&g_52[1][0][1],&g_52[0][2][0],&g_52[1][0][1],&l_60[2][1],(void*)0,(void*)0},{(void*)0,&g_52[1][0][1],&g_52[1][3][0],&g_52[1][0][1],&l_60[4][2],&g_52[1][0][1],(void*)0,&g_52[1][0][1],&g_52[1][0][1]},{&l_60[2][4],&l_60[3][1],&g_52[1][0][1],&g_52[1][0][1],&g_52[1][0][3],&l_60[4][5],&g_52[1][0][5],(void*)0,&l_60[6][6]}},{{&g_52[0][1][2],&g_52[1][0][1],&g_52[1][0][1],&l_60[4][2],&l_60[6][4],&g_52[1][1][4],&l_60[6][0],&g_52[1][0][1],&g_52[0][2][0]},{&g_52[1][2][7],&g_52[0][2][0],(void*)0,&g_52[1][0][1],&g_52[1][0][1],&l_60[2][1],(void*)0,&l_60[4][5],&l_60[4][2]},{&g_52[1][0][1],&g_52[1][0][5],&l_60[4][2],(void*)0,&g_52[1][0][1],&g_52[1][2][7],&g_52[0][2][1],&g_52[1][0][1],&l_60[4][2]},{&g_52[0][2][1],(void*)0,&g_52[1][0][1],&g_52[1][0][1],&l_60[2][4],&l_60[4][2],&g_52[1][3][6],(void*)0,&l_60[4][2]},{(void*)0,&l_60[4][2],&g_52[1][0][1],(void*)0,(void*)0,&g_52[0][0][7],&g_52[0][0][7],(void*)0,(void*)0}},{{&g_52[0][0][7],&g_52[1][2][7],&g_52[0][0][7],&l_60[6][3],(void*)0,&g_52[1][2][5],&l_60[4][4],&l_60[4][2],&g_52[1][0][1]},{&g_52[0][1][7],&l_60[4][5],(void*)0,(void*)0,&g_52[1][0][1],&g_52[0][1][4],(void*)0,&g_52[1][0][1],&g_52[1][0][1]},{(void*)0,&g_52[1][0][1],&l_60[3][2],&l_60[6][3],&g_52[1][0][1],&g_52[0][1][7],&g_52[1][2][7],&l_60[6][0],&l_60[4][5]},{&g_52[1][2][7],&g_52[1][0][3],&g_52[1][0][1],(void*)0,&l_60[4][2],&g_52[1][3][0],&g_52[1][0][1],&l_60[4][2],&l_60[6][0]},{&g_52[1][0][1],&g_52[1][0][5],&g_52[0][1][7],&g_52[1][0][1],&g_52[1][0][1],&g_52[1][0][1],&l_60[3][2],&g_52[1][0][1],&g_52[1][2][7]}},{{&l_60[4][2],&l_60[6][3],(void*)0,&l_60[4][2],&l_60[1][2],&g_52[0][2][0],&g_52[1][0][1],&g_52[1][3][0],&g_52[0][1][7]},{&l_60[4][2],&g_52[1][0][1],(void*)0,&g_52[1][0][3],&l_60[4][2],&l_60[1][2],&g_52[1][0][1],&l_60[4][2],&g_52[1][0][1]},{&l_60[3][2],&l_60[4][2],&g_52[0][1][7],&l_60[4][2],&g_52[1][0][3],&l_60[4][2],&g_52[1][0][1],(void*)0,&l_60[6][3]},{(void*)0,&l_60[3][2],&g_52[1][0][1],&g_52[0][1][7],(void*)0,(void*)0,&g_52[0][1][7],&g_52[1][0][1],&l_60[3][2]},{&g_52[1][3][6],&g_52[1][0][1],&l_60[3][2],&l_60[4][2],&g_52[1][0][1],&l_60[6][3],&g_52[1][0][5],&g_52[1][0][3],&g_52[1][0][1]}},{{&l_60[4][2],&g_52[1][3][6],(void*)0,&l_60[3][2],&l_60[4][2],&l_60[4][2],&g_52[1][0][1],&g_52[1][2][7],(void*)0},{&l_60[4][2],&g_52[1][0][1],&g_52[0][0][7],&l_60[6][4],&g_52[1][0][1],&l_60[4][2],(void*)0,&g_52[1][0][1],(void*)0},{&l_60[4][2],&l_60[3][2],&g_52[1][0][1],(void*)0,&g_52[1][2][7],&l_60[4][2],&g_52[1][0][1],&l_60[3][1],&g_52[1][0][1]},{&g_52[1][0][1],&l_60[4][2],&g_52[1][0][1],&l_60[4][2],&l_60[4][0],&g_52[1][0][1],(void*)0,&g_52[1][0][5],&g_52[1][1][1]},{&g_52[1][0][3],&g_52[1][0][1],&g_52[1][0][1],&g_52[1][0][1],&g_52[1][1][1],(void*)0,(void*)0,&l_60[4][2],&g_52[1][0][1]}}};
          struct S0 *l_64[8] = {&g_52[0][1][7],&g_52[0][1][7],&g_52[0][1][7],&g_52[0][1][7],&g_52[0][1][7],&g_52[0][1][7],&g_52[0][1][7],&g_52[0][1][7]};
          struct S0 *l_65 = (void*)0;
          struct S0 *l_66 = (void*)0;
          struct S0 *l_67 = (void*)0;
          struct S0 *l_68 = &g_52[1][2][6];
          uint8_t *l_72 = &g_73[8][2][1];
          int32_t l_78 = 0xE11B63BBL;
          int32_t l_292 = 0x14E789EAL;
          int32_t l_293 = 0xD894BFF7L;
          int32_t l_294 = 1L;
          int32_t l_295 = 1L;
          uint32_t *l_315 = &g_146;
          int32_t l_373[1];
          int32_t *l_510 = (void*)0;
          uint16_t l_516 = 0x1E10L;
          uint64_t l_525 = 18446744073709551612UL;
          uint32_t l_534 = 0xFC01F137L;
          uint16_t l_573[1];
          int32_t **l_600 = &g_273[0][7][2];
          int i, j, k;
          for (i = 0; i < 1; i++)
              l_373[i] = 0xAD5C99DAL;
          for (i = 0; i < 1; i++)
              l_573[i] = 0xF3AAL;
          if (func_55(l_60[4][2], ((*l_68) = g_52[1][2][6]), l_69[5][8], ((safe_lshift_func_uint8_t_u_s((++(*l_72)), ((g_13 != ((safe_add_func_uint16_t_u_u(l_78, 0x1335L)) , (safe_div_func_int8_t_s_s(0xA6L, (safe_mul_func_int16_t_s_s(l_78, ((safe_mul_func_int8_t_s_s(func_85(l_78, l_89, g_91), (-1L))) != g_145))))))) == (-1L)))) , p_42)))
          { /* block id: 114 */
              int32_t l_288 = 0x1D12309BL;
              uint64_t *l_326 = &g_232;
              const uint32_t l_327 = 0x422E2595L;
              int32_t l_362[7];
              uint8_t l_407 = 255UL;
              const uint32_t * const *l_418 = (void*)0;
              int16_t l_486 = 0xF30EL;
              int8_t l_496 = 0L;
              uint32_t *l_501 = &g_13;
              uint32_t **l_505[2][5] = {{&l_315,&l_315,&l_315,&l_315,&l_315},{&l_315,&l_315,&l_315,&l_315,&l_315}};
              uint64_t l_541 = 0x6972555EF72E207DLL;
              uint16_t l_591 = 65534UL;
              int i, j;
              for (i = 0; i < 7; i++)
                  l_362[i] = 0x28F16A89L;
              if (p_44)
              { /* block id: 115 */
                  return l_288;
              }
              else
              { /* block id: 117 */
                  int32_t *l_289 = &l_78;
                  int32_t *l_290 = (void*)0;
                  int32_t *l_291[10][2] = {{&l_288,&l_288},{&g_98[3],&l_288},{&l_288,&g_98[3]},{&l_288,&l_288},{&g_98[3],&l_288},{&l_288,&g_98[3]},{&l_288,&l_288},{&g_98[3],&l_288},{&l_288,&g_98[3]},{&g_98[3],&g_98[3]}};
                  uint32_t l_297 = 0x1387CF71L;
                  uint16_t *l_304 = &g_287;
                  uint32_t *l_314 = (void*)0;
                  uint32_t **l_313[5][4][10] = {{{&l_314,(void*)0,&l_314,&l_314,(void*)0,(void*)0,&l_314,&l_314,&l_314,(void*)0},{(void*)0,(void*)0,&l_314,(void*)0,(void*)0,(void*)0,&l_314,&l_314,(void*)0,&l_314},{&l_314,&l_314,&l_314,&l_314,(void*)0,&l_314,&l_314,(void*)0,&l_314,&l_314},{&l_314,&l_314,(void*)0,&l_314,(void*)0,(void*)0,(void*)0,&l_314,&l_314,(void*)0}},{{&l_314,(void*)0,&l_314,&l_314,(void*)0,(void*)0,&l_314,(void*)0,&l_314,&l_314},{(void*)0,&l_314,&l_314,(void*)0,(void*)0,&l_314,&l_314,(void*)0,(void*)0,&l_314},{&l_314,(void*)0,(void*)0,(void*)0,(void*)0,&l_314,&l_314,&l_314,&l_314,(void*)0},{&l_314,(void*)0,(void*)0,&l_314,&l_314,&l_314,(void*)0,(void*)0,&l_314,&l_314}},{{&l_314,(void*)0,(void*)0,&l_314,&l_314,&l_314,&l_314,(void*)0,&l_314,&l_314},{&l_314,&l_314,(void*)0,&l_314,&l_314,&l_314,&l_314,&l_314,&l_314,&l_314},{(void*)0,&l_314,(void*)0,(void*)0,&l_314,(void*)0,&l_314,(void*)0,&l_314,(void*)0},{&l_314,(void*)0,&l_314,&l_314,&l_314,(void*)0,&l_314,&l_314,&l_314,(void*)0}},{{&l_314,&l_314,(void*)0,(void*)0,&l_314,&l_314,(void*)0,(void*)0,&l_314,&l_314},{&l_314,&l_314,&l_314,&l_314,&l_314,(void*)0,&l_314,(void*)0,&l_314,&l_314},{(void*)0,(void*)0,(void*)0,&l_314,&l_314,(void*)0,&l_314,&l_314,(void*)0,&l_314},{&l_314,&l_314,(void*)0,&l_314,(void*)0,&l_314,&l_314,&l_314,&l_314,&l_314}},{{&l_314,&l_314,&l_314,&l_314,&l_314,&l_314,&l_314,&l_314,&l_314,&l_314},{&l_314,(void*)0,&l_314,&l_314,(void*)0,(void*)0,(void*)0,&l_314,&l_314,&l_314},{(void*)0,(void*)0,&l_314,(void*)0,(void*)0,&l_314,&l_314,&l_314,&l_314,&l_314},{&l_314,&l_314,(void*)0,&l_314,(void*)0,(void*)0,(void*)0,(void*)0,&l_314,&l_314}}};
                  uint64_t l_380 = 0x82769F14144C9089LL;
                  const uint8_t * const l_408[8][10][2] = {{{&g_90,(void*)0},{&g_90,&g_90},{&g_219,&g_219},{&g_73[8][2][1],(void*)0},{&g_73[8][2][1],&g_219},{&g_219,&g_90},{&g_90,(void*)0},{&g_90,&g_219},{&g_219,&l_407},{&g_73[8][2][1],(void*)0}},{{&g_90,&g_90},{(void*)0,&g_90},{&g_90,(void*)0},{&g_73[8][2][1],&l_407},{&g_219,&g_219},{&g_90,(void*)0},{&g_90,&g_90},{&g_219,&g_219},{&g_73[8][2][1],(void*)0},{&g_73[8][2][1],&g_219}},{{&g_219,&g_90},{&g_90,(void*)0},{&g_90,&g_219},{&g_219,&l_407},{&g_73[8][2][1],(void*)0},{&g_90,&g_90},{(void*)0,&g_90},{&g_90,(void*)0},{&g_73[8][2][1],&l_407},{&g_219,&g_219}},{{&g_90,(void*)0},{&g_90,&g_90},{&g_219,&g_219},{&g_73[8][2][1],(void*)0},{&g_73[8][2][1],&g_219},{&g_219,&g_90},{&g_90,(void*)0},{&g_90,&g_219},{&g_219,&l_407},{&g_73[8][2][1],(void*)0}},{{&g_90,&g_90},{(void*)0,&g_90},{&g_90,(void*)0},{&g_73[8][2][1],&l_407},{&g_219,&g_219},{&g_90,(void*)0},{&g_90,&g_90},{&g_219,&g_219},{&g_73[8][2][1],(void*)0},{&g_73[8][2][1],&g_219}},{{&g_219,&g_90},{&g_90,(void*)0},{&g_90,&g_219},{&g_219,&l_407},{&g_73[8][2][1],(void*)0},{&g_90,&g_90},{(void*)0,&g_90},{&g_90,(void*)0},{&g_73[8][2][1],&l_407},{&g_219,&g_219}},{{&g_90,(void*)0},{&g_90,&g_90},{&g_219,&g_219},{&g_73[8][2][1],(void*)0},{&g_73[8][2][1],&g_219},{&g_219,&g_90},{&g_90,(void*)0},{&g_90,&g_219},{&g_219,&l_407},{&g_73[8][2][1],(void*)0}},{{&g_90,&g_90},{(void*)0,&g_90},{&g_90,(void*)0},{&g_73[8][2][1],&l_407},{&g_219,&g_219},{&g_90,(void*)0},{&g_90,&g_90},{&g_219,&g_219},{&g_73[8][2][1],(void*)0},{&g_73[8][2][1],&g_219}}};
                  int i, j, k;
                  ++l_297;
                  if (((safe_mul_func_int8_t_s_s((g_172 = 2L), (safe_mul_func_uint16_t_u_u((l_296 = ((*l_304) ^= 0xABAAL)), (safe_add_func_int32_t_s_s(((safe_sub_func_uint16_t_u_u(((safe_lshift_func_uint8_t_u_u((safe_sub_func_int16_t_s_s((-1L), ((((*l_72) = ((((l_315 = l_289) == &g_146) | (safe_mod_func_uint16_t_u_u(0UL, ((safe_rshift_func_int16_t_s_u((g_194 |= 0L), (((g_146++) | (safe_lshift_func_int8_t_s_u(l_60[4][2].f0, 4))) <= (safe_rshift_func_int8_t_s_u((((void*)0 != l_326) > p_41), 1))))) || 0x90L)))) == g_105)) , 1UL) < g_51[0]))), l_327)) | l_60[4][2].f0), 0x3548L)) , 0x9F17EEFCL), g_204)))))) != g_121))
                  { /* block id: 126 */
                      p_42.f0 ^= (+(safe_rshift_func_uint16_t_u_u(g_73[8][2][1], 7)));
                  }
                  else
                  { /* block id: 128 */
                      uint8_t l_333 = 0x62L;
                      int32_t l_364 = 4L;
                      int32_t l_365 = 0L;
                      int8_t l_366 = 9L;
                      int32_t l_368 = 0x5E429296L;
                      int32_t l_369 = (-1L);
                      int32_t l_372 = (-1L);
                      int32_t l_377[9] = {(-8L),0x850474A2L,(-8L),0x850474A2L,(-8L),0x850474A2L,(-8L),0x850474A2L,(-8L)};
                      int i;
                      for (l_295 = 0; (l_295 < 23); l_295 = safe_add_func_int16_t_s_s(l_295, 7))
                      { /* block id: 131 */
                          uint32_t l_345 = 1UL;
                          struct S0 **l_360 = (void*)0;
                          struct S0 *l_361 = (void*)0;
                          int32_t l_363 = 0L;
                          int32_t l_367 = 0L;
                          int32_t l_370 = (-1L);
                          int32_t l_375 = 0x9E96CAA0L;
                          int32_t l_376 = (-2L);
                          int32_t l_379 = 0xAA61934FL;
                          ++l_333;
                          (*g_358) = ((safe_rshift_func_uint16_t_u_s(((safe_lshift_func_int8_t_s_u((g_172 ^= ((((safe_mod_func_int8_t_s_s((((+(--(*l_326))) || ((p_44 | (l_345 && l_333)) , (safe_mul_func_int16_t_s_s((safe_rshift_func_int16_t_s_u(((((((safe_mod_func_int8_t_s_s((p_41 >= p_42.f0), (safe_add_func_int64_t_s_s((((l_333 != (((g_115.f0 , (p_41 , (safe_div_func_uint8_t_u_u(((safe_mul_func_uint16_t_u_u(p_43, p_44)) ^ g_287), g_232)))) , l_295) >= p_44)) , l_333) , p_42.f0), g_121)))) ^ p_43) ^ 0x31B740E68EF656F2LL) , 0x28F168778ADEA07BLL) > g_98[2]) , p_41), 12)), 65535UL)))) , (-7L)), 1UL)) , 0xF1AFBDEDL) ^ p_42.f0) >= p_41)), p_44)) | 0xDD40C54AD161C220LL), p_43)) , &l_288);
                          l_361 = l_61[3];
                          l_380++;
                      }
                  }
                  for (g_194 = (-22); (g_194 <= (-12)); ++g_194)
                  { /* block id: 142 */
                      const struct S0 *l_390[2][9][9] = {{{&g_115,&g_52[1][0][1],&g_52[1][0][1],&g_52[1][0][1],(void*)0,&l_60[4][4],&g_52[1][1][1],&l_60[5][2],&g_115},{&g_52[1][3][2],(void*)0,(void*)0,&l_60[4][4],(void*)0,&g_52[1][0][1],(void*)0,(void*)0,&g_52[0][3][1]},{&g_52[0][0][0],&g_52[1][1][6],&l_60[3][4],&l_60[5][5],&l_60[6][0],&g_115,&l_60[6][0],&l_60[5][5],&l_60[3][4]},{&l_60[4][2],&l_60[4][2],&g_52[0][0][0],&l_60[4][2],(void*)0,&g_52[1][1][1],&g_52[1][0][1],&g_115,(void*)0},{(void*)0,&l_60[6][0],&l_60[4][2],&g_52[0][0][0],&g_52[0][1][0],&l_60[1][6],&g_52[1][0][1],&g_52[1][0][2],&g_115},{&g_52[1][0][2],&l_60[4][4],&g_52[0][0][0],(void*)0,&g_52[1][1][6],&g_52[1][0][2],&g_115,&g_52[1][0][1],(void*)0},{&g_52[1][0][1],(void*)0,&l_60[3][4],&g_52[0][1][0],&l_60[4][2],&g_52[1][0][1],(void*)0,(void*)0,&l_60[4][4]},{&g_115,&g_52[1][3][7],(void*)0,&l_60[5][5],&g_115,(void*)0,(void*)0,(void*)0,(void*)0},{&l_60[4][2],&g_52[1][0][1],&g_115,&l_60[4][2],&g_52[1][0][1],&g_52[1][1][1],&g_52[1][1][1],&g_52[1][0][1],&l_60[4][2]}},{{&g_52[1][3][4],(void*)0,&g_52[1][3][4],&g_115,&g_115,(void*)0,&l_60[3][0],&g_52[1][0][2],&g_115},{(void*)0,(void*)0,&g_52[0][1][0],&g_52[1][0][5],&g_52[1][3][2],&g_52[1][0][1],&g_52[1][0][1],&g_115,&l_60[4][2]},{&g_52[1][0][1],&g_52[0][0][0],(void*)0,&g_115,&g_52[1][3][1],&g_115,(void*)0,&l_60[5][5],(void*)0},{&g_52[0][3][1],&g_115,(void*)0,&l_60[4][2],(void*)0,&l_60[4][4],(void*)0,(void*)0,&l_60[3][4]},{&g_115,&g_52[1][0][1],&g_52[0][3][1],&l_60[5][5],&g_52[1][0][1],&g_52[1][3][1],&l_60[4][2],&g_115,&l_60[3][4]},{&l_60[4][2],&l_60[6][0],(void*)0,&g_52[0][1][0],(void*)0,&l_60[4][2],&l_60[3][0],&l_60[4][2],(void*)0},{(void*)0,&g_52[1][0][1],&g_52[1][0][1],(void*)0,&l_60[4][2],&l_60[1][6],&g_115,&g_52[0][3][1],&l_60[4][2]},{&g_52[1][0][1],&l_60[4][4],(void*)0,&g_52[0][0][0],&g_52[1][0][1],&g_52[1][0][1],&g_115,(void*)0,&g_115},{(void*)0,&g_115,&l_60[3][4],&l_60[4][2],&l_60[4][2],&g_52[0][3][1],&g_115,(void*)0,&l_60[4][2]}}};
                      const struct S0 **l_389 = &l_390[1][5][5];
                      int32_t l_412 = 1L;
                      int i, j, k;
                      for (g_121 = (-21); (g_121 <= 9); g_121 = safe_add_func_uint16_t_u_u(g_121, 7))
                      { /* block id: 145 */
                          uint32_t *l_404 = &l_297;
                          int32_t l_409 = 0xBB41DC97L;
                          int16_t *l_410 = &g_411;
                          l_409 = ((safe_lshift_func_int16_t_s_s(((*l_410) = (l_389 == ((((((~((((safe_mul_func_uint8_t_u_u(((0xD4L > ((safe_sub_func_int8_t_s_s(p_44, l_60[4][2].f0)) != 0xD1102B47CCF562C2LL)) <= (0xE319L & ((safe_rshift_func_int16_t_s_s((safe_add_func_uint32_t_u_u(g_48, (safe_sub_func_uint64_t_u_u((safe_lshift_func_uint8_t_u_s((((*l_404)--) , ((p_42.f0 >= ((*l_289) = p_42.f0)) | 4294967290UL)), p_41)), g_13)))), g_105)) != l_407))), (-6L))) && l_407) >= p_42.f0) | g_98[3])) , g_270) , l_408[4][3][1]) != l_408[4][3][1]) , l_409) , &g_91))), l_412)) , l_412);
                          (*l_289) &= ((g_413 = l_326) != (void*)0);
                      }
                  }
              }
              if ((!(*g_413)))
              { /* block id: 155 */
                  const uint32_t * const **l_419 = &l_418;
                  int32_t *l_421 = &l_378;
                  (*l_421) |= ((g_415 == (g_420 = ((*l_419) = l_418))) > p_44);
                  (*g_422) = &l_373[0];
              }
              else
              { /* block id: 160 */
                  int32_t *l_427[4][1];
                  uint64_t l_461 = 4UL;
                  struct S0 *l_484[9][10][1] = {{{&l_60[4][2]},{&g_52[1][0][1]},{&g_52[1][0][1]},{(void*)0},{&g_52[1][0][1]},{&g_52[1][0][1]},{&l_60[4][2]},{&l_60[5][1]},{&l_60[4][2]},{&g_52[0][0][5]}},{{(void*)0},{&l_60[4][5]},{(void*)0},{&l_60[6][3]},{(void*)0},{&l_60[4][2]},{&l_60[1][2]},{&g_52[1][2][7]},{&l_60[4][2]},{&g_52[1][3][6]}},{{&l_60[4][2]},{&g_52[1][3][6]},{&l_60[4][2]},{&g_52[1][2][7]},{&l_60[1][2]},{&l_60[4][2]},{(void*)0},{&l_60[6][3]},{(void*)0},{&l_60[4][5]}},{{(void*)0},{&g_52[0][0][5]},{&l_60[4][2]},{&l_60[5][1]},{&l_60[4][2]},{&g_52[1][0][1]},{&g_52[1][0][1]},{(void*)0},{&g_52[1][0][1]},{&l_60[4][2]}},{{&l_60[4][2]},{&l_60[6][3]},{&l_60[3][2]},{&g_52[1][3][6]},{(void*)0},{&l_60[1][1]},{&l_60[4][2]},{&l_60[4][0]},{&g_52[1][0][1]},{&g_52[0][2][4]}},{{(void*)0},{&l_60[4][2]},{&g_52[1][0][1]},{(void*)0},{&l_60[1][2]},{(void*)0},{&g_52[1][0][1]},{&l_60[4][2]},{(void*)0},{&g_52[0][2][4]}},{{&g_52[1][0][1]},{&l_60[4][0]},{&l_60[4][2]},{&l_60[1][1]},{(void*)0},{&g_52[1][3][6]},{&l_60[3][2]},{&l_60[6][3]},{&l_60[4][2]},{&l_60[4][2]}},{{&l_60[4][2]},{&l_60[5][1]},{&l_60[4][2]},{&l_60[4][2]},{&l_60[4][2]},{&l_60[6][3]},{&l_60[3][2]},{&g_52[1][3][6]},{(void*)0},{&l_60[1][1]}},{{&l_60[4][2]},{&l_60[4][0]},{&g_52[1][0][1]},{&g_52[0][2][4]},{(void*)0},{&l_60[4][2]},{&g_52[1][0][1]},{(void*)0},{&l_60[1][2]},{(void*)0}}};
                  int16_t *l_491 = &g_411;
                  uint32_t **l_502 = &l_501;
                  uint32_t ***l_506 = (void*)0;
                  uint32_t ***l_507 = (void*)0;
                  uint64_t l_576 = 0x199528DDCD4A417CLL;
                  int i, j, k;
                  for (i = 0; i < 4; i++)
                  {
                      for (j = 0; j < 1; j++)
                          l_427[i][j] = (void*)0;
                  }
                  for (g_90 = 25; (g_90 != 51); g_90++)
                  { /* block id: 163 */
                      int32_t l_460[1];
                      int32_t **l_476 = (void*)0;
                      struct S0 **l_485 = (void*)0;
                      int i;
                      for (i = 0; i < 1; i++)
                          l_460[i] = 0x91386733L;
                      for (l_294 = 1; (l_294 == 17); l_294++)
                      { /* block id: 166 */
                          int32_t **l_429 = &l_427[1][0];
                          uint32_t *l_450 = &g_13;
                          int64_t *l_459[1][2];
                          int i, j;
                          for (i = 0; i < 1; i++)
                          {
                              for (j = 0; j < 2; j++)
                                  l_459[i][j] = &g_270;
                          }
                          (*g_422) = l_427[1][0];
                          (*l_429) = &l_362[2];
                          l_295 = ((((l_292 = (l_371 &= (l_460[0] = (safe_add_func_int32_t_s_s((safe_mul_func_uint16_t_u_u(((safe_sub_func_int64_t_s_s((safe_sub_func_uint32_t_u_u(((safe_add_func_int8_t_s_s(((p_43 && (g_270 &= (+((safe_sub_func_int16_t_s_s(0x4708L, (safe_lshift_func_int8_t_s_u((safe_div_func_int64_t_s_s(((safe_mod_func_uint32_t_u_u((+((l_450 != &p_43) , (((safe_mod_func_int16_t_s_s(p_41, g_73[2][1][1])) , ((safe_mul_func_uint8_t_u_u((safe_mul_func_uint8_t_u_u((safe_lshift_func_uint8_t_u_s(p_42.f0, g_51[1])), (((l_450 != &g_13) && g_51[1]) <= p_43))), 0UL)) && g_105)) > 1L))), 0x43DDE1C2L)) ^ 65535UL), (-4L))), g_105)))) , (*g_413))))) & g_194), l_362[4])) < (-5L)), l_362[1])), (-1L))) , g_121), l_373[0])), 0xCAAC5A3CL))))) , &g_270) == (void*)0) && p_42.f0);
                          l_461--;
                      }
                      for (l_294 = 0; (l_294 <= 1); l_294 += 1)
                      { /* block id: 178 */
                          uint32_t l_464 = 4294967291UL;
                          l_464++;
                      }
                      l_486 = (safe_add_func_uint16_t_u_u(((safe_mul_func_int16_t_s_s((!0x2D3E0194L), ((safe_mul_func_int16_t_s_s(((*g_416) >= (safe_rshift_func_uint8_t_u_s(((&l_427[1][0] == l_476) <= (l_295 <= ((safe_add_func_uint16_t_u_u(0x289FL, (!g_51[1]))) ^ (safe_rshift_func_int16_t_s_u((safe_rshift_func_int16_t_s_s((((l_64[7] = l_484[6][8][0]) != &p_42) | g_121), 14)), g_287))))), p_44))), 0x92E3L)) == (*g_413)))) , 0x1A88L), l_374));
                  }
                  if ((p_42.f0 = ((((safe_lshift_func_uint16_t_u_s((!(!((l_491 = &g_411) != (void*)0))), ((safe_add_func_int64_t_s_s(((safe_mul_func_uint16_t_u_u(l_496, (((g_48 = (safe_rshift_func_int8_t_s_s(0x1BL, 1))) & (safe_mod_func_uint64_t_u_u(((*l_326) |= (((((*l_502) = l_501) != &p_43) ^ p_42.f0) < (safe_div_func_uint16_t_u_u((&l_315 == (g_508[4][8] = l_505[0][4])), 1UL)))), p_43))) <= 255UL))) > p_42.f0), p_42.f0)) , l_288))) | 1L) , g_172) ^ 0xBA2D4EA37ED07069LL)))
                  { /* block id: 190 */
                      int32_t **l_511 = &g_273[0][4][1];
                      if (p_43)
                          break;
                      l_60[4][2] = func_108(l_407, p_44, ((*l_511) = (l_510 = l_427[2][0])), (++(*g_509)));
                      for (g_270 = (-5); (g_270 < 2); ++g_270)
                      { /* block id: 198 */
                          l_516 |= (-1L);
                      }
                  }
                  else
                  { /* block id: 201 */
                      int32_t l_517 = 0xBE573851L;
                      int32_t l_518 = 0x421FF476L;
                      int32_t l_521 = 0xA34D20ECL;
                      int32_t l_522[2];
                      int32_t *l_537 = &l_296;
                      uint64_t *l_570 = &l_525;
                      int i;
                      for (i = 0; i < 2; i++)
                          l_522[i] = 0x546AE9C3L;
                      for (g_232 = 0; (g_232 <= 0); g_232 += 1)
                      { /* block id: 204 */
                          int32_t l_519 = 8L;
                          int32_t l_520 = (-10L);
                          int32_t l_523 = 0xCC58BFB7L;
                          int i, j;
                          l_525++;
                      }
                      for (g_48 = (-2); (g_48 <= (-23)); --g_48)
                      { /* block id: 209 */
                          int32_t l_530 = 0x838AF622L;
                          int32_t l_531[10] = {0xBD23FD2BL,0xBD23FD2BL,0xCEF4C990L,0x8E99B7F1L,0xCEF4C990L,0xBD23FD2BL,0xBD23FD2BL,0xCEF4C990L,0x8E99B7F1L,0xCEF4C990L};
                          int32_t l_532[5];
                          volatile int32_t * volatile *l_540 = &g_538[2][1][1];
                          int i;
                          for (i = 0; i < 5; i++)
                              l_532[i] = 0x21BF978CL;
                          l_534++;
                          l_537 = &l_293;
                          (*l_540) = g_538[2][1][1];
                      }
                      l_541--;
                      p_42.f0 = (safe_div_func_uint64_t_u_u(((safe_sub_func_uint16_t_u_u(g_105, ((safe_div_func_uint32_t_u_u((safe_lshift_func_int16_t_s_u((0x4611E4CDL <= ((p_42.f0 ^ (safe_sub_func_uint8_t_u_u(((safe_mod_func_uint32_t_u_u((safe_mod_func_uint8_t_u_u((safe_div_func_int16_t_s_s((0x38L <= (safe_lshift_func_uint8_t_u_u((safe_add_func_uint8_t_u_u((safe_rshift_func_uint8_t_u_u((*l_537), (&g_73[5][3][1] == &g_73[8][2][1]))), ((0x29D8FA7EL != (l_522[1] &= (safe_lshift_func_uint8_t_u_s((((safe_lshift_func_int8_t_s_u((((void*)0 != l_570) > 0x9E23790EL), 1)) ^ p_42.f0) ^ 0L), p_44)))) | p_43))), g_73[8][2][1]))), g_287)), p_44)), l_288)) >= p_42.f0), g_52[1][0][1].f0))) ^ p_43)), p_41)), l_371)) == l_541))) < g_145), p_41));
                  }
                  for (p_44 = 0; (p_44 >= 55); ++p_44)
                  { /* block id: 220 */
                      int8_t l_592 = 0xE0L;
                      for (l_371 = 0; (l_371 <= 1); l_371 += 1)
                      { /* block id: 223 */
                          uint16_t *l_584 = &l_516;
                          l_573[0] = p_42.f0;
                          p_42.f0 = (safe_lshift_func_uint16_t_u_s(p_43, ((l_576 , (((safe_div_func_uint16_t_u_u(((void*)0 == &l_315), 0x0F3BL)) && (safe_unary_minus_func_int16_t_s((18446744073709551615UL < (safe_mod_func_int16_t_s_s(((*l_491) = (safe_lshift_func_uint16_t_u_s(g_98[0], 13))), ((p_44 && (((*l_584)++) , ((safe_lshift_func_uint16_t_u_s(((*l_584) = (((((safe_mul_func_uint16_t_u_u(0xEE08L, p_43)) >= l_591) , l_591) && g_51[1]) < g_73[8][2][1])), l_592)) || g_98[3]))) & 18446744073709551606UL))))))) , 0x5DL)) ^ 0x02L)));
                      }
                  }
              }
              return p_42.f0;
          }
          else
          { /* block id: 233 */
              const uint8_t l_595 = 0x29L;
              int32_t l_599 = 0x152B6FADL;
              for (p_44 = (-14); (p_44 != 34); p_44 = safe_add_func_uint8_t_u_u(p_44, 7))
              { /* block id: 236 */
                  int32_t *l_596 = &l_373[0];
                  int32_t **l_597 = (void*)0;
                  int32_t **l_598[2];
                  int i;
                  for (i = 0; i < 2; i++)
                      l_598[i] = (void*)0;
                  p_42 = func_108((*g_509), (l_595 | ((&l_533[1] == (l_510 = l_596)) , (((*l_510) = (250UL <= ((*l_89) |= (*l_510)))) | (&g_73[0][0][2] != &l_595)))), &l_374, p_44);
                  if (p_44)
                      break;
                  l_599 |= l_374;
              }
          }
          (*l_600) = (*g_358);
      }
      return l_374;
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_73 g_90 g_121 g_98 g_146 g_105 g_52.f0 g_51 g_145 g_232 g_172 g_115.f0 g_270 g_272 g_219 g_204
   * writes: g_91 g_48 g_172 g_98 g_121 g_90 g_194 g_52.f0 g_204 g_219 g_232 g_51 g_105 g_146 g_270 g_287
   */
  static int32_t  func_55(struct S0  p_56, const struct S0  p_57, int8_t * const  p_58, const struct S0  p_59)
  { /* block id: 51 */
      int64_t l_155 = (-1L);
      struct S0 *l_168 = (void*)0;
      struct S0 **l_169 = &g_91;
      int8_t *l_170 = &g_48;
      int8_t *l_171 = &g_172;
      int32_t l_173[10][8][3] = {{{0x409EA005L,(-3L),(-4L)},{(-1L),0x6ACCC049L,(-10L)},{(-6L),(-1L),0L},{0L,0x8FE9995BL,(-1L)},{0x553EA47AL,7L,0xFD4EDF9DL},{0x8785A1AAL,0x8E31144BL,0x6D169B05L},{1L,7L,0xE241AC8AL},{0xBB767924L,0x8FE9995BL,0x2C173402L}},{{0L,(-1L),1L},{(-7L),0x6ACCC049L,0x6AF5DE44L},{(-3L),(-3L),(-6L)},{0x51C1011CL,0xD0C99759L,0xCD058209L},{(-6L),0x6452F108L,0x75B066DAL},{(-2L),4L,(-1L)},{(-3L),(-6L),0x75B066DAL},{0x82D7FBB2L,0x8E31144BL,0xCD058209L}},{{0x94A68FEAL,0xE241AC8AL,(-6L)},{0xBB767924L,0x29D448EBL,0x6AF5DE44L},{1L,1L,1L},{0x6ED36738L,1L,0x2C173402L},{1L,(-3L),0xE241AC8AL},{0x76D2BC90L,0x4CF7A4B4L,0x6D169B05L},{(-6L),1L,0xFD4EDF9DL},{0x76D2BC90L,0L,(-1L)}},{{1L,(-1L),0L},{0x6ED36738L,0x8E31144BL,(-10L)},{1L,(-4L),(-4L)},{0xBB767924L,7L,0xB071355FL},{0x94A68FEAL,1L,1L},{0x82D7FBB2L,0x537B6BF4L,0x0964AE88L},{(-3L),(-3L),(-1L)},{(-2L),0x537B6BF4L,(-7L)}},{{(-6L),1L,0x84DB45C9L},{0x51C1011CL,7L,(-1L)},{(-3L),(-4L),0x1C2D9155L},{(-7L),0x8E31144BL,0xBB767924L},{0L,(-1L),7L},{0xBB767924L,0L,7L},{1L,1L,1L},{0x8785A1AAL,0x4CF7A4B4L,7L}},{{0x553EA47AL,(-3L),7L},{0L,1L,0xBB767924L},{(-6L),1L,0x1C2D9155L},{0x0964AE88L,0x8E31144BL,0x0964AE88L},{0xE241AC8AL,0L,1L},{(-10L),0x4CF7A4B4L,0x51C1011CL},{0x1C2D9155L,1L,0x94A68FEAL},{(-2L),4L,0x07E7360DL}},{{0x1C2D9155L,0x553EA47AL,0xFD4EDF9DL},{(-10L),0x93A66112L,0x92D2716DL},{0xE241AC8AL,(-6L),1L},{0x0964AE88L,0x9E75E476L,(-1L)},{1L,0x409EA005L,0x6452F108L},{7L,0x273D293EL,0x0964AE88L},{(-1L),1L,(-1L)},{0xCD058209L,0x4CF7A4B4L,0L}},{{0L,1L,0L},{(-2L),0x273D293EL,0x8002E726L},{0x84DB45C9L,0x409EA005L,0xFD4EDF9DL},{0xBB767924L,0x9E75E476L,0x8B2EF746L},{(-6L),(-6L),1L},{0x2C173402L,0x93A66112L,0x76D2BC90L},{1L,0x553EA47AL,1L},{0xB071355FL,4L,0x0964AE88L}},{{7L,1L,1L},{0x6D169B05L,0x4CF7A4B4L,0x76D2BC90L},{0x75B066DAL,0L,1L},{(-2L),0x8E31144BL,0x8B2EF746L},{0xFD4EDF9DL,(-3L),0xFD4EDF9DL},{(-7L),0x858627F0L,0x8002E726L},{(-4L),(-6L),0L},{0x6AF5DE44L,(-4L),0L}},{{1L,(-3L),(-1L)},{0x6AF5DE44L,(-1L),0x0964AE88L},{(-4L),0x94A68FEAL,0x6452F108L},{(-7L),0x4CF7A4B4L,(-1L)},{0xFD4EDF9DL,1L,1L},{(-2L),0xF8891E80L,0x92D2716DL},{0x75B066DAL,1L,0xFD4EDF9DL},{0x6D169B05L,(-6L),0x07E7360DL}}};
      int32_t *l_176 = &g_98[3];
      int64_t *l_177[8][5] = {{&l_155,&l_155,&l_155,&l_155,&l_155},{&l_155,&l_155,&l_155,&l_155,&l_155},{&l_155,&l_155,&l_155,&l_155,&l_155},{&l_155,&l_155,&l_155,&l_155,&l_155},{&l_155,&l_155,&l_155,&l_155,&l_155},{&l_155,&l_155,&l_155,&l_155,&l_155},{&l_155,&l_155,&l_155,&l_155,&l_155},{&l_155,&l_155,&l_155,&l_155,&l_155}};
      int32_t l_178 = 3L;
      int32_t *l_179 = (void*)0;
      int32_t l_180 = 0xECEDAAA3L;
      uint16_t * const l_189 = &g_51[1];
      int8_t l_196[9] = {6L,6L,6L,6L,6L,6L,6L,6L,6L};
      uint8_t l_213[1][5][10] = {{{8UL,1UL,8UL,1UL,8UL,1UL,8UL,1UL,8UL,1UL},{0x1AL,1UL,0x1AL,1UL,0x1AL,1UL,0x1AL,1UL,0x1AL,1UL},{8UL,1UL,8UL,1UL,8UL,1UL,8UL,1UL,8UL,1UL},{0x1AL,1UL,0x1AL,1UL,0x1AL,1UL,0x1AL,1UL,0x1AL,1UL},{8UL,1UL,8UL,1UL,8UL,1UL,8UL,1UL,8UL,1UL}}};
      uint32_t l_214 = 0x3F0E6EE9L;
      int32_t *l_237 = &l_178;
      int64_t l_275[6] = {9L,9L,9L,9L,9L,9L};
      int i, j, k;
      p_56.f0 &= (p_57 , p_57.f0);
      l_180 ^= ((l_178 = ((safe_rshift_func_uint8_t_u_u((!((safe_sub_func_uint32_t_u_u(l_155, ((safe_mul_func_uint8_t_u_u((safe_lshift_func_int8_t_s_u(((safe_mul_func_uint8_t_u_u((safe_div_func_int8_t_s_s((-4L), 1L)), (((safe_mod_func_int64_t_s_s((safe_mod_func_uint8_t_u_u(l_155, (l_173[1][5][1] |= ((*l_171) = ((*l_170) = (l_168 != ((*l_169) = (void*)0))))))), (l_155 , (safe_div_func_uint32_t_u_u(p_56.f0, ((*l_176) = l_155)))))) && p_57.f0) < g_73[1][7][1]))) , (-10L)), l_155)), g_73[8][2][1])) <= g_90))) >= p_57.f0)), 7)) == 0UL)) != p_56.f0);
      for (g_121 = 2; (g_121 > (-14)); g_121--)
      { /* block id: 62 */
          struct S0 l_185 = {0};
          int16_t *l_192 = (void*)0;
          int16_t *l_193 = &g_194;
          int32_t *l_195[9];
          int i;
          for (i = 0; i < 9; i++)
              l_195[i] = &l_178;
          g_52[1][0][1].f0 ^= (p_56.f0 && ((*l_170) = ((safe_rshift_func_int8_t_s_u(0x07L, ((l_185 , (+(safe_mul_func_uint8_t_u_u((g_90 ^= (((*l_176) < (l_189 != &g_51[1])) | g_146)), 7UL)))) < (((*l_193) = (safe_div_func_int16_t_s_s(l_185.f0, (*l_176)))) , 1L)))) , g_105)));
          l_214 = ((l_196[4] | g_51[0]) || (p_59.f0 < (safe_sub_func_uint64_t_u_u(g_146, ((safe_rshift_func_int8_t_s_u((((*l_171) = (g_48 = (safe_rshift_func_int8_t_s_s(((g_204 = (+p_59.f0)) > ((*l_176) = (safe_mod_func_uint64_t_u_u(p_59.f0, (safe_sub_func_uint16_t_u_u(4UL, (g_145 != (((safe_rshift_func_int16_t_s_s((((safe_sub_func_uint16_t_u_u((((&g_73[8][2][1] == &g_73[8][2][1]) && p_56.f0) == g_73[6][1][1]), l_213[0][0][7])) , p_57.f0) & p_59.f0), 5)) , (*l_176)) ^ 0xFF65FF97L)))))))), 0)))) >= g_73[8][0][0]), 1)) == g_51[0])))));
      }
      for (l_214 = 0; (l_214 <= 8); l_214 += 1)
      { /* block id: 75 */
          uint64_t *l_231 = &g_232;
          uint32_t l_233 = 1UL;
          struct S0 **l_234 = &g_91;
          int32_t *l_271 = &l_173[1][5][1];
          int64_t l_285 = 0x67B714C4D434EBCELL;
          int i;
          (*l_176) = (((*l_189) = (((void*)0 == l_189) | (((safe_add_func_int32_t_s_s(((safe_mod_func_uint32_t_u_u((0x85F1111568D6C9D1LL != (g_219 = l_196[l_214])), (safe_lshift_func_int16_t_s_u((((safe_sub_func_int64_t_s_s((safe_add_func_int64_t_s_s(p_59.f0, ((p_57.f0 || ((!(safe_lshift_func_uint8_t_u_s((safe_lshift_func_int16_t_s_s(p_57.f0, 11)), (((*l_231) &= (1L <= l_196[l_214])) && p_59.f0)))) , 18446744073709551615UL)) , l_196[l_214]))), 18446744073709551614UL)) >= p_56.f0) >= l_196[l_214]), 8)))) && l_233), (*l_176))) , l_234) != &l_168))) > 0L);
          for (g_194 = 8; (g_194 >= 0); g_194 -= 1)
          { /* block id: 82 */
              int32_t **l_235 = &l_176;
              int32_t **l_236[6][7][3] = {{{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179}},{{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0}},{{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179}},{{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0}},{{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179}},{{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0},{&l_179,&l_179,&l_179},{&l_179,&l_179,(void*)0}}};
              int8_t l_274 = 1L;
              int i, j, k;
              l_237 = ((*l_235) = &g_105);
              for (g_232 = 1; (g_232 <= 8); g_232 += 1)
              { /* block id: 87 */
                  uint64_t *l_245[1][2];
                  int32_t l_252 = 0x8321FA86L;
                  int i, j;
                  for (i = 0; i < 1; i++)
                  {
                      for (j = 0; j < 2; j++)
                          l_245[i][j] = &g_232;
                  }
                  if ((p_59.f0 <= 0xFE44L))
                  { /* block id: 88 */
                      uint32_t *l_253 = (void*)0;
                      uint32_t *l_254 = &g_146;
                      (**l_235) = (((*l_254) = ((safe_rshift_func_int8_t_s_u(g_52[1][0][1].f0, g_172)) , (+((g_73[3][5][1] , (safe_mul_func_int8_t_s_s((safe_lshift_func_int8_t_s_s(((void*)0 != l_245[0][1]), 3)), p_59.f0))) ^ ((g_98[2] , ((0UL != ((((safe_rshift_func_int16_t_s_u((safe_mul_func_uint8_t_u_u((safe_lshift_func_int16_t_s_s((((g_232 , (void*)0) != p_58) , 0xDB0EL), g_232)), g_98[3])), p_57.f0)) ^ g_73[8][2][1]) & (-1L)) >= l_252)) || l_252)) | 0x61D1L))))) < p_59.f0);
                      (*l_237) = (-3L);
                      (*l_235) = &g_98[2];
                  }
                  else
                  { /* block id: 93 */
                      return p_56.f0;
                  }
                  (*l_176) = ((safe_div_func_int32_t_s_s((0UL != ((safe_add_func_int64_t_s_s((safe_add_func_int64_t_s_s(0xB358915A19D07E72LL, g_115.f0)), 0x3B18B0854F1E0671LL)) , ((0x99L ^ (safe_rshift_func_int16_t_s_s((safe_mod_func_int64_t_s_s(((~l_233) == ((p_57.f0 >= (((((*l_237) ^= (safe_add_func_int32_t_s_s(((func_108(((g_270 |= (safe_lshift_func_uint8_t_u_s(((g_98[1] ^ l_233) , (**l_235)), 6))) | l_252), g_73[8][2][1], l_271, (*l_271)) , &l_271) != g_272[0][3]), p_57.f0))) & 7L) >= l_274) , (*l_237))) == (*l_271))), (*l_271))), g_98[3]))) != p_57.f0))), l_252)) || l_275[4]);
                  for (g_219 = 0; (g_219 <= 8); g_219 += 1)
                  { /* block id: 101 */
                      const int32_t l_284 = 0x3F51F510L;
                      for (g_204 = 0; (g_204 <= 3); g_204 += 1)
                      { /* block id: 104 */
                          uint16_t *l_286 = &g_287;
                          int i, j;
                          (*l_237) &= (safe_div_func_int32_t_s_s((((safe_sub_func_int64_t_s_s((g_98[g_204] || (((void*)0 != l_189) > p_59.f0)), g_146)) & p_57.f0) & g_73[6][5][1]), (safe_rshift_func_uint16_t_u_u(((*l_286) = ((*l_189) ^= (l_284 , (l_285 == 0xBA301228ECA0DB15LL)))), 13))));
                      }
                  }
              }
          }
      }
      return p_57.f0;
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads : g_48 g_90 g_105 g_115 g_98 g_51 g_146 g_121
   * writes: g_48 g_90 g_98 g_105 g_115 g_121 g_91 g_129 g_146
   */
  static int8_t  func_85(uint8_t  p_86, uint8_t * p_87, struct S0 * p_88)
  { /* block id: 9 */
      int64_t l_114 = 0x0CBF8205C77F51BCLL;
      int32_t l_134 = 4L;
      int32_t l_135 = 0xA01FB82FL;
      int32_t l_136[5][8][6] = {{{0x2834994DL,1L,0xCAE4519CL,0xECBCE0EEL,1L,2L},{(-4L),0L,0x0DF3FCB1L,0L,0xB2E30712L,7L},{(-10L),7L,(-1L),0L,0xCDB5522DL,(-1L)},{1L,0x8E688B2FL,1L,2L,(-1L),0x2834994DL},{0x4359D76EL,0L,0x79EB048EL,1L,0xCFDDCEC7L,(-10L)},{0x8E688B2FL,0xF12706A3L,(-1L),(-1L),0xF12706A3L,0x8E688B2FL},{0x500D59F5L,(-1L),0xA5A4E873L,0L,0L,0xCFDDCEC7L},{0xA506553BL,0xC2E7BD33L,(-1L),0L,(-4L),0x2834994DL}},{{0xA506553BL,0xE5908BEFL,0L,0L,(-1L),1L},{0L,0L,2L,5L,4L,0xA5A4E873L},{0x0DF3FCB1L,0L,(-4L),0xF7153193L,0xCDB5522DL,(-1L)},{(-1L),5L,0x79D12DC1L,0xECBCE0EEL,1L,7L},{0L,(-4L),0L,0xC2E7BD33L,0x7DE1A35AL,(-1L)},{(-1L),0xCAE4519CL,(-10L),1L,(-1L),0xB85D1346L},{0L,(-1L),0x500D59F5L,0L,(-6L),0xECBCE0EEL},{(-10L),1L,0x2834994DL,1L,(-10L),4L}},{{(-1L),0x2834994DL,0L,0xB85D1346L,(-1L),(-1L)},{0L,0L,0xCDB5522DL,0x2834994DL,0L,(-1L)},{(-1L),0L,0L,0L,0x79D12DC1L,4L},{0L,(-1L),0x2834994DL,1L,0xCAE4519CL,0xECBCE0EEL},{0x4359D76EL,0xB2E30712L,0x500D59F5L,0L,(-1L),0xB85D1346L},{1L,(-10L),(-10L),(-1L),(-1L),(-1L)},{0L,5L,0L,(-1L),1L,7L},{0xB85D1346L,0xBAA6E91FL,0x79D12DC1L,0L,2L,(-1L)}},{{0xBAA6E91FL,0xCA7BD2AFL,(-4L),(-10L),0xA5A4E873L,0xA5A4E873L},{(-1L),2L,2L,(-1L),0L,1L},{(-1L),(-6L),0L,0xA5A4E873L,0L,0x2834994DL},{0x4C14C3A4L,0L,(-1L),0x500D59F5L,0L,0xCFDDCEC7L},{0xC2E7BD33L,(-6L),7L,0xB2E30712L,0L,0x0DF3FCB1L},{0L,2L,5L,4L,0xA5A4E873L,(-1L)},{(-1L),0xCA7BD2AFL,(-1L),0xCAE4519CL,2L,(-10L)},{(-6L),0xBAA6E91FL,0x4359D76EL,0xE5908BEFL,1L,(-1L)}},{{0xB2E30712L,5L,1L,1L,(-1L),0x79D12DC1L},{(-1L),(-10L),0xCAE4519CL,(-4L),(-1L),0x500D59F5L},{4L,0xB2E30712L,(-1L),1L,0xCAE4519CL,1L},{0xA5A4E873L,(-1L),0xA5A4E873L,0xF12706A3L,0x79D12DC1L,0xCAE4519CL},{5L,0L,0x4C14C3A4L,(-10L),0L,1L},{0L,0L,0x0DF3FCB1L,(-10L),(-1L),0xF12706A3L},{5L,0x2834994DL,(-6L),0x8E688B2FL,(-1L),(-1L)},{7L,0L,1L,0xBAA6E91FL,2L,0xA506553BL}}};
      uint16_t l_137[2];
      int32_t *l_140 = (void*)0;
      int32_t *l_141 = (void*)0;
      int32_t *l_142[5][8];
      int32_t l_143 = 1L;
      int8_t l_144 = 1L;
      int i, j, k;
      for (i = 0; i < 2; i++)
          l_137[i] = 0x36B7L;
      for (i = 0; i < 5; i++)
      {
          for (j = 0; j < 8; j++)
              l_142[i][j] = &l_136[4][1][4];
      }
      for (g_48 = 6; (g_48 < 22); g_48++)
      { /* block id: 12 */
          int8_t l_104[3][8] = {{0L,0L,0x6CL,0L,0L,0x6CL,0L,0L},{8L,0L,8L,8L,0L,8L,8L,0L},{0L,8L,8L,0L,8L,8L,0L,8L}};
          int32_t l_107 = 8L;
          struct S0 l_116 = {-0};
          struct S0 **l_127 = &g_91;
          int32_t *l_130 = &g_98[0];
          int32_t *l_131 = &g_98[1];
          int32_t *l_132 = &g_98[3];
          int32_t *l_133[8][3] = {{(void*)0,(void*)0,(void*)0},{(void*)0,&g_105,(void*)0},{&g_105,(void*)0,(void*)0},{(void*)0,(void*)0,&g_121},{(void*)0,&g_105,&g_98[1]},{(void*)0,(void*)0,&g_98[1]},{&g_105,(void*)0,&g_121},{(void*)0,(void*)0,(void*)0}};
          int i, j;
          for (p_86 = 0; (p_86 < 14); p_86 = safe_add_func_int64_t_s_s(p_86, 1))
          { /* block id: 15 */
              int32_t *l_120 = (void*)0;
              for (g_90 = 16; (g_90 < 22); ++g_90)
              { /* block id: 18 */
                  uint32_t l_113 = 4294967290UL;
                  for (g_98[3] = (-24); (g_98[3] != 24); ++g_98[3])
                  { /* block id: 21 */
                      int32_t *l_106[1];
                      struct S0 *l_117 = &g_115;
                      int32_t **l_126 = &l_106[0];
                      int i;
                      for (i = 0; i < 1; i++)
                          l_106[i] = &g_105;
                      g_105 ^= (safe_sub_func_int64_t_s_s((+(*p_87)), l_104[0][1]));
                      l_107 = 0x499989FAL;
                      (*l_126) = (func_108((18446744073709551615UL | (l_114 = l_113)), p_86, (((*l_117) = (l_116 = g_115)) , &g_105), (g_121 = ((p_86 , (((p_86 , (safe_rshift_func_int8_t_s_s((p_86 > (p_87 == (void*)0)), g_90))) , l_120) == (void*)0)) | g_98[1]))) , &g_105);
                  }
              }
              return g_51[1];
          }
          g_129 = ((*l_127) = p_88);
          l_137[1]++;
      }
      g_146++;
      for (g_121 = 0; (g_121 <= 3); g_121 += 1)
      { /* block id: 47 */
          int32_t *l_149 = &l_135;
          int i;
          l_149 = &g_98[g_121];
      }
      return g_115.f0;
  }
  
  
  /* ------------------------------------------ */
  /* 
   * reads :
   * writes:
   */
  static struct S0  func_108(uint32_t  p_109, int64_t  p_110, int32_t * p_111, uint32_t  p_112)
  { /* block id: 28 */
      struct S0 l_125 = {-1};
      for (p_110 = 0; (p_110 <= (-3)); --p_110)
      { /* block id: 31 */
          struct S0 l_124 = {-0};
          return l_124;
      }
      return l_125;
  }
  
  
  
  
  /* ---------------------------------------- */
  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_13, "g_13", print_hash_value);
      transparent_crc(g_48, "g_48", print_hash_value);
      for (i = 0; i < 2; i++)
      {
          transparent_crc(g_51[i], "g_51[i]", print_hash_value);
          if (print_hash_value) printf("index = [%d]\n", i);
  
      }
      for (i = 0; i < 2; i++)
      {
          for (j = 0; j < 4; j++)
          {
              for (k = 0; k < 8; k++)
              {
                  transparent_crc(g_52[i][j][k].f0, "g_52[i][j][k].f0", print_hash_value);
                  if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
  
              }
          }
      }
      for (i = 0; i < 9; i++)
      {
          for (j = 0; j < 8; j++)
          {
              for (k = 0; k < 3; k++)
              {
                  transparent_crc(g_73[i][j][k], "g_73[i][j][k]", print_hash_value);
                  if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
  
              }
          }
      }
      transparent_crc(g_90, "g_90", print_hash_value);
      for (i = 0; i < 4; i++)
      {
          transparent_crc(g_98[i], "g_98[i]", print_hash_value);
          if (print_hash_value) printf("index = [%d]\n", i);
  
      }
      transparent_crc(g_105, "g_105", print_hash_value);
      transparent_crc(g_115.f0, "g_115.f0", print_hash_value);
      transparent_crc(g_121, "g_121", print_hash_value);
      transparent_crc(g_145, "g_145", print_hash_value);
      transparent_crc(g_146, "g_146", print_hash_value);
      transparent_crc(g_172, "g_172", print_hash_value);
      transparent_crc(g_194, "g_194", print_hash_value);
      transparent_crc(g_204, "g_204", print_hash_value);
      transparent_crc(g_219, "g_219", print_hash_value);
      transparent_crc(g_232, "g_232", print_hash_value);
      transparent_crc(g_270, "g_270", print_hash_value);
      transparent_crc(g_287, "g_287", print_hash_value);
      transparent_crc(g_411, "g_411", print_hash_value);
      transparent_crc(g_417, "g_417", print_hash_value);
      transparent_crc(g_539, "g_539", print_hash_value);
      transparent_crc(g_603, "g_603", print_hash_value);
      transparent_crc(g_769, "g_769", print_hash_value);
      transparent_crc(g_861, "g_861", print_hash_value);
      transparent_crc(g_905, "g_905", print_hash_value);
      transparent_crc(g_907, "g_907", print_hash_value);
      transparent_crc(g_921, "g_921", print_hash_value);
      for (i = 0; i < 2; i++)
      {
          transparent_crc(g_1019[i], "g_1019[i]", print_hash_value);
          if (print_hash_value) printf("index = [%d]\n", i);
  
      }
      transparent_crc(g_1272, "g_1272", print_hash_value);
      for (i = 0; i < 8; i++)
      {
          transparent_crc(g_1312[i], "g_1312[i]", print_hash_value);
          if (print_hash_value) printf("index = [%d]\n", i);
  
      }
      for (i = 0; i < 8; i++)
      {
          for (j = 0; j < 8; j++)
          {
              for (k = 0; k < 4; k++)
              {
                  transparent_crc(g_1314[i][j][k], "g_1314[i][j][k]", print_hash_value);
                  if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
  
              }
          }
      }
      transparent_crc(g_1316, "g_1316", print_hash_value);
      transparent_crc(g_1424, "g_1424", print_hash_value);
      transparent_crc(g_1459, "g_1459", print_hash_value);
      transparent_crc(g_1722, "g_1722", print_hash_value);
      transparent_crc(g_1723, "g_1723", print_hash_value);
      transparent_crc(g_2306, "g_2306", print_hash_value);
      transparent_crc(g_2382, "g_2382", print_hash_value);
      transparent_crc(g_2469, "g_2469", print_hash_value);
      transparent_crc(g_2569, "g_2569", print_hash_value);
      transparent_crc(g_2574, "g_2574", print_hash_value);
      transparent_crc(g_2594, "g_2594", print_hash_value);
      transparent_crc(g_2703, "g_2703", print_hash_value);
      transparent_crc(g_2742, "g_2742", print_hash_value);
      transparent_crc(g_2856, "g_2856", print_hash_value);
      for (i = 0; i < 6; i++)
      {
          for (j = 0; j < 9; j++)
          {
              transparent_crc(g_2866[i][j], "g_2866[i][j]", print_hash_value);
              if (print_hash_value) printf("index = [%d][%d]\n", i, j);
  
          }
      }
      transparent_crc(g_2879, "g_2879", print_hash_value);
      platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
      return 0;
  }
  
  /************************ statistics *************************
  XXX max struct depth: 1
  breakdown:
     depth: 0, occurrence: 788
     depth: 1, occurrence: 38
  XXX total union variables: 0
  
  XXX non-zero bitfields defined in structs: 1
  XXX zero bitfields defined in structs: 0
  XXX const bitfields defined in structs: 0
  XXX volatile bitfields defined in structs: 0
  XXX structs with bitfields in the program: 75
  breakdown:
     indirect level: 0, occurrence: 38
     indirect level: 1, occurrence: 13
     indirect level: 2, occurrence: 12
     indirect level: 3, occurrence: 8
     indirect level: 4, occurrence: 3
     indirect level: 5, occurrence: 1
  XXX full-bitfields structs in the program: 38
  breakdown:
     indirect level: 0, occurrence: 38
  XXX times a bitfields struct's address is taken: 165
  XXX times a bitfields struct on LHS: 21
  XXX times a bitfields struct on RHS: 43
  XXX times a single bitfield on LHS: 14
  XXX times a single bitfield on RHS: 77
  
  XXX max expression depth: 46
  breakdown:
     depth: 1, occurrence: 143
     depth: 2, occurrence: 47
     depth: 3, occurrence: 2
     depth: 5, occurrence: 1
     depth: 8, occurrence: 1
     depth: 13, occurrence: 1
     depth: 14, occurrence: 1
     depth: 15, occurrence: 1
     depth: 18, occurrence: 2
     depth: 20, occurrence: 2
     depth: 23, occurrence: 2
     depth: 24, occurrence: 1
     depth: 25, occurrence: 3
     depth: 26, occurrence: 2
     depth: 27, occurrence: 1
     depth: 29, occurrence: 3
     depth: 30, occurrence: 1
     depth: 31, occurrence: 1
     depth: 35, occurrence: 1
     depth: 36, occurrence: 1
     depth: 46, occurrence: 1
  
  XXX total number of pointers: 614
  
  XXX times a variable address is taken: 1930
  XXX times a pointer is dereferenced on RHS: 371
  breakdown:
     depth: 1, occurrence: 287
     depth: 2, occurrence: 49
     depth: 3, occurrence: 35
  XXX times a pointer is dereferenced on LHS: 370
  breakdown:
     depth: 1, occurrence: 306
     depth: 2, occurrence: 52
     depth: 3, occurrence: 8
     depth: 4, occurrence: 2
     depth: 5, occurrence: 2
  XXX times a pointer is compared with null: 63
  XXX times a pointer is compared with address of another variable: 14
  XXX times a pointer is compared with another pointer: 10
  XXX times a pointer is qualified to be dereferenced: 11130
  
  XXX max dereference level: 5
  breakdown:
     level: 0, occurrence: 0
     level: 1, occurrence: 1452
     level: 2, occurrence: 369
     level: 3, occurrence: 213
     level: 4, occurrence: 43
     level: 5, occurrence: 7
  XXX number of pointers point to pointers: 336
  XXX number of pointers point to scalars: 251
  XXX number of pointers point to structs: 27
  XXX percent of pointers has null in alias set: 34.7
  XXX average alias set size: 1.51
  
  XXX times a non-volatile is read: 2418
  XXX times a non-volatile is write: 1188
  XXX times a volatile is read: 108
  XXX    times read thru a pointer: 28
  XXX times a volatile is write: 31
  XXX    times written thru a pointer: 1
  XXX times a volatile is available for access: 1.98e+03
  XXX percentage of non-volatile access: 96.3
  
  XXX forward jumps: 1
  XXX backward jumps: 11
  
  XXX stmts: 146
  XXX max block depth: 5
  breakdown:
     depth: 0, occurrence: 28
     depth: 1, occurrence: 28
     depth: 2, occurrence: 16
     depth: 3, occurrence: 25
     depth: 4, occurrence: 30
     depth: 5, occurrence: 19
  
  XXX percentage a fresh-made variable is used: 16.1
  XXX percentage an existing variable is used: 83.9
  FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
  ********************* end of statistics **********************/
  
  