/*
 * This is a RANDOMLY GENERATED PROGRAM.
 *
 * Generator: csmith 2.2.0
 * Git version: dcef523
 * Options:   (none)
 * Seed:      171593136
 */

#include "csmith.h"


static long __undefined;

/* --- Struct/Union Declarations --- */
/* --- GLOBAL VARIABLES --- */
static int32_t g_9 = 0x82EAC453L;
static int32_t *g_8[4] = {&g_9,&g_9,&g_9,&g_9};
static uint32_t g_21[8] = {0x9934B0B4L,0x9934B0B4L,0xB17B722BL,0x9934B0B4L,0x9934B0B4L,0xB17B722BL,0x9934B0B4L,0x9934B0B4L};
static int8_t g_71[2][10] = {{(-4L),0xDCL,0xDCL,(-4L),0x00L,(-4L),0xDCL,0xDCL,(-4L),0x00L},{(-4L),0xDCL,0xDCL,(-4L),0x00L,(-4L),0xDCL,0xDCL,(-4L),0x00L}};
static int16_t g_74 = 2L;
static uint16_t g_78 = 0x7097L;
static uint8_t g_83[1] = {0x73L};
static int32_t * volatile g_93 = (void*)0;/* VOLATILE GLOBAL g_93 */
static int32_t * volatile g_94 = (void*)0;/* VOLATILE GLOBAL g_94 */
static int32_t g_131[9] = {0x2B52C7FFL,0x47660C92L,0x2B52C7FFL,0x47660C92L,0x2B52C7FFL,0x47660C92L,0x2B52C7FFL,0x47660C92L,0x2B52C7FFL};
static int32_t g_135 = (-10L);
static int8_t g_137 = 0xE6L;
static int8_t *g_158 = &g_71[1][5];
static int8_t **g_157 = &g_158;
static uint16_t g_217 = 0x4678L;
static int16_t g_233[7] = {0x6F5CL,0xD718L,0x6F5CL,0x6F5CL,0x6F5CL,1L,1L};
static int16_t g_236 = 0x4B1BL;
static int32_t *g_239 = (void*)0;
static int32_t *g_241 = (void*)0;
static int32_t ** const  volatile g_240 = &g_241;/* VOLATILE GLOBAL g_240 */
static int32_t * volatile g_268[9] = {(void*)0,(void*)0,&g_135,(void*)0,(void*)0,&g_135,(void*)0,(void*)0,&g_135};
static int32_t * const  volatile g_269 = &g_135;/* VOLATILE GLOBAL g_269 */
static const uint32_t g_272[4] = {9UL,9UL,9UL,9UL};
static int32_t ** volatile g_281 = &g_239;/* VOLATILE GLOBAL g_281 */
static int8_t g_331 = 5L;
static int16_t g_354 = 1L;
static int64_t g_357 = 0xEA5B732AD42B0A20LL;
static int64_t g_358 = (-3L);
static int8_t g_359[5] = {8L,8L,8L,8L,8L};
static uint16_t g_360 = 0xE464L;
static volatile uint32_t g_368 = 0x82CEF046L;/* VOLATILE GLOBAL g_368 */
static uint32_t g_378[9][2][10] = {{{0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL},{0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL}},{{0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL},{0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL}},{{0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL},{0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL}},{{0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL},{0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL}},{{0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL},{0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL}},{{0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL},{0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL}},{{0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL},{0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL}},{{0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL},{0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL}},{{0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL,0UL,0xC092481FL},{0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL,0x229D3015L,0xC092481FL}}};
static uint16_t g_386 = 0UL;
static uint8_t g_404[3][7] = {{0UL,0UL,9UL,0x47L,0x44L,0x47L,9UL},{0UL,0UL,9UL,0x47L,0x44L,0x47L,9UL},{0UL,0UL,9UL,0x47L,0x44L,0x47L,9UL}};
static int32_t * const  volatile g_431 = &g_135;/* VOLATILE GLOBAL g_431 */
static const uint8_t * volatile * const  volatile g_487 = (void*)0;/* VOLATILE GLOBAL g_487 */
static int64_t g_493 = 0L;
static uint64_t g_514 = 2UL;
static uint64_t *g_513 = &g_514;
static volatile int16_t g_523[8] = {0xFFCEL,0xFFCEL,0xFFCEL,0xFFCEL,0xFFCEL,0xFFCEL,0xFFCEL,0xFFCEL};
static volatile int16_t *g_522[3][3][8] = {{{&g_523[6],&g_523[6],&g_523[2],&g_523[2],&g_523[6],&g_523[6],&g_523[2],&g_523[6]},{&g_523[0],&g_523[2],&g_523[2],&g_523[0],&g_523[2],&g_523[2],&g_523[0],&g_523[6]},{&g_523[6],&g_523[4],&g_523[6],&g_523[0],&g_523[0],&g_523[6],&g_523[4],&g_523[6]}},{{&g_523[6],&g_523[0],&g_523[2],&g_523[2],&g_523[0],&g_523[2],&g_523[2],&g_523[0]},{&g_523[6],&g_523[2],&g_523[6],&g_523[6],&g_523[2],&g_523[2],&g_523[6],&g_523[6]},{&g_523[0],&g_523[0],&g_523[6],&g_523[4],&g_523[6],&g_523[6],&g_523[6],&g_523[4]}},{{&g_523[6],&g_523[4],&g_523[6],&g_523[2],&g_523[4],&g_523[2],&g_523[2],&g_523[4]},{&g_523[4],&g_523[2],&g_523[2],&g_523[4],&g_523[2],&g_523[6],&g_523[4],&g_523[6]},{&g_523[4],&g_523[6],&g_523[6],&g_523[6],&g_523[4],&g_523[6],&g_523[0],&g_523[0]}}};
static volatile int16_t ** const  volatile g_521 = &g_522[0][1][1];/* VOLATILE GLOBAL g_521 */
static int32_t * volatile g_575 = &g_9;/* VOLATILE GLOBAL g_575 */
static int32_t * volatile g_595 = (void*)0;/* VOLATILE GLOBAL g_595 */
static int32_t * volatile g_596 = &g_9;/* VOLATILE GLOBAL g_596 */
static volatile int32_t *g_614 = (void*)0;
static int32_t ** volatile g_663 = &g_241;/* VOLATILE GLOBAL g_663 */
static int32_t g_674 = 0xB94F3CE1L;
static int32_t ** volatile g_712 = &g_241;/* VOLATILE GLOBAL g_712 */
static int32_t * volatile g_713 = &g_131[8];/* VOLATILE GLOBAL g_713 */
static uint32_t g_742 = 0x0B39B1AEL;
static int16_t g_756 = 1L;
static const int32_t *g_759 = &g_131[8];
static const int32_t ** volatile g_758 = &g_759;/* VOLATILE GLOBAL g_758 */
static int32_t ** const  volatile g_801 = &g_241;/* VOLATILE GLOBAL g_801 */
static const int32_t ** volatile g_824 = &g_759;/* VOLATILE GLOBAL g_824 */
static uint32_t *g_873 = &g_378[6][0][6];
static uint32_t **g_872 = &g_873;
static uint8_t *g_896 = &g_404[0][0];
static const int32_t ** volatile g_926 = &g_759;/* VOLATILE GLOBAL g_926 */
static int64_t *** volatile g_929 = (void*)0;/* VOLATILE GLOBAL g_929 */
static int64_t **g_931 = (void*)0;
static int64_t *** volatile g_930 = &g_931;/* VOLATILE GLOBAL g_930 */
static uint32_t * volatile g_938 = (void*)0;/* VOLATILE GLOBAL g_938 */
static uint32_t * volatile * volatile g_937 = &g_938;/* VOLATILE GLOBAL g_937 */
static const uint32_t **g_940 = (void*)0;
static int32_t * volatile g_977 = (void*)0;/* VOLATILE GLOBAL g_977 */
static int32_t ** volatile g_979 = (void*)0;/* VOLATILE GLOBAL g_979 */
static int32_t ** volatile g_980 = &g_239;/* VOLATILE GLOBAL g_980 */
static int32_t * volatile g_1021 = &g_9;/* VOLATILE GLOBAL g_1021 */
static const int16_t *g_1056[6] = {&g_74,&g_74,&g_74,&g_74,&g_74,&g_74};
static const int16_t **g_1055 = &g_1056[0];
static uint64_t g_1156[3][9][9] = {{{7UL,18446744073709551608UL,18446744073709551608UL,7UL,0UL,1UL,18446744073709551615UL,0x4B715075DEBA4ABELL,0UL},{0x4B715075DEBA4ABELL,0xF25783BECC6D2D23LL,0UL,18446744073709551608UL,0x4F21286989375241LL,0xBB6C2E6E28A26AD8LL,8UL,8UL,0xBB6C2E6E28A26AD8LL},{0UL,0x261E3912AF131DDBLL,7UL,0x261E3912AF131DDBLL,0UL,0x4B715075DEBA4ABELL,0xF25783BECC6D2D23LL,0UL,18446744073709551608UL},{0UL,1UL,18446744073709551615UL,0x4B715075DEBA4ABELL,0UL,0xF25783BECC6D2D23LL,0xD21E1B024EE1E6FFLL,18446744073709551609UL,0xD21E1B024EE1E6FFLL},{0x4B715075DEBA4ABELL,8UL,0x3D1D17C5613C7426LL,0x3D1D17C5613C7426LL,8UL,0x4B715075DEBA4ABELL,0x1F93B675C7FFA26ALL,0UL,5UL},{7UL,8UL,18446744073709551609UL,0UL,0xD21E1B024EE1E6FFLL,0xBB6C2E6E28A26AD8LL,0x3D1D17C5613C7426LL,0x261E3912AF131DDBLL,0x261E3912AF131DDBLL},{0x1F93B675C7FFA26ALL,1UL,0xBB6C2E6E28A26AD8LL,0UL,0xBB6C2E6E28A26AD8LL,1UL,0x1F93B675C7FFA26ALL,0x3D1D17C5613C7426LL,18446744073709551609UL},{0xF25783BECC6D2D23LL,0x261E3912AF131DDBLL,0xBB6C2E6E28A26AD8LL,0x1F93B675C7FFA26ALL,0UL,18446744073709551615UL,0xD21E1B024EE1E6FFLL,1UL,0x4B715075DEBA4ABELL},{0x3D1D17C5613C7426LL,0xD21E1B024EE1E6FFLL,0x4B715075DEBA4ABELL,0xBB6C2E6E28A26AD8LL,0xBB6C2E6E28A26AD8LL,0x4B715075DEBA4ABELL,0xD21E1B024EE1E6FFLL,7UL,0x102BD9A13E64B49DLL}},{{0x4F21286989375241LL,5UL,7UL,0xBB6C2E6E28A26AD8LL,0xF25783BECC6D2D23LL,0x102BD9A13E64B49DLL,0UL,18446744073709551608UL,0x1F93B675C7FFA26ALL},{0x102BD9A13E64B49DLL,0x261E3912AF131DDBLL,0x1F93B675C7FFA26ALL,18446744073709551609UL,0x4F21286989375241LL,18446744073709551609UL,0x1F93B675C7FFA26ALL,0x261E3912AF131DDBLL,0x102BD9A13E64B49DLL},{1UL,18446744073709551609UL,0xF25783BECC6D2D23LL,0x3D1D17C5613C7426LL,0x4F21286989375241LL,0UL,5UL,0x4B715075DEBA4ABELL,0UL},{18446744073709551608UL,0x4B715075DEBA4ABELL,0x3D1D17C5613C7426LL,18446744073709551615UL,0xF25783BECC6D2D23LL,0xF25783BECC6D2D23LL,18446744073709551615UL,0x3D1D17C5613C7426LL,0x4B715075DEBA4ABELL},{1UL,0x4F21286989375241LL,5UL,7UL,0xBB6C2E6E28A26AD8LL,0xF25783BECC6D2D23LL,0x102BD9A13E64B49DLL,0UL,18446744073709551608UL},{0x102BD9A13E64B49DLL,18446744073709551615UL,0x4F21286989375241LL,0UL,0x3D1D17C5613C7426LL,0UL,0x3D1D17C5613C7426LL,0UL,0x4F21286989375241LL},{0x4F21286989375241LL,0x4F21286989375241LL,0xD21E1B024EE1E6FFLL,18446744073709551608UL,0UL,18446744073709551609UL,0x3D1D17C5613C7426LL,0x1F93B675C7FFA26ALL,1UL},{7UL,0x4B715075DEBA4ABELL,0x261E3912AF131DDBLL,5UL,1UL,0x102BD9A13E64B49DLL,0x102BD9A13E64B49DLL,1UL,5UL},{0xD21E1B024EE1E6FFLL,18446744073709551609UL,0xD21E1B024EE1E6FFLL,0xF25783BECC6D2D23LL,0UL,0x4B715075DEBA4ABELL,18446744073709551615UL,1UL,0UL}},{{18446744073709551609UL,0x261E3912AF131DDBLL,0x4F21286989375241LL,0UL,18446744073709551615UL,0x1F93B675C7FFA26ALL,5UL,0x1F93B675C7FFA26ALL,18446744073709551615UL},{0xF25783BECC6D2D23LL,5UL,5UL,0xF25783BECC6D2D23LL,0x261E3912AF131DDBLL,0xBB6C2E6E28A26AD8LL,0x1F93B675C7FFA26ALL,0UL,18446744073709551615UL},{0UL,0xD21E1B024EE1E6FFLL,0x3D1D17C5613C7426LL,5UL,0x102BD9A13E64B49DLL,0UL,0UL,0UL,0UL},{0x261E3912AF131DDBLL,18446744073709551608UL,0xF25783BECC6D2D23LL,18446744073709551608UL,0x261E3912AF131DDBLL,0UL,0xD21E1B024EE1E6FFLL,0x3D1D17C5613C7426LL,5UL},{0x261E3912AF131DDBLL,0xBB6C2E6E28A26AD8LL,0x1F93B675C7FFA26ALL,0UL,18446744073709551615UL,0xD21E1B024EE1E6FFLL,1UL,0x4B715075DEBA4ABELL,1UL},{0UL,0UL,7UL,7UL,0UL,0UL,18446744073709551609UL,0x261E3912AF131DDBLL,0x4F21286989375241LL},{0xF25783BECC6D2D23LL,0UL,0x4B715075DEBA4ABELL,18446744073709551615UL,1UL,0UL,7UL,18446744073709551608UL,18446744073709551608UL},{18446744073709551609UL,0xBB6C2E6E28A26AD8LL,0UL,0x3D1D17C5613C7426LL,0UL,0xBB6C2E6E28A26AD8LL,18446744073709551609UL,7UL,0x4B715075DEBA4ABELL},{0xD21E1B024EE1E6FFLL,18446744073709551608UL,0UL,18446744073709551609UL,0x3D1D17C5613C7426LL,0x1F93B675C7FFA26ALL,1UL,0xBB6C2E6E28A26AD8LL,0UL}}};
static int32_t ** volatile g_1261 = &g_239;/* VOLATILE GLOBAL g_1261 */
static const int32_t ** volatile g_1294 = &g_759;/* VOLATILE GLOBAL g_1294 */
static uint32_t ***g_1343 = &g_872;
static uint32_t ****g_1342[3][9][9] = {{{(void*)0,&g_1343,&g_1343,&g_1343,(void*)0,&g_1343,&g_1343,(void*)0,&g_1343},{(void*)0,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,(void*)0,(void*)0,&g_1343},{&g_1343,&g_1343,&g_1343,(void*)0,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343},{&g_1343,&g_1343,&g_1343,&g_1343,(void*)0,&g_1343,&g_1343,&g_1343,&g_1343},{&g_1343,&g_1343,(void*)0,(void*)0,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343},{&g_1343,(void*)0,&g_1343,&g_1343,(void*)0,&g_1343,&g_1343,&g_1343,&g_1343},{&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,(void*)0,&g_1343,(void*)0},{&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,(void*)0,&g_1343},{&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343}},{{(void*)0,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343},{&g_1343,(void*)0,&g_1343,&g_1343,&g_1343,(void*)0,&g_1343,&g_1343,&g_1343},{&g_1343,(void*)0,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343},{&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,(void*)0,(void*)0},{&g_1343,(void*)0,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343},{(void*)0,&g_1343,&g_1343,(void*)0,(void*)0,&g_1343,(void*)0,(void*)0,&g_1343},{&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343},{&g_1343,&g_1343,&g_1343,&g_1343,(void*)0,(void*)0,&g_1343,&g_1343,&g_1343},{&g_1343,&g_1343,&g_1343,(void*)0,&g_1343,(void*)0,&g_1343,&g_1343,&g_1343}},{{&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,(void*)0},{(void*)0,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343},{&g_1343,(void*)0,&g_1343,&g_1343,&g_1343,(void*)0,&g_1343,&g_1343,&g_1343},{&g_1343,(void*)0,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343},{&g_1343,(void*)0,(void*)0,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343},{&g_1343,&g_1343,&g_1343,(void*)0,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343},{&g_1343,&g_1343,&g_1343,(void*)0,&g_1343,&g_1343,&g_1343,&g_1343,(void*)0},{&g_1343,&g_1343,&g_1343,(void*)0,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343},{&g_1343,&g_1343,(void*)0,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343,&g_1343}}};
static uint32_t *g_1444 = &g_21[2];
static uint8_t g_1465 = 0x39L;
static const int32_t ** volatile g_1516 = &g_759;/* VOLATILE GLOBAL g_1516 */
static int32_t ** volatile g_1517[8] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static uint64_t **g_1522 = (void*)0;
static uint64_t *** volatile g_1521[2] = {&g_1522,&g_1522};
static uint64_t *** volatile g_1523 = &g_1522;/* VOLATILE GLOBAL g_1523 */
static uint64_t g_1736 = 1UL;
static const int32_t ** volatile g_1744 = (void*)0;/* VOLATILE GLOBAL g_1744 */
static int32_t ** volatile g_1773 = (void*)0;/* VOLATILE GLOBAL g_1773 */
static uint32_t **g_1796 = &g_1444;
static uint32_t ** volatile *g_1795 = &g_1796;
static uint32_t ** volatile * volatile *g_1794 = &g_1795;
static uint32_t ** volatile * volatile * volatile *g_1793 = &g_1794;
static int32_t g_1801 = (-1L);
static uint32_t g_1826 = 0x02B063C4L;
static int32_t g_1850 = (-2L);
static int32_t ** volatile g_1852[6][2] = {{&g_241,&g_241},{(void*)0,&g_241},{&g_241,(void*)0},{&g_241,&g_241},{(void*)0,&g_241},{&g_241,(void*)0}};
static int32_t ** volatile g_1853 = &g_239;/* VOLATILE GLOBAL g_1853 */
static int32_t g_1899 = 5L;
static int16_t *g_1907 = (void*)0;
static int32_t ** volatile g_1908 = &g_239;/* VOLATILE GLOBAL g_1908 */
static int32_t ** volatile g_1915[8] = {&g_239,&g_239,&g_239,&g_239,&g_239,&g_239,&g_239,&g_239};
static volatile uint32_t g_1920 = 3UL;/* VOLATILE GLOBAL g_1920 */
static int32_t ** volatile g_1996 = &g_241;/* VOLATILE GLOBAL g_1996 */
static int64_t g_2088 = 0xC676C0D550100EABLL;
static int64_t g_2149 = 0L;
static uint32_t g_2251[3][2][3] = {{{0UL,0x2C0463E7L,1UL},{0x5B851C4DL,0x2C0463E7L,0x5B851C4DL}},{{0x424579E6L,0UL,1UL},{0x424579E6L,0x424579E6L,0UL}},{{0x5B851C4DL,0UL,0UL},{0UL,0x2C0463E7L,1UL}}};
static int32_t * const  volatile g_2291 = &g_131[8];/* VOLATILE GLOBAL g_2291 */
static const int32_t ** volatile g_2297 = &g_759;/* VOLATILE GLOBAL g_2297 */
static int32_t ** volatile g_2304 = (void*)0;/* VOLATILE GLOBAL g_2304 */
static int32_t ** volatile g_2305[8] = {&g_239,&g_8[2],&g_239,&g_239,&g_8[2],&g_239,&g_239,&g_8[2]};
static int32_t ** volatile g_2356 = &g_239;/* VOLATILE GLOBAL g_2356 */
static int32_t ** volatile g_2415 = &g_239;/* VOLATILE GLOBAL g_2415 */
static int16_t * const * const *g_2429 = (void*)0;
static uint32_t ***g_2435 = &g_872;
static uint8_t g_2492 = 3UL;
static const int32_t g_2574 = 1L;
static int32_t g_2622 = 0x688CC613L;
static int32_t g_2627[7][9][1] = {{{(-6L)},{0xB272A17EL},{0x78DA62DAL},{0x78DA62DAL},{0xB272A17EL},{(-6L)},{1L},{0xB272A17EL},{1L}},{{(-6L)},{0xB272A17EL},{0x78DA62DAL},{0x78DA62DAL},{0xB272A17EL},{(-6L)},{1L},{0xB272A17EL},{1L}},{{(-6L)},{0xB272A17EL},{0x78DA62DAL},{0x78DA62DAL},{0xB272A17EL},{(-6L)},{1L},{0xB272A17EL},{1L}},{{(-6L)},{0xB272A17EL},{0x78DA62DAL},{0x78DA62DAL},{0xB272A17EL},{(-6L)},{1L},{0xB272A17EL},{1L}},{{(-6L)},{0xB272A17EL},{0x78DA62DAL},{0x78DA62DAL},{0xB272A17EL},{(-6L)},{1L},{0xB272A17EL},{1L}},{{(-6L)},{0xB272A17EL},{0x78DA62DAL},{0x78DA62DAL},{0xB272A17EL},{(-6L)},{1L},{0xB272A17EL},{1L}},{{(-6L)},{0xB272A17EL},{0x78DA62DAL},{0x78DA62DAL},{0xB272A17EL},{(-6L)},{1L},{0xB272A17EL},{1L}}};
static int16_t * volatile g_2649 = (void*)0;/* VOLATILE GLOBAL g_2649 */
static const volatile uint8_t g_2704 = 0xE3L;/* VOLATILE GLOBAL g_2704 */
static int32_t g_2761 = 0x8BD40B22L;
static int32_t ** volatile g_2796[6] = {&g_239,&g_239,&g_239,&g_239,&g_239,&g_239};
static int32_t ** volatile g_2797[4][9][7] = {{{&g_8[0],(void*)0,&g_241,(void*)0,&g_8[0],&g_8[2],&g_8[2]},{&g_8[3],&g_239,&g_241,&g_239,&g_8[3],&g_8[2],&g_8[2]},{&g_8[0],(void*)0,&g_241,(void*)0,&g_8[0],&g_8[2],&g_8[2]},{&g_8[3],&g_239,&g_241,&g_239,&g_8[3],&g_8[2],&g_8[2]},{&g_8[0],(void*)0,&g_241,(void*)0,&g_8[0],&g_8[2],&g_8[2]},{&g_8[2],&g_241,&g_8[2],&g_241,&g_8[2],&g_241,&g_241},{&g_8[2],&g_8[3],&g_241,&g_8[3],&g_8[2],&g_241,&g_241},{&g_8[2],&g_241,&g_8[2],&g_241,&g_8[2],&g_241,&g_241},{&g_8[2],&g_8[3],&g_241,&g_8[3],&g_8[2],&g_241,&g_241}},{{&g_8[2],&g_241,&g_8[2],&g_241,&g_8[2],&g_241,&g_241},{&g_8[2],&g_8[3],&g_241,&g_8[3],&g_8[2],&g_241,&g_241},{&g_8[2],&g_241,&g_8[2],&g_241,&g_8[2],&g_241,&g_241},{&g_8[2],&g_8[3],&g_241,&g_8[3],&g_8[2],&g_241,&g_241},{&g_8[2],&g_241,&g_8[2],&g_241,&g_8[2],&g_241,&g_241},{&g_8[2],&g_8[3],&g_241,&g_8[3],&g_8[2],&g_241,&g_241},{&g_8[2],&g_241,&g_8[2],&g_241,&g_8[2],&g_241,&g_241},{&g_8[2],&g_8[3],&g_241,&g_8[3],&g_8[2],&g_241,&g_241},{&g_8[2],&g_241,&g_8[2],&g_241,&g_8[2],&g_241,&g_241}},{{&g_8[2],&g_8[3],&g_241,&g_8[3],&g_8[2],&g_241,&g_241},{&g_8[2],&g_241,&g_8[2],&g_241,&g_8[2],&g_241,&g_241},{&g_8[2],&g_8[3],&g_241,&g_8[3],&g_8[2],&g_241,&g_241},{&g_8[2],&g_241,&g_8[2],&g_241,&g_8[2],&g_241,&g_241},{&g_8[2],&g_8[3],&g_241,&g_8[3],&g_8[2],&g_241,&g_241},{&g_8[2],&g_241,&g_8[2],&g_241,&g_8[2],&g_241,&g_241},{&g_8[2],&g_8[3],&g_241,&g_8[3],&g_8[2],&g_241,&g_241},{&g_8[2],&g_241,&g_8[2],&g_241,&g_8[2],&g_241,&g_241},{&g_8[2],&g_8[3],&g_241,&g_8[3],&g_8[2],&g_241,&g_241}},{{&g_8[2],&g_241,&g_8[2],&g_241,&g_8[2],&g_241,&g_241},{&g_8[2],&g_8[3],&g_241,&g_8[3],&g_8[2],&g_241,&g_241},{&g_8[2],&g_241,&g_8[2],&g_241,&g_8[2],&g_241,&g_241},{&g_8[2],&g_8[3],&g_241,&g_8[3],&g_8[2],&g_241,&g_241},{&g_8[2],&g_241,&g_8[2],&g_241,&g_8[2],&g_241,&g_241},{&g_8[2],&g_8[0],(void*)0,&g_8[0],&g_241,&g_241,&g_241},{&g_241,&g_8[3],&g_8[2],&g_8[3],&g_241,&g_8[2],&g_8[2]},{&g_241,&g_8[0],(void*)0,&g_8[0],&g_241,&g_241,&g_241},{&g_241,&g_8[3],&g_8[2],&g_8[3],&g_241,&g_8[2],&g_8[2]}}};
static int32_t ** volatile g_2955 = (void*)0;/* VOLATILE GLOBAL g_2955 */
static int32_t ** volatile g_2956 = &g_239;/* VOLATILE GLOBAL g_2956 */
static volatile int8_t g_2957[8] = {3L,(-8L),3L,(-8L),3L,(-8L),3L,(-8L)};
static int32_t g_2960 = 0L;
static uint64_t ***g_3017[1][9] = {{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}};
static int32_t ** volatile g_3048 = &g_241;/* VOLATILE GLOBAL g_3048 */
static int16_t * const *g_3057 = &g_1907;
static int16_t * const ** volatile g_3056 = &g_3057;/* VOLATILE GLOBAL g_3056 */
static int32_t * volatile g_3129 = (void*)0;/* VOLATILE GLOBAL g_3129 */
static const uint32_t ***g_3149 = &g_940;
static const uint32_t *** const *g_3148 = &g_3149;
static const uint32_t *** const **g_3147 = &g_3148;
static int32_t * volatile g_3173 = &g_131[5];/* VOLATILE GLOBAL g_3173 */
static int32_t * volatile g_3197 = &g_9;/* VOLATILE GLOBAL g_3197 */
static volatile uint32_t *g_3206 = (void*)0;
static volatile uint32_t **g_3205 = &g_3206;
static volatile uint32_t *** const g_3204 = &g_3205;
static volatile uint32_t *** const  volatile *g_3203 = &g_3204;
static volatile uint32_t *** const  volatile ** const g_3202 = &g_3203;
static volatile uint32_t *** const  volatile ** const *g_3201 = &g_3202;
static volatile uint32_t *** const  volatile ** const **g_3200 = &g_3201;
static uint64_t g_3226 = 0x56718FBC5C96229FLL;
static volatile uint16_t g_3230 = 4UL;/* VOLATILE GLOBAL g_3230 */
static int32_t g_3231[1][3][3] = {{{0x225A8AF4L,0x225A8AF4L,(-8L)},{0x225A8AF4L,0x225A8AF4L,(-8L)},{0x225A8AF4L,0x225A8AF4L,(-8L)}}};
static volatile int32_t g_3244 = 1L;/* VOLATILE GLOBAL g_3244 */
static volatile int32_t *g_3243 = &g_3244;
static volatile int32_t * volatile * volatile g_3242 = &g_3243;/* VOLATILE GLOBAL g_3242 */
static volatile uint16_t g_3253[3][2][4] = {{{0x2918L,0x73E3L,0x2918L,0x9360L},{0x2918L,0x9360L,0x9360L,0x2918L}},{{0x22DCL,0x9360L,0UL,0x9360L},{0x9360L,0x73E3L,0UL,0UL}},{{0x22DCL,0x22DCL,0x9360L,0UL},{0x2918L,0x73E3L,0x2918L,0x9360L}}};
static volatile uint16_t g_3316 = 65526UL;/* VOLATILE GLOBAL g_3316 */
static int8_t * const * volatile g_3341 = &g_158;/* VOLATILE GLOBAL g_3341 */
static int8_t * const * volatile *g_3340 = &g_3341;
static int8_t * const * volatile ** volatile g_3339[1][3][3] = {{{&g_3340,&g_3340,&g_3340},{&g_3340,&g_3340,&g_3340},{&g_3340,&g_3340,&g_3340}}};
static volatile uint16_t g_3379[1] = {1UL};
static uint32_t ***g_3388 = (void*)0;
static uint32_t ****g_3387[3][7][5] = {{{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388}},{{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388}},{{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388},{&g_3388,(void*)0,(void*)0,&g_3388,&g_3388}}};
static volatile uint64_t g_3557 = 18446744073709551606UL;/* VOLATILE GLOBAL g_3557 */
static int32_t * volatile g_3564 = (void*)0;/* VOLATILE GLOBAL g_3564 */
static const int32_t ** const  volatile g_3567 = &g_759;/* VOLATILE GLOBAL g_3567 */
static int32_t ** volatile g_3609[10][4] = {{(void*)0,(void*)0,(void*)0,&g_239},{(void*)0,(void*)0,&g_8[2],&g_239},{&g_239,&g_8[0],&g_8[2],(void*)0},{&g_239,&g_8[2],&g_8[2],&g_239},{&g_239,&g_239,&g_8[2],(void*)0},{(void*)0,&g_8[2],(void*)0,&g_8[2]},{(void*)0,&g_8[2],(void*)0,&g_8[2]},{&g_8[2],&g_8[2],&g_8[0],(void*)0},{&g_8[2],&g_239,&g_8[2],&g_239},{&g_8[0],&g_8[2],(void*)0,(void*)0}};
static int32_t ** volatile g_3610[5] = {&g_8[2],&g_8[2],&g_8[2],&g_8[2],&g_8[2]};
static int32_t ** volatile g_3611[2][6] = {{&g_8[3],&g_8[3],&g_8[3],&g_8[3],&g_8[3],&g_8[3]},{&g_8[3],&g_8[3],&g_8[3],&g_8[3],&g_8[3],&g_8[3]}};
static uint32_t g_3724 = 0xA0E47703L;
static int16_t **g_3733 = (void*)0;
static int16_t **g_3734 = (void*)0;
static uint32_t g_3772 = 0UL;
static int32_t g_3808 = 0x9AD58649L;
static const uint64_t *g_3843 = &g_1156[2][3][2];
static const uint64_t **g_3842 = &g_3843;
static const uint64_t ***g_3841 = &g_3842;
static int32_t g_3845 = 0x21EF946DL;
static uint16_t **g_3867 = (void*)0;
static uint32_t *****g_3911 = &g_1342[2][2][5];
static uint32_t ******g_3910 = &g_3911;
static int16_t g_3916 = 8L;
static int32_t *g_3954 = &g_3231[0][0][0];
static int32_t **g_3953 = &g_3954;
static int32_t ***g_3952 = &g_3953;
static uint8_t g_3958[1][5][1] = {{{0xD0L},{1UL},{0xD0L},{1UL},{0xD0L}}};
static const int8_t *g_4003 = &g_359[3];
static const int8_t **g_4002 = &g_4003;


