dwarf-synthesis/testsuite/csmith/clang_O2/24.c

1871 lines
133 KiB
C

/*
* This is a RANDOMLY GENERATED PROGRAM.
*
* Generator: csmith 2.3.0
* Git version: 30dccd7
* Options: (none)
* Seed: 18426353546893587838
*/
#include "csmith.h"
static long __undefined;
/* --- Struct/Union Declarations --- */
#pragma pack(push)
#pragma pack(1)
struct S0 {
signed f0 : 13;
signed f1 : 14;
};
#pragma pack(pop)
/* --- GLOBAL VARIABLES --- */
static volatile int32_t g_2 = 0x453606DEL;/* VOLATILE GLOBAL g_2 */
static int32_t g_3 = 0xA473EB90L;
static uint64_t g_20 = 0x07C2076ACB8F2BA1LL;
static uint16_t g_27 = 0x6DBCL;
static int32_t g_41 = 0L;
static int64_t g_50 = 1L;
static int32_t g_78[9] = {2L,0xEFECF47AL,2L,2L,0xEFECF47AL,2L,2L,0xEFECF47AL,2L};
static uint64_t g_80[4] = {18446744073709551607UL,18446744073709551607UL,18446744073709551607UL,18446744073709551607UL};
static uint64_t *g_83 = &g_80[1];
static uint64_t **g_82 = &g_83;
static int32_t g_103 = 0L;
static uint32_t g_110[6] = {0x3ABC15DBL,0x3ABC15DBL,0x3ABC15DBL,0x3ABC15DBL,0x3ABC15DBL,0x3ABC15DBL};
static uint16_t g_116 = 0xD7C5L;
static uint16_t *g_115 = &g_116;
static uint64_t g_129 = 0x83262CCAF28F66BBLL;
static int32_t g_139 = 0L;
static uint16_t g_140 = 65535UL;
static const int32_t g_144[2][1] = {{(-1L)},{(-1L)}};
static uint32_t g_156 = 0x802FD589L;
static int64_t g_176 = 0x60FE9342138682D7LL;
static struct S0 g_183 = {-72,-120};
static uint64_t **g_198 = &g_83;
static int64_t g_200 = 0x52D2F77A17B2D90CLL;
static int8_t g_236 = (-10L);
static int32_t *g_251[1] = {(void*)0};
static int16_t g_306 = 0x85DAL;
static int16_t g_308 = 0xCE42L;
static uint8_t g_333 = 0xBDL;
static uint16_t **g_385 = &g_115;
static uint16_t *** const g_384 = &g_385;
static uint16_t *** const *g_383 = &g_384;
static uint16_t g_414 = 65532UL;
static int8_t *g_443 = &g_236;
static int8_t * volatile *g_442 = &g_443;
static int8_t * volatile **g_441 = &g_442;
static int8_t *g_454 = &g_236;
static uint16_t g_464 = 0UL;
static volatile int16_t g_506 = 0x412AL;/* VOLATILE GLOBAL g_506 */
static volatile int16_t * volatile g_505 = &g_506;/* VOLATILE GLOBAL g_505 */
static volatile int16_t * volatile *g_504[10] = {&g_505,&g_505,&g_505,&g_505,&g_505,&g_505,&g_505,&g_505,&g_505,&g_505};
static uint8_t g_525 = 2UL;
static uint8_t g_691 = 0UL;
static int64_t * volatile g_764 = &g_176;/* VOLATILE GLOBAL g_764 */
static int64_t * volatile *g_763 = &g_764;
static uint32_t g_838 = 2UL;
static volatile struct S0 *g_841 = (void*)0;
static volatile struct S0 * volatile *g_840 = &g_841;
static uint32_t g_852[10][8][3] = {{{4294967289UL,4294967295UL,4294967292UL},{4294967292UL,4294967291UL,0UL},{4294967291UL,4294967291UL,4294967291UL},{4294967294UL,4294967295UL,0x291ECEF7L},{1UL,0x347F2C52L,0x229F405AL},{0UL,0x539AB68AL,4294967289UL},{0x539AB68AL,0xE67D18B0L,4294967295UL},{0UL,4294967295UL,0x85937DE8L}},{{0xAB9AE0C8L,4294967289UL,0x1E2428C5L},{4294967295UL,4294967292UL,4294967291UL},{0x85937DE8L,4294967291UL,4294967291UL},{0x539AB68AL,4294967294UL,0x1E2428C5L},{0xEC750E85L,1UL,0x85937DE8L},{0x1CF2497FL,4294967289UL,4294967295UL},{0x2ADB01C9L,4294967292UL,4294967289UL},{0x2C0E9CA7L,4294967289UL,0x229F405AL}},{{0x539AB68AL,1UL,0x5B21C83AL},{0x291ECEF7L,4294967294UL,0x85937DE8L},{4294967292UL,4294967291UL,4294967291UL},{4294967292UL,4294967292UL,0x539AB68AL},{0x291ECEF7L,4294967289UL,4294967289UL},{0x539AB68AL,4294967295UL,3UL},{0x2C0E9CA7L,0xE67D18B0L,0x85937DE8L},{0x2ADB01C9L,0x539AB68AL,3UL}},{{0x1CF2497FL,4294967292UL,4294967289UL},{0xEC750E85L,0x229F405AL,0x539AB68AL},{0x539AB68AL,0x347F2C52L,4294967291UL},{0x85937DE8L,0x347F2C52L,0x85937DE8L},{4294967295UL,0x229F405AL,0x5B21C83AL},{0xAB9AE0C8L,4294967292UL,0x229F405AL},{0UL,0x539AB68AL,4294967289UL},{0x539AB68AL,0xE67D18B0L,4294967295UL}},{{0UL,4294967295UL,0x85937DE8L},{0xAB9AE0C8L,4294967289UL,0x1E2428C5L},{4294967295UL,4294967292UL,4294967291UL},{0x85937DE8L,4294967291UL,4294967291UL},{0x539AB68AL,4294967294UL,0x1E2428C5L},{0xEC750E85L,1UL,0x85937DE8L},{0x1CF2497FL,4294967289UL,4294967295UL},{0x2ADB01C9L,4294967292UL,4294967289UL}},{{0x2C0E9CA7L,4294967289UL,0x229F405AL},{0x539AB68AL,1UL,0x5B21C83AL},{0x291ECEF7L,4294967294UL,0x85937DE8L},{4294967292UL,4294967291UL,4294967291UL},{4294967292UL,4294967292UL,0x539AB68AL},{0x291ECEF7L,4294967289UL,4294967289UL},{0x539AB68AL,4294967295UL,3UL},{0x2C0E9CA7L,0xE67D18B0L,0x85937DE8L}},{{0x2ADB01C9L,0x539AB68AL,3UL},{0x1CF2497FL,4294967292UL,4294967289UL},{0xEC750E85L,0x229F405AL,0x539AB68AL},{0x539AB68AL,0x347F2C52L,4294967291UL},{0x85937DE8L,0x347F2C52L,0x85937DE8L},{4294967295UL,0x229F405AL,0x5B21C83AL},{0xAB9AE0C8L,4294967292UL,0x229F405AL},{0UL,0x539AB68AL,4294967289UL}},{{0x539AB68AL,0xE67D18B0L,4294967295UL},{0UL,4294967295UL,0x85937DE8L},{0xAB9AE0C8L,4294967289UL,0x1E2428C5L},{4294967295UL,4294967292UL,4294967291UL},{0x85937DE8L,4294967291UL,4294967291UL},{0x539AB68AL,4294967294UL,0x1E2428C5L},{0xEC750E85L,1UL,0x85937DE8L},{0x1CF2497FL,4294967289UL,4294967295UL}},{{0x2ADB01C9L,4294967292UL,4294967289UL},{0x2C0E9CA7L,4294967289UL,0x229F405AL},{0x539AB68AL,1UL,0x5B21C83AL},{0x291ECEF7L,4294967294UL,0x85937DE8L},{4294967292UL,0x85937DE8L,0x347F2C52L},{0x539AB68AL,0x539AB68AL,0x2C0E9CA7L},{0x5B21C83AL,0xEC750E85L,0UL},{0x2C0E9CA7L,0x1CF2497FL,1UL}},{{0x1E2428C5L,0x2ADB01C9L,4294967295UL},{4294967289UL,0x2C0E9CA7L,1UL},{4294967289UL,0x539AB68AL,0UL},{3UL,0x291ECEF7L,0x2C0E9CA7L},{0x2C0E9CA7L,4294967292UL,0x347F2C52L},{4294967295UL,4294967292UL,4294967295UL},{0x229F405AL,0x291ECEF7L,0xE67D18B0L},{4294967291UL,0x539AB68AL,0x291ECEF7L}}};
static volatile struct S0 **g_873 = &g_841;
static volatile struct S0 ***g_872[5] = {&g_873,&g_873,&g_873,&g_873,&g_873};
static struct S0 g_892 = {-38,-90};
static struct S0 g_893 = {38,-8};
static uint64_t *g_894 = &g_129;
static const struct S0 *g_957 = &g_183;
static const struct S0 **g_956 = &g_957;
static const struct S0 ** volatile * volatile g_955 = &g_956;/* VOLATILE GLOBAL g_955 */
static const struct S0 ** volatile * const volatile g_958 = &g_956;/* VOLATILE GLOBAL g_958 */
static const struct S0 ** volatile *g_959[9][7] = {{&g_956,&g_956,&g_956,&g_956,&g_956,&g_956,&g_956},{&g_956,&g_956,&g_956,&g_956,&g_956,&g_956,&g_956},{&g_956,&g_956,&g_956,&g_956,&g_956,&g_956,&g_956},{&g_956,&g_956,&g_956,&g_956,&g_956,&g_956,&g_956},{&g_956,&g_956,&g_956,&g_956,&g_956,&g_956,&g_956},{&g_956,&g_956,&g_956,&g_956,&g_956,&g_956,&g_956},{&g_956,&g_956,&g_956,(void*)0,&g_956,&g_956,&g_956},{&g_956,&g_956,(void*)0,&g_956,&g_956,&g_956,&g_956},{&g_956,&g_956,&g_956,&g_956,&g_956,&g_956,&g_956}};
static const struct S0 ** volatile * const volatile *g_954[2][4][9] = {{{&g_959[1][0],&g_955,&g_959[4][4],&g_959[4][4],&g_955,&g_959[1][0],&g_955,&g_959[4][4],&g_959[4][4]},{&g_959[3][5],&g_958,&g_959[6][3],&g_959[5][6],&g_959[6][3],&g_958,&g_959[3][5],&g_959[2][2],&g_959[1][0]},{&g_959[5][1],&g_955,&g_959[5][1],&g_959[1][0],&g_959[1][0],&g_959[5][1],&g_955,&g_959[5][1],&g_959[1][0]},{&g_959[2][1],&g_959[2][2],&g_959[6][3],&g_959[8][4],&g_959[1][0],&g_959[8][4],&g_959[6][3],&g_959[2][2],&g_959[2][1]}},{{&g_959[3][5],&g_959[1][0],&g_959[4][4],&g_959[1][0],&g_959[3][5],&g_959[3][5],&g_959[1][0],&g_959[4][4],&g_959[1][0]},{&g_959[6][3],&g_959[4][0],&g_959[1][0],&g_959[5][6],&g_959[1][0],&g_959[2][2],&g_959[1][0],&g_959[5][6],&g_959[1][0]},{&g_959[3][5],&g_959[3][5],&g_959[1][0],&g_959[4][4],&g_959[1][0],&g_959[3][5],&g_959[3][5],&g_959[1][0],&g_959[4][4]},{&g_959[2][1],&g_959[4][0],&g_959[2][1],&g_959[2][2],&g_959[6][3],&g_959[8][4],&g_959[1][0],&g_959[8][4],&g_959[6][3]}}};
static const struct S0 ** volatile * const volatile **g_953 = &g_954[1][3][5];
static const int32_t g_992 = 0x0858B78FL;
static int32_t **g_1078 = &g_251[0];
static int32_t ***g_1077 = &g_1078;
static const int16_t g_1108 = 1L;
static uint32_t g_1111 = 0x5FEE33BBL;
static uint16_t *g_1116 = &g_27;
static uint16_t **g_1115 = &g_1116;
static uint32_t g_1118 = 0x8BE0000CL;
static int16_t *g_1265 = &g_308;
static uint32_t *g_1268 = (void*)0;
static uint32_t **g_1267 = &g_1268;
static uint32_t g_1289[1] = {0x62AE00B9L};
static int32_t *g_1298[6][4][9] = {{{(void*)0,&g_78[5],&g_78[7],&g_78[7],&g_78[7],(void*)0,&g_78[7],&g_78[7],&g_78[7]},{&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[1],&g_78[7],&g_78[6],&g_78[7]},{&g_78[4],&g_78[6],&g_78[1],&g_78[7],&g_78[7],&g_78[7],&g_78[8],&g_78[7],&g_78[7]},{&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7],(void*)0,(void*)0}},{{&g_78[7],(void*)0,&g_78[8],&g_78[7],&g_78[4],&g_78[7],&g_78[7],&g_78[2],(void*)0},{&g_78[7],&g_78[7],&g_78[0],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7]},{&g_78[5],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[5],(void*)0,&g_78[8],&g_78[5]},{&g_78[7],&g_78[7],&g_78[7],(void*)0,(void*)0,&g_78[7],&g_78[6],&g_78[7],(void*)0}},{{&g_78[7],&g_78[8],&g_78[7],&g_78[0],(void*)0,&g_78[7],(void*)0,&g_78[1],&g_78[7]},{&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[6],&g_78[7],&g_78[7],&g_78[7],&g_78[7]},{&g_78[8],&g_78[7],&g_78[7],&g_78[8],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7]},{&g_78[7],(void*)0,&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7],(void*)0}},{{&g_78[7],&g_78[4],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[8],&g_78[7],&g_78[2]},{&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7],(void*)0,&g_78[7]},{&g_78[7],&g_78[4],(void*)0,&g_78[1],&g_78[1],&g_78[8],&g_78[7],&g_78[6],&g_78[2]},{&g_78[7],(void*)0,&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[4]}},{{&g_78[2],&g_78[7],&g_78[1],&g_78[5],(void*)0,&g_78[8],&g_78[4],&g_78[4],&g_78[8]},{&g_78[7],&g_78[7],&g_78[5],&g_78[7],&g_78[7],&g_78[8],&g_78[7],(void*)0,(void*)0},{&g_78[8],&g_78[8],&g_78[4],&g_78[6],&g_78[7],&g_78[7],&g_78[7],(void*)0,&g_78[8]},{&g_78[4],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[8],&g_78[7],&g_78[4],&g_78[7]}},{{&g_78[6],&g_78[7],&g_78[6],(void*)0,&g_78[7],&g_78[8],&g_78[7],&g_78[7],&g_78[5]},{&g_78[7],&g_78[7],(void*)0,(void*)0,&g_78[7],&g_78[7],&g_78[6],&g_78[7],&g_78[7]},{&g_78[1],(void*)0,&g_78[4],&g_78[8],(void*)0,&g_78[8],&g_78[4],&g_78[0],&g_78[7]},{(void*)0,&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7],&g_78[7]}}};
static int32_t **g_1297 = &g_1298[2][3][7];
static int32_t **g_1301 = (void*)0;
static volatile uint64_t g_1311 = 0x3CE4D4EA754BAA1CLL;/* VOLATILE GLOBAL g_1311 */
static volatile uint64_t *g_1310 = &g_1311;
static volatile uint64_t **g_1309 = &g_1310;
static volatile uint64_t *** volatile g_1308[1] = {&g_1309};
static volatile uint64_t *** volatile *g_1307 = &g_1308[0];
static volatile uint32_t g_1325 = 0x7965A30CL;/* VOLATILE GLOBAL g_1325 */
static volatile uint32_t *g_1324[6] = {&g_1325,&g_1325,&g_1325,&g_1325,&g_1325,&g_1325};
static volatile uint32_t * volatile *g_1323[10][3][3] = {{{&g_1324[1],&g_1324[2],(void*)0},{&g_1324[1],&g_1324[1],&g_1324[4]},{&g_1324[1],(void*)0,&g_1324[5]}},{{&g_1324[4],&g_1324[1],&g_1324[1]},{&g_1324[1],&g_1324[1],&g_1324[1]},{&g_1324[2],&g_1324[4],&g_1324[1]}},{{&g_1324[1],&g_1324[1],&g_1324[5]},{&g_1324[1],&g_1324[2],&g_1324[4]},{&g_1324[4],&g_1324[1],(void*)0}},{{&g_1324[1],&g_1324[1],&g_1324[1]},{&g_1324[1],&g_1324[2],&g_1324[5]},{(void*)0,&g_1324[1],&g_1324[2]}},{{&g_1324[2],&g_1324[4],(void*)0},{&g_1324[4],&g_1324[1],&g_1324[4]},{&g_1324[2],&g_1324[1],&g_1324[1]}},{{(void*)0,(void*)0,&g_1324[1]},{&g_1324[1],&g_1324[1],&g_1324[2]},{&g_1324[1],&g_1324[2],&g_1324[2]}},{{&g_1324[4],&g_1324[3],&g_1324[1]},{&g_1324[1],&g_1324[1],&g_1324[1]},{&g_1324[1],&g_1324[5],&g_1324[4]}},{{&g_1324[2],&g_1324[1],(void*)0},{&g_1324[1],&g_1324[5],&g_1324[2]},{&g_1324[4],&g_1324[1],&g_1324[5]}},{{&g_1324[1],&g_1324[3],&g_1324[1]},{&g_1324[1],&g_1324[2],(void*)0},{&g_1324[1],&g_1324[1],&g_1324[4]}},{{&g_1324[1],(void*)0,&g_1324[5]},{&g_1324[4],&g_1324[1],&g_1324[1]},{&g_1324[1],&g_1324[1],&g_1324[1]}}};
static volatile uint32_t *** volatile *g_1351 = (void*)0;
static volatile int8_t g_1385[7] = {6L,6L,6L,6L,6L,6L,6L};
static volatile int8_t *g_1384 = &g_1385[3];
static volatile int32_t *g_1428 = (void*)0;
static volatile int32_t g_1430 = 2L;/* VOLATILE GLOBAL g_1430 */
static uint64_t g_1440 = 0xE79CDD0E62FF1EA8LL;
static uint8_t *g_1455[5] = {&g_333,&g_333,&g_333,&g_333,&g_333};
static uint8_t **g_1454[1] = {&g_1455[2]};
static int32_t g_1460 = (-1L);
static const uint64_t *g_1502[3] = {(void*)0,(void*)0,(void*)0};
static const uint64_t **g_1501[4] = {&g_1502[2],&g_1502[2],&g_1502[2],&g_1502[2]};
static const uint64_t ***g_1500 = &g_1501[1];
static const uint64_t ****g_1499 = &g_1500;
static const volatile uint32_t * volatile *g_1538 = (void*)0;
static const volatile uint32_t * volatile * volatile *g_1537 = &g_1538;
static uint64_t *g_1555 = &g_80[1];
static int64_t g_1561 = 0L;
static uint16_t g_1648 = 65535UL;
static uint32_t *g_1878 = &g_110[0];
static uint32_t **g_1877 = &g_1878;
static volatile int8_t * volatile * volatile * volatile **g_1907 = (void*)0;
static int8_t *g_1912 = (void*)0;
static int8_t ** const g_1911 = &g_1912;
static int8_t ** const *g_1910[8] = {&g_1911,&g_1911,&g_1911,&g_1911,&g_1911,&g_1911,&g_1911,&g_1911};
static int8_t ** const **g_1909 = &g_1910[3];
static int8_t ** const ***g_1908[1][5][4] = {{{&g_1909,&g_1909,&g_1909,&g_1909},{&g_1909,&g_1909,&g_1909,&g_1909},{&g_1909,&g_1909,&g_1909,&g_1909},{&g_1909,&g_1909,&g_1909,&g_1909},{&g_1909,&g_1909,&g_1909,&g_1909}}};
static struct S0 * volatile g_2099 = &g_183;/* VOLATILE GLOBAL g_2099 */
static int64_t *g_2147 = &g_50;
static int64_t g_2218 = (-1L);
static int8_t g_2220 = 0xB6L;
static uint8_t g_2229 = 0x20L;
static int32_t ** volatile g_2285 = (void*)0;/* VOLATILE GLOBAL g_2285 */
static const struct S0 * const ****g_2405 = (void*)0;
static uint32_t g_2406 = 0UL;
static const volatile uint32_t g_2407 = 0xFD232FDCL;/* VOLATILE GLOBAL g_2407 */
static int32_t *g_2427[5][10][2] = {{{&g_41,&g_3},{(void*)0,&g_1460},{(void*)0,&g_103},{&g_41,(void*)0},{&g_103,&g_41},{&g_41,(void*)0},{&g_103,(void*)0},{&g_41,&g_41},{&g_103,(void*)0},{&g_41,&g_103}},{{(void*)0,&g_1460},{(void*)0,&g_3},{&g_41,&g_1460},{&g_3,&g_41},{&g_139,&g_139},{&g_103,&g_41},{(void*)0,&g_41},{&g_139,&g_41},{&g_41,&g_41},{(void*)0,&g_1460}},{{(void*)0,&g_41},{&g_41,&g_41},{&g_41,&g_103},{&g_103,&g_41},{&g_41,(void*)0},{(void*)0,&g_103},{&g_3,(void*)0},{&g_41,&g_3},{&g_41,&g_1460},{&g_41,&g_1460}},{{&g_41,&g_41},{&g_1460,&g_103},{&g_41,&g_103},{&g_41,&g_103},{&g_41,&g_103},{&g_1460,&g_41},{&g_41,&g_1460},{&g_41,&g_1460},{&g_41,&g_3},{&g_41,(void*)0}},{{&g_3,&g_103},{(void*)0,(void*)0},{&g_41,&g_41},{&g_103,&g_103},{&g_41,&g_41},{&g_41,&g_41},{(void*)0,&g_1460},{(void*)0,&g_41},{&g_41,&g_41},{&g_41,&g_103}}};
static volatile uint32_t g_2518 = 0xE75B5765L;/* VOLATILE GLOBAL g_2518 */
static struct S0 *g_2523 = &g_893;
static uint8_t ***g_2680[3][2][6] = {{{&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0]},{&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0]}},{{&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0]},{&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0]}},{{&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0]},{&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0]}}};
static uint8_t ****g_2679 = &g_2680[1][0][1];
static int8_t g_2851 = 0L;
static uint32_t ***g_2882 = (void*)0;
static int32_t * volatile g_2886 = (void*)0;/* VOLATILE GLOBAL g_2886 */
static uint32_t ***g_2889[10][7] = {{&g_1267,&g_1267,&g_1267,(void*)0,&g_1267,&g_1267,&g_1267},{(void*)0,&g_1267,&g_1267,(void*)0,&g_1267,&g_1267,&g_1267},{(void*)0,(void*)0,&g_1267,(void*)0,&g_1267,&g_1267,&g_1267},{(void*)0,&g_1267,&g_1267,&g_1267,&g_1267,&g_1267,&g_1267},{(void*)0,&g_1267,(void*)0,&g_1267,&g_1267,&g_1267,&g_1267},{&g_1267,&g_1267,&g_1267,(void*)0,&g_1267,&g_1267,&g_1267},{(void*)0,&g_1267,&g_1267,(void*)0,&g_1267,&g_1267,&g_1267},{(void*)0,(void*)0,&g_1267,(void*)0,&g_1267,&g_1267,&g_1267},{(void*)0,&g_1267,&g_1267,&g_1267,&g_1267,&g_1267,&g_1267},{(void*)0,&g_1267,(void*)0,&g_1267,&g_1267,&g_1267,&g_1267}};
static uint32_t ****g_2888 = &g_2889[0][3];
static volatile int8_t g_3232 = 0L;/* VOLATILE GLOBAL g_3232 */
static struct S0 **g_3280 = &g_2523;
static struct S0 ***g_3279 = &g_3280;
static struct S0 ****g_3278 = &g_3279;
static struct S0 *****g_3277[3][5] = {{&g_3278,(void*)0,(void*)0,&g_3278,(void*)0},{&g_3278,&g_3278,(void*)0,&g_3278,&g_3278},{(void*)0,&g_3278,(void*)0,(void*)0,&g_3278}};
static uint8_t g_3338[1] = {3UL};
static uint8_t * const *g_3339 = (void*)0;
static const int32_t *g_3512 = &g_103;
static const int32_t ** volatile g_3511 = &g_3512;/* VOLATILE GLOBAL g_3511 */
static volatile uint64_t g_3513 = 8UL;/* VOLATILE GLOBAL g_3513 */
static int64_t g_3543 = (-3L);
static volatile int64_t g_3570 = 2L;/* VOLATILE GLOBAL g_3570 */
static volatile uint8_t g_3580 = 5UL;/* VOLATILE GLOBAL g_3580 */
static uint32_t g_3732 = 6UL;
static uint8_t g_3842 = 0x3CL;
static uint32_t g_3854 = 4294967295UL;
static uint32_t ****g_3864 = &g_2882;
static uint32_t ***** const volatile g_3863 = &g_3864;/* VOLATILE GLOBAL g_3863 */
static const int32_t ** volatile g_3872 = &g_3512;/* VOLATILE GLOBAL g_3872 */
static volatile int64_t g_3876 = 0x5D223CBF2B2384D9LL;/* VOLATILE GLOBAL g_3876 */
/* --- FORWARD DECLARATIONS --- */
uint64_t func_1(void);
const int32_t * func_6(int32_t * p_7, int32_t * p_8, int32_t * p_9);
int32_t * func_10(int32_t p_11, int32_t p_12, uint64_t p_13, uint16_t p_14, int32_t * p_15);
uint32_t func_31(uint16_t * p_32, uint64_t * p_33, uint32_t p_34, uint16_t * p_35);
uint16_t * func_36(int32_t p_37, uint64_t * p_38);
uint64_t * func_39(int32_t * p_40);
struct S0 func_44(int32_t p_45);
int64_t func_51(uint64_t p_52, const uint32_t p_53, const uint64_t p_54, int8_t p_55, uint32_t p_56);
uint64_t func_57(uint8_t p_58);
uint32_t func_63(int64_t * p_64, uint32_t p_65, uint64_t * p_66, int8_t p_67, uint16_t * p_68);
/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/*
* reads : g_3 g_2 g_20 g_27 g_41 g_110 g_384 g_385 g_115 g_116 g_200 g_83 g_852 g_525 g_454 g_236 g_144 g_383 g_894 g_82 g_414 g_441 g_442 g_443 g_183.f1 g_80 g_953 g_956 g_957 g_183 g_140 g_103 g_992 g_78 g_129 g_198 g_1460 g_1265 g_2099 g_1561 g_333 g_308 g_1499 g_1500 g_1307 g_1308 g_1309 g_1310 g_1311 g_1077 g_1078 g_955 g_306 g_1877 g_1878 g_764 g_176 g_2406 g_2407 g_1555 g_505 g_506 g_2427 g_1384 g_1385 g_2147 g_1116 g_50 g_2679 g_2680 g_1454 g_1455 g_763 g_1115 g_3732 g_2888 g_2889 g_3512 g_3511 g_1267 g_464 g_3842 g_2523 g_1111 g_3854 g_1440 g_3863 g_3872
* writes: g_3 g_20 g_27 g_41 g_200 g_80 g_872 g_525 g_116 g_464 g_183 g_892 g_893 g_236 g_251 g_140 g_129 g_139 g_50 g_308 g_838 g_103 g_1460 g_414 g_1648 g_1111 g_1502 g_1561 g_333 g_78 g_957 g_110 g_306 g_2405 g_1077 g_2229 g_2218 g_176 g_1267 g_3854 g_1440 g_3864 g_3512
*/
uint64_t func_1(void)
{ /* block id: 0 */
uint16_t *l_902[3];
uint8_t l_2084 = 0x7EL;
uint32_t l_2086[3];
int32_t l_3877 = 0x3893C663L;
int32_t l_3879[7][3] = {{9L,9L,9L},{0xFECA475EL,(-1L),0xFECA475EL},{9L,9L,9L},{0xFECA475EL,(-1L),0xFECA475EL},{9L,9L,9L},{0xFECA475EL,(-1L),0xFECA475EL},{9L,9L,9L}};
int64_t l_3881 = 0x0357236B619C930ELL;
int32_t l_3884 = 0x722B8270L;
int64_t l_3885 = 1L;
int64_t l_3886 = 1L;
int i, j;
for (i = 0; i < 3; i++)
l_902[i] = &g_414;
for (i = 0; i < 3; i++)
l_2086[i] = 1UL;
for (g_3 = 0; (g_3 < (-29)); g_3 = safe_sub_func_int16_t_s_s(g_3, 4))
{ /* block id: 3 */
uint64_t *l_19 = &g_20;
uint16_t *l_25 = (void*)0;
uint16_t *l_26 = &g_27;
int32_t l_901 = (-3L);
int32_t *l_2085[1][3];
int64_t l_3875 = 4L;
int8_t l_3878 = (-1L);
int8_t l_3880 = 0x5BL;
int8_t l_3882 = 0x81L;
int32_t l_3883 = 0x5F3B1C50L;
uint32_t l_3887 = 0x5B3406DFL;
int i, j;
for (i = 0; i < 1; i++)
{
for (j = 0; j < 3; j++)
l_2085[i][j] = &g_1460;
}
(*g_3872) = func_6(&g_3, &g_3, func_10((g_1460 ^= ((!(safe_sub_func_uint8_t_u_u((g_2 && g_2), ((0xDC0EL & (((((*l_19)++) <= (safe_mul_func_int8_t_s_s((((*l_26)++) , (!(func_31(func_36(g_27, func_39(&g_3)), (*g_82), l_901, l_902[0]) > (-7L)))), 1L))) != l_901) > l_2084)) == 0xEF016E35ADA14540LL)))) & (-1L))), l_2086[0], l_2086[0], l_2086[0], &l_901));
l_3875 ^= ((safe_add_func_uint16_t_u_u(((*g_1116) = (****g_383)), l_2086[0])) || l_2086[0]);
++l_3887;
return (*g_83);
}
return l_2086[0];
}
/* ------------------------------------------ */
/*
* reads : g_1265 g_1877 g_1878 g_110 g_1384 g_1385 g_505 g_506 g_83 g_80 g_82 g_2147 g_3 g_441 g_442 g_443 g_236 g_1116 g_1078 g_50 g_129 g_525 g_2679 g_2680 g_1454 g_1455 g_333 g_308 g_763 g_764 g_176 g_385 g_115 g_116 g_1115 g_27 g_3732 g_454 g_2888 g_2889 g_198 g_3512 g_103 g_1077 g_3511 g_1267 g_383 g_384 g_140 g_464 g_3842 g_20 g_956 g_957 g_183 g_2523 g_1111 g_3854 g_1440 g_3863
* writes: g_308 g_110 g_1077 g_2229 g_80 g_50 g_27 g_116 g_2218 g_251 g_139 g_129 g_525 g_333 g_236 g_176 g_1267 g_140 g_464 g_20 g_893 g_1111 g_3854 g_1440 g_3864
*/
const int32_t * func_6(int32_t * p_7, int32_t * p_8, int32_t * p_9)
{ /* block id: 1159 */
int32_t l_2431 = (-1L);
const int32_t * const **l_2444 = (void*)0;
int32_t l_2445 = (-4L);
int32_t *****l_2458 = (void*)0;
uint16_t **l_2497 = &g_115;
int32_t l_2506 = 0x915AFE12L;
int32_t l_2507[4] = {0x0A144CB7L,0x0A144CB7L,0x0A144CB7L,0x0A144CB7L};
uint32_t l_2510 = 0x404F2702L;
uint8_t *l_2515 = &g_525;
struct S0 l_2644[10] = {{77,22},{77,22},{77,22},{77,22},{77,22},{77,22},{77,22},{77,22},{77,22},{77,22}};
uint32_t l_2653[10] = {3UL,3UL,3UL,3UL,3UL,3UL,3UL,3UL,3UL,3UL};
int8_t l_2720 = 0xBFL;
uint16_t l_2829 = 0x08E5L;
const int16_t l_2852[8][10][3] = {{{0L,0xD76FL,1L},{0xC933L,0xB652L,0xA96EL},{0L,0xD76FL,0xE5FEL},{0x2A01L,0xBB3AL,0xD3E9L},{5L,0L,5L},{0xC933L,(-1L),0xD3E9L},{(-3L),0x85A8L,0xE5FEL},{0x109AL,2L,0xA96EL},{0x3F58L,0L,1L},{0x109AL,0L,0xF202L}},{{(-3L),0xD76FL,0x9D26L},{0xC933L,1L,0xA96EL},{5L,0xD76FL,0x3F58L},{0x2A01L,0L,0xD3E9L},{0L,0L,0L},{0xC933L,2L,0xD3E9L},{0L,0x85A8L,0x3F58L},{0x109AL,(-1L),0xA96EL},{0xE5FEL,0L,0x9D26L},{0x109AL,0xBB3AL,0xF202L}},{{0L,0xD76FL,1L},{0xC933L,0xB652L,0xA96EL},{0L,0xD76FL,0xE5FEL},{0x2A01L,0xBB3AL,0xD3E9L},{5L,0L,5L},{0xC933L,(-1L),0xD3E9L},{(-3L),0x85A8L,0xE5FEL},{0x109AL,2L,0xA96EL},{0x3F58L,0L,1L},{0x109AL,0L,0xF202L}},{{(-3L),0xD76FL,0x9D26L},{0xC933L,1L,0xA96EL},{5L,0xD76FL,0x3F58L},{0x2A01L,0L,0xD3E9L},{0L,0L,0L},{0xC933L,2L,0xD3E9L},{0L,0x85A8L,0x3F58L},{0x109AL,(-1L),0xA96EL},{0xE5FEL,0L,0x9D26L},{0x109AL,0xBB3AL,0xF202L}},{{0L,0xD76FL,1L},{0xC933L,0xB652L,0xA96EL},{0L,0xD76FL,0xE5FEL},{0x2A01L,0xBB3AL,0xD3E9L},{5L,0L,5L},{0xC933L,(-1L),0xD3E9L},{(-3L),0x85A8L,0xE5FEL},{0x109AL,2L,0xA96EL},{0x3F58L,0L,1L},{0x109AL,0L,(-1L)}},{{0x0D1BL,1L,0x94C1L},{0x29A5L,0x2A01L,0x794CL},{0x8A5FL,1L,(-5L)},{(-8L),1L,0xF59FL},{(-6L),0xA6D0L,(-6L)},{0x29A5L,0x109AL,0xF59FL},{0x0DAAL,(-5L),(-5L)},{(-1L),0xF202L,0x794CL},{0xE4FDL,0xA6D0L,0x94C1L},{(-1L),0xC933L,(-1L)}},{{0x0DAAL,1L,0x622BL},{0x29A5L,0xA96EL,0x794CL},{(-6L),1L,0xE4FDL},{(-8L),0xC933L,0xF59FL},{0x8A5FL,0xA6D0L,0x8A5FL},{0x29A5L,0xF202L,0xF59FL},{0x0D1BL,(-5L),0xE4FDL},{(-1L),0x109AL,0x794CL},{(-5L),0xA6D0L,0x622BL},{(-1L),1L,(-1L)}},{{0x0D1BL,1L,0x94C1L},{0x29A5L,0x2A01L,0x794CL},{0x8A5FL,1L,(-5L)},{(-8L),1L,0xF59FL},{(-6L),0xA6D0L,(-6L)},{0x29A5L,0x109AL,0xF59FL},{0x0DAAL,(-5L),(-5L)},{(-1L),0xF202L,0x794CL},{0xE4FDL,0xA6D0L,0x94C1L},{(-1L),0xC933L,(-1L)}}};
struct S0 **l_2871 = &g_2523;
struct S0 ** const *l_2870 = &l_2871;
struct S0 ** const **l_2869 = &l_2870;
int16_t ** const l_2895 = &g_1265;
int32_t ***l_2978 = (void*)0;
uint64_t l_2999 = 1UL;
uint64_t ***l_3129[10] = {&g_198,&g_198,&g_198,&g_198,&g_198,&g_198,&g_198,&g_198,&g_198,&g_198};
int32_t *l_3236 = &l_2506;
uint16_t l_3297 = 0x9009L;
int8_t * const *l_3328 = &g_1912;
uint32_t l_3355 = 18446744073709551612UL;
int64_t l_3483 = 0x187F9AFF0F682018LL;
int8_t *l_3533[7][3] = {{&l_2720,(void*)0,&g_236},{&l_2720,&l_2720,(void*)0},{(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&g_236},{(void*)0,(void*)0,(void*)0},{&l_2720,(void*)0,&g_236},{&l_2720,&l_2720,(void*)0}};
uint32_t l_3653 = 7UL;
int64_t l_3672 = (-1L);
int32_t l_3734[9][9][3] = {{{(-4L),(-6L),0xB7FDCD89L},{(-3L),0x4B50D56EL,(-1L)},{0x7E6E920DL,1L,0xD1357044L},{1L,1L,0x89C6E314L},{(-8L),0x7E6E920DL,(-6L)},{(-8L),0x96AF08BAL,(-1L)},{8L,0x9BF99C9AL,0xA59C8D7BL},{(-1L),0xA59C8D7BL,0xB6493098L},{(-2L),2L,(-10L)}},{{5L,8L,0xC601C966L},{1L,(-3L),0xEFCED34BL},{0L,0L,0L},{(-1L),0x6BF45BB8L,0x7E6E920DL},{0x4B50D56EL,0xC4CD9977L,0L},{0x9A44FF61L,0L,1L},{0x7CFD0F0EL,2L,(-10L)},{0x9A44FF61L,1L,0L},{0x4B50D56EL,0x73F264BDL,0xB7FDCD89L}},{{(-1L),(-4L),0xC4CD9977L},{0L,0xA89AC716L,(-4L)},{1L,0x75DF6DA6L,(-8L)},{5L,0L,0x997888A0L},{(-2L),0x96AF08BAL,(-1L)},{7L,0L,0x1E0CEFB4L},{1L,(-6L),(-1L)},{3L,5L,(-3L)},{0x7CFD0F0EL,0x4595C73EL,0xFBC0908DL}},{{0x4595C73EL,(-1L),(-1L)},{1L,1L,0x6D0B6495L},{4L,(-8L),0x0A8B619DL},{(-5L),1L,0x7E6E920DL},{0L,0x6D2F08BEL,0L},{(-2L),0L,(-3L)},{(-1L),(-6L),(-1L)},{(-8L),0xD607E21BL,1L},{5L,0xD607E21BL,0xC601C966L}},{{0x6D2F08BEL,(-6L),5L},{(-1L),0L,0x9A44FF61L},{0x9BF99C9AL,0x6D2F08BEL,0L},{3L,1L,0L},{0x190D1921L,(-8L),1L},{1L,1L,0x7CFD0F0EL},{1L,(-1L),0x98254BBFL},{0xE6BC550CL,0x4595C73EL,(-6L)},{(-1L),5L,0x7E6E920DL}},{{(-9L),(-6L),0x6D0B6495L},{(-1L),0L,(-1L)},{0xD607E21BL,0xC39545D4L,0xDFA91D9DL},{0L,(-1L),0x139973D5L},{0L,9L,0x98254BBFL},{0x694EE32CL,(-6L),(-1L)},{(-5L),(-5L),0x1E0CEFB4L},{0xC4CD9977L,0xB6493098L,0xC601C966L},{(-1L),1L,0xD607E21BL}},{{3L,0L,5L},{0x9BF99C9AL,(-1L),0xD607E21BL},{1L,0L,0xC601C966L},{(-1L),(-8L),0x1E0CEFB4L},{7L,1L,(-1L)},{(-1L),4L,0x98254BBFL},{0x7CFD0F0EL,(-1L),0x139973D5L},{3L,0xC4CD9977L,0xDFA91D9DL},{(-9L),1L,(-1L)}},{{5L,(-2L),0x6D0B6495L},{0xB6493098L,0xC39545D4L,0x7E6E920DL},{0xDFA91D9DL,1L,(-6L)},{(-8L),(-7L),0x98254BBFL},{(-1L),1L,0x7CFD0F0EL},{0xD607E21BL,(-8L),1L},{0xC4CD9977L,0xD607E21BL,0L},{1L,0x73F264BDL,0L},{8L,0L,0x9A44FF61L}},{{(-1L),1L,5L},{(-1L),1L,0xC601C966L},{0x190D1921L,0L,1L},{0x190D1921L,0x75DF6DA6L,(-1L)},{(-1L),(-1L),(-3L)},{(-1L),3L,0L},{8L,0xC4CD9977L,0x7E6E920DL},{1L,1L,0x0A8B619DL},{0xC4CD9977L,0x1E1AB662L,0x6D0B6495L}}};
uint32_t ** const *l_3758[7];
uint32_t ** const **l_3757 = &l_3758[6];
uint32_t **l_3780 = (void*)0;
uint16_t l_3808 = 0x9B16L;
int64_t l_3835 = (-1L);
const int32_t *l_3871 = &g_3;
int i, j, k;
for (i = 0; i < 7; i++)
l_3758[i] = &g_1877;
if (((1UL ^ (!0x9A6A26E76ACFD894LL)) | (((safe_mul_func_int16_t_s_s((((((((*g_1265) = l_2431) , (safe_add_func_uint32_t_u_u(l_2431, l_2431))) == (safe_sub_func_uint8_t_u_u((safe_div_func_int16_t_s_s((safe_sub_func_uint32_t_u_u((l_2431 , ((**g_1877)++)), (0x78A0DA02L > l_2431))), (safe_mul_func_int8_t_s_s(((g_1077 = &g_1078) == l_2444), 0x49L)))), (*g_1384)))) , (*g_505)) , l_2431) , l_2445), 1L)) <= (-1L)) != (*g_83))))
{ /* block id: 1163 */
uint32_t l_2453 = 0x407D26BBL;
int32_t l_2466 = (-9L);
int32_t l_2468 = 0x01BF4758L;
int32_t l_2472 = 0x93F212DBL;
int32_t l_2475 = (-1L);
int32_t l_2483[4];
int32_t *l_2491 = &l_2466;
int64_t *l_2496 = &g_2218;
struct S0 *****l_2500 = (void*)0;
struct S0 *l_2525[5][2][9] = {{{&g_892,&g_183,(void*)0,&g_892,&g_892,&g_893,&g_893,&g_892,&g_892},{&g_183,&g_892,&g_183,&g_893,&g_893,&g_183,&g_892,&g_893,&g_892}},{{&g_893,&g_892,&g_892,&g_892,&g_892,&g_892,&g_893,&g_183,&g_893},{&g_183,(void*)0,&g_892,&g_892,&g_183,&g_892,&g_183,&g_892,&g_892}},{{&g_892,&g_892,&g_892,&g_893,&g_893,(void*)0,&g_892,&g_183,&g_892},{&g_892,&g_893,(void*)0,(void*)0,&g_893,&g_892,&g_893,&g_892,&g_893}},{{&g_183,&g_892,&g_892,&g_893,&g_893,&g_893,&g_893,&g_892,&g_892},{&g_893,(void*)0,&g_892,&g_183,&g_893,&g_892,&g_893,&g_893,&g_892}},{{&g_183,&g_892,&g_892,&g_892,&g_183,(void*)0,&g_892,&g_892,&g_893},{&g_892,(void*)0,&g_183,&g_892,&g_892,&g_892,&g_183,(void*)0,&g_892}}};
uint16_t *l_2546 = &g_1648;
int32_t l_2594[10][6][4] = {{{0L,(-9L),0x023D2464L,0x109C32C4L},{5L,0L,0x023D2464L,0x1287739DL},{0L,1L,(-2L),(-3L)},{0x0B3CAD3BL,0x50A6E534L,0x109C32C4L,0x78C12859L},{0x109C32C4L,0x78C12859L,0x8DBD6B3EL,(-2L)},{1L,(-1L),(-2L),(-1L)}},{{(-9L),0x8DBD6B3EL,(-9L),(-2L)},{(-9L),0x0ED40BE4L,0x0ED40BE4L,(-9L)},{(-3L),0x023D2464L,0x489F6D63L,0x2A9DB936L},{0xE5970DF5L,5L,0L,0x73A67D79L},{(-9L),(-9L),0xE5CBFCF6L,0x73A67D79L},{1L,5L,0xCCD10F2AL,0x2A9DB936L}},{{0x7EC9ED2FL,0x023D2464L,(-1L),(-9L)},{(-9L),0x0ED40BE4L,0x50A6E534L,(-2L)},{(-2L),0x8DBD6B3EL,5L,(-1L)},{0x50A6E534L,(-1L),0x1287739DL,(-2L)},{0x023D2464L,0x78C12859L,(-2L),0x78C12859L},{0L,0x50A6E534L,1L,(-3L)}},{{0x73A67D79L,1L,(-1L),0x1287739DL},{0x1287739DL,0L,(-3L),0x109C32C4L},{0x1287739DL,(-9L),(-1L),0x8F684391L},{0x73A67D79L,0x109C32C4L,1L,0L},{0L,0x2A9DB936L,(-2L),0L},{0x023D2464L,1L,0x1287739DL,0xE5970DF5L}},{{0x50A6E534L,0x7EC9ED2FL,5L,(-1L)},{(-2L),0xCCD10F2AL,0x50A6E534L,0x50A6E534L},{(-9L),(-9L),(-1L),0L},{0x7EC9ED2FL,0x8F684391L,0xCCD10F2AL,0x023D2464L},{1L,0xE5970DF5L,0xE5CBFCF6L,0xCCD10F2AL},{(-9L),0x8DBD6B3EL,1L,0x1287739DL}},{{0x8DBD6B3EL,(-1L),0x7EC9ED2FL,0x46141167L},{5L,(-2L),(-9L),(-9L)},{(-1L),0xE5970DF5L,(-2L),0L},{(-1L),0x78C12859L,0x50A6E534L,0x8DBD6B3EL},{0x0B3CAD3BL,0x0ED40BE4L,0x023D2464L,1L},{0L,1L,0L,0xCCD10F2AL}},{{0x8F684391L,0L,0x73A67D79L,(-1L)},{1L,(-1L),0x1287739DL,0L},{(-9L),0x46141167L,0x1287739DL,1L},{1L,0L,0x73A67D79L,5L},{0x8F684391L,(-9L),0L,(-2L)},{0L,(-2L),0x023D2464L,0x50A6E534L}},{{0x0B3CAD3BL,(-3L),0x50A6E534L,0L},{(-1L),0x023D2464L,(-2L),0x73A67D79L},{(-1L),(-9L),(-9L),(-1L)},{5L,0x1287739DL,0x7EC9ED2FL,1L},{0x8DBD6B3EL,(-9L),1L,(-1L)},{0x2A9DB936L,(-1L),(-9L),(-1L)}},{{0L,(-9L),0xE5970DF5L,1L},{0x78C12859L,0x1287739DL,(-3L),(-1L)},{(-2L),(-9L),(-9L),0x73A67D79L},{0x109C32C4L,0x023D2464L,(-9L),0L},{(-9L),(-3L),1L,0x50A6E534L},{0x1287739DL,(-2L),0x109C32C4L,(-2L)}},{{0x489F6D63L,(-9L),0x0B3CAD3BL,5L},{(-1L),0L,0L,1L},{1L,0x46141167L,5L,0L},{1L,(-1L),0L,(-1L)},{(-1L),0L,0x0B3CAD3BL,0xCCD10F2AL},{0x489F6D63L,1L,0x109C32C4L,1L}}};
int8_t * const *l_2635 = &g_443;
int8_t * const **l_2634 = &l_2635;
uint64_t l_2741 = 0x72F530DC468263D4LL;
uint32_t l_2860 = 6UL;
uint16_t l_2883 = 0x4B29L;
uint64_t l_2906 = 2UL;
int32_t **l_2982 = &g_2427[4][1][0];
int8_t l_3115 = (-1L);
int8_t l_3189 = 0xF1L;
uint32_t *l_3196 = (void*)0;
uint64_t **l_3303 = &g_1555;
const int32_t *l_3305 = (void*)0;
struct S0 *l_3308 = &l_2644[8];
const uint64_t **l_3320 = &g_1502[0];
const uint64_t l_3323 = 0UL;
uint8_t **l_3334 = &g_1455[3];
int32_t l_3359 = (-1L);
uint16_t l_3395[6][7][4] = {{{0x0E49L,0xAC1CL,0UL,0x5A13L},{0UL,8UL,65535UL,0xB078L},{5UL,3UL,1UL,65533UL},{0UL,0x9F3AL,65533UL,0x9168L},{65535UL,1UL,0x7D5FL,65528UL},{65527UL,0xF7ACL,0UL,0x7D5FL},{1UL,0x0599L,65527UL,65535UL}},{{65533UL,1UL,5UL,0x0E49L},{1UL,0x9F3AL,0x9F3AL,1UL},{8UL,65528UL,0xE4D8L,0UL},{65535UL,0x5D81L,0UL,0x5A13L},{1UL,1UL,0x0E49L,0x5A13L},{6UL,0x5D81L,65533UL,0UL},{5UL,65528UL,65533UL,1UL}},{{0x9968L,0x9F3AL,0xE021L,0x0E49L},{0x84F4L,1UL,0x7D5FL,65535UL},{0UL,0x0599L,0x0E49L,0x7D5FL},{65535UL,1UL,0xE4D8L,1UL},{0x5EDFL,6UL,0x9168L,65535UL},{0x9F3AL,65529UL,65531UL,0UL},{0UL,8UL,1UL,1UL}},{{0UL,0x9F3AL,5UL,0xF7ACL},{65535UL,65532UL,65535UL,65533UL},{0xE4D8L,0UL,65535UL,0x8AF2L},{0x0E49L,1UL,65526UL,0UL},{65529UL,0x4CD6L,65526UL,3UL},{0x0E49L,65527UL,65535UL,0x5D81L},{0xE4D8L,1UL,65535UL,65535UL}},{{65535UL,65535UL,5UL,0xE021L},{0UL,6UL,1UL,9UL},{0UL,0x4CD6L,65531UL,65526UL},{0x9F3AL,65533UL,0x9168L,1UL},{0x5EDFL,0x9968L,0xE4D8L,65533UL},{65535UL,65535UL,9UL,0x7D5FL},{0x84F4L,0UL,0xAC1CL,65531UL}},{{0x9168L,8UL,65526UL,65526UL},{65535UL,65535UL,0UL,3UL},{0UL,0UL,0x5EDFL,1UL},{0xE4D8L,65535UL,9UL,0x5EDFL},{65528UL,65535UL,0x3E92L,1UL},{65535UL,0UL,1UL,3UL},{0x9F3AL,65535UL,65529UL,65526UL}}};
int16_t l_3425 = (-1L);
int32_t l_3471 = (-3L);
uint8_t l_3509 = 0UL;
int32_t l_3604 = 0x9C91D39BL;
int64_t l_3612 = 1L;
const int16_t l_3626 = 0x735DL;
uint64_t l_3627 = 18446744073709551615UL;
int i, j, k;
for (i = 0; i < 4; i++)
l_2483[i] = 0x00B8582AL;
for (g_2229 = 16; (g_2229 != 16); g_2229 = safe_add_func_int16_t_s_s(g_2229, 5))
{ /* block id: 1166 */
int8_t l_2452 = 1L;
int32_t l_2470 = 1L;
int32_t l_2474 = 9L;
int32_t l_2477 = 0x3EE7236DL;
int32_t l_2478 = 3L;
int32_t l_2479 = 0L;
int32_t l_2482 = (-6L);
uint32_t l_2488 = 18446744073709551615UL;
int32_t l_2508 = 0x9A754173L;
int32_t l_2509[9][5] = {{(-1L),(-1L),0x30A8A6E3L,4L,0xF66D27FCL},{0x50E3A727L,0xF66D27FCL,0x56E64964L,0x56E64964L,0xF66D27FCL},{0xF66D27FCL,0xBD960880L,0x50E3A727L,0xF66D27FCL,0x56E64964L},{4L,0xF66D27FCL,0x30A8A6E3L,0xF66D27FCL,4L},{0x50E3A727L,(-1L),0xBD960880L,0x56E64964L,(-1L)},{4L,0xBD960880L,0xBD960880L,4L,0x56E64964L},{0xF66D27FCL,4L,0x30A8A6E3L,(-1L),(-1L)},{0x50E3A727L,4L,0x50E3A727L,0x56E64964L,4L},{(-1L),0xBD960880L,0x56E64964L,(-1L),0x56E64964L}};
int i, j;
if (((safe_mod_func_uint8_t_u_u((1UL >= 0x3E96L), (((*g_1116) = (safe_mod_func_int32_t_s_s(0x5C786ACDL, (l_2445 ^ ((((((**g_82) = l_2452) | (l_2453 > (((*g_2147) = (safe_add_func_int16_t_s_s((safe_add_func_uint32_t_u_u(l_2452, ((l_2458 != l_2458) != 1L))), 0UL))) || 0xA9FC5D99CE1FBF83LL))) | 0xC4L) <= (*p_7)) , (***g_441)))))) | l_2452))) & l_2452))
{ /* block id: 1170 */
int32_t l_2469 = 0xA5D02F75L;
int32_t l_2481[7] = {0x21DEF3B9L,0x21DEF3B9L,0x21DEF3B9L,0x21DEF3B9L,0x21DEF3B9L,0x21DEF3B9L,0x21DEF3B9L};
uint64_t l_2485 = 1UL;
int i;
for (g_116 = (-12); (g_116 <= 55); g_116++)
{ /* block id: 1173 */
int64_t l_2467 = 3L;
int32_t l_2471 = 0xC3ED1F62L;
int32_t l_2473 = 0x40A68FAAL;
int32_t l_2476 = 0x4FC28DCCL;
int32_t l_2480 = 0xA70EC1D1L;
int32_t l_2484[1];
int i;
for (i = 0; i < 1; i++)
l_2484[i] = (-1L);
for (g_2218 = 28; (g_2218 == 15); g_2218 = safe_sub_func_uint64_t_u_u(g_2218, 8))
{ /* block id: 1176 */
int32_t *l_2463 = &g_1460;
int32_t *l_2464 = &l_2445;
int32_t *l_2465[8][5] = {{&l_2445,&g_103,(void*)0,&g_3,&g_41},{&g_41,&g_41,&l_2431,&g_1460,&g_139},{&g_139,&l_2431,&g_139,&g_139,(void*)0},{&g_41,&g_139,(void*)0,&g_139,&g_41},{&l_2445,&g_139,(void*)0,&g_139,&g_103},{&g_1460,&g_139,&g_139,(void*)0,&g_103},{&g_103,&g_41,&l_2431,&g_139,&g_103},{(void*)0,(void*)0,(void*)0,(void*)0,&g_139}};
int i, j;
++l_2485;
}
}
if ((*p_8))
break;
}
else
{ /* block id: 1181 */
int32_t *l_2489 = &l_2482;
int32_t *l_2490 = &l_2483[0];
(*l_2490) |= ((*l_2489) &= l_2488);
(*g_1078) = l_2491;
}
l_2479 = (safe_mod_func_uint32_t_u_u(((*l_2491) && ((((*g_2147) &= l_2488) && (((void*)0 == l_2496) != (l_2497 != (void*)0))) ^ (((l_2477 , (*l_2491)) >= ((void*)0 == l_2500)) , 0UL))), (*l_2491)));
for (g_139 = 0; (g_139 <= 3); g_139 += 1)
{ /* block id: 1190 */
int32_t *l_2501 = &l_2431;
int32_t *l_2502 = &l_2445;
int32_t *l_2503 = &g_41;
int32_t *l_2504 = &l_2431;
int32_t *l_2505[7][9][4] = {{{&l_2483[1],&l_2468,&l_2470,&l_2482},{&l_2468,&l_2468,&l_2472,&l_2482},{&l_2468,&g_103,&l_2468,(void*)0},{&g_1460,&g_1460,&l_2483[1],&g_103},{&g_1460,&g_1460,&g_3,&g_1460},{(void*)0,(void*)0,&l_2468,&l_2468},{&l_2474,&l_2431,&l_2477,&l_2472},{&l_2468,&l_2479,(void*)0,&l_2479},{&g_1460,&g_1460,&l_2482,&l_2468}},{{&l_2483[0],&l_2482,&l_2472,&l_2445},{&g_1460,&g_1460,&l_2477,&l_2472},{&g_1460,&l_2482,&l_2472,(void*)0},{&l_2483[0],&l_2472,&l_2482,(void*)0},{&g_1460,&l_2468,(void*)0,&g_1460},{&l_2468,&l_2474,&l_2477,&l_2482},{&l_2474,&l_2472,&l_2468,&g_1460},{(void*)0,&g_1460,&g_3,&l_2472},{&g_1460,&l_2483[1],&l_2483[1],&g_1460}},{{&g_1460,&l_2482,&l_2468,&l_2477},{&l_2468,&l_2431,&l_2472,&l_2479},{&l_2468,&l_2472,&l_2470,&l_2479},{&l_2483[1],&l_2431,&l_2482,&l_2477},{&g_139,&l_2482,&l_2431,&g_1460},{&g_1460,&l_2483[1],&g_103,&l_2472},{&l_2482,&g_1460,&l_2472,&g_1460},{&g_139,&l_2472,&l_2472,&l_2482},{&g_1460,&l_2474,&l_2470,&g_1460}},{{&l_2477,&l_2468,&l_2477,(void*)0},{&l_2468,&l_2472,(void*)0,(void*)0},{(void*)0,&l_2482,&l_2483[1],&l_2472},{&l_2445,&g_1460,&l_2483[1],&l_2445},{(void*)0,&l_2482,(void*)0,&l_2468},{&l_2468,&g_1460,&l_2477,&l_2479},{&l_2477,&l_2479,&l_2470,&l_2472},{&g_1460,&l_2431,&l_2472,&l_2468},{&g_139,(void*)0,&l_2472,&g_1460}},{{&l_2482,&g_1460,&g_103,&g_103},{&g_1460,&g_1460,&l_2431,(void*)0},{&g_139,&g_103,&l_2482,&l_2482},{&l_2483[1],&l_2468,&l_2470,&l_2482},{&l_2468,&l_2468,&l_2472,&l_2482},{&l_2468,&g_103,&l_2468,(void*)0},{&g_1460,&g_1460,&l_2483[1],&g_103},{&g_1460,&g_1460,&g_3,&g_1460},{(void*)0,(void*)0,&l_2468,&l_2468}},{{&l_2474,&l_2431,&l_2477,&l_2472},{&l_2468,&l_2479,(void*)0,&l_2479},{&g_1460,(void*)0,&l_2431,&g_103},{&l_2472,&g_1460,&l_2479,&l_2472},{&l_2472,&l_2445,&g_1460,&l_2483[1]},{&l_2472,&l_2431,&l_2479,(void*)0},{&l_2472,&l_2483[1],&l_2431,&g_1460},{&l_2445,&g_1460,&g_139,&l_2472},{&g_103,&l_2483[2],&l_2477,&g_1460}},{{&l_2483[2],&l_2483[1],(void*)0,&l_2474},{(void*)0,&l_2472,&g_1460,&l_2483[1]},{&l_2482,&g_3,&g_3,&l_2482},{&l_2474,&g_1460,(void*)0,&l_2477},{&g_1460,&l_2468,&l_2472,&l_2474},{&g_103,&l_2479,&l_2468,&l_2474},{&g_3,&l_2468,&l_2431,&l_2477},{&l_2477,&g_1460,&l_2468,&l_2482},{&l_2472,&g_3,&g_3,&l_2483[1]}}};
int i, j, k;
--l_2510;
}
(*l_2491) |= 0xA63D0516L;
}
}
else
{ /* block id: 1637 */
int16_t l_3670 = 0x07E6L;
int32_t l_3671[6] = {3L,3L,3L,3L,3L,3L};
int8_t l_3673[1];
uint16_t l_3674 = 0x920DL;
uint8_t l_3698 = 254UL;
uint32_t l_3706 = 0x74804AB0L;
uint64_t l_3717 = 1UL;
struct S0 l_3729 = {-88,-82};
int64_t l_3733 = 1L;
int32_t l_3759[3];
uint8_t l_3804 = 2UL;
int32_t l_3830 = 0xB3377AA0L;
int32_t ****l_3833[8][3] = {{&l_2978,&l_2978,&l_2978},{&l_2978,&l_2978,&l_2978},{&l_2978,&l_2978,&l_2978},{&l_2978,&l_2978,&l_2978},{&l_2978,&l_2978,&l_2978},{&l_2978,&l_2978,&l_2978},{&l_2978,&l_2978,&l_2978},{&l_2978,&l_2978,&l_2978}};
int64_t l_3836 = 0xB752CC63CE09A9F1LL;
uint32_t ****l_3862 = &g_2882;
int i, j;
for (i = 0; i < 1; i++)
l_3673[i] = (-3L);
for (i = 0; i < 3; i++)
l_3759[i] = 8L;
for (g_129 = 12; (g_129 >= 8); g_129 = safe_sub_func_int32_t_s_s(g_129, 4))
{ /* block id: 1640 */
int32_t *l_3664 = (void*)0;
int32_t *l_3665 = &l_2506;
int32_t *l_3666 = &l_2506;
int32_t *l_3667 = &l_2431;
int32_t *l_3668 = &l_2445;
int32_t *l_3669[9][6] = {{&l_2506,(void*)0,&g_1460,(void*)0,(void*)0,&g_1460},{&g_1460,&g_1460,&l_2506,&g_1460,&g_1460,(void*)0},{&g_1460,&l_2506,&g_1460,(void*)0,(void*)0,(void*)0},{&l_2506,(void*)0,(void*)0,&l_2506,&l_2506,(void*)0},{&g_1460,(void*)0,&g_1460,(void*)0,(void*)0,(void*)0},{&l_2506,(void*)0,&l_2506,&g_1460,(void*)0,&g_1460},{&g_1460,(void*)0,&g_1460,&l_2506,&l_2506,&g_1460},{(void*)0,(void*)0,&l_2506,&l_2506,(void*)0,&g_1460},{&g_1460,&l_2506,&g_1460,&g_1460,&g_1460,&l_2506}};
int32_t ***l_3688 = &g_1301;
int64_t l_3697 = 0x36490C357092918CLL;
uint8_t ***l_3743[9] = {&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0],&g_1454[0]};
struct S0 **l_3793 = &g_2523;
int32_t l_3807 = 0xA95C307EL;
uint32_t ****l_3870[10][8][1] = {{{(void*)0},{(void*)0},{&g_2882},{&g_2882},{&g_2882},{(void*)0},{&g_2882},{(void*)0}},{{&g_2882},{&g_2882},{&g_2882},{&g_2882},{(void*)0},{&g_2882},{(void*)0},{&g_2882}},{{&g_2882},{&g_2882},{(void*)0},{(void*)0},{&g_2882},{&g_2882},{&g_2882},{&g_2882}},{{(void*)0},{&g_2882},{&g_2882},{&g_2882},{&g_2882},{(void*)0},{(void*)0},{&g_2882}},{{&g_2882},{&g_2882},{(void*)0},{&g_2882},{&g_2882},{&g_2882},{&g_2882},{&g_2882}},{{&g_2882},{&g_2882},{&g_2882},{&g_2882},{(void*)0},{&g_2882},{&g_2882},{&g_2882}},{{&g_2882},{(void*)0},{&g_2882},{&g_2882},{&g_2882},{(void*)0},{&g_2882},{&g_2882}},{{&g_2882},{(void*)0},{&g_2882},{&g_2882},{&g_2882},{&g_2882},{(void*)0},{&g_2882}},{{&g_2882},{&g_2882},{&g_2882},{&g_2882},{&g_2882},{&g_2882},{&g_2882},{&g_2882}},{{&g_2882},{(void*)0},{&g_2882},{&g_2882},{&g_2882},{&g_2882},{(void*)0},{&g_2882}}};
int i, j, k;
--l_3674;
for (g_525 = 0; (g_525 < 3); g_525 = safe_add_func_uint8_t_u_u(g_525, 5))
{ /* block id: 1644 */
uint32_t l_3681 = 4294967295UL;
int32_t ****l_3689 = &l_3688;
int32_t l_3694 = (-3L);
if (((*l_3236) = (safe_mod_func_uint8_t_u_u(((((*g_2147) |= (l_3671[4] = l_3681)) != ((safe_mod_func_int32_t_s_s(((((safe_add_func_uint8_t_u_u((*l_3666), ((****g_2679)--))) <= (((*l_3689) = l_3688) == (l_2978 = &g_1301))) , (l_3674 , ((l_3681 , 254UL) || (((safe_add_func_int8_t_s_s((safe_div_func_int8_t_s_s((l_3694 ^= ((***g_441) = 0xD7L)), (safe_mul_func_int16_t_s_s(((*g_1265) == l_3673[0]), 6UL)))), l_3697)) ^ (*l_3667)) != (*p_7))))) != l_3698), (*p_7))) || l_3673[0])) <= (**g_763)), (*l_3236)))))
{ /* block id: 1653 */
int16_t l_3701 = 0L;
int32_t l_3709 = (-9L);
int32_t l_3735 = 0xAB506112L;
uint32_t ***l_3751 = &g_1267;
int16_t l_3783 = 0xE463L;
if ((l_3671[0] , ((safe_mul_func_int8_t_s_s(((l_3701 | ((((*g_1265) == (safe_sub_func_uint16_t_u_u((safe_sub_func_int16_t_s_s((((**g_82) = ((void*)0 == &g_2680[1][0][1])) != (++l_3706)), ((*g_115) = (l_3709 , ((safe_unary_minus_func_uint64_t_u((safe_mul_func_int8_t_s_s(((*g_443) ^= (*l_3236)), ((safe_lshift_func_uint16_t_u_u(((safe_mul_func_uint16_t_u_u(((**g_1115) |= (((*l_3668) = l_3717) , (**g_385))), 0xE2BEL)) || l_3670), (**g_385))) <= 0xE07B1E995CF3A899LL))))) || (*g_1878)))))), (*l_3666)))) && l_3709) ^ l_3681)) , 1L), l_3670)) ^ l_3694)))
{ /* block id: 1660 */
uint64_t l_3736 = 18446744073709551610UL;
int64_t l_3756 = (-1L);
(*l_3668) &= (l_3681 || (+(l_3701 , (safe_mod_func_uint32_t_u_u(0xE8CCBE75L, (safe_mul_func_int8_t_s_s((safe_mul_func_int8_t_s_s((safe_mod_func_int8_t_s_s((safe_sub_func_uint64_t_u_u((((**g_763) = 0x7716A30B39CD20F5LL) || ((*l_3236) , (l_3729 , (((l_3709 & ((((safe_mod_func_uint64_t_u_u(g_3732, l_3670)) , l_3674) , l_3698) || (*l_3667))) & (*l_3236)) && 0xC513L)))), 0x3A9CB48230732D07LL)), (*l_3236))), (*g_454))), l_3733)))))));
++l_3736;
l_3759[2] = (safe_sub_func_int16_t_s_s(((safe_rshift_func_uint16_t_u_u((l_3743[1] != (((safe_unary_minus_func_int8_t_s(((((safe_sub_func_int32_t_s_s(((((((l_3736 < (((safe_mod_func_uint64_t_u_u(0UL, ((18446744073709551614UL == (((((****l_3757) = ((safe_mul_func_int8_t_s_s(((*g_2888) == l_3751), (((((*g_1265) = ((safe_lshift_func_uint16_t_u_s((safe_sub_func_uint16_t_u_u((((((l_3681 < l_3756) >= (&g_2882 == l_3757)) <= l_3756) || 18446744073709551607UL) , 0xDF15L), (**g_1115))), (*g_505))) , 0x2504L)) ^ l_3756) <= (**g_198)) >= (**g_198)))) , (*g_1878))) <= (*p_7)) != (*l_3667)) | l_3756)) && 0x86L))) ^ l_3701) || l_3681)) >= l_3756) , (*g_3512)) != (*p_8)) & 0xDAB5L) <= (**g_1115)), (*g_3512))) >= l_3735) < l_3701) & 0L))) != g_80[3]) , (void*)0)), 1)) , l_3701), l_3701));
}
else
{ /* block id: 1667 */
uint8_t l_3764 = 1UL;
uint32_t **l_3778[9][9] = {{&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268},{&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268},{&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268},{&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268},{&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268},{&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268},{&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268},{&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268},{&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268,&g_1268}};
uint32_t ***l_3779 = (void*)0;
int i, j;
(**g_1077) = p_8;
(*g_1078) = l_3667;
(*l_3667) = ((*l_3668) = (safe_rshift_func_uint16_t_u_u((safe_rshift_func_uint16_t_u_u((((****l_3757) = ((l_3764 || (((((safe_rshift_func_int16_t_s_u((~((****g_2679) = (l_3681 == (safe_lshift_func_uint16_t_u_u((safe_add_func_int64_t_s_s(((l_3709 ^= (l_3694 = ((l_3764 || 18446744073709551608UL) , ((***g_441) = (safe_rshift_func_uint8_t_u_u((safe_lshift_func_uint16_t_u_u(((**g_3511) == (safe_mul_func_int16_t_s_s(((*l_3236) &= 0x80D1L), (((*l_3751) = (*l_3751)) == (l_3780 = l_3778[6][2]))))), 4)), ((safe_sub_func_int8_t_s_s(0x2DL, l_3735)) & 0x16L))))))) || (****g_2679)), 18446744073709551614UL)), (****g_383)))))), 6)) == (*g_2147)) != l_3764) , (***g_441)) <= l_3733)) < l_3764)) | l_3783), (**g_385))), l_3735)));
}
}
else
{ /* block id: 1681 */
for (g_140 = 0; (g_140 != 36); g_140 = safe_add_func_uint16_t_u_u(g_140, 3))
{ /* block id: 1684 */
int8_t l_3786 = (-10L);
(*l_3665) = 0x1E3577CEL;
if (l_3786)
continue;
}
}
return p_7;
}
if ((safe_mul_func_int8_t_s_s((**g_442), ((*l_2515) = (safe_add_func_uint32_t_u_u((((((l_3671[0] &= (safe_add_func_int8_t_s_s(0xF9L, (*l_3236)))) , (l_3793 != (void*)0)) & ((safe_sub_func_int64_t_s_s(((safe_rshift_func_uint16_t_u_s(l_3717, ((safe_div_func_uint64_t_u_u((((((safe_lshift_func_uint16_t_u_s((--(**g_385)), (((((l_3804 || (*l_3236)) , ((**g_763) = (((*g_83) = ((safe_sub_func_int32_t_s_s((*p_7), (*p_7))) < 0x26L)) ^ (**g_763)))) , (*l_3236)) , (-1L)) | (*g_2147)))) || l_3706) <= l_3807) && 5UL) != l_3808), (*l_3236))) > (*l_3236)))) & l_3673[0]), (*l_3665))) , 3UL)) <= l_3673[0]) , 0UL), (*p_7)))))))
{ /* block id: 1696 */
struct S0 l_3822 = {8,-48};
int32_t ****l_3834 = &l_2978;
for (g_464 = 0; (g_464 <= 1); g_464 += 1)
{ /* block id: 1699 */
int32_t l_3809 = (-9L);
int32_t l_3844[1];
int16_t l_3845 = 0xC332L;
int i;
for (i = 0; i < 1; i++)
l_3844[i] = 4L;
if (l_3809)
break;
if (((safe_mul_func_uint16_t_u_u((***g_384), (4L != ((safe_mul_func_int8_t_s_s((safe_mod_func_int64_t_s_s((safe_sub_func_uint16_t_u_u((safe_mul_func_int16_t_s_s((safe_mul_func_uint8_t_u_u(0x83L, (((l_3733 , l_3822) , ((safe_add_func_uint32_t_u_u((((*p_8) | ((**g_1877) = (safe_add_func_uint32_t_u_u((~((l_3671[0] = (--(**g_1115))) , l_3830)), (safe_sub_func_int64_t_s_s(((**g_763) = ((l_3809 <= (((0x5CL || l_3822.f0) & l_3822.f0) >= (*p_8))) ^ 1UL)), 8UL)))))) <= (*p_7)), (*l_3667))) , l_3833[5][0])) == l_3834))), (*l_3236))), (****g_383))), 18446744073709551611UL)), 1L)) , l_3835)))) ^ l_3822.f1))
{ /* block id: 1705 */
uint64_t l_3837 = 0xFE889363B59CE03FLL;
l_3837++;
}
else
{ /* block id: 1707 */
(*l_3666) &= (safe_rshift_func_int8_t_s_u(1L, g_3842));
}
for (l_3653 = 0; (l_3653 <= 1); l_3653 += 1)
{ /* block id: 1712 */
int32_t l_3843 = 0x0DE79220L;
(*l_3667) = l_3843;
}
for (g_20 = 0; (g_20 <= 2); g_20 += 1)
{ /* block id: 1717 */
uint32_t l_3846 = 9UL;
int32_t l_3849 = (-10L);
int32_t l_3850[9] = {(-4L),(-4L),(-4L),(-4L),(-4L),(-4L),(-4L),(-4L),(-4L)};
uint32_t l_3851 = 0x093269F8L;
int i, j, k;
l_3846++;
l_3851++;
(****l_2869) = (**g_956);
}
for (g_1111 = 0; (g_1111 <= 1); g_1111 += 1)
{ /* block id: 1724 */
(**g_1077) = p_7;
g_3854--;
}
}
for (g_1440 = 0; (g_1440 != 32); g_1440 = safe_add_func_int32_t_s_s(g_1440, 4))
{ /* block id: 1731 */
const uint32_t *l_3869[8] = {(void*)0,&g_852[2][3][2],&g_852[2][3][2],(void*)0,&g_852[2][3][2],&g_852[2][3][2],(void*)0,&g_852[2][3][2]};
const uint32_t * const *l_3868 = &l_3869[3];
const uint32_t * const **l_3867 = &l_3868;
const uint32_t * const ***l_3866 = &l_3867;
const uint32_t * const ****l_3865[9] = {&l_3866,&l_3866,&l_3866,&l_3866,&l_3866,&l_3866,&l_3866,&l_3866,&l_3866};
int i;
for (g_20 = 0; (g_20 != 50); g_20 = safe_add_func_int16_t_s_s(g_20, 2))
{ /* block id: 1734 */
int8_t l_3861[6] = {(-8L),(-8L),(-8L),(-8L),(-8L),(-8L)};
int i;
if (l_3861[1])
break;
if ((*p_8))
break;
(*g_3863) = l_3862;
}
l_3870[3][0][0] = (void*)0;
}
if ((*p_8))
continue;
}
else
{ /* block id: 1742 */
return p_8;
}
if ((*p_8))
break;
}
}
return l_3871;
}
/* ------------------------------------------ */
/*
* reads : g_414 g_103 g_894 g_129 g_1265 g_956 g_957 g_183 g_2099 g_1561 g_333 g_308 g_1499 g_1500 g_1307 g_1308 g_1309 g_1310 g_1311 g_41 g_384 g_385 g_115 g_116 g_78 g_83 g_80 g_198 g_1077 g_1078 g_955 g_306 g_1877 g_1878 g_764 g_176 g_2406 g_441 g_442 g_443 g_2407 g_1555 g_505 g_506 g_454 g_236 g_2427 g_892 g_1648
* writes: g_414 g_103 g_308 g_183 g_236 g_1648 g_838 g_1111 g_1502 g_251 g_1561 g_333 g_41 g_78 g_80 g_957 g_110 g_306 g_129 g_50 g_2405
*/
int32_t * func_10(int32_t p_11, int32_t p_12, uint64_t p_13, uint16_t p_14, int32_t * p_15)
{ /* block id: 1016 */
uint16_t l_2089[3];
int32_t ****l_2097 = &g_1077;
struct S0 l_2110[10] = {{-5,57},{30,70},{-5,57},{30,70},{-5,57},{30,70},{-5,57},{30,70},{-5,57},{30,70}};
uint64_t ***l_2114 = &g_198;
uint64_t ****l_2113[10] = {&l_2114,&l_2114,&l_2114,&l_2114,&l_2114,&l_2114,&l_2114,&l_2114,&l_2114,&l_2114};
int16_t l_2227 = 0xB188L;
uint8_t **l_2277 = &g_1455[2];
uint8_t **l_2281 = (void*)0;
uint16_t l_2304 = 0x097CL;
int32_t l_2324 = 0x68A24FF5L;
int32_t l_2325 = 0x2E99EF1EL;
int32_t l_2327 = 0xFC4A16E5L;
int32_t l_2328[10][7] = {{0xD0CAD2E0L,0xF154C95AL,0xD0CAD2E0L,0xAC979068L,4L,0L,0xAC979068L},{(-10L),0xF154C95AL,7L,(-1L),4L,0x7FA4B9E4L,0L},{(-6L),0xEACCFD25L,0xB1907455L,0L,0x86CEBE17L,0x86CEBE17L,0L},{0xB1907455L,0L,0xB1907455L,0x7FA4B9E4L,0L,0x86CEBE17L,0x7FA4B9E4L},{(-6L),0L,0xB28C85CDL,0L,0L,0xF154C95AL,0L},{(-6L),0xEACCFD25L,0xB1907455L,0L,0x86CEBE17L,0x86CEBE17L,0L},{0xB1907455L,0L,0xB1907455L,0x7FA4B9E4L,0L,0x86CEBE17L,0x7FA4B9E4L},{(-6L),0L,0xB28C85CDL,0L,0L,0xF154C95AL,0L},{(-6L),0xEACCFD25L,0xB1907455L,0L,0x86CEBE17L,0x86CEBE17L,0L},{0xB1907455L,0L,0xB1907455L,0x7FA4B9E4L,0L,0x86CEBE17L,0x7FA4B9E4L}};
int64_t l_2332 = 0x39EE20A839088731LL;
int8_t l_2334 = 0L;
uint8_t ***l_2354 = (void*)0;
uint32_t *l_2362 = (void*)0;
int8_t l_2367 = (-1L);
uint32_t ***l_2373 = &g_1267;
int8_t * const ***l_2425 = (void*)0;
int32_t *l_2426 = (void*)0;
int i, j;
for (i = 0; i < 3; i++)
l_2089[i] = 6UL;
(*p_15) = (safe_mod_func_int64_t_s_s(l_2089[2], l_2089[0]));
for (g_414 = (-29); (g_414 < 55); g_414++)
{ /* block id: 1020 */
return &g_139;
}
for (g_103 = 0; (g_103 < 11); g_103++)
{ /* block id: 1025 */
uint32_t l_2096 = 1UL;
int32_t ****l_2098 = (void*)0;
struct S0 l_2100 = {-50,-25};
uint8_t l_2151 = 0xA1L;
int64_t l_2221 = 0x2C3C08DEFFF05C48LL;
uint32_t l_2228[1];
uint8_t **l_2279 = &g_1455[4];
int i;
for (i = 0; i < 1; i++)
l_2228[i] = 18446744073709551615UL;
(*g_2099) = (((((safe_lshift_func_uint8_t_u_s(p_11, 0)) & ((*g_1265) = ((((((l_2096 , l_2097) != l_2098) , l_2096) > (*p_15)) || (p_14 | (((*g_894) ^ p_11) >= (-10L)))) > p_11))) && 0x669AB11AL) , 0xC5L) , (**g_956));
for (g_236 = 0; (g_236 <= 3); g_236 += 1)
{ /* block id: 1030 */
int32_t l_2109 = 0x978A2B56L;
int32_t l_2115 = 1L;
struct S0 l_2169 = {57,-58};
const uint32_t *l_2185 = &g_852[8][0][1];
int64_t l_2226 = 0x0953AB71089582FBLL;
for (g_1648 = 1; (g_1648 <= 5); g_1648 += 1)
{ /* block id: 1033 */
uint16_t ***l_2148 = &g_385;
int32_t *l_2152[3];
struct S0 *l_2222 = &l_2110[6];
uint8_t *l_2242 = &g_691;
int32_t l_2276 = 0xADBA3DF1L;
int i;
for (i = 0; i < 3; i++)
l_2152[i] = &l_2115;
}
for (g_838 = 0; (g_838 <= 3); g_838 += 1)
{ /* block id: 1090 */
uint8_t ***l_2278 = &l_2277;
uint8_t ***l_2280[3][2];
int8_t *l_2282 = (void*)0;
uint32_t **l_2283 = (void*)0;
int i, j;
for (i = 0; i < 3; i++)
{
for (j = 0; j < 2; j++)
l_2280[i][j] = (void*)0;
}
(*p_15) = ((((((*l_2278) = l_2277) == (l_2281 = l_2279)) | (l_2282 != (void*)0)) ^ ((l_2283 = (void*)0) == (void*)0)) ^ p_12);
}
for (g_1111 = 0; (g_1111 <= 3); g_1111 += 1)
{ /* block id: 1098 */
int32_t * const l_2284[10] = {(void*)0,(void*)0,&l_2109,(void*)0,(void*)0,&l_2109,(void*)0,(void*)0,&l_2109,(void*)0};
int32_t **l_2286 = &g_251[0];
int i;
for (p_12 = 0; p_12 < 3; p_12 += 1)
{
g_1502[p_12] = &g_20;
}
(*l_2286) = l_2284[1];
}
}
}
for (g_1561 = 0; (g_1561 <= 5); g_1561 += 1)
{ /* block id: 1106 */
int8_t l_2300 = 4L;
uint64_t ***l_2301 = &g_82;
int32_t l_2323[4] = {(-8L),(-8L),(-8L),(-8L)};
int64_t *l_2340 = &g_50;
int8_t l_2344[10][10][2] = {{{0x2EL,0x2EL},{6L,(-3L)},{0x16L,(-4L)},{0x28L,0x03L},{0x19L,0x28L},{0L,(-6L)},{0L,0x28L},{0x19L,0x03L},{0x28L,(-4L)},{0x16L,(-3L)}},{{6L,0x2EL},{0x2EL,0x19L},{(-2L),0x19L},{0x2EL,0x2EL},{6L,(-3L)},{0x16L,(-4L)},{0x28L,0x03L},{0x19L,0x28L},{0L,(-6L)},{0L,0x28L}},{{0x19L,0x03L},{0x28L,(-4L)},{0x16L,(-3L)},{6L,0x2EL},{0x2EL,0x19L},{(-2L),0x19L},{0x2EL,0x2EL},{6L,(-3L)},{0x16L,(-4L)},{0x28L,0x03L}},{{0x19L,0x28L},{0L,(-6L)},{0L,0x28L},{0x19L,0x03L},{0x28L,(-4L)},{0x16L,(-3L)},{6L,0x2EL},{0x2EL,0x19L},{(-2L),0x19L},{0x2EL,0x2EL}},{{6L,(-3L)},{0x16L,(-4L)},{0x28L,0x03L},{0x19L,0x28L},{0L,(-6L)},{0L,0x28L},{0x19L,0x03L},{0x28L,(-4L)},{0x16L,(-3L)},{6L,0x2EL}},{{0x2EL,0x19L},{(-2L),0x19L},{0x2EL,0x2EL},{6L,(-3L)},{0x16L,(-4L)},{0x28L,0x03L},{0x19L,0x28L},{0L,(-6L)},{0L,0x28L},{0x19L,0x03L}},{{6L,0x19L},{0L,0x03L},{(-3L),(-6L)},{(-6L),(-2L)},{0x2EL,(-2L)},{(-6L),(-6L)},{(-3L),0x03L},{0L,0x19L},{6L,(-2L)},{(-2L),6L}},{{(-4L),0x28L},{(-4L),6L},{(-2L),(-2L)},{6L,0x19L},{0L,0x03L},{(-3L),(-6L)},{(-6L),(-2L)},{0x2EL,(-2L)},{(-6L),(-6L)},{(-3L),0x03L}},{{0L,0x19L},{6L,(-2L)},{(-2L),6L},{(-4L),0x28L},{(-4L),6L},{(-2L),(-2L)},{6L,0x19L},{0L,0x03L},{(-3L),(-6L)},{(-6L),(-2L)}},{{0x2EL,(-2L)},{(-6L),(-6L)},{(-3L),0x03L},{0L,0x19L},{6L,(-2L)},{(-2L),6L},{(-4L),0x28L},{(-4L),6L},{(-2L),(-2L)},{6L,0x19L}}};
int8_t **l_2349 = &g_1912;
int8_t *** const l_2348[8] = {&l_2349,&l_2349,&l_2349,&l_2349,&l_2349,&l_2349,&l_2349,&l_2349};
uint8_t ***l_2353 = &g_1454[0];
int i, j, k;
for (g_333 = 0; (g_333 <= 9); g_333 += 1)
{ /* block id: 1109 */
int32_t l_2291[8] = {0x8AFB4C1EL,0x8AFB4C1EL,0xACDAD3D0L,0x8AFB4C1EL,0x8AFB4C1EL,0xACDAD3D0L,0x8AFB4C1EL,0x8AFB4C1EL};
int8_t ** const **l_2302 = &g_1910[7];
int32_t l_2303 = 0x715723F6L;
int32_t l_2305 = (-1L);
int32_t l_2306 = 0x484DC7A5L;
int32_t *l_2307 = &g_41;
int32_t *l_2308 = &g_78[7];
int32_t l_2326 = 0L;
int32_t l_2329 = 0xD26AA9DEL;
int32_t l_2330 = 0x7EDE53FBL;
int32_t l_2331 = 0x504F0473L;
int32_t l_2333 = (-2L);
int32_t l_2335 = 2L;
int32_t l_2336 = (-5L);
uint8_t l_2337 = 8UL;
uint32_t l_2386 = 0UL;
int i;
if ((((*g_1265) & (safe_mod_func_uint8_t_u_u((((**g_198) = (((((*l_2308) ^= ((((*l_2307) |= (safe_sub_func_int32_t_s_s((l_2291[1] & (safe_lshift_func_int16_t_s_s((l_2306 = (l_2305 = (safe_rshift_func_int16_t_s_u(((safe_rshift_func_uint8_t_u_s(((((((safe_lshift_func_int8_t_s_u((((65535UL && (-10L)) < (l_2291[1] < ((((l_2300 , l_2301) != (((void*)0 == l_2302) , (*g_1499))) || p_14) > (-10L)))) , p_13), l_2303)) | l_2303) ^ (****g_1307)) <= 0UL) & 4L) > (-1L)), l_2304)) < 0x782F1B8F29F48E66LL), 9)))), p_14))), (*p_15)))) <= p_11) < (***g_384))) , (*p_15)) , (*g_83)) > p_14)) < 0xCF1BE31940CBDD99LL), 7L))) && p_13))
{ /* block id: 1115 */
int32_t *l_2309 = &g_1460;
int32_t *l_2310 = &g_1460;
int32_t *l_2311 = &g_139;
int32_t *l_2312 = &l_2306;
int32_t *l_2313 = &g_103;
int32_t *l_2314 = &g_103;
int32_t *l_2315 = &g_41;
int32_t *l_2316 = &g_1460;
int32_t *l_2317 = &g_103;
int32_t *l_2318 = (void*)0;
int32_t *l_2319 = &g_1460;
int32_t *l_2320 = &g_41;
int32_t *l_2321 = (void*)0;
int32_t *l_2322[7][1][8] = {{{&g_1460,(void*)0,&g_1460,&g_139,&g_139,&g_1460,(void*)0,&g_1460}},{{&g_139,&g_139,(void*)0,&g_139,&g_139,&g_139,&g_139,(void*)0}},{{&g_139,&g_139,&g_139,(void*)0,&g_139,&g_139,&g_139,&g_139}},{{&g_1460,&g_139,&g_139,&g_1460,(void*)0,&g_1460,&g_139,&g_139}},{{&g_139,(void*)0,(void*)0,(void*)0,(void*)0,&g_139,(void*)0,(void*)0}},{{&g_1460,(void*)0,&g_1460,&g_139,&g_139,&g_1460,(void*)0,&g_1460}},{{&g_139,&g_139,(void*)0,&g_139,&g_139,&g_139,&g_139,(void*)0}}};
int i, j, k;
(**g_1077) = &p_12;
++l_2337;
(*g_956) = (**g_955);
(*l_2313) |= (l_2340 != (void*)0);
}
else
{ /* block id: 1120 */
int16_t *l_2350 = &g_306;
uint64_t **l_2351 = &g_1555;
uint64_t **l_2352 = &g_894;
int i;
(*l_2307) ^= (0xC1A1L == (((((l_2308 = &l_2291[1]) != (void*)0) > ((***l_2114) = (safe_sub_func_uint32_t_u_u(p_12, (g_110[g_1561] = (safe_unary_minus_func_int8_t_s(l_2344[7][0][0]))))))) >= ((*l_2350) |= ((*g_1265) = (((p_11 , &p_15) != (((~(((((safe_mod_func_uint32_t_u_u(((void*)0 != l_2348[1]), (*p_15))) , 0x1033L) | p_14) || p_14) & p_14)) & 0xD080DA97F86ED278LL) , (void*)0)) & p_12)))) != 0xE867L));
l_2352 = l_2351;
(*l_2307) |= (l_2353 != l_2354);
}
for (g_414 = 0; (g_414 <= 9); g_414 += 1)
{ /* block id: 1132 */
int32_t l_2361 = 0xE2F1CB03L;
int32_t **l_2363 = (void*)0;
int32_t **l_2364 = &g_251[0];
int32_t **l_2365 = &g_251[0];
int32_t **l_2366 = &l_2307;
const uint32_t *l_2376 = (void*)0;
const uint32_t **l_2375 = &l_2376;
const uint32_t ***l_2374 = &l_2375;
const uint32_t ****l_2377 = &l_2374;
uint32_t **l_2389[3][10][2] = {{{(void*)0,&g_1878},{&l_2362,&g_1878},{(void*)0,&l_2362},{&l_2362,&l_2362},{(void*)0,&g_1878},{&l_2362,&g_1878},{(void*)0,&l_2362},{&l_2362,&l_2362},{(void*)0,&g_1878},{&l_2362,&g_1878}},{{(void*)0,&l_2362},{&l_2362,&l_2362},{(void*)0,&g_1878},{&l_2362,&g_1878},{(void*)0,&l_2362},{&l_2362,&l_2362},{(void*)0,&g_1878},{&l_2362,&g_1878},{(void*)0,&l_2362},{&l_2362,&l_2362}},{{(void*)0,&g_1878},{&l_2362,&g_1878},{(void*)0,&l_2362},{&l_2362,&l_2362},{(void*)0,&g_1878},{&l_2362,&g_1878},{(void*)0,&l_2362},{&l_2362,&l_2362},{(void*)0,&g_1878},{&l_2362,&g_1878}}};
int i, j, k;
(*p_15) = ((1L < ((safe_sub_func_int16_t_s_s((safe_lshift_func_uint8_t_u_u((safe_sub_func_int32_t_s_s((((l_2361 < (&p_12 == ((l_2362 == l_2308) , ((*l_2366) = &l_2329)))) < l_2367) & l_2306), ((**g_1877) = (((((*g_894) = (!((safe_mul_func_int16_t_s_s((safe_rshift_func_int16_t_s_s(0x5DD3L, l_2344[8][2][1])), 0L)) ^ p_14))) != (-1L)) , (*g_1077)) == (void*)0)))), 0)), 0x776AL)) , (*p_15))) != 0L);
if ((l_2373 == ((*l_2377) = l_2374)))
{ /* block id: 1138 */
if (l_2323[1])
break;
}
else
{ /* block id: 1140 */
int16_t *l_2390 = &g_306;
const struct S0 * const *l_2404 = &g_957;
const struct S0 * const **l_2403 = &l_2404;
const struct S0 * const ***l_2402 = &l_2403;
const struct S0 * const ****l_2401 = &l_2402;
uint64_t l_2416 = 8UL;
(*l_2307) &= (p_12 == (((safe_rshift_func_int8_t_s_u((!(((*l_2390) ^= ((*g_1265) = (+(safe_sub_func_uint16_t_u_u(p_13, (safe_add_func_int32_t_s_s((*p_15), ((++l_2386) >= (&l_2362 != l_2389[2][7][0]))))))))) && ((safe_mul_func_uint16_t_u_u((((***g_441) = ((safe_sub_func_int16_t_s_s((safe_rshift_func_uint16_t_u_s((safe_mod_func_uint32_t_u_u(((*g_764) != ((safe_lshift_func_uint8_t_u_s((((((*l_2340) = l_2344[7][0][0]) | ((g_2405 = l_2401) != (void*)0)) != p_14) , p_14), 3)) , g_2406)), (*p_15))), (*g_1265))), l_2344[9][3][0])) ^ p_12)) == (-6L)), p_13)) , (**g_385)))), 0)) && g_2407) && (*g_1555)));
(*p_15) = ((**l_2366) = 1L);
if ((*p_15))
continue;
l_2331 |= (((safe_rshift_func_int16_t_s_s((safe_mul_func_uint8_t_u_u((((((*p_15) & 0UL) | (((safe_sub_func_uint64_t_u_u((1L && (l_2416 , ((safe_div_func_int8_t_s_s(p_11, 0x83L)) < (((safe_sub_func_int32_t_s_s(((*l_2307) = (safe_add_func_int16_t_s_s((*g_505), (safe_sub_func_int64_t_s_s(((void*)0 != l_2425), 18446744073709551615UL))))), p_11)) && (-2L)) & 255UL)))), p_11)) != (*g_1555)) > (*g_454))) , 0x237AL) , p_11), p_12)), l_2344[5][3][1])) & (*p_15)) != l_2300);
}
}
}
return l_2426;
}
return g_2427[4][1][0];
}
/* ------------------------------------------ */
/*
* reads : g_414 g_110 g_383 g_384 g_385 g_115 g_116 g_441 g_442 g_443 g_236 g_183.f1 g_27 g_80 g_953 g_956 g_957 g_183 g_3 g_140 g_41 g_852 g_894 g_103 g_992 g_78 g_129 g_198 g_83
* writes: g_236 g_27 g_116 g_464 g_892 g_251 g_140 g_41 g_129 g_139 g_200 g_50 g_80 g_308 g_838 g_103
*/
uint32_t func_31(uint16_t * p_32, uint64_t * p_33, uint32_t p_34, uint16_t * p_35)
{ /* block id: 389 */
uint32_t l_911 = 0x38E536E7L;
int32_t l_914 = 3L;
int32_t l_946 = 1L;
int32_t l_948 = 0x111C232FL;
uint32_t l_960 = 0xB8EEF0ADL;
int32_t *l_962 = &l_946;
uint8_t l_1014 = 1UL;
int32_t *l_1022 = &g_103;
int8_t **l_1031 = &g_454;
int8_t ***l_1043 = &l_1031;
int8_t ****l_1042 = &l_1043;
struct S0 l_1193 = {34,18};
int8_t l_1319 = 0xA7L;
uint32_t * const **l_1336 = (void*)0;
struct S0 *l_1391 = &g_893;
int32_t **l_1402[4][8] = {{&g_1298[2][2][8],&g_1298[2][2][8],&g_1298[2][3][7],&g_1298[2][3][4],&g_1298[2][3][7],&g_1298[2][2][8],&g_1298[2][2][8],&g_1298[2][3][7]},{&g_1298[1][2][0],&g_1298[2][3][7],&g_1298[2][3][7],&g_1298[1][2][0],&g_1298[2][2][7],&g_1298[1][2][0],&g_1298[2][3][7],&g_1298[2][3][7]},{&g_1298[2][3][7],&g_1298[2][2][7],&g_1298[2][3][4],&g_1298[2][3][4],&g_1298[2][2][7],&g_1298[2][3][7],&g_1298[2][2][7],&g_1298[2][3][4]},{&g_1298[1][2][0],&g_1298[2][2][7],&g_1298[1][2][0],&g_1298[2][3][7],&g_1298[2][3][7],&g_1298[1][2][0],&g_1298[2][2][7],&g_1298[1][2][0]}};
int32_t l_1424 = 7L;
int32_t ****l_1432 = &g_1077;
uint64_t * const *l_1435 = &g_894;
int64_t *l_1446 = &g_200;
int64_t **l_1445 = &l_1446;
int32_t l_1548 = (-2L);
uint32_t l_1579 = 0x46F6BC59L;
int32_t l_1594 = 0x374A4F99L;
struct S0 l_1813 = {-49,-11};
uint16_t ***l_1856 = &g_1115;
uint32_t *l_1875 = &l_960;
uint32_t ** const l_1874[7] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
uint16_t l_1916 = 0xCB73L;
int64_t l_1917 = 0xB89917DD74B6A6CDLL;
int8_t l_1938 = 0xB3L;
int32_t l_1954 = 0xDEBCDB17L;
int32_t l_1955[7] = {0xE1F7C410L,0xE1F7C410L,0xE1F7C410L,0xE1F7C410L,0xE1F7C410L,0xE1F7C410L,0xE1F7C410L};
int16_t l_2014 = 0xF0F5L;
int32_t l_2078 = 0L;
int16_t l_2080 = (-6L);
int i, j;
if ((safe_rshift_func_int16_t_s_s(((((*p_35) > (safe_lshift_func_int16_t_s_u(g_110[0], 3))) > (****g_383)) , ((safe_sub_func_int8_t_s_s(((safe_rshift_func_uint8_t_u_s((((void*)0 != p_33) > ((***g_441) |= 0x76L)), 4)) <= p_34), (((l_914 = ((l_911 = 0xDBL) && ((safe_rshift_func_uint8_t_u_s(g_183.f1, 2)) , l_911))) , (void*)0) != (void*)0))) && 0xC31A2FCDDD6752DDLL)), 12)))
{ /* block id: 393 */
uint8_t l_919 = 1UL;
uint8_t *l_930[2][6][5] = {{{&l_919,(void*)0,&l_919,&g_333,&g_525},{&g_525,&g_525,&g_333,&g_525,&g_525},{&l_919,&l_919,&l_919,&g_691,&l_919},{&l_919,&l_919,&g_333,&g_525,&g_691},{&l_919,(void*)0,&l_919,&l_919,&l_919},{&g_525,&g_525,&g_691,&g_691,&g_525}},{{&l_919,(void*)0,&g_691,(void*)0,&g_525},{&g_691,&l_919,&g_691,&g_691,&g_333},{&g_525,&l_919,&g_525,&l_919,&g_525},{&g_691,&g_525,&l_919,&g_525,&l_919},{&l_919,(void*)0,&g_525,&g_691,&l_919},{&g_525,&g_691,&g_691,&g_525,&l_919}}};
int32_t l_931 = (-10L);
int32_t l_945 = 0x3689E427L;
int32_t l_947 = 0xC42A4BD7L;
struct S0 l_952 = {75,-31};
uint16_t ****l_976 = (void*)0;
uint32_t *l_1065 = &g_156;
uint32_t **l_1064 = &l_1065;
int32_t **l_1075 = &g_251[0];
int32_t ***l_1074 = &l_1075;
const int16_t *l_1107 = &g_1108;
uint16_t l_1142 = 4UL;
int32_t l_1202 = 0L;
uint32_t l_1317 = 4294967295UL;
int32_t ** const l_1401 = &g_1298[0][3][7];
uint16_t ** const l_1421 = (void*)0;
uint64_t * const l_1439 = &g_1440;
uint64_t * const *l_1438 = &l_1439;
uint8_t **l_1442 = (void*)0;
const struct S0 **l_1447 = &g_957;
int8_t **l_1461[1][2];
int i, j, k;
for (i = 0; i < 1; i++)
{
for (j = 0; j < 2; j++)
l_1461[i][j] = &g_454;
}
l_914 &= ((((safe_rshift_func_int8_t_s_u(((safe_rshift_func_uint8_t_u_s(l_919, 0)) , (0x5E3E7219L == (safe_sub_func_int32_t_s_s(((safe_sub_func_int16_t_s_s((6L >= 4294967292UL), (safe_sub_func_int32_t_s_s((p_34 & ((l_911 & (safe_sub_func_uint8_t_u_u((l_931 ^= l_919), (safe_rshift_func_int16_t_s_u(p_34, 1))))) != ((-1L) && 0UL))), 1UL)))) <= (***g_384)), l_919)))), 4)) , l_931) , 0xC906C43DEF318FC1LL) >= (-1L));
if (p_34)
goto lbl_963;
lbl_963:
for (l_931 = 0; (l_931 != (-6)); l_931--)
{ /* block id: 398 */
uint32_t l_949 = 0xA65B04CFL;
int32_t **l_961 = &g_251[0];
if (l_931)
{ /* block id: 399 */
int32_t *l_936 = (void*)0;
int32_t *l_937 = &l_914;
int32_t *l_938 = &g_41;
int32_t *l_939 = &g_103;
int32_t *l_940 = &l_914;
int32_t *l_941 = &g_41;
int32_t l_942 = 6L;
int32_t *l_943 = &l_942;
int32_t *l_944[6] = {&g_41,(void*)0,&g_41,&g_41,(void*)0,&g_41};
int i;
++l_949;
for (g_27 = 0; (g_27 <= 3); g_27 += 1)
{ /* block id: 403 */
int i;
return g_80[g_27];
}
l_952 = func_44(l_914);
if ((((void*)0 == g_953) > 1L))
{ /* block id: 407 */
g_892 = (**g_956);
}
else
{ /* block id: 409 */
if (l_949)
break;
return p_34;
}
}
else
{ /* block id: 413 */
return g_3;
}
if (l_960)
continue;
if (p_34)
break;
l_962 = (l_914 , ((*l_961) = &g_103));
}
for (g_140 = 0; (g_140 <= 2); g_140 += 1)
{ /* block id: 424 */
int32_t l_993 = 0L;
struct S0 *l_996 = &g_893;
int32_t l_1016 = 0x0C6C457CL;
int8_t **l_1030 = (void*)0;
int8_t ***l_1029 = &l_1030;
int8_t l_1090 = 0x76L;
int32_t l_1148 = 0x66A175F1L;
uint32_t l_1167 = 4UL;
int32_t l_1203[4][6][9] = {{{0x0F1F7263L,1L,0x44C2397AL,0x478A3E16L,0x8EF85DBFL,(-8L),8L,0xD534021EL,4L},{(-1L),9L,0x34184B90L,0x3C83E0CFL,1L,5L,0x6C2AB9DEL,(-7L),0x71815D77L},{0xF5497D3BL,9L,0L,0x0F1F7263L,0L,0L,0x0F1F7263L,0L,9L},{9L,0x71815D77L,(-7L),0x6C2AB9DEL,5L,1L,0x3C83E0CFL,0x34184B90L,9L},{0xE38E910DL,4L,0xD534021EL,8L,(-8L),0x8EF85DBFL,0x478A3E16L,0x44C2397AL,1L},{1L,0x71815D77L,(-1L),5L,0xE1A4AF8FL,1L,1L,0xE1A4AF8FL,5L}},{{0L,9L,0L,(-8L),0L,0xF5497D3BL,0L,0x4ADB0A08L,4L},{0x0CD82F86L,0x1739C889L,2L,0x34184B90L,0x644F734BL,(-2L),1L,0x71815D77L,(-1L)},{0L,0x8EF85DBFL,0L,(-8L),0x0F1F7263L,0x28E925D8L,0x8AAB2319L,0x8AAB2319L,0x28E925D8L},{1L,2L,0x3C83E0CFL,2L,1L,5L,(-1L),0x7DAB3499L,(-1L)},{0xD380D315L,4L,0xB404F25AL,0L,0x8AAB2319L,0x44C2397AL,0x8EF85DBFL,(-7L),0L},{2L,(-1L),1L,0x71815D77L,(-1L),5L,0xE1A4AF8FL,1L,1L}},{{0xB404F25AL,0x28E925D8L,4L,(-1L),4L,0x28E925D8L,0xB404F25AL,0x44C2397AL,(-4L)},{1L,(-1L),0x34184B90L,(-1L),0x6C2AB9DEL,(-2L),9L,(-1L),1L},{(-4L),0L,8L,0L,0x443D9CA3L,0xF5497D3BL,0xE38E910DL,0x44C2397AL,(-8L)},{0L,1L,0x644F734BL,0x16654E31L,0x71815D77L,0x16654E31L,0x644F734BL,1L,0L},{0x478A3E16L,(-4L),(-1L),0L,(-8L),0xD380D315L,0x3D069B26L,(-7L),0x0F1F7263L},{9L,1L,0x2ED103F1L,1L,0x1739C889L,0L,0x6C2AB9DEL,0x7DAB3499L,(-1L)}},{{0x478A3E16L,(-8L),0x3D069B26L,0x8AAB2319L,(-4L),8L,(-4L),0x8AAB2319L,0x3D069B26L},{0L,0L,0x0CD82F86L,(-1L),9L,2L,0x2312FCB1L,0x71815D77L,0L},{(-4L),0x0F1F7263L,0L,0x8EF85DBFL,9L,0L,(-4L),0x4ADB0A08L,1L},{1L,(-1L),0x0CD82F86L,0xE1A4AF8FL,0x3C83E0CFL,(-7L),0x7DAB3499L,(-7L),0x3C83E0CFL},{0xB404F25AL,0x3D069B26L,0x3D069B26L,0xB404F25AL,0xD534021EL,0L,8L,0x0F1F7263L,0xE38E910DL},{2L,0L,0x2ED103F1L,9L,0x0CD82F86L,0x644F734BL,(-1L),0xE1A4AF8FL,(-7L)}}};
uint32_t **l_1266 = (void*)0;
int32_t **l_1300 = (void*)0;
uint32_t l_1318 = 6UL;
int16_t l_1331[6] = {0x455FL,0x4A51L,0x455FL,0x455FL,0x4A51L,0x455FL};
uint32_t *l_1334 = &g_852[2][4][2];
uint32_t **l_1333 = &l_1334;
uint32_t ** const *l_1332 = &l_1333;
int i, j, k;
for (l_946 = 1; (l_946 >= 0); l_946 -= 1)
{ /* block id: 427 */
int64_t l_995 = 0x280320C249C038C6LL;
int32_t l_1003 = 0xD0D50BA5L;
int16_t *l_1015 = &g_308;
for (g_41 = 2; (g_41 >= 0); g_41 -= 1)
{ /* block id: 430 */
uint32_t l_991 = 4294967295UL;
struct S0 *l_997 = &g_183;
for (l_960 = 0; (l_960 <= 3); l_960 += 1)
{ /* block id: 433 */
uint16_t * const *l_975 = (void*)0;
uint16_t * const **l_974 = &l_975;
uint16_t * const ***l_973 = &l_974;
uint16_t * const ****l_972 = &l_973;
int32_t *l_994 = &g_139;
int i, j, k;
(*l_994) = ((safe_sub_func_uint32_t_u_u(((((((safe_div_func_int16_t_s_s((safe_mod_func_int32_t_s_s(((safe_mod_func_int8_t_s_s((((*g_383) == (*g_383)) < (((*l_972) = (void*)0) == l_976)), (safe_sub_func_uint64_t_u_u(((*g_894) = g_852[(l_946 + 5)][(l_960 + 2)][g_41]), (safe_mod_func_uint16_t_u_u((((((***g_384)--) > ((safe_lshift_func_int8_t_s_u((safe_rshift_func_uint16_t_u_u((((l_991 = ((((g_80[l_960] && (safe_mul_func_uint8_t_u_u(l_945, 1L))) != ((*l_962) <= p_34)) , g_414) , (*p_35))) ^ (*p_35)) , g_852[(l_946 + 5)][(l_960 + 2)][g_41]), g_992)), 4)) , g_78[7])) , g_236) , (*p_35)), 0xBBADL)))))) >= p_34), 1UL)), 0x490EL)) ^ g_852[(l_946 + 5)][(l_960 + 2)][g_41]) & p_34) & p_34) & l_993) < (*p_33)), l_993)) , 0x0A6E55BBL);
}
for (g_200 = 0; (g_200 <= 2); g_200 += 1)
{ /* block id: 442 */
int i, j, k;
l_995 ^= 0xA1AF67DAL;
l_997 = l_996;
l_1003 ^= (safe_add_func_uint32_t_u_u((!1UL), (safe_lshift_func_int16_t_s_u((0xD25CD2834A577BD4LL < p_34), 8))));
}
for (g_50 = 0; (g_50 <= 1); g_50 += 1)
{ /* block id: 449 */
return g_414;
}
}
l_1016 ^= (((safe_sub_func_uint32_t_u_u((((*l_1015) = ((((safe_unary_minus_func_uint16_t_u(l_947)) && 0UL) && l_995) && (g_116 , (safe_sub_func_uint8_t_u_u((safe_unary_minus_func_uint16_t_u((&l_996 != &l_996))), (((**g_198) = ((p_34 >= (safe_mod_func_int32_t_s_s(((((((*g_115) = (safe_mod_func_int64_t_s_s(0x7E7EF57992EA4AA6LL, l_1014))) == l_919) != (*g_894)) <= 1UL) < (*p_33)), l_1003))) <= p_34)) >= 0xFCBE4D2CAFC49587LL)))))) , 1UL), p_34)) <= 0x81D7CAD9L) , 8L);
for (l_945 = 1; (l_945 >= 0); l_945 -= 1)
{ /* block id: 459 */
int32_t **l_1017 = &g_251[0];
(*l_1017) = &l_1016;
for (g_838 = 0; (g_838 <= 1); g_838 += 1)
{ /* block id: 463 */
const int32_t *l_1019 = &l_1016;
const int32_t **l_1018 = &l_1019;
int32_t *l_1020 = &g_139;
int32_t *l_1021 = &g_103;
(*l_1018) = &g_144[0][0];
(*l_1021) |= ((*l_1020) = (g_414 ^ 1UL));
(*l_1018) = &g_144[1][0];
}
for (l_947 = 2; (l_947 >= 0); l_947 -= 1)
{ /* block id: 471 */
(*l_1017) = l_1022;
return g_78[1];
}
}
}
}
}
else
{ /* block id: 753 */
int64_t l_1511 = 0xBE4800F3FA949A67LL;
int32_t l_1536 = 0x2F426D0AL;
int32_t l_1549 = 0L;
int32_t l_1550 = (-2L);
int32_t ****l_1556 = &g_1077;
int32_t l_1559[7] = {0x08395A42L,0x08395A42L,0x08395A42L,0x08395A42L,0x08395A42L,0x08395A42L,0x08395A42L};
int8_t l_1560 = 0xF5L;
uint64_t l_1563 = 18446744073709551615UL;
int32_t *l_1593 = &g_78[7];
struct S0 ***l_1598 = (void*)0;
uint32_t *l_1640 = &l_960;
uint32_t **l_1639 = &l_1640;
uint32_t ***l_1638[9][7][4] = {{{&l_1639,&l_1639,(void*)0,(void*)0},{&l_1639,&l_1639,&l_1639,&l_1639},{(void*)0,(void*)0,(void*)0,(void*)0},{&l_1639,&l_1639,&l_1639,&l_1639},{&l_1639,&l_1639,&l_1639,&l_1639},{&l_1639,(void*)0,&l_1639,&l_1639},{(void*)0,&l_1639,&l_1639,&l_1639}},{{&l_1639,&l_1639,(void*)0,(void*)0},{(void*)0,&l_1639,&l_1639,&l_1639},{(void*)0,&l_1639,&l_1639,&l_1639},{&l_1639,&l_1639,&l_1639,&l_1639},{&l_1639,&l_1639,(void*)0,(void*)0},{&l_1639,&l_1639,&l_1639,&l_1639},{(void*)0,&l_1639,&l_1639,&l_1639}},{{&l_1639,(void*)0,&l_1639,&l_1639},{&l_1639,&l_1639,&l_1639,&l_1639},{&l_1639,&l_1639,&l_1639,&l_1639},{&l_1639,&l_1639,(void*)0,&l_1639},{&l_1639,&l_1639,&l_1639,&l_1639},{&l_1639,(void*)0,&l_1639,(void*)0},{&l_1639,(void*)0,(void*)0,&l_1639}},{{&l_1639,&l_1639,&l_1639,&l_1639},{&l_1639,&l_1639,&l_1639,&l_1639},{&l_1639,(void*)0,&l_1639,&l_1639},{&l_1639,&l_1639,&l_1639,(void*)0},{(void*)0,&l_1639,&l_1639,(void*)0},{&l_1639,&l_1639,(void*)0,&l_1639},{&l_1639,&l_1639,&l_1639,&l_1639}},{{&l_1639,(void*)0,&l_1639,&l_1639},{(void*)0,&l_1639,&l_1639,&l_1639},{(void*)0,&l_1639,(void*)0,(void*)0},{&l_1639,&l_1639,&l_1639,(void*)0},{(void*)0,&l_1639,&l_1639,&l_1639},{&l_1639,(void*)0,(void*)0,&l_1639},{&l_1639,&l_1639,(void*)0,&l_1639}},{{&l_1639,&l_1639,&l_1639,&l_1639},{&l_1639,(void*)0,&l_1639,(void*)0},{(void*)0,(void*)0,&l_1639,&l_1639},{(void*)0,&l_1639,&l_1639,&l_1639},{&l_1639,&l_1639,&l_1639,&l_1639},{&l_1639,&l_1639,(void*)0,&l_1639},{&l_1639,&l_1639,(void*)0,&l_1639}},{{&l_1639,(void*)0,&l_1639,&l_1639},{(void*)0,&l_1639,&l_1639,&l_1639},{&l_1639,&l_1639,(void*)0,(void*)0},{(void*)0,&l_1639,&l_1639,&l_1639},{(void*)0,&l_1639,&l_1639,&l_1639},{&l_1639,&l_1639,&l_1639,&l_1639},{&l_1639,&l_1639,(void*)0,(void*)0}},{{&l_1639,&l_1639,&l_1639,&l_1639},{(void*)0,&l_1639,&l_1639,&l_1639},{&l_1639,(void*)0,&l_1639,&l_1639},{&l_1639,&l_1639,&l_1639,(void*)0},{&l_1639,&l_1639,&l_1639,&l_1639},{&l_1639,&l_1639,&l_1639,(void*)0},{(void*)0,&l_1639,(void*)0,&l_1639}},{{&l_1639,&l_1639,(void*)0,&l_1639},{(void*)0,&l_1639,&l_1639,&l_1639},{&l_1639,(void*)0,&l_1639,&l_1639},{&l_1639,&l_1639,&l_1639,&l_1639},{&l_1639,&l_1639,&l_1639,&l_1639},{&l_1639,&l_1639,(void*)0,&l_1639},{(void*)0,&l_1639,&l_1639,(void*)0}}};
int32_t l_1645 = (-1L);
int32_t l_1663 = 1L;
uint64_t l_1666 = 0x3C63E00C9B6A28F0LL;
uint16_t l_1709 = 3UL;
int16_t * const *l_1881 = &g_1265;
int32_t *l_1915[3];
int i, j, k;
for (i = 0; i < 3; i++)
l_1915[i] = (void*)0;
}
for (l_1014 = 8; (l_1014 == 33); l_1014 = safe_add_func_uint16_t_u_u(l_1014, 6))
{ /* block id: 1011 */
int32_t *l_2076 = &l_914;
int32_t *l_2077[3][3];
int32_t l_2079 = (-7L);
uint32_t l_2081 = 3UL;
int i, j;
for (i = 0; i < 3; i++)
{
for (j = 0; j < 3; j++)
l_2077[i][j] = &l_948;
}
l_2081--;
}
return p_34;
}
/* ------------------------------------------ */
/*
* reads : g_384 g_385 g_115
* writes:
*/
uint16_t * func_36(int32_t p_37, uint64_t * p_38)
{ /* block id: 386 */
struct S0 *l_898 = &g_893;
struct S0 **l_897 = &l_898;
struct S0 ***l_896 = &l_897;
struct S0 ****l_895 = &l_896;
struct S0 *****l_899 = (void*)0;
struct S0 *****l_900 = &l_895;
(*l_900) = l_895;
return (**g_384);
}
/* ------------------------------------------ */
/*
* reads : g_41 g_110 g_384 g_385 g_115 g_116 g_200 g_83 g_852 g_525 g_454 g_236 g_144 g_383 g_894
* writes: g_41 g_200 g_80 g_872 g_525 g_116 g_464 g_183 g_892 g_893
*/
uint64_t * func_39(int32_t * p_40)
{ /* block id: 6 */
int32_t l_76 = 0x9B2C3978L;
int8_t l_77 = 0xA5L;
uint64_t *l_79 = &g_80[2];
int32_t l_792[6];
uint64_t l_799[6][3] = {{0xBD974A46C9C6B75DLL,18446744073709551609UL,18446744073709551609UL},{18446744073709551615UL,0x3AC334EC0DD8104ALL,18446744073709551615UL},{0xBD974A46C9C6B75DLL,0xBD974A46C9C6B75DLL,18446744073709551609UL},{0x7BC053A1C9B229A5LL,0x3AC334EC0DD8104ALL,0x7BC053A1C9B229A5LL},{0xBD974A46C9C6B75DLL,18446744073709551609UL,18446744073709551609UL},{18446744073709551615UL,0x3AC334EC0DD8104ALL,18446744073709551615UL}};
uint32_t *l_859 = (void*)0;
uint32_t *l_860[2][9] = {{&g_852[0][5][2],&g_852[0][5][2],&g_110[2],&g_852[0][5][2],&g_852[0][5][2],&g_110[2],&g_852[0][5][2],&g_852[0][5][2],&g_110[2]},{&g_852[0][5][2],&g_852[0][5][2],&g_110[2],&g_852[0][5][2],&g_852[0][5][2],&g_110[2],&g_852[0][5][2],&g_852[0][5][2],&g_110[2]}};
uint16_t **l_863 = &g_115;
int64_t *l_866 = (void*)0;
int64_t *l_867 = &g_200;
struct S0 * const l_871 = &g_183;
struct S0 * const *l_870 = &l_871;
struct S0 * const * const *l_869 = &l_870;
struct S0 * const * const **l_868[7][2];
uint64_t ***l_878 = &g_198;
uint64_t * const *l_880 = &l_79;
uint64_t * const **l_879 = &l_880;
uint64_t * const ***l_881 = (void*)0;
uint64_t * const ***l_882 = (void*)0;
uint64_t * const ***l_883 = (void*)0;
uint64_t * const ***l_884 = &l_879;
uint8_t *l_885 = &g_525;
uint32_t *l_888 = (void*)0;
uint32_t **l_889 = &l_888;
int i, j;
for (i = 0; i < 6; i++)
l_792[i] = 0x1D20F347L;
for (i = 0; i < 7; i++)
{
for (j = 0; j < 2; j++)
l_868[i][j] = &l_869;
}
for (g_41 = 0; (g_41 != (-8)); g_41 = safe_sub_func_uint64_t_u_u(g_41, 8))
{ /* block id: 9 */
uint16_t l_48 = 0x09EBL;
int64_t *l_49 = &g_50;
int32_t l_75 = 0x5691F3A4L;
struct S0 *l_772 = &g_183;
uint8_t *l_777[7] = {&g_525,&g_525,&g_525,&g_525,&g_525,&g_525,&g_525};
uint32_t *l_789 = &g_110[4];
int32_t *l_795 = (void*)0;
int32_t *l_796 = &g_139;
int32_t l_811[10][10] = {{0xFD648E7DL,1L,0x9F99FBC6L,0xE276CEF4L,0xB7C181CAL,0xA6BB1044L,1L,0xA2605B9DL,(-5L),1L},{0xD15B86A6L,0x6E1EA656L,0x9F99FBC6L,0xB7C181CAL,0xC32948DEL,0xA2605B9DL,0L,0xAC7B7A6BL,(-1L),1L},{0xF2D94C1CL,(-7L),0xC32948DEL,0xC5257DC0L,0x7BB3A3BBL,0xC5257DC0L,0xC32948DEL,(-7L),0xF2D94C1CL,0x37115FCBL},{1L,(-5L),0xFD648E7DL,0x37115FCBL,0xB9767B41L,0xAC7B7A6BL,0xA6BB1044L,(-1L),0x9F99FBC6L,0xF2D94C1CL},{(-1L),1L,2L,0x37115FCBL,(-5L),0xB9767B41L,0xA2605B9DL,3L,0xF2D94C1CL,0xAC7B7A6BL},{0L,(-1L),0xE276CEF4L,0xC5257DC0L,(-8L),(-8L),0xC5257DC0L,0xE276CEF4L,(-1L),0L},{0xB9767B41L,0xE276CEF4L,(-7L),0xB7C181CAL,1L,1L,0xAC7B7A6BL,0x9F99FBC6L,(-5L),0x7BB3A3BBL},{0x37115FCBL,0L,3L,0xE276CEF4L,1L,0x6E1EA656L,0xB9767B41L,0xA6BB1044L,1L,0L},{1L,0xAC7B7A6BL,0x2314B616L,1L,(-8L),0xD15B86A6L,(-8L),1L,0x2314B616L,0xAC7B7A6BL},{0x9F99FBC6L,0xD15B86A6L,0xC5257DC0L,0L,(-5L),1L,1L,0xB7C181CAL,(-8L),0xF2D94C1CL}};
int32_t l_844 = 0xC2ACE615L;
int32_t l_845 = 0x8F3FE625L;
int32_t l_846 = (-10L);
int32_t l_847 = 0xDF6D5F54L;
int32_t l_848 = 4L;
int32_t l_849 = 0x7205984EL;
int32_t l_850 = 0xA1E55E3EL;
int32_t l_851[10] = {0x7A6335DDL,0x7A6335DDL,0x7A6335DDL,0x7A6335DDL,0x7A6335DDL,0x7A6335DDL,0x7A6335DDL,0x7A6335DDL,0x7A6335DDL,0x7A6335DDL};
int i, j;
}
g_872[2] = ((safe_sub_func_uint64_t_u_u(((safe_add_func_uint32_t_u_u((l_792[4] = 0x31F5A0E8L), (0x5F2B5C2C80B2FF92LL & ((-7L) > ((*g_83) = (safe_sub_func_uint64_t_u_u(((l_77 != 0xEDFFL) | (((void*)0 != l_863) != ((*l_867) ^= (safe_mod_func_int8_t_s_s(((((g_110[4] || l_76) , 0x7020L) >= (***g_384)) ^ l_799[4][0]), 0x7AL))))), l_76))))))) , l_792[1]), l_77)) , (void*)0);
g_893 = (g_892 = (g_852[2][4][2] , ((**l_870) = func_44(((safe_rshift_func_uint8_t_u_s(((*l_885) ^= (safe_mod_func_int16_t_s_s((l_878 == ((*l_884) = l_879)), 1L))), (((((((safe_add_func_int8_t_s_s((*g_454), (l_76 >= (((((*l_889) = l_888) == &g_156) , (((safe_lshift_func_int8_t_s_s(((5UL == 0x2A93L) < l_792[3]), l_799[0][1])) <= l_799[1][1]) >= l_799[4][0])) , 0L)))) > g_144[0][0]) || 0xC1FFF753L) <= 1L) | l_76) && 1UL) & l_792[1]))) <= (-1L))))));
return g_894;
}
/* ------------------------------------------ */
/*
* reads : g_385 g_115 g_116 g_383 g_384 g_1648
* writes: g_116 g_464 g_1648
*/
struct S0 func_44(int32_t p_45)
{ /* block id: 345 */
uint16_t *l_768 = &g_464;
int32_t l_769 = 5L;
int32_t *l_770 = &l_769;
struct S0 l_771 = {70,61};
l_769 = (((*l_768) = ((****g_383) = (**g_385))) <= 0x57F4L);
(*l_770) = 0x5EB38492L;
return l_771;
}
/* ------------------------------------------ */
/*
* reads : g_200 g_116 g_110 g_183.f1 g_183 g_103 g_308 g_383 g_27 g_384 g_385 g_115 g_139 g_80 g_414 g_236 g_441 g_129 g_140 g_83 g_464 g_50 g_443 g_198 g_454 g_442 g_78 g_525 g_156 g_3 g_41 g_176 g_691 g_144 g_763
* writes: g_308 g_103 g_139 g_251 g_183 g_129 g_383 g_200 g_156 g_236 g_80 g_443 g_454 g_78 g_333 g_464 g_83 g_176 g_385 g_414 g_691
*/
int64_t func_51(uint64_t p_52, const uint32_t p_53, const uint64_t p_54, int8_t p_55, uint32_t p_56)
{ /* block id: 143 */
int32_t l_322 = 0x71DECC0EL;
int16_t *l_329 = &g_308;
uint8_t *l_332[5][1][7] = {{{&g_333,&g_333,&g_333,&g_333,&g_333,&g_333,(void*)0}},{{&g_333,(void*)0,&g_333,&g_333,&g_333,&g_333,&g_333}},{{&g_333,&g_333,&g_333,&g_333,&g_333,&g_333,&g_333}},{{&g_333,&g_333,(void*)0,&g_333,&g_333,(void*)0,&g_333}},{{(void*)0,(void*)0,&g_333,&g_333,&g_333,&g_333,&g_333}}};
int32_t l_334 = 0x1F75C9EAL;
int32_t *l_335 = &g_103;
int32_t *l_336 = &g_139;
uint32_t l_337[4] = {0xFC260419L,0xFC260419L,0xFC260419L,0xFC260419L};
uint8_t l_338 = 248UL;
int32_t *l_339[3];
uint32_t l_340 = 0xF0262F68L;
struct S0 *l_342 = &g_183;
struct S0 **l_341 = &l_342;
int8_t *l_368[4];
int8_t * const *l_367 = &l_368[0];
int8_t * const **l_366 = &l_367;
uint8_t l_372[4][7] = {{0x2EL,0x2EL,0x2EL,0x2EL,0x2EL,0x2EL,0x2EL},{0UL,0x04L,0UL,0x04L,0UL,0x04L,0UL},{0x2EL,0x2EL,0x2EL,0x2EL,0x2EL,0x2EL,0x2EL},{0UL,0x04L,0UL,0x04L,0UL,0x04L,0UL}};
uint16_t ***l_388 = &g_385;
int8_t l_446 = (-1L);
int16_t *l_455[3];
int64_t l_462 = 0L;
uint64_t l_492 = 0x602F21BC675DA5E2LL;
int8_t **l_497 = &l_368[0];
int8_t ***l_496 = &l_497;
int8_t ****l_495 = &l_496;
int8_t *****l_494 = &l_495;
int32_t l_511 = 0xA0234A3BL;
int32_t l_514 = 7L;
int32_t l_524 = 6L;
int32_t l_531 = 0L;
uint32_t l_532 = 1UL;
int32_t l_593 = (-1L);
uint64_t *l_594 = &l_492;
uint16_t *l_595[1];
int16_t l_613 = (-5L);
int32_t l_680 = 0xD87A6FCFL;
int32_t l_681 = (-1L);
int32_t l_683 = 0x1A1ABBFCL;
uint8_t l_688 = 0UL;
uint16_t ****l_736 = &l_388;
uint16_t *****l_735 = &l_736;
int32_t *l_750 = &l_524;
uint32_t l_765 = 5UL;
int32_t *l_766 = (void*)0;
int32_t *l_767 = &l_683;
int i, j, k;
for (i = 0; i < 3; i++)
l_339[i] = (void*)0;
for (i = 0; i < 4; i++)
l_368[i] = &g_236;
for (i = 0; i < 3; i++)
l_455[i] = &g_306;
for (i = 0; i < 1; i++)
l_595[i] = &g_140;
if (((((((*l_341) = ((l_340 &= (((safe_lshift_func_uint16_t_u_u(0x6537L, 10)) ^ ((((safe_add_func_int16_t_s_s((p_52 && ((l_322 <= (safe_mul_func_uint16_t_u_u(((safe_rshift_func_int8_t_s_u(g_200, (((safe_mul_func_uint16_t_u_u(0xCAEBL, ((*l_329) = 0L))) == ((*l_336) = ((*l_335) = (safe_mod_func_int8_t_s_s(((l_334 = 0x20L) <= p_55), p_52))))) & 1L))) , 0xC2E0L), p_53))) == p_52)), g_116)) & p_52) , l_337[0]) ^ p_56)) >= l_338)) , (void*)0)) == (void*)0) | 0xEAL) == g_110[4]) >= g_183.f1))
{ /* block id: 150 */
int32_t **l_343 = &g_251[0];
l_335 = &g_139;
(*l_343) = &g_103;
}
else
{ /* block id: 153 */
struct S0 *l_344 = &g_183;
int32_t l_347 = 1L;
int8_t * const ***l_369 = &l_366;
int32_t l_370 = 0x81CEC021L;
int32_t l_371 = 7L;
int32_t *l_407 = &g_78[7];
uint32_t l_422[10] = {0UL,0UL,0UL,0UL,0UL,0UL,0UL,0UL,0UL,0UL};
int64_t l_489 = 0x2C722CBC8A12F214LL;
int32_t l_515 = 8L;
int32_t l_517 = 0x79A15568L;
int32_t l_522 = (-6L);
int32_t l_523 = 0xAE10A693L;
int32_t **l_548 = (void*)0;
int i;
lbl_472:
g_251[0] = &g_3;
(*l_344) = g_183;
if ((((((safe_add_func_int16_t_s_s(((((*l_335) = (-1L)) , (*l_335)) ^ (l_347 |= 65530UL)), (((!(safe_mod_func_int32_t_s_s(p_53, (safe_lshift_func_uint8_t_u_s(p_56, 5))))) & ((safe_sub_func_int16_t_s_s(((safe_unary_minus_func_int8_t_s((((p_55 < (((safe_lshift_func_int8_t_s_u((safe_lshift_func_int8_t_s_s((safe_div_func_uint16_t_u_u((safe_sub_func_uint16_t_u_u((safe_sub_func_int8_t_s_s(p_53, 255UL)), (((((*l_369) = l_366) == (void*)0) , g_308) || l_370))), p_55)), 2)), p_56)) & 0x1DFA8F23L) || p_54)) | 0x8A20L) || l_370))) || 0x2801L), l_371)) , 0x06BFL)) != 4294967295UL))) == 0x55A6L) | l_372[0][6]) == 0UL) , p_56))
{ /* block id: 159 */
uint8_t l_389 = 252UL;
uint64_t l_444 = 0xE93FED844A827CEELL;
int8_t **l_453[2][2][4] = {{{&l_368[0],&l_368[0],&l_368[0],&l_368[0]},{&l_368[0],&l_368[0],&l_368[0],&l_368[0]}},{{&l_368[0],&l_368[0],&l_368[0],&l_368[0]},{&l_368[0],&l_368[0],&l_368[0],&l_368[0]}}};
int16_t **l_456 = &l_455[2];
int32_t l_460 = 1L;
int32_t l_461 = 0x639052B1L;
int32_t l_463 = (-1L);
int64_t *l_471 = &l_462;
int i, j, k;
for (g_129 = 0; (g_129 <= 3); g_129 += 1)
{ /* block id: 162 */
uint16_t *** const **l_386 = &g_383;
struct S0 l_387 = {-13,-18};
int32_t *l_409 = &l_322;
uint64_t l_447 = 0xC496369D72CE77DFLL;
if (((((safe_rshift_func_int8_t_s_s(((safe_add_func_int16_t_s_s((+(safe_sub_func_int16_t_s_s(((~l_370) , (((safe_rshift_func_int8_t_s_s(((0L || p_56) && ((((*l_386) = g_383) == (l_387 , (void*)0)) & ((((&g_385 == l_388) ^ 0x096BC7C0L) < 18446744073709551606UL) > g_27))), 0)) , 0x02E2L) ^ l_389)), (***g_384)))), 0x2261L)) || g_139), 0)) | l_389) && g_110[4]) && (-9L)))
{ /* block id: 164 */
uint16_t *l_392 = (void*)0;
int64_t *l_397 = &g_200;
int32_t l_404 = (-1L);
int32_t **l_408[6][1][4] = {{{&l_407,(void*)0,&l_407,(void*)0}},{{(void*)0,&l_339[1],&l_339[2],(void*)0}},{{&l_339[2],(void*)0,&l_339[1],&l_339[1]}},{{&l_407,&l_407,&l_407,&l_407}},{{&l_407,&l_339[1],&l_339[1],&l_407}},{{&l_339[2],&l_407,&l_339[2],&l_339[1]}}};
uint32_t *l_415 = &g_156;
uint32_t *l_416[2];
int i, j, k;
for (i = 0; i < 2; i++)
l_416[i] = &g_110[1];
(*l_341) = &g_183;
if ((safe_mul_func_int16_t_s_s(0x9BF4L, ((l_347 ^= (***g_384)) , (safe_div_func_uint32_t_u_u((l_371 = (safe_div_func_int64_t_s_s(((*l_397) &= (-5L)), (((*l_415) = (safe_lshift_func_int16_t_s_u(((safe_rshift_func_int16_t_s_u((safe_mul_func_int16_t_s_s(g_80[0], (l_404 || ((safe_rshift_func_int16_t_s_s(((((((*l_335) > ((l_409 = l_407) == &g_78[6])) , (safe_lshift_func_int8_t_s_u(((safe_lshift_func_int8_t_s_s(g_27, g_80[1])) || g_414), 1))) ^ g_139) > p_53) , p_54), (*l_335))) <= (**g_385))))), (*g_115))) >= (****g_383)), (****g_383)))) , p_55)))), 0x7F77FB08L))))))
{ /* block id: 171 */
return p_53;
}
else
{ /* block id: 173 */
(*l_336) ^= (safe_div_func_int8_t_s_s(p_56, (~g_110[2])));
l_387.f1 = ((*l_335) = 0x5A526491L);
if (l_404)
continue;
if (p_56)
break;
}
if (l_389)
continue;
if (p_54)
break;
}
else
{ /* block id: 182 */
struct S0 **l_440 = &l_344;
int32_t l_445 = (-1L);
int i;
(*l_336) = ((safe_mul_func_int8_t_s_s(l_422[4], ((safe_div_func_int64_t_s_s((safe_mod_func_int8_t_s_s((safe_lshift_func_int8_t_s_s((-1L), 6)), ((g_80[g_129] ^= (((((safe_unary_minus_func_int32_t_s((safe_mul_func_int16_t_s_s((((safe_mod_func_uint32_t_u_u((safe_lshift_func_int8_t_s_s(((safe_div_func_int8_t_s_s((((((((safe_rshift_func_int8_t_s_u(((***l_366) ^= ((void*)0 == l_440)), 2)) , (((g_441 == (*l_369)) >= (((g_236 == l_387.f0) || l_387.f1) <= p_55)) | l_444)) , p_54) && l_445) & l_387.f1) | l_370) , l_387.f0), g_200)) >= l_387.f1), 6)), (*l_335))) > 255UL) != l_446), 0x0A50L)))) > 0xB3L) == l_387.f1) | p_53) <= 7L)) , p_55))), l_447)) == p_55))) != 0xDEL);
return l_389;
}
(*l_335) = l_387.f0;
}
l_334 |= (((*l_329) = g_140) != (safe_div_func_uint8_t_u_u((g_333 = (safe_mul_func_uint8_t_u_u((~(((*l_407) = ((g_443 = &p_55) != (g_454 = &p_55))) , (*g_83))), (((*l_456) = l_455[2]) == &g_306)))), (safe_div_func_int8_t_s_s((~(((*l_471) = (l_370 >= ((--g_464) ^ (safe_mod_func_int16_t_s_s(((((1L <= (safe_rshift_func_int16_t_s_u(((((((*l_335) || g_50) , (*l_336)) , 65535UL) && (**g_385)) || g_116), (***g_384)))) || (*l_335)) , l_444) >= p_55), l_444))))) ^ p_56)), l_371)))));
if (l_334)
goto lbl_472;
l_344 = (*l_341);
}
else
{ /* block id: 201 */
int8_t l_490 = 0xA3L;
int8_t *****l_499 = &l_495;
int32_t l_512[8][3][3] = {{{(-6L),0xEA743C6EL,0xEA743C6EL},{0x4D3AF96CL,0x7F250ECAL,0xBE9B0ED2L},{(-6L),(-9L),(-6L)}},{{0x25EF5D12L,0x4D3AF96CL,0xBE9B0ED2L},{0xB8EDBEE7L,0xB8EDBEE7L,0xEA743C6EL},{0xF9E39800L,0x4D3AF96CL,0x4D3AF96CL}},{{0xEA743C6EL,(-9L),7L},{0xF9E39800L,0x7F250ECAL,0xF9E39800L},{0xB8EDBEE7L,0xEA743C6EL,7L}},{{0x25EF5D12L,0x25EF5D12L,0x4D3AF96CL},{(-6L),0xEA743C6EL,0xEA743C6EL},{0x4D3AF96CL,0x7F250ECAL,0xBE9B0ED2L}},{{(-6L),(-9L),(-6L)},{0x25EF5D12L,0x4D3AF96CL,0xBE9B0ED2L},{0xB8EDBEE7L,0xB8EDBEE7L,0xEA743C6EL}},{{0xF9E39800L,0x4D3AF96CL,0x4D3AF96CL},{0xEA743C6EL,(-9L),7L},{0xF9E39800L,0x7F250ECAL,0xF9E39800L}},{{0xB8EDBEE7L,0xEA743C6EL,7L},{0x25EF5D12L,0x25EF5D12L,0x4D3AF96CL},{(-6L),0xEA743C6EL,0xEA743C6EL}},{{0x4D3AF96CL,0x7F250ECAL,0xBE9B0ED2L},{(-6L),(-9L),(-6L)},{0x4D3AF96CL,0xF9E39800L,0x7F250ECAL}}};
int32_t **l_573 = &g_251[0];
int i, j, k;
if ((safe_rshift_func_int8_t_s_u(((safe_lshift_func_int16_t_s_s(p_53, p_56)) > (safe_mod_func_int32_t_s_s(((safe_div_func_uint8_t_u_u(((((l_371 = (safe_rshift_func_uint16_t_u_u((***g_384), p_53))) >= ((safe_add_func_int16_t_s_s(((l_422[4] == (*g_443)) <= ((safe_mul_func_int8_t_s_s(l_422[4], (safe_mod_func_int64_t_s_s((0x35403E42L != (((*l_335) |= ((l_370 &= (l_347 |= ((**g_198) = 0x3A81BD4E096BAAEFLL))) >= l_489)) , p_53)), l_422[4])))) == p_55)), 1L)) & p_53)) | l_490) == p_53), p_55)) , p_56), g_308))), 2)))
{ /* block id: 207 */
int64_t l_493[2];
int32_t l_507 = (-7L);
int32_t *l_528 = (void*)0;
int i;
for (i = 0; i < 2; i++)
l_493[i] = 0xA9FFA29DB58FC865LL;
for (l_334 = 0; (l_334 <= 3); l_334 += 1)
{ /* block id: 210 */
int32_t **l_491 = &l_335;
int8_t *****l_498[1][5] = {{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}};
int32_t l_508 = 0xADAB0593L;
int32_t l_513 = 0L;
int32_t l_516 = 0x3A714632L;
int32_t l_518 = 0x44BFC9ADL;
int32_t l_519 = 0x61412417L;
int32_t l_520 = 2L;
int32_t l_521 = 0x7B87533BL;
int i, j;
(*l_491) = (void*)0;
(*l_491) = &l_334;
}
}
else
{ /* block id: 234 */
int32_t * const l_535 = (void*)0;
int32_t **l_536 = &l_336;
uint16_t *l_541 = &g_464;
int32_t l_552 = 0x0BC994D0L;
(*l_536) = l_535;
(*l_335) |= (((safe_lshift_func_int8_t_s_u((((&g_306 != (void*)0) == p_52) != 0x4CL), 4)) ^ (safe_mod_func_int8_t_s_s(((l_370 ^ (((g_50 & (((*l_541) = 0xFF7EL) & (((*g_198) = &p_52) == (void*)0))) <= (*g_454)) && 0xE56A27BFL)) >= l_522), 0x5EL))) >= l_490);
if (l_489)
goto lbl_553;
lbl_553:
l_552 |= ((safe_rshift_func_uint8_t_u_u((safe_mul_func_int16_t_s_s(((((*l_335) = (((g_183 , (safe_div_func_uint8_t_u_u((p_53 | (((*l_541) = (&g_251[0] != l_548)) & ((***l_499) != (((l_512[2][0][1] == (safe_add_func_int32_t_s_s((~65535UL), l_512[4][1][2]))) & p_56) , (*g_441))))), (*g_454)))) , &l_535) != &l_335)) && (***g_384)) | 18446744073709551615UL), 0xDCC5L)), 6)) && p_54);
for (g_176 = 0; (g_176 >= 28); ++g_176)
{ /* block id: 245 */
(*l_335) &= ((safe_add_func_uint16_t_u_u((safe_mul_func_uint16_t_u_u((safe_mul_func_int8_t_s_s((**g_442), (safe_mul_func_int8_t_s_s((g_414 || ((++(**g_198)) != p_54)), (((safe_div_func_uint64_t_u_u((((((p_53 && (*g_454)) > (p_56 == ((safe_mul_func_uint16_t_u_u((+l_512[5][2][0]), 1L)) | p_53))) , g_414) <= p_56) != p_55), g_78[7])) == p_53) != 250UL))))), (****g_383))), 0x75B8L)) & 0x05D80D1481EF6CB8LL);
for (l_492 = 0; (l_492 <= 3); l_492 += 1)
{ /* block id: 250 */
l_512[7][0][0] = 1L;
(*l_335) = (*l_335);
}
for (l_462 = (-11); (l_462 > 22); l_462 = safe_add_func_uint64_t_u_u(l_462, 2))
{ /* block id: 256 */
return p_53;
}
}
}
(*l_573) = (void*)0;
}
}
if (((g_464 = ((((safe_div_func_uint64_t_u_u((((*g_454) = (((safe_div_func_int32_t_s_s(((safe_div_func_int32_t_s_s(((((*l_335) ^ ((p_54 > (*l_335)) , ((((*l_594) = ((**g_198) = (safe_div_func_int64_t_s_s((safe_lshift_func_int16_t_s_s((safe_sub_func_int16_t_s_s(((+(safe_mul_func_int8_t_s_s(((-1L) ^ (((safe_add_func_uint64_t_u_u(((*l_335) && (-1L)), (((void*)0 != &l_462) != 18446744073709551615UL))) != l_593) == p_55)), 0x34L))) , 0x5029L), (*l_335))), p_53)), p_56)))) != p_53) == p_56))) || 1UL) || (-8L)), g_525)) != 1L), (-1L))) & (*g_443)) ^ p_53)) == (-2L)), g_129)) < g_156) , &g_236) == g_443)) , p_54))
{ /* block id: 268 */
uint64_t l_598 = 0xB9A6DD8D64C3983DLL;
uint16_t **l_601 = &g_115;
struct S0 * const *l_608 = (void*)0;
struct S0 ***l_609 = &l_341;
int32_t l_610[8][1] = {{(-3L)},{3L},{(-3L)},{3L},{(-3L)},{3L},{(-3L)},{3L}};
int32_t l_611 = 0x07074A17L;
int32_t *l_612 = &l_511;
int32_t *l_614 = &l_524;
int i, j;
l_598 = ((*l_335) ^= (safe_lshift_func_uint8_t_u_u(g_414, (((*****l_494) ^= 0xEFL) <= 0x21L))));
(*g_384) = (*g_384);
(*l_614) = (((***l_366) = ((((g_80[3] , (safe_lshift_func_uint16_t_u_u((l_601 == (void*)0), (safe_lshift_func_int8_t_s_u((safe_add_func_uint8_t_u_u(((*l_335) ^= (safe_rshift_func_int8_t_s_u((***g_441), (p_53 | 0x5353L)))), (((((**g_198) = (((*l_612) = ((((l_611 = (l_610[1][0] = (l_608 != ((*l_609) = &l_342)))) , p_54) != 0x47902F61B0303E7ELL) & 0UL)) ^ 0x3E4108CEL)) , (**g_385)) , (****g_383)) && (*g_115)))), g_3))))) & g_41) <= l_613) , 0L)) , (*l_612));
for (l_322 = 0; (l_322 != (-27)); l_322 = safe_sub_func_uint8_t_u_u(l_322, 9))
{ /* block id: 283 */
return p_55;
}
}
else
{ /* block id: 286 */
int64_t *l_617[1][5] = {{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}};
int32_t l_618 = 0x9B8E3154L;
const int32_t l_625 = 0xEB64F150L;
int32_t *l_626 = &g_139;
int32_t *l_627 = &l_514;
int32_t *l_628 = &l_511;
int32_t *l_629 = &l_334;
int32_t *l_630 = &l_618;
int32_t *l_631 = &l_618;
int32_t *l_632 = &l_511;
int32_t *l_633[4][9][6] = {{{(void*)0,(void*)0,(void*)0,&g_103,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,&l_334,(void*)0,(void*)0},{&l_524,&l_334,(void*)0,&l_514,&l_334,&l_618},{&l_514,&l_334,&l_618,(void*)0,&g_3,&g_3},{(void*)0,&l_334,(void*)0,(void*)0,&l_334,(void*)0},{&l_334,&l_334,(void*)0,(void*)0,(void*)0,&g_103},{(void*)0,(void*)0,&g_3,(void*)0,(void*)0,&l_511},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{&l_334,(void*)0,(void*)0,(void*)0,&l_511,&l_524}},{{(void*)0,&g_103,&l_511,(void*)0,&l_524,&l_524},{&l_514,(void*)0,(void*)0,&l_514,&g_3,(void*)0},{&l_524,(void*)0,(void*)0,&l_334,(void*)0,&l_511},{(void*)0,(void*)0,&g_3,&g_103,(void*)0,&g_103},{(void*)0,(void*)0,(void*)0,&l_618,&g_3,(void*)0},{(void*)0,(void*)0,(void*)0,&l_511,&l_524,&g_3},{&l_334,&g_103,&l_618,&l_511,&l_511,&l_618},{(void*)0,(void*)0,(void*)0,&l_618,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,&g_103,(void*)0,(void*)0}},{{(void*)0,(void*)0,(void*)0,&l_334,(void*)0,(void*)0},{&l_524,&l_334,(void*)0,&l_514,&l_334,&l_618},{&l_514,&l_334,&l_618,(void*)0,&g_3,&g_3},{(void*)0,&l_334,(void*)0,(void*)0,&l_334,(void*)0},{&l_334,&l_334,(void*)0,(void*)0,(void*)0,&g_103},{(void*)0,(void*)0,&g_3,(void*)0,(void*)0,&l_511},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{&l_334,(void*)0,(void*)0,(void*)0,&l_511,&l_524},{(void*)0,&g_103,&l_511,(void*)0,&l_524,&l_524}},{{&l_514,(void*)0,(void*)0,&l_514,&g_3,(void*)0},{&l_524,&g_103,&l_334,&l_514,(void*)0,(void*)0},{&l_334,(void*)0,&l_511,(void*)0,(void*)0,(void*)0},{&g_3,&g_103,&g_3,&l_334,(void*)0,(void*)0},{(void*)0,&g_3,(void*)0,(void*)0,&l_618,(void*)0},{&l_514,(void*)0,&l_334,(void*)0,(void*)0,&l_334},{(void*)0,(void*)0,&g_103,&l_334,(void*)0,&g_3},{&g_3,(void*)0,(void*)0,(void*)0,&g_3,&g_103},{&l_334,&g_3,(void*)0,&l_514,(void*)0,&g_3}}};
int64_t l_634 = 0x8CF52F6F3A49971ALL;
int16_t l_635 = 0x31E2L;
uint8_t l_636 = 0x71L;
struct S0 **l_671 = &l_342;
int i, j, k;
(*l_335) ^= (((p_55 && (((g_176 ^= (l_618 = (-1L))) == (((0x5E1828F07B783F45LL <= ((safe_lshift_func_uint8_t_u_u((0x5C8353DFL != ((((**g_198) & (&p_54 == (void*)0)) & 0x97L) != p_52)), 3)) & l_625)) > l_625) >= 0xC140CBF2E0B09EFCLL)) < g_110[2])) , g_140) & p_52);
l_636--;
for (l_636 = 25; (l_636 != 43); l_636 = safe_add_func_uint32_t_u_u(l_636, 6))
{ /* block id: 293 */
uint32_t l_655 = 18446744073709551615UL;
int32_t l_656 = 0x0AEF5F4CL;
int32_t l_686 = 0x584251EFL;
struct S0 l_697 = {6,-121};
int8_t ** const l_734[5][3][5] = {{{&l_368[0],(void*)0,(void*)0,&g_454,(void*)0},{(void*)0,(void*)0,&l_368[0],&l_368[0],&l_368[0]},{(void*)0,&l_368[0],&l_368[0],(void*)0,(void*)0}},{{&l_368[0],&l_368[0],&g_443,&g_443,&l_368[0]},{(void*)0,&l_368[0],(void*)0,&l_368[2],&l_368[2]},{&g_454,(void*)0,&g_454,&g_443,&l_368[0]}},{{&g_454,(void*)0,&l_368[2],(void*)0,&g_454},{&g_454,&l_368[0],(void*)0,&l_368[0],(void*)0},{(void*)0,(void*)0,&l_368[2],&g_454,&g_454}},{{&l_368[0],&g_454,&g_454,&l_368[0],(void*)0},{(void*)0,&g_454,(void*)0,(void*)0,&g_454},{(void*)0,&g_454,&g_443,&l_368[0],&l_368[0]}},{{&l_368[0],(void*)0,&l_368[0],(void*)0,&l_368[2]},{&l_368[0],&l_368[0],&l_368[0],&l_368[0],&l_368[0]},{&l_368[0],(void*)0,(void*)0,&g_454,(void*)0}}};
int i, j, k;
for (g_156 = 0; (g_156 <= 2); g_156 += 1)
{ /* block id: 296 */
const int32_t l_648 = 0xF5B39C49L;
uint32_t l_660 = 0x14826A37L;
struct S0 l_669 = {-57,-94};
struct S0 **l_670[4][8][7] = {{{&l_342,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342},{&l_342,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342},{&l_342,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342},{&l_342,&l_342,&l_342,&l_342,(void*)0,&l_342,(void*)0},{&l_342,&l_342,(void*)0,&l_342,&l_342,&l_342,&l_342},{&l_342,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342},{&l_342,&l_342,&l_342,&l_342,&l_342,(void*)0,&l_342},{&l_342,&l_342,(void*)0,&l_342,&l_342,&l_342,&l_342}},{{&l_342,&l_342,&l_342,&l_342,(void*)0,&l_342,&l_342},{&l_342,&l_342,&l_342,&l_342,(void*)0,&l_342,&l_342},{&l_342,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342},{(void*)0,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342},{&l_342,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342},{&l_342,(void*)0,&l_342,&l_342,&l_342,&l_342,&l_342},{&l_342,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342},{&l_342,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342}},{{&l_342,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342},{(void*)0,&l_342,&l_342,&l_342,&l_342,&l_342,(void*)0},{&l_342,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342},{&l_342,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342},{&l_342,&l_342,&l_342,(void*)0,&l_342,&l_342,&l_342},{(void*)0,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342},{&l_342,&l_342,&l_342,(void*)0,&l_342,(void*)0,&l_342},{&l_342,&l_342,&l_342,(void*)0,&l_342,(void*)0,&l_342}},{{&l_342,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342},{&l_342,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342},{&l_342,(void*)0,(void*)0,&l_342,&l_342,&l_342,&l_342},{&l_342,&l_342,&l_342,(void*)0,&l_342,&l_342,&l_342},{&l_342,(void*)0,&l_342,&l_342,&l_342,&l_342,&l_342},{&l_342,&l_342,&l_342,&l_342,&l_342,&l_342,(void*)0},{&l_342,&l_342,&l_342,&l_342,&l_342,&l_342,&l_342},{&l_342,&l_342,(void*)0,&l_342,&l_342,&l_342,&l_342}}};
int8_t l_672 = 4L;
int32_t l_677 = 0x08A58AE8L;
int32_t l_678 = 0x948243ABL;
int32_t l_679[8][3] = {{(-5L),0x039C0E08L,(-5L)},{(-5L),0x039C0E08L,(-5L)},{(-5L),0x039C0E08L,(-5L)},{(-5L),0x039C0E08L,(-5L)},{(-5L),0x039C0E08L,(-5L)},{(-5L),0x039C0E08L,(-5L)},{(-5L),0x039C0E08L,(-5L)},{(-5L),0x039C0E08L,(-5L)}};
int32_t l_684 = 0x4A31783AL;
int i, j, k;
if (((safe_rshift_func_int8_t_s_s(((safe_mod_func_int64_t_s_s(g_308, (((*l_335) = (((safe_unary_minus_func_int32_t_s(p_52)) > (((p_54 , (safe_mul_func_int8_t_s_s((*l_335), (*g_443)))) == l_648) | (l_656 = (safe_lshift_func_uint8_t_u_u((g_139 , ((safe_rshift_func_int16_t_s_s(g_41, (safe_add_func_uint64_t_u_u((p_53 >= p_56), 0xBB0B0BE5E19F3B91LL)))) >= l_655)), 7))))) , p_56)) & l_648))) , (**g_442)), (**g_442))) || (***g_441)))
{ /* block id: 299 */
int64_t l_657 = (-5L);
int32_t l_673 = (-1L);
int32_t l_674 = 1L;
int32_t l_675 = 0xF40AB2B7L;
int32_t l_676 = 0x1F9DE41FL;
int32_t l_682 = 0xDF3D40BCL;
int32_t l_685 = 1L;
int16_t *l_696 = (void*)0;
for (g_103 = 3; (g_103 >= 0); g_103 -= 1)
{ /* block id: 302 */
int64_t l_658[7] = {(-5L),0x73535C56880B5BB0LL,(-5L),(-5L),0x73535C56880B5BB0LL,(-5L),(-5L)};
int32_t l_659 = 0xFCD7C2D7L;
int32_t l_687[3][4][9] = {{{(-1L),0xA45CF17FL,0L,0x5FFA3DF6L,0x2960D6F3L,(-2L),0x3EB6E56FL,0L,0xB9F0CF28L},{0L,9L,0x23A2A95BL,0L,0x37C88896L,0L,0x23A2A95BL,9L,0L},{(-1L),0x2960D6F3L,0x0BA02CA5L,0x5FFA3DF6L,0x67564E9AL,0xBEE8F0B9L,0x46D521F6L,0L,0x11CCBC60L},{0L,(-1L),0L,1L,(-10L),(-1L),0x4714FA0EL,0x4714FA0EL,(-1L)}},{{(-1L),0x67564E9AL,0x46D521F6L,0x67564E9AL,(-1L),0x3EB6E56FL,0x5FFA3DF6L,0xC0EEBAB7L,0xFB3DFDEEL},{0L,0x706303DBL,0x1CD098CBL,0x145CFE72L,(-10L),1L,(-1L),1L,1L},{0x2960D6F3L,(-1L),(-2L),0xBEE8F0B9L,0x3EB6E56FL,0x3EB6E56FL,0xBEE8F0B9L,(-2L),(-1L)},{0x4714FA0EL,1L,0x37C88896L,1L,0xAC59E105L,(-1L),9L,0x706303DBL,0L}},{{0x0BA02CA5L,9L,0x3EB6E56FL,0x46D521F6L,0x5FFA3DF6L,0xBEE8F0B9L,0x9C26405DL,0x11CCBC60L,0x9C26405DL},{0L,1L,0x146A3AD2L,0x146A3AD2L,1L,0L,0x1CD098CBL,0L,(-10L)},{0x5FFA3DF6L,(-1L),0L,0L,0xC0EEBAB7L,(-2L),0x11CCBC60L,0x67564E9AL,9L},{1L,0x706303DBL,0L,0xC22BCCBCL,0x1CD098CBL,(-10L),0x1CD098CBL,0xC22BCCBCL,0L}}};
int i, j, k;
l_660--;
(*l_631) = ((safe_mul_func_uint16_t_u_u((g_414 = ((**g_383) != (void*)0)), ((l_655 != p_56) <= (safe_add_func_int8_t_s_s((~(**g_442)), ((+0x1DBB1BC9L) , ((void*)0 != &l_633[g_103][(g_156 + 3)][(g_103 + 1)]))))))) < (((((l_669 , (void*)0) == (void*)0) , l_670[0][5][0]) == l_671) < l_672));
(*l_631) = l_672;
l_688--;
}
g_691++;
(*l_632) = (safe_mul_func_int16_t_s_s(((void*)0 == l_696), p_55));
}
else
{ /* block id: 311 */
g_183 = l_697;
}
for (l_613 = 4; (l_613 >= 15); l_613++)
{ /* block id: 316 */
int32_t l_707[8];
uint32_t *l_714 = &l_660;
uint64_t *l_715 = &g_80[2];
int32_t **l_717 = &l_339[g_156];
int32_t ***l_716 = &l_717;
const struct S0 l_718 = {77,125};
int i;
for (i = 0; i < 8; i++)
l_707[i] = 9L;
(*l_716) = ((((safe_lshift_func_int8_t_s_u((((*l_715) |= (safe_add_func_int8_t_s_s((safe_mul_func_int8_t_s_s((((+l_707[2]) & (((safe_unary_minus_func_uint16_t_u((safe_unary_minus_func_int8_t_s((65529UL && (((*l_714) = (((*l_335) = l_672) || (((*l_594) = 8UL) , (safe_add_func_uint16_t_u_u((0UL >= (&g_183 == &l_697)), (safe_sub_func_int8_t_s_s(p_56, l_656))))))) | 0x6F11A605L)))))) || p_56) == p_56)) > p_52), 0UL)), 7L))) || 0x8F0F764324570B76LL), l_707[2])) && g_144[0][0]) & l_679[6][2]) , (void*)0);
(*l_626) &= l_655;
(*l_630) &= p_54;
g_183 = l_718;
}
}
for (l_462 = 0; (l_462 == (-12)); --l_462)
{ /* block id: 329 */
int32_t **l_726 = &l_339[0];
int32_t ***l_725 = &l_726;
int32_t l_727 = 0L;
(*l_628) &= ((*l_627) = (safe_lshift_func_uint16_t_u_u(((safe_sub_func_int8_t_s_s(p_56, ((void*)0 != l_725))) & 0L), 0)));
(*l_628) ^= ((((l_727 , (*l_630)) , (((safe_lshift_func_uint16_t_u_u((safe_div_func_int16_t_s_s(((*l_329) = (((*l_626) <= (((*g_83) <= (((((safe_sub_func_int32_t_s_s(((l_734[1][2][2] == l_734[1][2][2]) > 0x39L), p_54)) , p_54) , &g_383) == l_735) < (*l_627))) == p_52)) == 0x6F0DL)), 65527UL)), 15)) > 0xDBB841FBL) > (*l_335))) ^ 0x67L) || p_56);
}
(*l_335) = 0x2A369EEDL;
}
(*l_366) = ((***l_494) = &g_454);
}
(*l_750) |= ((safe_div_func_uint16_t_u_u((*g_115), (safe_mod_func_uint64_t_u_u(((((p_56 & ((*l_335) & ((*l_335) < ((+0xC2L) > ((safe_mul_func_uint16_t_u_u((safe_div_func_int16_t_s_s(((*l_335) && p_53), (safe_add_func_int8_t_s_s((safe_lshift_func_int8_t_s_s((&g_78[1] == (void*)0), (*g_454))), p_55)))), (*l_335))) != 0UL))))) != 4294967291UL) ^ 0x0AFA902EL) , (*l_335)), g_236)))) != (**g_198));
(*l_767) = (safe_add_func_int64_t_s_s(((safe_sub_func_int32_t_s_s((p_55 & 0UL), 1UL)) != (safe_lshift_func_uint16_t_u_u((((void*)0 != &l_339[1]) , ((safe_add_func_int64_t_s_s(((safe_mul_func_uint16_t_u_u(((*l_750) &= (***g_384)), ((g_144[0][0] != (safe_add_func_int8_t_s_s((((((*l_335) = (((g_763 != (g_116 , g_763)) && 1UL) > 7L)) | p_54) & 65535UL) , p_55), (**g_442)))) ^ g_116))) , p_53), p_56)) != l_765)), (**g_385)))), g_236));
return g_50;
}
/* ------------------------------------------ */
/*
* reads : g_176 g_83 g_80 g_198
* writes: g_251 g_176
*/
uint64_t func_57(uint8_t p_58)
{ /* block id: 134 */
int32_t **l_310 = (void*)0;
int32_t **l_311 = (void*)0;
int32_t **l_312 = &g_251[0];
int8_t *l_316 = &g_236;
int8_t **l_315 = &l_316;
(*l_312) = &g_139;
for (g_176 = 0; (g_176 >= 12); ++g_176)
{ /* block id: 138 */
int8_t ***l_317 = &l_315;
(*l_317) = l_315;
return (*g_83);
}
return (**g_198);
}
/* ------------------------------------------ */
/*
* reads : g_78 g_80 g_50 g_27 g_110 g_103 g_129 g_41 g_140 g_156 g_144 g_115 g_82 g_83 g_183 g_176 g_200 g_139 g_198 g_116 g_236 g_3 g_306
* writes: g_82 g_50 g_103 g_110 g_115 g_116 g_129 g_140 g_156 g_83 g_176 g_198 g_200 g_139 g_80 g_236 g_251 g_306 g_308
*/
uint32_t func_63(int64_t * p_64, uint32_t p_65, uint64_t * p_66, int8_t p_67, uint16_t * p_68)
{ /* block id: 13 */
uint64_t ***l_81[6] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
int32_t l_105 = 3L;
int32_t l_128 = (-3L);
struct S0 l_133 = {70,107};
uint16_t *l_278 = &g_116;
uint16_t *l_279 = &g_140;
int i;
lbl_132:
g_82 = &p_66;
for (g_50 = 0; (g_50 == (-25)); g_50 = safe_sub_func_int16_t_s_s(g_50, 8))
{ /* block id: 17 */
uint64_t l_104[3][5][1] = {{{18446744073709551611UL},{0x97603614A4D94087LL},{7UL},{7UL},{0x97603614A4D94087LL}},{{18446744073709551611UL},{1UL},{18446744073709551611UL},{0x97603614A4D94087LL},{7UL}},{{7UL},{0x97603614A4D94087LL},{18446744073709551611UL},{1UL},{18446744073709551611UL}}};
int32_t l_108[2][2][7] = {{{(-8L),(-1L),0x4D75DB0CL,(-1L),(-8L),(-10L),(-8L)},{0x400D43E6L,(-5L),(-5L),0x400D43E6L,(-5L),(-5L),0x400D43E6L}},{{0xF7513D96L,(-1L),0xF7513D96L,(-5L),(-8L),(-5L),0xF7513D96L},{0x400D43E6L,0x400D43E6L,0x1B62C3DCL,0x400D43E6L,0x400D43E6L,0x1B62C3DCL,0x400D43E6L}}};
int32_t l_109 = 1L;
uint16_t l_126 = 0x235EL;
const int32_t *l_143 = &g_144[0][0];
uint16_t **l_148 = &g_115;
uint16_t ***l_147[9][7];
uint64_t ***l_159 = &g_82;
int i, j, k;
for (i = 0; i < 9; i++)
{
for (j = 0; j < 7; j++)
l_147[i][j] = &l_148;
}
for (p_67 = 5; (p_67 >= 0); p_67 -= 1)
{ /* block id: 20 */
int32_t *l_102[6] = {&g_3,&g_3,&g_3,&g_3,&g_3,&g_3};
int16_t *l_106 = (void*)0;
int16_t *l_107[5];
uint16_t **l_191 = &g_115;
int8_t l_201 = 0xE2L;
const int64_t *l_241 = (void*)0;
struct S0 l_269[7][3] = {{{-54,-68},{-54,-68},{-54,-68}},{{-67,-51},{-67,-51},{-67,-51}},{{-54,-68},{-54,-68},{-54,-68}},{{-67,-51},{-67,-51},{-67,-51}},{{-54,-68},{-54,-68},{-54,-68}},{{-67,-51},{-67,-51},{-67,-51}},{{-54,-68},{-54,-68},{-54,-68}}};
int i, j;
for (i = 0; i < 5; i++)
l_107[i] = (void*)0;
g_110[4] |= ((safe_rshift_func_uint8_t_u_u((safe_mul_func_int8_t_s_s(((safe_mod_func_int64_t_s_s(g_78[p_67], g_78[8])) <= (safe_sub_func_uint32_t_u_u(p_67, ((safe_rshift_func_int16_t_s_s(g_80[2], 5)) | (safe_mul_func_uint16_t_u_u(((((safe_mul_func_uint16_t_u_u((safe_mul_func_int8_t_s_s((((l_108[1][0][3] = (((0x18A1C1E9L & g_50) || (((l_104[1][3][0] = (((void*)0 != l_102[3]) | (g_103 = ((0L && 0xDCFCB68B63C96AADLL) & 0xCD35A08C8198303FLL)))) ^ (-1L)) >= 0x652606BDL)) , l_105)) && g_50) != p_65), g_80[1])), l_109)) , g_78[7]) , 250UL) <= g_27), 0L)))))), p_67)), 4)) <= l_109);
for (l_105 = 1; (l_105 <= 5); l_105 += 1)
{ /* block id: 27 */
uint16_t *l_114 = &g_27;
uint16_t **l_113[2][3][9] = {{{&l_114,&l_114,&l_114,&l_114,&l_114,&l_114,&l_114,&l_114,&l_114},{(void*)0,&l_114,(void*)0,&l_114,(void*)0,&l_114,(void*)0,&l_114,(void*)0},{&l_114,&l_114,&l_114,&l_114,&l_114,&l_114,&l_114,&l_114,&l_114}},{{(void*)0,&l_114,(void*)0,&l_114,(void*)0,&l_114,(void*)0,&l_114,(void*)0},{&l_114,&l_114,&l_114,&l_114,&l_114,&l_114,&l_114,&l_114,&l_114},{(void*)0,&l_114,(void*)0,&l_114,(void*)0,&l_114,(void*)0,&l_114,(void*)0}}};
int32_t l_121 = (-1L);
uint16_t ***l_122 = &l_113[0][2][5];
uint64_t ***l_123 = &g_82;
int32_t l_178 = 0x75ADD045L;
int i, j, k;
if (((l_81[l_105] = ((safe_mul_func_uint8_t_u_u(((g_115 = p_68) != p_68), (safe_rshift_func_int8_t_s_s(((safe_mod_func_uint16_t_u_u((0x5318L < ((l_121 , ((*l_122) = &p_68)) == &p_68)), l_104[0][0][0])) , ((*p_68) || (p_67 , l_121))), 0)))) , l_81[p_67])) == l_123))
{ /* block id: 31 */
for (g_116 = (-22); (g_116 >= 7); g_116 = safe_add_func_int16_t_s_s(g_116, 9))
{ /* block id: 34 */
const uint32_t l_127[4] = {0UL,0UL,0UL,0UL};
int i;
if (l_126)
break;
g_103 &= l_127[1];
g_129--;
if (l_126)
goto lbl_132;
}
}
else
{ /* block id: 40 */
uint16_t ***l_150 = &l_113[0][2][5];
int32_t l_177 = 0x3317AE6FL;
for (l_128 = 0; (l_128 <= 3); l_128 += 1)
{ /* block id: 43 */
struct S0 *l_134 = &l_133;
uint32_t *l_135 = &g_110[4];
int32_t l_136 = 0xD520E291L;
(*l_134) = l_133;
l_136 = (((*l_135) = g_41) >= p_67);
return g_41;
}
for (l_128 = 13; (l_128 >= 2); l_128 = safe_sub_func_int32_t_s_s(l_128, 1))
{ /* block id: 51 */
const int32_t *l_146 = &g_144[0][0];
const int32_t **l_145 = &l_146;
uint16_t ****l_149 = &l_147[2][6];
uint32_t *l_155 = &g_156;
uint64_t ***l_160 = &g_82;
int32_t l_173 = 0xEAE96DC6L;
g_140--;
(*l_145) = (l_143 = (void*)0);
l_150 = ((*l_149) = l_147[2][6]);
l_178 |= ((((safe_mul_func_uint16_t_u_u((((safe_mul_func_int16_t_s_s((g_41 , ((((*l_155)--) , l_159) != l_160)), (safe_rshift_func_uint8_t_u_s((safe_rshift_func_int8_t_s_s(g_144[1][0], 2)), 2)))) < 0x92953C3AE4ACFCA9LL) && g_144[1][0]), ((safe_mul_func_int16_t_s_s((safe_add_func_int16_t_s_s(((safe_rshift_func_int16_t_s_u((g_176 = ((safe_mul_func_uint16_t_u_u((l_173 = (*g_115)), 0xC58DL)) == (safe_add_func_uint32_t_u_u((((*g_82) = (*g_82)) == p_64), l_121)))), (*p_68))) , g_80[2]), (*p_68))), l_177)) && 246UL))) , (*p_66)) , 0xE658E48FL) , 6L);
}
}
}
if (p_65)
continue;
for (l_126 = 0; (l_126 <= 5); l_126 += 1)
{ /* block id: 68 */
struct S0 *l_184 = &l_133;
int64_t *l_199 = &g_200;
int64_t l_202[9][7] = {{0L,0x5D9A899DE2363870LL,9L,0x01878830C378F7CFLL,(-3L),0x01878830C378F7CFLL,9L},{0x5D9A899DE2363870LL,0x5D9A899DE2363870LL,0xDD471D0ACD337578LL,1L,(-3L),0xECA5D8F89870F340LL,0xC3FA5341DB1EA26DLL},{0x5D9A899DE2363870LL,0L,9L,1L,0xF8DB1BCEFE97C8ADLL,0x01878830C378F7CFLL,0xC3FA5341DB1EA26DLL},{0L,0x5D9A899DE2363870LL,9L,0x01878830C378F7CFLL,(-3L),0x01878830C378F7CFLL,9L},{0x5D9A899DE2363870LL,0x5D9A899DE2363870LL,0xDD471D0ACD337578LL,1L,(-3L),0xECA5D8F89870F340LL,0xC3FA5341DB1EA26DLL},{0x5D9A899DE2363870LL,0L,9L,1L,0xF8DB1BCEFE97C8ADLL,0x01878830C378F7CFLL,0xC3FA5341DB1EA26DLL},{0L,0x5D9A899DE2363870LL,9L,0x01878830C378F7CFLL,(-3L),0x01878830C378F7CFLL,9L},{0x5D9A899DE2363870LL,0x5D9A899DE2363870LL,0xDD471D0ACD337578LL,1L,(-3L),0xECA5D8F89870F340LL,0xC3FA5341DB1EA26DLL},{0x5D9A899DE2363870LL,0L,9L,1L,0xF8DB1BCEFE97C8ADLL,0x01878830C378F7CFLL,0xC3FA5341DB1EA26DLL}};
int32_t l_203 = 7L;
int32_t l_234[5] = {(-2L),(-2L),(-2L),(-2L),(-2L)};
uint32_t *l_240 = &g_156;
int32_t *l_250 = &l_128;
int32_t **l_277[5];
int i, j;
for (i = 0; i < 5; i++)
l_277[i] = &l_250;
if (((*g_83) , (l_203 |= (l_202[8][6] = (g_139 &= (((safe_add_func_uint32_t_u_u(g_80[2], (safe_add_func_int64_t_s_s((((*l_184) = g_183) , (((*l_199) &= (safe_mod_func_uint64_t_u_u((((safe_rshift_func_uint16_t_u_u((((safe_add_func_int8_t_s_s(0L, ((void*)0 != l_191))) , (safe_rshift_func_int8_t_s_s(((safe_rshift_func_uint16_t_u_s((safe_rshift_func_int16_t_s_s(1L, ((((*l_159) != (g_198 = &g_83)) , (void*)0) == (void*)0))), 5)) , 0x54L), p_65))) >= (*p_66)), l_105)) | g_176) , 0x81EAFD68FCE5417ELL), 0xB8C283C3F385F194LL))) || l_201)), 0x12B3B569674BCF40LL)))) & g_80[2]) ^ g_103))))))
{ /* block id: 75 */
int32_t l_233 = (-9L);
int8_t *l_235 = (void*)0;
int8_t *l_237 = &l_201;
if ((((*l_237) ^= (g_236 = (((safe_lshift_func_int8_t_s_u((((safe_rshift_func_int8_t_s_s((safe_mod_func_uint8_t_u_u(l_203, (safe_add_func_uint16_t_u_u((((**g_198) = (safe_mul_func_int16_t_s_s((((safe_sub_func_int64_t_s_s((l_234[3] = (((l_108[0][1][2] |= 0xA085L) <= (*p_68)) != ((safe_mod_func_int64_t_s_s(((+(**g_198)) != (safe_lshift_func_int16_t_s_u((((l_233 = (safe_add_func_uint32_t_u_u(((safe_add_func_uint8_t_u_u((((safe_lshift_func_int16_t_s_s((safe_rshift_func_int8_t_s_u((g_27 ^ (0x1FL == (((l_128 &= ((((*l_159) = &g_83) != (void*)0) || (safe_mul_func_uint16_t_u_u(((safe_div_func_int32_t_s_s(g_78[8], p_67)) & l_203), 1L)))) , g_80[3]) ^ 2UL))), p_67)), 11)) , 0x4295L) < (*g_115)), p_67)) ^ p_67), g_50))) < g_116) && p_65), (*p_68)))), 1UL)) != (*g_115)))), (*p_64))) , l_202[4][2]) > (*p_66)), (*g_115)))) || l_133.f1), 0x7DA6L)))), 6)) > l_203) < l_104[1][3][0]), g_129)) || g_103) & 0xBF88L))) ^ g_139))
{ /* block id: 84 */
uint8_t l_242 = 0xA0L;
int8_t **l_247 = &l_237;
uint32_t *l_248 = &g_110[4];
l_203 = (((safe_mul_func_uint16_t_u_u((l_242 = (((l_240 != l_240) >= 65528UL) == (p_64 != l_241))), ((safe_mul_func_uint16_t_u_u(65535UL, (g_116 = (((*l_247) = &l_201) == (void*)0)))) || (((*l_248) = (g_236 , g_200)) == 0x066FE94EL)))) , l_233) <= l_202[0][0]);
if (p_65)
continue;
}
else
{ /* block id: 91 */
int32_t **l_249[1][3][5] = {{{&l_102[1],&l_102[2],&l_102[2],&l_102[1],&l_102[2]},{&l_102[2],&l_102[2],&l_102[3],&l_102[2],&l_102[2]},{&l_102[2],&l_102[1],&l_102[2],&l_102[2],&l_102[1]}}};
const int64_t **l_264 = &l_241;
int i, j, k;
l_250 = &l_128;
g_251[0] = &g_103;
l_108[1][0][3] &= ((safe_rshift_func_uint8_t_u_s((safe_mod_func_int64_t_s_s((safe_mul_func_int8_t_s_s(((*l_237) ^= ((safe_mul_func_int8_t_s_s((0xE5DDL >= ((safe_mod_func_int32_t_s_s((safe_mul_func_uint16_t_u_u((((*l_264) = &g_200) != (void*)0), (p_65 , (safe_sub_func_int64_t_s_s(((*l_199) = (g_183 , ((safe_lshift_func_uint8_t_u_s(0x87L, 7)) >= (*g_115)))), l_133.f1))))), p_67)) <= p_65)), 3UL)) ^ (*l_250))), g_144[0][0])), l_105)), 7)) ^ p_65);
(*l_184) = l_269[0][2];
}
return g_144[0][0];
}
else
{ /* block id: 101 */
int32_t l_271 = 0L;
int32_t l_272 = 0x4B42A01CL;
int32_t l_273 = 1L;
(*l_250) ^= p_65;
for (g_140 = 0; (g_140 <= 5); g_140 += 1)
{ /* block id: 105 */
int32_t **l_270 = &l_250;
(*l_270) = &g_139;
if (l_133.f0)
break;
if (l_271)
break;
}
if (p_65)
break;
for (g_139 = 0; (g_139 <= 5); g_139 += 1)
{ /* block id: 113 */
uint8_t l_274 = 0UL;
if (p_67)
break;
l_274--;
}
}
g_251[0] = l_102[3];
if (l_128)
break;
}
}
l_133.f0 &= ((g_3 , l_278) != (l_279 = l_278));
for (g_140 = 0; (g_140 >= 13); g_140 = safe_add_func_int8_t_s_s(g_140, 3))
{ /* block id: 126 */
uint32_t l_304 = 0UL;
int16_t *l_305 = &g_306;
int16_t *l_307 = &g_308;
int32_t *l_309 = &l_128;
(*l_309) ^= (safe_mul_func_uint8_t_u_u((((l_133 = g_183) , (!(safe_lshift_func_uint8_t_u_u((safe_mul_func_int16_t_s_s(g_3, ((((safe_add_func_int8_t_s_s(((safe_mod_func_uint64_t_u_u(((safe_add_func_int16_t_s_s(((*l_307) = ((*l_305) ^= ((*p_64) == (((+((safe_mod_func_int64_t_s_s(((3UL > g_80[2]) <= (safe_add_func_uint8_t_u_u((safe_add_func_uint64_t_u_u(0x4CEBFDD095F5A7FCLL, (g_176 != ((((safe_mod_func_uint8_t_u_u(((void*)0 == (**l_159)), 0x46L)) >= g_27) > l_304) > g_140)))), g_80[1]))), 0xF1258D5DCE314975LL)) & 65535UL)) || g_144[0][0]) == g_129)))), (*g_115))) > l_105), l_133.f0)) <= (*p_68)), g_3)) > 0x3CA6L) | g_140) || l_133.f1))), 4)))) || g_80[1]), p_65));
}
}
return g_144[0][0];
}
/* ---------------------------------------- */
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_2, "g_2", print_hash_value);
transparent_crc(g_3, "g_3", print_hash_value);
transparent_crc(g_20, "g_20", print_hash_value);
transparent_crc(g_27, "g_27", print_hash_value);
transparent_crc(g_41, "g_41", print_hash_value);
transparent_crc(g_50, "g_50", print_hash_value);
for (i = 0; i < 9; i++)
{
transparent_crc(g_78[i], "g_78[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
for (i = 0; i < 4; i++)
{
transparent_crc(g_80[i], "g_80[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_103, "g_103", print_hash_value);
for (i = 0; i < 6; i++)
{
transparent_crc(g_110[i], "g_110[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_116, "g_116", print_hash_value);
transparent_crc(g_129, "g_129", print_hash_value);
transparent_crc(g_139, "g_139", print_hash_value);
transparent_crc(g_140, "g_140", print_hash_value);
for (i = 0; i < 2; i++)
{
for (j = 0; j < 1; j++)
{
transparent_crc(g_144[i][j], "g_144[i][j]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
transparent_crc(g_156, "g_156", print_hash_value);
transparent_crc(g_176, "g_176", print_hash_value);
transparent_crc(g_183.f0, "g_183.f0", print_hash_value);
transparent_crc(g_183.f1, "g_183.f1", print_hash_value);
transparent_crc(g_200, "g_200", print_hash_value);
transparent_crc(g_236, "g_236", print_hash_value);
transparent_crc(g_306, "g_306", print_hash_value);
transparent_crc(g_308, "g_308", print_hash_value);
transparent_crc(g_333, "g_333", print_hash_value);
transparent_crc(g_414, "g_414", print_hash_value);
transparent_crc(g_464, "g_464", print_hash_value);
transparent_crc(g_506, "g_506", print_hash_value);
transparent_crc(g_525, "g_525", print_hash_value);
transparent_crc(g_691, "g_691", print_hash_value);
transparent_crc(g_838, "g_838", print_hash_value);
for (i = 0; i < 10; i++)
{
for (j = 0; j < 8; j++)
{
for (k = 0; k < 3; k++)
{
transparent_crc(g_852[i][j][k], "g_852[i][j][k]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
}
}
}
transparent_crc(g_892.f0, "g_892.f0", print_hash_value);
transparent_crc(g_892.f1, "g_892.f1", print_hash_value);
transparent_crc(g_893.f0, "g_893.f0", print_hash_value);
transparent_crc(g_893.f1, "g_893.f1", print_hash_value);
transparent_crc(g_992, "g_992", print_hash_value);
transparent_crc(g_1108, "g_1108", print_hash_value);
transparent_crc(g_1111, "g_1111", print_hash_value);
transparent_crc(g_1118, "g_1118", print_hash_value);
for (i = 0; i < 1; i++)
{
transparent_crc(g_1289[i], "g_1289[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_1311, "g_1311", print_hash_value);
transparent_crc(g_1325, "g_1325", print_hash_value);
for (i = 0; i < 7; i++)
{
transparent_crc(g_1385[i], "g_1385[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_1430, "g_1430", print_hash_value);
transparent_crc(g_1440, "g_1440", print_hash_value);
transparent_crc(g_1460, "g_1460", print_hash_value);
transparent_crc(g_1561, "g_1561", print_hash_value);
transparent_crc(g_1648, "g_1648", print_hash_value);
transparent_crc(g_2218, "g_2218", print_hash_value);
transparent_crc(g_2220, "g_2220", print_hash_value);
transparent_crc(g_2229, "g_2229", print_hash_value);
transparent_crc(g_2406, "g_2406", print_hash_value);
transparent_crc(g_2407, "g_2407", print_hash_value);
transparent_crc(g_2518, "g_2518", print_hash_value);
transparent_crc(g_2851, "g_2851", print_hash_value);
transparent_crc(g_3232, "g_3232", print_hash_value);
for (i = 0; i < 1; i++)
{
transparent_crc(g_3338[i], "g_3338[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_3513, "g_3513", print_hash_value);
transparent_crc(g_3543, "g_3543", print_hash_value);
transparent_crc(g_3570, "g_3570", print_hash_value);
transparent_crc(g_3580, "g_3580", print_hash_value);
transparent_crc(g_3732, "g_3732", print_hash_value);
transparent_crc(g_3842, "g_3842", print_hash_value);
transparent_crc(g_3854, "g_3854", print_hash_value);
transparent_crc(g_3876, "g_3876", print_hash_value);
platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
return 0;
}
/************************ statistics *************************
XXX max struct depth: 1
breakdown:
depth: 0, occurrence: 921
depth: 1, occurrence: 33
XXX total union variables: 0
XXX non-zero bitfields defined in structs: 2
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: 68
breakdown:
indirect level: 0, occurrence: 33
indirect level: 1, occurrence: 9
indirect level: 2, occurrence: 8
indirect level: 3, occurrence: 7
indirect level: 4, occurrence: 4
indirect level: 5, occurrence: 7
XXX full-bitfields structs in the program: 33
breakdown:
indirect level: 0, occurrence: 33
XXX times a bitfields struct's address is taken: 40
XXX times a bitfields struct on LHS: 9
XXX times a bitfields struct on RHS: 44
XXX times a single bitfield on LHS: 6
XXX times a single bitfield on RHS: 59
XXX max expression depth: 47
breakdown:
depth: 1, occurrence: 258
depth: 2, occurrence: 70
depth: 3, occurrence: 6
depth: 4, occurrence: 4
depth: 5, occurrence: 1
depth: 6, occurrence: 1
depth: 10, occurrence: 1
depth: 13, occurrence: 1
depth: 15, occurrence: 1
depth: 16, occurrence: 2
depth: 17, occurrence: 2
depth: 18, occurrence: 2
depth: 19, occurrence: 1
depth: 20, occurrence: 8
depth: 21, occurrence: 1
depth: 22, occurrence: 3
depth: 23, occurrence: 3
depth: 24, occurrence: 2
depth: 26, occurrence: 2
depth: 27, occurrence: 3
depth: 28, occurrence: 2
depth: 29, occurrence: 3
depth: 30, occurrence: 4
depth: 31, occurrence: 1
depth: 32, occurrence: 1
depth: 33, occurrence: 2
depth: 35, occurrence: 3
depth: 37, occurrence: 1
depth: 42, occurrence: 1
depth: 47, occurrence: 1
XXX total number of pointers: 792
XXX times a variable address is taken: 1732
XXX times a pointer is dereferenced on RHS: 774
breakdown:
depth: 1, occurrence: 579
depth: 2, occurrence: 111
depth: 3, occurrence: 50
depth: 4, occurrence: 34
XXX times a pointer is dereferenced on LHS: 568
breakdown:
depth: 1, occurrence: 441
depth: 2, occurrence: 75
depth: 3, occurrence: 28
depth: 4, occurrence: 23
depth: 5, occurrence: 1
XXX times a pointer is compared with null: 67
XXX times a pointer is compared with address of another variable: 21
XXX times a pointer is compared with another pointer: 25
XXX times a pointer is qualified to be dereferenced: 12277
XXX max dereference level: 5
breakdown:
level: 0, occurrence: 0
level: 1, occurrence: 2693
level: 2, occurrence: 732
level: 3, occurrence: 346
level: 4, occurrence: 279
level: 5, occurrence: 8
XXX number of pointers point to pointers: 390
XXX number of pointers point to scalars: 381
XXX number of pointers point to structs: 21
XXX percent of pointers has null in alias set: 30.8
XXX average alias set size: 1.5
XXX times a non-volatile is read: 3614
XXX times a non-volatile is write: 1776
XXX times a volatile is read: 109
XXX times read thru a pointer: 76
XXX times a volatile is write: 25
XXX times written thru a pointer: 17
XXX times a volatile is available for access: 1.24e+03
XXX percentage of non-volatile access: 97.6
XXX forward jumps: 7
XXX backward jumps: 12
XXX stmts: 263
XXX max block depth: 5
breakdown:
depth: 0, occurrence: 32
depth: 1, occurrence: 34
depth: 2, occurrence: 33
depth: 3, occurrence: 47
depth: 4, occurrence: 53
depth: 5, occurrence: 64
XXX percentage a fresh-made variable is used: 16.5
XXX percentage an existing variable is used: 83.5
FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
********************* end of statistics **********************/