dwarf-synthesis/testsuite/csmith/clang_O0/16.c

1429 lines
86 KiB
C

/*
* This is a RANDOMLY GENERATED PROGRAM.
*
* Generator: csmith 2.3.0
* Git version: 30dccd7
* Options: (none)
* Seed: 3304611790874928386
*/
#include "csmith.h"
static long __undefined;
/* --- Struct/Union Declarations --- */
struct S0 {
volatile uint8_t f0;
signed f1 : 12;
volatile signed f2 : 16;
signed f3 : 18;
};
union U1 {
int8_t * f0;
volatile uint32_t f1;
};
/* --- GLOBAL VARIABLES --- */
static int32_t g_8[3][5] = {{0x8A835A23L,(-1L),0x3DE0369BL,0x3DE0369BL,(-1L)},{0x8A835A23L,(-1L),0x3DE0369BL,0x3DE0369BL,(-1L)},{0x8A835A23L,(-1L),0x3DE0369BL,0x3DE0369BL,(-1L)}};
static int8_t g_12 = (-5L);
static int32_t g_17 = 0L;
static int32_t *g_16 = &g_17;
static const union U1 g_23[4][10] = {{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}},{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}}};
static int8_t g_26 = (-4L);
static int8_t *g_25[7] = {&g_26,&g_26,&g_26,&g_26,&g_26,&g_26,&g_26};
static int32_t * volatile g_30 = &g_8[1][3];/* VOLATILE GLOBAL g_30 */
static uint32_t g_50 = 18446744073709551607UL;
static uint64_t g_56 = 0x44E4153CDCE3FF50LL;
static uint16_t g_61 = 0x2E23L;
static uint16_t g_74 = 0x481FL;
static uint8_t g_137 = 0x77L;
static const volatile struct S0 g_147[4] = {{255UL,38,-211,252},{255UL,38,-211,252},{255UL,38,-211,252},{255UL,38,-211,252}};
static uint8_t g_151[3] = {0xCAL,0xCAL,0xCAL};
static uint32_t g_155 = 0UL;
static volatile struct S0 g_156 = {8UL,-5,243,-160};/* VOLATILE GLOBAL g_156 */
static volatile uint64_t g_191 = 0xF057B95470CACEDFLL;/* VOLATILE GLOBAL g_191 */
static volatile uint64_t *g_190 = &g_191;
static uint64_t g_193 = 0x07E331B442378E47LL;
static uint32_t g_196 = 0UL;
static uint64_t g_225 = 0x1156827892DAB10FLL;
static uint64_t * volatile g_224 = &g_225;/* VOLATILE GLOBAL g_224 */
static const int64_t g_249 = 0x7EDE46C11320EAB8LL;
static const int64_t *g_248 = &g_249;
static uint16_t g_254 = 0xEBE9L;
static int64_t g_262[8][4] = {{0L,0x3F0FEBA861831C3ELL,0L,0xA9240DAAB13C8202LL},{0x5867A26E7149C653LL,0x3F0FEBA861831C3ELL,0xF516F70F242EEF4DLL,0x3F0FEBA861831C3ELL},{0x5867A26E7149C653LL,0xA9240DAAB13C8202LL,0L,0x3F0FEBA861831C3ELL},{0L,0x3F0FEBA861831C3ELL,0L,0xA9240DAAB13C8202LL},{0x5867A26E7149C653LL,0x3F0FEBA861831C3ELL,0xF516F70F242EEF4DLL,0x3F0FEBA861831C3ELL},{0x5867A26E7149C653LL,0xA9240DAAB13C8202LL,0L,0x3F0FEBA861831C3ELL},{0L,0x3F0FEBA861831C3ELL,0L,0xA9240DAAB13C8202LL},{0x5867A26E7149C653LL,0x3F0FEBA861831C3ELL,0xF516F70F242EEF4DLL,0x3F0FEBA861831C3ELL}};
static int64_t *g_261 = &g_262[1][3];
static int64_t **g_260[4] = {&g_261,&g_261,&g_261,&g_261};
static uint16_t g_267 = 65534UL;
static struct S0 g_287 = {0xB6L,36,-28,-316};/* VOLATILE GLOBAL g_287 */
static struct S0 * volatile g_288 = &g_287;/* VOLATILE GLOBAL g_288 */
static struct S0 g_304 = {7UL,54,-6,-16};/* VOLATILE GLOBAL g_304 */
static struct S0 g_305 = {4UL,31,252,101};/* VOLATILE GLOBAL g_305 */
static int64_t g_309 = 0x998A2E6060EF3B87LL;
static volatile struct S0 g_341[2] = {{0x9EL,-36,108,221},{0x9EL,-36,108,221}};
static int32_t **g_347[5] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static volatile union U1 g_349 = {0};/* VOLATILE GLOBAL g_349 */
static uint32_t g_365 = 0x53D7263AL;
static uint16_t g_389 = 0xDB22L;
static volatile struct S0 g_390 = {0xA7L,-13,-102,-476};/* VOLATILE GLOBAL g_390 */
static struct S0 g_395 = {0x75L,-36,123,259};/* VOLATILE GLOBAL g_395 */
static struct S0 *g_394 = &g_395;
static int32_t ***g_400 = &g_347[2];
static int32_t ****g_399 = &g_400;
static int32_t ***** volatile g_398 = &g_399;/* VOLATILE GLOBAL g_398 */
static volatile int32_t *g_416 = (void*)0;
static volatile int32_t ** volatile g_417 = &g_416;/* VOLATILE GLOBAL g_417 */
static int32_t * volatile g_438 = &g_17;/* VOLATILE GLOBAL g_438 */
static int16_t g_441 = 0x52E1L;
static uint16_t g_457 = 1UL;
static const volatile struct S0 g_458 = {255UL,61,234,354};/* VOLATILE GLOBAL g_458 */
static volatile int32_t g_462 = 3L;/* VOLATILE GLOBAL g_462 */
static struct S0 g_463 = {250UL,-12,66,175};/* VOLATILE GLOBAL g_463 */
static struct S0 g_472 = {255UL,-50,218,-421};/* VOLATILE GLOBAL g_472 */
static struct S0 g_473[8][4] = {{{0UL,-45,77,301},{0x6DL,-57,24,-85},{0xF2L,48,145,-102},{0x90L,3,-69,189}},{{0x90L,3,-69,189},{0xEAL,27,-106,503},{0x58L,-33,206,-368},{0x6DL,-57,24,-85}},{{255UL,-14,146,443},{0x58L,-33,206,-368},{0x58L,-33,206,-368},{255UL,-14,146,443}},{{0x90L,3,-69,189},{254UL,-55,253,-22},{0xF2L,48,145,-102},{0x7AL,35,-193,44}},{{0UL,-45,77,301},{3UL,-42,-192,-119},{0x7AL,35,-193,44},{4UL,36,255,470}},{{0x7AL,35,-193,44},{4UL,36,255,470},{0xD5L,33,-152,-103},{4UL,36,255,470}},{{0x58L,-33,206,-368},{3UL,-42,-192,-119},{0xEAL,27,-106,503},{0x7AL,35,-193,44}},{{255UL,-43,-72,-3},{254UL,-55,253,-22},{4UL,36,255,470},{255UL,-14,146,443}}};
static struct S0 g_490 = {253UL,-23,164,141};/* VOLATILE GLOBAL g_490 */
static struct S0 g_491 = {255UL,-53,-169,188};/* VOLATILE GLOBAL g_491 */
static const union U1 *g_495 = &g_23[0][4];
static const union U1 ** volatile g_494 = &g_495;/* VOLATILE GLOBAL g_494 */
static struct S0 g_496 = {9UL,-19,-210,84};/* VOLATILE GLOBAL g_496 */
static uint16_t *g_533 = &g_74;
static struct S0 g_547 = {1UL,7,201,-446};/* VOLATILE GLOBAL g_547 */
static union U1 g_583 = {0};/* VOLATILE GLOBAL g_583 */
static uint32_t **g_590[1] = {(void*)0};
static uint32_t *** volatile g_591[9][10] = {{(void*)0,&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0]},{(void*)0,&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0]},{&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0]},{(void*)0,&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0]},{(void*)0,&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0]},{&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0]},{(void*)0,&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0]},{(void*)0,&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0]},{&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0],&g_590[0]}};
static uint32_t *** volatile *g_599 = &g_591[0][0];
static uint32_t *** volatile ** volatile g_598[3] = {&g_599,&g_599,&g_599};
static volatile union U1 g_603 = {0};/* VOLATILE GLOBAL g_603 */
static union U1 g_622 = {0};/* VOLATILE GLOBAL g_622 */
static uint8_t g_662 = 250UL;
static volatile struct S0 g_681 = {0xA6L,-3,181,112};/* VOLATILE GLOBAL g_681 */
static struct S0 g_714 = {0x1FL,-47,-91,-492};/* VOLATILE GLOBAL g_714 */
static volatile struct S0 g_739 = {1UL,0,-5,494};/* VOLATILE GLOBAL g_739 */
static uint16_t g_758 = 5UL;
static volatile struct S0 g_760 = {0x6CL,15,112,418};/* VOLATILE GLOBAL g_760 */
static uint32_t g_769 = 0xB855C794L;
static struct S0 **g_775 = (void*)0;
static const uint32_t g_785[10][10][2] = {{{0xADDCA8B1L,8UL},{0x39199F53L,0xDDC3CE75L},{0x34AE2CF4L,18446744073709551613UL},{18446744073709551611UL,0xFBBDB9BFL},{9UL,0x2BC5FE40L},{0UL,0x33E7E541L},{0UL,0x33E7E541L},{0UL,0x2BC5FE40L},{9UL,0xFBBDB9BFL},{18446744073709551611UL,18446744073709551613UL}},{{0x34AE2CF4L,0xDDC3CE75L},{0x39199F53L,8UL},{0xADDCA8B1L,8UL},{0x94CD81D0L,6UL},{0x291D4ABDL,0x0112864FL},{0x34AE2CF4L,1UL},{0UL,0x986A1DD3L},{1UL,0x2BC5FE40L},{18446744073709551615UL,0x291D4ABDL},{0xDFB87F4CL,0x39199F53L}},{{0UL,18446744073709551611UL},{0x5AA3CC48L,0x986A1DD3L},{18446744073709551615UL,18446744073709551613UL},{6UL,0x5D5545EAL},{0x291D4ABDL,18446744073709551615UL},{0xADDCA8B1L,7UL},{7UL,8UL},{6UL,0x0112864FL},{6UL,2UL},{18446744073709551611UL,0UL}},{{1UL,18446744073709551611UL},{0x2BC5FE40L,0x33E7E541L},{0UL,0x39199F53L},{18446744073709551615UL,18446744073709551615UL},{9UL,0UL},{18446744073709551615UL,1UL},{18446744073709551615UL,0xDDC3CE75L},{6UL,18446744073709551615UL},{0x94CD81D0L,0xB7B4B1E9L},{0x94CD81D0L,18446744073709551615UL}},{{6UL,0xDDC3CE75L},{18446744073709551615UL,1UL},{18446744073709551615UL,0UL},{9UL,18446744073709551615UL},{18446744073709551615UL,0x39199F53L},{0UL,0x33E7E541L},{0x2BC5FE40L,18446744073709551611UL},{1UL,0UL},{18446744073709551611UL,2UL},{6UL,0x0112864FL}},{{6UL,8UL},{7UL,7UL},{0xADDCA8B1L,18446744073709551615UL},{0x291D4ABDL,0x5D5545EAL},{6UL,18446744073709551613UL},{18446744073709551615UL,0x986A1DD3L},{0x5AA3CC48L,18446744073709551611UL},{0UL,0x39199F53L},{0xDFB87F4CL,0x291D4ABDL},{18446744073709551615UL,0x2BC5FE40L}},{{1UL,0x986A1DD3L},{0UL,1UL},{0x34AE2CF4L,0x0112864FL},{0x291D4ABDL,6UL},{0x94CD81D0L,8UL},{0xADDCA8B1L,8UL},{0x39199F53L,0xDDC3CE75L},{0x34AE2CF4L,18446744073709551613UL},{18446744073709551611UL,0xFBBDB9BFL},{9UL,0x2BC5FE40L}},{{0UL,0x33E7E541L},{0UL,0x33E7E541L},{0UL,0x2BC5FE40L},{9UL,0xFBBDB9BFL},{18446744073709551611UL,18446744073709551613UL},{0x34AE2CF4L,0xDDC3CE75L},{0x39199F53L,8UL},{0xADDCA8B1L,8UL},{0x94CD81D0L,6UL},{0x291D4ABDL,0x0112864FL}},{{0x34AE2CF4L,1UL},{0UL,0x986A1DD3L},{1UL,0x2BC5FE40L},{18446744073709551615UL,0x291D4ABDL},{0xDFB87F4CL,0x39199F53L},{0UL,18446744073709551611UL},{0x5AA3CC48L,0x986A1DD3L},{18446744073709551615UL,18446744073709551613UL},{6UL,0x5D5545EAL},{0x291D4ABDL,18446744073709551615UL}},{{0xADDCA8B1L,7UL},{7UL,8UL},{6UL,0x0112864FL},{6UL,2UL},{18446744073709551611UL,0x43BBE4ECL},{0x81887AD2L,0xB7B4B1E9L},{1UL,0xDFB87F4CL},{1UL,0UL},{8UL,8UL},{0UL,0x43BBE4ECL}}};
static struct S0 g_787[6][3] = {{{255UL,-16,48,-404},{0xFAL,-13,-246,384},{255UL,-16,48,-404}},{{255UL,-16,48,-404},{0xFAL,-13,-246,384},{255UL,-16,48,-404}},{{255UL,-16,48,-404},{0xFAL,-13,-246,384},{255UL,-16,48,-404}},{{255UL,-16,48,-404},{0xFAL,-13,-246,384},{255UL,-16,48,-404}},{{255UL,-16,48,-404},{0xFAL,-13,-246,384},{255UL,-16,48,-404}},{{255UL,-16,48,-404},{0xFAL,-13,-246,384},{255UL,-16,48,-404}}};
static uint8_t g_844 = 0x4EL;
static struct S0 g_861 = {0UL,-20,-39,380};/* VOLATILE GLOBAL g_861 */
static volatile struct S0 g_877[4] = {{0xDEL,-63,45,53},{0xDEL,-63,45,53},{0xDEL,-63,45,53},{0xDEL,-63,45,53}};
static union U1 g_880 = {0};/* VOLATILE GLOBAL g_880 */
static union U1 g_889 = {0};/* VOLATILE GLOBAL g_889 */
static union U1 *g_888 = &g_889;
static union U1 g_891 = {0};/* VOLATILE GLOBAL g_891 */
static volatile int32_t ** volatile g_987 = &g_416;/* VOLATILE GLOBAL g_987 */
static union U1 g_990 = {0};/* VOLATILE GLOBAL g_990 */
static struct S0 g_994 = {0UL,-49,-198,-93};/* VOLATILE GLOBAL g_994 */
static uint32_t g_998 = 0x9D2C6F12L;
static const int32_t *g_1020 = &g_8[1][3];
static const int32_t **g_1019[1] = {&g_1020};
static const int32_t ***g_1018[4] = {&g_1019[0],&g_1019[0],&g_1019[0],&g_1019[0]};
static const int32_t ****g_1017[4] = {&g_1018[1],&g_1018[1],&g_1018[1],&g_1018[1]};
static volatile union U1 g_1042 = {0};/* VOLATILE GLOBAL g_1042 */
static volatile uint8_t g_1056 = 0x0CL;/* VOLATILE GLOBAL g_1056 */
static const union U1 ** volatile g_1099 = &g_495;/* VOLATILE GLOBAL g_1099 */
static struct S0 * volatile ** volatile * volatile g_1100 = (void*)0;/* VOLATILE GLOBAL g_1100 */
static struct S0 ***g_1115 = &g_775;
static int64_t ***g_1165 = &g_260[2];
static int64_t ****g_1164 = &g_1165;
static const union U1 ** volatile g_1177 = &g_495;/* VOLATILE GLOBAL g_1177 */
static volatile struct S0 g_1197[9] = {{0x2BL,-42,-133,-299},{0x2BL,-42,-133,-299},{0x2BL,-42,-133,-299},{0x2BL,-42,-133,-299},{0x2BL,-42,-133,-299},{0x2BL,-42,-133,-299},{0x2BL,-42,-133,-299},{0x2BL,-42,-133,-299},{0x2BL,-42,-133,-299}};
static volatile struct S0 g_1198 = {253UL,30,-133,-127};/* VOLATILE GLOBAL g_1198 */
static const int32_t * const *g_1231 = &g_1020;
static const int32_t * const **g_1230 = &g_1231;
static const int32_t * const ** const *g_1229 = &g_1230;
static volatile struct S0 g_1339 = {3UL,28,179,404};/* VOLATILE GLOBAL g_1339 */
static int32_t *g_1341 = &g_8[1][3];
static volatile int32_t *g_1346[5][10] = {{&g_462,&g_462,&g_462,(void*)0,(void*)0,&g_462,&g_462,&g_462,(void*)0,(void*)0},{&g_462,&g_462,&g_462,(void*)0,(void*)0,&g_462,&g_462,&g_462,(void*)0,(void*)0},{&g_462,&g_462,&g_462,(void*)0,(void*)0,&g_462,&g_462,&g_462,(void*)0,(void*)0},{&g_462,&g_462,&g_462,(void*)0,(void*)0,&g_462,&g_462,&g_462,(void*)0,(void*)0},{&g_462,&g_462,&g_462,(void*)0,(void*)0,&g_462,&g_462,&g_462,(void*)0,(void*)0}};
static volatile int32_t ** volatile g_1347 = &g_416;/* VOLATILE GLOBAL g_1347 */
static uint64_t g_1365 = 0xA55016556285C5A9LL;
static const union U1 ** volatile g_1417[1] = {&g_495};
static struct S0 g_1464[9][8] = {{{0x4DL,-40,223,146},{9UL,26,238,468},{0xC2L,50,-87,-383},{0xB8L,-25,-29,36},{9UL,26,238,468},{0UL,44,-114,-131},{9UL,-50,-221,367},{255UL,-10,218,-502}},{{5UL,49,189,492},{247UL,-63,-6,-273},{0xA9L,-50,9,-160},{0UL,-28,23,-195},{9UL,-50,-221,367},{0UL,-28,23,-195},{0xA9L,-50,9,-160},{247UL,-63,-6,-273}},{{0x42L,60,-150,-205},{0xA9L,-50,9,-160},{0xE7L,56,-37,-328},{9UL,26,238,468},{1UL,-23,-239,-225},{252UL,-14,-14,72},{0x75L,22,136,-334},{1UL,-23,-239,-225}},{{0xB8L,-25,-29,36},{255UL,-10,218,-502},{9UL,39,106,67},{0xB8L,-25,-29,36},{0x42L,60,-150,-205},{3UL,-13,-177,-374},{0x75L,22,136,-334},{0x4DL,-40,223,146}},{{0xA9L,-50,9,-160},{0xB8L,-25,-29,36},{0xE7L,56,-37,-328},{252UL,-14,-14,72},{250UL,7,-24,65},{1UL,-8,3,-316},{0xA9L,-50,9,-160},{9UL,-50,-221,367}},{{250UL,7,-24,65},{1UL,-8,3,-316},{0xA9L,-50,9,-160},{9UL,-50,-221,367},{0xEDL,37,-244,256},{0xEDL,37,-244,256},{9UL,-50,-221,367},{0xA9L,-50,9,-160}},{{255UL,-10,218,-502},{255UL,-10,218,-502},{0xC2L,50,-87,-383},{0x42L,60,-150,-205},{247UL,-63,-6,-273},{248UL,-27,11,385},{0x4DL,-40,223,146},{0x75L,22,136,-334}},{{0xE7L,56,-37,-328},{248UL,-20,98,-368},{0xDDL,49,-90,225},{0xA9L,-50,9,-160},{250UL,7,-24,65},{0UL,-28,23,-195},{1UL,-23,-239,-225},{0x75L,22,136,-334}},{{248UL,-20,98,-368},{0xEDL,37,-244,256},{5UL,49,189,492},{0x42L,60,-150,-205},{0xDDL,49,-90,225},{5UL,49,189,492},{247UL,-63,-6,-273},{0xA9L,-50,9,-160}}};
static int32_t g_1517[4][10][2] = {{{0xB4EB433DL,1L},{3L,1L},{(-9L),1L},{0xD41014C5L,(-9L)},{1L,0x242A8798L},{1L,0x641863E9L},{0xD41014C5L,0xB4EB433DL},{0x641863E9L,1L},{0xF856C4CEL,2L},{(-5L),0x44E38A4FL}},{{0L,0x44E38A4FL},{(-5L),2L},{1L,0x34A83757L},{1L,(-5L)},{3L,1L},{0xAF9AB3E0L,9L},{0L,0x5CCBA5CAL},{3L,1L},{0x5CCBA5CAL,0x34A83757L},{0x5C1F248AL,1L}},{{(-5L),0L},{0x44E38A4FL,0x44E38A4FL},{1L,1L},{1L,0xBE9CAC7FL},{0x5CCBA5CAL,(-5L)},{0xEEC2E0B5L,0x5CCBA5CAL},{0xAF9AB3E0L,0xC53803AAL},{0xAF9AB3E0L,0x5CCBA5CAL},{0xEEC2E0B5L,(-5L)},{0x5CCBA5CAL,0xBE9CAC7FL}},{{1L,1L},{1L,0x44E38A4FL},{0x44E38A4FL,0L},{(-5L),1L},{0x5C1F248AL,0x34A83757L},{0x5CCBA5CAL,1L},{3L,0x5CCBA5CAL},{0L,9L},{0xAF9AB3E0L,1L},{3L,(-5L)}}};
static volatile uint32_t g_1521 = 18446744073709551615UL;/* VOLATILE GLOBAL g_1521 */
static struct S0 g_1523 = {0UL,33,-8,74};/* VOLATILE GLOBAL g_1523 */
static int32_t g_1587 = 0x9EAF2A79L;
static union U1 g_1667 = {0};/* VOLATILE GLOBAL g_1667 */
static struct S0 g_1673[7][2] = {{{1UL,15,29,381},{0xCEL,-4,-177,-190}},{{6UL,7,124,292},{247UL,4,167,-404}},{{0xCEL,-4,-177,-190},{247UL,4,167,-404}},{{6UL,7,124,292},{0xCEL,-4,-177,-190}},{{1UL,15,29,381},{1UL,15,29,381}},{{1UL,15,29,381},{0xCEL,-4,-177,-190}},{{6UL,7,124,292},{247UL,4,167,-404}}};
static struct S0 g_1674 = {0x3AL,14,158,-141};/* VOLATILE GLOBAL g_1674 */
static const union U1 g_1680 = {0};/* VOLATILE GLOBAL g_1680 */
static const int32_t ** volatile g_1681[10] = {(void*)0,&g_1020,(void*)0,&g_1020,(void*)0,&g_1020,(void*)0,&g_1020,(void*)0,&g_1020};
static uint16_t g_1735 = 0UL;
/* --- FORWARD DECLARATIONS --- */
uint8_t func_1(void);
int32_t * func_2(const uint32_t p_3, int64_t p_4, int8_t * p_5, int8_t * p_6);
uint16_t func_63(uint32_t p_64, uint32_t p_65);
uint16_t func_66(int16_t p_67, int32_t ** p_68, uint16_t * p_69, int8_t p_70, uint16_t * p_71);
uint8_t func_78(const uint16_t p_79, int64_t p_80, int32_t ** p_81);
struct S0 func_84(uint32_t p_85, const int64_t p_86, const int32_t ** const p_87, int64_t p_88, int32_t ** p_89);
int64_t func_90(int32_t * p_91, int16_t p_92, int8_t p_93, uint64_t * const p_94);
int32_t * func_95(uint16_t * p_96);
int32_t func_98(uint32_t p_99, uint16_t p_100, uint16_t p_101, int32_t ** p_102, uint64_t * p_103);
int32_t ** func_105(uint8_t p_106);
/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/*
* reads : g_8 g_23 g_25 g_30 g_50 g_56 g_61 g_26 g_1165 g_260 g_261 g_262 g_287.f2 g_287.f0 g_473.f3 g_249 g_994.f1 g_785 g_309 g_463.f3 g_533 g_74 g_861.f3 g_389 g_155 g_17 g_12 g_1164 g_1020 g_1339 g_394 g_844 g_1346 g_1347 g_190 g_191 g_395.f3 g_395.f1 g_769 g_304.f3 g_998 g_473.f1 g_1365 g_137 g_248 g_1230 g_1231 g_287.f1 g_305.f1 g_1099 g_495 g_399 g_400 g_1341 g_463.f1 g_472.f0 g_1587 g_457 g_224 g_225 g_861.f1 g_1198.f1 g_196 g_547.f1 g_288 g_287 g_462 g_1673 g_1680 g_681.f3 g_758 g_267 g_994.f3
* writes: g_16 g_12 g_17 g_8 g_50 g_56 g_61 g_151 g_457 g_262 g_662 g_309 g_395 g_1341 g_74 g_225 g_758 g_267 g_416 g_998 g_347 g_1365 g_196 g_441 g_769 g_365 g_155 g_1587 g_1674 g_1517 g_1735 g_472.f0 g_590
*/
uint8_t func_1(void)
{ /* block id: 0 */
int8_t *l_11 = &g_12;
int32_t *l_13 = (void*)0;
int32_t *l_15 = &g_8[2][1];
int32_t **l_14[3];
const uint16_t l_24 = 0x34ADL;
uint16_t **l_1355 = &g_533;
uint64_t *l_1403[8][2] = {{&g_225,&g_225},{&g_225,&g_225},{&g_225,&g_225},{&g_225,&g_225},{&g_225,&g_225},{&g_225,&g_225},{&g_225,&g_225},{&g_225,&g_225}};
uint64_t **l_1402 = &l_1403[6][0];
int64_t *****l_1427 = &g_1164;
struct S0 *l_1522 = &g_1523;
int16_t *l_1524 = &g_441;
uint32_t l_1536 = 18446744073709551615UL;
const uint32_t l_1543 = 4294967287UL;
int64_t *****l_1584 = &g_1164;
uint16_t l_1632 = 0x82A8L;
int16_t l_1669 = 0x0194L;
const int32_t *l_1682 = &g_8[1][3];
uint32_t l_1697 = 0xFFF12458L;
int32_t ****l_1708 = &g_400;
int32_t l_1736 = 0x46CCC499L;
int i, j;
for (i = 0; i < 3; i++)
l_14[i] = &l_15;
g_1341 = func_2((~g_8[1][3]), (safe_add_func_int16_t_s_s((l_11 == (void*)0), (((l_13 == (g_16 = l_13)) , ((~((safe_rshift_func_int16_t_s_u((0xA3L || ((*l_11) = ((void*)0 != &l_15))), 13)) || (safe_div_func_uint16_t_u_u((g_23[0][4] , 0x3F15L), g_8[1][3])))) != (*l_15))) != l_24))), l_11, g_25[1]);
lbl_1639:
for (g_74 = 0; (g_74 != 11); g_74 = safe_add_func_int8_t_s_s(g_74, 1))
{ /* block id: 593 */
int32_t l_1348 = (-1L);
int32_t l_1366 = 0xEDD55195L;
int32_t ** const l_1391 = (void*)0;
uint32_t l_1405 = 0x236B774FL;
uint8_t l_1422 = 0xBEL;
int64_t *****l_1428 = (void*)0;
int32_t *****l_1470 = &g_399;
int32_t *l_1508[7][2] = {{&l_1366,&l_1366},{(void*)0,&l_1366},{&l_1366,(void*)0},{&l_1366,&l_1366},{(void*)0,&l_1366},{&l_1366,(void*)0},{&l_1366,&l_1366}};
int64_t ****l_1511 = &g_1165;
int i, j;
for (g_225 = (-10); (g_225 == 22); g_225 = safe_add_func_int16_t_s_s(g_225, 1))
{ /* block id: 596 */
uint16_t l_1364 = 65527UL;
int32_t *l_1380[1][10] = {{&g_17,&g_17,&g_17,&g_17,&g_17,&g_17,&g_17,&g_17,&g_17,&g_17}};
uint32_t ***l_1420 = &g_590[0];
uint64_t l_1454[2][9][9] = {{{0x39339A5D44FA9CBFLL,1UL,1UL,18446744073709551614UL,18446744073709551614UL,1UL,1UL,0x39339A5D44FA9CBFLL,0UL},{0x206EB4FD56D18943LL,7UL,1UL,0UL,7UL,18446744073709551615UL,18446744073709551614UL,0x206EB4FD56D18943LL,0xB6EB95F0460F8E52LL},{0x206EB4FD56D18943LL,1UL,0UL,0x206EB4FD56D18943LL,0x39339A5D44FA9CBFLL,0xB6EB95F0460F8E52LL,0x39339A5D44FA9CBFLL,0x206EB4FD56D18943LL,0UL},{0x39339A5D44FA9CBFLL,0x39339A5D44FA9CBFLL,0xB2E052C95FEE100FLL,7UL,3UL,0xB6EB95F0460F8E52LL,18446744073709551614UL,0x39339A5D44FA9CBFLL,0x282E9802105A9470LL},{1UL,0x206EB4FD56D18943LL,0x282E9802105A9470LL,7UL,0x39339A5D44FA9CBFLL,18446744073709551615UL,1UL,1UL,18446744073709551615UL},{7UL,0x206EB4FD56D18943LL,0xB2E052C95FEE100FLL,0x206EB4FD56D18943LL,7UL,1UL,0UL,7UL,18446744073709551615UL},{1UL,0x39339A5D44FA9CBFLL,0UL,0UL,18446744073709551614UL,0xB2E052C95FEE100FLL,0UL,1UL,0x282E9802105A9470LL},{0x39339A5D44FA9CBFLL,0x02606EF650A19432LL,18446744073709551614UL,18446744073709551615UL,18446744073709551615UL,18446744073709551614UL,0x02606EF650A19432LL,0x926BCD8849FB8E0ELL,7UL},{18446744073709551615UL,0xA184AE44BA2C7757LL,18446744073709551614UL,18446744073709551615UL,0xA184AE44BA2C7757LL,1UL,18446744073709551615UL,18446744073709551615UL,0UL}},{{18446744073709551615UL,0x02606EF650A19432LL,7UL,18446744073709551615UL,0x926BCD8849FB8E0ELL,0UL,0x926BCD8849FB8E0ELL,18446744073709551615UL,7UL},{0x926BCD8849FB8E0ELL,0x926BCD8849FB8E0ELL,0x39339A5D44FA9CBFLL,0xA184AE44BA2C7757LL,0xD57139244EA90D71LL,0UL,18446744073709551615UL,0x926BCD8849FB8E0ELL,3UL},{0x02606EF650A19432LL,18446744073709551615UL,3UL,0xA184AE44BA2C7757LL,0x926BCD8849FB8E0ELL,1UL,0x02606EF650A19432LL,0x02606EF650A19432LL,1UL},{0xA184AE44BA2C7757LL,18446744073709551615UL,0x39339A5D44FA9CBFLL,18446744073709551615UL,0xA184AE44BA2C7757LL,18446744073709551614UL,18446744073709551615UL,0xA184AE44BA2C7757LL,1UL},{0x02606EF650A19432LL,0x926BCD8849FB8E0ELL,7UL,18446744073709551615UL,18446744073709551615UL,0x39339A5D44FA9CBFLL,18446744073709551615UL,0x02606EF650A19432LL,3UL},{0x926BCD8849FB8E0ELL,0x02606EF650A19432LL,18446744073709551614UL,18446744073709551615UL,18446744073709551615UL,18446744073709551614UL,0x02606EF650A19432LL,0x926BCD8849FB8E0ELL,7UL},{18446744073709551615UL,0xA184AE44BA2C7757LL,18446744073709551614UL,18446744073709551615UL,0xA184AE44BA2C7757LL,1UL,18446744073709551615UL,18446744073709551615UL,0UL},{18446744073709551615UL,0x02606EF650A19432LL,7UL,18446744073709551615UL,0x926BCD8849FB8E0ELL,0UL,0x926BCD8849FB8E0ELL,18446744073709551615UL,7UL},{0x926BCD8849FB8E0ELL,0x926BCD8849FB8E0ELL,0x39339A5D44FA9CBFLL,0xA184AE44BA2C7757LL,0xD57139244EA90D71LL,0UL,18446744073709551615UL,0x926BCD8849FB8E0ELL,3UL}}};
const struct S0 *l_1463 = &g_1464[2][6];
const struct S0 **l_1462 = &l_1463;
const struct S0 ***l_1461 = &l_1462;
const struct S0 ****l_1460 = &l_1461;
uint64_t l_1484 = 0x053E031D692E3DC4LL;
uint8_t l_1535 = 0xD3L;
int i, j, k;
for (g_12 = 8; (g_12 >= 0); g_12 -= 1)
{ /* block id: 599 */
uint16_t l_1362 = 0UL;
int32_t l_1404 = 0x60B46AEBL;
const uint32_t l_1406 = 0x38E9DEA5L;
int8_t *l_1407 = &g_12;
for (g_758 = 0; (g_758 <= 3); g_758 += 1)
{ /* block id: 602 */
const uint32_t l_1361[6] = {0xF4BCF747L,0xF4BCF747L,0xBA2AEB0AL,0xF4BCF747L,0xF4BCF747L,0xBA2AEB0AL};
int32_t *l_1381 = (void*)0;
int i;
for (g_267 = 2; (g_267 <= 8); g_267 += 1)
{ /* block id: 605 */
uint16_t ***l_1356 = &l_1355;
uint32_t *l_1363 = &g_998;
int i, j;
(*g_1347) = g_1346[0][0];
l_1366 &= ((((*g_190) & ((l_1348 , (safe_lshift_func_uint8_t_u_s(((void*)0 == &g_590[0]), ((((g_395.f3 <= ((safe_div_func_uint32_t_u_u(((((*l_1356) = l_1355) != &g_533) <= (((*l_1363) ^= (safe_mul_func_uint8_t_u_u(((l_1348 &= ((safe_sub_func_int16_t_s_s(g_395.f1, ((g_769 >= l_1361[0]) | g_463.f3))) > l_1362)) , g_304.f3), g_61))) != (*l_15))), l_1364)) == g_473[0][2].f1)) | l_1364) < 0x74E6D8F4D85853F8LL) | g_1365)))) | g_137)) >= (*g_248)) , (***g_1230));
}
for (g_50 = 0; (g_50 <= 3); g_50 += 1)
{ /* block id: 614 */
uint32_t ***l_1379 = &g_590[0];
l_1348 ^= ((!((safe_mul_func_int8_t_s_s(l_1362, (safe_sub_func_uint64_t_u_u((*g_190), (***g_1165))))) >= ((*l_15) = (safe_lshift_func_int8_t_s_s((safe_lshift_func_uint16_t_u_s((((safe_sub_func_int16_t_s_s(g_287.f1, ((safe_unary_minus_func_uint32_t_u(((((&g_590[0] != l_1379) > (l_1380[0][8] != l_1381)) > ((safe_mod_func_int32_t_s_s(((safe_lshift_func_uint8_t_u_s(((&g_389 == &g_254) , g_305.f1), 4)) , 0L), l_1366)) >= 8UL)) | 0x85L))) , (*g_533)))) <= 252UL) , 0UL), 11)), 6))))) | 1UL);
}
if (l_1362)
continue;
l_1348 &= ((*g_30) = ((((safe_mod_func_int64_t_s_s(((**g_1099) , (*l_15)), (-1L))) >= (****g_1164)) , &l_14[1]) == (void*)0));
}
if (((!((safe_rshift_func_int8_t_s_s(((**g_1099) , (l_1391 == ((**g_399) = &l_13))), (((safe_sub_func_int32_t_s_s((safe_mul_func_uint8_t_u_u(255UL, (safe_add_func_uint16_t_u_u((safe_mod_func_int32_t_s_s((*g_1341), (safe_div_func_int8_t_s_s(l_1366, 0x81L)))), (l_1402 == &g_190))))), l_1404)) <= l_1405) <= g_463.f1))) > (*g_1020))) < l_1404))
{ /* block id: 623 */
l_1380[0][8] = func_2(l_1406, (*g_248), &g_26, l_1407);
}
else
{ /* block id: 625 */
int16_t l_1408 = 0xE318L;
int32_t *l_1411[7][10] = {{&g_17,&g_8[1][3],&l_1404,&g_17,&g_17,&l_1404,&g_8[1][3],&g_17,&g_8[1][3],&l_1404},{(void*)0,&g_8[2][4],&g_17,&g_8[2][4],(void*)0,&l_1404,&l_1404,(void*)0,&g_8[2][4],&g_17},{&g_17,&g_17,&g_17,(void*)0,&g_17,(void*)0,&g_17,&g_17,&g_17,&g_17},{&g_8[2][4],(void*)0,&l_1404,&l_1404,(void*)0,&g_8[2][4],&g_17,&g_8[2][4],(void*)0,&l_1404},{&g_8[1][3],&g_17,&g_8[1][3],&l_1404,&g_17,&g_17,&l_1404,&g_8[1][3],&g_17,&g_8[1][3]},{&g_8[1][3],&g_8[2][4],&g_17,(void*)0,&g_17,&g_8[2][4],&g_8[1][3],&g_8[1][3],&g_8[2][4],&g_17},{&g_8[2][4],&g_8[1][3],&g_8[1][3],&g_8[2][4],&g_17,(void*)0,&g_17,&g_8[2][4],&g_8[1][3],&g_8[1][3]}};
int i, j;
l_1408 |= (65526UL == 3L);
(*l_15) = (safe_mul_func_uint8_t_u_u(g_472.f0, (l_1411[2][1] == &l_1348)));
}
}
for (g_1365 = 0; (g_1365 > 51); g_1365++)
{ /* block id: 632 */
uint32_t l_1421 = 0UL;
uint8_t l_1455 = 0xCFL;
int32_t l_1459[9] = {0xA4503E56L,1L,0xA4503E56L,1L,0xA4503E56L,1L,0xA4503E56L,1L,0xA4503E56L};
int32_t *l_1516 = &g_1517[3][0][0];
int i;
}
}
(*g_1341) |= 0xAF2C2571L;
}
l_1536++;
for (g_196 = 12; (g_196 > 19); g_196++)
{ /* block id: 679 */
int16_t l_1550 = (-8L);
int32_t *l_1554 = &g_17;
int32_t *l_1555 = &g_8[2][2];
int32_t l_1641 = (-1L);
int32_t l_1683 = 0x7A51F515L;
int32_t l_1684 = 0x341210B2L;
int32_t l_1685 = 1L;
int32_t l_1686 = 6L;
int32_t l_1687 = 0x508D7319L;
int32_t l_1689 = (-1L);
int32_t l_1690 = (-3L);
int32_t l_1693 = 0xA5CD8D18L;
int32_t l_1694 = (-1L);
uint32_t l_1703[9] = {0UL,0UL,0UL,0UL,0UL,0UL,0UL,0UL,0UL};
int32_t *l_1726 = &g_1517[1][9][0];
int64_t l_1734 = (-6L);
uint16_t l_1737 = 0xA731L;
int i;
if ((safe_mul_func_uint16_t_u_u(l_1543, (safe_rshift_func_uint16_t_u_s((safe_mul_func_int16_t_s_s((((*l_1524) = (safe_mul_func_uint16_t_u_u(l_1550, (+0xF4D669F0F468A593LL)))) & 65527UL), ((*g_533) = (+(0x3EFF791FL > l_1550))))), 3)))))
{ /* block id: 682 */
uint32_t l_1553 = 0x9E5BF44AL;
uint16_t l_1588 = 0x9754L;
int64_t l_1590 = 0x2619B29410E9373ALL;
uint32_t l_1615 = 0xBADC6C24L;
int32_t l_1634 = 3L;
const int32_t ** const l_1671 = &g_1020;
int32_t *l_1676 = &g_8[1][3];
int32_t l_1688 = 1L;
int32_t l_1691 = 0L;
int32_t l_1692 = (-1L);
int32_t l_1695[6][1][2] = {{{(-7L),0xE80D351DL}},{{(-7L),0xE80D351DL}},{{(-7L),0xE80D351DL}},{{(-7L),0xE80D351DL}},{{(-7L),0xE80D351DL}},{{(-7L),0xE80D351DL}}};
int32_t l_1696 = (-1L);
int i, j, k;
l_1553 = l_1550;
(*l_1555) = ((l_1554 = l_1554) != l_1555);
if (l_1553)
{ /* block id: 686 */
uint32_t l_1560 = 0x5EE337ABL;
uint8_t l_1589 = 0x0BL;
int32_t l_1604 = 1L;
uint32_t l_1605 = 18446744073709551608UL;
const int16_t l_1631 = 0L;
int32_t l_1640 = 0xE1BC14FAL;
int32_t *l_1645 = &g_8[0][4];
int32_t l_1663 = 8L;
for (g_769 = 0; (g_769 <= 42); g_769 = safe_add_func_uint32_t_u_u(g_769, 5))
{ /* block id: 689 */
struct S0 **l_1581[8];
struct S0 *** const l_1580 = &l_1581[3];
struct S0 *** const *l_1579[10][4] = {{&l_1580,&l_1580,(void*)0,(void*)0},{&l_1580,&l_1580,&l_1580,&l_1580},{&l_1580,&l_1580,&l_1580,&l_1580},{&l_1580,&l_1580,(void*)0,&l_1580},{&l_1580,&l_1580,&l_1580,&l_1580},{&l_1580,&l_1580,&l_1580,&l_1580},{&l_1580,&l_1580,&l_1580,(void*)0},{&l_1580,&l_1580,(void*)0,(void*)0},{&l_1580,&l_1580,&l_1580,&l_1580},{&l_1580,&l_1580,&l_1580,&l_1580}};
struct S0 *** const **l_1578 = &l_1579[8][1];
uint8_t l_1585 = 0UL;
int8_t l_1586 = (-7L);
int32_t l_1591[4][4][10] = {{{0x92B1F724L,0L,0x92B1F724L,(-1L),0xF8648702L,0x13631407L,0x3C7A74CDL,0L,2L,(-2L)},{0x5E816620L,(-2L),0L,0L,0x4AB648F3L,(-9L),0x6557DE07L,0L,0x15182786L,0x21686159L},{(-1L),0xE80B9042L,0x92B1F724L,0x5E816620L,2L,(-1L),(-1L),(-1L),(-1L),2L},{0x36C5AAAEL,(-9L),(-9L),0x36C5AAAEL,(-2L),1L,0x13631407L,0L,0xE4C3B8EFL,0x3B344734L}},{{0xE80B9042L,0x93FAECB2L,0x36C5AAAEL,0x4AB648F3L,0x5E816620L,0xF8648702L,(-9L),0x13631407L,0xE4C3B8EFL,0L},{0L,2L,0xE4C3B8EFL,0x36C5AAAEL,0x21686159L,0x7EF1435DL,(-1L),0L,(-1L),0x7EF1435DL},{(-9L),0x5E816620L,(-1L),0x5E816620L,(-9L),0x92B1F724L,1L,0x7EF1435DL,0x15182786L,0x4AB648F3L},{0x5ECD8C3DL,0x9EEACFBBL,0x6557DE07L,0L,1L,(-1L),0xF8648702L,0x15182786L,2L,0x4AB648F3L}},{{0xF8648702L,0L,(-1L),(-1L),(-9L),0x3B344734L,0x7EF1435DL,0x6557DE07L,0x6557DE07L,0x7EF1435DL},{0L,0x21686159L,0x7D44A65FL,0x7D44A65FL,0x21686159L,0L,0x92B1F724L,0xF8648702L,0x93FAECB2L,0L},{0x93FAECB2L,0x3C7A74CDL,(-2L),(-1L),0x5E816620L,0xE4C3B8EFL,(-1L),0x4AB648F3L,0x5ECD8C3DL,0x3B344734L},{0x93FAECB2L,(-1L),0x21686159L,0xE80B9042L,(-2L),0L,0x3B344734L,2L,0x7EF1435DL,2L}},{{0L,0x3B344734L,2L,0x7EF1435DL,2L,0x3B344734L,0L,(-2L),0xE80B9042L,0x21686159L},{0xF8648702L,(-1L),0x3B344734L,0x5ECD8C3DL,0x4AB648F3L,(-1L),0xE4C3B8EFL,0x21686159L,0x4AB648F3L,0L},{0x15182786L,(-1L),0x36C5AAAEL,0x7EF1435DL,0xE4C3B8EFL,0x5ECD8C3DL,0x5E816620L,0x7D44A65FL,2L,2L},{0x3C7A74CDL,0x93FAECB2L,0x6557DE07L,0L,0L,0x6557DE07L,0x93FAECB2L,0x3C7A74CDL,(-2L),(-1L)}}};
int i, j, k;
for (i = 0; i < 8; i++)
l_1581[i] = &g_394;
l_1589 ^= (((safe_lshift_func_int16_t_s_s(((l_1560 || l_1560) != (safe_div_func_int16_t_s_s((safe_mod_func_uint64_t_u_u((safe_rshift_func_int16_t_s_u(((((((safe_mod_func_int8_t_s_s(((safe_rshift_func_uint8_t_u_u((((*l_1555) = 0L) && (safe_add_func_int32_t_s_s(((((*g_261) , (safe_mul_func_uint8_t_u_u((~((*g_190) > (safe_div_func_uint32_t_u_u(((((*l_1578) = (void*)0) != &g_1115) , (safe_lshift_func_int16_t_s_s((l_1584 != (void*)0), 11))), (**g_1231))))), 248UL))) != l_1585) < l_1553), l_1586))), 5)) ^ l_1560), g_1587)) >= l_1586) == l_1560) ^ g_457) , (*l_1554)) < l_1585), (*g_533))), l_1588)), (*g_533)))), l_1585)) | g_17) <= 8L);
(*l_1555) ^= l_1589;
l_1591[3][1][0] = (((*l_15) | ((**l_1402) = (*g_190))) , (l_1589 , ((*l_1554) = (l_1590 | (*g_30)))));
}
for (g_365 = (-23); (g_365 <= 8); g_365++)
{ /* block id: 700 */
int8_t l_1603 = (-1L);
int32_t l_1633 = 6L;
for (l_1536 = 0; (l_1536 == 49); l_1536 = safe_add_func_int64_t_s_s(l_1536, 9))
{ /* block id: 703 */
return l_1553;
}
(*l_1554) ^= (+((((*g_533) >= ((*g_224) && l_1589)) <= (l_1604 |= ((safe_add_func_uint16_t_u_u((((((((((((safe_lshift_func_uint8_t_u_s(1UL, ((void*)0 != l_1427))) & 0L) , ((g_304.f3 && (((((safe_mod_func_uint8_t_u_u((0xC3L <= (-6L)), 9UL)) == l_1560) , g_861.f1) ^ 0x428BL) , l_1560)) >= l_1603)) != (*l_1555)) && (-1L)) , (*l_15)) , l_1603) < 65534UL) != 0x2510L) || l_1589) & (*g_533)), 6UL)) == 0xF2F5AFE0L))) == l_1605));
l_1634 |= (g_1198.f1 & ((safe_sub_func_int16_t_s_s((safe_add_func_uint32_t_u_u((safe_mod_func_uint8_t_u_u(l_1604, (safe_mod_func_int8_t_s_s((l_1633 = (((*l_1555) && (((!(l_1615 <= 6UL)) , (safe_lshift_func_int8_t_s_s((safe_div_func_uint16_t_u_u(((safe_lshift_func_uint8_t_u_s((*l_1555), 5)) , (((safe_mul_func_int8_t_s_s(0x00L, (*l_1554))) ^ (safe_rshift_func_uint8_t_u_u((((safe_rshift_func_uint16_t_u_s((((safe_add_func_uint8_t_u_u((((~((void*)0 != &g_844)) <= 0x86A9F41009CABB85LL) | g_196), g_12)) ^ l_1553) | 0UL), g_844)) , &g_590[0]) == (void*)0), 3))) || l_1631)), l_1603)), (*l_1555)))) ^ 1L)) || l_1632)), (*l_15))))), 0x5C583A00L)), l_1603)) & l_1604));
}
for (g_155 = 0; (g_155 <= 34); ++g_155)
{ /* block id: 713 */
const uint32_t l_1670 = 4294967293UL;
if ((safe_lshift_func_uint8_t_u_u(0xBFL, 3)))
{ /* block id: 714 */
uint16_t l_1642[6] = {8UL,8UL,8UL,8UL,8UL,8UL};
int i;
if (g_249)
goto lbl_1639;
l_1642[4]++;
}
else
{ /* block id: 717 */
return g_547.f1;
}
if (l_1560)
break;
l_1645 = &l_1634;
for (g_1587 = 0; (g_1587 >= 0); g_1587 -= 1)
{ /* block id: 724 */
uint32_t l_1650 = 0x04293DE5L;
uint8_t *l_1651 = (void*)0;
uint8_t *l_1652[2];
int32_t **l_1672[10][2] = {{(void*)0,(void*)0},{(void*)0,(void*)0},{(void*)0,(void*)0},{(void*)0,(void*)0},{(void*)0,(void*)0},{(void*)0,(void*)0},{(void*)0,(void*)0},{(void*)0,(void*)0},{(void*)0,(void*)0},{(void*)0,(void*)0}};
int i, j;
for (i = 0; i < 2; i++)
l_1652[i] = &g_137;
(*g_394) = (*g_288);
return g_462;
}
}
g_1674 = g_1673[0][1];
}
else
{ /* block id: 731 */
const int8_t l_1675 = (-1L);
int32_t *l_1677 = &g_8[0][2];
const union U1 **l_1679[6][2][4] = {{{(void*)0,&g_495,&g_495,&g_495},{&g_495,&g_495,&g_495,&g_495}},{{&g_495,&g_495,(void*)0,&g_495},{&g_495,&g_495,&g_495,&g_495}},{{&g_495,&g_495,&g_495,&g_495},{&g_495,(void*)0,(void*)0,&g_495}},{{&g_495,&g_495,&g_495,&g_495},{&g_495,&g_495,&g_495,&g_495}},{{(void*)0,&g_495,&g_495,&g_495},{&g_495,&g_495,(void*)0,&g_495}},{{&g_495,&g_495,&g_495,&g_495},{&g_495,(void*)0,&g_495,&g_495}}};
const union U1 ***l_1678 = &l_1679[5][0][2];
int i, j, k;
l_1677 = (l_1676 = func_2(l_1675, (****g_1164), &g_26, &g_26));
(*l_1678) = &g_495;
l_1682 = (g_1680 , (*g_1231));
}
l_1697--;
}
else
{ /* block id: 738 */
int16_t l_1700 = 0x2C62L;
int32_t l_1701 = 0x521E896EL;
int32_t l_1702[2];
int i;
for (i = 0; i < 2; i++)
l_1702[i] = 2L;
l_1703[1]++;
l_1554 = &l_1694;
}
l_1685 |= (((safe_mod_func_uint8_t_u_u((((void*)0 != l_1708) , g_681.f3), (+(safe_add_func_uint16_t_u_u((*l_1555), (safe_lshift_func_int16_t_s_s((safe_add_func_uint32_t_u_u((!(safe_lshift_func_int16_t_s_u(g_758, 9))), ((safe_unary_minus_func_uint64_t_u((((**l_1402) = ((*g_248) > (safe_lshift_func_int8_t_s_u((((safe_sub_func_uint16_t_u_u((*l_1554), (g_1735 = ((*l_1524) = (safe_rshift_func_int8_t_s_s((((((*l_1726) = g_457) , ((safe_rshift_func_uint16_t_u_s((((safe_mul_func_uint8_t_u_u((safe_unary_minus_func_uint64_t_u((safe_lshift_func_int16_t_s_s(((*l_15) , l_1734), 9)))), 0xFBL)) & (*l_15)) , (*g_533)), g_267)) >= (*l_1555))) > 7UL) , (*l_1555)), (*l_1682))))))) ^ (*l_1682)) >= 18446744073709551609UL), (*l_15))))) ^ 0x21737DA910A396AELL))) && 0xD5L))), g_56))))))) < 4L) != 3L);
l_1737++;
for (g_472.f0 = 0; g_472.f0 < 1; g_472.f0 += 1)
{
g_590[g_472.f0] = (void*)0;
}
}
return g_994.f3;
}
/* ------------------------------------------ */
/*
* reads : g_17 g_30 g_8 g_50 g_56 g_61 g_26 g_1165 g_260 g_261 g_262 g_287.f2 g_287.f0 g_473.f3 g_249 g_994.f1 g_785 g_309 g_463.f3 g_533 g_74 g_861.f3 g_389 g_155 g_12 g_1164 g_1020 g_1339 g_394 g_844
* writes: g_17 g_8 g_50 g_56 g_61 g_151 g_457 g_262 g_662 g_309 g_395
*/
int32_t * func_2(const uint32_t p_3, int64_t p_4, int8_t * p_5, int8_t * p_6)
{ /* block id: 3 */
int64_t l_31 = (-10L);
int32_t *l_32 = &g_8[1][3];
int32_t l_33 = 0L;
int32_t *l_34 = &g_17;
int32_t *l_35 = &g_17;
int32_t *l_36 = &g_8[0][1];
int32_t *l_37 = &g_8[2][1];
int32_t *l_38 = &g_8[1][3];
int32_t *l_39 = &l_33;
int32_t *l_40 = &g_8[1][3];
int32_t *l_41 = &g_8[0][2];
int32_t *l_42[1][1];
uint32_t l_43 = 1UL;
uint64_t *l_55 = &g_56;
int32_t **l_57 = &l_42[0][0];
uint16_t *l_60 = &g_61;
uint32_t l_72 = 4294967295UL;
uint16_t *l_73[10];
int32_t l_75 = 1L;
int16_t *l_1302 = (void*)0;
int32_t *l_1340 = &g_8[1][1];
int i, j;
for (i = 0; i < 1; i++)
{
for (j = 0; j < 1; j++)
l_42[i][j] = &g_17;
}
for (i = 0; i < 10; i++)
l_73[i] = &g_74;
for (g_17 = 0; (g_17 == 13); g_17 = safe_add_func_int64_t_s_s(g_17, 2))
{ /* block id: 6 */
int32_t l_29 = 0x0C3DA550L;
l_29 = 0L;
(*g_30) |= p_3;
if ((*g_30))
break;
}
--l_43;
for (l_31 = 0; (l_31 == 27); l_31 = safe_add_func_uint64_t_u_u(l_31, 6))
{ /* block id: 14 */
int8_t l_48 = 0L;
int32_t l_49 = 1L;
g_50++;
if (p_3)
continue;
}
(*l_38) = ((-1L) == (((*l_55) &= 18446744073709551611UL) == ((((*l_57) = (void*)0) == (((((safe_mul_func_uint16_t_u_u(((*l_60) ^= 0xF586L), ((((!((func_63((func_66(((*l_34) = ((p_5 == (void*)0) || (((l_75 = (l_72 & (*l_40))) , (((safe_lshift_func_int8_t_s_u((func_78(((safe_add_func_int32_t_s_s((g_50 | (*p_6)), (*l_36))) != p_3), p_4, &l_41) , (*p_5)), 6)) , p_4) | g_785[4][1][0])) > (****g_1164)))), &l_39, &g_267, (*p_5), l_1302) || 1UL), p_4) != 0xC3A6L) <= 0xECB2L)) >= p_3) , (*g_533)) >= g_844))) > p_3) , (void*)0) == l_36) , (void*)0)) >= p_4)));
return l_1340;
}
/* ------------------------------------------ */
/*
* reads :
* writes:
*/
uint16_t func_63(uint32_t p_64, uint32_t p_65)
{ /* block id: 586 */
return p_64;
}
/* ------------------------------------------ */
/*
* reads : g_1165 g_260 g_261 g_262 g_1020 g_8 g_309 g_533 g_74 g_1339 g_394
* writes: g_262 g_662 g_309 g_395
*/
uint16_t func_66(int16_t p_67, int32_t ** p_68, uint16_t * p_69, int8_t p_70, uint16_t * p_71)
{ /* block id: 570 */
uint8_t *l_1311[9][5];
int32_t l_1312 = (-3L);
const uint32_t l_1314 = 0xA687DCE3L;
int64_t *l_1319 = (void*)0;
int64_t *l_1320 = &g_309;
const int32_t ** const l_1322 = &g_1020;
uint64_t *l_1333 = &g_225;
int i, j;
for (i = 0; i < 9; i++)
{
for (j = 0; j < 5; j++)
l_1311[i][j] = &g_151[1];
}
if ((safe_div_func_uint32_t_u_u((safe_sub_func_uint8_t_u_u((((((**p_68) = ((p_67 > (safe_div_func_uint8_t_u_u((0x35B054432122DF5ALL & ((***g_1165) ^= p_67)), (safe_mul_func_uint16_t_u_u((((l_1312 &= (g_662 = 0xB8L)) == (((**p_68) , (void*)0) == (void*)0)) && ((*l_1320) |= (!(((l_1314 != (safe_div_func_int16_t_s_s((safe_div_func_int8_t_s_s((0xEF63E936L | (*g_1020)), l_1312)), 0xB612L))) | p_70) , 0xF1EBB3D0L)))), l_1314))))) , (**p_68))) == l_1314) , l_1320) != (void*)0), 0x96L)), 0xF2B1F72EL)))
{ /* block id: 576 */
return (*g_533);
}
else
{ /* block id: 578 */
uint32_t l_1321 = 0x95216DC9L;
const int32_t ***l_1323 = &g_1019[0];
int32_t l_1324 = 0x1F5F92ADL;
uint64_t **l_1334 = (void*)0;
uint64_t **l_1335[1];
int16_t *l_1338 = (void*)0;
int16_t **l_1337 = &l_1338;
int16_t ***l_1336 = &l_1337;
int i;
for (i = 0; i < 1; i++)
l_1335[i] = &l_1333;
(*g_394) = g_1339;
}
return (*g_533);
}
/* ------------------------------------------ */
/*
* reads : g_1165 g_260 g_261 g_262 g_287.f2 g_287.f0 g_473.f3 g_249 g_994.f1 g_785 g_309 g_463.f3 g_533 g_74 g_861.f3 g_8 g_389 g_155 g_17
* writes: g_151 g_457 g_8
*/
uint8_t func_78(const uint16_t p_79, int64_t p_80, int32_t ** p_81)
{ /* block id: 22 */
int8_t l_454 = 0x12L;
const int16_t l_936 = 0xF1D1L;
uint32_t ***l_943 = (void*)0;
int32_t **** const l_949 = &g_400;
struct S0 ***l_962 = &g_775;
int32_t l_978 = 0xE31B61AFL;
int32_t l_979 = 0x770866E5L;
int32_t l_980 = (-7L);
int32_t l_982[6][1][4] = {{{0xE28D9B53L,0x8ABDCBECL,0x94052EF0L,0x371B0E2AL}},{{(-3L),0x82ACA2FFL,(-3L),0x371B0E2AL}},{{0x94052EF0L,0x8ABDCBECL,0xE28D9B53L,(-1L)}},{{(-9L),0x13E1449CL,0x8ABDCBECL,0x8ABDCBECL}},{{0x941DBCDEL,0x941DBCDEL,0x8ABDCBECL,(-3L)}},{{(-9L),0x43118E6AL,0xE28D9B53L,0x13E1449CL}}};
int64_t ** const *l_1037 = &g_260[0];
int64_t l_1052 = 0L;
int32_t l_1075 = 0x4E05CB67L;
int64_t l_1106 = 9L;
uint8_t *l_1125 = &g_151[0];
uint64_t *l_1174 = &g_193;
int32_t *** const l_1184[9] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
int32_t l_1200 = 0xCB47AD15L;
int16_t l_1203 = (-4L);
int32_t ****l_1228 = (void*)0;
int32_t l_1271 = 0xE6CB05B1L;
uint64_t l_1285 = 18446744073709551614UL;
int i, j, k;
lbl_1286:
for (p_80 = 2; (p_80 <= 6); p_80 += 1)
{ /* block id: 25 */
uint16_t *l_97 = &g_74;
int16_t *l_440 = &g_441;
const int64_t ***l_453 = (void*)0;
int32_t l_455 = 0x223FD998L;
int16_t *l_456[2];
const int32_t *l_470 = (void*)0;
const int32_t ** const l_469 = &l_470;
int32_t l_471 = 0xF6E468ACL;
union U1 ** const l_935 = &g_888;
int32_t l_981 = (-7L);
struct S0 *l_993 = &g_994;
int32_t l_1047 = 1L;
int32_t l_1048 = 0x25826163L;
int32_t l_1049 = 0xCAE664DBL;
int32_t l_1050 = 1L;
int32_t l_1054 = 0x241080E1L;
int32_t l_1055[6][6][7] = {{{1L,0L,(-4L),(-1L),(-5L),0x0AB9C8B9L,(-5L)},{0xEB4F5743L,0xF7B2E572L,0xF7B2E572L,0xEB4F5743L,1L,0xEEFFEC19L,2L},{(-1L),0x7797BBBAL,1L,0x0030BBF6L,8L,0xD7A5FD95L,4L},{0L,0xA8E722FCL,1L,0x331A0821L,(-1L),4L,2L},{1L,(-1L),(-1L),0L,1L,3L,(-5L)},{(-10L),1L,0x0030BBF6L,1L,(-1L),8L,0x4D28A197L}},{{(-1L),0xE1ADC9B0L,0xA8E722FCL,0xB6A003A9L,1L,0xCCAB5A3AL,1L},{4L,4L,1L,0x7AB23062L,0xF7B2E572L,(-5L),0xCE6DAFF0L},{0xCE6DAFF0L,0x381B268AL,1L,1L,1L,0L,(-4L)},{0x66A2DB0EL,0L,(-4L),(-1L),0xFD3FE7B0L,0x20C48FFBL,(-5L)},{0x8C14D892L,4L,(-1L),(-1L),(-1L),0xCCAB5A3AL,0x6A77D3F1L},{(-1L),1L,3L,0x02E03C1DL,4L,0x1A92C331L,(-4L)}},{{8L,0xF7B2E572L,1L,0x0C630588L,(-4L),0xE1ADC9B0L,0xE1ADC9B0L},{0xA8E722FCL,0xEEFFEC19L,(-1L),0xEEFFEC19L,0xA8E722FCL,2L,(-4L)},{0x20C48FFBL,0xBA52882BL,1L,0xEB4F5743L,0xEEFFEC19L,1L,4L},{0xEB4F5743L,0xCE6DAFF0L,0x6C074E18L,0L,(-3L),1L,0xCE6DAFF0L},{0x20C48FFBL,0xEB4F5743L,3L,0x0A2E878EL,0x7797BBBAL,0x02E03C1DL,1L},{0xA8E722FCL,0x2A672BA0L,(-4L),(-1L),(-5L),1L,1L}},{{8L,(-5L),1L,(-4L),0xE1ADC9B0L,2L,0x8C14D892L},{(-1L),0x6A8E3CA4L,0xFED720C3L,0xFD3FE7B0L,0xB6A003A9L,0x478006A8L,(-1L)},{0x8C14D892L,0xD7A5FD95L,0x0C630588L,(-1L),0L,8L,0x89A940FAL},{0x66A2DB0EL,0xEB4F5743L,8L,1L,0L,0L,(-5L)},{0L,(-10L),0xFD3FE7B0L,0x0C630588L,0xB6A003A9L,0x258066D0L,2L},{0x2A672BA0L,3L,1L,1L,0xE1ADC9B0L,0L,0xCCAB5A3AL}},{{0x1A92C331L,(-1L),(-1L),0xCCAB5A3AL,(-5L),0x7AB23062L,4L},{0x76418CB5L,0x7797BBBAL,0L,0L,0x7797BBBAL,0x76418CB5L,(-3L)},{0x66A2DB0EL,1L,(-5L),0xFED720C3L,(-3L),0x20C48FFBL,0L},{0x331A0821L,0L,(-4L),(-1L),0xEEFFEC19L,(-10L),0x0AB9C8B9L},{2L,1L,1L,1L,0xA8E722FCL,0x2A672BA0L,(-4L)},{0x0A2E878EL,0x7797BBBAL,0x02E03C1DL,1L,(-4L),0x478006A8L,(-5L)}},{{(-1L),(-1L),(-1L),0x4D28A197L,4L,1L,(-3L)},{0x20C48FFBL,3L,0x8C14D892L,9L,(-1L),1L,0x76418CB5L},{(-1L),(-10L),1L,0L,0xFD3FE7B0L,0x381B268AL,(-10L)},{0x258066D0L,0xEB4F5743L,1L,(-4L),0xF7B2E572L,0x381B268AL,1L},{0xFED720C3L,0xD7A5FD95L,0x0030BBF6L,0x8C14D892L,(-5L),1L,0x6A8E3CA4L},{(-4L),0x6A8E3CA4L,1L,(-1L),(-5L),1L,0x89A940FAL}}};
int64_t ****l_1138 = (void*)0;
int64_t l_1199 = 0xB5976AA5B6E716E1LL;
int i, j, k;
for (i = 0; i < 2; i++)
l_456[i] = (void*)0;
}
if (((***g_1165) ^ (safe_sub_func_int64_t_s_s((g_287.f2 || (((*l_1125) = (((safe_rshift_func_uint16_t_u_u((safe_add_func_uint8_t_u_u(((safe_mul_func_int16_t_s_s(g_287.f0, p_80)) <= l_1271), ((safe_add_func_uint64_t_u_u((((safe_add_func_uint64_t_u_u((safe_sub_func_int16_t_s_s(g_473[0][2].f3, (safe_sub_func_int32_t_s_s((+((2L | ((safe_lshift_func_uint16_t_u_s((safe_lshift_func_uint16_t_u_s(p_79, 1)), 3)) , p_79)) != p_79)), p_80)))), g_249)) , 1L) || p_79), l_1285)) && (***g_1165)))), p_79)) && 8UL) != g_994.f1)) , g_785[8][2][0])), g_309))))
{ /* block id: 562 */
if (p_79)
goto lbl_1286;
}
else
{ /* block id: 564 */
uint32_t l_1295[10][1];
int i, j;
for (i = 0; i < 10; i++)
{
for (j = 0; j < 1; j++)
l_1295[i][j] = 1UL;
}
(**p_81) = (safe_rshift_func_uint8_t_u_u(g_287.f0, ((safe_sub_func_int8_t_s_s((safe_mod_func_uint16_t_u_u((safe_div_func_uint32_t_u_u((((l_1295[9][0] && l_1295[9][0]) < (safe_mod_func_int16_t_s_s(g_463.f3, (safe_add_func_uint16_t_u_u(65535UL, ((*g_533) | (g_457 = (p_80 != (p_79 , (safe_mul_func_uint16_t_u_u(l_1295[4][0], g_861.f3))))))))))) == l_1295[1][0]), (**p_81))), g_389)), g_155)) == g_17)));
}
return g_74;
}
/* ------------------------------------------ */
/*
* reads : g_267 g_472 g_261 g_262 g_309 g_30 g_8 g_490 g_394 g_491 g_458.f1 g_888 g_662 g_248 g_249 g_395 l_41
* writes: g_267 g_389 g_473 g_457 g_309 g_12 g_395 g_254 g_8
*/
struct S0 func_84(uint32_t p_85, const int64_t p_86, const int32_t ** const p_87, int64_t p_88, int32_t ** p_89)
{ /* block id: 195 */
int64_t l_488 = (-3L);
int32_t l_492 = 0xD8BC06ADL;
uint64_t l_581 = 0x088B93832F545F7ALL;
int32_t l_585[10] = {7L,7L,7L,7L,7L,7L,7L,7L,7L,7L};
uint32_t *l_633[4];
struct S0 **l_636 = &g_394;
uint16_t l_646[5][1] = {{6UL},{0x0C29L},{6UL},{0x0C29L},{6UL}};
uint32_t l_663 = 1UL;
uint8_t l_680 = 0xAAL;
uint32_t l_713 = 1UL;
union U1 *l_762 = &g_622;
uint32_t *l_783 = &g_155;
int64_t l_860 = (-10L);
union U1 *l_890 = &g_891;
int16_t * const l_899 = &g_441;
int64_t l_900 = 0xE3AA3CB75095DD12LL;
int32_t l_901 = 1L;
int32_t *l_902 = &g_8[1][3];
int32_t *l_903 = (void*)0;
int32_t *l_904 = &l_492;
int32_t *l_905 = &g_8[1][3];
int32_t *l_906 = &l_585[8];
int32_t *l_907[9];
uint64_t l_908 = 0xFFDD788462439B5FLL;
int i, j;
for (i = 0; i < 4; i++)
l_633[i] = &g_196;
for (i = 0; i < 9; i++)
l_907[i] = &l_585[3];
for (g_267 = 1; (g_267 <= 6); g_267 += 1)
{ /* block id: 198 */
int64_t *l_484 = &g_309;
uint64_t l_509[3][4][4] = {{{0x5BB0D3B04F824CFFLL,1UL,1UL,0x5BB0D3B04F824CFFLL},{0x5BB0D3B04F824CFFLL,0x9268543CF993AF7CLL,18446744073709551613UL,0xF31FDDB663367640LL},{0xB36802E4203405DALL,0x5BB0D3B04F824CFFLL,0x8E794281208C59D7LL,0x7DA3B9606BB907DBLL},{1UL,18446744073709551610UL,1UL,0x7DA3B9606BB907DBLL}},{{0x8E794281208C59D7LL,0x5BB0D3B04F824CFFLL,0xB36802E4203405DALL,0xF31FDDB663367640LL},{18446744073709551613UL,0x9268543CF993AF7CLL,0x5BB0D3B04F824CFFLL,0x5BB0D3B04F824CFFLL},{1UL,1UL,0x5BB0D3B04F824CFFLL,1UL},{18446744073709551613UL,18446744073709551615UL,0xB36802E4203405DALL,0x9268543CF993AF7CLL}},{{0x8E794281208C59D7LL,0xB36802E4203405DALL,1UL,0xB36802E4203405DALL},{1UL,0xB36802E4203405DALL,0x8E794281208C59D7LL,0x9268543CF993AF7CLL},{0xB36802E4203405DALL,18446744073709551615UL,18446744073709551613UL,1UL},{0x5BB0D3B04F824CFFLL,1UL,1UL,0x5BB0D3B04F824CFFLL}}};
uint64_t l_536 = 18446744073709551608UL;
int32_t l_541 = (-2L);
volatile int32_t *l_594[4];
union U1 *l_643[4];
union U1 **l_642[8] = {&l_643[3],(void*)0,&l_643[3],&l_643[3],(void*)0,&l_643[3],&l_643[3],(void*)0};
int16_t *l_704 = &g_441;
int32_t * const *l_709[8] = {&g_16,&g_16,&g_16,&g_16,&g_16,&g_16,&g_16,&g_16};
int32_t * const **l_708 = &l_709[3];
uint16_t l_798 = 4UL;
int8_t l_841 = 0x8EL;
int i, j, k;
for (i = 0; i < 4; i++)
l_594[i] = &g_462;
for (i = 0; i < 4; i++)
l_643[i] = (void*)0;
for (g_389 = 1; (g_389 <= 6); g_389 += 1)
{ /* block id: 201 */
int64_t l_489[1][6] = {{(-1L),(-1L),0xF9AE99722DEFF4B9LL,(-1L),(-1L),0xF9AE99722DEFF4B9LL}};
int i, j;
g_473[0][2] = g_472;
for (g_457 = 1; (g_457 <= 4); g_457 += 1)
{ /* block id: 205 */
struct S0 * const *l_485 = &g_394;
int i;
if ((((*l_484) ^= (safe_mod_func_int64_t_s_s(9L, (safe_sub_func_int8_t_s_s(((safe_div_func_int32_t_s_s(1L, ((p_88 , (safe_sub_func_int8_t_s_s(0x73L, (((safe_lshift_func_uint8_t_u_s((l_484 != &p_86), (&g_394 != l_485))) , ((safe_mod_func_int64_t_s_s(((&g_196 == &g_196) != 1L), (*g_261))) < p_86)) , p_86)))) , l_488))) < 0x6DL), l_489[0][5]))))) ^ 1L))
{ /* block id: 207 */
for (g_12 = 3; (g_12 >= 0); g_12 -= 1)
{ /* block id: 210 */
if ((*g_30))
break;
}
}
else
{ /* block id: 213 */
(*g_394) = g_490;
(**l_485) = g_491;
}
}
}
l_492 |= (**p_89);
for (g_254 = 0; (g_254 <= 6); g_254 += 1)
{ /* block id: 222 */
int8_t l_493[1];
uint16_t *l_531 = &g_254;
int32_t l_584 = 0xBD1BB3F1L;
int32_t l_586[5];
uint32_t *l_593 = &g_196;
uint32_t **l_592 = &l_593;
struct S0 **l_635 = &g_394;
int64_t **l_678 = &l_484;
uint32_t ***l_685[9] = {&l_592,&l_592,(void*)0,&l_592,&l_592,(void*)0,&l_592,&l_592,(void*)0};
uint32_t **** const l_684[2] = {&l_685[8],&l_685[8]};
int8_t l_725[8] = {(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)};
union U1 *l_763 = &g_583;
const uint32_t *l_784 = &g_785[9][6][0];
int32_t ****l_803[7][6][1] = {{{&g_400},{&g_400},{&g_400},{(void*)0},{&g_400},{(void*)0}},{{&g_400},{&g_400},{&g_400},{(void*)0},{&g_400},{(void*)0}},{{&g_400},{&g_400},{&g_400},{(void*)0},{&g_400},{(void*)0}},{{&g_400},{&g_400},{&g_400},{(void*)0},{&g_400},{(void*)0}},{{&g_400},{&g_400},{&g_400},{(void*)0},{&g_400},{(void*)0}},{{&g_400},{&g_400},{&g_400},{(void*)0},{&g_400},{(void*)0}},{{&g_400},{&g_400},{&g_400},{(void*)0},{&g_400},{(void*)0}}};
uint32_t ****l_849 = &l_685[0];
int i, j, k;
for (i = 0; i < 1; i++)
l_493[i] = 0x65L;
for (i = 0; i < 5; i++)
l_586[i] = 0xAC332766L;
}
(**p_89) &= (safe_sub_func_int16_t_s_s(g_458.f1, ((safe_mod_func_uint64_t_u_u(((l_762 != (l_890 = g_888)) > (((safe_sub_func_uint16_t_u_u(l_581, ((safe_unary_minus_func_int32_t_s(l_581)) , (((safe_rshift_func_uint8_t_u_u(p_88, (safe_div_func_int16_t_s_s(g_662, p_88)))) , l_899) == &g_441)))) & g_472.f3) != 255UL)), (*g_248))) , p_85)));
}
--l_908;
return (**l_636);
}
/* ------------------------------------------ */
/*
* reads : g_458 g_417 g_416 g_463 g_394 g_248 g_249
* writes: g_395
*/
int64_t func_90(int32_t * p_91, int16_t p_92, int8_t p_93, uint64_t * const p_94)
{ /* block id: 186 */
int16_t l_459 = 1L;
volatile int32_t *l_461 = &g_462;
int32_t l_464 = 0L;
int32_t l_465[8] = {1L,1L,1L,1L,1L,1L,1L,1L};
uint8_t l_466 = 0xBDL;
int i;
if ((g_458 , l_459))
{ /* block id: 187 */
return p_92;
}
else
{ /* block id: 189 */
volatile int32_t **l_460[2];
int i;
for (i = 0; i < 2; i++)
l_460[i] = (void*)0;
l_461 = (*g_417);
(*g_394) = g_463;
l_466++;
return (*g_248);
}
}
/* ------------------------------------------ */
/*
* reads : g_74 g_23 g_8 g_137 g_147 g_151 g_156 g_12 g_155 g_190 g_196 g_30 g_224 g_50 g_193 g_225 g_248 g_17 g_262 g_261 g_287 g_288 g_249 g_304 g_365 g_309 g_254 g_389 g_390 g_394 g_398 g_267 g_416 g_417 g_399 g_400 g_347 g_438
* writes: g_137 g_151 g_155 g_196 g_16 g_193 g_8 g_248 g_254 g_260 g_267 g_17 g_25 g_287 g_305 g_365 g_309 g_399 g_416
*/
int32_t * func_95(uint16_t * p_96)
{ /* block id: 26 */
uint32_t l_104 = 0xD1F38FA4L;
uint64_t *l_426 = &g_225;
int32_t *l_435 = &g_8[1][3];
(*g_438) = (((*l_435) = func_98(l_104, (*p_96), (*p_96), func_105(l_104), (l_104 , l_426))) , (safe_add_func_uint16_t_u_u(((*l_435) , 0xE9E6L), (*p_96))));
return l_435;
}
/* ------------------------------------------ */
/*
* reads : g_8
* writes:
*/
int32_t func_98(uint32_t p_99, uint16_t p_100, uint16_t p_101, int32_t ** p_102, uint64_t * p_103)
{ /* block id: 177 */
int32_t *l_427 = (void*)0;
int32_t *l_428 = &g_8[1][3];
int32_t *l_429 = &g_8[1][3];
int32_t *l_430[3][4][1];
int32_t l_431 = 1L;
uint16_t l_432 = 0x9CABL;
int i, j, k;
for (i = 0; i < 3; i++)
{
for (j = 0; j < 4; j++)
{
for (k = 0; k < 1; k++)
l_430[i][j][k] = &g_17;
}
}
--l_432;
return (*l_429);
}
/* ------------------------------------------ */
/*
* reads : g_23 g_8 g_137 g_147 g_74 g_151 g_156 g_12 g_155 g_190 g_196 g_30 g_224 g_50 g_193 g_225 g_248 g_17 g_262 g_261 g_287 g_288 g_249 g_304 g_365 g_309 g_254 g_389 g_390 g_394 g_398 g_267 g_416 g_417 g_399 g_400 g_347
* writes: g_137 g_151 g_155 g_196 g_16 g_193 g_8 g_248 g_254 g_260 g_267 g_17 g_25 g_287 g_305 g_365 g_309 g_399 g_416
*/
int32_t ** func_105(uint8_t p_106)
{ /* block id: 27 */
int32_t l_107 = 0x833C0C38L;
int32_t * const l_117[10][5][1] = {{{&g_8[1][3]},{&g_8[1][3]},{&g_8[1][3]},{&g_8[1][3]},{&g_17}},{{&g_8[1][3]},{&g_8[1][3]},{&g_8[1][3]},{&g_8[1][3]},{&g_17}},{{&g_8[1][3]},{&g_8[1][3]},{&g_8[1][3]},{&g_8[1][3]},{&g_17}},{{&g_8[1][3]},{&g_8[1][3]},{&g_8[1][3]},{&g_8[1][3]},{&g_17}},{{&g_8[1][3]},{&g_8[1][3]},{&g_8[1][3]},{&g_8[1][3]},{&g_17}},{{&g_8[1][3]},{&g_8[1][3]},{&g_8[1][3]},{&g_8[1][3]},{&g_17}},{{&g_8[1][3]},{&g_8[1][3]},{&g_8[1][3]},{&g_8[1][3]},{&g_17}},{{&g_8[1][3]},{&g_8[2][0]},{&g_8[2][0]},{&g_17},{&g_8[1][3]}},{{&g_17},{&g_8[2][0]},{&g_8[2][0]},{&g_17},{&g_8[1][3]}},{{&g_17},{&g_8[2][0]},{&g_8[2][0]},{&g_17},{&g_8[1][3]}}};
int16_t l_128 = 0x701DL;
int8_t *l_129[9][1] = {{&g_12},{&g_26},{&g_12},{&g_26},{&g_12},{&g_26},{&g_12},{&g_26},{&g_12}};
int32_t l_130 = 0x1B86B2CCL;
uint32_t l_135 = 1UL;
int32_t *l_171 = (void*)0;
int64_t *l_258 = (void*)0;
int64_t **l_257 = &l_258;
int64_t l_326 = 0x5DB20FBAEA80D7BFLL;
uint16_t l_348 = 1UL;
uint32_t l_385 = 0UL;
int32_t ***l_397[4][6] = {{&g_347[1],&g_347[3],&g_347[1],&g_347[1],&g_347[3],&g_347[1]},{&g_347[1],&g_347[3],&g_347[1],&g_347[1],&g_347[3],&g_347[1]},{&g_347[1],&g_347[3],&g_347[1],&g_347[1],&g_347[3],&g_347[1]},{&g_347[1],&g_347[3],&g_347[1],&g_347[1],&g_347[3],&g_347[1]}};
int32_t ****l_396 = &l_397[0][0];
int32_t *l_415 = (void*)0;
int8_t l_424[10][1][1];
int i, j, k;
for (i = 0; i < 10; i++)
{
for (j = 0; j < 1; j++)
{
for (k = 0; k < 1; k++)
l_424[i][j][k] = 1L;
}
}
if (((g_23[0][4] , l_107) != (!(safe_lshift_func_int16_t_s_s(0x1D09L, (safe_sub_func_int8_t_s_s((l_130 = (safe_mod_func_int64_t_s_s((safe_div_func_uint8_t_u_u(((l_117[6][3][0] == l_117[7][3][0]) == p_106), (safe_mul_func_uint8_t_u_u((p_106 || (safe_mod_func_int64_t_s_s((safe_add_func_int8_t_s_s(p_106, ((((safe_lshift_func_int8_t_s_s(((safe_sub_func_uint16_t_u_u((0x980DL < p_106), p_106)) && p_106), p_106)) == g_8[1][3]) && 0xDBL) || l_128))), p_106))), 248UL)))), p_106))), p_106)))))))
{ /* block id: 29 */
uint8_t *l_136 = &g_137;
int32_t l_144 = 0L;
uint8_t *l_150 = &g_151[0];
int64_t l_152 = 0x6A1BC1FB248A18BDLL;
int16_t l_163 = 0L;
int32_t l_194 = 0x30F98853L;
int64_t **l_263 = &g_261;
int8_t l_268[10][6][4] = {{{0x10L,0L,1L,(-9L)},{(-1L),0L,(-8L),(-1L)},{0L,0L,(-2L),0L},{0x68L,6L,0L,0L},{0xA5L,(-1L),(-8L),(-1L)},{0xD9L,0x9CL,0x68L,1L}},{{0x10L,0xD9L,0x77L,0L},{(-1L),0x3CL,0x54L,1L},{(-1L),0L,0x77L,6L},{0x10L,1L,0x68L,(-9L)},{0xD9L,0xA5L,(-8L),0x3CL},{0xA5L,0L,0L,0xA5L}},{{0x68L,(-1L),(-2L),0L},{0L,1L,(-8L),0xD9L},{(-1L),0x9CL,1L,0xD9L},{0x10L,1L,(-9L),0L},{0x3CL,(-1L),0x54L,0xA5L},{6L,0L,0L,0x3CL}},{{0x10L,0xA5L,0x10L,(-9L)},{1L,1L,(-8L),6L},{1L,0L,0x9CL,1L},{0x68L,0x3CL,0x9CL,0L},{1L,0xD9L,(-8L),1L},{1L,0x9CL,0x10L,(-1L)}},{{0x10L,(-1L),0L,0L},{6L,6L,0x54L,0L},{0x3CL,0L,(-9L),(-1L)},{0x10L,0L,1L,(-9L)},{(-1L),0L,(-8L),(-1L)},{0L,0L,(-2L),0L}},{{0x68L,6L,0L,0L},{0xA5L,(-1L),(-8L),(-1L)},{0xD9L,0x9CL,0x68L,1L},{0x10L,0xD9L,0x77L,0L},{(-1L),0x3CL,0x54L,1L},{(-1L),0L,0x77L,6L}},{{1L,0x9CL,0x77L,0xDFL},{0L,(-2L),(-1L),0x68L},{(-2L),(-8L),(-8L),(-2L)},{0x77L,0x10L,0x54L,(-9L)},{0L,(-9L),(-1L),0L},{0x77L,(-8L),0x81L,0L}},{{1L,(-9L),0xDFL,(-9L)},{0x68L,0x10L,0x3CL,(-2L)},{1L,(-8L),(-9L),0x68L},{1L,(-2L),1L,0xDFL},{(-9L),0x9CL,(-1L),1L},{0x9CL,(-8L),(-8L),0x9CL}},{{0x77L,0x68L,(-8L),(-9L)},{0x9CL,0L,(-1L),(-9L)},{(-9L),(-8L),1L,0x77L},{1L,0x77L,(-9L),(-9L)},{1L,1L,0x3CL,0L},{0x68L,(-8L),0xDFL,0x10L}},{{1L,0L,0x81L,0xDFL},{0x77L,0L,(-1L),0x10L},{0L,(-8L),0x54L,0L},{0x77L,1L,(-8L),(-9L)},{(-2L),0x77L,(-1L),0x77L},{0L,(-8L),0x77L,(-9L)}}};
uint32_t l_271[6] = {4294967295UL,4294967295UL,4294967295UL,4294967295UL,4294967295UL,4294967295UL};
int32_t *l_302 = &l_130;
int32_t l_316 = 0xAE116205L;
int32_t l_321 = (-4L);
int32_t ** const l_344 = (void*)0;
int32_t ***l_351 = &g_347[2];
int32_t ****l_350 = &l_351;
int32_t l_353 = 0x0E9E2214L;
int32_t *l_408 = &l_316;
uint64_t l_412 = 0xC6B99193B4A5A0E8LL;
int i, j, k;
l_152 &= ((safe_mul_func_uint8_t_u_u(p_106, (((safe_add_func_int8_t_s_s(l_135, (--(*l_136)))) != ((*l_150) ^= (p_106 >= ((safe_mul_func_uint16_t_u_u((safe_mul_func_uint16_t_u_u(l_144, (safe_add_func_int8_t_s_s(((p_106 & (g_147[3] , (safe_mul_func_int16_t_s_s((((void*)0 != &g_30) & 1UL), (-1L))))) ^ l_144), g_74)))), g_8[1][3])) , 1UL)))) ^ l_144))) && p_106);
if ((p_106 || (0xD517L <= (safe_mod_func_int64_t_s_s(((((g_155 = l_144) == (g_8[1][3] < (((g_151[0] , g_156) , (((safe_sub_func_uint8_t_u_u(0xAAL, ((safe_lshift_func_uint16_t_u_u((safe_sub_func_uint8_t_u_u(l_163, (safe_rshift_func_int8_t_s_s(((0xB8081AEEC9762EA7LL & 0x15EE1BD5518D9D7CLL) != g_137), 2)))), p_106)) == l_152))) , &g_17) == (void*)0)) < p_106))) | 0x5B50DB93L) , g_12), p_106)))))
{ /* block id: 34 */
int32_t * const l_170 = &l_144;
for (l_135 = 0; (l_135 > 35); l_135 = safe_add_func_uint16_t_u_u(l_135, 2))
{ /* block id: 37 */
uint16_t *l_178 = &g_74;
int64_t *l_179 = &l_152;
uint64_t *l_192[1][8] = {{&g_193,&g_193,&g_193,&g_193,&g_193,&g_193,&g_193,&g_193}};
uint32_t *l_195 = &g_196;
int i, j;
for (l_152 = 0; (l_152 <= 20); l_152 = safe_add_func_int16_t_s_s(l_152, 7))
{ /* block id: 40 */
l_171 = l_170;
return &g_16;
}
(*l_170) = (safe_mul_func_uint16_t_u_u((safe_div_func_uint32_t_u_u(((*l_195) &= (safe_mod_func_int64_t_s_s(((*l_179) = ((void*)0 != l_178)), (p_106 && (safe_add_func_int32_t_s_s((safe_mul_func_uint16_t_u_u((safe_mul_func_uint16_t_u_u((9UL ^ g_155), (~(((~(*l_170)) >= (safe_rshift_func_uint8_t_u_s(((5L <= (*l_170)) <= (l_194 ^= ((l_179 != g_190) < (-1L)))), 4))) ^ p_106)))), p_106)), (*l_170))))))), g_147[3].f0)), (*l_170)));
}
}
else
{ /* block id: 49 */
int32_t **l_197 = &l_171;
(*l_197) = &g_17;
l_171 = (*l_197);
}
l_194 |= (-1L);
if ((*g_30))
{ /* block id: 54 */
int32_t *l_206 = (void*)0;
int16_t l_265[3][2] = {{1L,1L},{1L,1L},{1L,1L}};
int32_t l_269 = 0xFF7721BBL;
int32_t l_270 = (-1L);
int32_t l_318[8] = {0xFECDE3A1L,0x37F9CC13L,0x37F9CC13L,0xFECDE3A1L,0x37F9CC13L,0x37F9CC13L,0xFECDE3A1L,0x37F9CC13L};
int8_t l_362 = (-1L);
int32_t l_373 = 1L;
int i, j;
if ((l_144 &= (0xBFAC6FD5171A1068LL || l_163)))
{ /* block id: 56 */
int32_t *l_209[9];
int32_t l_228 = 4L;
const int64_t **l_250 = &g_248;
int64_t *l_253[9] = {&l_152,&l_152,&l_152,&l_152,&l_152,&l_152,&l_152,&l_152,&l_152};
int64_t ***l_259 = (void*)0;
int64_t *l_264[6][3][1] = {{{(void*)0},{(void*)0},{&g_262[6][3]}},{{&g_262[7][3]},{&l_152},{&g_262[6][3]}},{{&l_152},{&g_262[7][3]},{&g_262[6][3]}},{{(void*)0},{(void*)0},{&g_262[6][3]}},{{&g_262[7][3]},{&l_152},{&g_262[6][3]}},{{&l_152},{&g_262[7][3]},{&g_262[6][3]}}};
uint16_t *l_266 = &g_267;
uint64_t l_327 = 0UL;
int i, j, k;
for (i = 0; i < 9; i++)
l_209[i] = &g_8[1][3];
for (p_106 = (-27); (p_106 <= 49); p_106 = safe_add_func_int16_t_s_s(p_106, 5))
{ /* block id: 59 */
int32_t **l_207 = &g_16;
int32_t **l_208 = (void*)0;
int64_t *l_214 = (void*)0;
int64_t *l_215 = &l_152;
uint64_t *l_216 = &g_193;
uint32_t *l_226 = &g_196;
uint32_t *l_227 = &l_135;
l_228 |= ((*g_30) = (safe_sub_func_int32_t_s_s((((*l_216) = (safe_sub_func_uint32_t_u_u((safe_add_func_int64_t_s_s(p_106, (l_206 == (l_209[5] = ((*l_207) = &g_8[1][3]))))), (safe_mul_func_int8_t_s_s((l_144 = (safe_lshift_func_uint16_t_u_u((p_106 <= (((*l_215) |= p_106) >= p_106)), 2))), l_194))))) <= (safe_sub_func_uint32_t_u_u(((*l_227) |= ((*l_226) = (safe_mod_func_uint8_t_u_u(((safe_unary_minus_func_int32_t_s((safe_add_func_uint16_t_u_u(((p_106 , (void*)0) != g_224), g_12)))) >= 0x322FC8A4L), 0x57L)))), p_106))), g_50)));
for (g_193 = 3; (g_193 <= 8); g_193 += 1)
{ /* block id: 71 */
int32_t **l_229 = &l_206;
int i;
(*l_229) = ((*l_207) = l_209[g_193]);
}
}
l_268[5][2][2] = (safe_rshift_func_uint16_t_u_u(((*l_266) = (safe_sub_func_uint64_t_u_u((*g_224), (0UL ^ ((safe_lshift_func_int16_t_s_u((safe_div_func_int64_t_s_s((safe_lshift_func_uint8_t_u_s(0x44L, (safe_sub_func_int8_t_s_s(((((safe_mod_func_int8_t_s_s((safe_sub_func_uint8_t_u_u(((*l_150) = ((*l_136)--)), (l_194 ^= ((l_265[2][0] = (((*l_250) = g_248) == ((safe_lshift_func_int16_t_s_u(((0L == ((g_254 = g_17) , (safe_lshift_func_int16_t_s_s(((p_106 != (((p_106 , (((g_260[0] = l_257) == l_263) || 4294967288UL)) || 4294967289UL) , p_106)) <= p_106), 5)))) & 0xFAL), 7)) , l_264[5][0][0]))) <= 0x6BBE48DEL)))), l_144)) == 0x66434410D69DBB52LL) , p_106) , p_106), g_262[1][3])))), (*g_261))), p_106)) ^ 0xB85BL))))), p_106));
for (g_17 = 0; (g_17 <= 6); g_17 += 1)
{ /* block id: 87 */
uint32_t l_283 = 0x5CEC3518L;
int32_t l_300 = 0x705F32BFL;
int32_t l_311 = 0x9E8C40D4L;
int64_t l_313 = 0x4A83E69CA97485B8LL;
int32_t l_314 = 0x6CF73A63L;
int32_t l_315 = 0x31D999A0L;
int32_t l_319 = 2L;
int32_t l_320 = (-8L);
int64_t l_325 = 0xB412A56E4B4E9711LL;
for (l_130 = 2; (l_130 <= 6); l_130 += 1)
{ /* block id: 90 */
int8_t *l_282 = &l_268[4][1][2];
int32_t l_284 = 0x27A7921FL;
int i;
l_271[3]++;
l_284 = ((safe_mod_func_int32_t_s_s((l_163 <= (((g_25[l_130] = &g_26) == (((*g_224) , (safe_sub_func_int8_t_s_s((safe_add_func_int64_t_s_s(((l_253[g_17] = l_253[(g_17 + 1)]) != ((safe_div_func_uint8_t_u_u((p_106 & (0L <= (*g_30))), p_106)) , (*l_257))), (*g_261))), g_262[1][3]))) , l_282)) && p_106)), l_283)) >= p_106);
if (l_284)
break;
}
for (p_106 = 0; (p_106 < 45); p_106 = safe_add_func_uint64_t_u_u(p_106, 5))
{ /* block id: 99 */
const uint64_t l_289[4] = {0x1684F62FEAE69931LL,0x1684F62FEAE69931LL,0x1684F62FEAE69931LL,0x1684F62FEAE69931LL};
int i;
(*g_288) = g_287;
if (l_289[2])
break;
l_144 &= ((l_163 > (((void*)0 == &g_254) <= ((g_50 , (safe_mod_func_int64_t_s_s((safe_rshift_func_int16_t_s_s((l_283 || ((*g_248) && (3L >= (-1L)))), g_147[3].f2)), 0xDB857E70C58C6111LL))) >= p_106))) && 0xCAL);
}
for (g_137 = 15; (g_137 == 5); g_137 = safe_sub_func_uint64_t_u_u(g_137, 5))
{ /* block id: 106 */
int32_t **l_301[10][1][8] = {{{&l_171,&l_209[5],&l_171,&g_16,&g_16,&l_171,&l_209[5],&l_171}},{{&l_206,&g_16,&l_209[6],&g_16,&l_206,&l_206,&g_16,&l_209[6]}},{{&l_206,&l_206,&g_16,&l_209[6],&g_16,&l_206,&l_206,&g_16}},{{&l_171,&g_16,&g_16,&l_171,&l_209[5],&l_171,&g_16,&g_16}},{{&g_16,&l_209[5],&l_209[6],&l_209[6],&l_206,&l_171,&l_206,&l_209[5]}},{{&l_209[6],&l_206,&l_209[6],&l_171,&l_171,&l_209[6],&l_206,&l_209[6]}},{{&g_16,&l_171,&l_209[5],&l_171,&g_16,&g_16,&l_171,&l_209[5]}},{{&g_16,&g_16,&l_171,&l_209[5],&l_171,&g_16,&g_16,&l_171}},{{&l_209[6],&l_171,&l_171,&l_209[6],&l_206,&l_209[6],&l_171,&l_171}},{{&l_171,&l_206,&l_209[5],&l_209[5],&l_206,&l_171,&l_206,&l_209[5]}}};
int32_t *l_303 = (void*)0;
int i, j, k;
l_300 ^= p_106;
l_206 = (l_303 = (l_209[5] = (l_302 = &l_270)));
g_305 = g_304;
(*g_30) &= (*l_302);
}
for (g_193 = 0; (g_193 != 10); g_193++)
{ /* block id: 117 */
int16_t l_308 = 0xA40EL;
int32_t l_310 = 4L;
int32_t l_312 = (-3L);
int32_t l_317[3];
uint64_t l_322 = 0x83D3E0E9D6124FCFLL;
int i;
for (i = 0; i < 3; i++)
l_317[i] = (-4L);
--l_322;
--l_327;
}
}
}
else
{ /* block id: 122 */
int8_t l_336 = 4L;
for (l_152 = (-20); (l_152 == (-10)); ++l_152)
{ /* block id: 125 */
int32_t **l_345 = (void*)0;
int32_t ***l_346[10] = {&l_345,&l_345,&l_345,&l_345,&l_345,&l_345,&l_345,&l_345,&l_345,&l_345};
int i;
}
}
(*l_302) = 1L;
for (l_269 = 0; (l_269 == (-15)); l_269--)
{ /* block id: 139 */
struct S0 *l_356 = (void*)0;
struct S0 *l_357[8] = {&g_305,&g_304,&g_304,&g_305,&g_304,&g_304,&g_305,&g_304};
int32_t l_358 = 0x4D7A43F1L;
int32_t l_359 = 1L;
int32_t l_360 = 1L;
int32_t l_361 = 4L;
int32_t l_363 = (-3L);
int32_t l_364 = 2L;
int i;
(*g_288) = (*g_288);
--g_365;
(*l_302) |= 0x4E430C84L;
}
for (g_309 = 6; (g_309 >= 0); g_309 -= 1)
{ /* block id: 146 */
uint32_t l_372 = 0xE602A5E3L;
uint64_t l_381 = 1UL;
uint16_t *l_382 = &g_254;
struct S0 **l_391 = (void*)0;
struct S0 *l_393[10][1];
struct S0 **l_392 = &l_393[3][0];
int32_t *l_409 = &l_353;
int i, j;
for (i = 0; i < 10; i++)
{
for (j = 0; j < 1; j++)
l_393[i][j] = &g_304;
}
(*l_302) = ((*g_288) , ((safe_add_func_int64_t_s_s((*g_248), (safe_sub_func_int8_t_s_s((l_373 = l_372), (((safe_sub_func_uint16_t_u_u(((safe_lshift_func_uint8_t_u_u(0x02L, (~((safe_rshift_func_uint16_t_u_s(0UL, 10)) <= l_381)))) & (((*l_382)++) == 0x207DL)), l_385)) || (!(safe_mul_func_int8_t_s_s((l_372 == g_389), g_147[3].f0)))) > 1UL))))) , p_106));
(*l_302) ^= ((p_106 < ((g_155 ^ (((*l_382) = (g_287.f1 || (((*l_392) = (g_390 , &g_305)) != g_394))) & p_106)) < p_106)) & g_304.f3);
(*g_398) = l_396;
l_206 = ((safe_mod_func_uint8_t_u_u((+((safe_mul_func_uint16_t_u_u((((-1L) || ((*l_382) = ((((l_409 = l_408) == (void*)0) > 5UL) < ((*l_302) = ((((safe_add_func_uint16_t_u_u((l_412 > ((void*)0 == (*l_396))), ((safe_sub_func_uint16_t_u_u(g_267, ((0L <= 0xF3B15DECD937DA5CLL) != 0x79BC4A577A698D87LL))) , (*l_302)))) <= p_106) , p_106) | 0UL))))) & (-1L)), p_106)) == (*g_248))), p_106)) , l_415);
}
}
else
{ /* block id: 159 */
int32_t *l_421 = &l_353;
(*g_417) = g_416;
for (l_130 = 0; (l_130 <= (-26)); l_130 = safe_sub_func_uint16_t_u_u(l_130, 1))
{ /* block id: 163 */
int32_t **l_420 = &l_415;
return (***g_398);
}
l_302 = l_421;
for (l_130 = 5; (l_130 < (-30)); l_130--)
{ /* block id: 169 */
l_424[7][0][0] &= (*g_30);
}
}
}
else
{ /* block id: 173 */
int32_t **l_425[3][7] = {{&l_415,&g_16,&l_415,(void*)0,&l_171,&l_171,(void*)0},{&l_415,&g_16,&l_415,(void*)0,&l_171,&l_171,(void*)0},{&l_415,&g_16,&l_415,(void*)0,&l_171,&l_171,(void*)0}};
int i, j;
return (*g_400);
}
return (**l_396);
}
/* ---------------------------------------- */
int main (int argc, char* argv[])
{
int i, j, k;
int print_hash_value = 0;
if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
platform_main_begin();
crc32_gentab();
func_1();
for (i = 0; i < 3; i++)
{
for (j = 0; j < 5; j++)
{
transparent_crc(g_8[i][j], "g_8[i][j]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
transparent_crc(g_12, "g_12", print_hash_value);
transparent_crc(g_17, "g_17", print_hash_value);
transparent_crc(g_26, "g_26", print_hash_value);
transparent_crc(g_50, "g_50", print_hash_value);
transparent_crc(g_56, "g_56", print_hash_value);
transparent_crc(g_61, "g_61", print_hash_value);
transparent_crc(g_74, "g_74", print_hash_value);
transparent_crc(g_137, "g_137", print_hash_value);
for (i = 0; i < 4; i++)
{
transparent_crc(g_147[i].f0, "g_147[i].f0", print_hash_value);
transparent_crc(g_147[i].f1, "g_147[i].f1", print_hash_value);
transparent_crc(g_147[i].f2, "g_147[i].f2", print_hash_value);
transparent_crc(g_147[i].f3, "g_147[i].f3", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
for (i = 0; i < 3; i++)
{
transparent_crc(g_151[i], "g_151[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_155, "g_155", print_hash_value);
transparent_crc(g_156.f0, "g_156.f0", print_hash_value);
transparent_crc(g_156.f1, "g_156.f1", print_hash_value);
transparent_crc(g_156.f2, "g_156.f2", print_hash_value);
transparent_crc(g_156.f3, "g_156.f3", print_hash_value);
transparent_crc(g_191, "g_191", print_hash_value);
transparent_crc(g_193, "g_193", print_hash_value);
transparent_crc(g_196, "g_196", print_hash_value);
transparent_crc(g_225, "g_225", print_hash_value);
transparent_crc(g_249, "g_249", print_hash_value);
transparent_crc(g_254, "g_254", print_hash_value);
for (i = 0; i < 8; i++)
{
for (j = 0; j < 4; j++)
{
transparent_crc(g_262[i][j], "g_262[i][j]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
transparent_crc(g_267, "g_267", print_hash_value);
transparent_crc(g_287.f0, "g_287.f0", print_hash_value);
transparent_crc(g_287.f1, "g_287.f1", print_hash_value);
transparent_crc(g_287.f2, "g_287.f2", print_hash_value);
transparent_crc(g_287.f3, "g_287.f3", print_hash_value);
transparent_crc(g_304.f0, "g_304.f0", print_hash_value);
transparent_crc(g_304.f1, "g_304.f1", print_hash_value);
transparent_crc(g_304.f2, "g_304.f2", print_hash_value);
transparent_crc(g_304.f3, "g_304.f3", print_hash_value);
transparent_crc(g_305.f0, "g_305.f0", print_hash_value);
transparent_crc(g_305.f1, "g_305.f1", print_hash_value);
transparent_crc(g_305.f2, "g_305.f2", print_hash_value);
transparent_crc(g_305.f3, "g_305.f3", print_hash_value);
transparent_crc(g_309, "g_309", print_hash_value);
for (i = 0; i < 2; i++)
{
transparent_crc(g_341[i].f0, "g_341[i].f0", print_hash_value);
transparent_crc(g_341[i].f1, "g_341[i].f1", print_hash_value);
transparent_crc(g_341[i].f2, "g_341[i].f2", print_hash_value);
transparent_crc(g_341[i].f3, "g_341[i].f3", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_365, "g_365", print_hash_value);
transparent_crc(g_389, "g_389", print_hash_value);
transparent_crc(g_390.f0, "g_390.f0", print_hash_value);
transparent_crc(g_390.f1, "g_390.f1", print_hash_value);
transparent_crc(g_390.f2, "g_390.f2", print_hash_value);
transparent_crc(g_390.f3, "g_390.f3", print_hash_value);
transparent_crc(g_395.f0, "g_395.f0", print_hash_value);
transparent_crc(g_395.f1, "g_395.f1", print_hash_value);
transparent_crc(g_395.f2, "g_395.f2", print_hash_value);
transparent_crc(g_395.f3, "g_395.f3", print_hash_value);
transparent_crc(g_441, "g_441", print_hash_value);
transparent_crc(g_457, "g_457", print_hash_value);
transparent_crc(g_458.f0, "g_458.f0", print_hash_value);
transparent_crc(g_458.f1, "g_458.f1", print_hash_value);
transparent_crc(g_458.f2, "g_458.f2", print_hash_value);
transparent_crc(g_458.f3, "g_458.f3", print_hash_value);
transparent_crc(g_462, "g_462", print_hash_value);
transparent_crc(g_463.f0, "g_463.f0", print_hash_value);
transparent_crc(g_463.f1, "g_463.f1", print_hash_value);
transparent_crc(g_463.f2, "g_463.f2", print_hash_value);
transparent_crc(g_463.f3, "g_463.f3", print_hash_value);
transparent_crc(g_472.f0, "g_472.f0", print_hash_value);
transparent_crc(g_472.f1, "g_472.f1", print_hash_value);
transparent_crc(g_472.f2, "g_472.f2", print_hash_value);
transparent_crc(g_472.f3, "g_472.f3", print_hash_value);
for (i = 0; i < 8; i++)
{
for (j = 0; j < 4; j++)
{
transparent_crc(g_473[i][j].f0, "g_473[i][j].f0", print_hash_value);
transparent_crc(g_473[i][j].f1, "g_473[i][j].f1", print_hash_value);
transparent_crc(g_473[i][j].f2, "g_473[i][j].f2", print_hash_value);
transparent_crc(g_473[i][j].f3, "g_473[i][j].f3", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
transparent_crc(g_490.f0, "g_490.f0", print_hash_value);
transparent_crc(g_490.f1, "g_490.f1", print_hash_value);
transparent_crc(g_490.f2, "g_490.f2", print_hash_value);
transparent_crc(g_490.f3, "g_490.f3", print_hash_value);
transparent_crc(g_491.f0, "g_491.f0", print_hash_value);
transparent_crc(g_491.f1, "g_491.f1", print_hash_value);
transparent_crc(g_491.f2, "g_491.f2", print_hash_value);
transparent_crc(g_491.f3, "g_491.f3", print_hash_value);
transparent_crc(g_496.f0, "g_496.f0", print_hash_value);
transparent_crc(g_496.f1, "g_496.f1", print_hash_value);
transparent_crc(g_496.f2, "g_496.f2", print_hash_value);
transparent_crc(g_496.f3, "g_496.f3", print_hash_value);
transparent_crc(g_547.f0, "g_547.f0", print_hash_value);
transparent_crc(g_547.f1, "g_547.f1", print_hash_value);
transparent_crc(g_547.f2, "g_547.f2", print_hash_value);
transparent_crc(g_547.f3, "g_547.f3", print_hash_value);
transparent_crc(g_662, "g_662", print_hash_value);
transparent_crc(g_681.f0, "g_681.f0", print_hash_value);
transparent_crc(g_681.f1, "g_681.f1", print_hash_value);
transparent_crc(g_681.f2, "g_681.f2", print_hash_value);
transparent_crc(g_681.f3, "g_681.f3", print_hash_value);
transparent_crc(g_714.f0, "g_714.f0", print_hash_value);
transparent_crc(g_714.f1, "g_714.f1", print_hash_value);
transparent_crc(g_714.f2, "g_714.f2", print_hash_value);
transparent_crc(g_714.f3, "g_714.f3", print_hash_value);
transparent_crc(g_739.f0, "g_739.f0", print_hash_value);
transparent_crc(g_739.f1, "g_739.f1", print_hash_value);
transparent_crc(g_739.f2, "g_739.f2", print_hash_value);
transparent_crc(g_739.f3, "g_739.f3", print_hash_value);
transparent_crc(g_758, "g_758", print_hash_value);
transparent_crc(g_760.f0, "g_760.f0", print_hash_value);
transparent_crc(g_760.f1, "g_760.f1", print_hash_value);
transparent_crc(g_760.f2, "g_760.f2", print_hash_value);
transparent_crc(g_760.f3, "g_760.f3", print_hash_value);
transparent_crc(g_769, "g_769", print_hash_value);
for (i = 0; i < 10; i++)
{
for (j = 0; j < 10; j++)
{
for (k = 0; k < 2; k++)
{
transparent_crc(g_785[i][j][k], "g_785[i][j][k]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
}
}
}
for (i = 0; i < 6; i++)
{
for (j = 0; j < 3; j++)
{
transparent_crc(g_787[i][j].f0, "g_787[i][j].f0", print_hash_value);
transparent_crc(g_787[i][j].f1, "g_787[i][j].f1", print_hash_value);
transparent_crc(g_787[i][j].f2, "g_787[i][j].f2", print_hash_value);
transparent_crc(g_787[i][j].f3, "g_787[i][j].f3", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
transparent_crc(g_844, "g_844", print_hash_value);
transparent_crc(g_861.f0, "g_861.f0", print_hash_value);
transparent_crc(g_861.f1, "g_861.f1", print_hash_value);
transparent_crc(g_861.f2, "g_861.f2", print_hash_value);
transparent_crc(g_861.f3, "g_861.f3", print_hash_value);
for (i = 0; i < 4; i++)
{
transparent_crc(g_877[i].f0, "g_877[i].f0", print_hash_value);
transparent_crc(g_877[i].f1, "g_877[i].f1", print_hash_value);
transparent_crc(g_877[i].f2, "g_877[i].f2", print_hash_value);
transparent_crc(g_877[i].f3, "g_877[i].f3", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_994.f0, "g_994.f0", print_hash_value);
transparent_crc(g_994.f1, "g_994.f1", print_hash_value);
transparent_crc(g_994.f2, "g_994.f2", print_hash_value);
transparent_crc(g_994.f3, "g_994.f3", print_hash_value);
transparent_crc(g_998, "g_998", print_hash_value);
transparent_crc(g_1056, "g_1056", print_hash_value);
for (i = 0; i < 9; i++)
{
transparent_crc(g_1197[i].f0, "g_1197[i].f0", print_hash_value);
transparent_crc(g_1197[i].f1, "g_1197[i].f1", print_hash_value);
transparent_crc(g_1197[i].f2, "g_1197[i].f2", print_hash_value);
transparent_crc(g_1197[i].f3, "g_1197[i].f3", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_1198.f0, "g_1198.f0", print_hash_value);
transparent_crc(g_1198.f1, "g_1198.f1", print_hash_value);
transparent_crc(g_1198.f2, "g_1198.f2", print_hash_value);
transparent_crc(g_1198.f3, "g_1198.f3", print_hash_value);
transparent_crc(g_1339.f0, "g_1339.f0", print_hash_value);
transparent_crc(g_1339.f1, "g_1339.f1", print_hash_value);
transparent_crc(g_1339.f2, "g_1339.f2", print_hash_value);
transparent_crc(g_1339.f3, "g_1339.f3", print_hash_value);
transparent_crc(g_1365, "g_1365", print_hash_value);
for (i = 0; i < 9; i++)
{
for (j = 0; j < 8; j++)
{
transparent_crc(g_1464[i][j].f0, "g_1464[i][j].f0", print_hash_value);
transparent_crc(g_1464[i][j].f1, "g_1464[i][j].f1", print_hash_value);
transparent_crc(g_1464[i][j].f2, "g_1464[i][j].f2", print_hash_value);
transparent_crc(g_1464[i][j].f3, "g_1464[i][j].f3", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
for (i = 0; i < 4; i++)
{
for (j = 0; j < 10; j++)
{
for (k = 0; k < 2; k++)
{
transparent_crc(g_1517[i][j][k], "g_1517[i][j][k]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
}
}
}
transparent_crc(g_1521, "g_1521", print_hash_value);
transparent_crc(g_1523.f0, "g_1523.f0", print_hash_value);
transparent_crc(g_1523.f1, "g_1523.f1", print_hash_value);
transparent_crc(g_1523.f2, "g_1523.f2", print_hash_value);
transparent_crc(g_1523.f3, "g_1523.f3", print_hash_value);
transparent_crc(g_1587, "g_1587", print_hash_value);
for (i = 0; i < 7; i++)
{
for (j = 0; j < 2; j++)
{
transparent_crc(g_1673[i][j].f0, "g_1673[i][j].f0", print_hash_value);
transparent_crc(g_1673[i][j].f1, "g_1673[i][j].f1", print_hash_value);
transparent_crc(g_1673[i][j].f2, "g_1673[i][j].f2", print_hash_value);
transparent_crc(g_1673[i][j].f3, "g_1673[i][j].f3", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
transparent_crc(g_1674.f0, "g_1674.f0", print_hash_value);
transparent_crc(g_1674.f1, "g_1674.f1", print_hash_value);
transparent_crc(g_1674.f2, "g_1674.f2", print_hash_value);
transparent_crc(g_1674.f3, "g_1674.f3", print_hash_value);
transparent_crc(g_1735, "g_1735", print_hash_value);
platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
return 0;
}
/************************ statistics *************************
XXX max struct depth: 1
breakdown:
depth: 0, occurrence: 414
depth: 1, occurrence: 27
XXX total union variables: 9
XXX non-zero bitfields defined in structs: 3
XXX zero bitfields defined in structs: 0
XXX const bitfields defined in structs: 0
XXX volatile bitfields defined in structs: 1
XXX structs with bitfields in the program: 42
breakdown:
indirect level: 0, occurrence: 27
indirect level: 1, occurrence: 3
indirect level: 2, occurrence: 5
indirect level: 3, occurrence: 4
indirect level: 4, occurrence: 2
indirect level: 5, occurrence: 1
XXX full-bitfields structs in the program: 0
breakdown:
XXX times a bitfields struct's address is taken: 9
XXX times a bitfields struct on LHS: 4
XXX times a bitfields struct on RHS: 24
XXX times a single bitfield on LHS: 0
XXX times a single bitfield on RHS: 64
XXX max expression depth: 43
breakdown:
depth: 1, occurrence: 154
depth: 2, occurrence: 40
depth: 3, occurrence: 3
depth: 4, occurrence: 1
depth: 5, occurrence: 1
depth: 6, occurrence: 1
depth: 7, occurrence: 2
depth: 9, occurrence: 1
depth: 11, occurrence: 1
depth: 12, occurrence: 2
depth: 15, occurrence: 2
depth: 16, occurrence: 1
depth: 17, occurrence: 2
depth: 19, occurrence: 3
depth: 20, occurrence: 1
depth: 21, occurrence: 2
depth: 23, occurrence: 2
depth: 24, occurrence: 2
depth: 26, occurrence: 2
depth: 28, occurrence: 1
depth: 30, occurrence: 1
depth: 31, occurrence: 1
depth: 32, occurrence: 1
depth: 37, occurrence: 1
depth: 43, occurrence: 1
XXX total number of pointers: 358
XXX times a variable address is taken: 564
XXX times a pointer is dereferenced on RHS: 245
breakdown:
depth: 1, occurrence: 193
depth: 2, occurrence: 40
depth: 3, occurrence: 6
depth: 4, occurrence: 5
depth: 5, occurrence: 1
XXX times a pointer is dereferenced on LHS: 222
breakdown:
depth: 1, occurrence: 191
depth: 2, occurrence: 27
depth: 3, occurrence: 1
depth: 4, occurrence: 2
depth: 5, occurrence: 1
XXX times a pointer is compared with null: 34
XXX times a pointer is compared with address of another variable: 14
XXX times a pointer is compared with another pointer: 11
XXX times a pointer is qualified to be dereferenced: 5309
XXX max dereference level: 5
breakdown:
level: 0, occurrence: 0
level: 1, occurrence: 1190
level: 2, occurrence: 227
level: 3, occurrence: 122
level: 4, occurrence: 99
level: 5, occurrence: 33
XXX number of pointers point to pointers: 155
XXX number of pointers point to scalars: 187
XXX number of pointers point to structs: 8
XXX percent of pointers has null in alias set: 25.1
XXX average alias set size: 1.31
XXX times a non-volatile is read: 1355
XXX times a non-volatile is write: 667
XXX times a volatile is read: 100
XXX times read thru a pointer: 10
XXX times a volatile is write: 23
XXX times written thru a pointer: 0
XXX times a volatile is available for access: 3.36e+03
XXX percentage of non-volatile access: 94.3
XXX forward jumps: 0
XXX backward jumps: 3
XXX stmts: 152
XXX max block depth: 5
breakdown:
depth: 0, occurrence: 26
depth: 1, occurrence: 29
depth: 2, occurrence: 21
depth: 3, occurrence: 25
depth: 4, occurrence: 28
depth: 5, occurrence: 23
XXX percentage a fresh-made variable is used: 17.2
XXX percentage an existing variable is used: 82.8
FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
********************* end of statistics **********************/