/* --- FORWARD DECLARATIONS --- */
static int64_t  func_1(void);
static int32_t * func_2(int32_t * p_3, uint64_t  p_4, int32_t  p_5, int32_t * p_6, int32_t * p_7);
static uint32_t  func_17(uint32_t  p_18);
static uint64_t  func_25(uint32_t * p_26, uint32_t * p_27, uint64_t  p_28, uint32_t * p_29);
static uint32_t * func_30(uint32_t * p_31, uint32_t * p_32);
static uint32_t * func_33(const int32_t * p_34);
static int32_t * func_35(uint32_t * p_36, uint32_t * p_37, uint32_t * p_38, const uint8_t  p_39);
static uint32_t * func_40(uint32_t  p_41);
static int32_t  func_45(uint16_t  p_46, uint32_t  p_47, const uint32_t * p_48);
static const uint32_t * func_51(int8_t  p_52, uint32_t  p_53, int32_t  p_54, int32_t * p_55, uint64_t  p_56);


/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/* 
 * reads : g_8 g_358 g_2415 g_239 g_157 g_158 g_71 g_3056 g_3057 g_1907 g_131 g_896 g_404 g_1795 g_1796 g_1444 g_21 g_272 g_1294 g_759 g_2956 g_513 g_514 g_1156 g_3340 g_3341 g_241 g_1793 g_1794 g_926 g_596 g_9 g_3316 g_2704 g_357 g_1055 g_1056 g_74 g_3226 g_3557 g_1850 g_824 g_3567 g_359 g_236 g_431 g_386 g_1826 g_83 g_2492 g_233 g_756 g_331 g_523 g_1465 g_1899 g_378 g_3200 g_3201 g_3202 g_3203 g_3724 g_2622 g_3242 g_3243 g_3244 g_217 g_3197 g_742 g_575 g_3772 g_2435 g_872 g_873 g_3204 g_3205 g_3206 g_3231 g_3808 g_3841 g_3845 g_1516 g_2960 g_3911 g_1342 g_3048 g_3843 g_4002 g_4003
 * writes: g_21 g_241 g_742 g_756 g_131 g_493 g_78 g_514 g_1156 g_1736 g_1465 g_404 g_71 g_759 g_513 g_9 g_331 g_3231 g_1444 g_236 g_135 g_386 g_1826 g_83 g_360 g_3724 g_357 g_3733 g_3734 g_1801 g_2622 g_358 g_3841 g_1899 g_8 g_4002
 */
static int64_t  func_1(void)
{ /* block id: 0 */
    uint16_t l_19 = 0xB8F6L;
    uint32_t *l_20 = &g_21[0];
    int8_t l_3062 = 0L;
    int64_t l_3064 = (-1L);
    int32_t **l_3066 = &g_241;
    int16_t *l_3072 = &g_236;
    int16_t **l_3085 = &l_3072;
    int16_t ***l_3084 = &l_3085;
    int16_t ****l_3083 = &l_3084;
    uint32_t * const *l_3091 = (void*)0;
    uint32_t * const **l_3090 = &l_3091;
    uint32_t * const ***l_3089[1];
    int32_t l_3109 = 0x7E4101ECL;
    uint32_t l_3126 = 18446744073709551608UL;
    uint64_t **l_3163 = &g_513;
    int64_t l_3250 = 1L;
    int32_t l_3252 = 0L;
    uint32_t l_3308 = 4UL;
    int8_t l_3411 = (-1L);
    uint32_t *****l_3484 = &g_3387[0][2][1];
    int32_t l_3514[8] = {(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)};
    const uint32_t l_3531 = 0xAB034A6DL;
    uint8_t l_3559[8][9] = {{0UL,1UL,1UL,0UL,0xB3L,0UL,1UL,1UL,0UL},{1UL,1UL,0x87L,1UL,1UL,1UL,1UL,0x87L,1UL},{1UL,0xB3L,0x87L,0x87L,0xB3L,1UL,0xB3L,0x87L,0x87L},{1UL,1UL,1UL,0x87L,1UL,1UL,1UL,1UL,0x87L},{0UL,0xB3L,0UL,1UL,1UL,0UL,0xB3L,0UL,1UL},{0UL,1UL,1UL,0UL,0xB3L,0UL,1UL,1UL,0UL},{1UL,1UL,0x87L,1UL,1UL,1UL,1UL,0x87L,1UL},{1UL,0xB3L,0x87L,0x87L,0xB3L,1UL,0xB3L,0x87L,0x87L}};
    uint16_t l_3593 = 65534UL;
    int8_t l_3657 = 0x32L;
    int32_t l_3752 = 2L;
    uint8_t l_3773 = 0UL;
    int32_t l_3776 = 1L;
    int16_t l_3783 = 0xF4F4L;
    uint32_t l_3795 = 1UL;
    int64_t l_3831 = 2L;
    uint32_t *****l_3894[1][2];
    uint32_t ******l_3893[6] = {&l_3894[0][0],&l_3894[0][1],&l_3894[0][0],&l_3894[0][0],&l_3894[0][1],&l_3894[0][0]};
    uint32_t l_3946 = 1UL;
    int8_t **l_3965 = (void*)0;
    const int64_t l_3997 = (-7L);
    int32_t l_3998 = 0x2123F33FL;
    int i, j;
    for (i = 0; i < 1; i++)
        l_3089[i] = &l_3090;
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 2; j++)
            l_3894[i][j] = &g_1342[0][1][0];
    }
lbl_3139:
    (*l_3066) = func_2(g_8[2], (0xB1A9565E08CCCDDDLL <= (~(safe_lshift_func_uint16_t_u_u(0x2F76L, 12)))), ((safe_mul_func_uint16_t_u_u(((safe_div_func_uint64_t_u_u(((func_17(((*l_20) = l_19)) == (l_19 <= (((l_3062 < ((!1UL) , 0x135548D3L)) == l_3062) & l_3064))) && l_3062), l_3064)) , g_358), l_3062)) , 0x6FCCF454L), (*g_2415), l_20);
lbl_3847:
    for (g_742 = 7; (g_742 >= 53); ++g_742)
    { /* block id: 1296 */
        int32_t l_3082 = 0xAEF158FAL;
        uint8_t l_3110[1][4][2] = {{{0x58L,0x58L},{0x58L,0x58L},{0x58L,0x58L},{0x58L,0x58L}}};
        int32_t l_3195 = 0xFD3BB18BL;
        uint32_t **l_3211 = &g_873;
        int8_t l_3237 = 0x7FL;
        int32_t l_3238 = 0xEBB1A8A0L;
        uint32_t l_3262[8][8] = {{0UL,1UL,0xCCF04517L,0x47151418L,0x549F7145L,0x549F7145L,0x47151418L,0xCCF04517L},{0x004628F1L,0x004628F1L,6UL,0x415547CBL,18446744073709551615UL,18446744073709551610UL,0xF2D3065AL,0x549F7145L},{6UL,7UL,18446744073709551610UL,0xCE177866L,1UL,0UL,18446744073709551614UL,0x549F7145L},{7UL,18446744073709551614UL,0x47151418L,0x415547CBL,18446744073709551615UL,0x8E5B83E1L,18446744073709551610UL,0xCCF04517L},{0xDF852EADL,0xCCF04517L,0x622710D1L,0UL,0x622710D1L,18446744073709551611UL,18446744073709551610UL,0x8E5B83E1L},{0UL,7UL,0x47151418L,18446744073709551614UL,6UL,0x549F7145L,18446744073709551614UL,18446744073709551615UL},{0UL,0x47151418L,18446744073709551615UL,18446744073709551615UL,6UL,0x8A929EB5L,0x549F7145L,0UL},{0UL,18446744073709551614UL,18446744073709551612UL,18446744073709551615UL,0x622710D1L,0x415547CBL,0x415547CBL,0x622710D1L}};
        int32_t l_3279 = 0x506E521BL;
        uint16_t * const l_3331 = &g_386;
        uint32_t ***l_3361 = &g_1796;
        uint32_t ****l_3360 = &l_3361;
        uint32_t *****l_3359 = &l_3360;
        uint64_t l_3426[1];
        uint32_t l_3430[8][8][4] = {{{0x0CA7DFD0L,0x2C13D7EBL,0xF4ED41C1L,0x8F3AD9C5L},{18446744073709551608UL,18446744073709551613UL,0x39DAD0BAL,0x8DB0C40DL},{0x16649887L,0x1A115CDBL,0xC26F3245L,0x16649887L},{18446744073709551615UL,0xF5C16F7EL,0UL,0xF07F213EL},{0UL,18446744073709551615UL,0xE4F705D9L,0x70F60115L},{0xE9DDEBD5L,0UL,0x9DBBD516L,0x76E44BAAL},{2UL,0x7D0A500CL,0xC5ECB47CL,0xF07F213EL},{5UL,18446744073709551607UL,0x4B1A65ACL,0x6341A2CCL}},{{0x027311E5L,0x1A115CDBL,2UL,5UL},{1UL,0x16649887L,1UL,0x8F3AD9C5L},{0x7D0A500CL,0xF7029C86L,0xEDB6E677L,0x027311E5L},{7UL,0xC26F3245L,18446744073709551615UL,0xF7029C86L},{18446744073709551615UL,0x7C03A343L,18446744073709551615UL,2UL},{7UL,0x76E44BAAL,0xEDB6E677L,6UL},{0x7D0A500CL,0UL,1UL,0UL},{1UL,0UL,2UL,18446744073709551615UL}},{{0x027311E5L,18446744073709551615UL,0x4B1A65ACL,0UL},{5UL,0xB3CF09E6L,0xC5ECB47CL,0xF5C16F7EL},{2UL,0x6F75849AL,0x9DBBD516L,0x8F3AD9C5L},{0xE9DDEBD5L,0UL,0xE4F705D9L,18446744073709551607UL},{0UL,0xB3CF09E6L,0UL,0x6F75849AL},{18446744073709551615UL,0x027311E5L,0xC26F3245L,18446744073709551615UL},{0x16649887L,5UL,0x39DAD0BAL,0xE9DDEBD5L},{18446744073709551608UL,0UL,0xF4ED41C1L,18446744073709551615UL}},{{0x0CA7DFD0L,18446744073709551608UL,1UL,2UL},{0xF5C16F7EL,5UL,0x4B1A65ACL,7UL},{18446744073709551607UL,0xC26F3245L,18446744073709551613UL,18446744073709551615UL},{0x0CA7DFD0L,7UL,18446744073709551615UL,0x8F3AD9C5L},{0x76E44BAAL,0x6341A2CCL,0x39DAD0BAL,0x7C03A343L},{18446744073709551613UL,0x1A115CDBL,0x1A115CDBL,18446744073709551613UL},{18446744073709551615UL,0x804D2138L,18446744073709551615UL,0xF07F213EL},{0UL,6UL,0xE4F705D9L,18446744073709551608UL}},{{5UL,0UL,1UL,18446744073709551608UL},{2UL,6UL,0x8F3AD9C5L,0xF07F213EL},{0x8DB0C40DL,0x804D2138L,0x4B1A65ACL,18446744073709551613UL},{0x08907278L,0x1A115CDBL,18446744073709551615UL,0x7C03A343L},{1UL,0x6341A2CCL,2UL,0x8F3AD9C5L},{6UL,7UL,0xEDB6E677L,18446744073709551615UL},{0x2C13D7EBL,0xC26F3245L,0UL,7UL},{18446744073709551615UL,5UL,5UL,2UL}},{{0UL,0xF07F213EL,0xF5C16F7EL,0xC5ECB47CL},{0xC5ECB47CL,0xE4F705D9L,0x4212DA40L,18446744073709551613UL},{8UL,1UL,0x46A9B2BDL,0x41B5E775L},{2UL,1UL,5UL,0xC26F3245L},{0xF4ED41C1L,0UL,0x219E566EL,2UL},{0x5C977DCEL,0x1A115CDBL,0x32D9DBCEL,18446744073709551611UL},{6UL,0xC26F3245L,0x804D2138L,1UL},{0xC26F3245L,0UL,0UL,0xB3CF09E6L}},{{0x1C1C36D4L,2UL,0UL,0x41B5E775L},{0UL,6UL,18446744073709551607UL,6UL},{18446744073709551615UL,0xE4F705D9L,0x1D659D73L,0x8F3AD9C5L},{0x4212DA40L,2UL,0xA15895A1L,18446744073709551607UL},{0x0CA7DFD0L,0xF4ED41C1L,5UL,0UL},{0x0CA7DFD0L,0x12B5F62FL,0xA15895A1L,1UL},{0x4212DA40L,0UL,0x1D659D73L,18446744073709551611UL},{18446744073709551615UL,18446744073709551615UL,18446744073709551607UL,0x7014BF0EL}},{{0UL,0xA50D0000L,0UL,0UL},{0x1C1C36D4L,2UL,0UL,0x46A9B2BDL},{0xC26F3245L,0x64CA7066L,0x804D2138L,2UL},{6UL,0xE4F705D9L,0x32D9DBCEL,18446744073709551615UL},{0x5C977DCEL,0xC5ECB47CL,0x219E566EL,0x46A9B2BDL},{0xF4ED41C1L,1UL,5UL,18446744073709551615UL},{2UL,0xA50D0000L,0x46A9B2BDL,18446744073709551615UL},{8UL,0x77C876E5L,0x4212DA40L,18446744073709551611UL}}};
        int16_t l_3433 = 0L;
        uint32_t l_3462 = 4294967292UL;
        uint64_t l_3509 = 18446744073709551612UL;
        int32_t l_3558 = 0xD8AEDF49L;
        int64_t ***l_3598 = &g_931;
        int64_t ****l_3597 = &l_3598;
        int32_t *l_3612 = &g_131[8];
        const uint32_t l_3697 = 1UL;
        int8_t l_3707 = (-1L);
        int64_t l_3714 = 0x52C5410DABF3F226LL;
        uint16_t l_3729 = 65535UL;
        int i, j, k;
        for (i = 0; i < 1; i++)
            l_3426[i] = 0xDD188ADAC117625FLL;
        for (g_756 = 0; (g_756 >= 9); g_756 = safe_add_func_uint64_t_u_u(g_756, 8))
        { /* block id: 1299 */
            int16_t **l_3071 = (void*)0;
            int32_t *l_3073 = &g_131[8];
            int16_t * const ** const l_3079 = &g_3057;
            int16_t * const ** const *l_3078 = &l_3079;
            (*l_3073) ^= (l_19 == ((l_3072 = (void*)0) != ((**g_157) , (**g_3056))));
            for (g_493 = 0; (g_493 <= 8); g_493 += 1)
            { /* block id: 1304 */
                const uint32_t ***l_3077[5][9][5] = {{{&g_940,&g_940,&g_940,&g_940,&g_940},{(void*)0,(void*)0,&g_940,&g_940,&g_940},{&g_940,&g_940,&g_940,&g_940,&g_940},{&g_940,&g_940,&g_940,(void*)0,(void*)0},{&g_940,&g_940,&g_940,&g_940,&g_940},{&g_940,&g_940,&g_940,&g_940,&g_940},{&g_940,(void*)0,&g_940,&g_940,&g_940},{&g_940,&g_940,&g_940,&g_940,&g_940},{&g_940,(void*)0,(void*)0,&g_940,&g_940}},{{&g_940,(void*)0,&g_940,(void*)0,&g_940},{&g_940,&g_940,&g_940,&g_940,&g_940},{&g_940,&g_940,&g_940,&g_940,(void*)0},{&g_940,&g_940,&g_940,&g_940,(void*)0},{&g_940,&g_940,&g_940,&g_940,(void*)0},{(void*)0,&g_940,&g_940,&g_940,&g_940},{&g_940,&g_940,&g_940,&g_940,&g_940},{&g_940,&g_940,&g_940,&g_940,&g_940},{(void*)0,(void*)0,&g_940,(void*)0,&g_940}},{{&g_940,(void*)0,&g_940,&g_940,&g_940},{&g_940,&g_940,&g_940,(void*)0,&g_940},{&g_940,&g_940,&g_940,&g_940,&g_940},{(void*)0,(void*)0,&g_940,&g_940,(void*)0},{&g_940,&g_940,&g_940,(void*)0,&g_940},{(void*)0,&g_940,&g_940,&g_940,&g_940},{(void*)0,&g_940,&g_940,&g_940,&g_940},{&g_940,&g_940,&g_940,(void*)0,&g_940},{(void*)0,&g_940,&g_940,(void*)0,&g_940}},{{&g_940,&g_940,&g_940,&g_940,&g_940},{&g_940,&g_940,&g_940,&g_940,&g_940},{&g_940,&g_940,&g_940,&g_940,&g_940},{&g_940,&g_940,&g_940,&g_940,(void*)0},{&g_940,(void*)0,&g_940,(void*)0,&g_940},{&g_940,&g_940,&g_940,(void*)0,&g_940},{&g_940,(void*)0,&g_940,&g_940,&g_940},{&g_940,&g_940,&g_940,&g_940,&g_940},{&g_940,&g_940,&g_940,&g_940,&g_940}},{{&g_940,&g_940,&g_940,&g_940,(void*)0},{&g_940,&g_940,&g_940,&g_940,&g_940},{(void*)0,&g_940,&g_940,&g_940,&g_940},{&g_940,(void*)0,&g_940,&g_940,&g_940},{&g_940,&g_940,&g_940,&g_940,&g_940},{(void*)0,&g_940,&g_940,(void*)0,&g_940},{&g_940,&g_940,&g_940,&g_940,&g_940},{&g_940,(void*)0,&g_940,(void*)0,&g_940},{(void*)0,&g_940,(void*)0,(void*)0,&g_940}}};
                const uint32_t ****l_3076 = &l_3077[4][7][2];
                int i, j, k;
                (*l_3073) = ((9UL >= (*g_896)) ^ ((((&g_1343 != l_3076) ^ 18446744073709551615UL) || ((l_3078 == (((safe_add_func_int64_t_s_s(l_3082, (&g_487 == (void*)0))) <= (***g_1795)) , l_3083)) < g_272[2])) , (*g_896)));
            }
        }
        if ((**g_1294))
            break;
        for (g_78 = 0; (g_78 == 29); g_78 = safe_add_func_uint32_t_u_u(g_78, 1))
        { /* block id: 1311 */
            uint16_t *l_3088[8];
            int64_t *l_3104 = &g_493;
            int32_t l_3107[10][3][8] = {{{0L,(-1L),0x82183AA1L,0x430DB922L,0x430DB922L,0x82183AA1L,(-1L),0L},{1L,1L,0x0023B5CBL,0x1648377BL,1L,9L,0L,(-7L)},{0xC335D4E0L,0x085648B6L,(-9L),0x93C7A49CL,0x1648377BL,9L,(-1L),0L}},{{0x7466D492L,1L,0xFB031F4EL,1L,0xBC94D30DL,0x82183AA1L,0x7FCCDCB5L,1L},{0L,(-1L),0x35F69FC3L,0x0023B5CBL,(-1L),0L,0xEB12BEFFL,0x93C7A49CL},{0xFE355048L,0xEB12BEFFL,0L,(-9L),0L,1L,0xA2F912DAL,0x1C6BAEF8L}},{{0xA0B5160CL,(-9L),(-5L),0x7FCCDCB5L,1L,4L,0x7FCCDCB5L,4L},{0x085648B6L,1L,0L,0x35F69FC3L,(-9L),(-1L),(-1L),1L},{1L,(-1L),(-1L),0xF3E790DBL,1L,(-5L),0L,0x57D5298DL}},{{(-1L),(-1L),0xA2F912DAL,4L,1L,0xFE355048L,1L,4L},{0L,0x085648B6L,0L,(-1L),0x1C6BAEF8L,8L,4L,0x0023B5CBL},{(-9L),0x57D5298DL,(-7L),0x0C1FCFB8L,0xFB031F4EL,1L,0x1C6BAEF8L,(-7L)}},{{(-9L),0L,(-6L),0xEB12BEFFL,0x1C6BAEF8L,1L,(-10L),0x1C6BAEF8L},{0L,0L,0x82183AA1L,0L,1L,(-1L),0x57D5298DL,(-1L)},{(-1L),1L,0x46D383CBL,(-6L),1L,(-1L),(-1L),0xEA62D86FL}},{{1L,9L,0x93C7A49CL,1L,0x0C1FCFB8L,(-7L),9L,0x0023B5CBL},{0xFB031F4EL,0L,0x488FE14CL,0x82183AA1L,0L,(-1L),(-1L),(-10L)},{0L,0xFB031F4EL,0xF7ED8110L,0xA737219DL,(-1L),1L,(-10L),0x82183AA1L}},{{0x35F69FC3L,1L,0L,0xF3E790DBL,(-1L),0xE51B624CL,0x0C1FCFB8L,0x0C1FCFB8L},{(-1L),0x085648B6L,0x488FE14CL,0x488FE14CL,0x085648B6L,(-1L),1L,0xA737219DL},{(-1L),(-1L),0L,0x1C6BAEF8L,0x57D5298DL,(-5L),(-1L),(-1L)}},{{0x1648377BL,(-1L),(-1L),0x1C6BAEF8L,0L,0x430DB922L,1L,0xA737219DL},{(-1L),0L,0x82183AA1L,0x488FE14CL,0L,0xFB031F4EL,(-1L),0x0C1FCFB8L},{0x0023B5CBL,(-1L),0x57D5298DL,0xF3E790DBL,1L,(-2L),0x1C6BAEF8L,0x82183AA1L}},{{(-1L),(-8L),(-1L),0xA737219DL,9L,0xFE355048L,0x085648B6L,(-10L)},{(-1L),1L,0L,0x82183AA1L,0L,0L,0x8098E76EL,0x0023B5CBL},{(-10L),0xF7ED8110L,0xEA62D86FL,1L,0xFB031F4EL,(-1L),0L,0xEA62D86FL}},{{0x1648377BL,0L,0x7466D492L,(-6L),1L,(-9L),(-10L),(-1L)},{8L,0x1C6BAEF8L,(-1L),0L,0x085648B6L,0L,(-1L),0x1C6BAEF8L},{(-1L),0x8098E76EL,(-1L),0xEB12BEFFL,(-1L),(-1L),(-8L),(-7L)}}};
            int32_t l_3108 = 6L;
            uint32_t *****l_3122 = (void*)0;
            uint32_t ****** const l_3121 = &l_3122;
            uint32_t ****** const *l_3120 = &l_3121;
            uint32_t l_3125 = 18446744073709551606UL;
            const int16_t **l_3135 = &g_1056[1];
            int8_t l_3251[9][2] = {{1L,1L},{0xC0L,1L},{1L,9L},{0x18L,0x7BL},{0xC0L,0x18L},{0x7BL,0x65L},{0x5EL,9L},{0x00L,0x5EL},{9L,0x65L}};
            uint32_t l_3277 = 3UL;
            const uint32_t *l_3302 = (void*)0;
            const uint32_t **l_3301 = &l_3302;
            uint32_t ***** const l_3304 = (void*)0;
            const int16_t l_3363 = (-5L);
            uint8_t l_3364 = 8UL;
            uint64_t l_3367[2];
            uint32_t ****l_3386 = &l_3361;
            uint64_t l_3410 = 3UL;
            const uint32_t ***l_3413 = &l_3301;
            int32_t l_3424 = 0xF5B5EB8AL;
            int i, j, k;
            for (i = 0; i < 8; i++)
                l_3088[i] = &g_217;
            for (i = 0; i < 2; i++)
                l_3367[i] = 6UL;
            (*l_3066) = (*g_2956);
        }
        if ((safe_add_func_uint16_t_u_u(l_3430[0][0][0], (l_3433 >= (0x19058A433525135ELL != (++(**l_3163)))))))
        { /* block id: 1487 */
            uint32_t ** const *l_3445[6][5];
            uint32_t ** const **l_3444[10][9][2] = {{{&l_3445[1][3],(void*)0},{(void*)0,(void*)0},{&l_3445[1][3],&l_3445[1][3]},{(void*)0,&l_3445[3][1]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],&l_3445[3][4]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]}},{{&l_3445[3][4],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[3][4],(void*)0},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[3][2],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[3][2],&l_3445[1][3]}},{{(void*)0,&l_3445[3][2]},{(void*)0,(void*)0},{&l_3445[1][3],&l_3445[1][2]},{&l_3445[1][3],&l_3445[3][2]},{(void*)0,&l_3445[3][1]},{&l_3445[3][2],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[2][4],&l_3445[3][4]},{&l_3445[3][2],(void*)0}},{{&l_3445[1][3],(void*)0},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],(void*)0},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],(void*)0},{&l_3445[1][3],(void*)0},{&l_3445[3][2],&l_3445[3][4]},{&l_3445[2][4],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]}},{{&l_3445[3][2],&l_3445[3][1]},{(void*)0,&l_3445[3][2]},{&l_3445[1][3],&l_3445[1][2]},{&l_3445[1][3],(void*)0},{(void*)0,&l_3445[3][2]},{(void*)0,&l_3445[1][3]},{&l_3445[3][2],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]}},{{&l_3445[3][2],&l_3445[1][3]},{&l_3445[1][3],(void*)0},{&l_3445[3][4],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[3][4],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],&l_3445[3][4]},{&l_3445[1][3],&l_3445[1][3]}},{{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],&l_3445[3][1]},{(void*)0,&l_3445[1][3]},{&l_3445[1][3],(void*)0},{(void*)0,(void*)0},{&l_3445[1][3],&l_3445[1][3]},{(void*)0,&l_3445[3][1]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]}},{{&l_3445[1][3],&l_3445[3][4]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[3][4],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[3][4],(void*)0},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[3][2],&l_3445[1][3]}},{{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[3][2],&l_3445[1][3]},{(void*)0,&l_3445[3][2]},{(void*)0,(void*)0},{&l_3445[1][3],&l_3445[1][2]},{&l_3445[1][3],&l_3445[3][2]},{(void*)0,&l_3445[3][1]},{&l_3445[3][2],&l_3445[1][3]}},{{&l_3445[1][3],&l_3445[1][3]},{&l_3445[2][4],&l_3445[3][4]},{&l_3445[3][2],(void*)0},{&l_3445[1][3],(void*)0},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],(void*)0},{&l_3445[1][3],&l_3445[1][3]},{&l_3445[1][3],(void*)0},{&l_3445[1][3],(void*)0}}};
            const uint64_t **l_3458 = (void*)0;
            int32_t l_3459 = 0L;
            int32_t l_3460[8] = {(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L),(-9L)};
            uint8_t l_3478 = 0x10L;
            uint16_t l_3489 = 0x1A73L;
            uint32_t l_3551 = 0xD201A9A4L;
            const int32_t l_3592 = (-10L);
            int i, j, k;
            for (i = 0; i < 6; i++)
            {
                for (j = 0; j < 5; j++)
                    l_3445[i][j] = &g_1796;
            }
            for (g_1736 = (-1); (g_1736 >= 36); ++g_1736)
            { /* block id: 1490 */
                uint32_t l_3456 = 0x6396E173L;
                int32_t l_3461[1][5][1];
                uint32_t l_3473[5] = {0xF4E104AAL,0xF4E104AAL,0xF4E104AAL,0xF4E104AAL,0xF4E104AAL};
                uint8_t l_3556 = 255UL;
                int32_t l_3560 = 0L;
                int64_t ****l_3596 = (void*)0;
                int32_t l_3605 = 0x29520EA8L;
                int32_t *l_3608[9] = {&g_131[1],&g_131[1],&g_131[1],&g_131[1],&g_131[1],&g_131[1],&g_131[1],&g_131[1],&g_131[1]};
                int i, j, k;
                for (i = 0; i < 1; i++)
                {
                    for (j = 0; j < 5; j++)
                    {
                        for (k = 0; k < 1; k++)
                            l_3461[i][j][k] = 0xE76C7BB1L;
                    }
                }
                for (g_1465 = 0; (g_1465 == 18); g_1465 = safe_add_func_uint64_t_u_u(g_1465, 8))
                { /* block id: 1493 */
                    const uint64_t l_3454 = 18446744073709551610UL;
                    uint64_t **l_3457 = &g_513;
                    int32_t l_3472[2][10] = {{0x42803687L,0xAE905844L,0x42803687L,0xAE905844L,0x42803687L,0xAE905844L,0x42803687L,0xAE905844L,0x42803687L,0xAE905844L},{0x42803687L,0xAE905844L,0x42803687L,0xAE905844L,0x42803687L,0xAE905844L,0x42803687L,0xAE905844L,0x42803687L,0xAE905844L}};
                    uint8_t * const l_3487 = &l_3110[0][2][0];
                    int i, j;
                    if ((((safe_add_func_uint64_t_u_u((safe_lshift_func_int16_t_s_s((((void*)0 == l_3444[4][2][0]) >= (safe_add_func_uint32_t_u_u(((****l_3360) = (**g_1796)), 0L))), (l_3461[0][0][0] = (((**g_157) < 4L) <= ((safe_div_func_uint8_t_u_u((safe_rshift_func_uint8_t_u_s((safe_div_func_uint8_t_u_u((l_3454 ^ ((!(((*g_896) = l_3456) , ((l_3457 != l_3458) != 0x0B72L))) ^ l_3459)), l_3456)), (*g_158))), (***g_3340))) , l_3460[4]))))), (-1L))) , (***g_1795)) > l_3456))
                    { /* block id: 1497 */
                        (*l_3066) = (*l_3066);
                        if (l_3462)
                            continue;
                    }
                    else
                    { /* block id: 1500 */
                        int64_t l_3463 = 0x32EDAEFC502369D9LL;
                        int32_t *l_3464 = &l_3252;
                        int32_t *l_3465 = &l_3279;
                        int32_t *l_3466 = (void*)0;
                        int32_t *l_3467 = &g_9;
                        int32_t *l_3468 = &g_1850;
                        int32_t *l_3469 = &l_3195;
                        int32_t *l_3470 = &g_9;
                        int32_t *l_3471[6][6][7] = {{{&g_131[6],(void*)0,&g_131[6],&l_3195,&l_3195,&g_131[6],(void*)0},{&l_3195,(void*)0,&l_3459,&l_3459,(void*)0,&l_3195,(void*)0},{&g_131[6],&l_3195,&l_3195,&g_131[6],(void*)0,&g_131[6],&l_3195},{&l_3461[0][0][0],&l_3461[0][0][0],&l_3195,&l_3459,&l_3195,&l_3461[0][0][0],&l_3461[0][0][0]},{&l_3461[0][0][0],&l_3195,&l_3459,&l_3195,&l_3461[0][0][0],&l_3461[0][0][0],&l_3195},{&g_131[6],(void*)0,&g_131[6],&l_3195,&l_3195,&g_131[6],(void*)0}},{{&l_3195,(void*)0,&l_3459,&l_3459,(void*)0,&l_3195,(void*)0},{&g_131[6],&l_3195,&l_3195,&g_131[6],(void*)0,&g_131[6],&l_3195},{&l_3461[0][0][0],&l_3461[0][0][0],&l_3195,&l_3459,&l_3195,&l_3461[0][0][0],&l_3461[0][0][0]},{&l_3461[0][0][0],&l_3195,&l_3459,&l_3195,&l_3461[0][0][0],&l_3461[0][0][0],&l_3195},{&g_131[6],(void*)0,&g_131[6],&l_3195,&l_3195,&g_131[6],(void*)0},{&l_3195,(void*)0,&l_3459,&l_3459,(void*)0,&l_3195,(void*)0}},{{&g_131[6],&l_3195,&l_3195,&g_131[6],(void*)0,&g_131[6],&l_3195},{&l_3461[0][0][0],&l_3461[0][0][0],&l_3195,&l_3459,&l_3195,&l_3461[0][0][0],&l_3461[0][0][0]},{&l_3461[0][0][0],&l_3195,&l_3459,&l_3195,&l_3461[0][0][0],&l_3461[0][0][0],&l_3195},{&g_131[6],(void*)0,&g_131[6],&l_3195,&l_3195,&g_131[6],(void*)0},{&l_3195,(void*)0,&l_3459,&l_3459,(void*)0,&l_3195,(void*)0},{&g_131[6],&l_3195,&l_3195,&g_131[6],(void*)0,&g_131[6],&l_3195}},{{&l_3461[0][0][0],&l_3461[0][0][0],&l_3195,&l_3459,&l_3195,&l_3461[0][0][0],&l_3461[0][0][0]},{&l_3461[0][0][0],&l_3195,&l_3459,&l_3195,&l_3461[0][0][0],&l_3461[0][0][0],&l_3195},{&g_131[6],(void*)0,&g_131[6],&l_3195,&l_3195,&g_131[6],(void*)0},{&l_3195,(void*)0,&l_3459,&l_3459,(void*)0,&l_3195,&l_3461[0][0][0]},{&l_3459,&g_131[6],&g_131[6],&l_3459,&l_3461[0][0][0],&l_3459,&g_131[6]},{&l_3195,&l_3195,&g_131[6],(void*)0,&g_131[6],&l_3195,&l_3195}},{{&l_3195,&g_131[6],(void*)0,&g_131[6],&l_3195,&l_3195,&g_131[6]},{&l_3459,&l_3461[0][0][0],&l_3459,&g_131[6],&g_131[6],&l_3459,&l_3461[0][0][0]},{&g_131[6],&l_3461[0][0][0],(void*)0,(void*)0,&l_3461[0][0][0],&g_131[6],&l_3461[0][0][0]},{&l_3459,&g_131[6],&g_131[6],&l_3459,&l_3461[0][0][0],&l_3459,&g_131[6]},{&l_3195,&l_3195,&g_131[6],(void*)0,&g_131[6],&l_3195,&l_3195},{&l_3195,&g_131[6],(void*)0,&g_131[6],&l_3195,&l_3195,&g_131[6]}},{{&l_3459,&l_3461[0][0][0],&l_3459,&g_131[6],&g_131[6],&l_3459,&l_3461[0][0][0]},{&g_131[6],&l_3461[0][0][0],(void*)0,(void*)0,&l_3461[0][0][0],&g_131[6],&l_3461[0][0][0]},{&l_3459,&g_131[6],&g_131[6],&l_3459,&l_3461[0][0][0],&l_3459,&g_131[6]},{&l_3195,&l_3195,&g_131[6],(void*)0,&g_131[6],&l_3195,&l_3195},{&l_3195,&g_131[6],(void*)0,&g_131[6],&l_3195,&l_3195,&g_131[6]},{&l_3459,&l_3461[0][0][0],&l_3459,&g_131[6],&g_131[6],&l_3459,&l_3461[0][0][0]}}};
                        int i, j, k;
                        --l_3473[0];
                    }
                    if ((safe_sub_func_int64_t_s_s((l_3460[4] = l_3110[0][1][0]), ((((l_3478 = ((*g_896) = l_3473[0])) && (l_3459 && (((((((l_3459 = ((*g_896) = (safe_add_func_int64_t_s_s(l_3472[1][1], (safe_mul_func_uint8_t_u_u((*g_896), 0x7DL)))))) != (!((***g_3340) = ((void*)0 == l_3484)))) , ((safe_mod_func_uint64_t_u_u(((void*)0 != l_3487), l_3473[0])) , (*****g_1793))) | l_3473[4]) || 0x5D35985825EC2270LL) <= l_3082) && (**g_3341)))) , l_19) & 0x6CFF7D0FBD33136CLL))))
                    { /* block id: 1509 */
                        const int32_t **l_3488 = &g_759;
                        uint64_t *l_3494 = &g_1156[0][8][6];
                        (*l_3488) = (*g_926);
                        ++l_3489;
                        if (l_3472[0][6])
                            break;
                        (*g_596) = (safe_rshift_func_uint8_t_u_u((((*l_3163) = l_3494) != &l_3426[0]), 5));
                    }
                    else
                    { /* block id: 1515 */
                        int8_t *l_3524 = &g_331;
                        int64_t *l_3525 = &g_493;
                        uint16_t l_3526 = 0x49DBL;
                        int32_t l_3527 = 1L;
                        int32_t *l_3528 = &l_3238;
                        uint32_t l_3532 = 0xB3EAFBDEL;
                        int32_t *l_3541[5][1][1] = {{{&g_674}},{{&g_2761}},{{&g_674}},{{&g_2761}},{{&g_674}}};
                        int i, j, k;
                        (*l_3528) &= (safe_mod_func_uint8_t_u_u((safe_rshift_func_uint16_t_u_s((safe_sub_func_int16_t_s_s((((l_3460[4] , ((safe_div_func_int8_t_s_s(1L, (((l_3527 = (safe_mod_func_int8_t_s_s(((safe_lshift_func_uint16_t_u_s((safe_mod_func_int64_t_s_s((l_3509 , ((*l_3525) = (((safe_rshift_func_int8_t_s_s((((*l_3524) = ((safe_mul_func_uint16_t_u_u(((l_3514[4] & (~(safe_sub_func_uint16_t_u_u((g_9 <= ((((**g_157) = (-1L)) , (safe_div_func_int32_t_s_s(((18446744073709551609UL == (safe_rshift_func_int8_t_s_s((**g_157), ((((safe_add_func_int64_t_s_s(l_3509, 0x97C8DCCC3A1EF8A6LL)) || g_3316) ^ 0xFD8A19A5L) > l_3456)))) == (**g_157)), (*g_759)))) && 6L)), 65527UL)))) >= l_3460[2]), l_3082)) , 0x47L)) ^ l_3262[3][5]), l_3472[0][7])) == l_3461[0][2][0]) > 0x05DF5061469AFE01LL))), 0x2D9B0F0B4864A321LL)), 3)) > (-1L)), l_3526))) , g_2704) || 1UL))) & l_3237)) <= g_131[2]) && g_357), l_3461[0][0][0])), 12)), l_3473[0]));
                        if (l_3472[0][7])
                            continue;
                        l_3461[0][1][0] = (((g_3231[0][2][1] = (((safe_mul_func_int16_t_s_s(((l_3531 > l_3459) , (((*l_3525) = (((*l_20) |= l_3532) , ((safe_mul_func_int16_t_s_s((safe_rshift_func_uint8_t_u_s(l_3460[3], (((((safe_unary_minus_func_uint32_t_u(((*g_1444) ^ (*g_596)))) >= ((((0xE89B185F46DF73D6LL ^ (++(*g_513))) , (**g_1796)) || (!(((l_3459 , 65535UL) != (**g_1055)) < l_3460[4]))) < 0L)) ^ l_3473[0]) == 1L) , (**g_157)))), 1L)) > g_3226))) > l_3454)), l_3461[0][0][0])) && 1L) > l_3459)) , l_3460[4]) < (*l_3528));
                    }
                }
                if ((((*****g_1793) = (*g_1444)) & (((void*)0 != &g_8[2]) <= (((l_3473[4] > (safe_add_func_uint32_t_u_u(l_3461[0][0][0], (l_3560 = ((((safe_add_func_uint8_t_u_u(((safe_lshift_func_uint16_t_u_u(0xC788L, 6)) == (safe_sub_func_uint8_t_u_u((((~(l_3551 > ((l_3262[4][7] , (safe_div_func_int32_t_s_s((((safe_div_func_uint64_t_u_u(((((**g_157) || 1UL) , l_3556) || (*g_896)), (*g_513))) < g_514) , 0x65C5482FL), g_3557))) && 0x7295B9291EF0774CLL))) && 0UL) | (*g_896)), l_3558))), 0xAAL)) <= l_3126) | 0x0ECC40A2L) && l_3559[5][6]))))) <= g_1850) | l_3473[3]))))
                { /* block id: 1531 */
                    l_3238 = (**g_824);
                    for (l_3462 = 0; (l_3462 != 43); ++l_3462)
                    { /* block id: 1535 */
                        int32_t l_3563 = (-1L);
                        int32_t *l_3565 = &l_3560;
                        if (l_3563)
                            break;
                        (*l_3565) ^= l_3426[0];
                        if (l_3433)
                            goto lbl_3139;
                        l_3461[0][0][0] = ((*l_3565) = ((safe_unary_minus_func_int8_t_s(l_3473[0])) && g_1156[2][5][1]));
                    }
                    (*g_3567) = (*g_824);
                }
                else
                { /* block id: 1543 */
                    uint32_t *l_3572[9] = {&g_21[0],&g_21[0],&g_21[0],&g_21[0],&g_21[0],&g_21[0],&g_21[0],&g_21[0],&g_21[0]};
                    int32_t l_3584 = (-8L);
                    int32_t l_3616 = 0xDEAC88FBL;
                    int32_t l_3619 = 1L;
                    int32_t l_3620 = 8L;
                    uint32_t l_3622[10] = {4294967295UL,9UL,4294967295UL,9UL,4294967295UL,9UL,4294967295UL,9UL,4294967295UL,9UL};
                    int i;
                    if ((safe_mul_func_uint8_t_u_u((((l_3279 != (((****l_3359) = (***g_1794)) == l_3572[3])) | (safe_lshift_func_uint8_t_u_u(((safe_mod_func_int8_t_s_s((((((+(((safe_div_func_int16_t_s_s((0x6415L || (l_3558 & (safe_rshift_func_int16_t_s_s(l_3478, ((safe_mod_func_uint32_t_u_u((l_3584 == (((safe_rshift_func_uint16_t_u_u(((+l_3433) , (safe_add_func_int8_t_s_s(((safe_mul_func_int16_t_s_s(l_3584, (**g_1055))) || 18446744073709551615UL), l_3433))), 13)) > l_3584) >= l_3584)), 6UL)) <= g_359[2]))))), 65529UL)) , (void*)0) != (void*)0)) , l_3459) , 0x8995L) == l_3592) == (**g_1055)), (*g_158))) ^ l_3473[0]), 3))) == 0xEB9B17EB94EBA163LL), 8UL)))
                    { /* block id: 1545 */
                        return l_3593;
                    }
                    else
                    { /* block id: 1547 */
                        int64_t *****l_3599 = &l_3597;
                        int16_t *l_3600 = &g_236;
                        int32_t *l_3602 = &l_3558;
                        l_3560 = (safe_lshift_func_uint8_t_u_u(((*g_1294) == (void*)0), ((((((l_3596 == ((*l_3599) = l_3597)) != 65535UL) , (g_9 < 0UL)) || ((*l_3600) |= l_3560)) <= (~(((0x7629F1F0L && 0x67405416L) , (*g_759)) , 0UL))) <= l_3584)));
                        (*l_3602) = l_3478;
                        if (l_3558)
                            continue;
                        if ((*l_3602))
                            break;
                    }
                    for (l_3551 = 0; (l_3551 >= 22); l_3551 = safe_add_func_uint64_t_u_u(l_3551, 9))
                    { /* block id: 1557 */
                        return l_3605;
                    }
                    for (l_3109 = (-17); (l_3109 > (-26)); l_3109--)
                    { /* block id: 1562 */
                        l_3612 = ((*l_3066) = l_3608[1]);
                    }
                    for (g_236 = (-4); (g_236 < 0); g_236++)
                    { /* block id: 1568 */
                        uint32_t l_3615 = 8UL;
                        int32_t l_3617 = 0L;
                        int32_t l_3618 = (-8L);
                        int32_t l_3621[2];
                        int i;
                        for (i = 0; i < 2; i++)
                            l_3621[i] = (-2L);
                        l_3558 |= l_3615;
                        ++l_3622[7];
                    }
                }
            }
        }
        else
        { /* block id: 1574 */
            int32_t l_3633[10];
            int32_t l_3695 = 1L;
            int32_t l_3699 = 0xCABF1454L;
            int8_t ***l_3757 = &g_157;
            int8_t ****l_3756 = &l_3757;
            int i;
            for (i = 0; i < 10; i++)
                l_3633[i] = (-2L);
            if (((*g_431) = (*l_3612)))
            { /* block id: 1576 */
                uint32_t *l_3627 = (void*)0;
                uint32_t *l_3628 = &l_3308;
                uint16_t *l_3638 = &l_19;
                uint32_t *l_3643 = &g_1826;
                uint8_t *l_3648 = &l_3110[0][2][1];
                uint8_t *l_3649 = (void*)0;
                uint8_t *l_3650 = &l_3559[5][6];
                uint8_t *l_3653 = &g_83[0];
                int32_t *l_3654 = (void*)0;
                int32_t *l_3655 = &l_3238;
                int8_t *l_3656 = &g_331;
                int16_t l_3698 = 0x4DC6L;
                int32_t l_3718[10] = {0x723D5D2EL,0x1680C3ABL,0x723D5D2EL,0x1680C3ABL,0x723D5D2EL,0x1680C3ABL,0x723D5D2EL,0x1680C3ABL,0x723D5D2EL,0x1680C3ABL};
                int16_t **l_3731 = &l_3072;
                int8_t ***l_3755 = &g_157;
                int8_t *** const *l_3754 = &l_3755;
                int32_t l_3762 = 0x95C49A61L;
                int i;
                if (((safe_sub_func_int8_t_s_s(((*g_1444) != ((*l_3628)--)), ((***g_3340) = (((((safe_rshift_func_int8_t_s_s(((*l_3656) |= (l_3633[1] , (safe_sub_func_uint8_t_u_u((((*l_3655) |= ((((((--(*l_3331)) & (((*l_3638)++) | (safe_add_func_int32_t_s_s((*l_3612), ((*l_3643) &= 0x5541290BL))))) | ((safe_add_func_uint8_t_u_u((4294967288UL & ((safe_mul_func_int8_t_s_s((***g_3340), (**g_157))) > (((((*l_3650) &= ((*g_896) = ((*l_3648) &= (*g_896)))) == ((*l_3653) |= (((safe_add_func_int64_t_s_s(l_3633[1], 0x37BCA813BE6E5D71LL)) != 0UL) < l_3633[1]))) , g_2492) >= g_71[1][7]))), g_233[1])) , (-5L))) > 7UL) && 0x02919BF1L) | (*g_759))) , l_3633[1]), g_756)))), (*g_158))) || 0x9EE6801D6FEF544CLL) != g_131[8]) , 0x1B97L) , (*l_3612))))) ^ l_3657))
                { /* block id: 1588 */
                    int32_t l_3694[8][1][1];
                    int32_t l_3696 = 0x38928960L;
                    int i, j, k;
                    for (i = 0; i < 8; i++)
                    {
                        for (j = 0; j < 1; j++)
                        {
                            for (k = 0; k < 1; k++)
                                l_3694[i][j][k] = (-6L);
                        }
                    }
                    (*l_3612) = (safe_rshift_func_int8_t_s_s((((**g_157) ^= ((safe_sub_func_uint8_t_u_u(0UL, (*l_3655))) , 1L)) , (l_3699 |= ((((*g_513) = (safe_rshift_func_int8_t_s_s((safe_mul_func_uint16_t_u_u((safe_sub_func_int16_t_s_s(((*l_3655) = (((safe_lshift_func_int16_t_s_u(((safe_mul_func_uint16_t_u_u((safe_add_func_int16_t_s_s((safe_mul_func_uint8_t_u_u((safe_mul_func_uint16_t_u_u((((safe_mul_func_uint16_t_u_u(g_1826, ((*l_3638) &= ((safe_div_func_uint64_t_u_u((safe_add_func_uint16_t_u_u(((safe_add_func_uint16_t_u_u((g_74 >= g_523[6]), (safe_add_func_uint16_t_u_u((g_1465 & ((safe_rshift_func_int8_t_s_u(((l_3695 = (safe_mod_func_uint8_t_u_u((*g_896), (((safe_sub_func_uint64_t_u_u(0xAB98CE89349FB097LL, l_3694[6][0][0])) == 1UL) | l_3694[4][0][0])))) < 0x5595L), l_3694[6][0][0])) || (*l_3612))), 0x93DCL)))) != (*g_896)), (-7L))), 0x76D7F62DCFD38660LL)) , 65535UL)))) >= l_3633[9]) , 0x88FEL), l_3696)), (*g_896))), l_3694[6][0][0])), l_3697)) <= l_3698), g_1899)) > (**g_1055)) && (*l_3655))), l_3694[6][0][0])), g_378[6][0][6])), 6))) == g_1465) == l_3633[1]))), 1));
                    (*l_3655) |= (-1L);
                }
                else
                { /* block id: 1597 */
                    uint32_t l_3713 = 0x8EA4CBB5L;
                    int32_t *l_3715 = &g_2622;
                    int32_t *l_3716 = &l_3109;
                    int32_t *l_3717 = &g_2622;
                    int32_t *l_3719 = &l_3252;
                    int32_t *l_3720 = &l_3082;
                    int32_t *l_3721 = &g_2960;
                    int32_t *l_3722 = &g_131[8];
                    int32_t *l_3723[7][2] = {{&l_3514[3],&l_3514[3]},{&l_3514[3],&l_3514[3]},{&l_3514[3],&l_3514[3]},{&l_3514[3],&l_3514[3]},{&l_3514[3],&l_3514[3]},{&l_3514[3],&l_3514[3]},{&l_3514[3],&l_3514[3]}};
                    uint64_t l_3730 = 18446744073709551615UL;
                    int32_t l_3759 = 0L;
                    int i, j;
                    for (g_360 = 19; (g_360 <= 10); g_360--)
                    { /* block id: 1600 */
                        uint32_t l_3712 = 0x74FC4A8CL;
                        (*l_3066) = func_2((*g_2415), (++(**l_3163)), ((*g_896) | (((safe_mod_func_int8_t_s_s(((l_3714 = ((safe_unary_minus_func_int8_t_s(((0x64L >= (g_756 <= l_3633[5])) , ((l_3707 && (((void*)0 != (***g_3200)) > (safe_mod_func_uint64_t_u_u(((safe_add_func_int16_t_s_s(((l_3699 && l_3712) || l_3713), (-10L))) , 0xDE342AF93DEC9BCALL), 0x554308B6EACBED3BLL)))) & (*g_1444))))) | 0x90279D88L)) , (*g_158)), (*g_896))) ^ l_3633[3]) >= 0x50L)), &g_2622, &g_131[4]);
                    }
                    g_3724--;
                    for (l_3657 = 28; (l_3657 == 26); l_3657 = safe_sub_func_int16_t_s_s(l_3657, 8))
                    { /* block id: 1608 */
                        if (l_3729)
                            break;
                        if ((*l_3715))
                            break;
                        if (l_3308)
                            goto lbl_3139;
                        return l_3730;
                    }
                    for (g_357 = 0; (g_357 <= 1); g_357 += 1)
                    { /* block id: 1616 */
                        int16_t **l_3732[5] = {&l_3072,&l_3072,&l_3072,&l_3072,&l_3072};
                        int8_t l_3747 = 0xD7L;
                        int64_t l_3758 = (-1L);
                        const int8_t l_3760[10] = {(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L),(-7L)};
                        uint16_t l_3761 = 65529UL;
                        int i;
                        (*l_3066) = (void*)0;
                        (*l_3715) ^= (((l_3731 != (g_3734 = (g_3733 = ((*l_3084) = l_3732[4])))) <= ((((safe_mod_func_uint32_t_u_u(((((((((safe_div_func_int32_t_s_s((*l_3612), ((*g_1444) = 0x569F9BAEL))) > (safe_add_func_int64_t_s_s((((g_1801 = (**g_3242)) , func_33((((safe_mul_func_uint16_t_u_u(((safe_div_func_uint32_t_u_u(((safe_rshift_func_int16_t_s_s(((l_3695 = (*l_3655)) , (l_3747 | ((safe_sub_func_uint32_t_u_u((l_3759 = (((*l_3719) = (safe_rshift_func_int16_t_s_u(((l_3752 = (*l_3716)) >= ((*l_3331) |= ((*l_3638) ^= (((+(l_3754 != l_3756)) , l_3758) >= (**g_926))))), 14))) & 0x3D6A59A9L)), l_3760[9])) <= (*l_3716)))), 7)) || 0xAEDCL), 4294967291UL)) >= (**g_157)), g_217)) < g_756) , &l_3699))) == (void*)0), l_3761))) & (**g_1055)) & l_3633[2]) <= (*l_3612)) , (*l_3655)) , 5L) ^ 0x60AFL), l_3657)) , 0xE074L) ^ l_3762) , g_9)) != (*l_3612));
                    }
                }
            }
            else
            { /* block id: 1632 */
                for (g_358 = 0; (g_358 <= 1); ++g_358)
                { /* block id: 1635 */
                    if (l_3633[1])
                        break;
                }
                if ((*g_3197))
                    continue;
            }
            if (g_742)
                goto lbl_3139;
        }
    }
    if ((l_3109 = (((safe_rshift_func_int8_t_s_u((!(safe_div_func_int64_t_s_s((((**g_157) = (l_3593 , ((*g_575) , 0L))) , ((g_1826 , 0xB6L) < ((safe_mod_func_int8_t_s_s(g_3772, ((***g_3340) = l_3773))) != ((l_3252 | (((((safe_sub_func_int32_t_s_s((l_3657 ^ (*g_759)), l_3250)) | l_3250) || (*g_513)) ^ l_3776) != l_3559[5][6])) , 4294967288UL)))), (*g_513)))), 6)) , (-4L)) ^ (*g_1444))))
    { /* block id: 1646 */
        uint8_t *l_3777[4];
        int32_t l_3778 = (-6L);
        int32_t l_3788[2][4] = {{(-4L),(-4L),(-4L),(-4L)},{(-4L),(-4L),(-4L),(-4L)}};
        int32_t l_3789 = 0xAB700025L;
        int32_t *l_3790 = &l_3788[0][2];
        int32_t *l_3791 = &l_3778;
        int32_t *l_3792 = &l_3788[0][0];
        int32_t *l_3793 = &g_135;
        int32_t *l_3794[6][10] = {{&l_3109,&l_3109,&l_3788[0][2],&g_135,&l_3109,(void*)0,&l_3109,&l_3252,&g_135,&g_135},{&l_3788[0][2],&g_1850,&g_131[8],&g_135,&g_135,&g_131[8],&g_1850,&l_3788[0][2],(void*)0,&g_131[4]},{&g_1850,&l_3109,&l_3788[0][2],&g_131[8],&l_3788[0][2],&l_3788[0][2],&g_135,&l_3778,&l_3788[1][1],&l_3778},{&g_131[8],&l_3778,&l_3788[0][2],&l_3788[0][2],&l_3788[0][2],&l_3778,&g_131[8],&l_3109,&l_3514[4],&l_3252},{&g_1850,&g_131[4],&l_3514[4],&g_135,&g_135,&l_3788[0][2],&l_3109,&l_3109,&l_3109,&l_3109},{&l_3788[1][1],&g_131[4],&l_3109,&l_3109,&g_131[4],&l_3788[1][1],&g_131[8],&l_3252,(void*)0,&l_3788[0][2]}};
        int i, j;
        for (i = 0; i < 4; i++)
            l_3777[i] = (void*)0;
        l_3789 = ((l_3778 = ((*g_896) &= ((**g_2435) == (****g_3202)))) || ((0x1705L && (safe_mod_func_uint16_t_u_u(g_3231[0][1][1], ((safe_sub_func_uint16_t_u_u((l_3783 > ((l_3778 > (((*****g_1793) = 0x54A22F17L) , ((l_3778 < ((safe_mul_func_int8_t_s_s(l_3788[0][2], (-1L))) == l_3778)) >= l_3778))) , (**g_1796))), 0x965FL)) , 0x74E9L)))) <= 18446744073709551613UL));
        if ((*g_759))
        { /* block id: 1651 */
            return l_3789;
        }
        else
        { /* block id: 1653 */
            l_3514[5] &= 0L;
        }
        --l_3795;
    }
    else
    { /* block id: 1657 */
        int16_t *l_3809[1];
        int32_t l_3810 = 0xC254552BL;
        uint8_t l_3811 = 5UL;
        const uint64_t l_3819 = 0x198A3ED2541FA0A5LL;
        int64_t ****l_3820 = (void*)0;
        int32_t *l_3821 = &g_2622;
        int32_t *l_3836 = &l_3514[4];
        const uint64_t ****l_3844 = &g_3841;
        int32_t *l_3846 = &l_3109;
        uint16_t l_3869 = 5UL;
        int32_t l_3898 = 1L;
        int16_t l_3899 = 9L;
        int32_t l_3927 = 0x63B876EDL;
        int32_t *l_3951[5][4] = {{&g_3231[0][0][2],&g_2627[6][6][0],&g_3845,&g_2627[6][6][0]},{&l_3776,(void*)0,&g_3808,&g_3845},{&g_2627[6][6][0],(void*)0,(void*)0,&g_2627[6][6][0]},{(void*)0,&g_2627[6][6][0],&l_3776,&g_3231[0][0][2]},{(void*)0,&l_3776,(void*)0,&g_3808}};
        int32_t **l_3950[4];
        int32_t ***l_3949[9][3] = {{(void*)0,&l_3950[1],&l_3950[1]},{&l_3950[1],&l_3950[1],&l_3950[1]},{(void*)0,&l_3950[1],&l_3950[1]},{&l_3950[1],&l_3950[1],&l_3950[1]},{(void*)0,&l_3950[1],&l_3950[1]},{&l_3950[1],&l_3950[1],&l_3950[1]},{(void*)0,&l_3950[1],&l_3950[1]},{&l_3950[1],&l_3950[1],&l_3950[1]},{(void*)0,&l_3950[1],&l_3950[1]}};
        uint32_t ****l_3986 = &g_2435;
        uint16_t l_3996 = 65535UL;
        int64_t *l_4001 = &g_357;
        const int8_t ***l_4004 = &g_4002;
        int32_t **l_4007 = (void*)0;
        int32_t **l_4008 = &l_3821;
        int i, j;
        for (i = 0; i < 1; i++)
            l_3809[i] = &g_756;
        for (i = 0; i < 4; i++)
            l_3950[i] = &l_3951[3][3];
        (*l_3821) ^= (safe_lshift_func_uint8_t_u_s((safe_sub_func_int32_t_s_s(((safe_add_func_int32_t_s_s(((safe_mul_func_uint16_t_u_u(((l_3810 = g_3808) && (l_3811 >= l_3811)), (&g_3316 == l_3809[0]))) , (safe_unary_minus_func_int16_t_s((((((l_3810 & (safe_add_func_uint32_t_u_u(((*****g_1793) = ((safe_mod_func_int32_t_s_s(l_3811, ((l_3810 , (safe_sub_func_uint8_t_u_u(l_3819, (*g_158)))) , 0x0121FC57L))) <= l_3810)), 0x58A61A9FL))) , 0x5326C8F158D41948LL) ^ 0xBA30B1EFF9B28C8BLL) , (void*)0) == l_3820)))), l_3819)) || (-4L)), 0x73B80EE1L)), (***g_3340)));
        if (((*l_3821) < (safe_mul_func_int8_t_s_s((safe_mod_func_int16_t_s_s((!(((safe_rshift_func_uint16_t_u_s((safe_rshift_func_int8_t_s_u(((l_3831 || (safe_div_func_uint32_t_u_u((safe_sub_func_uint64_t_u_u(((*****g_1793) == ((*l_3836) = 0x2306F6E8L)), ((****g_1794) ^ ((*l_3846) = ((safe_add_func_int64_t_s_s((safe_lshift_func_uint8_t_u_s((&g_1522 == ((*l_3844) = ((&g_1794 != &g_1794) , g_3841))), (**g_3341))), g_3845)) >= 0xD7768847L))))), (*g_759)))) > 0L), (*g_896))), 8)) == (*g_158)) != 0xB83DL)), l_3308)), 1UL))))
        { /* block id: 1664 */
            if (g_74)
                goto lbl_3847;
        }
        else
        { /* block id: 1666 */
            const int32_t *l_3850 = &g_2960;
            uint32_t ****** const l_3895 = &l_3894[0][0];
            const int16_t l_3897 = (-3L);
            int32_t l_3928 = 0xE85B8F6DL;
            int32_t l_3971 = 0xA61FEB9FL;
            int32_t **l_3987 = &g_8[2];
            int32_t ***l_3988[1];
            uint32_t ***l_3989 = &g_872;
            int i;
            for (i = 0; i < 1; i++)
                l_3988[i] = &l_3987;
            for (l_3064 = (-20); (l_3064 < 4); l_3064++)
            { /* block id: 1669 */
                (*l_3066) = func_33(l_3850);
            }
            for (g_386 = 0; (g_386 <= 3); g_386 += 1)
            { /* block id: 1674 */
                uint32_t *l_3851[8];
                uint16_t l_3860[4];
                int8_t *l_3896 = &l_3411;
                uint32_t ******l_3913 = &l_3894[0][0];
                int32_t l_3914 = 0x5A44A0C5L;
                int32_t l_3926[3][6] = {{1L,1L,1L,1L,1L,1L},{1L,1L,1L,1L,1L,1L},{1L,1L,1L,1L,1L,1L}};
                uint32_t l_3929 = 0UL;
                int i, j;
                for (i = 0; i < 8; i++)
                    l_3851[i] = (void*)0;
                for (i = 0; i < 4; i++)
                    l_3860[i] = 0x0BFDL;
                for (g_1899 = 3; (g_1899 >= 0); g_1899 -= 1)
                { /* block id: 1677 */
                    int8_t ***l_3868 = &g_157;
                    uint16_t l_3870[8][5] = {{0x2B42L,3UL,0xC083L,0x55B5L,2UL},{0x2B42L,0xC083L,65535UL,0xC083L,0x2B42L},{3UL,0xCF00L,65535UL,0x55B5L,0UL},{65535UL,0xCF00L,3UL,3UL,0xCF00L},{65535UL,0xC083L,0x2B42L,0xCF00L,0UL},{0xC083L,3UL,0x2B42L,1UL,0x2B42L},{0UL,0UL,3UL,65535UL,2UL},{0xC083L,2UL,65535UL,65535UL,65535UL}};
                    int16_t l_3871 = 0xD881L;
                    int i, j;
                    if ((**g_1516))
                        break;
                }
            }
            (*l_3987) = func_2(((((((safe_add_func_int8_t_s_s(((*g_158) &= (((*g_896) = ((*l_3850) | (safe_sub_func_uint8_t_u_u((safe_rshift_func_uint16_t_u_s((safe_lshift_func_int16_t_s_s((l_3986 != (*g_3911)), (&l_3850 != (l_3066 = l_3987)))), (l_3989 == (void*)0))), ((safe_mod_func_uint16_t_u_u((((**l_3987) & ((safe_rshift_func_int16_t_s_s(((!(safe_unary_minus_func_uint8_t_u((((l_3252 = (l_3514[4] |= (*l_3821))) || 0UL) != (*l_3846))))) ^ (*l_3850)), l_3996)) | (*l_3846))) , l_3997), l_3593)) != l_3559[5][6]))))) , (-9L))), 0x3FL)) > 0xCEE4L) < 65526UL) == 4294967288UL) , 4294967291UL) , (*g_3048)), (*l_3821), l_3998, &l_3998, &g_2622);
        }
        (*l_3846) = (((*l_3846) || ((***g_3340) <= ((void*)0 != &l_3927))) | ((((((*l_4001) |= (*l_3846)) ^ (*g_3843)) , ((((*l_4004) = g_4002) == &g_158) , (((safe_add_func_uint32_t_u_u((((**g_4002) <= (*g_896)) , 4294967288UL), 7UL)) >= (*g_1444)) , (*l_3846)))) || 0xCB61L) & (*l_3846)));
        (*l_4008) = ((*l_3066) = func_33(&l_3810));
    }
    return l_3109;
}


/* ------------------------------------------ */
/* 
 * reads :
 * writes:
 */
static int32_t * func_2(int32_t * p_3, uint64_t  p_4, int32_t  p_5, int32_t * p_6, int32_t * p_7)
{ /* block id: 1291 */
    int32_t *l_3065[3][6] = {{&g_9,&g_2960,&g_9,&g_2960,&g_9,&g_2960},{&g_135,&g_2960,&g_135,&g_2960,&g_135,&g_2960},{&g_9,&g_2960,&g_9,&g_2960,&g_9,&g_2960}};
    int i, j;
    return l_3065[1][5];
}


/* ------------------------------------------ */
/* 
 * reads :
 * writes:
 */
static uint32_t  func_17(uint32_t  p_18)
{ /* block id: 2 */
    uint32_t **l_1768 = &g_1444;
    uint32_t *l_1770 = (void*)0;
    uint32_t **l_1769 = &l_1770;
    const int32_t *l_1849 = &g_1850;
    int32_t *l_2720 = &g_2622;
    int64_t * const l_2733 = &g_2088;
    int8_t *l_2734 = &g_137;
    int64_t ***l_2794 = (void*)0;
    int32_t l_2800 = 0x160B4E7AL;
    int32_t l_2801 = 0x08B37DB9L;
    int32_t l_2802 = 0xBB0B55B8L;
    int32_t l_2803 = (-5L);
    int32_t l_2804 = 0x4AB8AB87L;
    int64_t l_2805 = 6L;
    int32_t l_2806 = 0L;
    int32_t l_2807 = (-10L);
    int32_t l_2808 = 0x528355B2L;
    int32_t l_2809 = 0xCB6FE526L;
    int32_t l_2810 = 0x1F785C98L;
    int32_t l_2811 = 0L;
    int32_t l_2812 = 0L;
    int32_t l_2813 = (-1L);
    int32_t l_2814 = 1L;
    int32_t l_2815 = 0x63E3484DL;
    int32_t l_2816 = (-9L);
    int32_t l_2817 = 0xD41D19A4L;
    int32_t l_2818 = 0x86FE032AL;
    int32_t l_2819 = 1L;
    int32_t l_2820[7] = {0x50B8690CL,0x102C34CAL,0x50B8690CL,0x50B8690CL,0x102C34CAL,0x50B8690CL,0x50B8690CL};
    int32_t l_2821 = 0L;
    uint32_t * const *l_2828 = &g_873;
    uint32_t l_2952 = 0x141F8240L;
    uint16_t l_2953 = 0x7FC6L;
    uint32_t ****l_3014 = &g_2435;
    int8_t l_3019[3];
    uint64_t ***l_3036[1];
    uint32_t l_3049 = 0x5A0414CFL;
    int16_t * const * const l_3054[2] = {&g_1907,&g_1907};
    int i;
    for (i = 0; i < 3; i++)
        l_3019[i] = 0L;
    for (i = 0; i < 1; i++)
        l_3036[i] = &g_1522;
    return p_18;
}


/* ------------------------------------------ */
/* 
 * reads : g_1853 g_21 g_131 g_513 g_514 g_1523 g_1522 g_1826 g_241 g_742 g_1908 g_2297 g_1444 g_1907 g_233 g_2356 g_158 g_71 g_217 g_378 g_359 g_896 g_404 g_2415 g_1801 g_239 g_1343 g_872 g_873 g_2429 g_2435 g_1794 g_1795 g_1796 g_157 g_2088 g_1736 g_357 g_354 g_674
 * writes: g_357 g_239 g_131 g_21 g_217 g_514 g_1899 g_742 g_354 g_1907 g_759 g_674 g_1826 g_493 g_2429 g_2435 g_2088 g_71 g_233 g_1736
 */
static uint64_t  func_25(uint32_t * p_26, uint32_t * p_27, uint64_t  p_28, uint32_t * p_29)
{ /* block id: 755 */
    int32_t l_1872 = 7L;
    int64_t ***l_1894 = &g_931;
    int64_t ***l_1896 = &g_931;
    int32_t l_1897[9][7][3] = {{{(-5L),0x7D79EA64L,1L},{0x02CB606FL,0xB4659A36L,1L},{0xC9E63B35L,1L,0x0AD46F68L},{0xB46B929BL,0x373B1EC2L,(-1L)},{0L,0x5C45B211L,0xC9E63B35L},{0x4EA9BBB0L,(-1L),0xD8DF688DL},{0xBF3691C4L,0xB4659A36L,0xC9E63B35L}},{{(-6L),1L,1L},{0xE92473F9L,(-1L),0x5C45B211L},{1L,0xF32FEE52L,0x5C45B211L},{0L,0x55599C62L,1L},{0x4EA9BBB0L,0L,0xC9E63B35L},{(-1L),0x74BC9514L,0x425820AEL},{(-1L),1L,(-8L)}},{{0x55599C62L,5L,0xF32FEE52L},{1L,1L,1L},{0x7D79EA64L,1L,(-7L)},{0xF32FEE52L,0L,0x7BC86261L},{(-8L),0xE76BFDDDL,0x4EA9BBB0L},{(-1L),0x7D79EA64L,0x55599C62L},{(-8L),0x76AC3711L,0xC384AFA3L}},{{0xF32FEE52L,0L,0xB4659A36L},{0x7D79EA64L,(-2L),0x267818A5L},{1L,0xE8992B51L,0xE1C3BB67L},{0x55599C62L,0L,0xBF3691C4L},{(-1L),(-1L),1L},{(-1L),0x2B3BBCA9L,(-1L)},{0x4EA9BBB0L,0xC9E63B35L,8L}},{{0L,0xBF3691C4L,(-1L)},{1L,0xBF3691C4L,8L},{0xE92473F9L,0xC9E63B35L,0x7E3C577DL},{(-6L),0x2B3BBCA9L,0xE8992B51L},{0L,(-1L),0x4267AEC3L},{(-7L),0L,0x2B3BBCA9L},{0L,0xE8992B51L,0L}},{{(-2L),(-2L),1L},{(-8L),0L,0L},{0xE76BFDDDL,0x76AC3711L,(-7L)},{0xE1C3BB67L,0x7D79EA64L,6L},{0x7BC86261L,0xE76BFDDDL,(-7L)},{6L,0L,0L},{0xB4659A36L,1L,1L}},{{0L,1L,0L},{0x425820AEL,5L,0x2B3BBCA9L},{1L,1L,0x4267AEC3L},{1L,0x74BC9514L,0xE8992B51L},{8L,0L,0x7E3C577DL},{1L,0x55599C62L,8L},{0x02CB606FL,0xF32FEE52L,(-1L)}},{{0x02CB606FL,(-1L),8L},{1L,1L,(-1L)},{8L,0xB4659A36L,1L},{1L,0x7A5D3D26L,0xBF3691C4L},{1L,0xC384AFA3L,0xE1C3BB67L},{0x425820AEL,0x267818A5L,0x267818A5L},{0L,0xD8DF688DL,0xB4659A36L}},{{0xB4659A36L,(-6L),0xC384AFA3L},{6L,0x7E3C577DL,0x55599C62L},{0x7BC86261L,0L,0x4EA9BBB0L},{0xE1C3BB67L,0x7E3C577DL,0x7BC86261L},{0xE76BFDDDL,(-6L),(-7L)},{(-8L),0xD8DF688DL,1L},{(-2L),0x267818A5L,0xF32FEE52L}}};
    int64_t l_1900 = 0L;
    int16_t *l_1904 = &g_233[2];
    int16_t *l_1906 = &g_354;
    int16_t **l_1905 = &l_1906;
    uint32_t *** const *l_1993 = &g_1343;
    uint32_t *** const **l_1992 = &l_1993;
    int32_t *l_1997 = &l_1872;
    uint8_t l_2081 = 1UL;
    int32_t l_2110 = (-1L);
    uint64_t ***l_2163 = &g_1522;
    uint32_t * const *l_2352 = (void*)0;
    uint32_t * const **l_2351 = &l_2352;
    uint32_t * const ***l_2350 = &l_2351;
    uint32_t * const *** const *l_2349 = &l_2350;
    int32_t **l_2418 = &g_239;
    uint32_t l_2486 = 1UL;
    int64_t l_2571 = (-1L);
    uint32_t **l_2583 = (void*)0;
    uint32_t *** const ***l_2605 = &l_1992;
    uint16_t l_2642 = 0UL;
    uint64_t l_2663 = 0x56593916C6A2E218LL;
    int32_t l_2719[2];
    int i, j, k;
    for (i = 0; i < 2; i++)
        l_2719[i] = 0x0920EB86L;
lbl_2062:
    for (g_357 = 0; (g_357 <= 2); g_357 += 1)
    { /* block id: 758 */
        int32_t *l_1851 = &g_131[4];
        uint16_t *l_1873 = &g_217;
        int64_t ****l_1895 = &l_1894;
        uint64_t **l_1898 = &g_513;
        (*g_1853) = l_1851;
        (*l_1851) = 0x64ED1F0CL;
        (*g_241) ^= (((safe_div_func_uint8_t_u_u(((safe_rshift_func_int8_t_s_s(0xC6L, 6)) < ((((safe_div_func_int8_t_s_s((safe_sub_func_int16_t_s_s(((safe_lshift_func_uint16_t_u_s(65527UL, 11)) | (safe_sub_func_int32_t_s_s(((((safe_mul_func_uint8_t_u_u((safe_sub_func_uint32_t_u_u(((*p_26)++), 0x0E781ACCL)), ((((-1L) == ((*l_1873) = (0UL > (l_1872 , (*l_1851))))) & (safe_div_func_uint32_t_u_u((safe_mod_func_int64_t_s_s((safe_div_func_int16_t_s_s((safe_add_func_int64_t_s_s(p_28, (safe_mod_func_uint32_t_u_u((((((g_1899 = (safe_add_func_int16_t_s_s(((safe_div_func_uint16_t_u_u(((((l_1897[6][1][2] = (((*l_1895) = ((safe_sub_func_uint64_t_u_u((--(*g_513)), ((safe_div_func_int16_t_s_s(((void*)0 == l_1894), 6L)) <= p_28))) , (void*)0)) != l_1896)) , l_1898) == (*g_1523)) && 0xD59BDCA6L), 1UL)) || l_1897[3][0][0]), l_1872))) && (*l_1851)) | l_1872) <= l_1900) & l_1900), (*p_29))))), (-9L))), 0x052DE3ED44C805D6LL)), 0x4C354E59L))) || (*l_1851)))) < l_1900) ^ 8UL) , 0x26EE6AF0L), 6UL))), l_1900)), 252UL)) && 9UL) >= 4UL) , 0xE2E30D73L)), l_1900)) != 1UL) <= 0L);
        for (g_354 = 2; (g_354 >= 0); g_354 -= 1)
        { /* block id: 770 */
            int32_t **l_1901 = &l_1851;
            (*l_1901) = &l_1872;
            return p_28;
        }
    }
    if ((l_1900 == (l_1904 != (g_1907 = ((*l_1905) = l_1904)))))
    { /* block id: 777 */
        int64_t *l_1919 = &g_493;
        int8_t ***l_1925 = &g_157;
        int32_t l_1948 = (-8L);
        uint32_t l_2016 = 0xB9F8FE12L;
        uint64_t **l_2020 = &g_513;
        int32_t l_2028 = 0x4A96F4D3L;
        uint32_t l_2029 = 18446744073709551609UL;
        int64_t ***l_2034 = &g_931;
        int32_t *l_2044 = &l_1872;
        uint64_t *l_2055 = &g_1156[2][3][2];
        uint64_t **l_2054 = &l_2055;
        int32_t l_2150 = 0xBF0EAE25L;
        int32_t l_2151 = 0xAE9EC059L;
        int32_t l_2152 = 0xD2C36AF3L;
        int32_t l_2154 = 0x1268F209L;
        int32_t l_2256 = 0L;
        int32_t l_2257 = 1L;
        int32_t l_2258 = 0x76C20FF9L;
        int32_t l_2259 = 1L;
        int32_t l_2260 = 5L;
        int32_t l_2261 = 0x7E38A214L;
        int32_t l_2262 = (-3L);
        int32_t l_2263 = 6L;
        int32_t l_2264 = 8L;
        int32_t l_2265 = 0x084AC3BEL;
        int32_t l_2266 = 0x5BC816BAL;
        int32_t l_2267 = 0x6C6EB34BL;
        (*g_1908) = p_26;
    }
    else
    { /* block id: 935 */
        uint8_t l_2298 = 0x4CL;
        uint8_t * const *l_2327[5] = {&g_896,&g_896,&g_896,&g_896,&g_896};
        int32_t l_2413 = 0x39FD7773L;
        int32_t **l_2416 = &g_239;
        int32_t *l_2448 = &l_1872;
        int32_t l_2503[4];
        int16_t *** const l_2504 = &l_1905;
        uint8_t l_2539[1];
        int8_t **l_2556 = &g_158;
        uint32_t l_2621[8][4] = {{1UL,2UL,2UL,1UL},{0xF8D447F7L,2UL,0x3C8310D4L,2UL},{2UL,0UL,0x3C8310D4L,0x3C8310D4L},{0xF8D447F7L,0xF8D447F7L,2UL,0x3C8310D4L},{0x3C8310D4L,0xF8D447F7L,0x3C8310D4L,1UL},{0x3C8310D4L,1UL,1UL,0x3C8310D4L},{2UL,1UL,0UL,1UL},{1UL,0xF8D447F7L,0UL,0UL}};
        int8_t l_2625 = (-1L);
        int32_t l_2634 = (-6L);
        int32_t l_2636 = (-1L);
        int16_t l_2673 = 0x4AD3L;
        int i, j;
        for (i = 0; i < 4; i++)
            l_2503[i] = 1L;
        for (i = 0; i < 1; i++)
            l_2539[i] = 1UL;
        for (p_28 = 13; (p_28 > 45); p_28 = safe_add_func_uint64_t_u_u(p_28, 3))
        { /* block id: 938 */
            uint8_t l_2303 = 0x89L;
            int32_t l_2336 = 0L;
            for (l_2110 = (-15); (l_2110 == 20); l_2110 = safe_add_func_uint64_t_u_u(l_2110, 1))
            { /* block id: 941 */
                const int32_t *l_2296 = &l_1897[6][1][2];
                (*g_2297) = l_2296;
                ++l_2298;
            }
            for (l_2081 = 0; (l_2081 <= 1); l_2081 += 1)
            { /* block id: 947 */
                int8_t l_2337 = 0xFDL;
                if (p_28)
                    break;
            }
        }
        if (((safe_mod_func_uint8_t_u_u(p_28, p_28)) < (*g_513)))
        { /* block id: 964 */
            int8_t l_2344 = 0L;
            uint32_t * const *** const **l_2353 = &l_2349;
            if ((((safe_lshift_func_uint8_t_u_u(((((*g_1444) = 0xE1BA286DL) , l_2298) == ((p_28 > (0x6C920290L != ((((((safe_mul_func_int16_t_s_s((l_2344 < (safe_add_func_uint16_t_u_u((safe_div_func_int8_t_s_s(((*l_1997) & l_2298), p_28)), (((((*l_2353) = l_2349) != &g_1342[2][4][7]) > p_28) ^ l_2298)))), p_28)) && p_28) , l_2344) != 0L) ^ 5L) <= (*l_1997)))) >= (-1L))), 5)) <= (*g_1907)) | (*g_1907)))
            { /* block id: 967 */
                for (g_674 = 0; (g_674 != 14); ++g_674)
                { /* block id: 970 */
                    if (p_28)
                        break;
                }
            }
            else
            { /* block id: 973 */
                (*g_2356) = (p_28 , p_29);
            }
        }
        else
        { /* block id: 976 */
            uint32_t l_2379[9][7][4] = {{{0UL,9UL,18446744073709551606UL,0x0AA8499BL},{0x0AA8499BL,0x67357634L,0x67357634L,0x0AA8499BL},{0x1EA873A9L,9UL,0UL,0xC34D4C8DL},{0x0AA8499BL,9UL,0xB9662815L,0x0AA8499BL},{0UL,0x67357634L,0UL,0x0AA8499BL},{0xC34D4C8DL,9UL,0x67357634L,0xC34D4C8DL},{0UL,9UL,18446744073709551606UL,0x0AA8499BL}},{{0x0AA8499BL,0x67357634L,0x67357634L,0x0AA8499BL},{0x1EA873A9L,9UL,0UL,0xC34D4C8DL},{0x0AA8499BL,9UL,0xB9662815L,0x0AA8499BL},{0UL,0x67357634L,0UL,0x0AA8499BL},{0xC34D4C8DL,9UL,0x67357634L,0xC34D4C8DL},{0UL,9UL,18446744073709551606UL,0x0AA8499BL},{0x0AA8499BL,0x67357634L,0x67357634L,0x0AA8499BL}},{{0x1EA873A9L,9UL,0UL,0xC34D4C8DL},{0x0AA8499BL,9UL,0xB9662815L,0x0AA8499BL},{0UL,0x67357634L,0UL,0x0AA8499BL},{0xC34D4C8DL,9UL,0x67357634L,0xC34D4C8DL},{0UL,9UL,18446744073709551606UL,0x0AA8499BL},{0x0AA8499BL,0x67357634L,0x67357634L,0x0AA8499BL},{0x1EA873A9L,9UL,0UL,0xC34D4C8DL}},{{0x0AA8499BL,9UL,0xB9662815L,0x0AA8499BL},{0UL,0x67357634L,0UL,0x0AA8499BL},{0xC34D4C8DL,9UL,0x67357634L,0xC34D4C8DL},{0UL,9UL,18446744073709551606UL,0x0AA8499BL},{0x0AA8499BL,0x67357634L,0x67357634L,0x0AA8499BL},{0x1EA873A9L,9UL,0UL,0xC34D4C8DL},{0x0AA8499BL,9UL,0xB9662815L,0x0AA8499BL}},{{0UL,0x67357634L,0UL,0x0AA8499BL},{0xC34D4C8DL,9UL,0x67357634L,0xC34D4C8DL},{0UL,9UL,18446744073709551606UL,0x0AA8499BL},{0x0AA8499BL,0x67357634L,0x67357634L,0x0AA8499BL},{0x1EA873A9L,9UL,0UL,0xC34D4C8DL},{0x0AA8499BL,9UL,0xB9662815L,0x0AA8499BL},{0UL,0x67357634L,0UL,0x0AA8499BL}},{{0xC34D4C8DL,9UL,0x67357634L,0xC34D4C8DL},{0UL,9UL,18446744073709551606UL,0x0AA8499BL},{0x0AA8499BL,0x67357634L,0x67357634L,0x0AA8499BL},{0x1EA873A9L,9UL,0UL,0xC34D4C8DL},{0x0AA8499BL,9UL,0xB9662815L,0x0AA8499BL},{0UL,0x67357634L,0UL,0x0AA8499BL},{0xC34D4C8DL,9UL,0x67357634L,0xC34D4C8DL}},{{0UL,9UL,18446744073709551606UL,0x0AA8499BL},{0x0AA8499BL,0x67357634L,0x67357634L,0xC34D4C8DL},{0x4D50D654L,0x67357634L,18446744073709551606UL,0UL},{0xC34D4C8DL,0x67357634L,9UL,0xC34D4C8DL},{0x1EA873A9L,0xB9662815L,18446744073709551606UL,0xC34D4C8DL},{0UL,0x67357634L,0xB9662815L,0UL},{0x1EA873A9L,0x67357634L,1UL,0xC34D4C8DL}},{{0xC34D4C8DL,0xB9662815L,0xB9662815L,0xC34D4C8DL},{0x4D50D654L,0x67357634L,18446744073709551606UL,0UL},{0xC34D4C8DL,0x67357634L,9UL,0xC34D4C8DL},{0x1EA873A9L,0xB9662815L,18446744073709551606UL,0xC34D4C8DL},{0UL,0x67357634L,0xB9662815L,0UL},{0x1EA873A9L,0x67357634L,1UL,0xC34D4C8DL},{0xC34D4C8DL,0xB9662815L,0xB9662815L,0xC34D4C8DL}},{{0x4D50D654L,0x67357634L,18446744073709551606UL,0UL},{0xC34D4C8DL,0x67357634L,9UL,0xC34D4C8DL},{0x1EA873A9L,0xB9662815L,18446744073709551606UL,0xC34D4C8DL},{0UL,0x67357634L,0xB9662815L,0UL},{0x1EA873A9L,0x67357634L,1UL,0xC34D4C8DL},{0xC34D4C8DL,0xB9662815L,0xB9662815L,0xC34D4C8DL},{0x4D50D654L,0x67357634L,18446744073709551606UL,0UL}}};
            uint16_t l_2411 = 65535UL;
            int32_t l_2414 = (-4L);
            uint32_t *** const l_2438 = &g_872;
            int32_t **l_2447[3];
            int i, j, k;
            for (i = 0; i < 3; i++)
                l_2447[i] = &g_241;
            if (((*l_1997) |= ((*g_241) = p_28)))
            { /* block id: 979 */
                return p_28;
            }
            else
            { /* block id: 981 */
                int64_t l_2367[9] = {0x935B005E2364C77FLL,0x935B005E2364C77FLL,0x55C251F90960435ALL,0x935B005E2364C77FLL,0x935B005E2364C77FLL,0x55C251F90960435ALL,0x935B005E2364C77FLL,0x935B005E2364C77FLL,0x55C251F90960435ALL};
                uint16_t *l_2386 = &g_217;
                int i;
                if ((safe_mod_func_int32_t_s_s((safe_mod_func_int8_t_s_s((*g_158), ((safe_rshift_func_uint16_t_u_s((safe_add_func_int16_t_s_s(((((+((~l_2367[1]) , (((safe_mul_func_uint16_t_u_u((0x1E0CL | (safe_unary_minus_func_uint64_t_u(0x65D231C84C7DE8B2LL))), g_217)) , &g_83[0]) == &l_2081))) , (safe_lshift_func_int8_t_s_u((safe_div_func_int16_t_s_s(((((((*p_29) = (safe_lshift_func_uint8_t_u_u((safe_div_func_int32_t_s_s(l_2379[6][0][1], (((((safe_lshift_func_uint16_t_u_u((safe_lshift_func_int8_t_s_u(((((safe_rshift_func_uint16_t_u_u(((*l_2386) = g_378[6][0][6]), p_28)) ^ 9UL) || 7UL) == (*l_1997)), 1)), g_359[1])) , p_28) & 0x6AF2L) && p_28) , (-5L)))), (*g_896)))) == (*p_26)) > 5L) || l_2298) , l_2367[6]), (*l_1997))), p_28))) ^ p_28) && 0UL), 0x5EC4L)), 12)) & l_2379[0][0][1]))), l_2379[6][0][1])))
                { /* block id: 984 */
                    uint8_t l_2387[7] = {0x8DL,0x8DL,0x8DL,0x8DL,0x8DL,0x8DL,0x8DL};
                    int64_t *l_2423 = (void*)0;
                    int64_t *l_2424 = &g_493;
                    int16_t * const * const **l_2430 = &g_2429;
                    uint32_t ****l_2436 = (void*)0;
                    uint32_t ****l_2437 = &g_2435;
                    int i;
                    if (p_28)
                    { /* block id: 985 */
                        l_2387[3]++;
                        return l_2387[3];
                    }
                    else
                    { /* block id: 988 */
                        const uint8_t *l_2407 = (void*)0;
                        const uint8_t ** const l_2406 = &l_2407;
                        const uint8_t ** const *l_2405 = &l_2406;
                        int32_t l_2410 = 0x07EA2617L;
                        uint64_t ***l_2412 = &g_1522;
                        int32_t ***l_2417 = (void*)0;
                        l_2414 = (((safe_div_func_uint8_t_u_u((((((safe_mul_func_int8_t_s_s((p_28 <= (((safe_div_func_uint64_t_u_u(18446744073709551608UL, p_28)) & (p_28 , (~(l_2163 == ((safe_sub_func_uint32_t_u_u((safe_div_func_int16_t_s_s((safe_add_func_int32_t_s_s(((safe_mul_func_int16_t_s_s(0xCDA4L, ((void*)0 != l_2405))) != (safe_div_func_int64_t_s_s(((((p_28 & p_28) , 0xB0BBBE8314147C73LL) >= p_28) >= p_28), 0xB1B1AAA44D6A85C3LL))), (*p_26))), l_2410)), l_2411)) , l_2412))))) == l_2413)), (*g_158))) || l_2298) >= p_28) , l_2387[4]) , l_2367[8]), 255UL)) <= (*p_29)) != 4294967292UL);
                        (*g_2415) = p_29;
                        l_2418 = l_2416;
                    }
                    (*l_1997) |= (18446744073709551606UL < (g_1801 | (**l_2416)));
                    (*l_1997) = (((((safe_mod_func_uint64_t_u_u((safe_rshift_func_uint16_t_u_s(p_28, p_28)), ((*l_2424) = p_28))) , (safe_lshift_func_uint8_t_u_u((safe_mod_func_int8_t_s_s((g_217 , (((***g_1343) , &g_521) != ((*l_2430) = g_2429))), l_2367[1])), 3))) <= ((safe_rshift_func_uint8_t_u_s((safe_sub_func_int32_t_s_s((((*l_2437) = g_2435) == l_2438), (****g_1794))), l_2411)) & (**g_157))) <= (*l_1997)) , p_28);
                    for (g_2088 = 0; (g_2088 > (-14)); --g_2088)
                    { /* block id: 1000 */
                        if ((**l_2416))
                            break;
                    }
                }
                else
                { /* block id: 1003 */
                    uint8_t l_2444 = 1UL;
                    (*l_1997) ^= ((~(safe_sub_func_int16_t_s_s(0xFA8CL, 0UL))) , ((*g_241) &= (((*g_513) <= ((0UL && ((**l_1905) = (((((((**g_157) = ((p_28 & l_2444) <= p_28)) && (safe_rshift_func_int8_t_s_s(6L, ((p_28 , l_2444) && 0xDFE4B283L)))) == l_2444) <= p_28) > 0x85613717L) & 18446744073709551609UL))) == l_2444)) <= p_28)));
                }
            }
            l_2448 = ((*l_2416) = p_26);
        }
        for (g_1736 = 20; (g_1736 == 5); g_1736 = safe_sub_func_uint8_t_u_u(g_1736, 2))
        { /* block id: 1015 */
            uint8_t l_2451[3];
            const uint32_t ** const *l_2510 = (void*)0;
            int32_t l_2512 = 2L;
            const int32_t *l_2573[1][4];
            uint32_t l_2584 = 18446744073709551608UL;
            int32_t l_2586 = 0L;
            uint32_t *** const ***l_2603 = (void*)0;
            int32_t l_2631 = 7L;
            int32_t l_2632 = (-3L);
            int32_t l_2635 = 0xBD10F5F4L;
            int32_t l_2637 = 0x34B83A5DL;
            int32_t l_2638 = 0xB0D3C195L;
            int32_t l_2639 = 0xCDBB5A92L;
            int32_t l_2641[6][10][4] = {{{0x05687EBCL,0x0D91E9BCL,0x278872D5L,0L},{0xB79274EEL,0xF7C6AF0CL,0x12FE7324L,0x050E478BL},{0x5935479EL,(-1L),1L,0L},{0x05687EBCL,0x050E478BL,0x050E478BL,0x05687EBCL},{(-5L),0xA341128DL,(-4L),0xCDE32BABL},{0x7D3D015DL,0L,1L,0xBCEC8CFFL},{8L,8L,0x79731E70L,0xBCEC8CFFL},{6L,0L,0x9A80CE48L,0xCDE32BABL},{(-1L),0xA341128DL,0x4C0977EDL,0x05687EBCL},{(-1L),0x050E478BL,0xB79274EEL,0L}},{{0x4166E7C3L,(-1L),0xCDE32BABL,0x050E478BL},{0x8688AD40L,0xF7C6AF0CL,(-1L),0L},{0xBCEC8CFFL,0x0D91E9BCL,0xB79274EEL,0x5935479EL},{0x79731E70L,(-1L),0x6E931A32L,0x15CB5E7AL},{(-1L),0x8688AD40L,0L,0xA341128DL},{0xA341128DL,0x12FE7324L,0x79731E70L,0x97D2CFA9L},{0L,0x7D3D015DL,7L,6L},{0x7D3D015DL,0x8688AD40L,0x2A225A8CL,0x8688AD40L},{4L,0x79731E70L,0x050E478BL,0x5935479EL},{(-4L),0x24FA2072L,0x278872D5L,8L}},{{0x5935479EL,0xF7C6AF0CL,0x45ECA003L,1L},{0x5935479EL,0x6E931A32L,0x278872D5L,0L},{(-4L),1L,0x050E478BL,(-4L)},{4L,0xA341128DL,0x2A225A8CL,0x2782A31AL},{0x7D3D015DL,0L,0x9D2B5ECCL,0xCDE32BABL},{0x396CDAD9L,7L,1L,(-1L)},{0x278872D5L,0x9A80CE48L,0x7D3D015DL,0xB79274EEL},{(-5L),1L,6L,0x6E931A32L},{1L,0x79731E70L,0x2A225A8CL,0L},{0xCDE32BABL,(-5L),0x5935479EL,0x79731E70L}},{{0x050E478BL,(-10L),0x2952BEEBL,7L},{(-1L),8L,0x2A225A8CL,0x2A225A8CL},{0L,0L,4L,0x050E478BL},{(-5L),(-8L),0x45ECA003L,0x278872D5L},{1L,0x15CB5E7AL,1L,0x45ECA003L},{0x06660D7AL,0x15CB5E7AL,0xA341128DL,0x278872D5L},{0x15CB5E7AL,(-8L),0x4C0977EDL,0x050E478BL},{(-1L),0L,0L,0x2A225A8CL},{0x6E931A32L,8L,0xBCEC8CFFL,7L},{(-4L),(-10L),0xD3F0A855L,0x79731E70L}},{{0x2A225A8CL,(-5L),(-10L),0L},{0x6E931A32L,0x79731E70L,(-1L),0x6E931A32L},{0x808B98E2L,1L,0x4C0977EDL,0xB79274EEL},{0xD3F0A855L,0x9A80CE48L,0x9D2B5ECCL,(-1L)},{0x06660D7AL,7L,8L,0xCDE32BABL},{0x278872D5L,0L,0x45ECA003L,0xB79274EEL},{6L,0x278872D5L,6L,0x4C0977EDL},{0L,0x79731E70L,0x05687EBCL,0x9A80CE48L},{0xCDE32BABL,6L,0x2952BEEBL,0x79731E70L},{(-8L),0x4166E7C3L,0x2952BEEBL,1L}},{{0xCDE32BABL,8L,0x05687EBCL,(-4L)},{0L,1L,6L,0x050E478BL},{6L,0x050E478BL,0x45ECA003L,1L},{0x278872D5L,0x15CB5E7AL,8L,0x12FE7324L},{0x06660D7AL,0xD3F0A855L,0x9D2B5ECCL,0x278872D5L},{0xD3F0A855L,0x050E478BL,0x4C0977EDL,(-8L)},{0x808B98E2L,0L,(-1L),(-4L)},{0x6E931A32L,0L,(-10L),7L},{0x2A225A8CL,0x4166E7C3L,0xD3F0A855L,0L},{(-4L),(-5L),0xBCEC8CFFL,0x9A80CE48L}}};
            int i, j, k;
            for (i = 0; i < 3; i++)
                l_2451[i] = 255UL;
            for (i = 0; i < 1; i++)
            {
                for (j = 0; j < 4; j++)
                    l_2573[i][j] = &g_2574;
            }
        }
        if (l_1872)
            goto lbl_2062;
    }
    return l_2719[0];
}


/* ------------------------------------------ */
/* 
 * reads : g_158 g_71 g_1444 g_21 g_896 g_404 g_756 g_513 g_514 g_1343 g_872 g_873 g_378 g_331 g_157 g_368 g_83 g_78 g_9 g_131 g_74 g_137 g_233 g_240 g_241 g_269 g_135 g_1516 g_759 g_742 g_431 g_1793 g_1801 g_1156 g_1021 g_1826 g_359 g_663
 * writes: g_514 g_404 g_71 g_83 g_74 g_78 g_9 g_135 g_131 g_137 g_217 g_233 g_236 g_21 g_239 g_241 g_759 g_1056 g_742 g_359
 */
static uint32_t * func_30(uint32_t * p_31, uint32_t * p_32)
{ /* block id: 726 */
    uint32_t *****l_1771 = (void*)0;
    int32_t **l_1772 = (void*)0;
    int32_t **l_1774 = &g_241;
    int32_t l_1788 = 0x34EB5811L;
    int32_t *l_1791[7] = {&g_9,&g_9,&g_9,&g_9,&g_9,&g_9,&g_9};
    uint64_t l_1792 = 0xBB0E816AEFC6EC84LL;
    uint32_t ** const *l_1799 = &g_1796;
    uint32_t ** const **l_1798 = &l_1799;
    uint32_t ** const ***l_1797 = &l_1798;
    uint16_t l_1800 = 0x92BEL;
    uint32_t *l_1802 = (void*)0;
    uint32_t *l_1803 = &g_742;
    int8_t *l_1804[7][2][3] = {{{&g_137,&g_331,&g_137},{(void*)0,&g_137,(void*)0}},{{&g_137,&g_331,&g_137},{(void*)0,&g_137,(void*)0}},{{&g_137,&g_331,&g_137},{(void*)0,&g_137,(void*)0}},{{&g_137,&g_331,&g_137},{(void*)0,&g_137,(void*)0}},{{&g_137,&g_331,&g_137},{(void*)0,&g_137,(void*)0}},{{&g_137,&g_331,&g_137},{(void*)0,&g_137,(void*)0}},{{&g_137,&g_331,&g_137},{(void*)0,&g_137,&g_359[1]}}};
    int64_t l_1805 = 0x916D6F4A2634EA07LL;
    uint32_t l_1806 = 6UL;
    int32_t l_1807[4];
    int32_t l_1808 = (-1L);
    uint16_t *l_1834 = &l_1800;
    uint16_t l_1846 = 0xED47L;
    int i, j, k;
    for (i = 0; i < 4; i++)
        l_1807[i] = 8L;
    (*l_1774) = func_35(&g_742, p_32, p_31, ((void*)0 != l_1771));
    l_1808 &= ((*g_759) > (safe_mul_func_uint16_t_u_u(((safe_mul_func_int8_t_s_s(((*g_896) <= (((g_359[1] = ((*g_158) = (safe_add_func_uint32_t_u_u(((*l_1803) = (+(safe_div_func_int32_t_s_s((safe_sub_func_uint16_t_u_u(((**l_1774) , g_233[6]), ((safe_sub_func_uint8_t_u_u(((**l_1774) || (((l_1788 , ((((safe_mod_func_int32_t_s_s(((*g_431) = (**l_1774)), (l_1792 = (*g_759)))) <= ((*g_513) = ((**l_1774) | (**l_1774)))) , g_1793) != l_1797)) < l_1800) > g_1801)), 0x00L)) <= (**g_157)))), (*g_759))))), (*g_759))))) , l_1805) , l_1806)), 1L)) >= g_1156[1][1][0]), l_1807[1])));
    for (l_1792 = (-6); (l_1792 > 44); l_1792 = safe_add_func_int16_t_s_s(l_1792, 6))
    { /* block id: 737 */
        int32_t l_1815 = 9L;
        uint8_t *l_1831 = &g_83[0];
        const uint64_t *l_1836 = (void*)0;
        const uint64_t **l_1835 = &l_1836;
        if ((*g_1021))
            break;
        if ((((safe_sub_func_uint32_t_u_u((0x0E7A5DEDL != (((safe_rshift_func_int16_t_s_u((l_1815 , ((((safe_mod_func_uint8_t_u_u((safe_lshift_func_int8_t_s_u((safe_rshift_func_uint8_t_u_s((*g_896), 5)), (safe_lshift_func_int8_t_s_s((safe_mul_func_uint8_t_u_u(g_1826, ((((((0UL > (safe_add_func_int16_t_s_s(0x2AAEL, (safe_lshift_func_uint16_t_u_s(l_1815, (((*l_1831)--) ^ ((void*)0 == l_1834))))))) & 254UL) , (void*)0) == l_1835) , l_1815) > g_1826))), 5)))), l_1815)) <= 1UL) , g_359[3]) , (**l_1774))), 15)) , 0xD5E176D8248B62E9LL) & 0x75D8AD8FFED2D90DLL)), l_1815)) >= (**g_240)) , l_1815))
        { /* block id: 740 */
            uint64_t l_1837 = 0x0350115219288151LL;
            l_1837++;
        }
        else
        { /* block id: 742 */
            uint8_t l_1845 = 0xC7L;
            for (g_135 = 10; (g_135 != 1); g_135 = safe_sub_func_int8_t_s_s(g_135, 3))
            { /* block id: 745 */
                (*g_241) = ((void*)0 != &g_1343);
                return p_32;
            }
            l_1815 = (safe_unary_minus_func_int32_t_s((**g_663)));
            (**l_1774) &= (safe_rshift_func_int8_t_s_u(l_1845, 5));
            l_1846++;
        }
    }
    return p_32;
}


/* ------------------------------------------ */
/* 
 * reads :
 * writes:
 */
static uint32_t * func_33(const int32_t * p_34)
{ /* block id: 3 */
    uint64_t l_42 = 0x1966C4779D44F4CCLL;
    uint32_t *l_1445 = (void*)0;
    int32_t l_1463 = 0xCDF0DDFCL;
    uint8_t *l_1464 = &g_1465;
    int32_t **l_1518[6][10][4] = {{{&g_239,&g_239,&g_8[1],&g_8[3]},{&g_8[2],&g_239,&g_8[2],&g_241},{(void*)0,&g_241,&g_239,&g_241},{&g_8[3],&g_8[3],&g_239,&g_241},{&g_239,&g_241,&g_239,&g_241},{&g_8[3],&g_241,&g_239,&g_8[2]},{(void*)0,&g_8[3],&g_8[2],&g_8[3]},{&g_8[2],&g_8[3],&g_8[1],&g_8[3]},{&g_239,&g_8[3],&g_8[0],&g_8[2]},{&g_241,&g_241,&g_239,&g_241}},{{&g_8[0],&g_241,&g_8[2],&g_241},{&g_8[0],&g_8[3],&g_239,&g_241},{&g_241,&g_241,&g_8[0],&g_241},{&g_239,&g_239,&g_8[1],&g_8[3]},{&g_8[2],&g_239,&g_8[2],&g_241},{(void*)0,&g_241,&g_239,&g_241},{&g_8[3],&g_8[3],&g_239,&g_241},{&g_239,&g_241,&g_239,&g_241},{&g_8[3],&g_241,&g_239,&g_8[2]},{(void*)0,&g_8[3],&g_8[2],&g_8[3]}},{{&g_8[2],&g_8[3],&g_8[1],&g_8[3]},{&g_239,&g_8[3],&g_8[0],&g_8[2]},{&g_241,&g_241,&g_239,&g_241},{&g_8[0],&g_241,&g_8[2],&g_241},{&g_8[0],&g_8[3],&g_239,&g_241},{&g_241,&g_241,&g_8[0],&g_241},{&g_239,&g_239,&g_8[1],&g_8[3]},{&g_8[2],&g_239,&g_8[2],&g_241},{(void*)0,&g_241,&g_239,&g_241},{&g_8[3],&g_8[3],&g_239,&g_241}},{{&g_239,&g_241,&g_239,&g_241},{&g_8[3],&g_241,&g_239,&g_8[2]},{(void*)0,&g_8[3],&g_8[2],&g_8[3]},{&g_8[2],&g_8[3],&g_8[1],&g_8[3]},{&g_239,&g_8[3],&g_8[0],&g_8[2]},{&g_241,&g_241,&g_239,&g_241},{&g_8[0],&g_241,&g_8[2],&g_241},{&g_8[0],&g_8[3],&g_239,&g_241},{&g_241,&g_241,&g_8[0],&g_241},{&g_239,&g_239,&g_8[1],&g_8[3]}},{{&g_8[2],&g_239,&g_8[2],&g_241},{(void*)0,&g_241,&g_239,&g_241},{&g_8[3],&g_8[3],&g_239,&g_241},{&g_239,&g_241,&g_239,&g_241},{&g_8[3],&g_241,&g_239,&g_8[2]},{(void*)0,&g_8[3],&g_8[2],&g_8[3]},{&g_8[2],&g_8[3],&g_8[1],&g_8[3]},{&g_239,&g_8[3],&g_239,&g_241},{&g_8[2],&g_8[3],(void*)0,&g_8[3]},{&g_239,&g_241,&g_239,&g_241}},{{&g_239,&g_8[3],(void*)0,&g_241},{&g_8[2],&g_241,&g_239,&g_8[3]},{&g_239,&g_241,&g_241,&g_8[3]},{&g_8[2],&g_241,&g_8[2],&g_8[3]},{&g_8[3],&g_241,&g_8[1],&g_241},{&g_8[2],&g_8[3],&g_239,&g_241},{&g_8[0],&g_241,&g_239,&g_8[3]},{&g_8[2],&g_8[3],&g_8[1],&g_241},{&g_8[3],&g_241,&g_8[2],&g_239},{&g_8[2],&g_239,&g_241,&g_239}}};
    uint64_t **l_1519[9][9][3] = {{{&g_513,&g_513,&g_513},{&g_513,&g_513,(void*)0},{&g_513,(void*)0,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513}},{{&g_513,&g_513,&g_513},{&g_513,(void*)0,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,(void*)0,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513}},{{&g_513,(void*)0,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,(void*)0,&g_513},{&g_513,&g_513,&g_513},{&g_513,(void*)0,&g_513},{&g_513,&g_513,&g_513},{&g_513,(void*)0,&g_513},{&g_513,&g_513,&g_513}},{{&g_513,&g_513,&g_513},{&g_513,&g_513,(void*)0},{&g_513,(void*)0,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513}},{{&g_513,&g_513,&g_513},{&g_513,(void*)0,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,(void*)0,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513}},{{&g_513,(void*)0,&g_513},{&g_513,&g_513,(void*)0},{&g_513,&g_513,(void*)0},{&g_513,&g_513,(void*)0},{&g_513,&g_513,&g_513},{&g_513,(void*)0,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513}},{{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,(void*)0},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,(void*)0},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513}},{{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513}},{{&g_513,&g_513,&g_513},{&g_513,&g_513,(void*)0},{&g_513,&g_513,(void*)0},{&g_513,&g_513,(void*)0},{&g_513,&g_513,&g_513},{&g_513,(void*)0,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513},{&g_513,&g_513,&g_513}}};
    uint16_t l_1527 = 1UL;
    uint64_t l_1534 = 18446744073709551612UL;
    uint32_t **** const *l_1545 = &g_1342[2][4][7];
    const int32_t l_1549 = 1L;
    uint8_t l_1556 = 0x91L;
    int8_t l_1595[10] = {6L,0xFFL,6L,6L,0xFFL,6L,6L,0xFFL,6L,6L};
    uint32_t **l_1634 = &l_1445;
    uint32_t ***l_1633 = &l_1634;
    uint32_t ****l_1632 = &l_1633;
    int32_t l_1720 = 1L;
    int32_t l_1726 = (-1L);
    uint8_t l_1735[6];
    int32_t l_1765[1][3][2] = {{{(-5L),(-5L)},{(-5L),(-5L)},{(-5L),(-5L)}}};
    uint64_t l_1766 = 0xE45F2477AADEBFE3LL;
    uint16_t l_1767[6][5][2] = {{{0x4F88L,0xEAFAL},{0xBE6DL,0x66BEL},{0x2953L,0x4F88L},{65528UL,0xDEECL},{0xDEECL,0UL}},{{0x74EBL,0x183FL},{0x9352L,0x2953L},{0xA4AEL,0x0B68L},{0x66BEL,0x0B68L},{0xA4AEL,0x2953L}},{{0x9352L,0x183FL},{0x74EBL,0UL},{0xDEECL,0xDEECL},{65528UL,0x4F88L},{0x2953L,0x66BEL}},{{0xBE6DL,0xEAFAL},{0x4F88L,0xBE6DL},{8UL,7UL},{8UL,0xBE6DL},{0x4F88L,0xEAFAL}},{{0xBE6DL,0x66BEL},{0x2953L,0x4F88L},{65528UL,0xDEECL},{0xDEECL,0UL},{0x74EBL,0x183FL}},{{0x9352L,0x2953L},{0xA4AEL,0x0B68L},{0x66BEL,0x0B68L},{0xA4AEL,0x2953L},{0x9352L,0x183FL}}};
    int i, j, k;
    for (i = 0; i < 6; i++)
        l_1735[i] = 0x37L;
    return &g_21[0];
}


/* ------------------------------------------ */
/* 
 * reads : g_158 g_71 g_1444 g_21 g_896 g_404 g_756 g_513 g_514 g_1343 g_872 g_873 g_378 g_331 g_157 g_368 g_83 g_78 g_9 g_131 g_74 g_137 g_233 g_240 g_241 g_269 g_135 g_1516 g_1156
 * writes: g_514 g_404 g_71 g_83 g_74 g_78 g_9 g_135 g_131 g_137 g_217 g_233 g_236 g_21 g_239 g_241 g_759 g_1056 g_1156
 */
static int32_t * func_35(uint32_t * p_36, uint32_t * p_37, uint32_t * p_38, const uint8_t  p_39)
{ /* block id: 609 */
    uint32_t l_1475 = 0x9E8C2DF9L;
    int32_t l_1487 = 0x3FE40761L;
    int32_t l_1488[9] = {0xDF2F2CB7L,0xDF2F2CB7L,0xDF2F2CB7L,0xDF2F2CB7L,0xDF2F2CB7L,0xDF2F2CB7L,0xDF2F2CB7L,0xDF2F2CB7L,0xDF2F2CB7L};
    uint32_t l_1489 = 0xF3D7FDD2L;
    int64_t *l_1496 = &g_357;
    int64_t * const *l_1495[10][1] = {{(void*)0},{(void*)0},{&l_1496},{&l_1496},{&l_1496},{&l_1496},{&l_1496},{&l_1496},{&l_1496},{&l_1496}};
    int64_t * const **l_1494[10][9][2] = {{{&l_1495[5][0],&l_1495[1][0]},{(void*)0,&l_1495[8][0]},{&l_1495[5][0],(void*)0},{&l_1495[5][0],&l_1495[8][0]},{&l_1495[5][0],&l_1495[0][0]},{(void*)0,&l_1495[5][0]},{(void*)0,(void*)0},{(void*)0,(void*)0},{(void*)0,&l_1495[5][0]}},{{&l_1495[8][0],&l_1495[7][0]},{&l_1495[5][0],(void*)0},{&l_1495[5][0],&l_1495[7][0]},{&l_1495[5][0],&l_1495[5][0]},{&l_1495[0][0],(void*)0},{&l_1495[8][0],&l_1495[8][0]},{&l_1495[3][0],&l_1495[5][0]},{&l_1495[8][0],(void*)0},{&l_1495[5][0],&l_1495[7][0]}},{{&l_1495[5][0],&l_1495[7][0]},{&l_1495[5][0],(void*)0},{&l_1495[8][0],&l_1495[5][0]},{&l_1495[3][0],&l_1495[8][0]},{&l_1495[8][0],(void*)0},{&l_1495[0][0],&l_1495[5][0]},{&l_1495[5][0],&l_1495[7][0]},{&l_1495[5][0],(void*)0},{&l_1495[5][0],&l_1495[7][0]}},{{&l_1495[8][0],&l_1495[5][0]},{(void*)0,(void*)0},{(void*)0,(void*)0},{(void*)0,&l_1495[5][0]},{(void*)0,&l_1495[0][0]},{&l_1495[5][0],&l_1495[8][0]},{&l_1495[5][0],(void*)0},{&l_1495[5][0],&l_1495[8][0]},{(void*)0,&l_1495[1][0]}},{{&l_1495[5][0],(void*)0},{&l_1495[5][0],&l_1495[5][0]},{&l_1495[1][0],&l_1495[5][0]},{&l_1495[5][0],&l_1495[7][0]},{(void*)0,&l_1495[5][0]},{&l_1495[3][0],(void*)0},{(void*)0,&l_1495[8][0]},{(void*)0,&l_1495[7][0]},{&l_1495[9][0],&l_1495[0][0]}},{{(void*)0,(void*)0},{&l_1495[8][0],(void*)0},{&l_1495[5][0],&l_1495[5][0]},{(void*)0,(void*)0},{&l_1495[5][0],(void*)0},{&l_1495[5][0],&l_1495[5][0]},{&l_1495[5][0],(void*)0},{&l_1495[5][0],(void*)0},{(void*)0,&l_1495[5][0]}},{{&l_1495[5][0],(void*)0},{&l_1495[8][0],(void*)0},{(void*)0,&l_1495[0][0]},{&l_1495[9][0],&l_1495[7][0]},{(void*)0,&l_1495[8][0]},{(void*)0,(void*)0},{&l_1495[3][0],&l_1495[5][0]},{(void*)0,&l_1495[7][0]},{&l_1495[5][0],&l_1495[5][0]}},{{&l_1495[1][0],&l_1495[5][0]},{&l_1495[5][0],(void*)0},{&l_1495[5][0],&l_1495[1][0]},{(void*)0,&l_1495[8][0]},{&l_1495[5][0],(void*)0},{&l_1495[5][0],&l_1495[8][0]},{&l_1495[5][0],&l_1495[0][0]},{(void*)0,&l_1495[5][0]},{(void*)0,(void*)0}},{{(void*)0,(void*)0},{(void*)0,&l_1495[5][0]},{&l_1495[8][0],&l_1495[7][0]},{&l_1495[5][0],(void*)0},{&l_1495[5][0],&l_1495[7][0]},{&l_1495[5][0],&l_1495[5][0]},{&l_1495[0][0],(void*)0},{&l_1495[8][0],&l_1495[8][0]},{&l_1495[3][0],&l_1495[5][0]}},{{&l_1495[8][0],(void*)0},{&l_1495[5][0],&l_1495[7][0]},{&l_1495[5][0],&l_1495[7][0]},{&l_1495[5][0],(void*)0},{&l_1495[8][0],&l_1495[5][0]},{&l_1495[3][0],&l_1495[8][0]},{&l_1495[8][0],(void*)0},{&l_1495[0][0],&l_1495[5][0]},{&l_1495[5][0],&l_1495[7][0]}}};
    uint64_t **l_1507 = &g_513;
    uint8_t l_1514 = 0x8DL;
    int i, j, k;
    if (((!((*g_513) &= (safe_lshift_func_uint16_t_u_u(((safe_div_func_int16_t_s_s((safe_lshift_func_int8_t_s_u(l_1475, (((*g_158) & ((l_1475 == l_1475) <= ((*g_1444) < ((((void*)0 == &l_1475) == 7UL) , (0xA2L == 0x9FL))))) , (*g_896)))), g_756)) > 0x77193725L), p_39)))) | (*g_158)))
    { /* block id: 611 */
        int64_t l_1478 = (-1L);
        int32_t *l_1479 = (void*)0;
        int32_t *l_1480 = &g_131[8];
        int32_t *l_1481 = &g_131[1];
        int32_t *l_1482 = &g_135;
        int32_t *l_1483 = (void*)0;
        int32_t *l_1484 = (void*)0;
        int32_t l_1485 = 1L;
        int32_t *l_1486[9][8] = {{&g_9,(void*)0,&g_135,(void*)0,&g_135,&g_9,&g_135,&g_131[8]},{(void*)0,&g_9,(void*)0,&g_9,&g_9,(void*)0,(void*)0,(void*)0},{&g_135,(void*)0,&g_9,&g_9,(void*)0,&g_135,&g_9,&g_131[8]},{(void*)0,&g_9,&g_9,(void*)0,&g_9,(void*)0,&g_9,&g_135},{&g_9,&g_135,&g_131[8],(void*)0,(void*)0,&g_131[8],&g_9,&g_131[8]},{&g_135,(void*)0,&g_131[8],&g_9,&g_131[8],(void*)0,&g_135,(void*)0},{&g_135,(void*)0,&g_9,&g_9,&g_9,&g_131[8],(void*)0,&g_131[8]},{&g_135,&g_9,&g_131[8],&g_131[8],&g_9,&g_135,(void*)0,&g_9},{&g_135,(void*)0,&g_9,&g_131[8],&g_131[8],&g_9,(void*)0,&g_135}};
        int i, j;
        --l_1489;
    }
    else
    { /* block id: 613 */
        int64_t * const **l_1497 = &l_1495[4][0];
        int32_t l_1515 = 0xDB46CCB8L;
        (*g_1516) = func_51((safe_lshift_func_uint16_t_u_u((((&g_931 != (l_1497 = l_1494[5][2][1])) && (!(((***g_1343) , (safe_mul_func_int8_t_s_s((safe_lshift_func_int8_t_s_s((((safe_rshift_func_int16_t_s_u(((safe_lshift_func_uint8_t_u_u((l_1507 != (void*)0), 2)) || (((safe_mul_func_uint8_t_u_u((--(*g_896)), ((**g_157) ^= ((((safe_rshift_func_uint8_t_u_u(g_331, 0)) ^ l_1489) , l_1514) , (p_39 != p_39))))) <= (*g_1444)) == l_1487)), l_1488[5])) & 1UL) | (-5L)), 3)), l_1515))) == 0xC130L))) == l_1489), 12)), (*g_1444), g_368, p_37, p_39);
        for (g_78 = 0; g_78 < 6; g_78 += 1)
        {
            g_1056[g_78] = (void*)0;
        }
    }
    return p_36;
}


/* ------------------------------------------ */
/* 
 * reads : g_513 g_514 g_157 g_158 g_71 g_386 g_21 g_78 g_131 g_9 g_977 g_980 g_1261 g_674 g_360 g_896 g_404 g_83 g_74 g_137 g_233 g_240 g_241 g_269 g_135 g_1294 g_1342 g_1055 g_1056 g_758 g_759 g_431 g_1444
 * writes: g_493 g_386 g_21 g_78 g_131 g_239 g_674 g_360 g_83 g_74 g_9 g_135 g_71 g_137 g_217 g_233 g_236 g_241 g_514 g_759 g_1156 g_354 g_1342 g_404
 */
static uint32_t * func_40(uint32_t  p_41)
{ /* block id: 4 */
    int8_t l_67 = 0x07L;
    uint32_t l_72[7][10][3] = {{{4294967289UL,1UL,0x73C04290L},{1UL,0UL,1UL},{1UL,0UL,0x105F61CAL},{0x69674B17L,4UL,0xE0C42EF3L},{0x73C04290L,0x105F61CAL,0x980A6F85L},{0x52705104L,0xCDCBD5F5L,2UL},{0x73C04290L,4294967295UL,4294967291UL},{0x69674B17L,0x69674B17L,0UL},{1UL,1UL,0UL},{1UL,1UL,0x69674B17L}},{{4294967289UL,0x4A9FF1DBL,4294967295UL},{4294967292UL,1UL,0x69674B17L},{0x399D012CL,0UL,0UL},{0xF94A2283L,0x52705104L,0UL},{0x45F0A862L,4294967295UL,4294967291UL},{0x5AB8BF51L,0x55A9D45CL,2UL},{4294967291UL,4294967289UL,0x980A6F85L},{0xE0E206F6L,0x55A9D45CL,0xE0C42EF3L},{0x105F61CAL,4294967295UL,0x105F61CAL},{0x55A9D45CL,0x52705104L,1UL}},{{1UL,0UL,0x73C04290L},{0xE0C42EF3L,1UL,0x00DD038CL},{0UL,0x4A9FF1DBL,0x28784865L},{0xE0C42EF3L,1UL,4294967292UL},{1UL,1UL,4294967295UL},{0x55A9D45CL,0x69674B17L,4UL},{0x105F61CAL,4294967295UL,1UL},{0xE0E206F6L,0xCDCBD5F5L,5UL},{4294967291UL,0x105F61CAL,1UL},{0x5AB8BF51L,4UL,4UL}},{{0x45F0A862L,0UL,4294967295UL},{0xF94A2283L,0UL,4294967292UL},{0x399D012CL,1UL,0x28784865L},{4294967292UL,0xE0E206F6L,0x00DD038CL},{4294967289UL,1UL,0x73C04290L},{1UL,0UL,1UL},{1UL,0UL,0x105F61CAL},{0x69674B17L,4UL,0xE0C42EF3L},{0x73C04290L,0x105F61CAL,0x980A6F85L},{0x52705104L,0xCDCBD5F5L,2UL}},{{0x73C04290L,4294967295UL,0UL},{4294967292UL,4294967292UL,0xCDCBD5F5L},{0UL,4294967291UL,0x980A6F85L},{0UL,0x69674B17L,4294967292UL},{4294967295UL,4294967289UL,0x73C04290L},{0x52705104L,0UL,4294967292UL},{0x45F0A862L,0x980A6F85L,0x980A6F85L},{2UL,0x5AB8BF51L,0xCDCBD5F5L},{0x28784865L,0x4A9FF1DBL,0UL},{0xF94A2283L,4UL,0x55A9D45CL}},{{0UL,4294967295UL,4294967295UL},{1UL,4UL,1UL},{0xB95DFEA4L,0x4A9FF1DBL,0xB95DFEA4L},{4UL,0x5AB8BF51L,0UL},{4294967291UL,0x980A6F85L,0x105F61CAL},{1UL,0UL,5UL},{0x399D012CL,4294967289UL,1UL},{1UL,0x69674B17L,0x52705104L},{4294967291UL,4294967291UL,0x4A9FF1DBL},{4UL,4294967292UL,0x00DD038CL}},{{0xB95DFEA4L,1UL,4294967291UL},{1UL,0xE0E206F6L,0xE0C42EF3L},{0UL,0xB95DFEA4L,4294967291UL},{0xF94A2283L,0x00DD038CL,0x00DD038CL},{0x28784865L,0x399D012CL,0x4A9FF1DBL},{2UL,0xCDCBD5F5L,0x52705104L},{0x45F0A862L,0UL,1UL},{0x52705104L,1UL,5UL},{4294967295UL,0UL,0x105F61CAL},{0UL,0xCDCBD5F5L,0UL}}};
    int32_t l_76 = 3L;
    int32_t l_282 = 6L;
    int32_t l_293[4][7][3] = {{{(-3L),0x78794BD4L,5L},{0x102855B8L,0x78794BD4L,0x78794BD4L},{0x64E92A9DL,0x78794BD4L,1L},{(-3L),0x78794BD4L,5L},{0x102855B8L,0x78794BD4L,0x78794BD4L},{0x64E92A9DL,0x78794BD4L,1L},{(-3L),0x78794BD4L,5L}},{{0x102855B8L,0x78794BD4L,0x78794BD4L},{0x64E92A9DL,0x78794BD4L,1L},{(-3L),0x78794BD4L,5L},{0x102855B8L,0x78794BD4L,0x78794BD4L},{0x64E92A9DL,0x78794BD4L,1L},{(-3L),0x78794BD4L,5L},{0x102855B8L,0x78794BD4L,0x78794BD4L}},{{0x64E92A9DL,0x78794BD4L,1L},{(-3L),0x78794BD4L,5L},{0x102855B8L,0x78794BD4L,0x78794BD4L},{0x64E92A9DL,0x78794BD4L,1L},{(-3L),0x78794BD4L,5L},{0x102855B8L,0x78794BD4L,0x78794BD4L},{0x64E92A9DL,0x78794BD4L,1L}},{{(-3L),0x78794BD4L,5L},{0x102855B8L,0x78794BD4L,0x78794BD4L},{0x64E92A9DL,0x78794BD4L,1L},{(-3L),0x78794BD4L,5L},{0x102855B8L,0x78794BD4L,0x78794BD4L},{0x64E92A9DL,0x78794BD4L,1L},{(-3L),0x78794BD4L,5L}}};
    int16_t *l_324 = (void*)0;
    uint8_t *l_353 = (void*)0;
    uint32_t * const l_429 = (void*)0;
    uint32_t * const *l_428 = &l_429;
    uint64_t *l_637 = (void*)0;
    int8_t l_661 = 0L;
    int64_t l_743 = 0x5FB8FD9CFF891747LL;
    uint32_t l_747 = 0xFB140EABL;
    uint32_t *l_785 = &g_378[7][1][2];
    int64_t *l_928 = &g_493;
    int64_t **l_927 = &l_928;
    uint8_t l_950 = 3UL;
    uint16_t *l_966 = &g_386;
    uint32_t *l_967 = &l_72[4][9][0];
    uint32_t *l_968 = &g_21[5];
    int8_t l_1007[2];
    const int32_t l_1053 = 0x99B2F423L;
    int64_t l_1157 = 0x5FD24BB24325F133LL;
    const int8_t *l_1189 = &g_359[1];
    const int8_t **l_1188 = &l_1189;
    const int8_t ***l_1187[4] = {&l_1188,&l_1188,&l_1188,&l_1188};
    uint64_t **l_1217 = &l_637;
    int8_t **l_1258[7] = {&g_158,&g_158,&g_158,&g_158,&g_158,&g_158,&g_158};
    const int32_t *l_1284[6][3][4] = {{{&g_131[8],&g_131[8],&g_131[8],&g_131[8]},{&g_131[8],&g_131[8],&g_131[8],&g_131[8]},{&g_131[8],&g_131[8],&g_131[8],&g_131[8]}},{{&g_131[8],&g_131[8],&g_131[8],&g_131[8]},{&g_131[8],&g_131[8],&g_131[8],&g_131[8]},{&g_131[8],&g_131[8],&g_131[8],&g_131[8]}},{{&g_131[8],&g_131[8],&g_131[8],&g_131[8]},{&g_131[8],&g_131[8],&g_131[8],&g_131[8]},{&g_131[8],&g_131[8],&g_131[8],&g_131[8]}},{{&g_131[8],&g_131[8],&g_131[8],&g_131[8]},{&g_131[8],&g_131[8],&g_131[8],&g_131[8]},{&g_131[8],&g_131[8],&g_131[8],&g_131[8]}},{{&g_131[8],&g_131[8],&g_131[8],&g_131[8]},{&g_131[8],&g_131[8],&g_131[8],&g_131[8]},{&g_131[8],&g_131[8],&g_131[8],&g_131[8]}},{{&g_131[8],&g_131[8],&g_131[8],&g_131[8]},{&g_131[8],&g_131[8],&g_131[8],&g_131[8]},{&g_131[8],&g_131[8],&g_131[8],&g_131[8]}}};
    int8_t l_1309[6][3][10] = {{{0xC6L,7L,(-5L),0xA8L,1L,1L,0x05L,0x15L,(-3L),(-3L)},{0x6DL,1L,1L,0xC6L,0xC6L,1L,1L,0x6DL,0x6DL,0L},{(-6L),0x6DL,8L,0L,8L,0xB5L,0L,0x6DL,0x2FL,0xC6L}},{{0x15L,1L,8L,8L,1L,0x6DL,(-3L),0x6DL,0x3BL,0x6DL},{1L,1L,1L,0L,1L,1L,1L,0x15L,0L,(-6L)},{0xA8L,0x05L,(-5L),(-6L),0xB5L,0xCCL,8L,1L,0L,0x15L}},{{1L,0x05L,0x2FL,(-5L),0x6DL,(-7L),1L,(-6L),(-6L),1L},{0x2FL,1L,0xCCL,0xCCL,1L,0x2FL,(-3L),0xCBL,0L,0xA8L},{0L,1L,1L,0x6DL,0xCCL,0x15L,0L,0x75L,7L,1L}},{{0L,0x6DL,0L,0x05L,(-7L),0x2FL,1L,1L,1L,0x2FL},{0x2FL,1L,1L,1L,0x2FL,(-7L),0x05L,0L,0x6DL,0L},{1L,7L,0x75L,0L,0x15L,0xCCL,0x6DL,1L,1L,0L}},{{0xA8L,0L,0xCBL,(-3L),0x2FL,1L,8L,8L,0L,0L},{1L,0xC6L,0xC6L,1L,1L,0x6DL,0x6DL,0L,7L,1L},{0x2FL,0x15L,1L,1L,8L,0x3BL,0xC6L,0x6DL,7L,(-6L)}},{{0xC6L,8L,0x2FL,1L,0L,0xCBL,0x75L,0xCBL,0L,1L},{0L,0xCCL,0L,8L,0x6DL,0xB5L,(-5L),1L,0xCBL,0x2FL},{0x05L,0L,0x6DL,0L,0x3BL,(-5L),8L,1L,0L,0xC6L}}};
    uint32_t l_1310 = 0x5507549DL;
    int8_t **l_1322 = &g_158;
    int64_t l_1393 = 0L;
    uint32_t ****l_1408 = &g_1343;
    int8_t l_1429[8][6] = {{8L,8L,3L,8L,8L,3L},{8L,8L,3L,8L,8L,3L},{8L,8L,3L,8L,8L,3L},{8L,8L,3L,8L,8L,3L},{8L,8L,3L,8L,8L,3L},{8L,8L,3L,8L,8L,3L},{8L,8L,3L,8L,8L,3L},{8L,8L,3L,8L,8L,3L}};
    uint32_t l_1436 = 0x84A1A74EL;
    int i, j, k;
    for (i = 0; i < 2; i++)
        l_1007[i] = 0x41L;
lbl_969:
    for (p_41 = 26; (p_41 <= 50); p_41++)
    { /* block id: 7 */
        uint32_t l_59 = 0UL;
        int8_t *l_70 = &g_71[1][5];
        int16_t *l_73[10] = {&g_74,&g_74,&g_74,&g_74,&g_74,&g_74,&g_74,&g_74,&g_74,&g_74};
        int32_t l_75[7] = {0L,0xCE42BF62L,0xCE42BF62L,0L,0xCE42BF62L,0xCE42BF62L,0L};
        uint16_t *l_77 = &g_78;
        int32_t *l_79 = (void*)0;
        const uint32_t *l_271[9][3][9] = {{{(void*)0,(void*)0,&g_272[1],&g_272[1],&g_272[1],(void*)0,(void*)0,&g_272[1],(void*)0},{&g_272[0],&g_272[1],&g_272[1],(void*)0,&g_272[1],&g_272[2],(void*)0,(void*)0,&g_272[2]},{(void*)0,(void*)0,&g_272[0],(void*)0,(void*)0,&g_272[1],&g_272[0],&g_272[1],(void*)0}},{{&g_272[1],&g_272[1],(void*)0,&g_272[1],&g_272[2],(void*)0,(void*)0,&g_272[2],&g_272[1]},{&g_272[1],&g_272[1],&g_272[1],(void*)0,(void*)0,&g_272[1],(void*)0,(void*)0,&g_272[1]},{&g_272[1],&g_272[1],&g_272[1],&g_272[1],&g_272[2],&g_272[2],&g_272[1],&g_272[1],&g_272[1]}},{{(void*)0,&g_272[1],&g_272[3],(void*)0,(void*)0,(void*)0,&g_272[3],&g_272[1],(void*)0},{&g_272[2],(void*)0,&g_272[1],&g_272[1],&g_272[1],&g_272[1],(void*)0,&g_272[2],&g_272[0]},{(void*)0,&g_272[1],&g_272[1],(void*)0,&g_272[1],&g_272[1],(void*)0,(void*)0,(void*)0}},{{&g_272[2],&g_272[1],(void*)0,(void*)0,&g_272[1],&g_272[2],&g_272[1],(void*)0,&g_272[0]},{(void*)0,&g_272[1],&g_272[0],&g_272[1],(void*)0,(void*)0,&g_272[0],(void*)0,(void*)0},{&g_272[1],&g_272[1],&g_272[1],&g_272[1],&g_272[0],(void*)0,&g_272[1],&g_272[2],&g_272[1]}},{{&g_272[1],(void*)0,&g_272[1],&g_272[1],(void*)0,(void*)0,(void*)0,&g_272[1],&g_272[1]},{&g_272[1],&g_272[1],(void*)0,&g_272[1],&g_272[0],&g_272[2],(void*)0,&g_272[1],&g_272[1]},{(void*)0,(void*)0,&g_272[3],&g_272[1],(void*)0,&g_272[1],&g_272[3],(void*)0,(void*)0}},{{&g_272[0],(void*)0,(void*)0,&g_272[1],&g_272[1],&g_272[1],&g_272[1],&g_272[2],&g_272[2]},{(void*)0,(void*)0,&g_272[1],&g_272[1],&g_272[1],(void*)0,(void*)0,&g_272[1],(void*)0},{&g_272[0],&g_272[1],&g_272[1],(void*)0,&g_272[1],&g_272[2],(void*)0,(void*)0,&g_272[2]}},{{(void*)0,(void*)0,&g_272[0],(void*)0,(void*)0,&g_272[1],&g_272[0],&g_272[1],(void*)0},{&g_272[1],&g_272[1],(void*)0,&g_272[1],&g_272[2],(void*)0,(void*)0,&g_272[2],&g_272[1]},{&g_272[1],&g_272[1],&g_272[1],(void*)0,(void*)0,&g_272[1],(void*)0,(void*)0,&g_272[1]}},{{&g_272[1],&g_272[1],&g_272[1],&g_272[1],&g_272[2],&g_272[2],&g_272[1],&g_272[1],&g_272[1]},{(void*)0,&g_272[1],&g_272[3],(void*)0,(void*)0,(void*)0,&g_272[3],&g_272[1],(void*)0},{&g_272[2],(void*)0,&g_272[1],&g_272[1],&g_272[1],&g_272[1],(void*)0,&g_272[2],&g_272[0]}},{{(void*)0,&g_272[1],&g_272[1],(void*)0,&g_272[1],&g_272[1],(void*)0,(void*)0,(void*)0},{&g_272[2],&g_272[1],(void*)0,(void*)0,&g_272[1],&g_272[2],&g_272[1],(void*)0,&g_272[0]},{(void*)0,&g_272[1],&g_272[0],&g_272[1],(void*)0,(void*)0,&g_272[0],(void*)0,(void*)0}}};
        const uint32_t **l_270 = &l_271[7][2][8];
        uint32_t l_349[8];
        uint32_t *l_420[5];
        uint32_t **l_419[9] = {&l_420[0],(void*)0,&l_420[0],&l_420[0],(void*)0,&l_420[0],&l_420[0],(void*)0,&l_420[0]};
        uint8_t **l_488 = (void*)0;
        uint32_t l_524[8] = {7UL,7UL,7UL,7UL,7UL,7UL,7UL,7UL};
        int32_t l_526 = 0L;
        int32_t l_528 = (-1L);
        int64_t *l_532[2];
        const int32_t *l_662 = &l_528;
        uint32_t l_682 = 1UL;
        const int32_t l_707 = 0x148C93F7L;
        int8_t l_709 = (-1L);
        int32_t *l_714 = &l_528;
        uint8_t l_776[2][8] = {{252UL,246UL,252UL,246UL,252UL,246UL,252UL,246UL},{252UL,246UL,252UL,246UL,252UL,246UL,252UL,246UL}};
        int8_t l_787 = 0xF8L;
        int32_t l_848 = 1L;
        uint32_t * const l_865 = &l_59;
        uint32_t * const *l_864 = &l_865;
        int16_t l_884 = 0x50EFL;
        uint16_t l_891 = 0UL;
        int i, j, k;
        for (i = 0; i < 8; i++)
            l_349[i] = 0xC7D38188L;
        for (i = 0; i < 5; i++)
            l_420[i] = &l_72[3][2][0];
        for (i = 0; i < 2; i++)
            l_532[i] = &g_493;
    }
    if ((p_41 && (((l_293[0][4][2] ^= ((*g_513) != (*g_513))) ^ ((*l_968) &= (((*l_967) = (((*l_966) &= (safe_lshift_func_uint8_t_u_s((p_41 != ((safe_mod_func_int64_t_s_s(p_41, ((*l_928) = (((safe_lshift_func_int8_t_s_s((l_950 | (safe_lshift_func_int8_t_s_u(l_72[4][9][0], 3))), 0)) | ((safe_rshift_func_int8_t_s_u((**g_157), ((safe_div_func_int64_t_s_s((safe_lshift_func_int16_t_s_s((safe_div_func_uint64_t_u_u((safe_add_func_int64_t_s_s((~(((safe_mod_func_int8_t_s_s((l_282 ^= (*g_158)), l_661)) != p_41) <= p_41)), p_41)), p_41)), 0)), p_41)) != 1L))) == l_743)) ^ 0x3369FCA9L)))) , 65535UL)), (**g_157)))) > 0x6DFBL)) == p_41))) == l_67)))
    { /* block id: 414 */
        int32_t *l_978 = &l_282;
        int32_t l_1027[2];
        uint8_t l_1069 = 249UL;
        uint8_t **l_1116 = &g_896;
        uint8_t ***l_1115 = &l_1116;
        int i;
        for (i = 0; i < 2; i++)
            l_1027[i] = 0L;
        if (p_41)
            goto lbl_969;
        for (g_78 = 3; (g_78 <= 8); g_78 += 1)
        { /* block id: 418 */
            int16_t l_997 = 0L;
            const int32_t l_1006 = 0x3DBCCDE2L;
            int16_t *l_1008 = &g_74;
            const int16_t **l_1058[8] = {&g_1056[0],(void*)0,&g_1056[0],(void*)0,&g_1056[0],(void*)0,&g_1056[0],(void*)0};
            uint32_t *l_1071 = &g_21[1];
            int8_t * const *l_1118 = &g_158;
            uint32_t ****l_1251 = (void*)0;
            int i;
            g_131[g_78] = (g_131[g_78] == (((safe_rshift_func_uint8_t_u_s(l_747, (0xD9L >= (safe_lshift_func_uint16_t_u_s(p_41, 3))))) , (safe_lshift_func_uint16_t_u_u(g_9, 1))) >= ((~((void*)0 != g_977)) <= 249UL)));
            (*g_980) = l_978;
        }
        if (l_293[2][3][1])
        { /* block id: 515 */
            int32_t **l_1260 = (void*)0;
            (*l_978) = 0x0CE0B958L;
            l_293[3][4][1] = (-1L);
            (*g_1261) = &l_293[1][6][2];
        }
        else
        { /* block id: 519 */
            l_293[2][3][1] = (-4L);
        }
        for (g_674 = 1; (g_674 == (-25)); g_674 = safe_sub_func_int16_t_s_s(g_674, 1))
        { /* block id: 524 */
            int8_t l_1264 = (-2L);
            int32_t **l_1265 = &g_239;
            (*l_978) = l_1264;
            (*l_1265) = &l_1027[0];
        }
    }
    else
    { /* block id: 528 */
        uint32_t *l_1269[10][2] = {{&g_21[0],&g_21[0]},{&g_21[0],&g_21[0]},{&g_21[0],&g_21[0]},{&g_21[0],&g_21[0]},{&g_21[0],&g_21[0]},{&g_21[0],&g_21[0]},{&g_21[0],&g_21[0]},{&g_21[0],&g_21[0]},{&g_21[0],&g_21[0]},{&g_21[0],&g_21[0]}};
        int32_t l_1277 = 0x495517D5L;
        uint64_t ***l_1292[7][4] = {{&l_1217,&l_1217,&l_1217,&l_1217},{&l_1217,&l_1217,&l_1217,&l_1217},{&l_1217,&l_1217,&l_1217,&l_1217},{&l_1217,&l_1217,&l_1217,&l_1217},{&l_1217,&l_1217,&l_1217,&l_1217},{&l_1217,&l_1217,&l_1217,&l_1217},{&l_1217,&l_1217,&l_1217,&l_1217}};
        int32_t l_1296 = 4L;
        int32_t l_1297 = (-1L);
        int32_t l_1299 = 0L;
        int32_t l_1300 = 0x18082008L;
        int32_t l_1301 = 1L;
        int32_t l_1302 = 5L;
        int32_t l_1304 = 0x28FDB2C8L;
        int32_t l_1305 = 0x8A0B9C73L;
        int32_t l_1306[8][1] = {{0x2BBF7A1CL},{1L},{0x2BBF7A1CL},{1L},{0x2BBF7A1CL},{1L},{0x2BBF7A1CL},{1L}};
        int64_t l_1307[5][1][5] = {{{1L,1L,(-1L),0x768E11BC7B57DB3CLL,0xB5EF5C908305A281LL}},{{(-4L),0xB5EF5C908305A281LL,0L,0L,0xB5EF5C908305A281LL}},{{0xB5EF5C908305A281LL,1L,(-4L),0xB5EF5C908305A281LL,0L}},{{0x768E11BC7B57DB3CLL,0xB5EF5C908305A281LL,(-1L),0xB5EF5C908305A281LL,0x768E11BC7B57DB3CLL}},{{(-4L),1L,1L,0L,1L}}};
        int16_t l_1308[1][10][3] = {{{(-1L),0x36BEL,(-1L)},{(-1L),0x11D6L,0x36BEL},{0x11D6L,(-1L),(-1L)},{0x36BEL,(-1L),0xA5CCL},{0x276EL,0x11D6L,0x2B8EL},{0x36BEL,0x36BEL,0x2B8EL},{0x11D6L,0x276EL,0xA5CCL},{(-1L),0x36BEL,(-1L)},{(-1L),0x11D6L,0x36BEL},{0x11D6L,(-1L),(-1L)}}};
        uint32_t * const **l_1355 = &l_428;
        uint32_t * const ***l_1354 = &l_1355;
        int64_t l_1387 = 0x403CB68F6418460ELL;
        int64_t l_1420[9] = {1L,0xD0379E3A40EB6C40LL,0xD0379E3A40EB6C40LL,1L,0xD0379E3A40EB6C40LL,0xD0379E3A40EB6C40LL,1L,0xD0379E3A40EB6C40LL,0xD0379E3A40EB6C40LL};
        uint8_t * const *l_1424 = &g_896;
        uint8_t l_1437 = 0xE1L;
        int16_t l_1441 = 0xDEEDL;
        int i, j, k;
        for (g_360 = 0; (g_360 <= 48); g_360 = safe_add_func_uint32_t_u_u(g_360, 2))
        { /* block id: 531 */
            uint32_t *l_1268 = &l_72[6][5][2];
            return &g_742;
        }
lbl_1443:
        if (p_41)
        { /* block id: 534 */
            uint64_t l_1270[10][1][6] = {{{8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL}},{{8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL}},{{8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL}},{{8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL}},{{8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL}},{{8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL}},{{8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL}},{{8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL}},{{8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL}},{{8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL,8UL,0xBFF9707572A8E22FLL}}};
            int32_t l_1282 = 0xF2821A1CL;
            int32_t *l_1283 = &l_76;
            int i, j, k;
            l_1284[0][1][2] = func_51(p_41, (l_1270[3][0][0] = 4294967295UL), ((*l_1283) = ((18446744073709551608UL >= ((**l_927) = (safe_lshift_func_int8_t_s_u((safe_rshift_func_int16_t_s_s(p_41, 14)), (*g_896))))) && (safe_add_func_uint64_t_u_u(l_1277, (((**l_927) = p_41) ^ ((p_41 == (safe_sub_func_int8_t_s_s((l_1282 = (safe_rshift_func_int8_t_s_u((((l_1277 || p_41) || (*g_158)) , (*g_158)), 2))), p_41))) <= (*g_158))))))), &l_293[1][0][1], (*g_513));
            if (g_135)
                goto lbl_1443;
        }
        else
        { /* block id: 541 */
            int32_t *l_1293 = &l_293[2][3][1];
            int32_t **l_1295[9][9][3] = {{{(void*)0,&g_241,(void*)0},{(void*)0,&l_1293,&g_8[3]},{&g_241,&l_1293,&g_241},{&g_239,(void*)0,&g_8[0]},{&g_241,&g_239,&g_239},{(void*)0,&g_239,&g_239},{&g_241,&g_8[2],&l_1293},{(void*)0,&l_1293,&l_1293},{&g_241,&g_241,&g_8[3]}},{{&g_239,(void*)0,&g_239},{&g_241,(void*)0,&g_241},{(void*)0,&g_8[2],&g_8[0]},{(void*)0,&g_8[2],&g_241},{&g_239,(void*)0,&l_1293},{(void*)0,(void*)0,(void*)0},{&g_8[2],&g_241,&g_239},{&g_239,&l_1293,&g_8[0]},{&g_241,&g_8[2],(void*)0}},{{&g_241,&g_239,&g_8[0]},{(void*)0,&g_239,&g_239},{&g_239,(void*)0,(void*)0},{&g_241,&l_1293,&l_1293},{&g_8[2],&l_1293,&g_241},{&g_239,&g_241,&g_8[0]},{&g_239,&g_241,&g_241},{&g_8[2],&g_239,&g_239},{&g_241,&g_8[2],&g_8[3]}},{{&g_239,&g_8[2],&l_1293},{(void*)0,&g_241,&l_1293},{&g_241,&g_239,&g_239},{&g_241,&g_241,&g_239},{&g_239,&g_8[2],&g_8[0]},{&g_8[2],&g_8[2],&g_241},{(void*)0,&g_239,&g_8[3]},{&g_239,&g_241,(void*)0},{(void*)0,&g_241,(void*)0}},{{(void*)0,&l_1293,&g_8[3]},{&g_241,&l_1293,&g_241},{&g_239,(void*)0,&g_8[0]},{&g_241,&g_239,&g_239},{(void*)0,&g_239,&g_239},{&g_241,&g_8[2],&l_1293},{(void*)0,&l_1293,&l_1293},{&g_241,&g_241,&g_8[3]},{&g_239,(void*)0,&g_239}},{{&g_241,(void*)0,&g_241},{(void*)0,&g_8[2],&g_8[0]},{(void*)0,&g_8[2],&g_241},{&g_239,(void*)0,&l_1293},{(void*)0,(void*)0,(void*)0},{&g_8[2],&g_241,&g_239},{&g_239,&l_1293,&g_8[0]},{&g_241,&g_8[2],(void*)0},{&g_241,&g_239,&g_8[0]}},{{(void*)0,&g_239,&g_239},{&g_239,(void*)0,(void*)0},{&g_241,&l_1293,&l_1293},{&g_8[2],&l_1293,&g_241},{&g_239,&g_241,&g_8[0]},{&g_239,&g_241,&g_241},{&g_8[0],&g_239,&g_239},{&g_8[2],&g_239,&g_239},{&g_8[3],&g_239,&g_8[0]}},{{&g_8[2],&g_8[2],&l_1293},{&g_239,&g_239,&l_1293},{(void*)0,&g_8[2],&g_239},{&g_239,&g_239,&l_1293},{&g_8[0],&g_239,(void*)0},{&g_8[2],&g_239,&g_239},{&g_239,&g_239,(void*)0},{(void*)0,&g_8[2],(void*)0},{&g_241,&g_8[2],&g_239}},{{(void*)0,&g_241,(void*)0},{&g_241,&g_241,&l_1293},{&g_239,&g_241,&g_239},{(void*)0,&g_239,&l_1293},{&g_241,&g_239,&l_1293},{(void*)0,&g_241,&g_8[0]},{&g_239,&g_241,&g_239},{&g_241,&g_8[2],&g_239},{(void*)0,&g_241,&g_8[2]}}};
            int32_t l_1298 = 0x17C54C3EL;
            int32_t l_1303[10][10] = {{(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L)},{(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L)},{(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L)},{(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L)},{(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L)},{(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L)},{(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L)},{(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L)},{(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L)},{(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L),(-3L)}};
            int64_t * const *l_1335 = &l_928;
            uint32_t ** const **l_1341 = (void*)0;
            uint32_t **l_1353[3][1][6] = {{{&l_968,(void*)0,&l_968,&l_968,(void*)0,&l_968}},{{&l_968,(void*)0,&l_968,&l_968,(void*)0,&l_968}},{{&l_968,(void*)0,&l_968,&l_968,(void*)0,&l_968}}};
            uint32_t ***l_1352[1][8] = {{&l_1353[1][0][2],&l_1353[1][0][5],&l_1353[1][0][2],&l_1353[1][0][2],&l_1353[1][0][5],&l_1353[1][0][2],&l_1353[1][0][2],&l_1353[1][0][5]}};
            uint32_t ****l_1351 = &l_1352[0][0];
            uint8_t l_1378 = 254UL;
            uint16_t l_1394 = 1UL;
            uint32_t l_1434 = 0x95D2D6D0L;
            int i, j, k;
            (*g_1294) = func_51((**g_157), p_41, ((&g_674 != (void*)0) != (safe_lshift_func_int16_t_s_s((safe_lshift_func_uint8_t_u_s(p_41, (safe_rshift_func_uint8_t_u_s((((*g_513) = (safe_unary_minus_func_int64_t_s((((l_1292[1][2] == (void*)0) , 0xA8B1D068L) != (-7L))))) , p_41), 2)))), 11))), l_1293, l_1277);
            l_1284[0][1][3] = (void*)0;
            l_1310++;
            if (((0L < p_41) == ((**g_157) &= (*l_1293))))
            { /* block id: 547 */
                uint32_t l_1313 = 7UL;
                ++l_1313;
                if ((safe_mod_func_int64_t_s_s((safe_rshift_func_uint8_t_u_u(((*g_513) >= (safe_mul_func_int16_t_s_s((((p_41 , ((*g_513) | (g_1156[2][3][2] = ((l_1322 == (void*)0) , ((safe_sub_func_uint32_t_u_u(p_41, l_1313)) , 0UL))))) , ((*l_966) = 0x7E9DL)) >= p_41), 65535UL))), p_41)), p_41)))
                { /* block id: 551 */
                    return &g_742;
                }
                else
                { /* block id: 553 */
                    uint32_t *l_1325 = (void*)0;
                    return l_1325;
                }
            }
            else
            { /* block id: 556 */
                uint32_t l_1338 = 2UL;
                int32_t l_1385 = 0x5FAE131FL;
                int32_t l_1388 = 0x399A3A8EL;
                int32_t l_1390[6][4] = {{0xA158B07FL,0xA158B07FL,3L,3L},{0xA158B07FL,0xA158B07FL,3L,3L},{0xA158B07FL,0xA158B07FL,3L,3L},{0xA158B07FL,0xA158B07FL,3L,3L},{0xA158B07FL,0xA158B07FL,3L,3L},{0xA158B07FL,0xA158B07FL,3L,3L}};
                uint32_t ** const **l_1406 = (void*)0;
                uint64_t l_1421 = 2UL;
                uint64_t l_1438 = 8UL;
                int i, j;
                for (g_354 = (-24); (g_354 == (-11)); ++g_354)
                { /* block id: 559 */
                    uint32_t *l_1330 = &l_72[4][9][0];
                    uint32_t *****l_1344 = &g_1342[2][5][1];
                    int32_t l_1356 = 0xD8E8A4B6L;
                    int32_t l_1377 = (-1L);
                    int32_t *l_1380 = &g_135;
                    int32_t l_1389[9][10] = {{0x7BAE3751L,0x7BAE3751L,0x9087502EL,0xBFE86CC1L,0x873BC898L,0x6326C5A2L,0L,0L,(-4L),0L},{0L,0x18080CB1L,0x7BAE3751L,1L,0L,(-1L),0L,1L,0x7BAE3751L,0x18080CB1L},{(-4L),0x7BAE3751L,(-3L),0x37F71A1EL,0L,0x446AEAB8L,0L,(-1L),0xBFE86CC1L,0L},{0xBFE86CC1L,0x2512BFACL,0L,0x18080CB1L,0x446AEAB8L,0x446AEAB8L,0x18080CB1L,0L,0x2512BFACL,0xBFE86CC1L},{(-4L),0x6326C5A2L,0x446AEAB8L,0L,0x7BAE3751L,(-1L),(-3L),0x2512BFACL,1L,0x34C9B0F2L},{0L,0x28DDF035L,0L,0x6326C5A2L,0x7BAE3751L,0x6326C5A2L,0L,0x28DDF035L,0L,0xBFE86CC1L},{0x7BAE3751L,(-3L),0x37F71A1EL,0L,0x446AEAB8L,0L,(-1L),0xBFE86CC1L,0L,0L},{0x37F71A1EL,0x9087502EL,0x2512BFACL,0L,0L,0x2512BFACL,0x9087502EL,0x37F71A1EL,0L,0x18080CB1L},{0x9087502EL,0xBFE86CC1L,0x873BC898L,0x6326C5A2L,0L,0L,(-4L),0L,1L,0L}};
                    int i, j;
                    for (l_282 = 0; (l_282 > (-22)); l_282--)
                    { /* block id: 562 */
                        return &g_742;
                    }
                    if ((safe_mod_func_int64_t_s_s(((safe_sub_func_uint8_t_u_u(((((((l_1335 != l_1335) < 0x21A6L) , ((safe_add_func_uint8_t_u_u((l_1338 <= (safe_div_func_int16_t_s_s((l_1341 == ((*l_1344) = g_1342[2][4][7])), (((safe_mod_func_int8_t_s_s((((safe_lshift_func_int8_t_s_s((safe_rshift_func_uint8_t_u_u((18446744073709551615UL < ((l_1351 == l_1354) ^ 0xA36CDA6BL)), l_1338)), 5)) , 0xB05E01DCL) > p_41), 0xE3L)) <= (*g_158)) , 65535UL)))), 255UL)) & 0x32L)) & 1L) , (**g_1055)) , 0xF2L), p_41)) < l_1356), (*l_1293))))
                    { /* block id: 566 */
                        uint8_t l_1376 = 0xAEL;
                        int32_t l_1379 = 0x6319CA41L;
                        int32_t *l_1381 = &g_135;
                        uint16_t l_1382 = 2UL;
                        if (l_1338)
                            break;
                        l_1379 ^= (safe_mod_func_uint8_t_u_u((p_41 || (((safe_add_func_uint8_t_u_u(p_41, ((safe_rshift_func_uint16_t_u_s((~(((*g_158) = l_1307[1][0][1]) , ((safe_unary_minus_func_int16_t_s((safe_rshift_func_int8_t_s_u((((l_1356 = (((0xA8FDL < ((l_1376 = (((((safe_div_func_uint8_t_u_u(252UL, l_1338)) > ((safe_lshift_func_int16_t_s_s(l_1338, ((safe_mul_func_int16_t_s_s(((((*g_513) = p_41) && (+(p_41 != p_41))) , (**g_1055)), 6L)) <= l_1356))) == (*l_1293))) | p_41) , p_41) | g_71[1][5])) || (**g_758))) ^ (*g_759)) != 251UL)) , l_1376) | p_41), 0)))) == l_1377))), l_1377)) < 1UL))) || l_1378) <= l_1377)), (-10L)));
                        l_1381 = l_1380;
                        l_1382--;
                    }
                    else
                    { /* block id: 575 */
                        int32_t l_1386 = 0x6CDE2EC3L;
                        int32_t l_1391 = 0L;
                        int32_t l_1392[5][2] = {{0x3F347AA1L,0x7151C62CL},{0x3F347AA1L,0x3F347AA1L},{0x7151C62CL,0x3F347AA1L},{0x3F347AA1L,0x7151C62CL},{0x3F347AA1L,0x3F347AA1L}};
                        int i, j;
                        ++l_1394;
                    }
                }
                for (g_493 = 0; (g_493 <= 3); g_493 += 1)
                { /* block id: 581 */
                    int16_t l_1399 = (-2L);
                    uint32_t ** const ***l_1407 = &l_1406;
                    uint8_t l_1435 = 0xE5L;
                    l_1304 = ((p_41 <= (((safe_mod_func_uint8_t_u_u(255UL, ((*g_896) = l_1399))) && (safe_sub_func_uint32_t_u_u(p_41, ((g_236 = ((*l_1293) = (((safe_lshift_func_int16_t_s_s((((((*l_1407) = l_1406) == l_1408) , l_1399) && ((safe_mul_func_uint8_t_u_u(l_1390[2][0], (safe_mod_func_int8_t_s_s((safe_mod_func_uint16_t_u_u((+((((safe_lshift_func_int16_t_s_u((g_74 = ((*g_158) & p_41)), p_41)) >= l_1306[1][0]) >= l_1399) , (*l_1293))), 9UL)), 4L)))) <= 0L)), p_41)) && l_1308[0][8][2]) <= 0xF53D948B59E2AD77LL))) > l_1306[2][0])))) ^ 252UL)) , l_1420[1]);
                    if (p_41)
                        continue;
                    l_1421++;
                    l_1301 &= (l_1437 = ((((l_1424 == &g_896) && (((safe_lshift_func_uint8_t_u_s(((safe_sub_func_int32_t_s_s((((**g_157) ^ l_1429[0][5]) & l_1388), ((*l_1293) = (safe_mul_func_int16_t_s_s((safe_sub_func_int64_t_s_s(((l_1399 , ((((*l_967) = (((l_1434 | (((*g_431) <= p_41) , p_41)) == 0xDE78L) ^ l_1390[1][2])) , l_1435) >= 4L)) , 0xDF3DBBDF9ADE8DEBLL), (*g_513))), 65535UL))))) >= p_41), 5)) & l_1436) && 0x1876L)) < p_41) , 0x2D9A71F6L));
                    for (l_1388 = 0; (l_1388 <= 2); l_1388 += 1)
                    { /* block id: 596 */
                        --l_1438;
                        if (l_1304)
                            continue;
                    }
                }
                l_1296 ^= (l_1441 , (p_41 ^ (~p_41)));
            }
        }
        return &g_21[0];
    }
    return g_1444;
}


/* ------------------------------------------ */
/* 
 * reads : g_137 g_281
 * writes: g_137 g_241 g_239
 */
static int32_t  func_45(uint16_t  p_46, uint32_t  p_47, const uint32_t * p_48)
{ /* block id: 120 */
    const int8_t *l_274 = &g_71[1][5];
    const int8_t **l_273[8] = {&l_274,&l_274,&l_274,&l_274,&l_274,&l_274,&l_274,&l_274};
    const int8_t ***l_275 = &l_273[3];
    int i;
    (*l_275) = l_273[1];
    for (g_137 = 0; (g_137 < (-1)); g_137 = safe_sub_func_uint64_t_u_u(g_137, 3))
    { /* block id: 124 */
        int32_t *l_278[7][1] = {{&g_135},{&g_135},{&g_135},{&g_135},{&g_135},{&g_135},{&g_135}};
        int32_t **l_279 = &g_241;
        int32_t **l_280 = (void*)0;
        int i, j;
        (*g_281) = ((*l_279) = l_278[0][0]);
    }
    return p_46;
}


/* ------------------------------------------ */
/* 
 * reads : g_83 g_21 g_78 g_9 g_131 g_74 g_137 g_71 g_233 g_240 g_241 g_157 g_158 g_269 g_135
 * writes: g_83 g_74 g_78 g_9 g_135 g_131 g_71 g_137 g_217 g_233 g_236 g_21 g_239 g_241
 */
static const uint32_t * func_51(int8_t  p_52, uint32_t  p_53, int32_t  p_54, int32_t * p_55, uint64_t  p_56)
{ /* block id: 11 */
    uint8_t *l_82 = &g_83[0];
    int16_t *l_90 = &g_74;
    int32_t *l_95 = &g_9;
    int32_t *l_105 = &g_9;
    int32_t l_128 = (-5L);
    int32_t l_150[4];
    uint8_t l_249 = 0x47L;
    int8_t **l_258 = &g_158;
    int i;
    for (i = 0; i < 4; i++)
        l_150[i] = 7L;
    (*l_95) |= (safe_sub_func_uint8_t_u_u((--(*l_82)), (safe_sub_func_int64_t_s_s((((safe_div_func_int16_t_s_s(((*l_90) = (g_21[0] == p_56)), (++g_78))) , &g_74) == l_90), 0x2962DE1B453F4779LL))));
    for (p_52 = (-5); (p_52 <= 26); ++p_52)
    { /* block id: 18 */
        int32_t **l_98 = (void*)0;
        int32_t l_142 = 0x35E3CEA8L;
        int32_t l_145 = (-6L);
        int32_t l_148[9][10][2] = {{{0xC662609BL,2L},{0xC662609BL,0x453FC631L},{0x27105428L,0xDC9EDED6L},{(-1L),0x5B6355D2L},{(-8L),1L},{1L,0L},{0xF0EF6F4DL,0L},{1L,1L},{(-8L),0x5B6355D2L},{(-1L),0xDC9EDED6L}},{{0x27105428L,0x453FC631L},{0xC662609BL,2L},{0xC662609BL,0x453FC631L},{0x27105428L,0xDC9EDED6L},{(-1L),0x5B6355D2L},{(-8L),1L},{1L,0L},{0xF0EF6F4DL,0L},{1L,1L},{(-8L),0x5B6355D2L}},{{(-1L),0xDC9EDED6L},{0x27105428L,0x453FC631L},{0xC662609BL,2L},{0xC662609BL,0x453FC631L},{0x27105428L,0xDC9EDED6L},{(-1L),0x5B6355D2L},{(-8L),0xDC9EDED6L},{0xF0EF6F4DL,(-1L)},{0xDDD91154L,(-1L)},{0xF0EF6F4DL,0xDC9EDED6L}},{{0xC662609BL,0x0D7201B9L},{0xE3CEE9F7L,0L},{(-8L),2L},{0x8DD8142BL,(-6L)},{0x8DD8142BL,2L},{(-8L),0L},{0xE3CEE9F7L,0x0D7201B9L},{0xC662609BL,0xDC9EDED6L},{0xF0EF6F4DL,(-1L)},{0xDDD91154L,(-1L)}},{{0xF0EF6F4DL,0xDC9EDED6L},{0xC662609BL,0x0D7201B9L},{0xE3CEE9F7L,0L},{(-8L),2L},{0x8DD8142BL,(-6L)},{0x8DD8142BL,2L},{(-8L),0L},{0xE3CEE9F7L,0x0D7201B9L},{0xC662609BL,0xDC9EDED6L},{0xF0EF6F4DL,(-1L)}},{{0xDDD91154L,(-1L)},{0xF0EF6F4DL,0xDC9EDED6L},{0xC662609BL,0x0D7201B9L},{0xE3CEE9F7L,0L},{(-8L),2L},{0x8DD8142BL,(-6L)},{0x8DD8142BL,2L},{(-8L),0L},{0xE3CEE9F7L,0x0D7201B9L},{0xC662609BL,0xDC9EDED6L}},{{0xF0EF6F4DL,(-1L)},{0xDDD91154L,(-1L)},{0xF0EF6F4DL,0xDC9EDED6L},{0xC662609BL,0x0D7201B9L},{0xE3CEE9F7L,0L},{(-8L),2L},{0x8DD8142BL,(-6L)},{0x8DD8142BL,2L},{(-8L),0L},{0xE3CEE9F7L,0x0D7201B9L}},{{0xC662609BL,0xDC9EDED6L},{0xF0EF6F4DL,(-1L)},{0xDDD91154L,(-1L)},{0xF0EF6F4DL,0xDC9EDED6L},{0xC662609BL,0x0D7201B9L},{0xE3CEE9F7L,0L},{(-8L),2L},{0x8DD8142BL,(-6L)},{0x8DD8142BL,2L},{(-8L),0L}},{{0xE3CEE9F7L,0x0D7201B9L},{0xC662609BL,0xDC9EDED6L},{0xF0EF6F4DL,(-1L)},{0xDDD91154L,(-1L)},{0xF0EF6F4DL,0xDC9EDED6L},{0xC662609BL,0x0D7201B9L},{0xE3CEE9F7L,0L},{(-8L),2L},{0x8DD8142BL,(-6L)},{0x8DD8142BL,2L}}};
        uint8_t l_174 = 0x0CL;
        int64_t l_187 = 0L;
        uint8_t *l_189 = &g_83[0];
        int32_t *l_238 = &g_131[7];
        int i, j, k;
        p_55 = (void*)0;
        for (p_54 = 0; (p_54 >= 21); p_54++)
        { /* block id: 22 */
            int16_t l_101 = 0xBC84L;
            uint32_t *l_102[3];
            uint64_t l_132 = 18446744073709551615UL;
            int32_t l_133 = 2L;
            int32_t *l_146 = &g_131[8];
            int32_t *l_147[2];
            int32_t l_149[8] = {(-6L),(-6L),(-6L),(-6L),(-6L),(-6L),(-6L),(-6L)};
            uint32_t l_151 = 0xA1EBD87EL;
            int8_t *l_156 = &g_71[1][0];
            int8_t **l_155 = &l_156;
            int8_t ***l_154[1][5][5] = {{{&l_155,&l_155,&l_155,(void*)0,(void*)0},{(void*)0,&l_155,(void*)0,&l_155,&l_155},{&l_155,&l_155,&l_155,(void*)0,(void*)0},{(void*)0,&l_155,(void*)0,&l_155,&l_155},{&l_155,&l_155,&l_155,(void*)0,(void*)0}}};
            int i, j, k;
            for (i = 0; i < 3; i++)
                l_102[i] = &g_21[4];
            for (i = 0; i < 2; i++)
                l_147[i] = (void*)0;
        }
        for (g_135 = 0; (g_135 == (-21)); --g_135)
        { /* block id: 54 */
            int32_t *l_161 = &g_131[8];
            int32_t *l_162 = (void*)0;
            int32_t *l_163 = &l_145;
            int32_t *l_164 = (void*)0;
            int32_t *l_165 = &l_150[3];
            int32_t *l_166 = &l_142;
            int32_t *l_167 = &l_148[0][9][0];
            int32_t *l_168 = &g_131[1];
            int32_t *l_169 = &l_145;
            int32_t *l_170 = (void*)0;
            int32_t *l_171 = &l_148[0][2][1];
            int32_t *l_172 = &l_148[0][2][1];
            int32_t *l_173[3];
            int16_t *l_182 = &g_74;
            const int16_t *l_184 = (void*)0;
            uint64_t l_252 = 7UL;
            int i;
            for (i = 0; i < 3; i++)
                l_173[i] = &l_148[8][9][0];
            --l_174;
            if ((((*l_95) , &g_78) != (void*)0))
            { /* block id: 56 */
                uint32_t l_194 = 0UL;
                for (g_78 = 2; (g_78 >= 22); g_78++)
                { /* block id: 59 */
                    int8_t l_181 = 0L;
                    int32_t l_191 = 0xC862B96CL;
                    int32_t l_192 = (-5L);
                    int32_t l_193 = 0x93C712B6L;
                    for (l_174 = 0; (l_174 > 10); l_174++)
                    { /* block id: 62 */
                        int16_t **l_183 = &l_90;
                        uint8_t *l_188 = &g_83[0];
                        int16_t l_190 = 5L;
                        (*l_169) |= (((((0xC989L || (((l_181 = ((void*)0 == &g_21[0])) ^ (g_9 , (((*l_183) = l_182) == (l_184 = l_182)))) <= (safe_add_func_uint64_t_u_u((l_187 , 7UL), ((l_189 = l_188) != (void*)0))))) | 0UL) > 0UL) <= l_190) & 65530UL);
                        --l_194;
                    }
                }
            }
            else
            { /* block id: 71 */
                int32_t l_224 = 8L;
                for (l_128 = 0; l_128 < 3; l_128 += 1)
                {
                    l_173[l_128] = &g_135;
                }
                for (g_78 = (-30); (g_78 > 1); g_78 = safe_add_func_uint16_t_u_u(g_78, 8))
                { /* block id: 75 */
                    int16_t *l_206 = &g_74;
                    int32_t l_209 = (-1L);
                    int32_t l_231[4][4] = {{(-7L),(-7L),(-7L),(-7L)},{(-7L),(-7L),(-7L),(-7L)},{(-7L),(-7L),(-7L),(-7L)},{(-7L),(-7L),(-7L),(-7L)}};
                    int32_t **l_242 = &g_241;
                    uint32_t l_246[4] = {18446744073709551611UL,18446744073709551611UL,18446744073709551611UL,18446744073709551611UL};
                    int i, j;
                    for (p_53 = 0; (p_53 <= 1); p_53 += 1)
                    { /* block id: 78 */
                        int8_t l_207 = 0x55L;
                        int8_t *l_208 = &g_137;
                        uint16_t *l_216 = &g_217;
                        int16_t *l_232 = &g_233[6];
                        int16_t *l_234 = (void*)0;
                        int16_t *l_235 = &g_236;
                        uint32_t *l_237 = &g_21[0];
                        int i, j;
                        (*l_161) ^= ((p_55 = &l_150[1]) == (void*)0);
                        (*p_55) = (~(g_21[2] | ((((*l_208) ^= ((safe_mod_func_uint8_t_u_u((9L ^ (((safe_div_func_int8_t_s_s(p_53, (safe_div_func_int16_t_s_s(((((g_71[p_53][(p_53 + 7)] = 6L) || (((void*)0 == l_206) != ((-1L) <= (g_74 == p_56)))) , p_56) < l_207), p_52)))) == 0xC098CBD84F3E2910LL) != l_207)), 0x1EL)) , p_56)) && 0L) , (-4L))));
                        (*l_166) = l_209;
                        (*g_240) = (g_239 = ((l_209 | (safe_div_func_int16_t_s_s(((safe_add_func_uint8_t_u_u(p_56, ((g_9 != 0xF03418026454160ELL) == (safe_mul_func_uint16_t_u_u(((*l_216) = g_9), (safe_mod_func_uint32_t_u_u(((*l_237) = (safe_div_func_int16_t_s_s(((*l_235) = ((*l_232) &= ((*l_206) = (safe_sub_func_int8_t_s_s((l_224 , (l_231[1][0] = ((safe_div_func_uint8_t_u_u((safe_mod_func_int32_t_s_s(((l_224 < ((((((safe_mul_func_int16_t_s_s(((((*p_55) , l_171) != &g_131[1]) > p_54), 0L)) ^ p_56) , 0xAE68F206L) | g_71[p_53][(p_53 + 7)]) , p_54) ^ 0L)) , (-10L)), g_131[8])), p_56)) >= 0xD3A580E2L))), p_53))))), 0xC7F9L))), p_53))))))) || g_74), g_71[1][5]))) , l_238));
                    }
                    (*l_242) = p_55;
                    for (p_56 = 0; (p_56 <= 2); p_56 += 1)
                    { /* block id: 97 */
                        int i;
                        if (g_131[(p_56 + 2)])
                            break;
                        l_173[p_56] = (*g_240);
                        (*l_242) = (*g_240);
                    }
                    for (p_54 = 4; (p_54 >= 2); p_54 -= 1)
                    { /* block id: 104 */
                        int8_t l_243 = 0x86L;
                        int32_t l_244 = 0x74CFF9A1L;
                        int32_t l_245[8] = {1L,0x84DD8C9BL,0x84DD8C9BL,1L,0x84DD8C9BL,0x84DD8C9BL,1L,0x84DD8C9BL};
                        int i;
                        l_246[0]++;
                        (*l_242) = (*g_240);
                        (*l_163) &= (*l_238);
                    }
                }
                if (l_224)
                    continue;
                l_249--;
            }
            --l_252;
        }
    }
    (*g_269) ^= (p_56 & (safe_lshift_func_int8_t_s_s(((safe_unary_minus_func_int64_t_s(((l_258 != &g_158) | ((**g_157) | 1L)))) , (((~(safe_sub_func_int16_t_s_s((safe_add_func_uint16_t_u_u((((safe_mod_func_int32_t_s_s(0xA83E9DA6L, (safe_mod_func_uint32_t_u_u(((3L <= g_21[0]) & ((((*l_105) == 3L) >= 65531UL) && p_52)), 0x51242CBDL)))) & g_233[6]) ^ (*l_95)), 0x068DL)), p_54))) == g_131[8]) , (**g_157))), (*l_95))));
    return &g_21[5];
}




/* ---------------------------------------- */
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_9, "g_9", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        transparent_crc(g_21[i], "g_21[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

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

        }
    }
    transparent_crc(g_74, "g_74", print_hash_value);
    transparent_crc(g_78, "g_78", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        transparent_crc(g_83[i], "g_83[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

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

    }
    transparent_crc(g_135, "g_135", print_hash_value);
    transparent_crc(g_137, "g_137", print_hash_value);
    transparent_crc(g_217, "g_217", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        transparent_crc(g_233[i], "g_233[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

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

    }
    transparent_crc(g_331, "g_331", print_hash_value);
    transparent_crc(g_354, "g_354", print_hash_value);
    transparent_crc(g_357, "g_357", print_hash_value);
    transparent_crc(g_358, "g_358", print_hash_value);
    for (i = 0; i < 5; i++)
    {
        transparent_crc(g_359[i], "g_359[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_360, "g_360", print_hash_value);
    transparent_crc(g_368, "g_368", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        for (j = 0; j < 2; j++)
        {
            for (k = 0; k < 10; k++)
            {
                transparent_crc(g_378[i][j][k], "g_378[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_386, "g_386", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 7; j++)
        {
            transparent_crc(g_404[i][j], "g_404[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

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

    }
    transparent_crc(g_674, "g_674", print_hash_value);
    transparent_crc(g_742, "g_742", print_hash_value);
    transparent_crc(g_756, "g_756", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 9; j++)
        {
            for (k = 0; k < 9; k++)
            {
                transparent_crc(g_1156[i][j][k], "g_1156[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_1465, "g_1465", print_hash_value);
    transparent_crc(g_1736, "g_1736", print_hash_value);
    transparent_crc(g_1801, "g_1801", print_hash_value);
    transparent_crc(g_1826, "g_1826", print_hash_value);
    transparent_crc(g_1850, "g_1850", print_hash_value);
    transparent_crc(g_1899, "g_1899", print_hash_value);
    transparent_crc(g_1920, "g_1920", print_hash_value);
    transparent_crc(g_2088, "g_2088", print_hash_value);
    transparent_crc(g_2149, "g_2149", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 2; j++)
        {
            for (k = 0; k < 3; k++)
            {
                transparent_crc(g_2251[i][j][k], "g_2251[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_2492, "g_2492", print_hash_value);
    transparent_crc(g_2574, "g_2574", print_hash_value);
    transparent_crc(g_2622, "g_2622", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        for (j = 0; j < 9; j++)
        {
            for (k = 0; k < 1; k++)
            {
                transparent_crc(g_2627[i][j][k], "g_2627[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

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

    }
    transparent_crc(g_2960, "g_2960", print_hash_value);
    transparent_crc(g_3226, "g_3226", print_hash_value);
    transparent_crc(g_3230, "g_3230", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 3; j++)
        {
            for (k = 0; k < 3; k++)
            {
                transparent_crc(g_3231[i][j][k], "g_3231[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_3244, "g_3244", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 2; j++)
        {
            for (k = 0; k < 4; k++)
            {
                transparent_crc(g_3253[i][j][k], "g_3253[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

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

    }
    transparent_crc(g_3557, "g_3557", print_hash_value);
    transparent_crc(g_3724, "g_3724", print_hash_value);
    transparent_crc(g_3772, "g_3772", print_hash_value);
    transparent_crc(g_3808, "g_3808", print_hash_value);
    transparent_crc(g_3845, "g_3845", print_hash_value);
    transparent_crc(g_3916, "g_3916", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 5; j++)
        {
            for (k = 0; k < 1; k++)
            {
                transparent_crc(g_3958[i][j][k], "g_3958[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
    return 0;
}

/************************ statistics *************************
XXX max struct depth: 0
breakdown:
   depth: 0, occurrence: 911
XXX total union variables: 0

XXX non-zero bitfields defined in structs: 0
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: 0
breakdown:
XXX full-bitfields structs in the program: 0
breakdown:
XXX times a bitfields struct's address is taken: 0
XXX times a bitfields struct on LHS: 0
XXX times a bitfields struct on RHS: 0
XXX times a single bitfield on LHS: 0
XXX times a single bitfield on RHS: 0

XXX max expression depth: 51
breakdown:
   depth: 1, occurrence: 215
   depth: 2, occurrence: 53
   depth: 3, occurrence: 8
   depth: 4, occurrence: 2
   depth: 5, occurrence: 3
   depth: 6, occurrence: 1
   depth: 10, occurrence: 2
   depth: 13, occurrence: 1
   depth: 15, occurrence: 2
   depth: 16, occurrence: 2
   depth: 18, occurrence: 2
   depth: 19, occurrence: 2
   depth: 20, occurrence: 3
   depth: 21, occurrence: 1
   depth: 22, occurrence: 1
   depth: 23, occurrence: 3
   depth: 24, occurrence: 3
   depth: 26, occurrence: 3
   depth: 27, occurrence: 1
   depth: 28, occurrence: 2
   depth: 29, occurrence: 3
   depth: 30, occurrence: 1
   depth: 31, occurrence: 1
   depth: 32, occurrence: 1
   depth: 33, occurrence: 1
   depth: 34, occurrence: 3
   depth: 40, occurrence: 1
   depth: 41, occurrence: 1
   depth: 42, occurrence: 1
   depth: 48, occurrence: 1
   depth: 51, occurrence: 1

XXX total number of pointers: 822

XXX times a variable address is taken: 1904
XXX times a pointer is dereferenced on RHS: 626
breakdown:
   depth: 1, occurrence: 455
   depth: 2, occurrence: 134
   depth: 3, occurrence: 15
   depth: 4, occurrence: 14
   depth: 5, occurrence: 8
XXX times a pointer is dereferenced on LHS: 597
breakdown:
   depth: 1, occurrence: 537
   depth: 2, occurrence: 39
   depth: 3, occurrence: 13
   depth: 4, occurrence: 4
   depth: 5, occurrence: 4
XXX times a pointer is compared with null: 84
XXX times a pointer is compared with address of another variable: 20
XXX times a pointer is compared with another pointer: 17
XXX times a pointer is qualified to be dereferenced: 10235

XXX max dereference level: 5
breakdown:
   level: 0, occurrence: 0
   level: 1, occurrence: 4196
   level: 2, occurrence: 836
   level: 3, occurrence: 160
   level: 4, occurrence: 69
   level: 5, occurrence: 46
XXX number of pointers point to pointers: 414
XXX number of pointers point to scalars: 408
XXX number of pointers point to structs: 0
XXX percent of pointers has null in alias set: 29.2
XXX average alias set size: 1.43

XXX times a non-volatile is read: 3480
XXX times a non-volatile is write: 1660
XXX times a volatile is read: 202
XXX    times read thru a pointer: 82
XXX times a volatile is write: 82
XXX    times written thru a pointer: 22
XXX times a volatile is available for access: 2.84e+03
XXX percentage of non-volatile access: 94.8

XXX forward jumps: 1
XXX backward jumps: 17

XXX stmts: 224
XXX max block depth: 5
breakdown:
   depth: 0, occurrence: 26
   depth: 1, occurrence: 36
   depth: 2, occurrence: 42
   depth: 3, occurrence: 27
   depth: 4, occurrence: 37
   depth: 5, occurrence: 56

XXX percentage a fresh-made variable is used: 15.7
XXX percentage an existing variable is used: 84.3
********************* end of statistics **********************/

