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

2612 lines
179 KiB
C
Raw Normal View History

2019-07-15 14:04:54 +02:00
/*
* This is a RANDOMLY GENERATED PROGRAM.
*
* Generator: csmith 2.3.0
* Git version: 30dccd7
* Options: (none)
* Seed: 3578578359233515228
*/
#include "csmith.h"
static long __undefined;
/* --- Struct/Union Declarations --- */
#pragma pack(push)
#pragma pack(1)
struct S0 {
unsigned f0 : 28;
};
#pragma pack(pop)
/* --- GLOBAL VARIABLES --- */
static uint8_t g_6 = 0x50L;
static uint16_t g_44[2] = {0UL,0UL};
static uint8_t *g_69[6] = {&g_6,&g_6,&g_6,&g_6,&g_6,&g_6};
static uint64_t g_77 = 18446744073709551615UL;
static int32_t g_78 = 0L;
static int32_t g_80[9] = {8L,8L,8L,8L,8L,8L,8L,8L,8L};
static volatile struct S0 g_100 = {11065};/* VOLATILE GLOBAL g_100 */
static volatile struct S0 * volatile g_101 = &g_100;/* VOLATILE GLOBAL g_101 */
static int16_t g_138[8] = {0xE5FBL,0xE5FBL,0xE5FBL,0xE5FBL,0xE5FBL,0xE5FBL,0xE5FBL,0xE5FBL};
static volatile uint16_t g_141 = 65531UL;/* VOLATILE GLOBAL g_141 */
static volatile uint16_t * volatile g_140 = &g_141;/* VOLATILE GLOBAL g_140 */
static volatile uint16_t * volatile * volatile g_139 = &g_140;/* VOLATILE GLOBAL g_139 */
static uint64_t g_143 = 0xBB2A2B2FAD472F8ALL;
static volatile int32_t g_155 = 0x7869117DL;/* VOLATILE GLOBAL g_155 */
static volatile int32_t * volatile g_154 = &g_155;/* VOLATILE GLOBAL g_154 */
static volatile int32_t * volatile * volatile g_153 = &g_154;/* VOLATILE GLOBAL g_153 */
static const uint16_t g_161 = 0x36ECL;
static int32_t * volatile g_162 = &g_80[8];/* VOLATILE GLOBAL g_162 */
static uint64_t *g_168 = &g_143;
static uint64_t **g_170 = (void*)0;
static volatile struct S0 * volatile g_171 = &g_100;/* VOLATILE GLOBAL g_171 */
static int32_t *g_185 = &g_80[8];
static int32_t ** volatile g_184[8] = {&g_185,&g_185,(void*)0,&g_185,&g_185,(void*)0,&g_185,&g_185};
static int32_t ** volatile g_186 = &g_185;/* VOLATILE GLOBAL g_186 */
static int32_t **g_197 = (void*)0;
static uint8_t *g_217 = (void*)0;
static struct S0 g_218 = {14295};
static volatile uint32_t g_253 = 0xFE579FFBL;/* VOLATILE GLOBAL g_253 */
static struct S0 * const volatile g_268 = &g_218;/* VOLATILE GLOBAL g_268 */
static uint8_t g_300 = 0xD9L;
static int64_t g_322[10][7] = {{(-1L),0xFDCB38D5C55EF8A0LL,0xA1CC2CD02EC44FEFLL,1L,1L,0xA1CC2CD02EC44FEFLL,0xFDCB38D5C55EF8A0LL},{(-3L),0xFDCB38D5C55EF8A0LL,0x42AACD87D66DD98FLL,0L,1L,(-3L),5L},{0x2E4B271C1A9024EDLL,0x1EF8870B41F54D8CLL,(-10L),0x640E2035544086D0LL,5L,0x42AACD87D66DD98FLL,0xA1CC2CD02EC44FEFLL},{8L,(-3L),0x62622B7896BA196CLL,0L,(-1L),0x2BFDCEE5B47ADFF3LL,0x2BFDCEE5B47ADFF3LL},{(-3L),0xA1CC2CD02EC44FEFLL,(-2L),0xA1CC2CD02EC44FEFLL,(-3L),0x2BFDCEE5B47ADFF3LL,(-10L)},{(-8L),1L,0x640E2035544086D0LL,(-1L),0x62622B7896BA196CLL,0x42AACD87D66DD98FLL,1L},{0x1EF8870B41F54D8CLL,5L,0xFDCB38D5C55EF8A0LL,1L,0xB456FF982DA71379LL,0x1EF8870B41F54D8CLL,0x1B227EB9098913C8LL},{(-8L),(-1L),0x1EF8870B41F54D8CLL,0x640E2035544086D0LL,0x1B227EB9098913C8LL,0x640E2035544086D0LL,0x1EF8870B41F54D8CLL},{(-3L),(-3L),0x1EF8870B41F54D8CLL,9L,(-10L),1L,0x2BFDCEE5B47ADFF3LL},{8L,0x62622B7896BA196CLL,0xFDCB38D5C55EF8A0LL,(-10L),(-3L),0L,(-1L)}};
static int32_t ** volatile g_385 = &g_185;/* VOLATILE GLOBAL g_385 */
static int64_t g_408 = (-1L);
static int8_t g_427 = 0x74L;
static int8_t * volatile g_426 = &g_427;/* VOLATILE GLOBAL g_426 */
static int8_t * volatile * volatile g_425[2] = {&g_426,&g_426};
static int32_t g_433 = 0xE5810E25L;
static int8_t g_434 = 0L;
static int8_t g_435 = 7L;
static uint32_t g_436 = 0xBDD0EB82L;
static volatile uint32_t g_457 = 0x3825F889L;/* VOLATILE GLOBAL g_457 */
static uint16_t *g_465 = &g_44[0];
static int8_t ***g_514 = (void*)0;
static uint8_t g_534 = 0x8AL;
static const int64_t g_537 = 0x5E96DF70BEC53A6CLL;
static int32_t * volatile ** const volatile g_538 = (void*)0;/* VOLATILE GLOBAL g_538 */
static int32_t * volatile *g_540 = &g_185;
static int32_t * volatile ** volatile g_539[1][5] = {{&g_540,&g_540,&g_540,&g_540,&g_540}};
static int32_t * volatile ** volatile g_541 = (void*)0;/* VOLATILE GLOBAL g_541 */
static volatile int32_t * volatile * volatile g_563 = &g_154;/* VOLATILE GLOBAL g_563 */
static volatile uint8_t g_565 = 0x4FL;/* VOLATILE GLOBAL g_565 */
static const int32_t *g_601 = &g_80[4];
static const int32_t ** volatile g_600[1] = {&g_601};
static const int32_t ** volatile g_602 = (void*)0;/* VOLATILE GLOBAL g_602 */
static const int32_t ** volatile g_603 = (void*)0;/* VOLATILE GLOBAL g_603 */
static const int32_t ** volatile g_604 = &g_601;/* VOLATILE GLOBAL g_604 */
static struct S0 * volatile g_707 = &g_218;/* VOLATILE GLOBAL g_707 */
static uint32_t g_725 = 0xFDE7180CL;
static int32_t g_742 = 0L;
static uint64_t g_755[2][10] = {{0UL,7UL,0x13A1C20FFE26C38FLL,7UL,0UL,0UL,7UL,0x13A1C20FFE26C38FLL,7UL,0UL},{0UL,7UL,0x13A1C20FFE26C38FLL,7UL,0UL,0UL,7UL,0x13A1C20FFE26C38FLL,7UL,0UL}};
static uint32_t * volatile g_777 = (void*)0;/* VOLATILE GLOBAL g_777 */
static uint32_t * volatile *g_776 = &g_777;
static int32_t ** volatile g_787[2][5][5] = {{{&g_185,&g_185,&g_185,&g_185,&g_185},{&g_185,(void*)0,(void*)0,(void*)0,&g_185},{&g_185,&g_185,&g_185,&g_185,&g_185},{&g_185,(void*)0,(void*)0,(void*)0,&g_185},{&g_185,&g_185,&g_185,&g_185,&g_185}},{{&g_185,(void*)0,(void*)0,(void*)0,&g_185},{&g_185,&g_185,&g_185,&g_185,&g_185},{&g_185,(void*)0,(void*)0,(void*)0,&g_185},{&g_185,&g_185,&g_185,&g_185,&g_185},{&g_185,(void*)0,(void*)0,(void*)0,&g_185}}};
static int8_t * volatile *g_821 = (void*)0;
static int8_t * volatile **g_820 = &g_821;
static const int8_t *g_862 = &g_435;
static const int8_t **g_861 = &g_862;
static const int8_t ***g_860[6][3] = {{&g_861,&g_861,&g_861},{&g_861,&g_861,&g_861},{&g_861,&g_861,&g_861},{&g_861,&g_861,&g_861},{&g_861,&g_861,&g_861},{&g_861,&g_861,&g_861}};
static int32_t ***g_883 = &g_197;
static int32_t ****g_882 = &g_883;
static int32_t *****g_881[9] = {&g_882,(void*)0,&g_882,(void*)0,&g_882,(void*)0,&g_882,(void*)0,&g_882};
static volatile uint32_t g_912 = 1UL;/* VOLATILE GLOBAL g_912 */
static struct S0 *g_944[5][2][9] = {{{&g_218,&g_218,(void*)0,&g_218,(void*)0,(void*)0,(void*)0,&g_218,(void*)0},{&g_218,&g_218,&g_218,(void*)0,&g_218,&g_218,&g_218,(void*)0,&g_218}},{{&g_218,&g_218,(void*)0,&g_218,(void*)0,(void*)0,(void*)0,&g_218,(void*)0},{&g_218,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218}},{{(void*)0,(void*)0,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218},{&g_218,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218}},{{(void*)0,(void*)0,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218},{&g_218,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218}},{{(void*)0,(void*)0,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218},{&g_218,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218,&g_218}}};
static struct S0 **g_943 = &g_944[2][1][8];
static struct S0 ** volatile *g_942 = &g_943;
static uint16_t g_989 = 65535UL;
static int32_t g_1021 = 0x6E2D8E59L;
static int32_t *g_1025 = &g_80[3];
static int32_t ** volatile g_1024[3][8][6] = {{{&g_1025,&g_1025,&g_1025,&g_1025,&g_1025,(void*)0},{&g_1025,&g_1025,&g_1025,&g_1025,(void*)0,&g_1025},{(void*)0,&g_1025,&g_1025,&g_1025,(void*)0,(void*)0},{&g_1025,&g_1025,&g_1025,&g_1025,&g_1025,&g_1025},{(void*)0,&g_1025,&g_1025,(void*)0,&g_1025,&g_1025},{&g_1025,&g_1025,&g_1025,(void*)0,(void*)0,&g_1025},{&g_1025,&g_1025,(void*)0,&g_1025,(void*)0,&g_1025},{&g_1025,&g_1025,&g_1025,(void*)0,&g_1025,(void*)0}},{{&g_1025,&g_1025,&g_1025,&g_1025,&g_1025,&g_1025},{&g_1025,&g_1025,&g_1025,&g_1025,(void*)0,&g_1025},{&g_1025,&g_1025,&g_1025,&g_1025,(void*)0,&g_1025},{&g_1025,&g_1025,&g_1025,&g_1025,&g_1025,(void*)0},{&g_1025,&g_1025,(void*)0,&g_1025,&g_1025,&g_1025},{&g_1025,&g_1025,&g_1025,(void*)0,&g_1025,(void*)0},{&g_1025,(void*)0,&g_1025,&g_1025,&g_1025,(void*)0},{(void*)0,&g_1025,&g_1025,&g_1025,&g_1025,&g_1025}},{{&g_1025,&g_1025,(void*)0,&g_1025,(void*)0,(void*)0},{&g_1025,(void*)0,&g_1025,&g_1025,&g_1025,&g_1025},{&g_1025,&g_1025,&g_1025,&g_1025,(void*)0,&g_1025},{&g_1025,(void*)0,&g_1025,&g_1025,&g_1025,&g_1025},{(void*)0,&g_1025,&g_1025,&g_1025,&g_1025,(void*)0},{&g_1025,(void*)0,&g_1025,&g_1025,&g_1025,&g_1025},{&g_1025,(void*)0,&g_1025,&g_1025,&g_1025,(void*)0},{&g_1025,(void*)0,&g_1025,&g_1025,&g_1025,&g_1025}}};
static int32_t ** volatile g_1026 = (void*)0;/* VOLATILE GLOBAL g_1026 */
static int32_t ** volatile g_1027 = &g_1025;/* VOLATILE GLOBAL g_1027 */
static const int32_t * volatile g_1054 = (void*)0;/* VOLATILE GLOBAL g_1054 */
static const int32_t * volatile * volatile g_1055 = &g_601;/* VOLATILE GLOBAL g_1055 */
static int16_t g_1238[3] = {0xE811L,0xE811L,0xE811L};
static uint32_t * volatile * volatile g_1280 = (void*)0;/* VOLATILE GLOBAL g_1280 */
static uint32_t g_1283[8] = {0xC66C841EL,0xD3AA85E3L,0xC66C841EL,0xD3AA85E3L,0xC66C841EL,0xD3AA85E3L,0xC66C841EL,0xD3AA85E3L};
static uint32_t *g_1282 = &g_1283[5];
static uint32_t **g_1281[4][5] = {{&g_1282,&g_1282,&g_1282,&g_1282,&g_1282},{&g_1282,&g_1282,&g_1282,&g_1282,&g_1282},{&g_1282,&g_1282,&g_1282,&g_1282,&g_1282},{&g_1282,&g_1282,&g_1282,&g_1282,&g_1282}};
static uint32_t *g_1292 = (void*)0;
static uint16_t g_1360[10] = {6UL,0x5C21L,0x5C21L,6UL,0x5C21L,0x5C21L,6UL,0x5C21L,0x5C21L,6UL};
static int32_t * const *g_1369 = &g_1025;
static int32_t * const **g_1368 = &g_1369;
static int32_t * const ***g_1367 = &g_1368;
static int32_t * const ****g_1366 = &g_1367;
static int32_t * const ****g_1370 = &g_1367;
static uint8_t *g_1371 = &g_6;
static volatile uint8_t g_1647[7] = {255UL,0x3EL,255UL,255UL,0x3EL,255UL,255UL};
static struct S0 ***g_1699 = &g_943;
static struct S0 **** volatile g_1698[4] = {&g_1699,&g_1699,&g_1699,&g_1699};
static struct S0 **** volatile g_1700 = &g_1699;/* VOLATILE GLOBAL g_1700 */
static int32_t g_1734 = 1L;
static volatile int64_t g_1788 = (-2L);/* VOLATILE GLOBAL g_1788 */
static int32_t g_1813 = 0L;
static uint32_t **** volatile g_1858 = (void*)0;/* VOLATILE GLOBAL g_1858 */
static uint32_t **** volatile g_1859 = (void*)0;/* VOLATILE GLOBAL g_1859 */
static int32_t * volatile g_1935[4][6][7] = {{{&g_80[4],&g_80[4],&g_80[4],&g_433,(void*)0,&g_742,&g_80[5]},{&g_80[4],&g_742,&g_80[4],&g_80[7],&g_80[0],&g_1813,(void*)0},{&g_1813,&g_742,(void*)0,&g_742,&g_80[4],&g_1813,&g_433},{(void*)0,&g_80[4],&g_433,&g_80[7],&g_433,&g_1813,&g_80[4]},{&g_433,&g_433,(void*)0,&g_433,&g_80[5],&g_1813,(void*)0},{(void*)0,&g_1813,(void*)0,&g_742,&g_433,&g_742,&g_742}},{{&g_1813,&g_1813,&g_433,(void*)0,&g_80[5],&g_80[4],&g_742},{&g_80[4],&g_433,(void*)0,&g_1813,&g_433,&g_80[4],(void*)0},{&g_80[4],&g_1813,&g_80[4],&g_1813,&g_80[4],&g_1813,&g_80[4]},{&g_433,&g_1813,&g_80[4],(void*)0,&g_80[0],&g_80[4],&g_433},{&g_433,&g_433,&g_80[0],&g_742,(void*)0,&g_80[4],(void*)0},{&g_80[4],&g_80[4],&g_80[4],&g_433,(void*)0,&g_742,&g_80[5]}},{{&g_80[4],&g_742,&g_80[4],&g_80[7],&g_80[0],&g_1813,(void*)0},{&g_1813,&g_742,(void*)0,&g_742,&g_80[4],&g_1813,&g_433},{(void*)0,&g_80[4],&g_433,&g_80[7],&g_433,&g_1813,&g_80[4]},{&g_433,&g_433,(void*)0,&g_433,&g_80[5],&g_1813,(void*)0},{(void*)0,&g_1813,(void*)0,&g_742,&g_433,&g_742,&g_742},{&g_1813,&g_1813,&g_433,(void*)0,&g_80[5],&g_1813,(void*)0}},{{&g_80[7],&g_742,(void*)0,&g_742,&g_1813,(void*)0,&g_433},{&g_1813,&g_433,&g_80[7],&g_742,&g_80[7],&g_433,&g_1813},{&g_80[0],&g_433,(void*)0,&g_1813,&g_80[7],(void*)0,&g_1813},{&g_80[0],(void*)0,&g_80[7],&g_742,(void*)0,&g_1813,&g_742},{&g_1813,&g_1813,(void*)0,&g_433,(void*)0,&g_80[4],&g_742},{&g_80[7],&g_80[4],&g_80[7],&g_433,&g_80[7],&g_80[4],&g_742}}};
static int32_t * volatile g_1936 = &g_433;/* VOLATILE GLOBAL g_1936 */
static uint32_t g_1960 = 0UL;
static volatile struct S0 * volatile g_1984 = (void*)0;/* VOLATILE GLOBAL g_1984 */
static const int64_t g_2000 = 0L;
static int32_t ** volatile g_2017[9][2][10] = {{{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185},{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185}},{{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185},{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185}},{{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185},{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185}},{{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185},{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185}},{{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185},{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185}},{{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185},{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185}},{{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185},{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185}},{{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185},{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185}},{{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185},{&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185,&g_185}}};
static int32_t ** volatile g_2018 = &g_1025;/* VOLATILE GLOBAL g_2018 */
static const int16_t * volatile * volatile g_2036 = (void*)0;/* VOLATILE GLOBAL g_2036 */
static int16_t *g_2041 = &g_138[0];
static int16_t **g_2040[7] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static int16_t **g_2042[2][3][1] = {{{&g_2041},{&g_2041},{&g_2041}},{{&g_2041},{&g_2041},{&g_2041}}};
static const uint32_t *g_2094[8] = {&g_1283[5],(void*)0,&g_1283[5],(void*)0,&g_1283[5],(void*)0,&g_1283[5],(void*)0};
static const uint32_t **g_2093 = &g_2094[3];
static uint8_t g_2123 = 255UL;
static const int32_t ** volatile g_2212[3][4][9] = {{{&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601},{&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601},{&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601},{&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601}},{{&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601},{&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601},{&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601},{&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601}},{{&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601},{&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601},{&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601},{&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601,&g_601}}};
static struct S0 * volatile g_2247 = &g_218;/* VOLATILE GLOBAL g_2247 */
static uint8_t g_2408 = 0xDEL;
static uint32_t g_2508 = 0x79692DFFL;
static int16_t ***g_2528 = &g_2040[6];
static int16_t ****g_2527 = &g_2528;
static int32_t ** volatile g_2549[1][6] = {{&g_1025,&g_1025,&g_1025,&g_1025,&g_1025,&g_1025}};
static uint32_t g_2561 = 0xA2BCBE6FL;
static volatile int32_t g_2580 = 0x078B42C0L;/* VOLATILE GLOBAL g_2580 */
static int16_t *****g_2671 = &g_2527;
static int8_t * volatile * volatile * volatile * volatile *g_2707 = (void*)0;
static uint16_t g_2712 = 0x25BDL;
static uint64_t **** const volatile g_2740 = (void*)0;/* VOLATILE GLOBAL g_2740 */
static uint64_t ***g_2743[4] = {(void*)0,(void*)0,(void*)0,(void*)0};
static uint64_t **** volatile g_2742[6][4][2] = {{{(void*)0,(void*)0},{&g_2743[0],&g_2743[1]},{(void*)0,&g_2743[1]},{&g_2743[0],(void*)0}},{{(void*)0,(void*)0},{(void*)0,(void*)0},{&g_2743[0],&g_2743[1]},{(void*)0,&g_2743[1]}},{{&g_2743[0],(void*)0},{(void*)0,(void*)0},{(void*)0,&g_2743[0]},{&g_2743[0],(void*)0}},{{&g_2743[0],(void*)0},{&g_2743[0],&g_2743[0]},{(void*)0,(void*)0},{(void*)0,&g_2743[0]}},{{&g_2743[0],(void*)0},{&g_2743[0],(void*)0},{&g_2743[0],&g_2743[0]},{(void*)0,(void*)0}},{{(void*)0,&g_2743[0]},{&g_2743[0],(void*)0},{&g_2743[0],(void*)0},{&g_2743[0],&g_2743[0]}}};
static uint64_t **** volatile g_2744[5] = {&g_2743[1],&g_2743[1],&g_2743[1],&g_2743[1],&g_2743[1]};
static uint64_t **** volatile g_2745[4] = {&g_2743[0],&g_2743[0],&g_2743[0],&g_2743[0]};
static uint64_t **** const volatile g_2746 = &g_2743[3];/* VOLATILE GLOBAL g_2746 */
/* --- FORWARD DECLARATIONS --- */
uint32_t func_1(void);
uint8_t * func_19(uint64_t p_20);
int32_t func_21(uint8_t * p_22, uint8_t * p_23);
uint8_t * func_24(int32_t p_25, uint8_t * p_26);
int32_t func_27(int32_t p_28);
uint16_t func_29(int64_t p_30);
const int16_t func_33(uint8_t * p_34, uint8_t * p_35, struct S0 p_36);
uint8_t * func_37(int16_t p_38, uint8_t * p_39, uint8_t * p_40);
uint16_t * func_57(struct S0 p_58, uint16_t p_59, uint8_t * const p_60);
struct S0 func_61(uint16_t * p_62, int32_t p_63);
/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/*
* reads : g_1027 g_1025 g_540 g_707 g_218 g_465 g_44 g_80 g_168 g_143 g_2508 g_1371 g_6 g_2041 g_140 g_141 g_139 g_989 g_435 g_185 g_2527 g_601 g_563 g_154 g_155 g_604 g_942 g_943 g_1367 g_1368 g_1369 g_385 g_2561 g_725 g_2580 g_1699 g_2000 g_153 g_322 g_2408 g_138 g_2123 g_1698 g_2707 g_2712 g_1366 g_1021 g_436 g_2746 g_534 g_861 g_862 g_426 g_427 g_1813 g_171 g_100
* writes: g_185 g_433 g_143 g_435 g_322 g_44 g_6 g_138 g_80 g_989 g_1734 g_2527 g_155 g_2123 g_944 g_1021 g_154 g_77 g_2408 g_1960 g_2508 g_2671 g_2561 g_1025 g_436 g_2743 g_534 g_725 g_1813
*/
uint32_t func_1(void)
{ /* block id: 0 */
uint32_t l_2 = 0x2971C1ECL;
uint8_t *l_18 = &g_6;
int32_t l_2395 = 0L;
int32_t l_2396 = 0L;
int32_t l_2453 = 0x69053DE6L;
int32_t *l_2456 = &g_80[1];
struct S0 *l_2537[9][2][6] = {{{(void*)0,(void*)0,&g_218,&g_218,&g_218,&g_218},{&g_218,&g_218,&g_218,(void*)0,&g_218,&g_218}},{{&g_218,&g_218,&g_218,&g_218,&g_218,&g_218},{(void*)0,&g_218,&g_218,&g_218,(void*)0,(void*)0}},{{&g_218,(void*)0,(void*)0,(void*)0,&g_218,&g_218},{&g_218,(void*)0,&g_218,&g_218,(void*)0,&g_218}},{{(void*)0,(void*)0,&g_218,&g_218,(void*)0,&g_218},{&g_218,&g_218,&g_218,(void*)0,(void*)0,&g_218}},{{&g_218,(void*)0,(void*)0,&g_218,(void*)0,(void*)0},{(void*)0,(void*)0,&g_218,&g_218,&g_218,&g_218}},{{&g_218,&g_218,&g_218,(void*)0,&g_218,&g_218},{&g_218,&g_218,&g_218,&g_218,&g_218,&g_218}},{{(void*)0,&g_218,&g_218,&g_218,(void*)0,(void*)0},{&g_218,(void*)0,(void*)0,(void*)0,&g_218,&g_218}},{{&g_218,(void*)0,&g_218,&g_218,(void*)0,&g_218},{(void*)0,(void*)0,&g_218,&g_218,(void*)0,&g_218}},{{&g_218,&g_218,&g_218,(void*)0,(void*)0,&g_218},{&g_218,(void*)0,(void*)0,&g_218,(void*)0,(void*)0}}};
int8_t ***l_2540 = (void*)0;
int8_t l_2545 = 1L;
uint64_t l_2578 = 0x5F31F8F648F5DB1FLL;
int16_t *****l_2670[2];
uint64_t ***l_2739 = (void*)0;
int32_t l_2781 = 0xC13F79E0L;
int32_t l_2782 = 0xEB84C353L;
int32_t l_2783 = 0L;
int32_t l_2784 = 0x8865AB44L;
int32_t l_2785 = 1L;
int32_t l_2786 = 0L;
int32_t l_2787 = (-1L);
int32_t l_2789[5][6][8] = {{{(-6L),0x22AB5E93L,0xF665DDE8L,9L,0x1381323FL,0x46391D39L,0L,0L},{(-1L),(-1L),9L,9L,(-1L),(-1L),6L,0L},{(-7L),0x22AB5E93L,0xBAFAF943L,9L,0xF0B5B4A8L,0x46391D39L,0x4AB8C149L,0L},{0x46391D39L,(-1L),1L,9L,0x22AB5E93L,(-1L),0x2E0F4BE2L,0L},{(-6L),0x22AB5E93L,0xF665DDE8L,9L,0x1381323FL,0x46391D39L,0L,0L},{(-1L),(-1L),9L,9L,(-1L),(-1L),6L,0L}},{{(-7L),0x22AB5E93L,0xBAFAF943L,9L,0xF0B5B4A8L,0x46391D39L,0x4AB8C149L,0L},{0x46391D39L,(-1L),1L,9L,0x22AB5E93L,(-1L),0x2E0F4BE2L,0L},{(-6L),0x22AB5E93L,0xF665DDE8L,9L,0x1381323FL,0x46391D39L,0L,0L},{(-1L),(-1L),9L,9L,(-1L),(-1L),6L,0L},{(-7L),0x22AB5E93L,0xBAFAF943L,9L,0xF0B5B4A8L,0x46391D39L,0x4AB8C149L,0L},{0x46391D39L,(-1L),1L,9L,0x22AB5E93L,(-1L),0x2E0F4BE2L,0L}},{{(-6L),0x22AB5E93L,0xF665DDE8L,9L,0x1381323FL,0x46391D39L,0L,0L},{(-1L),(-1L),9L,9L,(-1L),(-1L),6L,0L},{(-7L),0x22AB5E93L,0xBAFAF943L,9L,0xF0B5B4A8L,0x46391D39L,0x4AB8C149L,0L},{0x46391D39L,(-1L),1L,9L,0x22AB5E93L,(-1L),0x2E0F4BE2L,0L},{(-6L),0x22AB5E93L,0xF665DDE8L,9L,0x1381323FL,0x46391D39L,0L,0L},{(-1L),(-1L),9L,9L,(-1L),(-1L),6L,0L}},{{(-7L),0x22AB5E93L,0xBAFAF943L,9L,0xF0B5B4A8L,0x46391D39L,0x4AB8C149L,0L},{0x46391D39L,(-1L),1L,9L,0x22AB5E93L,(-1L),0x2E0F4BE2L,0L},{(-6L),0x22AB5E93L,0xF665DDE8L,9L,0x1381323FL,0x46391D39L,0L,0L},{(-1L),(-1L),9L,9L,(-1L),(-1L),6L,0L},{(-7L),0x22AB5E93L,0xBAFAF943L,9L,0xF0B5B4A8L,0x46391D39L,0x4AB8C149L,0L},{0x46391D39L,(-1L),1L,9L,0x22AB5E93L,(-1L),0x2E0F4BE2L,0L}},{{(-6L),0x22AB5E93L,0xF665DDE8L,9L,0x1381323FL,0x46391D39L,0L,0L},{(-1L),(-1L),9L,9L,(-1L),(-1L),6L,0L},{(-7L),0x22AB5E93L,0xBAFAF943L,9L,0xF0B5B4A8L,0x46391D39L,0x4AB8C149L,0L},{0x46391D39L,(-1L),1L,9L,0x22AB5E93L,(-1L),0x2E0F4BE2L,0L},{(-6L),0x22AB5E93L,0xF665DDE8L,9L,0x1381323FL,0x46391D39L,0L,0L},{(-1L),(-1L),9L,9L,(-1L),(-1L),6L,0L}}};
uint8_t l_2796 = 0UL;
uint16_t **l_2802 = &g_465;
uint16_t ***l_2801 = &l_2802;
int64_t l_2806 = 1L;
struct S0 *l_2807 = (void*)0;
int i, j, k;
for (i = 0; i < 2; i++)
l_2670[i] = &g_2527;
if (l_2)
{ /* block id: 1 */
int8_t l_11 = (-1L);
uint8_t *l_47 = (void*)0;
int16_t l_2376 = (-8L);
uint32_t l_2397 = 18446744073709551615UL;
int8_t l_2421 = 1L;
int32_t l_2431 = 3L;
uint32_t l_2432[2][4] = {{6UL,6UL,6UL,6UL},{6UL,6UL,6UL,6UL}};
uint8_t l_2436 = 248UL;
struct S0 l_2465[9][10] = {{{11778},{3300},{3300},{11778},{611},{15052},{5780},{366},{6486},{10783}},{{3300},{16318},{2320},{366},{1781},{2925},{3300},{5780},{6486},{2262}},{{5780},{8138},{10149},{11778},{3835},{13516},{11778},{15321},{7029},{5780}},{{9677},{15052},{6486},{1040},{366},{2262},{3835},{2262},{366},{1040}},{{3469},{16318},{3469},{15052},{10783},{12497},{3238},{1781},{2320},{3238}},{{10783},{3835},{6061},{11713},{3835},{8883},{9677},{1781},{2384},{460}},{{16318},{2262},{3469},{15321},{2320},{611},{1040},{2262},{2925},{10783}},{{2925},{11713},{6486},{4585},{15321},{366},{366},{15321},{4585},{6486}},{{10783},{10783},{10149},{9677},{377},{6061},{16318},{5780},{9050},{11713}}};
int8_t l_2492 = (-4L);
uint32_t l_2500 = 4294967286UL;
int32_t l_2516[2][6][1] = {{{0x05B8FCCBL},{0x4B72C140L},{0x05B8FCCBL},{0x3CA177F5L},{0x51B1567EL},{0x3CA177F5L}},{{0x05B8FCCBL},{0x4B72C140L},{0x05B8FCCBL},{0x3CA177F5L},{0x51B1567EL},{0x3CA177F5L}}};
uint32_t ***l_2536 = &g_1281[1][1];
uint32_t ****l_2535 = &l_2536;
int i, j, k;
lbl_2610:
for (l_2 = 0; (l_2 < 35); l_2++)
{ /* block id: 4 */
uint8_t *l_5 = &g_6;
int32_t l_14 = (-8L);
uint16_t *l_43[4] = {&g_44[0],&g_44[0],&g_44[0],&g_44[0]};
uint8_t **l_2375 = &g_1371;
int32_t l_2392[3][9] = {{0x85A7B051L,0x85A7B051L,0xB6F65E79L,8L,1L,8L,0xB6F65E79L,0x85A7B051L,0x85A7B051L},{0x3735B263L,0x188047D2L,0x85A7B051L,8L,0x85A7B051L,0x188047D2L,0x3735B263L,0x3735B263L,0x188047D2L},{8L,0x188047D2L,0xB6F65E79L,0x188047D2L,8L,0L,0L,8L,0x188047D2L}};
uint64_t l_2393 = 1UL;
uint16_t l_2394 = 0x02AFL;
int32_t *l_2405 = &g_1734;
uint8_t l_2459[2];
int32_t l_2462 = 4L;
int i, j;
for (i = 0; i < 2; i++)
l_2459[i] = 0x1EL;
}
lbl_2554:
(*g_540) = (*g_1027);
for (g_433 = 0; (g_433 > (-9)); g_433 = safe_sub_func_int64_t_s_s(g_433, 1))
{ /* block id: 1136 */
uint32_t *l_2475 = &l_2;
int32_t l_2488 = 0xDC95FA10L;
int8_t *l_2489 = &g_435;
int64_t *l_2490[1][7][1] = {{{&g_322[2][5]},{&g_408},{&g_322[2][5]},{&g_408},{&g_322[2][5]},{&g_408},{&g_322[2][5]}}};
uint32_t l_2491 = 0x06140C10L;
int32_t l_2493 = 0x00AB6897L;
uint16_t *l_2515[1];
int64_t l_2579[7] = {1L,1L,0xB56B627C589AB210LL,1L,1L,0xB56B627C589AB210LL,1L};
int32_t l_2586 = 0xA503FB3BL;
uint64_t l_2589 = 18446744073709551615UL;
struct S0 *l_2609 = (void*)0;
int i, j, k;
for (i = 0; i < 1; i++)
l_2515[i] = &g_989;
l_2465[1][3] = (*g_707);
l_2493 &= (+((*g_465) , (safe_mod_func_int32_t_s_s((0xF2L >= (*l_2456)), ((safe_rshift_func_uint16_t_u_u(((*g_465) = ((safe_mul_func_uint16_t_u_u((safe_add_func_int32_t_s_s((*l_2456), (((*g_168) |= ((void*)0 == &g_465)) >= (((((*l_2475) = 0xC3AD06F0L) | ((((safe_sub_func_uint64_t_u_u(((safe_rshift_func_int8_t_s_u(((*l_2456) | (((safe_add_func_uint32_t_u_u((safe_sub_func_uint16_t_u_u(((safe_mod_func_int64_t_s_s((g_322[9][3] = (safe_mul_func_int8_t_s_s((((*l_2489) = (l_2488 && 4294967294UL)) <= 5L), l_2488))), 0x0F9FDB8F82D9EA51LL)) ^ l_2491), 0x1329L)), 4294967295UL)) & 0xA6L) || 4UL)), l_2432[0][2])) ^ l_2465[1][3].f0), 0xB080850C123E8B2BLL)) & 0xD5B6D64AL) , 9L) , 0x6F0126CEL)) ^ l_2491) , l_2492)))), (*l_2456))) | 0xE4F7L)), l_2488)) ^ 0x6B3A0AE147BCB459LL)))));
if ((safe_sub_func_uint32_t_u_u(((l_2397 < (safe_rshift_func_uint16_t_u_u(((safe_mul_func_uint16_t_u_u(l_2500, 6UL)) && ((((*g_2041) = (((((safe_sub_func_uint8_t_u_u(((safe_add_func_uint16_t_u_u(((*g_465) ^= (*l_2456)), 0L)) ^ ((!(g_322[9][6] = (g_2508 <= (l_2431 == (safe_lshift_func_uint8_t_u_s((((safe_sub_func_uint8_t_u_u(((*g_1371) ^= ((l_2516[0][3][0] ^= (safe_rshift_func_uint8_t_u_u(0UL, 6))) && l_2491)), l_2436)) , l_2491) != 1L), 2)))))) < (*l_2456))), 0x4EL)) == 0xE99FL) != (*l_2456)) ^ l_2465[1][3].f0) < l_2493)) | 0x1708L) , (*l_2456))), (*g_140)))) || (*g_140)), l_2431)))
{ /* block id: 1149 */
uint32_t l_2519 = 0xFC128342L;
if (((safe_rshift_func_uint8_t_u_u(((*l_2456) &= l_2519), 6)) , (l_2488 > ((**g_139) & (l_2519 || (g_989 &= (*g_465)))))))
{ /* block id: 1152 */
for (g_1734 = 8; (g_1734 <= 29); g_1734 = safe_add_func_uint8_t_u_u(g_1734, 8))
{ /* block id: 1155 */
return l_2519;
}
return l_2491;
}
else
{ /* block id: 1159 */
int8_t *l_2522 = &l_2492;
(*g_185) ^= (l_2519 <= ((*l_2522) = ((*l_2489) &= l_2519)));
for (l_2488 = 0; (l_2488 <= (-27)); l_2488 = safe_sub_func_uint32_t_u_u(l_2488, 5))
{ /* block id: 1165 */
int16_t *****l_2529[9][7] = {{(void*)0,&g_2527,(void*)0,(void*)0,(void*)0,&g_2527,(void*)0},{&g_2527,(void*)0,(void*)0,&g_2527,&g_2527,&g_2527,&g_2527},{&g_2527,&g_2527,&g_2527,&g_2527,&g_2527,&g_2527,&g_2527},{&g_2527,&g_2527,(void*)0,(void*)0,&g_2527,&g_2527,&g_2527},{(void*)0,(void*)0,(void*)0,&g_2527,(void*)0,(void*)0,(void*)0},{&g_2527,(void*)0,&g_2527,&g_2527,&g_2527,&g_2527,(void*)0},{&g_2527,(void*)0,&g_2527,(void*)0,&g_2527,(void*)0,&g_2527},{&g_2527,&g_2527,&g_2527,(void*)0,&g_2527,&g_2527,(void*)0},{(void*)0,&g_2527,(void*)0,(void*)0,(void*)0,&g_2527,(void*)0}};
int32_t *l_2530[7] = {&l_2516[1][2][0],&l_2516[1][2][0],&l_2516[1][2][0],&l_2516[1][2][0],&l_2516[1][2][0],&l_2516[1][2][0],&l_2516[1][2][0]};
int i, j;
(**g_563) &= (((safe_mul_func_int32_t_s_s(0xA8CDCF8FL, ((g_2527 = g_2527) != &g_2528))) && (*l_2456)) , (*g_601));
}
for (g_2123 = (-9); (g_2123 >= 58); ++g_2123)
{ /* block id: 1171 */
uint32_t ***l_2534 = &g_1281[3][2];
uint32_t ****l_2533 = &l_2534;
l_2535 = l_2533;
l_2431 |= (**g_604);
}
(**g_942) = l_2537[1][1][0];
}
}
else
{ /* block id: 1177 */
int8_t l_2548 = 1L;
l_2516[0][2][0] ^= ((((safe_mod_func_uint64_t_u_u(((*l_2456) || (&g_425[1] == ((*l_2456) , (((*l_2489) = l_2376) , l_2540)))), (((safe_mod_func_int16_t_s_s((l_2493 && (safe_mod_func_uint64_t_u_u(((((l_2493 > 0L) , l_2493) | (*g_168)) , 18446744073709551614UL), (*g_168)))), (**g_139))) < 0xC672968D2024EE24LL) || l_2376))) || 0x030CL) ^ l_2545) != 0L);
for (l_2493 = 0; (l_2493 > (-20)); l_2493--)
{ /* block id: 1182 */
int32_t **l_2550 = &g_185;
int32_t *l_2551 = &l_2516[1][0][0];
if (l_2548)
break;
l_2456 = (***g_1367);
l_2551 = ((*l_2550) = (*g_385));
for (l_2431 = 0; (l_2431 > 14); l_2431++)
{ /* block id: 1189 */
if (l_2)
goto lbl_2554;
}
}
for (g_1021 = 0; (g_1021 > (-6)); g_1021 = safe_sub_func_int8_t_s_s(g_1021, 8))
{ /* block id: 1195 */
uint8_t l_2583 = 1UL;
if (l_2)
goto lbl_2554;
if ((safe_rshift_func_int16_t_s_u((((*l_2456) , (safe_mul_func_int16_t_s_s((((g_2561 <= ((safe_rshift_func_int8_t_s_s((safe_rshift_func_int8_t_s_s((safe_lshift_func_uint8_t_u_u(((((safe_lshift_func_uint8_t_u_s(255UL, 4)) <= (l_2492 | ((safe_mul_func_int8_t_s_s(0xEBL, (((*l_2456) > 0UL) != (safe_add_func_uint8_t_u_u((0L != (safe_mod_func_int16_t_s_s((2UL >= 0x50ECF60CL), 1L))), l_2488))))) , 0x80L))) , l_2578) , 0x45L), l_2579[5])), l_2432[1][2])), 5)) && g_725)) ^ 65535UL) >= 0x970EF6AAL), 65527UL))) < 2L), g_2580)))
{ /* block id: 1197 */
int32_t *l_2581 = &l_2493;
int32_t *l_2582[9];
int i;
for (i = 0; i < 9; i++)
l_2582[i] = &l_2396;
--l_2583;
}
else
{ /* block id: 1199 */
return l_2586;
}
for (l_11 = 0; (l_11 > (-29)); l_11--)
{ /* block id: 1204 */
return l_2583;
}
--l_2589;
}
if (l_2376)
break;
}
for (l_2488 = (-5); (l_2488 == 18); ++l_2488)
{ /* block id: 1213 */
uint8_t l_2606 = 255UL;
for (g_6 = 5; (g_6 > 3); g_6--)
{ /* block id: 1216 */
int32_t *l_2596 = &g_80[4];
int32_t *l_2597 = (void*)0;
int32_t *l_2598 = &l_2395;
int32_t *l_2599 = &l_2493;
int32_t *l_2600 = &l_2493;
int32_t *l_2601 = &l_2516[0][3][0];
int32_t *l_2602 = &l_2516[0][3][0];
int32_t *l_2603 = (void*)0;
int32_t *l_2604 = &l_2493;
int32_t *l_2605[5][7] = {{&g_1813,&l_2431,&l_2431,(void*)0,&l_2586,(void*)0,&l_2431},{&g_1813,&g_1813,&l_2453,&l_2493,&l_2516[1][3][0],&l_2516[1][1][0],&l_2431},{&g_80[3],&g_1813,&l_2493,&g_1813,&l_2431,&l_2586,&l_2586},{&l_2516[1][3][0],&l_2586,&g_1813,&l_2586,&l_2516[1][3][0],&g_1813,&g_80[3]},{&l_2396,&l_2453,&g_1813,&l_2395,&l_2586,(void*)0,&l_2431}};
int i, j;
l_2606--;
if ((*l_2456))
break;
return l_2606;
}
(**g_1699) = l_2609;
if (l_2492)
goto lbl_2610;
if (l_2491)
goto lbl_2554;
}
}
}
else
{ /* block id: 1226 */
int32_t **l_2615 = &g_1025;
uint8_t *l_2622[3];
int32_t *l_2685 = &g_78;
int32_t **l_2684 = &l_2685;
const int16_t l_2699 = 0xA76BL;
uint64_t * const *l_2715 = &g_168;
int32_t l_2732[7] = {0x0EACEF59L,0x0EACEF59L,0x0EACEF59L,0x0EACEF59L,0x0EACEF59L,0x0EACEF59L,0x0EACEF59L};
uint16_t **l_2755 = (void*)0;
int32_t l_2763[6][2] = {{0x3F0D7356L,(-1L)},{1L,(-1L)},{0x3F0D7356L,1L},{0x0E41B89AL,0x0E41B89AL},{0x0E41B89AL,1L},{0x3F0D7356L,(-1L)}};
int32_t *l_2771 = (void*)0;
int32_t *l_2772 = &l_2732[6];
int32_t *l_2773 = &g_80[2];
int32_t *l_2774 = (void*)0;
int32_t *l_2775 = &l_2395;
int32_t *l_2776 = &g_742;
int32_t *l_2777 = &g_433;
int32_t *l_2778 = &l_2396;
int32_t *l_2779 = (void*)0;
int32_t *l_2780[1];
int64_t l_2788 = 0x3748EF549C92E23FLL;
int32_t l_2790 = 0xB824F0A6L;
uint32_t l_2791 = 0x8EDB6B81L;
int64_t l_2794 = 0x34B51522DD1F76FFLL;
int32_t l_2795 = 0x94CDF6CAL;
uint16_t ****l_2803 = &l_2801;
uint16_t ***l_2805 = (void*)0;
uint16_t ****l_2804 = &l_2805;
int64_t *l_2808 = &g_322[2][1];
int i, j;
for (i = 0; i < 3; i++)
l_2622[i] = &g_2408;
for (i = 0; i < 1; i++)
l_2780[i] = &l_2732[1];
if ((safe_mul_func_int16_t_s_s((safe_rshift_func_uint16_t_u_u(((*g_465) = ((void*)0 != l_2615)), 7)), (g_2000 >= (safe_rshift_func_int16_t_s_s(((*g_2041) = (((safe_mul_func_int8_t_s_s((**l_2615), (l_2396 |= (l_2395 = (++(*g_1371)))))) || (safe_lshift_func_int16_t_s_u((safe_div_func_int32_t_s_s((safe_sub_func_uint8_t_u_u(((*g_1371) = 6UL), ((safe_div_func_int8_t_s_s((**l_2615), ((((safe_rshift_func_uint8_t_u_u((*l_2456), (safe_rshift_func_int8_t_s_u(0L, ((safe_rshift_func_uint8_t_u_u((safe_div_func_uint16_t_u_u((*l_2456), (**l_2615))), (*l_2456))) < 1L))))) , (*l_2456)) != 6UL) | (*l_2456)))) <= 0x17L))), (**g_563))), (**l_2615)))) , 0x3660L)), 4))))))
{ /* block id: 1233 */
uint64_t l_2675[3];
uint32_t l_2676[2];
uint32_t l_2700[4] = {1UL,1UL,1UL,1UL};
int64_t **l_2717 = (void*)0;
int32_t l_2730 = 0x4AF5CDD9L;
int i;
for (i = 0; i < 3; i++)
l_2675[i] = 0UL;
for (i = 0; i < 2; i++)
l_2676[i] = 0x54210030L;
lbl_2678:
for (l_2396 = 2; (l_2396 <= 6); l_2396 += 1)
{ /* block id: 1236 */
(*g_153) = (*g_563);
for (g_77 = 0; (g_77 <= 7); g_77 += 1)
{ /* block id: 1240 */
int i, j;
return g_322[(l_2396 + 3)][l_2396];
}
}
lbl_2731:
for (g_433 = 26; (g_433 < 2); g_433 = safe_sub_func_uint8_t_u_u(g_433, 9))
{ /* block id: 1246 */
return (*l_2456);
}
for (g_2408 = 0; (g_2408 <= 8); g_2408 += 1)
{ /* block id: 1251 */
uint32_t l_2641 = 18446744073709551615UL;
int32_t l_2674 = 0x58CDF2CCL;
l_2641--;
for (g_1960 = 0; (g_1960 <= 3); g_1960 += 1)
{ /* block id: 1255 */
int64_t l_2648 = 6L;
const int32_t l_2672 = (-3L);
int32_t l_2677 = 0x7E44BFBEL;
for (g_435 = 0; (g_435 <= 8); g_435 += 1)
{ /* block id: 1258 */
uint32_t *l_2649 = &l_2;
uint32_t *l_2650 = &g_2508;
int32_t *l_2673 = &l_2395;
int i;
(*g_540) = (void*)0;
l_2677 &= (g_80[g_2408] == (safe_lshift_func_int16_t_s_s(((((safe_sub_func_uint32_t_u_u(((*l_2650) = ((*l_2649) = (l_2648 ^= l_2641))), ((safe_rshift_func_int16_t_s_s(((l_2674 = (safe_lshift_func_uint16_t_u_u(((safe_sub_func_int8_t_s_s((safe_add_func_uint64_t_u_u((safe_mod_func_int64_t_s_s((((*l_2673) = ((((safe_mul_func_uint16_t_u_u((*l_2456), ((safe_mod_func_uint8_t_u_u(0x24L, (safe_sub_func_uint8_t_u_u((+((*g_139) != &g_1360[0])), 0xFEL)))) & (((((**l_2615) != ((g_2671 = l_2670[1]) == &g_2527)) <= (*g_2041)) | l_2672) , g_143)))) | (*g_2041)) | l_2641) >= (*g_465))) < 0xC795E8D7L), 0x1518A3AE364B4317LL)), (**l_2615))), (**l_2615))) , (*g_140)), 1))) >= (*l_2456)), l_2675[1])) , l_2676[0]))) > l_2675[1]) > 0UL) | 0x8D1EL), l_2641)));
}
}
if (g_989)
goto lbl_2678;
for (g_2561 = 0; (g_2561 <= 3); g_2561 += 1)
{ /* block id: 1272 */
int32_t *l_2679 = &l_2396;
uint64_t * const **l_2716 = (void*)0;
uint32_t l_2718 = 1UL;
for (g_2508 = 0; (g_2508 <= 3); g_2508 += 1)
{ /* block id: 1275 */
int64_t *l_2701 = &g_322[9][3];
uint32_t * const l_2702 = &l_2700[2];
int i;
(*g_540) = l_2679;
(*l_2679) = ((((l_2674 = ((*l_2456) |= (safe_mod_func_uint16_t_u_u((*g_465), 0xBA46L)))) , (((safe_rshift_func_int8_t_s_u(((&l_2676[1] == ((*l_2456) , &l_2676[0])) > ((l_2684 == (void*)0) != ((safe_div_func_uint32_t_u_u((safe_add_func_uint8_t_u_u((safe_div_func_int64_t_s_s(((*l_2701) = (safe_add_func_int8_t_s_s(((((safe_lshift_func_int16_t_s_s((safe_mul_func_uint16_t_u_u((0x4FL >= (!0xC5C9L)), 0xFD62L)), (*l_2456))) || g_2123) < l_2699) , 1L), l_2700[0]))), (*l_2456))), 0x77L)), (-6L))) && (**l_2615)))), l_2674)) >= (*g_465)) > (*l_2679))) , l_2702) != (void*)0);
(*g_185) |= (safe_rshift_func_int8_t_s_s((((void*)0 != g_1698[g_2508]) > ((safe_rshift_func_uint16_t_u_s(0x5AD8L, 14)) ^ (g_2707 == g_2707))), 7));
}
(**g_1699) = (((safe_div_func_uint32_t_u_u(3UL, l_2700[3])) < ((*l_2679) || ((l_2674 > (safe_add_func_uint16_t_u_u((g_2712 != ((((safe_mul_func_uint16_t_u_u((((((&g_168 != (l_2715 = l_2715)) , (l_2717 == (void*)0)) < l_2718) <= 1L) , 0x3850L), 0x8555L)) , g_435) | 0UL) , 0x85L)), l_2674))) , (*l_2456)))) , (void*)0);
l_2730 |= ((safe_sub_func_int16_t_s_s(((**l_2615) || g_218.f0), (safe_div_func_uint8_t_u_u(((!(((*g_942) != (void*)0) , (safe_div_func_uint32_t_u_u(0xA91FA1F5L, (safe_sub_func_uint64_t_u_u((++(*g_168)), (0x5EL | (((l_2675[1] , ((**l_2615) >= (*l_2679))) , (*****g_1366)) == 1UL)))))))) & 0x386802A82EBA1052LL), 0x3EL)))) != (*l_2456));
if (g_1021)
goto lbl_2731;
}
}
}
else
{ /* block id: 1290 */
uint8_t l_2736 = 0x3CL;
int32_t *l_2767[5][9] = {{&g_80[6],&g_80[6],&g_742,&l_2732[1],&g_742,&g_80[6],&g_80[6],&g_742,&l_2732[1]},{&g_80[4],&g_80[4],&g_80[4],(void*)0,(void*)0,&g_80[4],&g_80[4],&g_80[4],(void*)0},{(void*)0,&g_742,&g_742,(void*)0,(void*)0,(void*)0,&g_742,&g_742,(void*)0},{(void*)0,(void*)0,&g_742,(void*)0,(void*)0,(void*)0,(void*)0,&g_742,(void*)0},{&g_742,(void*)0,&l_2732[1],&l_2732[1],(void*)0,&g_742,(void*)0,&l_2732[1],&l_2732[1]}};
uint16_t l_2768 = 65527UL;
int i, j;
(*g_1027) = &l_2453;
for (g_436 = 0; (g_436 <= 7); g_436 += 1)
{ /* block id: 1294 */
int8_t l_2747 = 0xFDL;
for (g_2508 = 0; (g_2508 <= 6); g_2508 += 1)
{ /* block id: 1297 */
uint32_t l_2765 = 0x2850F846L;
for (g_6 = 0; (g_6 <= 6); g_6 += 1)
{ /* block id: 1300 */
int32_t *l_2733 = &l_2732[1];
int32_t *l_2734 = &l_2395;
int32_t *l_2735[1];
uint64_t ****l_2741 = (void*)0;
int i;
for (i = 0; i < 1; i++)
l_2735[i] = &l_2732[1];
l_2736++;
if (g_138[g_436])
break;
(*g_2746) = l_2739;
}
(*l_2456) |= 0x3986B405L;
for (g_534 = 1; (g_534 <= 6); g_534 += 1)
{ /* block id: 1308 */
int8_t *l_2750[2];
uint16_t ***l_2756 = &l_2755;
uint16_t **l_2758 = (void*)0;
uint16_t ***l_2757 = &l_2758;
uint32_t *l_2764 = &g_725;
int32_t *l_2766 = &g_1813;
int i;
for (i = 0; i < 2; i++)
l_2750[i] = &l_2545;
(*l_2766) &= ((0x7EB502D3L | g_138[(g_534 + 1)]) == (l_2747 ^ ((safe_add_func_int32_t_s_s((((**l_2615) = (**g_861)) != (safe_lshift_func_uint8_t_u_s((((((((*l_2756) = l_2755) == ((*l_2757) = &g_465)) , (safe_add_func_int64_t_s_s((((*l_2764) |= (safe_sub_func_uint64_t_u_u(9UL, ((*g_168) = (((-3L) > ((*g_426) | l_2763[4][0])) & g_138[(g_534 + 1)]))))) < (**g_540)), l_2765))) , 9UL) >= g_138[(g_534 + 1)]) || 0L), 5))), l_2747)) & l_2736)));
}
}
}
l_2768--;
}
--l_2791;
l_2796--;
(*l_2772) &= (((*l_18) = (((*l_2456) = (((safe_lshift_func_uint16_t_u_u((((*l_2804) = ((*l_2803) = l_2801)) == &g_139), 13)) > (-10L)) | l_2806)) || (((***g_1368) &= (((*g_171) , &g_2093) == &g_2093)) , ((*l_2808) = ((void*)0 != l_2807))))) && 0xF8L);
}
return (*l_2456);
}
/* ------------------------------------------ */
/*
* reads : g_1734 g_540
* writes: g_1734 g_185 g_162
*/
uint8_t * func_19(uint64_t p_20)
{ /* block id: 1060 */
uint8_t l_2371 = 0xCAL;
int32_t *l_2374 = (void*)0;
for (g_1734 = 0; (g_1734 < (-14)); g_1734--)
{ /* block id: 1063 */
++l_2371;
(*g_540) = l_2374;
}
return &g_300;
}
/* ------------------------------------------ */
/*
* reads : g_6 g_540 g_1021 g_1700 g_426 g_427 g_465 g_44 g_534 g_300 g_457 g_1734 g_943 g_944 g_140 g_141 g_1371 g_1360 g_218.f0 g_755 g_168 g_143 g_322 g_78 g_1055 g_433 g_1859 g_1936 g_862 g_435 g_1960 g_1238 g_100 g_101 g_80 g_77 g_139 g_171 g_268 g_883 g_197 g_989 g_2018 g_1367 g_1368 g_1369 g_1025 g_2036 g_861 g_2041 g_408 g_2123 g_882 g_154 g_1647 g_2247 g_2000 g_1813 g_1366 g_161 g_725
* writes: g_6 g_185 g_162 g_1021 g_1699 g_44 g_300 g_78 g_601 g_433 g_69 g_436 g_143 g_100 g_80 g_138 g_218 g_1025 g_742 g_2040 g_2042 g_322 g_408 g_2123 g_197 g_155 g_465 g_1360 g_77 g_755 g_725
*/
int32_t func_21(uint8_t * p_22, uint8_t * p_23)
{ /* block id: 785 */
int32_t l_1688 = 4L;
int32_t l_1691 = 0xFDBBB491L;
int32_t l_1694[8][4] = {{0x617CE777L,0x617CE777L,(-1L),0x617CE777L},{0x617CE777L,1L,1L,0x617CE777L},{1L,0x617CE777L,1L,1L},{0x617CE777L,0x617CE777L,(-1L),0x617CE777L},{0x617CE777L,1L,1L,0x617CE777L},{1L,0x617CE777L,1L,1L},{0x617CE777L,0x617CE777L,(-1L),0x617CE777L},{0x617CE777L,1L,1L,0x617CE777L}};
struct S0 ** const *l_1715 = &g_943;
uint8_t * const l_1732 = &g_300;
int8_t l_1733 = 0xFEL;
int32_t l_1754 = 0x6BBA50AEL;
struct S0 l_1755 = {2229};
int32_t ****l_1770 = &g_883;
uint64_t l_1771[1][7] = {{18446744073709551615UL,18446744073709551607UL,18446744073709551615UL,18446744073709551615UL,18446744073709551607UL,18446744073709551615UL,18446744073709551615UL}};
uint64_t l_1797 = 0x843D60DBBA09A2CFLL;
int16_t l_1849 = 0x5098L;
uint64_t l_1870 = 3UL;
uint32_t l_1881[10] = {0xD55FC37AL,0xD55FC37AL,0x88CF9AB6L,0xD55FC37AL,0xD55FC37AL,0x88CF9AB6L,0xD55FC37AL,0xD55FC37AL,0x88CF9AB6L,0x6544ADE4L};
uint32_t **l_1929 = (void*)0;
uint32_t ***l_1928 = &l_1929;
uint32_t ****l_1927 = &l_1928;
const int64_t *l_1999 = &g_2000;
int32_t l_2019[1];
int16_t *l_2038 = &l_1849;
int16_t **l_2037[7];
int32_t *l_2108 = &l_2019[0];
int64_t l_2145 = 0x3DFDD14ABC8984EELL;
int16_t l_2146 = (-2L);
int8_t ****l_2160 = &g_514;
uint8_t l_2245 = 0x9AL;
int64_t l_2246 = 1L;
int8_t l_2267 = 0x42L;
uint16_t l_2299 = 65535UL;
struct S0 l_2337 = {13319};
int i, j;
for (i = 0; i < 1; i++)
l_2019[i] = (-9L);
for (i = 0; i < 7; i++)
l_2037[i] = &l_2038;
lbl_1772:
for (g_6 = 0; (g_6 <= 0); g_6 += 1)
{ /* block id: 788 */
int64_t l_1689 = 0x6532F6C92193C6D4LL;
int32_t l_1690 = 0x0181A78DL;
int32_t *l_1692 = &l_1688;
int32_t *l_1693[1][8][3] = {{{(void*)0,(void*)0,(void*)0},{&l_1688,&l_1688,&l_1688},{(void*)0,(void*)0,(void*)0},{&l_1688,&l_1688,&l_1688},{(void*)0,(void*)0,(void*)0},{&l_1688,&l_1688,&l_1688},{(void*)0,(void*)0,(void*)0},{&l_1688,&l_1688,&l_1688}}};
uint16_t l_1695 = 7UL;
int i, j, k;
--l_1695;
(*g_540) = (void*)0;
for (g_1021 = 0; (g_1021 <= 7); g_1021 += 1)
{ /* block id: 793 */
(*g_1700) = &g_943;
}
}
if ((l_1691 = ((safe_rshift_func_uint8_t_u_u(((*l_1732) ^= (l_1688 == (safe_sub_func_int32_t_s_s((safe_add_func_int8_t_s_s((safe_lshift_func_uint16_t_u_u((((((safe_add_func_uint16_t_u_u(l_1688, ((safe_lshift_func_uint8_t_u_s(((*p_22)++), ((l_1715 != ((safe_rshift_func_uint8_t_u_u((safe_add_func_int8_t_s_s(l_1694[7][3], ((((safe_unary_minus_func_uint32_t_u(((*g_426) && (safe_add_func_uint64_t_u_u(((+(((*g_465)++) , (safe_lshift_func_int8_t_s_u(((safe_lshift_func_int8_t_s_u(((l_1688 , 0UL) != (((safe_add_func_int8_t_s_s(((&g_1647[4] != l_1732) != l_1694[7][2]), 0x91L)) > g_534) || l_1691)), l_1688)) < 6UL), 3)))) , 0x46FEDF131D543407LL), 3L))))) & l_1733) < l_1694[4][1]) != 0xB185A101L))), l_1688)) , (void*)0)) <= (-10L)))) >= 1UL))) | l_1694[2][2]) , 1L) >= l_1694[7][2]) && l_1733), 3)), l_1733)), 0xA5785E65L)))), l_1694[3][3])) >= l_1691)))
{ /* block id: 801 */
int8_t l_1737 = 0L;
int8_t *l_1744 = &l_1733;
int32_t ****l_1769 = &g_883;
int32_t l_1785 = 0x038DEC7EL;
int32_t l_1786 = 0xD9B24473L;
int32_t l_1787 = (-10L);
int32_t l_1789[2];
int8_t l_1800[5][7] = {{0x1BL,0xACL,0L,0xA9L,0x22L,0xF2L,0xD3L},{0x1BL,0x5DL,(-4L),0L,(-4L),0x5DL,0x1BL},{0xD3L,0xF2L,0x22L,0xA9L,0L,0xACL,0x1BL},{0L,0x1BL,0xCFL,0xCFL,0x1BL,0L,0xD3L},{0x5DL,0xCFL,0x22L,0xD3L,(-3L),0L,0L}};
uint8_t l_1820 = 0xB9L;
int32_t *l_1853 = &l_1694[7][2];
uint32_t l_1934 = 0x39B94B8DL;
uint32_t ***l_1968 = &l_1929;
const int32_t l_1989[9] = {2L,2L,2L,2L,2L,2L,2L,2L,2L};
const int64_t *l_1998 = &g_537;
uint16_t l_2020 = 0x03D9L;
int8_t l_2065 = 0x1EL;
uint64_t l_2113 = 0xB524BF8A8C0904D7LL;
int8_t *** const *l_2158 = &g_514;
uint64_t l_2192 = 0xC766FB2C8DAEB7CELL;
const int32_t *l_2211 = &g_80[4];
int64_t l_2244 = 0x5DFF0A4A1926F9CFLL;
uint32_t **l_2257 = (void*)0;
uint32_t l_2271 = 1UL;
int16_t l_2298[2][4] = {{0xF758L,0x394EL,0xF758L,0x394EL},{0xF758L,0x394EL,0xF758L,0x394EL}};
struct S0 l_2303 = {12021};
int8_t l_2332 = 0xAAL;
int i, j;
for (i = 0; i < 2; i++)
l_1789[i] = 0x26A41F91L;
if (((g_457 & (l_1691 > (g_1734 <= (0xF6D3C00FL || ((l_1737 < (safe_lshift_func_uint8_t_u_s((safe_add_func_uint8_t_u_u((safe_rshift_func_uint8_t_u_s(l_1694[7][2], 7)), ((*l_1744) = l_1688))), 1))) != (safe_mod_func_int8_t_s_s((((l_1688 , 1UL) | 0UL) == l_1694[6][0]), (*p_22)))))))) < 2L))
{ /* block id: 803 */
uint8_t l_1753 = 0UL;
int32_t **l_1760 = &g_1025;
int32_t l_1790 = 0x46270265L;
int32_t l_1791 = 1L;
int32_t l_1792 = 1L;
int32_t l_1793 = 1L;
int32_t l_1794 = 1L;
int32_t l_1795 = (-1L);
int32_t l_1796 = 0x9E5FE596L;
int32_t *l_1801 = &g_80[1];
int32_t *l_1802 = &l_1791;
int32_t *l_1803 = &l_1789[1];
int32_t *l_1804 = (void*)0;
int32_t *l_1805 = (void*)0;
int32_t *l_1806 = (void*)0;
int32_t *l_1807 = (void*)0;
int32_t *l_1808 = &l_1795;
int32_t *l_1809 = &l_1794;
int32_t *l_1810 = (void*)0;
int32_t *l_1811 = &g_433;
int32_t *l_1812 = &l_1786;
int32_t *l_1814 = &l_1794;
int32_t *l_1815 = (void*)0;
int32_t *l_1816 = &l_1694[7][2];
int32_t *l_1817 = &l_1786;
int32_t *l_1818 = (void*)0;
int32_t *l_1819[8];
int i;
for (i = 0; i < 8; i++)
l_1819[i] = &l_1789[1];
l_1691 |= ((safe_sub_func_int16_t_s_s(((safe_mod_func_uint16_t_u_u(((**l_1715) == (void*)0), l_1753)) > ((l_1754 != (l_1755 , ((safe_add_func_uint64_t_u_u(((*g_140) >= ((((((l_1760 != (void*)0) == (safe_sub_func_uint64_t_u_u(((safe_rshift_func_int8_t_s_u((((safe_rshift_func_int16_t_s_s((safe_add_func_uint8_t_u_u((l_1769 != l_1770), (*g_1371))), 7)) == l_1754) , 9L), l_1737)) & 1L), l_1753))) || l_1771[0][1]) , 1UL) ^ 0x3A3735D398B6B042LL) <= g_1360[6])), g_218.f0)) && l_1753))) >= l_1737)), 0x9CBFL)) && l_1737);
if (g_534)
goto lbl_1772;
for (l_1691 = 0; (l_1691 != 18); l_1691 = safe_add_func_uint64_t_u_u(l_1691, 9))
{ /* block id: 808 */
int32_t *l_1775 = &g_742;
int32_t *l_1776 = &l_1694[5][1];
int32_t *l_1777 = &l_1688;
int32_t *l_1778 = &g_80[6];
int32_t *l_1779 = &g_80[5];
int32_t *l_1780 = &g_80[4];
int32_t *l_1781 = (void*)0;
int32_t *l_1782 = &g_80[1];
int32_t *l_1783 = &g_433;
int32_t *l_1784[4];
int i;
for (i = 0; i < 4; i++)
l_1784[i] = (void*)0;
l_1797--;
}
++l_1820;
}
else
{ /* block id: 812 */
uint64_t l_1823 = 0xA8D6DD8BE44E5E8CLL;
uint32_t **l_1857 = (void*)0;
uint32_t ***l_1856 = &l_1857;
int32_t l_1861 = 1L;
int32_t l_1875 = 0L;
int32_t l_1876 = 8L;
int32_t l_1877 = 0x1BFA49FCL;
int32_t l_1878 = 0x799D3C62L;
int32_t l_1879 = 0x78430814L;
uint32_t l_1918 = 0UL;
int32_t ***l_1956 = &g_197;
uint32_t ***l_1958[10][2][9] = {{{&g_1281[0][0],&g_1281[1][0],&g_1281[0][4],&g_1281[2][1],&g_1281[1][0],&g_1281[1][4],&g_1281[1][0],(void*)0,(void*)0},{&g_1281[0][3],&g_1281[0][1],&g_1281[1][0],&g_1281[3][4],&g_1281[3][1],&g_1281[0][3],(void*)0,(void*)0,&g_1281[0][3]}},{{(void*)0,&g_1281[1][0],(void*)0,&g_1281[1][0],(void*)0,(void*)0,&g_1281[1][0],&g_1281[1][0],&g_1281[1][0]},{&g_1281[2][0],&g_1281[1][0],&g_1281[2][4],(void*)0,&g_1281[3][4],&g_1281[1][3],&g_1281[0][3],&g_1281[0][3],(void*)0}},{{&g_1281[3][3],&g_1281[1][0],(void*)0,(void*)0,&g_1281[0][1],(void*)0,(void*)0,&g_1281[1][0],&g_1281[1][0]},{&g_1281[2][1],(void*)0,&g_1281[1][0],&g_1281[0][3],&g_1281[2][3],&g_1281[0][3],&g_1281[1][0],(void*)0,&g_1281[2][1]}},{{&g_1281[3][2],(void*)0,&g_1281[1][0],&g_1281[1][0],&g_1281[3][4],&g_1281[1][4],(void*)0,&g_1281[1][1],(void*)0},{(void*)0,&g_1281[2][4],(void*)0,(void*)0,&g_1281[3][3],&g_1281[1][0],&g_1281[1][0],&g_1281[1][0],&g_1281[0][1]}},{{&g_1281[3][2],&g_1281[3][4],(void*)0,&g_1281[1][0],&g_1281[1][4],&g_1281[2][1],(void*)0,&g_1281[2][1],&g_1281[1][4]},{&g_1281[2][1],&g_1281[2][2],&g_1281[2][2],&g_1281[2][1],&g_1281[2][4],&g_1281[1][0],&g_1281[3][3],&g_1281[1][0],&g_1281[1][3]}},{{&g_1281[3][3],&g_1281[0][1],&g_1281[1][4],(void*)0,&g_1281[1][0],(void*)0,&g_1281[0][1],&g_1281[1][0],(void*)0},{&g_1281[2][0],&g_1281[1][0],(void*)0,&g_1281[0][1],&g_1281[2][4],&g_1281[1][0],&g_1281[1][0],&g_1281[3][1],&g_1281[1][0]}},{{(void*)0,&g_1281[0][0],&g_1281[1][0],&g_1281[1][4],&g_1281[1][4],&g_1281[1][0],(void*)0,&g_1281[1][0],(void*)0},{&g_1281[1][0],&g_1281[3][4],&g_1281[2][1],&g_1281[1][1],&g_1281[0][3],&g_1281[1][0],&g_1281[1][3],(void*)0,&g_1281[1][0]}},{{&g_1281[3][4],&g_1281[1][0],(void*)0,&g_1281[3][2],&g_1281[1][0],(void*)0,&g_1281[1][0],&g_1281[0][0],(void*)0},{&g_1281[1][0],&g_1281[2][1],&g_1281[1][0],(void*)0,&g_1281[0][1],&g_1281[1][3],&g_1281[1][3],&g_1281[0][1],(void*)0}},{{&g_1281[3][3],&g_1281[0][4],&g_1281[3][3],(void*)0,&g_1281[0][0],&g_1281[1][0],(void*)0,&g_1281[1][0],&g_1281[3][2]},{&g_1281[1][3],&g_1281[1][0],&g_1281[2][2],&g_1281[1][0],(void*)0,&g_1281[1][3],&g_1281[1][0],&g_1281[0][3],&g_1281[1][1]}},{{&g_1281[0][0],&g_1281[1][0],&g_1281[2][1],(void*)0,&g_1281[1][0],(void*)0,&g_1281[1][4],&g_1281[1][0],&g_1281[1][0]},{&g_1281[3][4],&g_1281[2][0],&g_1281[3][3],(void*)0,&g_1281[3][3],&g_1281[2][0],&g_1281[3][4],&g_1281[0][1],&g_1281[1][3]}}};
int32_t *****l_2007 = &l_1770;
uint32_t ****l_2025 = (void*)0;
uint32_t ****l_2026 = &l_1958[2][1][5];
uint32_t ***l_2028[10][2] = {{&g_1281[1][0],&g_1281[1][0]},{&g_1281[1][0],&g_1281[1][0]},{&g_1281[1][0],&g_1281[1][0]},{&g_1281[1][0],&g_1281[1][0]},{&g_1281[1][0],&g_1281[1][0]},{&g_1281[1][0],&g_1281[1][0]},{&g_1281[1][0],&g_1281[1][0]},{&g_1281[1][0],&g_1281[1][0]},{&g_1281[1][0],&g_1281[1][0]},{&g_1281[1][0],&g_1281[1][0]}};
uint32_t ****l_2027 = &l_2028[1][1];
uint16_t l_2044 = 0x29D7L;
uint16_t l_2054 = 0x4F51L;
int32_t l_2066 = 0x3E6B531EL;
int32_t *l_2085 = &l_1754;
int32_t *l_2087[9] = {&g_78,&g_1021,&g_78,&g_1021,&g_78,&g_1021,&g_78,&g_1021,&g_78};
uint64_t l_2088 = 1UL;
struct S0 l_2089[6] = {{12958},{12958},{12958},{12958},{12958},{12958}};
uint8_t l_2147 = 0x8EL;
uint32_t l_2150 = 0xF5635700L;
int8_t **l_2187 = &l_1744;
int16_t l_2191 = 4L;
uint64_t l_2208 = 0x1951BC1FF408FCC7LL;
const int32_t *l_2214[3][2];
int32_t l_2333 = (-1L);
int i, j, k;
for (i = 0; i < 3; i++)
{
for (j = 0; j < 2; j++)
l_2214[i][j] = &l_1694[7][2];
}
if (l_1823)
{ /* block id: 813 */
int64_t l_1826 = 0xA672E4646AEB8B60LL;
int32_t l_1866 = 0x812214ECL;
int32_t l_1880 = 0xF66D4FF4L;
uint32_t l_1957 = 0xCECD4CA0L;
int32_t * const *l_1996 = (void*)0;
int32_t *****l_2008[3];
int i;
for (i = 0; i < 3; i++)
l_2008[i] = (void*)0;
if ((safe_lshift_func_uint16_t_u_s((((l_1826 & (safe_lshift_func_int16_t_s_u((safe_lshift_func_uint16_t_u_u((((safe_rshift_func_int16_t_s_u(g_1734, ((safe_rshift_func_int16_t_s_s((safe_add_func_int16_t_s_s(l_1733, ((l_1823 >= l_1826) & (((safe_add_func_uint16_t_u_u(((safe_mul_func_int8_t_s_s((safe_div_func_int64_t_s_s((safe_mul_func_uint16_t_u_u(((safe_sub_func_int16_t_s_s((0L < l_1786), l_1849)) & l_1823), g_755[1][7])), 0xA38D9848597F889ALL)), 1UL)) < 0L), (*g_140))) & 1L) > (*g_168))))), 9)) ^ g_322[9][3]))) == l_1849) > l_1826), (*g_465))), (*g_465)))) ^ l_1826) || l_1826), l_1694[7][2])))
{ /* block id: 814 */
int32_t *l_1850 = &l_1786;
int32_t **l_1851 = (void*)0;
int32_t **l_1852 = &l_1850;
l_1853 = ((*l_1852) = l_1850);
}
else
{ /* block id: 817 */
int32_t *l_1873 = &l_1694[7][2];
int32_t *l_1874[8] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
int i;
for (g_78 = 0; (g_78 <= (-20)); --g_78)
{ /* block id: 820 */
uint32_t ***l_1860 = &l_1857;
int32_t *l_1862 = &l_1861;
int32_t *l_1863 = (void*)0;
int32_t *l_1864 = (void*)0;
int32_t *l_1865 = &g_80[1];
int32_t *l_1867 = &l_1861;
int32_t *l_1868 = (void*)0;
int32_t *l_1869[5][7][5] = {{{&g_433,&l_1789[1],&g_80[4],(void*)0,(void*)0},{&l_1694[2][0],(void*)0,(void*)0,&l_1694[7][0],(void*)0},{&l_1785,&l_1694[2][0],&l_1861,&l_1691,&l_1688},{&l_1694[2][2],(void*)0,(void*)0,(void*)0,(void*)0},{&l_1786,&l_1691,(void*)0,&l_1694[4][0],(void*)0},{&g_1813,&l_1785,&l_1688,(void*)0,&l_1688},{&l_1694[4][1],(void*)0,&l_1861,&l_1861,(void*)0}},{{&l_1785,&g_80[4],&l_1786,&g_1813,(void*)0},{&l_1861,&l_1694[4][1],&l_1785,&l_1694[7][1],&l_1785},{(void*)0,&g_742,&l_1789[1],(void*)0,&l_1861},{&l_1861,&l_1694[7][2],(void*)0,&l_1688,&l_1694[4][0]},{&l_1785,&l_1789[1],(void*)0,&l_1785,&l_1694[7][2]},{&l_1694[4][1],&l_1694[5][2],&g_433,&g_433,&l_1861},{&g_1813,&l_1688,&g_1813,&l_1861,&l_1786}},{{&l_1786,&l_1688,&l_1786,&l_1694[2][2],&l_1866},{&l_1694[2][2],&l_1694[5][2],&l_1861,&l_1789[1],&l_1789[1]},{&l_1785,&l_1789[1],&g_80[4],&l_1786,&g_1813},{&l_1694[2][2],&g_80[4],&g_742,&l_1789[1],(void*)0},{(void*)0,&g_742,&l_1694[2][0],&l_1694[7][0],&g_1813},{&l_1786,&l_1694[5][2],&g_742,(void*)0,(void*)0},{&g_742,&g_80[4],&g_80[4],&l_1694[2][2],&l_1694[7][2]}},{{&l_1691,&l_1861,&l_1688,&l_1789[1],&l_1786},{(void*)0,&g_1813,&l_1694[7][1],&l_1861,&l_1786},{&g_433,(void*)0,(void*)0,&l_1861,(void*)0},{&l_1694[4][1],&l_1786,(void*)0,&l_1789[1],&l_1866},{&g_80[4],&l_1694[2][2],&l_1861,&l_1694[2][2],&g_80[4]},{&l_1688,&l_1789[1],&g_433,(void*)0,&g_742},{&l_1786,&l_1786,&l_1785,&l_1694[7][0],&l_1694[2][2]}},{{&l_1785,&l_1789[1],&g_1813,&l_1789[1],&g_742},{&g_433,&l_1694[7][0],(void*)0,&l_1786,&g_80[4]},{&g_742,(void*)0,&l_1789[1],&l_1786,&l_1866},{&l_1694[7][1],&l_1691,&l_1866,&l_1691,(void*)0},{&l_1688,&l_1786,&l_1786,&l_1688,&l_1786},{&l_1688,&l_1785,&l_1861,&g_742,&l_1786},{&l_1694[7][1],(void*)0,&l_1694[7][2],&g_80[4],&l_1694[7][2]}}};
int i, j, k;
l_1860 = l_1856;
(*l_1853) = ((void*)0 == &g_534);
--l_1870;
if (l_1688)
goto lbl_1772;
}
++l_1881[6];
if (((*g_465) , ((*l_1873) |= 9L)))
{ /* block id: 828 */
return g_300;
}
else
{ /* block id: 830 */
int32_t *l_1884[8];
int i;
for (i = 0; i < 8; i++)
l_1884[i] = &l_1694[3][2];
(*g_540) = &l_1785;
(*g_540) = l_1884[6];
(*g_1055) = &l_1694[7][2];
}
}
for (g_433 = (-19); (g_433 >= (-9)); g_433++)
{ /* block id: 838 */
uint32_t l_1913[6][7] = {{0xF3062372L,3UL,1UL,1UL,3UL,0xF3062372L,0xE95292D2L},{0x8C348E0BL,1UL,0x1BE7FB07L,0xE95292D2L,0xF856D1F7L,0xF3062372L,0xF3062372L},{0x94792663L,0xF856D1F7L,2UL,0xF856D1F7L,0x94792663L,0xC51A0901L,0x8C348E0BL},{0UL,1UL,0xF3062372L,0x04C7D6D0L,0x94792663L,0x8C348E0BL,0x94792663L},{4294967286UL,3UL,3UL,4294967286UL,0xF856D1F7L,0x04C7D6D0L,0UL},{0UL,0x04C7D6D0L,0xF856D1F7L,4294967286UL,3UL,3UL,4294967286UL}};
int i, j;
for (l_1691 = 27; (l_1691 < (-28)); l_1691--)
{ /* block id: 841 */
int8_t l_1891 = 9L;
uint8_t **l_1907 = &g_69[0];
uint32_t *l_1912 = &g_436;
int32_t l_1914 = 0xECF224A1L;
l_1914 = (((*p_22) >= (l_1891 < ((safe_mul_func_uint8_t_u_u(((~0x08L) & 0x8AE30A8F22212FF3LL), ((((safe_div_func_int64_t_s_s((safe_mod_func_int64_t_s_s((safe_mod_func_uint16_t_u_u(((((safe_div_func_uint32_t_u_u((l_1880 = (l_1913[4][5] = ((*l_1912) = (safe_mul_func_int16_t_s_s((safe_rshift_func_uint8_t_u_u((p_23 == ((*l_1907) = &g_300)), 7)), (safe_lshift_func_uint16_t_u_s(6UL, ((~((*g_168) | (((safe_unary_minus_func_uint32_t_u(((void*)0 == (**l_1715)))) > (*g_465)) ^ 0L))) , (*l_1853))))))))), l_1891)) <= (*l_1853)) || 0x110EL) , 65535UL), (*g_140))), l_1866)), l_1891)) && 0x75L) , l_1913[4][5]) , 0x91L))) & l_1878))) > (*g_465));
}
}
for (g_6 = 0; (g_6 <= 1); g_6 += 1)
{ /* block id: 851 */
uint32_t ****l_1926 = &l_1856;
int32_t l_1937 = 7L;
uint32_t ***l_1959 = (void*)0;
uint32_t ***l_1966 = &l_1857;
struct S0 l_1969 = {2473};
if (l_1826)
{ /* block id: 852 */
int64_t l_1919 = 3L;
uint32_t ****l_1925 = &l_1856;
uint32_t *****l_1924[8] = {&l_1925,&l_1925,&l_1925,&l_1925,&l_1925,&l_1925,&l_1925,&l_1925};
int16_t *l_1930[7] = {&g_1238[0],&g_1238[0],&g_1238[0],&g_1238[0],&g_1238[0],&g_1238[0],&g_1238[0]};
int i;
(*g_1936) = (l_1823 ^ (((*l_1732) = (safe_mod_func_uint8_t_u_u(((+l_1918) == l_1919), ((safe_sub_func_uint64_t_u_u((safe_lshift_func_uint16_t_u_s((l_1826 && l_1826), ((*l_1853) = ((l_1927 = (l_1926 = (void*)0)) != g_1859)))), l_1880)) || ((*g_465) = (safe_div_func_uint32_t_u_u((+l_1934), 0xF17DBB93L))))))) , (*g_168)));
if ((*l_1853))
break;
}
else
{ /* block id: 860 */
l_1880 &= (l_1937 , 0x806F457BL);
if ((*l_1853))
break;
}
if ((((safe_mul_func_uint8_t_u_u(((*l_1732) = (safe_mul_func_int8_t_s_s((*g_862), ((safe_rshift_func_int8_t_s_s((((((safe_sub_func_uint8_t_u_u((l_1694[4][0] < (safe_div_func_uint8_t_u_u(0UL, ((~((((g_141 >= (l_1877 = (((*g_168) = (l_1877 , (((safe_mul_func_int8_t_s_s(((safe_div_func_int16_t_s_s((safe_add_func_int16_t_s_s(((l_1826 < (safe_unary_minus_func_uint16_t_u((*g_465)))) == (-1L)), ((1L && l_1880) == 0x871BL))), l_1877)) ^ 0x0BA454E7L), l_1876)) >= (*l_1853)) , 0x0D010283E0684289LL))) > l_1866))) , l_1956) != (void*)0) >= 0x3B33L)) & 0x7248L)))), 0x4AL)) || l_1957) , l_1958[3][0][8]) == l_1959) , 0x01L), l_1957)) || l_1937)))), 1L)) || l_1937) & g_1960))
{ /* block id: 867 */
return g_1238[0];
}
else
{ /* block id: 869 */
const int8_t l_1963 = 0xA1L;
uint32_t *** const l_1965 = &l_1929;
uint32_t ****l_1967[9][8][3] = {{{&l_1928,&l_1966,&l_1856},{&l_1928,&l_1856,&l_1966},{&l_1928,&l_1856,&l_1966},{&l_1856,&l_1966,&l_1856},{(void*)0,&l_1928,&l_1966},{&l_1856,&l_1856,&l_1966},{&l_1966,&l_1856,&l_1856},{(void*)0,&l_1966,&l_1856}},{{&l_1856,&l_1966,&l_1856},{&l_1928,&l_1966,&l_1966},{&l_1966,&l_1966,&l_1856},{&l_1928,&l_1856,&l_1966},{&l_1966,&l_1856,&l_1966},{&l_1928,&l_1928,&l_1928},{&l_1966,(void*)0,&l_1928},{(void*)0,&l_1856,&l_1856}},{{&l_1856,&l_1856,&l_1856},{&l_1856,&l_1928,&l_1856},{&l_1928,&l_1928,&l_1966},{(void*)0,&l_1966,&l_1966},{&l_1966,&l_1856,&l_1856},{&l_1966,&l_1966,&l_1856},{&l_1928,&l_1966,&l_1856},{&l_1966,&l_1966,&l_1928}},{{&l_1966,&l_1966,&l_1928},{&l_1966,&l_1966,&l_1966},{&l_1856,&l_1966,&l_1928},{&l_1966,&l_1966,&l_1966},{&l_1856,&l_1856,&l_1856},{&l_1856,&l_1966,&l_1966},{&l_1856,&l_1928,&l_1928},{&l_1856,&l_1928,&l_1928}},{{&l_1966,&l_1856,&l_1856},{&l_1856,&l_1856,(void*)0},{&l_1966,(void*)0,&l_1928},{&l_1966,&l_1928,(void*)0},{&l_1966,&l_1856,&l_1856},{&l_1928,&l_1966,&l_1928},{&l_1966,&l_1856,&l_1928},{&l_1966,&l_1928,&l_1966}},{{(void*)0,&l_1928,&l_1856},{&l_1928,&l_1856,&l_1966},{&l_1856,&l_1966,&l_1928},{&l_1856,&l_1856,&l_1966},{(void*)0,&l_1928,&l_1928},{&l_1966,(void*)0,&l_1928},{(void*)0,&l_1856,&l_1856},{&l_1856,&l_1856,&l_1856}},{{&l_1856,&l_1928,&l_1856},{&l_1928,&l_1928,&l_1966},{(void*)0,&l_1966,&l_1966},{&l_1966,&l_1856,&l_1856},{&l_1966,&l_1966,&l_1856},{&l_1928,&l_1966,&l_1856},{&l_1966,&l_1966,&l_1928},{&l_1966,&l_1966,&l_1928}},{{&l_1966,&l_1966,&l_1966},{&l_1856,&l_1966,&l_1928},{&l_1966,&l_1966,&l_1966},{&l_1856,&l_1856,&l_1856},{&l_1856,&l_1966,&l_1966},{&l_1856,&l_1928,&l_1928},{&l_1856,&l_1928,&l_1928},{&l_1966,&l_1856,&l_1856}},{{&l_1856,&l_1856,(void*)0},{&l_1966,(void*)0,&l_1928},{&l_1966,&l_1928,(void*)0},{&l_1966,&l_1856,&l_1856},{&l_1928,&l_1966,&l_1928},{&l_1966,&l_1856,&l_1928},{&l_1966,&l_1928,&l_1966},{(void*)0,&l_1928,&l_1856}}};
int32_t l_1970 = 0L;
int i, j, k;
l_1969 = func_61(&g_44[0], (safe_div_func_int16_t_s_s(l_1963, (+(l_1965 != (l_1968 = l_1966))))));
l_1970 |= (*l_1853);
}
for (l_1861 = 1; (l_1861 >= 0); l_1861 -= 1)
{ /* block id: 876 */
int8_t l_1983 = 0L;
int32_t l_1985 = 0x3F5B5BA5L;
(*g_268) = ((l_1688 = (safe_rshift_func_uint8_t_u_s(((+0xA9L) == 1UL), ((safe_lshift_func_uint8_t_u_s((~(*l_1853)), ((*l_1744) = l_1826))) , (l_1937 > (safe_rshift_func_int8_t_s_u((0x8A31870A5CDA5266LL >= (safe_mod_func_int64_t_s_s(((safe_mod_func_uint8_t_u_u(((((l_1918 , ((*l_1853) = 0L)) < (((*g_1371) || 0UL) < 1UL)) < (*p_22)) < l_1983), (*g_862))) >= 0xA4510FEFL), 0xAF558172E839AE9FLL))), 7))))))) , (*g_171));
l_1985 |= l_1937;
}
for (l_1875 = 0; (l_1875 <= 1); l_1875 += 1)
{ /* block id: 885 */
uint32_t l_1986[8] = {4294967287UL,0UL,0UL,4294967287UL,0UL,0UL,4294967287UL,0UL};
int i;
--l_1986[2];
}
}
if (l_1989[6])
{ /* block id: 889 */
const uint16_t l_1997 = 65535UL;
int32_t l_2009 = 0x36BEF2FCL;
for (l_1957 = 0; (l_1957 < 58); l_1957++)
{ /* block id: 892 */
uint16_t l_2003[5] = {4UL,4UL,4UL,4UL,4UL};
int16_t *l_2006 = &g_138[7];
int i;
l_1880 = (safe_add_func_uint16_t_u_u((safe_rshift_func_int8_t_s_s(1L, 1)), (l_1996 == (*g_883))));
l_1880 |= (((l_1997 < (-3L)) , (&g_322[9][3] == (l_1999 = l_1998))) < ((*p_22) = (((*l_2006) = (safe_mul_func_int8_t_s_s((((*l_1853) = (253UL > ((((-1L) == g_989) ^ l_2003[1]) , ((safe_div_func_uint16_t_u_u((**g_139), 0xFB56L)) && 0L)))) > 0xEC06L), (*p_22)))) | g_322[9][3])));
l_2009 |= ((l_2007 == l_2008[2]) | (*g_140));
}
}
else
{ /* block id: 901 */
return g_1238[0];
}
}
else
{ /* block id: 904 */
uint32_t l_2012[9][3] = {{0x1A6841E0L,9UL,0x1A6841E0L},{4294967295UL,4294967295UL,4294967295UL},{0x1A6841E0L,9UL,0x1A6841E0L},{4294967295UL,4294967295UL,4294967295UL},{0x1A6841E0L,9UL,0x1A6841E0L},{4294967295UL,4294967295UL,4294967295UL},{0x1A6841E0L,9UL,0x1A6841E0L},{4294967295UL,4294967295UL,4294967295UL},{0x1A6841E0L,9UL,0x1A6841E0L}};
int32_t l_2013 = (-1L);
int i, j;
for (l_1875 = (-25); (l_1875 < (-5)); ++l_1875)
{ /* block id: 907 */
if (l_2012[5][2])
break;
}
l_2013 = l_1797;
for (l_1688 = 0; (l_1688 == 22); ++l_1688)
{ /* block id: 913 */
int32_t * const l_2016 = &g_742;
(*g_2018) = l_2016;
(****g_1367) = ((**g_139) < 65535UL);
return g_755[1][1];
}
l_2020++;
}
if (((safe_sub_func_uint8_t_u_u((*p_22), (((*l_2026) = &g_1281[3][3]) == ((*l_2027) = &g_1281[1][0])))) >= (*g_465)))
{ /* block id: 922 */
uint64_t l_2035 = 18446744073709551615UL;
int16_t ***l_2039[3][3] = {{(void*)0,(void*)0,(void*)0},{(void*)0,&l_2037[3],(void*)0},{(void*)0,(void*)0,(void*)0}};
int32_t l_2043[2][1];
const int32_t *l_2084 = &g_1734;
uint8_t * const l_2104[9][4][5] = {{{&g_300,&g_6,(void*)0,&g_6,(void*)0},{&g_300,&g_6,&g_6,&l_1820,(void*)0},{&g_300,&g_6,&g_6,&g_6,&g_6},{&g_300,&g_300,&g_6,&l_1820,(void*)0}},{{&g_300,&g_6,(void*)0,&g_6,(void*)0},{&g_300,&g_6,&g_6,&l_1820,(void*)0},{&g_300,&g_6,&g_6,&g_6,&g_6},{&g_300,&g_300,&g_6,&l_1820,(void*)0}},{{&g_300,&g_6,(void*)0,&g_6,(void*)0},{&g_300,&g_6,&g_6,&l_1820,(void*)0},{&g_300,&g_6,&g_6,&g_6,&g_6},{&g_300,&g_300,&g_6,&l_1820,(void*)0}},{{&g_300,&g_6,(void*)0,&g_6,(void*)0},{&g_300,&g_6,&g_6,&l_1820,(void*)0},{&g_300,&g_6,&g_6,&g_6,&g_6},{&g_300,&g_300,&g_6,&l_1820,(void*)0}},{{&g_300,&g_6,(void*)0,&g_6,(void*)0},{&g_300,&g_6,&g_6,&l_1820,(void*)0},{&g_300,&g_6,&g_6,&g_6,&g_6},{&g_300,&g_300,&g_6,&l_1820,(void*)0}},{{&g_300,&g_6,(void*)0,&g_6,(void*)0},{&g_300,&g_6,&g_6,&l_1820,(void*)0},{&g_300,&g_6,&g_6,&g_6,&g_6},{&g_300,&g_300,&g_6,&l_1820,(void*)0}},{{&g_300,&g_6,(void*)0,&g_6,(void*)0},{&g_300,&g_6,&g_6,&l_1820,(void*)0},{&g_300,&g_6,&g_6,&g_6,&g_6},{&g_300,&g_300,&g_6,&l_1820,(void*)0}},{{&g_300,&g_6,(void*)0,&g_6,(void*)0},{&g_300,&g_6,&g_6,&l_1820,(void*)0},{&g_300,&g_6,&g_6,&g_6,&g_6},{&g_300,&g_300,(void*)0,&g_534,&g_300}},{{(void*)0,&g_300,&g_6,&g_300,&g_6},{(void*)0,&g_6,(void*)0,&l_1820,&g_300},{&g_6,&g_300,&g_534,&g_300,&g_534},{(void*)0,(void*)0,(void*)0,&g_534,&g_300}}};
struct S0 l_2107[1][9][5] = {{{{6571},{6571},{5735},{3033},{10131}},{{9350},{5684},{5684},{9350},{6571}},{{9350},{3033},{4925},{4925},{3033}},{{6571},{5684},{4925},{5735},{5735}},{{5684},{6571},{5684},{4925},{5735}},{{3033},{9350},{5735},{9350},{3033}},{{5684},{9350},{6571},{3033},{6571}},{{6571},{6571},{5735},{3033},{10131}},{{9350},{5684},{5684},{9350},{6571}}}};
int32_t *l_2109 = &l_1879;
int16_t l_2140 = 0xCF81L;
int32_t *l_2142 = &g_742;
int32_t *l_2143[6] = {&l_1789[1],&l_1878,&l_1789[1],&l_1789[1],&l_1878,&l_1789[1]};
int64_t l_2144 = (-1L);
int i, j, k;
for (i = 0; i < 2; i++)
{
for (j = 0; j < 1; j++)
l_2043[i][j] = (-1L);
}
if (((*l_1853) = ((safe_div_func_uint8_t_u_u((*g_1371), ((safe_mod_func_uint8_t_u_u(((((*l_1853) , ((safe_add_func_uint16_t_u_u(((*l_1853) < (*g_465)), l_1694[7][2])) <= l_2035)) , (l_2043[0][0] = (((*g_1936) , g_2036) != (g_2042[1][1][0] = (g_2040[6] = l_2037[5]))))) ^ 8UL), (**g_861))) | (*p_22)))) , l_2044)))
{ /* block id: 927 */
uint64_t l_2062[3][3];
int64_t *l_2067 = &g_322[9][3];
int16_t **l_2090[6];
int32_t l_2102 = 0L;
int i, j;
for (i = 0; i < 3; i++)
{
for (j = 0; j < 3; j++)
l_2062[i][j] = 0x95BAE680E30C7298LL;
}
for (i = 0; i < 6; i++)
l_2090[i] = &g_2041;
(*g_540) = (((*l_2067) = (!((((safe_unary_minus_func_int8_t_s((safe_rshift_func_int16_t_s_u(((safe_rshift_func_int16_t_s_u(((safe_lshift_func_int16_t_s_u(((safe_unary_minus_func_int8_t_s(4L)) , l_2054), (safe_lshift_func_uint8_t_u_u(((((((*g_2041) = 0x90F8L) | (l_2035 < ((safe_rshift_func_int16_t_s_u((-1L), ((+0x0F46E1D8D556697CLL) > ((((((*g_140) == l_2062[1][0]) != ((l_2043[0][0] = (safe_div_func_int8_t_s_s((l_2035 , (-1L)), l_2062[1][1]))) >= (*p_22))) < (*g_168)) & l_2062[1][0]) || 0x99E3808AL)))) != (*g_862)))) || l_2065) && l_2066) , 0x87L), (*l_1853))))) , l_2043[1][0]), l_2062[1][0])) && (*l_1853)), 4)))) , l_2043[0][0]) <= 0x89D9L) >= (*l_1853)))) , (void*)0);
for (l_1934 = 0; (l_1934 <= 0); l_1934 += 1)
{ /* block id: 934 */
int32_t **l_2086[1];
int16_t ** const l_2091 = (void*)0;
const uint32_t ***l_2095 = &g_2093;
uint32_t **l_2096 = &g_1282;
int8_t *l_2101[10][1] = {{&l_1800[3][5]},{&l_1737},{&l_1737},{&l_1800[3][5]},{&l_1737},{&l_1737},{&l_1800[3][5]},{&l_1737},{&l_1737},{&l_1800[3][5]}};
struct S0 l_2105 = {7796};
struct S0 *l_2106[3][8][5] = {{{&g_218,(void*)0,(void*)0,&l_1755,&g_218},{&l_2089[2],&l_2089[5],&g_218,(void*)0,&g_218},{&l_2105,&l_2089[1],&l_2089[2],&l_2089[4],&l_2089[5]},{&l_2105,&g_218,&l_2089[1],&l_1755,&l_2089[2]},{&l_2089[2],&l_1755,&l_1755,&l_2089[2],&l_2089[1]},{&g_218,&l_2089[4],&l_2089[0],&l_2089[5],(void*)0},{&l_2105,&l_2089[4],&l_2089[4],&l_1755,(void*)0},{&l_2089[4],(void*)0,&l_2089[4],&l_2089[5],&l_2105}},{{&l_2089[0],&l_2089[4],&g_218,&l_2089[2],&l_2089[5]},{(void*)0,&l_1755,&g_218,&l_1755,&l_2105},{&g_218,&l_2089[2],&l_1755,&l_2089[4],&l_2089[4]},{(void*)0,&l_2089[2],&l_2089[2],(void*)0,&l_2089[2]},{&l_2089[4],&l_1755,&l_2105,&l_1755,&l_2089[4]},{&l_2105,&l_2089[4],&l_2105,&g_218,&l_2089[0]},{&g_218,(void*)0,&l_1755,&l_2089[4],&l_1755},{&l_1755,&l_2089[4],&l_2089[5],&l_2089[4],&l_2089[0]}},{{&l_1755,&l_2089[4],&l_1755,&l_2105,&l_2089[4]},{&l_2089[0],&l_1755,&l_2089[0],&l_2089[4],&l_2089[2]},{&l_2089[4],&g_218,&l_2105,(void*)0,&l_2089[4]},{&g_218,&l_2089[1],&l_2105,(void*)0,&l_2105},{(void*)0,&l_2089[5],&l_2089[0],&l_2089[0],&l_2089[5]},{&l_2089[4],(void*)0,(void*)0,&l_2105,&l_2089[1]},{&l_2089[4],&l_2089[0],&g_218,&l_1755,&l_2089[4]},{&l_2089[4],&l_1755,&l_2105,&l_2089[0],&l_2089[2]}}};
int i, j, k;
for (i = 0; i < 1; i++)
l_2086[i] = &l_2085;
(*l_1853) = (((*g_2041) = (l_2019[l_1934] & (safe_mod_func_int16_t_s_s((((*l_1853) >= ((0xE7FEL > ((*g_465)--)) != (safe_div_func_int64_t_s_s((((safe_lshift_func_int8_t_s_s((*l_1853), 2)) <= 0x7285A9911FCC2D6BLL) <= (safe_lshift_func_int8_t_s_s(0L, 0))), (safe_mul_func_uint8_t_u_u(((*l_1732) = (*p_22)), ((safe_unary_minus_func_uint16_t_u((+((6L > (safe_lshift_func_int8_t_s_u(((l_2084 != l_2085) != l_2019[l_1934]), l_2062[1][0]))) & 5UL)))) & l_2062[1][0]))))))) > (*p_22)), (**g_139))))) ^ 1UL);
l_2088 &= ((l_2087[3] = &l_1754) != &g_78);
l_2107[0][5][3] = l_2105;
}
}
else
{ /* block id: 948 */
int32_t *l_2110 = &l_1875;
int32_t *l_2111 = &l_1875;
int32_t *l_2112[9][3][6] = {{{&g_1813,&l_1861,&l_1878,&l_1786,&l_1786,&l_1878},{&l_1786,&l_1786,&l_1878,&l_1861,&g_1813,&l_1878},{&l_1861,&g_1813,&l_1878,&g_1813,&l_1861,&l_1878}},{{&g_1813,&l_1861,&l_1878,&l_1786,&l_1786,&l_1878},{&l_1786,&l_1786,&l_1878,&l_1861,&g_1813,&l_1878},{&l_1861,&g_1813,&l_1878,&g_1813,&l_1861,&l_1878}},{{&g_1813,&l_1861,&l_1878,&l_1786,&l_1786,&l_1878},{&l_1786,&l_1786,&l_1878,&l_1861,&g_1813,&l_1878},{&l_1861,&g_1813,&l_1878,&g_1813,&l_1861,&l_1878}},{{&g_1813,&l_1861,&l_1878,&l_1786,&l_1786,&l_1878},{&l_1786,&l_1786,&l_1878,&l_1861,&g_1813,&l_1878},{&l_1861,&g_1813,&l_1878,&g_1813,&l_1861,&l_1878}},{{&g_1813,&l_1861,&l_1878,&l_1786,&l_1786,&l_1878},{&l_1786,&l_1786,&l_1878,&l_1861,&g_1813,&l_1878},{&l_1861,&g_1813,&l_1878,&g_1813,&l_1861,&l_1878}},{{&g_1813,&l_1861,&l_1878,&l_1786,&l_1786,&l_1878},{&l_1786,&l_1786,&l_1878,&l_1861,&g_1813,&l_1878},{&l_1861,&g_1813,&l_1878,&g_1813,&l_1861,&l_1878}},{{&g_1813,&l_1861,&l_1878,&l_1786,&l_1786,&l_1878},{&l_1786,&l_1786,&l_1878,&l_1861,&g_1813,&l_1878},{&l_1861,&g_1813,&l_1878,&g_1813,&l_1861,&l_1878}},{{&g_1813,&l_1861,&l_1878,&l_1786,&l_1786,&l_1878},{&l_1786,&l_1786,&l_1878,&l_1861,&g_1813,&l_1878},{&l_1861,&g_1813,&l_1878,&g_1813,&l_1861,&l_1878}},{{&g_1813,&l_1861,&l_1878,&l_1786,&l_1786,&l_1878},{&l_1786,&l_1786,&l_1878,&l_1861,&g_1813,&l_1878},{&l_1861,&g_1813,&l_1878,&g_1813,&l_1861,&l_1878}}};
int32_t **l_2141 = &g_1025;
int i, j, k;
l_2109 = (l_2108 = &l_2043[0][0]);
(*l_1853) &= (*l_2108);
++l_2113;
for (g_408 = 0; (g_408 < 26); ++g_408)
{ /* block id: 955 */
int32_t l_2118 = 1L;
int32_t l_2119 = 1L;
int32_t l_2120 = (-4L);
int32_t l_2121 = 0x7528D371L;
int32_t l_2122[4][2][10] = {{{7L,0xC799758BL,0x075A25BFL,0xDE034466L,0xDE034466L,0x075A25BFL,0xC799758BL,7L,0x075A25BFL,7L},{0xDE034466L,0xB550AA99L,1L,0xDE034466L,1L,0x075A25BFL,0xA5BA8AC5L,0x99EF3DE1L,0x99EF3DE1L,0xA5BA8AC5L}},{{0x99EF3DE1L,1L,0xC78E59FFL,0xC78E59FFL,1L,0x99EF3DE1L,0x075A25BFL,1L,0x075A25BFL,0x99EF3DE1L},{0xB550AA99L,1L,0xDE034466L,1L,0xB550AA99L,0xDE034466L,0xA5BA8AC5L,0xA5BA8AC5L,0xDE034466L,0xB550AA99L}},{{0xB550AA99L,0x075A25BFL,0x075A25BFL,0xB550AA99L,0xC78E59FFL,0x99EF3DE1L,0xB550AA99L,0x99EF3DE1L,0xC78E59FFL,0xB550AA99L},{0x99EF3DE1L,0xB550AA99L,0x99EF3DE1L,0xC78E59FFL,0xB550AA99L,0x075A25BFL,0x075A25BFL,0xB550AA99L,0xC78E59FFL,0x99EF3DE1L}},{{0xA5BA8AC5L,0xA5BA8AC5L,0xDE034466L,0xB550AA99L,1L,0xDE034466L,1L,0xB550AA99L,0xDE034466L,0xA5BA8AC5L},{1L,0x075A25BFL,0x99EF3DE1L,1L,0xC78E59FFL,0xC78E59FFL,1L,0x99EF3DE1L,0x075A25BFL,1L}}};
int i, j, k;
--g_2123;
(*l_1853) = (l_2119 &= (safe_rshift_func_uint8_t_u_s((safe_add_func_uint16_t_u_u((0x99847349AB8B08C5LL && 0x6DE571FB1F856000LL), (((0x745EL && (safe_rshift_func_int8_t_s_s((*g_426), (((safe_unary_minus_func_int16_t_s((safe_sub_func_int16_t_s_s((safe_unary_minus_func_uint16_t_u((safe_rshift_func_int16_t_s_u(l_2120, 6)))), (*l_2109))))) <= ((*l_1853) , (safe_sub_func_uint64_t_u_u((l_2121 | ((*l_2110) &= 0x07B50AAEL)), (*l_1853))))) ^ l_2140)))) , (*l_2108)) , (*l_2108)))), 1)));
(*l_2141) = (((0xC3C7L & (((**g_882) = (void*)0) != l_2141)) , (-1L)) , (l_2109 = &l_1694[7][2]));
}
}
--l_2147;
}
else
{ /* block id: 966 */
uint16_t **l_2154 = &g_465;
uint32_t *l_2155 = &l_2150;
int8_t *** const **l_2159 = &l_2158;
int32_t l_2165 = 0xD536AE55L;
int32_t l_2207[6][8] = {{0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L},{0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L},{0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L},{0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L},{0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L},{0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L,0xBBF5B2B0L}};
int8_t l_2243 = 0x16L;
struct S0 ****l_2251[4][1][9] = {{{(void*)0,&g_1699,(void*)0,(void*)0,&g_1699,(void*)0,&g_1699,&g_1699,&g_1699}},{{&g_1699,&g_1699,&g_1699,&g_1699,&g_1699,&g_1699,&g_1699,&g_1699,&g_1699}},{{(void*)0,&g_1699,(void*)0,(void*)0,&g_1699,(void*)0,&g_1699,&g_1699,&g_1699}},{{&g_1699,&g_1699,&g_1699,&g_1699,&g_1699,&g_1699,&g_1699,&g_1699,&g_1699}}};
uint32_t **l_2258 = &g_1282;
int64_t l_2270 = (-1L);
int i, j, k;
(*g_154) = (-1L);
l_2150--;
if ((((((*g_2041) = (-1L)) | (~(0x28L ^ (((*l_2155) = ((*l_1853) > ((*g_139) != ((*l_2154) = &g_1360[5])))) & ((++g_1360[5]) >= (((((*l_2159) = l_2158) != l_2160) <= (safe_lshift_func_int8_t_s_s((safe_sub_func_int32_t_s_s(8L, (((*l_2038) = l_2165) > l_2165))), l_2165))) == (*g_1371))))))) & 0xEF174B2EL) >= 0x87A5L))
{ /* block id: 975 */
uint64_t l_2166 = 18446744073709551611UL;
++l_2166;
}
else
{ /* block id: 977 */
int8_t l_2190 = 0x82L;
struct S0 l_2195 = {15079};
int32_t l_2198 = 1L;
int8_t l_2206[7][3][2] = {{{0x50L,0x04L},{0x4DL,0xBCL},{0xE3L,0x4DL}},{{0x39L,0x5AL},{0x39L,0x4DL},{0xE3L,0xBCL}},{{0x4DL,0x04L},{0x50L,(-1L)},{1L,0xA3L}},{{0xA3L,0xE3L},{(-1L),0xE3L},{0xA3L,0xA3L}},{{1L,(-1L)},{0x50L,0x04L},{0x4DL,0xBCL}},{{0xE3L,0x4DL},{0x39L,0x5AL},{0x39L,0x4DL}},{{0xE3L,0xBCL},{0x4DL,0x04L},{0x50L,(-1L)}}};
int i, j, k;
for (l_2146 = 0; (l_2146 > 0); l_2146++)
{ /* block id: 980 */
int32_t l_2171[1][7];
int64_t *l_2182[9] = {&g_322[9][3],&g_408,&g_322[9][3],&g_322[9][3],&g_408,&g_322[9][3],&g_322[9][3],&g_408,&g_322[9][3]};
struct S0 *l_2193 = (void*)0;
struct S0 *l_2194 = &l_1755;
int i, j;
for (i = 0; i < 1; i++)
{
for (j = 0; j < 7; j++)
l_2171[i][j] = 0x53A5EDA1L;
}
(*l_1853) = 0x3C2112A2L;
if (l_2171[0][4])
break;
(*l_2194) = l_2195;
}
for (g_1021 = 2; (g_1021 > 21); g_1021 = safe_add_func_int8_t_s_s(g_1021, 1))
{ /* block id: 989 */
int32_t *l_2199 = &l_1688;
int32_t *l_2200 = &l_1785;
int32_t *l_2201 = &l_1876;
int32_t *l_2202 = (void*)0;
int32_t *l_2203 = &l_1786;
int32_t *l_2204 = &l_1789[1];
int32_t *l_2205[2][1];
const int32_t **l_2213[8][9] = {{&l_2211,&l_2211,&l_2211,&l_2211,&g_601,&g_601,&l_2211,&l_2211,&g_601},{&l_2211,&l_2211,(void*)0,&g_601,&g_601,&g_601,&g_601,(void*)0,&l_2211},{&l_2211,&l_2211,(void*)0,(void*)0,&g_601,&l_2211,(void*)0,&l_2211,&l_2211},{&g_601,&l_2211,&g_601,&l_2211,&g_601,(void*)0,(void*)0,&g_601,&l_2211},{&g_601,&g_601,&g_601,&l_2211,&g_601,(void*)0,&l_2211,&g_601,&l_2211},{&g_601,&l_2211,&l_2211,(void*)0,&g_601,&l_2211,&l_2211,&l_2211,&g_601},{&l_2211,&g_601,&l_2211,&l_2211,&g_601,&l_2211,&g_601,&l_2211,&g_601},{&l_2211,(void*)0,&l_2211,&l_2211,&g_601,&g_601,&g_601,&l_2211,&l_2211}};
int i, j;
for (i = 0; i < 2; i++)
{
for (j = 0; j < 1; j++)
l_2205[i][j] = &l_1878;
}
++l_2208;
l_2214[2][1] = l_2211;
}
}
for (l_2191 = 0; (l_2191 <= 6); l_2191 += 1)
{ /* block id: 996 */
int64_t *l_2239 = &g_322[9][3];
int32_t l_2242 = 0L;
struct S0 ****l_2252 = &g_1699;
int32_t l_2263 = 0L;
int32_t l_2264 = (-1L);
int32_t l_2265 = 1L;
int32_t l_2266 = (-9L);
int32_t l_2268 = 0xA5E818D8L;
int32_t l_2269 = 0L;
int i;
(*g_2247) = func_61(((safe_add_func_int64_t_s_s(((g_1647[l_2191] >= l_2207[3][1]) , (safe_sub_func_int64_t_s_s((safe_rshift_func_int16_t_s_u((safe_mod_func_uint8_t_u_u((((*l_2038) = ((*g_2041) = l_2207[3][1])) ^ (safe_div_func_uint8_t_u_u(((((((l_2165 , (safe_lshift_func_uint8_t_u_s(((((safe_sub_func_int16_t_s_s((safe_mul_func_uint16_t_u_u((((safe_div_func_int32_t_s_s((*l_1853), 0x349DDE56L)) || (((((*p_22) || ((safe_rshift_func_int16_t_s_s(((safe_sub_func_int8_t_s_s(((safe_div_func_uint64_t_u_u(((((((*l_2239) = (*l_2211)) < (((safe_sub_func_uint64_t_u_u(l_2165, 0xC3FB31AA4EB803F2LL)) && (*l_1853)) > g_1647[l_2191])) < l_2207[3][3]) , (*g_140)) == l_2242), l_2207[1][7])) == l_2242), l_2242)) < (*l_1853)), l_2165)) == l_2243)) != l_2242) , l_2244) != l_2207[5][3])) | 1L), 0x87A5L)), l_2242)) | l_2245) , (*l_1853)) ^ (*l_2108)), 5))) ^ (*g_168)) ^ 65535UL) != (*l_2108)) , g_1647[l_2191]) >= g_80[1]), l_2243))), 0x1EL)), 9)), l_2246))), 0x5C6C1A5C4FC7E56ALL)) , &l_2020), (*l_2108));
for (l_1877 = 5; (l_1877 >= 0); l_1877 -= 1)
{ /* block id: 1003 */
uint64_t l_2255 = 0x1134EE70239C2DBCLL;
int32_t *l_2259 = &l_1876;
int32_t *l_2260 = &l_1694[1][1];
int32_t *l_2261 = (void*)0;
int32_t *l_2262[10] = {&l_2066,&l_2019[0],&l_2066,&l_2066,&l_2019[0],&l_2066,&l_2066,&l_2019[0],&l_2066,&l_2066};
int i;
(*l_1853) = (l_2207[3][1] &= (0xA0FBL != (safe_add_func_int64_t_s_s((!(l_2251[1][0][1] != l_2252)), (0L ^ (safe_mul_func_int8_t_s_s(((*p_22) <= l_2255), (~(&g_2094[3] == (l_2258 = l_2257))))))))));
if (l_2243)
break;
(*l_2108) |= l_2255;
l_2271--;
}
}
}
for (l_1737 = 0; (l_1737 <= (-13)); l_1737 = safe_sub_func_int64_t_s_s(l_1737, 4))
{ /* block id: 1015 */
int8_t ***l_2286 = &l_2187;
int32_t l_2287 = 1L;
int8_t l_2297 = 0xA3L;
uint32_t * const *l_2341 = &g_1292;
uint32_t * const **l_2340 = &l_2341;
uint64_t *l_2342[4][2];
int i, j;
for (i = 0; i < 4; i++)
{
for (j = 0; j < 2; j++)
l_2342[i][j] = &l_2113;
}
for (g_77 = 0; (g_77 <= 1); g_77 += 1)
{ /* block id: 1018 */
int16_t l_2277 = 0x1043L;
int32_t *l_2304[3][3] = {{&l_1787,&l_1787,&l_1879},{&l_1787,&l_1787,&l_1879},{&l_1787,&l_1787,&l_1879}};
int i, j;
for (l_1688 = 1; (l_1688 >= 0); l_1688 -= 1)
{ /* block id: 1021 */
int32_t l_2276 = 0x11AB9823L;
uint32_t l_2296 = 0x76F061A7L;
int i, j;
if (l_2276)
break;
if (l_2277)
continue;
(*g_540) = (((l_2299 |= ((safe_lshift_func_uint8_t_u_s((safe_add_func_uint32_t_u_u(l_2277, ((*l_1853) , (safe_rshift_func_uint8_t_u_s((safe_add_func_int8_t_s_s((&l_2187 != ((*l_2211) , l_2286)), ((*l_1744) = (l_2287 & (*g_1371))))), ((safe_lshift_func_uint8_t_u_u((safe_mod_func_int32_t_s_s((safe_rshift_func_int16_t_s_u((-1L), (safe_add_func_int32_t_s_s(l_2277, l_2296)))), l_2297)), 7)) , l_2298[1][2])))))), (*g_862))) <= 6L)) >= 0UL) , (void*)0);
}
if (((safe_lshift_func_int16_t_s_u((-4L), 4)) && l_2297))
{ /* block id: 1028 */
if (l_2277)
break;
}
else
{ /* block id: 1030 */
struct S0 l_2302 = {9303};
int64_t l_2309 = 0xAEEF7F4F5919AD50LL;
uint32_t *l_2312 = &l_2150;
int32_t l_2313 = 3L;
uint16_t *l_2334 = (void*)0;
uint16_t *l_2335 = (void*)0;
uint16_t *l_2336[5];
int i;
for (i = 0; i < 5; i++)
l_2336[i] = &l_2054;
l_2303 = l_2302;
l_1691 |= (((((*g_1371) |= ((*l_1732) = ((l_2313 = (((*g_168) = 0x9E6BA744D2A91FA3LL) > ((&l_2287 == l_2304[0][0]) || (((65528UL ^ (safe_div_func_int32_t_s_s((safe_add_func_int64_t_s_s(l_2309, ((safe_mod_func_int64_t_s_s(0L, (*l_1853))) | l_2309))), ((*l_2312) = l_2297)))) ^ l_2302.f0) == 0xCFC3E1FB005F2660LL)))) ^ 65532UL))) < 0x6BL) != g_2123) > 0x98F04D21L);
l_2313 = (safe_lshift_func_int8_t_s_u((((*l_1853) ^= ((safe_mod_func_int16_t_s_s(((0xD8AF291CL || (safe_mod_func_int64_t_s_s((safe_sub_func_uint16_t_u_u((&g_821 == &g_425[0]), (!(+(safe_lshift_func_int8_t_s_u((g_300 , (65535UL <= ((((((*l_2211) , (safe_add_func_int8_t_s_s((*g_426), (safe_mul_func_uint16_t_u_u(0x3409L, (safe_sub_func_uint32_t_u_u(((l_2297 == l_2332) ^ (*g_465)), 9UL))))))) > (*l_2211)) >= l_2313) && 1UL) <= l_2297))), l_2333)))))), (*g_168)))) || l_2297), (*g_465))) & (*l_2211))) & 0x046AL), (*p_22)));
l_2302 = l_2337;
}
if (l_2287)
break;
}
(*l_1853) &= ((((*l_2211) , ((g_2000 , (g_1813 >= (g_755[1][2] = (safe_sub_func_int64_t_s_s((((((((((*g_168) = (p_23 != (void*)0)) <= (((void*)0 != l_2340) || 0xC03BB81AL)) , 0x0B36L) | 0x323DL) < 0xC39A113BL) , 7L) & l_2287) , g_300), l_2297))))) || l_1688)) , (void*)0) != (*g_1366));
(*l_1853) |= (safe_add_func_uint16_t_u_u((l_2297 & (+(((safe_mul_func_uint8_t_u_u((safe_add_func_int8_t_s_s((l_2297 && (((safe_sub_func_int16_t_s_s((((0x9F0C949C77B6A9CCLL && g_161) ^ ((&g_2042[1][1][0] != ((l_2297 < (l_2287 <= ((*l_2211) == (l_2287 != l_2287)))) , &g_2042[1][1][0])) <= (-1L))) , 0xE94BL), 0x1D4DL)) , 1UL) || l_2297)), 4UL)), l_2287)) , 0xC709315CL) , 0xA9L))), 0xCF30L));
}
}
}
else
{ /* block id: 1050 */
uint8_t l_2358 = 0UL;
for (g_725 = (-12); (g_725 < 60); g_725++)
{ /* block id: 1053 */
const uint32_t l_2363 = 0x155F0848L;
int16_t * const l_2366 = &g_1238[2];
const int16_t *l_2367 = (void*)0;
uint32_t l_2368 = 0xE09C0164L;
l_2368 &= (safe_rshift_func_uint8_t_u_u(((*l_1732) = ((l_2358 , ((safe_rshift_func_uint16_t_u_s((safe_rshift_func_int16_t_s_s((((g_44[0] != ((*g_140) == 0x35D5L)) && (*l_2108)) != (&g_821 != (void*)0)), l_2363)), (safe_sub_func_int8_t_s_s((l_2366 == l_2367), l_2358)))) || (*l_2108))) , 0xFFL)), (*g_1371)));
return l_2363;
}
}
return g_1734;
}
/* ------------------------------------------ */
/*
* reads : g_707 g_218 g_534 g_6 g_540 g_742 g_100 g_101 g_80 g_77 g_44 g_78 g_139 g_143 g_862 g_435 g_883 g_197 g_1025 g_465 g_989 g_436 g_755 g_140 g_141 g_942 g_943 g_944 g_1366 g_1371 g_433 g_537 g_1370 g_1367 g_1368 g_1369 g_1021 g_1281 g_1282 g_168 g_725 g_426 g_427 g_861 g_434 g_776 g_777 g_408 g_1360 g_268 g_563 g_154 g_155 g_300 g_1238 g_1027 g_1283 g_1647 g_322
* writes: g_534 g_6 g_185 g_162 g_742 g_138 g_100 g_78 g_80 g_143 g_1025 g_44 g_436 g_77 g_989 g_1366 g_1370 g_1021 g_218 g_725 g_944 g_300 g_322 g_434 g_408 g_1238 g_755
*/
uint8_t * func_24(int32_t p_25, uint8_t * p_26)
{ /* block id: 547 */
int64_t l_1189 = 0xFC18C32CF868E74CLL;
uint16_t **l_1190 = (void*)0;
int32_t l_1201[9][4] = {{2L,2L,2L,2L},{2L,2L,2L,2L},{2L,2L,2L,2L},{2L,2L,2L,2L},{2L,2L,2L,2L},{2L,2L,2L,2L},{2L,2L,2L,2L},{2L,2L,2L,2L},{2L,2L,2L,2L}};
int32_t l_1212 = (-1L);
int32_t **l_1214 = &g_1025;
uint32_t l_1277[3][9] = {{0UL,0UL,0UL,0UL,0UL,0UL,0UL,0UL,0UL},{0UL,0UL,0UL,0UL,0UL,0UL,0UL,0UL,0UL},{0UL,0UL,0UL,0UL,0UL,0UL,0UL,0UL,0UL}};
uint64_t *l_1319 = &g_77;
uint32_t *l_1340[3][2];
int32_t ** const *l_1345 = &g_197;
int32_t ** const **l_1344 = &l_1345;
int32_t ** const *** const l_1343 = &l_1344;
uint8_t *l_1483 = &g_300;
int8_t l_1545 = 0xADL;
struct S0 l_1577 = {9415};
uint32_t ***l_1644 = (void*)0;
const struct S0 *l_1687 = (void*)0;
int i, j;
for (i = 0; i < 3; i++)
{
for (j = 0; j < 2; j++)
l_1340[i][j] = &g_1283[5];
}
if ((((l_1189 > (0x8BL & l_1189)) == (((*g_707) , l_1190) != (void*)0)) & ((*p_26)--)))
{ /* block id: 549 */
int32_t *l_1195 = &g_80[4];
uint16_t *l_1211 = &g_44[0];
const uint32_t l_1213 = 3UL;
struct S0 l_1242 = {2438};
int32_t l_1269 = 0x8F10CBB4L;
int32_t l_1271 = 0x4C3D3D3EL;
for (g_6 = 0; (g_6 != 8); g_6 = safe_add_func_int16_t_s_s(g_6, 1))
{ /* block id: 552 */
uint16_t l_1196 = 0x3FD7L;
int32_t *****l_1235 = &g_882;
int32_t l_1239 = 1L;
const int8_t l_1257 = (-1L);
int32_t l_1270 = 0x20983497L;
int32_t l_1276[9][8] = {{0x58AFE7DEL,0x62453B0FL,0x62453B0FL,0x58AFE7DEL,0x42B2C27CL,0xE89BBC78L,0x42B2C27CL,0x58AFE7DEL},{0x62453B0FL,0x42B2C27CL,0x62453B0FL,0L,0L,0L,0L,0x62453B0FL},{0x42B2C27CL,0x42B2C27CL,0L,0xE89BBC78L,0L,0xE89BBC78L,0L,0x42B2C27CL},{0x42B2C27CL,0x62453B0FL,0L,0L,0x42B2C27CL,0L,0xE89BBC78L,0L},{0xE89BBC78L,0x62453B0FL,0L,0L,0L,0x62453B0FL,0xE89BBC78L,0xE89BBC78L},{0x62453B0FL,0L,0L,0L,0L,0x62453B0FL,0x42B2C27CL,0x62453B0FL},{0L,0x62453B0FL,0x42B2C27CL,0x62453B0FL,0L,0L,0L,0L},{0x62453B0FL,0xE89BBC78L,0xE89BBC78L,0x62453B0FL,0L,0L,0L,0x62453B0FL},{0xE89BBC78L,0L,0xE89BBC78L,0L,0x42B2C27CL,0x42B2C27CL,0L,0xE89BBC78L}};
int i, j;
(*g_540) = l_1195;
if (p_25)
break;
++l_1196;
for (g_742 = 11; (g_742 == 16); ++g_742)
{ /* block id: 558 */
int16_t *l_1206 = &g_138[0];
int32_t l_1221 = 4L;
int32_t l_1240[6] = {(-8L),(-8L),(-4L),(-8L),(-8L),(-4L)};
const struct S0 l_1241 = {4760};
int32_t **l_1250 = &g_1025;
int i;
l_1201[2][1] |= l_1196;
if (((**l_1214) = (safe_rshift_func_int16_t_s_u((((((safe_lshift_func_int16_t_s_s(((*l_1206) = p_25), 5)) && (safe_mod_func_uint64_t_u_u((safe_mul_func_uint8_t_u_u(l_1201[6][1], (func_61(l_1211, p_25) , (l_1212 = (*g_862))))), (l_1213 & (l_1214 != (*g_883)))))) > p_25) , 0xA948E393L) ^ p_25), 0))))
{ /* block id: 563 */
for (l_1212 = 0; (l_1212 < 20); l_1212 = safe_add_func_int32_t_s_s(l_1212, 9))
{ /* block id: 566 */
return &g_534;
}
for (l_1212 = 0; (l_1212 < 8); l_1212 = safe_add_func_int64_t_s_s(l_1212, 8))
{ /* block id: 571 */
(**l_1214) &= (-1L);
}
if (p_25)
continue;
}
else
{ /* block id: 575 */
for (g_143 = 0; (g_143 <= 2); g_143 += 1)
{ /* block id: 578 */
int32_t *****l_1234[9][3][3] = {{{&g_882,&g_882,(void*)0},{&g_882,&g_882,&g_882},{&g_882,&g_882,(void*)0}},{{&g_882,&g_882,&g_882},{&g_882,&g_882,(void*)0},{&g_882,&g_882,&g_882}},{{&g_882,&g_882,(void*)0},{&g_882,&g_882,&g_882},{&g_882,&g_882,(void*)0}},{{&g_882,&g_882,&g_882},{&g_882,&g_882,(void*)0},{&g_882,&g_882,&g_882}},{{&g_882,&g_882,(void*)0},{&g_882,&g_882,&g_882},{&g_882,&g_882,(void*)0}},{{&g_882,&g_882,&g_882},{&g_882,&g_882,(void*)0},{&g_882,&g_882,&g_882}},{{&g_882,&g_882,(void*)0},{&g_882,&g_882,&g_882},{&g_882,&g_882,(void*)0}},{{&g_882,&g_882,&g_882},{&g_882,&g_882,(void*)0},{&g_882,&g_882,&g_882}},{{&g_882,&g_882,(void*)0},{&g_882,&g_882,&g_882},{&g_882,&g_882,(void*)0}}};
int8_t *l_1236 = &g_435;
int16_t *l_1237[4][5][4] = {{{&g_1238[0],&g_1238[0],&g_1238[0],&g_1238[2]},{&g_1238[0],&g_1238[0],&g_1238[0],&g_1238[0]},{&g_1238[0],&g_1238[0],&g_1238[0],&g_1238[0]},{&g_1238[0],&g_1238[0],&g_1238[0],&g_1238[0]},{(void*)0,&g_1238[2],&g_1238[0],&g_1238[0]}},{{&g_1238[0],&g_1238[0],(void*)0,(void*)0},{&g_1238[0],&g_1238[2],&g_1238[1],(void*)0},{&g_1238[2],&g_1238[0],(void*)0,&g_1238[0]},{&g_1238[0],&g_1238[2],&g_1238[0],&g_1238[0]},{&g_1238[1],&g_1238[0],&g_1238[0],&g_1238[0]}},{{(void*)0,&g_1238[0],&g_1238[0],&g_1238[0]},{&g_1238[0],&g_1238[0],&g_1238[0],&g_1238[2]},{(void*)0,&g_1238[0],&g_1238[0],&g_1238[0]},{&g_1238[1],&g_1238[1],&g_1238[0],&g_1238[0]},{&g_1238[0],&g_1238[0],(void*)0,&g_1238[0]}},{{&g_1238[0],&g_1238[0],&g_1238[0],&g_1238[0]},{&g_1238[2],&g_1238[0],&g_1238[2],&g_1238[0]},{&g_1238[0],&g_1238[0],&g_1238[0],&g_1238[0]},{&g_1238[0],&g_1238[0],&g_1238[1],&g_1238[0]},{&g_1238[0],&g_1238[2],(void*)0,(void*)0}}};
int i, j, k;
}
l_1242 = l_1241;
}
}
}
for (l_1212 = 0; (l_1212 != (-28)); --l_1212)
{ /* block id: 619 */
uint8_t l_1314[10] = {255UL,0UL,255UL,255UL,0UL,255UL,255UL,0UL,255UL,255UL};
int i;
++l_1314[5];
}
}
else
{ /* block id: 622 */
uint64_t *l_1320[5] = {&g_755[0][7],&g_755[0][7],&g_755[0][7],&g_755[0][7],&g_755[0][7]};
int32_t l_1321 = 0x313154A8L;
int32_t l_1380 = 0xC3C4B0A6L;
int32_t *l_1388 = &g_742;
int32_t l_1392 = 0L;
uint64_t *l_1419 = &g_755[1][8];
const uint8_t *l_1420 = &g_6;
int32_t ** const ***l_1429 = &l_1344;
int16_t l_1479 = (-1L);
int32_t l_1547 = 1L;
int32_t l_1552 = 0xF2B0C192L;
int32_t l_1556 = 0x869C148DL;
int32_t l_1559 = (-3L);
int32_t l_1560 = 0x5C7C0A2CL;
int32_t l_1562 = (-6L);
int8_t l_1627[3][10] = {{3L,2L,8L,0x0FL,8L,2L,3L,0x61L,0x53L,(-1L)},{0x61L,(-5L),0x9AL,6L,3L,3L,6L,0x9AL,(-5L),0x61L},{0xE3L,(-5L),0x53L,(-7L),0x0FL,(-1L),3L,(-1L),0x0FL,(-7L)}};
int32_t *l_1682[8] = {&l_1560,&l_1547,&l_1560,&l_1547,&l_1560,&l_1547,&l_1560,&l_1547};
int8_t l_1683 = 0xC2L;
uint64_t l_1684 = 18446744073709551611UL;
int i, j;
for (l_1189 = 0; (l_1189 >= (-15)); l_1189--)
{ /* block id: 625 */
int32_t l_1324 = 0x0138A35CL;
uint32_t *l_1339 = &g_1283[5];
uint32_t ***l_1391 = &g_1281[3][2];
uint8_t l_1411 = 0xC7L;
int32_t ** const ***l_1428 = &l_1344;
uint64_t l_1486 = 0x42D9BF1CF5B426CFLL;
struct S0 *l_1519 = &g_218;
uint64_t ** const l_1534 = &l_1319;
uint32_t l_1535 = 0x68B37A91L;
int32_t l_1541 = 0x023F8963L;
int32_t l_1543[5] = {0xF9E545E9L,0xF9E545E9L,0xF9E545E9L,0xF9E545E9L,0xF9E545E9L};
int32_t l_1549 = 0xDECF785DL;
int32_t *l_1635 = (void*)0;
uint16_t **l_1654 = (void*)0;
int i;
(*l_1214) = ((l_1321 = (l_1319 == l_1320[2])) , &l_1321);
if (((p_25 || 0xDEL) > (safe_lshift_func_int8_t_s_s((l_1324 < (safe_sub_func_int8_t_s_s((0L || (((((*g_465)--) || (safe_mul_func_int16_t_s_s((safe_mod_func_uint16_t_u_u(((((safe_sub_func_uint64_t_u_u((safe_mul_func_int8_t_s_s(((l_1324 || (((safe_div_func_int64_t_s_s((func_61(&g_989, ((-1L) && ((l_1340[0][1] = l_1339) == (void*)0))) , l_1324), (**l_1214))) , 0x1D741026L) , p_25)) & 18446744073709551615UL), l_1321)), 18446744073709551615UL)) != p_25) || p_25) , 0x99B3L), p_25)), (**l_1214)))) , 1UL) & l_1324)), (*p_26)))), p_25))))
{ /* block id: 630 */
uint8_t l_1350 = 251UL;
uint32_t *l_1351 = &g_436;
uint16_t *l_1358 = &g_989;
uint16_t *l_1359[8] = {&g_1360[5],&g_1360[5],&g_1360[5],&g_1360[5],&g_1360[5],&g_1360[5],&g_1360[5],&g_1360[5]};
int32_t l_1361 = 0x4D9B34BAL;
int32_t l_1384 = (-1L);
int8_t *l_1399[4][8] = {{&g_434,&g_434,&g_427,&g_435,&g_427,&g_434,&g_435,&g_434},{(void*)0,&g_434,&g_435,&g_434,(void*)0,&g_427,&g_434,&g_434},{&g_434,&g_427,&g_435,&g_435,&g_435,&g_435,&g_427,&g_434},{&g_427,&g_427,&g_435,&g_434,&g_434,(void*)0,&g_434,&g_434}};
int8_t **l_1398 = &l_1399[3][0];
int32_t l_1400 = 0x93EE264AL;
int i, j;
if ((safe_mul_func_uint16_t_u_u((l_1361 = ((*l_1358) = ((l_1343 != (void*)0) < (safe_div_func_int64_t_s_s(l_1324, ((*l_1319) |= (0xEDL && (safe_mul_func_int8_t_s_s(((((*l_1351) &= l_1350) >= (safe_div_func_uint64_t_u_u(p_25, ((g_755[1][2] & ((*g_465) = (((((safe_rshift_func_int16_t_s_u((safe_lshift_func_int16_t_s_s(((*g_140) && l_1350), 4)), 0)) != p_25) & p_25) , (void*)0) != (**g_942)))) ^ p_25)))) < l_1321), p_25))))))))), p_25)))
{ /* block id: 636 */
g_1370 = ((safe_div_func_int32_t_s_s((safe_div_func_int64_t_s_s(p_25, 0x70B463C1D7666807LL)), p_25)) , (g_1366 = g_1366));
(*g_540) = &l_1321;
return g_1371;
}
else
{ /* block id: 641 */
uint32_t l_1385 = 0UL;
int8_t *l_1390 = &g_427;
int8_t **l_1389[1][8] = {{&l_1390,&l_1390,&l_1390,&l_1390,&l_1390,&l_1390,&l_1390,&l_1390}};
int i, j;
for (g_989 = 0; (g_989 <= 40); ++g_989)
{ /* block id: 644 */
uint32_t l_1374 = 4294967289UL;
int16_t l_1375 = 0xD0E2L;
int32_t *l_1376 = &l_1201[6][2];
int32_t *l_1377 = &g_742;
int32_t *l_1378 = &l_1321;
int32_t *l_1379 = &g_433;
int32_t *l_1381 = &l_1201[8][1];
int32_t *l_1382 = &g_80[2];
int32_t *l_1383[10][9] = {{(void*)0,&l_1380,&g_80[0],&l_1361,&l_1201[2][1],&l_1380,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&g_80[4],&l_1201[3][0],(void*)0,(void*)0,&l_1201[3][0],&g_80[4],(void*)0},{&g_80[0],(void*)0,&l_1201[3][0],&l_1324,&g_742,&l_1201[2][1],&l_1324,&l_1361,(void*)0},{&l_1212,&l_1201[2][1],&l_1321,(void*)0,&l_1361,&l_1324,&l_1201[2][1],&g_742,&l_1324},{(void*)0,(void*)0,(void*)0,(void*)0,&g_80[4],&l_1201[3][0],(void*)0,(void*)0,&l_1201[3][0]},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,&l_1380,&l_1201[2][1],&l_1361},{&l_1324,&l_1380,&l_1201[2][1],(void*)0,(void*)0,&l_1212,(void*)0,&g_80[0],&l_1361},{&l_1361,(void*)0,&l_1321,&l_1201[2][1],&l_1212,&l_1361,(void*)0,&l_1324,&g_80[4]},{(void*)0,&l_1324,&l_1324,(void*)0,(void*)0,(void*)0,&l_1324,&l_1324,(void*)0},{&l_1201[3][0],&l_1212,&l_1324,&g_742,&g_80[4],(void*)0,&l_1380,&l_1380,(void*)0}};
int i, j;
if (l_1374)
break;
l_1385--;
l_1378 = l_1388;
l_1400 |= ((*g_1025) = (((*l_1382) = (((void*)0 != l_1389[0][5]) && ((void*)0 == l_1391))) && (((l_1384 , l_1392) == ((safe_sub_func_uint64_t_u_u((safe_mul_func_uint16_t_u_u((((!(*l_1379)) , l_1398) != (void*)0), 1L)), l_1361)) != 0x87D5L)) == g_537)));
}
}
(*****g_1370) &= p_25;
}
else
{ /* block id: 654 */
int8_t *l_1414 = &g_427;
int32_t l_1417 = 0xEC9CB79DL;
int32_t l_1423 = (-1L);
struct S0 l_1446 = {7431};
int32_t **** const *l_1465 = &g_882;
uint16_t l_1478 = 0xE552L;
int8_t l_1480[5];
uint16_t l_1481[8] = {0xC8FFL,0xC8FFL,0x89CAL,0xC8FFL,0xC8FFL,0x89CAL,0xC8FFL,0xC8FFL};
int i;
for (i = 0; i < 5; i++)
l_1480[i] = 0x5FL;
(*g_540) = (p_25 , &l_1321);
for (g_1021 = (-23); (g_1021 > (-13)); g_1021 = safe_add_func_int64_t_s_s(g_1021, 1))
{ /* block id: 658 */
int32_t *l_1403 = &l_1380;
int32_t *l_1404 = &g_80[4];
int32_t *l_1405 = &l_1321;
int32_t *l_1406 = &g_80[1];
int32_t *l_1407 = (void*)0;
int32_t *l_1408 = (void*)0;
int32_t *l_1409 = &g_80[6];
int32_t *l_1410[6] = {&g_80[6],&g_80[6],&g_80[6],&g_80[6],&g_80[6],&g_80[6]};
uint64_t **l_1418 = &l_1320[3];
const uint32_t *l_1440 = &g_725;
const uint32_t **l_1439 = &l_1440;
int32_t ***l_1468[3];
int32_t **** const l_1467 = &l_1468[0];
int32_t **** const *l_1466 = &l_1467;
int i;
for (i = 0; i < 3; i++)
l_1468[i] = &l_1214;
l_1411--;
if ((((l_1414 != p_26) ^ ((l_1417 = (safe_div_func_int32_t_s_s(l_1417, ((((*l_1418) = &g_755[1][2]) == l_1419) ^ (((void*)0 == l_1420) || p_25))))) && (safe_mod_func_int16_t_s_s(g_143, g_1021)))) <= l_1423))
{ /* block id: 662 */
uint32_t *l_1434[2];
uint32_t **l_1438 = (void*)0;
uint32_t ***l_1437 = &l_1438;
int32_t l_1443 = 8L;
int i;
for (i = 0; i < 2; i++)
l_1434[i] = &l_1277[2][1];
(*l_1404) = ((*l_1403) = ((safe_rshift_func_uint16_t_u_s((**g_139), 15)) > (safe_mul_func_int8_t_s_s(((l_1429 = l_1428) == ((l_1417 || (safe_mul_func_int16_t_s_s((safe_div_func_uint16_t_u_u((((((*l_1388) = ((l_1340[0][1] = l_1388) != (**l_1391))) , (*g_168)) && (((safe_lshift_func_uint16_t_u_u((((*l_1437) = &l_1434[1]) != l_1439), 7)) <= (safe_rshift_func_int8_t_s_u((-1L), (*p_26)))) || p_25)) ^ p_25), 0xF2D6L)), (*g_465)))) , &g_882)), p_25))));
if (l_1443)
continue;
(*g_540) = l_1410[1];
}
else
{ /* block id: 671 */
int32_t ** const * const *l_1445[9] = {&l_1345,&l_1345,&l_1345,&l_1345,&l_1345,&l_1345,&l_1345,&l_1345,&l_1345};
int32_t ** const * const **l_1444 = &l_1445[8];
int8_t l_1462 = 1L;
uint32_t *l_1469 = (void*)0;
uint32_t *l_1470[2];
const uint8_t l_1471 = 0x8DL;
int i;
for (i = 0; i < 2; i++)
l_1470[i] = &g_436;
(***g_1368) ^= ((void*)0 != l_1444);
if (p_25)
break;
(*g_707) = l_1446;
l_1324 |= (safe_lshift_func_int8_t_s_u((l_1423 | ((safe_add_func_uint8_t_u_u(0x8EL, (safe_div_func_uint8_t_u_u((~(safe_add_func_uint8_t_u_u((safe_div_func_int32_t_s_s((0x3D15B801L | ((safe_mul_func_int16_t_s_s((safe_rshift_func_int8_t_s_s(l_1462, 1)), ((safe_add_func_int32_t_s_s((((l_1466 = l_1465) != l_1428) != (*l_1405)), ((*l_1403) ^= ((0L >= ((g_80[0] , 0x485D2069L) , (**l_1214))) != g_143)))) >= 0xA250L))) != l_1417)), 0xBCB7224DL)), p_25))), (*l_1388))))) <= l_1471)), (*p_26)));
}
}
for (g_725 = 0; g_725 < 5; g_725 += 1)
{
l_1320[g_725] = &g_77;
}
if (p_25)
{ /* block id: 681 */
int64_t *l_1476[7] = {&g_408,&g_322[9][3],&g_408,&g_408,&g_322[9][3],&g_408,&g_408};
struct S0 *l_1477 = (void*)0;
int i;
(*l_1214) = &l_1380;
if ((((safe_mod_func_int32_t_s_s(((0xF06152C0AA99322BLL & (safe_lshift_func_int8_t_s_s(p_25, 2))) , (((*l_1388) = 0xB1A04956AA4C060ELL) <= (((*g_943) = (**g_942)) == l_1477))), (((l_1481[4] = (((((l_1478 , l_1479) , &g_1281[1][0]) == (void*)0) , l_1480[2]) > p_25)) | (*g_168)) , 0x9A7C08A9L))) < p_25) <= 2UL))
{ /* block id: 686 */
uint8_t *l_1482 = (void*)0;
return l_1482;
}
else
{ /* block id: 688 */
return p_26;
}
}
else
{ /* block id: 691 */
return l_1483;
}
}
for (g_725 = 9; (g_725 == 7); g_725 = safe_sub_func_int32_t_s_s(g_725, 4))
{ /* block id: 697 */
uint32_t *l_1516[2][2] = {{&g_436,&g_436},{&g_436,&g_436}};
int32_t l_1517 = (-9L);
int8_t *l_1518[10] = {(void*)0,&g_427,&g_427,(void*)0,&g_427,&g_427,(void*)0,&g_427,&g_427,(void*)0};
int32_t l_1544 = 0x4212A036L;
int32_t l_1548 = 0xA09A5C61L;
int32_t l_1554 = 0x9BDA72DDL;
int32_t l_1555[1];
uint64_t l_1563 = 1UL;
struct S0 l_1576 = {12231};
int i, j;
for (i = 0; i < 1; i++)
l_1555[i] = 1L;
if (l_1486)
{ /* block id: 698 */
uint32_t **l_1487 = &l_1340[0][1];
l_1487 = &l_1340[0][0];
}
else
{ /* block id: 700 */
if (p_25)
break;
}
if ((safe_add_func_uint16_t_u_u((((safe_sub_func_uint64_t_u_u((safe_mul_func_uint8_t_u_u(((*l_1483) = (safe_add_func_int32_t_s_s(p_25, (safe_add_func_int8_t_s_s((*g_426), (*p_26)))))), ((safe_add_func_int16_t_s_s((safe_mul_func_uint8_t_u_u((safe_rshift_func_uint8_t_u_s((p_25 <= ((((~((safe_add_func_int8_t_s_s((p_25 >= ((((*g_465) >= ((((*l_1388) = (((((l_1517 = ((safe_rshift_func_int8_t_s_u(((safe_mul_func_int16_t_s_s((safe_rshift_func_int16_t_s_u(0x1CA5L, (safe_unary_minus_func_uint32_t_u(p_25)))), p_25)) >= 0UL), 3)) < 0x9CA9L)) , 1UL) | (*g_465)) > 1L) > (**l_1214))) >= (**g_861)) >= 0x44C4ECDAL)) , (void*)0) != l_1519)), (-1L))) ^ 0x8183C641L)) , (void*)0) != (void*)0) >= 0x25L)), p_25)), 0x27L)), (**l_1214))) & (*g_862)))), (*g_168))) || p_25) ^ p_25), p_25)))
{ /* block id: 706 */
uint16_t l_1520 = 65528UL;
int64_t *l_1536 = &g_322[9][3];
int32_t l_1546 = 0x6C0E1908L;
int32_t l_1550 = 0x8DCFA98BL;
int32_t l_1551 = (-1L);
int32_t l_1553 = 0xE381B3EAL;
int32_t l_1557 = 0x049DD342L;
int32_t l_1558 = (-5L);
int32_t l_1561[4][9] = {{0L,0L,(-10L),0L,7L,0xF6A8BE5EL,0x8DB92FFEL,0xEFD68883L,(-10L)},{0L,0xEC66E7EFL,(-1L),0L,0xD9B3E423L,0xD9B3E423L,0L,(-1L),0xEC66E7EFL},{0xD9B3E423L,0xE8B8650EL,(-10L),0x93FF1703L,0xB3108448L,0L,0L,0x8DB92FFEL,(-10L)},{0xEFD68883L,0L,0x8DB92FFEL,0xEC66E7EFL,0L,0xEC66E7EFL,0x8DB92FFEL,0L,0xEFD68883L}};
int64_t l_1578 = 0x51130B841DF1FE99LL;
int32_t *****l_1590[10];
int i, j;
for (i = 0; i < 10; i++)
l_1590[i] = &g_882;
(*****g_1370) |= (l_1520 , (((safe_lshift_func_uint8_t_u_s((((((*l_1536) = (((((safe_unary_minus_func_int16_t_s((l_1517 , (((p_25 & ((safe_add_func_int8_t_s_s((safe_mul_func_int16_t_s_s(0x162FL, g_100.f0)), 0xB0L)) < (safe_add_func_int64_t_s_s((safe_rshift_func_uint8_t_u_u(1UL, ((safe_add_func_int32_t_s_s(((l_1534 != &l_1419) > l_1535), l_1535)) , (*p_26)))), 0xF8DB530667A80E63LL)))) & p_25) || (*g_862))))) > 3UL) , (void*)0) == &g_882) , l_1520)) & (-5L)) >= p_25) ^ 65530UL), 0)) <= 0L) != p_25));
for (g_434 = 0; (g_434 < 8); g_434 = safe_add_func_int16_t_s_s(g_434, 1))
{ /* block id: 711 */
int32_t *l_1539 = &l_1517;
int32_t *l_1540 = (void*)0;
int32_t *l_1542[4] = {&l_1201[5][1],&l_1201[5][1],&l_1201[5][1],&l_1201[5][1]};
int i;
l_1517 = 0L;
if ((*l_1388))
continue;
--l_1563;
if ((*l_1388))
break;
}
l_1555[0] ^= (((*g_465)--) && (p_25 == ((safe_rshift_func_int16_t_s_u((&g_1021 == (void*)0), ((((*g_465)--) < (((((*g_776) != &g_725) == ((void*)0 == &l_1520)) , l_1576) , ((l_1577 , 0x650F6E5DL) <= (*l_1388)))) , l_1578))) > 0x989266E8L)));
for (g_408 = (-18); (g_408 >= (-23)); g_408 = safe_sub_func_uint8_t_u_u(g_408, 9))
{ /* block id: 722 */
int32_t * const ****l_1591 = &g_1367;
int16_t *l_1592 = (void*)0;
int16_t *l_1593 = (void*)0;
int16_t *l_1594 = &g_1238[0];
l_1557 = ((safe_rshift_func_uint16_t_u_s(((l_1561[0][3] = ((safe_add_func_int32_t_s_s(8L, 3UL)) >= (((*g_465) = 0x57BEL) != (((void*)0 != (**g_1367)) , ((*l_1594) = (((safe_unary_minus_func_uint64_t_u((safe_mod_func_uint8_t_u_u((((safe_mul_func_uint8_t_u_u(((l_1590[4] = l_1590[4]) != (l_1591 = (void*)0)), ((*l_1483) = l_1550))) > ((7UL ^ 0x7B8D8DC7L) != g_1360[1])) && 4L), 0x50L)))) ^ 248UL) && p_25)))))) >= l_1517), l_1544)) < 65532UL);
}
}
else
{ /* block id: 731 */
uint64_t l_1599 = 8UL;
int32_t l_1629 = 0x341EAEE9L;
if (((**l_1214) = ((*l_1388) == (l_1599 = (safe_unary_minus_func_uint64_t_u((safe_unary_minus_func_int16_t_s((safe_sub_func_uint16_t_u_u((**g_139), p_25))))))))))
{ /* block id: 734 */
int16_t *l_1602 = &g_1238[0];
int32_t l_1603 = 0x518498E4L;
(*l_1388) &= ((((safe_rshift_func_int16_t_s_u(((*l_1602) = 0x68A3L), 14)) <= l_1603) | ((0xCFA2L && 5L) || (((*g_268) , l_1548) >= (safe_div_func_int32_t_s_s((-1L), (safe_div_func_uint8_t_u_u((safe_lshift_func_int8_t_s_s(((safe_sub_func_uint8_t_u_u(l_1603, ((p_25 ^ (**l_1214)) && p_25))) >= l_1599), 3)), p_25))))))) <= p_25);
}
else
{ /* block id: 737 */
int64_t l_1625[9] = {0x0F6FDFA3AE37A66CLL,0x0F6FDFA3AE37A66CLL,0x0F6FDFA3AE37A66CLL,0x0F6FDFA3AE37A66CLL,0x0F6FDFA3AE37A66CLL,0x0F6FDFA3AE37A66CLL,0x0F6FDFA3AE37A66CLL,0x0F6FDFA3AE37A66CLL,0x0F6FDFA3AE37A66CLL};
int16_t *l_1626 = &g_1238[0];
uint64_t *l_1628 = &l_1486;
int i;
if ((**g_563))
break;
l_1629 ^= ((((safe_add_func_int16_t_s_s(g_427, (p_25 ^ (p_25 == (((((((*l_1519) , ((safe_mul_func_uint8_t_u_u(0x36L, ((*l_1483)++))) | (((l_1554 &= ((p_25 , p_25) , ((+(((safe_mod_func_uint32_t_u_u((safe_lshift_func_int16_t_s_s(((*l_1626) |= (((((safe_add_func_int16_t_s_s((l_1555[0] = 0x2A49L), p_25)) < 65528UL) >= (*l_1388)) | 0x3F2572C4CF017DFBLL) > l_1625[1])), p_25)), 0x3238C82CL)) <= l_1627[0][1]) > p_25)) , 2UL))) , l_1628) == l_1628))) != p_25) & 0x8A371AB332AD49E9LL) || 0xA02AF0E5332E06A7LL) == 3UL) > l_1517))))) | g_141) < 0x2AL) , (*g_1025));
}
}
}
for (l_1324 = 0; (l_1324 <= 2); l_1324 += 1)
{ /* block id: 749 */
uint32_t ****l_1645 = &l_1644;
uint8_t *l_1646 = &l_1411;
int64_t *l_1657 = &g_408;
int i;
if (g_1238[l_1324])
break;
if ((g_1238[l_1324] != (safe_add_func_int32_t_s_s((**g_1369), (safe_unary_minus_func_int64_t_s((((safe_sub_func_uint8_t_u_u(254UL, ((****g_1366) != (l_1635 = (*g_1027))))) >= ((*l_1419) ^= ((((*l_1388) < (((safe_mul_func_uint8_t_u_u((*p_26), (safe_add_func_int16_t_s_s((safe_mod_func_uint8_t_u_u((((*l_1319) = (((safe_sub_func_uint64_t_u_u(((((*g_465) , (((*l_1645) = l_1644) == &g_776)) <= (**l_1214)) >= (*g_465)), (*l_1388))) , g_1283[0]) , (*g_168))) && 4L), (**g_861))), p_25)))) < p_25) & 0UL)) > (-8L)) || p_25))) , p_25)))))))
{ /* block id: 755 */
return &g_6;
}
else
{ /* block id: 757 */
if (g_1647[4])
break;
}
(*l_1635) |= 0x0FF2DABAL;
if (g_1238[l_1324])
continue;
for (g_78 = 0; (g_78 <= 2); g_78 += 1)
{ /* block id: 764 */
int64_t *l_1658 = &g_408;
int64_t **l_1659 = &l_1658;
int i, j, k;
(*****g_1370) ^= (safe_add_func_uint16_t_u_u((safe_add_func_uint16_t_u_u((((65526UL ^ (4294967289UL && p_25)) , (*l_1388)) ^ (safe_rshift_func_int16_t_s_u(((void*)0 == l_1654), 3))), ((safe_mul_func_int16_t_s_s((((l_1657 != ((*l_1659) = l_1658)) | ((safe_rshift_func_uint8_t_u_s((*p_26), 7)) > p_25)) >= p_25), p_25)) < (*p_26)))), g_1238[1]));
(*****g_1366) = (((*g_168) = 0UL) , (0x889AL == ((((safe_rshift_func_int16_t_s_u((safe_lshift_func_int8_t_s_u((p_25 && ((p_25 < ((*l_1214) == (void*)0)) , (g_537 == (safe_div_func_uint64_t_u_u((safe_sub_func_uint32_t_u_u((0x8FB5777F6310BC92LL < 0x72770B315D275AD6LL), p_25)), 1UL))))), 0)), p_25)) | (*l_1388)) >= (*g_140)) < g_725)));
if ((safe_sub_func_int64_t_s_s((safe_add_func_uint8_t_u_u((*p_26), (((*l_1388) | (safe_rshift_func_uint16_t_u_s(((*g_465) = ((void*)0 != (*l_1534))), g_725))) > (((*g_168) = (*l_1635)) != (((safe_sub_func_uint16_t_u_u((p_25 , ((1L ^ g_100.f0) , (*g_140))), p_25)) ^ g_322[9][3]) <= (*l_1635)))))), g_1360[5])))
{ /* block id: 771 */
return p_26;
}
else
{ /* block id: 773 */
(**l_1214) = (*l_1388);
}
}
}
}
++l_1684;
l_1201[2][0] &= ((**g_1369) &= ((l_1687 = &l_1577) != (void*)0));
}
return p_26;
}
/* ------------------------------------------ */
/*
* reads : g_77
* writes:
*/
int32_t func_27(int32_t p_28)
{ /* block id: 545 */
return g_77;
}
/* ------------------------------------------ */
/*
* reads : g_78 g_139 g_140 g_141
* writes: g_78
*/
uint16_t func_29(int64_t p_30)
{ /* block id: 537 */
for (g_78 = 0; (g_78 < (-1)); g_78 = safe_sub_func_uint16_t_u_u(g_78, 4))
{ /* block id: 540 */
return (**g_139);
}
return p_30;
}
/* ------------------------------------------ */
/*
* reads : g_139 g_140 g_141 g_168 g_77 g_78 g_6 g_218.f0 g_253 g_268 g_300 g_69 g_161 g_322 g_138 g_44 g_143 g_153 g_154 g_155 g_385 g_186 g_217 g_162 g_80 g_185 g_425 g_436 g_457 g_408 g_100 g_101 g_433 g_171 g_534 g_465 g_537 g_563 g_565 g_604 g_540 g_435 g_426 g_427 g_707 g_725 g_218 g_820 g_1054 g_1055 g_601 g_1021 g_821 g_883 g_197 g_861 g_862 g_989 g_742
* writes: g_44 g_143 g_77 g_78 g_6 g_185 g_218 g_300 g_322 g_153 g_408 g_436 g_457 g_465 g_138 g_100 g_80 g_514 g_540 g_154 g_565 g_155 g_601 g_725 g_197 g_162
*/
const int16_t func_33(uint8_t * p_34, uint8_t * p_35, struct S0 p_36)
{ /* block id: 105 */
int32_t ***l_221 = &g_197;
int32_t ****l_222 = &l_221;
int8_t *l_223 = (void*)0;
int32_t l_224 = 0L;
int32_t l_235 = (-5L);
uint16_t *l_243 = &g_44[1];
uint64_t *l_244 = &g_77;
int8_t l_245 = 0x0BL;
int32_t l_246 = 0x41CB1931L;
uint32_t l_265 = 0x9DF8BDBBL;
uint8_t l_305[10][10] = {{0UL,0x6BL,0x41L,0x6BL,0UL,246UL,0UL,0x6BL,0x41L,0x6BL},{0UL,0x88L,7UL,0x6BL,7UL,0x88L,0UL,0x88L,7UL,0x6BL},{7UL,0x6BL,7UL,0x88L,0UL,0x88L,7UL,0x6BL,7UL,0x88L},{0UL,0x6BL,0x41L,0x6BL,0UL,246UL,0UL,0x6BL,0x41L,0x6BL},{0UL,0x88L,7UL,0x6BL,7UL,0x88L,0UL,0x88L,7UL,0x6BL},{7UL,0x6BL,7UL,0x88L,0UL,0x88L,7UL,0x6BL,7UL,0x88L},{0UL,0x6BL,0x41L,0x6BL,0UL,246UL,0UL,0x6BL,0x41L,0x6BL},{0UL,0x88L,0x41L,0x88L,0x41L,246UL,7UL,246UL,0x41L,0x88L},{0x41L,0x88L,0x41L,246UL,7UL,246UL,0x41L,0x88L,0x41L,246UL},{7UL,0x88L,0UL,0x88L,7UL,0x6BL,7UL,0x88L,0UL,0x88L}};
int8_t l_345 = 0xEFL;
struct S0 l_348 = {7505};
int32_t l_371 = 9L;
int32_t l_379 = 0L;
int32_t l_380 = 0x294E479DL;
int64_t l_410 = 0xC484FBF150C96593LL;
int32_t *l_462[3];
uint16_t l_489 = 0x399EL;
uint64_t l_492 = 18446744073709551615UL;
const int16_t l_507 = 0L;
uint16_t l_533 = 0xE600L;
int16_t l_612 = 0x0C8BL;
int32_t *l_639 = &l_371;
uint32_t l_756[5] = {0xB3254985L,0xB3254985L,0xB3254985L,0xB3254985L,0xB3254985L};
int32_t l_813 = 0xA5054C24L;
uint32_t *l_837 = &g_436;
uint32_t **l_836 = &l_837;
uint8_t l_847 = 9UL;
int8_t **l_858 = (void*)0;
int8_t ***l_857 = &l_858;
int32_t l_871 = (-3L);
uint32_t l_958[7] = {1UL,1UL,18446744073709551614UL,1UL,1UL,18446744073709551614UL,1UL};
uint32_t l_988 = 4UL;
int32_t *l_1022[2];
uint8_t l_1082 = 0UL;
uint64_t l_1126 = 0x48B63BC30FED8FADLL;
uint16_t l_1160 = 0xF2D7L;
int32_t *l_1165[8][1];
uint64_t l_1180 = 0x63110A81143B8D4FLL;
uint8_t l_1184 = 252UL;
int i, j;
for (i = 0; i < 3; i++)
l_462[i] = &g_80[4];
for (i = 0; i < 2; i++)
l_1022[i] = &g_433;
for (i = 0; i < 8; i++)
{
for (j = 0; j < 1; j++)
l_1165[i][j] = &l_224;
}
if (((((((((l_224 ^= (p_36.f0 >= (safe_rshift_func_uint8_t_u_u((0xEFL && (((*l_222) = l_221) != &g_184[7])), 7)))) ^ (((safe_sub_func_int64_t_s_s(((safe_mul_func_uint16_t_u_u((((safe_mod_func_uint64_t_u_u((((safe_lshift_func_uint8_t_u_s((((*l_244) ^= ((*g_168) = (safe_add_func_int16_t_s_s(((l_235 ^ (safe_lshift_func_uint16_t_u_u(p_36.f0, (**g_139)))) && (safe_add_func_uint16_t_u_u(((*l_243) = (safe_sub_func_uint8_t_u_u((((+0L) & (**g_139)) , 0x58L), (-2L)))), 0xD343L))), p_36.f0)))) , l_235), 4)) & 0L) > l_235), 0x1B604263C3DD7BFDLL)) <= l_235) , (*g_140)), (-2L))) >= (-7L)), g_78)) < (-1L)) || l_245)) , g_6) , l_246) | p_36.f0) , g_218.f0) < l_235) ^ p_36.f0))
{ /* block id: 111 */
uint32_t l_247 = 0UL;
--l_247;
}
else
{ /* block id: 113 */
uint32_t l_250 = 4294967289UL;
int32_t l_276[2][7] = {{(-7L),1L,0xEB1DDC82L,1L,(-7L),(-7L),1L},{8L,(-1L),8L,1L,1L,8L,(-1L)}};
int32_t ****l_306 = (void*)0;
uint64_t *l_342 = &g_143;
uint16_t *l_463 = &g_44[1];
int64_t l_488 = 0x99CF55E90683D84ELL;
uint16_t l_517[3];
uint32_t *l_531 = &l_265;
int8_t **l_536[1];
int8_t ***l_535 = &l_536[0];
int32_t l_557 = 0L;
uint32_t l_586 = 1UL;
int32_t ***l_591 = (void*)0;
uint64_t l_598 = 18446744073709551607UL;
int32_t l_599 = 1L;
uint8_t l_645 = 255UL;
int16_t l_715 = 0x84EFL;
struct S0 **l_784[2][1];
int32_t l_791 = (-6L);
volatile int32_t * volatile l_799 = &g_155;/* VOLATILE GLOBAL l_799 */
uint64_t l_801[5] = {18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL};
int i, j;
for (i = 0; i < 3; i++)
l_517[i] = 65535UL;
for (i = 0; i < 1; i++)
l_536[i] = &l_223;
for (i = 0; i < 2; i++)
{
for (j = 0; j < 1; j++)
l_784[i][j] = (void*)0;
}
if ((((l_250 <= 0xFAL) ^ p_36.f0) <= (safe_rshift_func_int16_t_s_s(g_253, 12))))
{ /* block id: 114 */
struct S0 l_262 = {6549};
int32_t l_278 = 0x99E89F55L;
int32_t *l_282 = &g_80[0];
int32_t *****l_289 = &l_222;
uint8_t *l_293 = &g_6;
int32_t l_296 = 0x73E31874L;
uint8_t *l_299 = &g_300;
int32_t l_378[9] = {1L,1L,1L,1L,1L,1L,1L,1L,1L};
int8_t **l_423 = &l_223;
int i;
for (g_77 = 21; (g_77 <= 47); g_77++)
{ /* block id: 117 */
int32_t * const l_260[3][6][6] = {{{&g_80[2],&g_80[4],&l_235,&g_80[4],&l_235,&g_80[4]},{&l_224,&g_80[4],&g_80[4],&g_80[4],(void*)0,&l_235},{&g_80[2],&l_235,&g_80[6],&l_235,&g_80[2],&g_80[4]},{&g_80[4],&l_235,&l_224,&l_235,(void*)0,&l_235},{&g_80[4],&g_80[4],&g_80[4],&l_235,&l_235,&l_235},{(void*)0,&g_80[4],&l_224,&g_80[4],&l_224,&g_80[4]}},{{&l_235,&g_80[4],&g_80[6],&g_80[4],&l_224,&l_235},{(void*)0,&l_235,&g_80[4],&l_235,(void*)0,&g_80[4]},{&g_80[4],&l_235,&l_235,&l_235,&l_224,&l_235},{&g_80[4],&g_80[4],&g_80[4],&l_235,&l_224,&l_235},{&g_80[2],&g_80[4],&l_235,&g_80[4],&l_235,&g_80[4]},{&l_224,&g_80[4],&g_80[4],&g_80[4],(void*)0,&l_235}},{{&g_80[2],&l_235,&g_80[6],&l_235,&g_80[2],&g_80[4]},{&g_80[4],&l_235,&l_224,&l_235,(void*)0,&l_235},{&g_80[4],&g_80[4],&g_80[4],&l_235,&l_235,&l_235},{(void*)0,&g_80[4],&l_224,&g_80[4],&l_224,&g_80[4]},{&l_235,&g_80[4],&g_80[6],&g_80[4],&l_224,&l_235},{(void*)0,&l_235,&g_80[4],&l_235,(void*)0,&g_80[4]}}};
uint64_t l_269 = 18446744073709551615UL;
uint64_t l_279[6] = {18446744073709551612UL,1UL,18446744073709551612UL,18446744073709551612UL,1UL,18446744073709551612UL};
int i, j, k;
for (g_78 = 0; (g_78 < 5); g_78 = safe_add_func_uint8_t_u_u(g_78, 3))
{ /* block id: 120 */
struct S0 l_263 = {747};
for (g_6 = 0; (g_6 != 50); ++g_6)
{ /* block id: 123 */
int32_t **l_261 = &g_185;
struct S0 *l_264 = &l_263;
(*l_261) = l_260[1][4][0];
l_262 = p_36;
(*l_264) = l_263;
}
if (l_265)
break;
for (l_246 = (-20); (l_246 >= (-24)); l_246--)
{ /* block id: 131 */
uint64_t *l_274[3];
uint64_t **l_275 = &l_274[1];
int32_t l_277 = 8L;
int i;
for (i = 0; i < 3; i++)
l_274[i] = &l_269;
(*g_268) = l_262;
l_269++;
l_276[1][2] &= (65535UL >= ((safe_mod_func_uint16_t_u_u(0UL, l_263.f0)) , (&g_77 == ((*l_275) = l_274[1]))));
l_277 = 0x9A292743L;
}
}
l_279[2]++;
}
l_282 = &l_276[1][2];
if ((((safe_sub_func_uint64_t_u_u((safe_sub_func_int32_t_s_s((*l_282), ((p_36.f0 & (safe_sub_func_int8_t_s_s((l_276[1][1] > (((*l_289) = (void*)0) != ((safe_mul_func_uint8_t_u_u(((*l_293) |= (safe_unary_minus_func_int8_t_s(0x96L))), ((safe_mod_func_uint32_t_u_u(p_36.f0, l_296)) , ((safe_lshift_func_uint8_t_u_u(((*l_299)++), (safe_div_func_int16_t_s_s((((((g_69[3] != ((**g_139) , g_69[1])) | g_161) , g_161) || (-9L)) || l_305[0][1]), g_77)))) , 252UL)))) , l_306))), 0x53L))) ^ p_36.f0))), (*l_282))) , 65530UL) ^ 0L))
{ /* block id: 145 */
int32_t l_317 = (-7L);
uint32_t *l_318[9][5] = {{&l_250,&l_250,(void*)0,&l_250,&l_250},{&l_250,&l_250,&l_250,&l_250,&l_250},{&l_250,&l_250,&l_250,&l_250,&l_250},{(void*)0,&l_250,&l_250,&l_250,(void*)0},{&l_250,&l_250,&l_250,&l_250,(void*)0},{&l_250,&l_250,&l_250,&l_250,&l_250},{&l_250,&l_250,&l_250,&l_250,(void*)0},{&l_250,&l_250,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,&l_250,&l_250,&l_250}};
int64_t *l_321 = &g_322[9][3];
uint32_t l_327 = 0x10791398L;
int32_t *l_328 = (void*)0;
int32_t *l_329 = &l_235;
int32_t *l_341 = &l_246;
int i, j;
(*l_329) ^= ((safe_mod_func_int16_t_s_s((safe_add_func_uint32_t_u_u((safe_div_func_uint32_t_u_u((p_36.f0 = (safe_div_func_int8_t_s_s(g_253, (safe_mod_func_uint16_t_u_u(g_78, l_317))))), 6L)), (safe_rshift_func_uint16_t_u_u((((*l_321) &= l_317) || ((((safe_sub_func_uint16_t_u_u((safe_mul_func_uint16_t_u_u((18446744073709551607UL != (g_138[0] & 65535UL)), g_78)), 1UL)) ^ 1L) || (*l_282)) || l_327)), g_161)))), g_44[1])) & g_138[1]);
(*l_282) = ((((p_36.f0 ^ ((safe_mod_func_int32_t_s_s(((safe_mod_func_int16_t_s_s((+(safe_lshift_func_int16_t_s_u((0x0BL || ((p_36.f0 || (safe_add_func_uint32_t_u_u(p_36.f0, (((*l_282) == (((((*l_341) |= 0xCE1CFEF0L) , &g_143) != l_342) ^ (safe_sub_func_uint32_t_u_u(g_141, p_36.f0)))) > g_44[1])))) && p_36.f0)), p_36.f0))), l_276[1][0])) ^ l_345), l_250)) >= p_36.f0)) , p_36.f0) == 1L) ^ p_36.f0);
}
else
{ /* block id: 151 */
uint16_t l_353[5][7] = {{2UL,2UL,2UL,2UL,2UL,2UL,2UL},{0x32B6L,0x32B6L,0x32B6L,0x32B6L,0x32B6L,0x32B6L,0x32B6L},{2UL,2UL,2UL,2UL,2UL,2UL,2UL},{0x32B6L,0x32B6L,0x32B6L,0x32B6L,0x32B6L,0x32B6L,0x32B6L},{2UL,2UL,2UL,2UL,2UL,2UL,2UL}};
uint16_t **l_365 = &l_243;
int32_t l_376 = (-6L);
int32_t l_377[5] = {0xA4304789L,0xA4304789L,0xA4304789L,0xA4304789L,0xA4304789L};
uint32_t l_382 = 6UL;
uint32_t l_409 = 0x9676EB1AL;
int32_t l_447[8] = {8L,8L,8L,8L,8L,8L,8L,8L};
int64_t l_448 = 0x7BD036475EF0FBBDLL;
int32_t * const *l_453 = &l_282;
int32_t * const **l_452 = &l_453;
int32_t * const ***l_451 = &l_452;
int32_t * const ****l_450 = &l_451;
int i, j;
for (l_296 = 0; (l_296 <= 10); l_296 = safe_add_func_int32_t_s_s(l_296, 9))
{ /* block id: 154 */
uint8_t l_354[4][4][6] = {{{0x3CL,0xA7L,247UL,255UL,2UL,255UL},{255UL,2UL,255UL,255UL,0UL,0UL},{0x3CL,0x08L,8UL,0UL,2UL,0x5AL},{0x22L,0UL,0xDCL,247UL,2UL,1UL}},{{0x5AL,0x08L,0UL,255UL,0UL,8UL},{8UL,2UL,0xF2L,0xF2L,2UL,8UL},{255UL,0xA7L,0UL,0x22L,0UL,1UL},{255UL,0xB4L,0xDCL,8UL,255UL,0x5AL}},{{255UL,255UL,8UL,0x22L,0xF3L,0UL},{255UL,0UL,255UL,0xF2L,0x08L,255UL},{8UL,0UL,247UL,255UL,0xF3L,0xF2L},{0x5AL,255UL,0x22L,247UL,255UL,247UL}},{{0x22L,0xB4L,0x22L,0UL,0UL,0xF2L},{0x3CL,0xA7L,247UL,255UL,2UL,255UL},{255UL,2UL,255UL,255UL,0UL,0UL},{0x3CL,0x08L,8UL,0UL,2UL,0x5AL}}};
int32_t *l_366 = &g_78;
int8_t *l_367 = &l_345;
int16_t *l_369 = &g_138[7];
int16_t **l_368 = &l_369;
uint32_t *l_370 = &l_250;
int32_t l_375[5][4] = {{0L,0xE1647325L,0xE1647325L,0L},{0x15A64772L,0xE1647325L,1L,0xE1647325L},{0xE1647325L,0x29D9DC93L,0x29D9DC93L,0x29D9DC93L},{0xE1647325L,0xE1647325L,0L,0x29D9DC93L},{1L,0x15A64772L,1L,0L}};
int8_t **l_393 = &l_367;
uint8_t l_394 = 0x13L;
int64_t *l_406 = &g_322[3][1];
int64_t *l_407 = &g_408;
int i, j, k;
if ((((*l_282) ^= ((*l_370) = (&g_138[0] == ((*l_368) = func_57(l_348, ((safe_mul_func_uint16_t_u_u(p_36.f0, ((safe_add_func_uint8_t_u_u(0xEBL, ((*l_367) = (l_353[0][5] != (((l_354[2][0][5] , ((void*)0 != &g_300)) < (((((safe_lshift_func_uint8_t_u_u(((((safe_mod_func_uint64_t_u_u((((*l_366) = (safe_mul_func_uint16_t_u_u((safe_div_func_uint8_t_u_u((((safe_mod_func_int32_t_s_s((&g_154 == &g_154), 0x28683771L)) , &g_140) == l_365), l_353[0][4])), l_353[0][5]))) , (*g_168)), 0xA060F06785279585LL)) & l_353[0][5]) || (-1L)) & p_36.f0), l_354[2][0][5])) , l_353[0][5]) == (**g_153)) > g_44[0]) || (**g_139))) , g_218.f0))))) || p_36.f0))) , l_354[2][0][5]), p_34))))) == g_322[1][0]))
{ /* block id: 160 */
int32_t *l_372 = &l_224;
int32_t *l_373 = (void*)0;
int32_t *l_374[10] = {&g_80[2],&g_80[2],&g_80[2],&g_80[2],&g_80[2],&g_80[2],&g_80[2],&g_80[2],&g_80[2],&g_80[2]};
int32_t l_381 = 0x6E44AAF0L;
int i;
l_382++;
(*g_385) = &l_375[0][2];
}
else
{ /* block id: 163 */
int32_t *l_386 = &l_378[5];
if (p_36.f0)
break;
l_386 = &l_375[2][3];
(*g_186) = &l_376;
}
if ((((safe_sub_func_uint64_t_u_u((safe_lshift_func_int8_t_s_s((((*g_185) = (safe_sub_func_int8_t_s_s(((((&l_245 != ((*l_393) = g_217)) >= l_394) || (safe_sub_func_int64_t_s_s((-2L), ((*l_407) = (8UL != ((+(g_218.f0 && (*g_162))) != ((*l_406) = (l_377[1] == ((safe_div_func_int8_t_s_s((safe_mul_func_uint16_t_u_u((safe_mod_func_int16_t_s_s(g_300, 0x7612L)), g_77)), g_138[4])) >= g_6))))))))) || l_409), 4UL))) , l_410), g_143)), l_354[3][1][2])) , l_377[1]) != 0L))
{ /* block id: 172 */
return g_322[1][3];
}
else
{ /* block id: 174 */
int8_t ***l_424[2][2] = {{&l_393,&l_393},{&l_393,&l_393}};
uint32_t *l_432[6][9] = {{&l_265,&l_382,(void*)0,(void*)0,&l_382,&l_265,&l_265,&l_265,&l_382},{(void*)0,&l_265,&l_265,(void*)0,(void*)0,&l_265,&l_265,(void*)0,&l_382},{&l_382,(void*)0,(void*)0,&l_265,&l_265,&l_265,&l_265,(void*)0,(void*)0},{(void*)0,(void*)0,&l_382,&l_382,&l_265,(void*)0,(void*)0,&l_265,&l_382},{(void*)0,&l_265,(void*)0,(void*)0,&l_265,&l_382,&l_265,&l_265,&l_382},{&l_382,(void*)0,(void*)0,(void*)0,&l_382,&l_382,&l_265,(void*)0,(void*)0}};
const int32_t l_449 = (-1L);
int i, j;
l_375[1][2] &= ((safe_sub_func_uint64_t_u_u((safe_sub_func_uint64_t_u_u(((safe_lshift_func_int8_t_s_s(((((safe_mod_func_uint8_t_u_u((((safe_add_func_uint64_t_u_u((safe_mul_func_int8_t_s_s(((((l_423 = l_423) == g_425[1]) , (((*l_370)--) == (*g_162))) , ((safe_sub_func_uint8_t_u_u((((((((++g_436) , &l_305[8][7]) == &g_300) >= l_447[4]) , 0xE1L) <= 0xB3L) , 0x9AL), l_448)) >= 18446744073709551615UL)), p_36.f0)), (*g_168))) >= g_300) | p_36.f0), l_449)) >= p_36.f0) , g_322[5][4]) < 2L), 4)) , p_36.f0), p_36.f0)), p_36.f0)) , l_353[0][0]);
(****l_451) |= (p_36.f0 == ((void*)0 != l_450));
return g_141;
}
}
}
}
else
{ /* block id: 185 */
uint8_t l_460 = 0UL;
int32_t *l_461 = &l_380;
int32_t l_473[9] = {1L,1L,0x965C2F2BL,1L,1L,0x965C2F2BL,1L,1L,0x965C2F2BL};
uint32_t *l_500[3][3][6] = {{{&l_250,(void*)0,&l_250,(void*)0,&l_250,(void*)0},{&g_436,(void*)0,&g_436,(void*)0,&g_436,(void*)0},{&l_250,(void*)0,&l_250,(void*)0,&l_250,(void*)0}},{{&g_436,(void*)0,&g_436,(void*)0,&g_436,(void*)0},{&l_250,(void*)0,&l_250,(void*)0,&l_250,(void*)0},{&g_436,(void*)0,&g_436,(void*)0,&g_436,(void*)0}},{{&l_250,(void*)0,&l_250,(void*)0,&l_250,(void*)0},{&g_436,(void*)0,&g_436,(void*)0,&g_436,(void*)0},{&l_250,(void*)0,&l_250,(void*)0,&l_250,(void*)0}}};
uint32_t **l_499 = &l_500[1][0][4];
int16_t *l_506 = &g_138[0];
int16_t l_532 = 0x355FL;
uint16_t *l_572 = &g_44[1];
uint16_t l_617 = 0xB8D9L;
const int8_t *l_663 = &g_427;
const int8_t **l_662 = &l_663;
const int8_t ***l_661 = &l_662;
int64_t l_690 = 0xECEAA28B6C4ECF71LL;
uint64_t l_728 = 18446744073709551613UL;
int i, j, k;
lbl_495:
for (l_379 = 15; (l_379 == 25); l_379 = safe_add_func_uint8_t_u_u(l_379, 1))
{ /* block id: 188 */
int32_t *l_456[7] = {&g_80[4],&g_80[4],&g_80[2],&g_80[4],&g_80[4],&g_80[2],&g_80[4]};
uint16_t **l_464[9][4] = {{&l_243,&l_463,(void*)0,&l_463},{(void*)0,&l_243,(void*)0,(void*)0},{(void*)0,&l_243,&l_463,&l_463},{&l_243,&l_463,&l_243,(void*)0},{&l_463,&l_463,&l_463,(void*)0},{(void*)0,&l_463,(void*)0,&l_463},{&l_463,&l_243,(void*)0,&l_463},{(void*)0,&l_463,&l_463,(void*)0},{&l_463,&l_463,&l_243,&l_243}};
int16_t *l_470 = &g_138[1];
int i, j;
g_457--;
l_460 &= p_36.f0;
l_462[1] = l_461;
if (((((p_36.f0 | p_36.f0) <= (((*l_461) = g_141) >= (((1UL || (p_36.f0 , (((&g_44[0] != (g_465 = l_463)) >= ((*l_470) = (p_36.f0 > ((safe_mul_func_int8_t_s_s((safe_mod_func_int64_t_s_s((((((0x68DD8CB4L != 0xA4764F95L) != 0xBB82L) ^ p_36.f0) || p_36.f0) & 18446744073709551614UL), g_408)), 1L)) == 0x02DDD2F2L)))) > g_300))) | 9UL) > 0xE466L))) && (*l_461)) < p_36.f0))
{ /* block id: 195 */
return g_80[7];
}
else
{ /* block id: 197 */
uint32_t l_474 = 0x57D0B8B1L;
const int64_t l_480 = 0x56A45CBF47B4B573LL;
for (l_380 = (-12); (l_380 > 16); l_380++)
{ /* block id: 200 */
struct S0 *l_479 = &g_218;
l_474--;
(*l_479) = func_61(l_243, (safe_lshift_func_uint16_t_u_s(0x73B1L, (l_470 == (void*)0))));
}
return l_480;
}
}
for (g_436 = 0; (g_436 >= 16); ++g_436)
{ /* block id: 209 */
int32_t l_483 = 0x80885272L;
int32_t l_484[9] = {0x4B259BA1L,0x9C3ADEF4L,0x9C3ADEF4L,0x4B259BA1L,0x9C3ADEF4L,0x9C3ADEF4L,0x4B259BA1L,0x0A56EFCEL,0x0A56EFCEL};
uint8_t l_485 = 1UL;
int i;
++l_485;
++l_489;
--l_492;
if (p_36.f0)
goto lbl_495;
}
if (((*g_162) < (((+(safe_lshift_func_uint16_t_u_u((l_462[1] != ((*l_499) = l_462[1])), 12))) > p_36.f0) & (((*l_506) ^= (0L < (((safe_lshift_func_int16_t_s_u((~0L), 10)) && 6L) != (safe_lshift_func_uint16_t_u_s(p_36.f0, 14))))) ^ ((0xB9DCL & g_433) , l_507)))))
{ /* block id: 217 */
int32_t **l_508 = &l_461;
int8_t **l_513 = (void*)0;
int8_t ***l_512 = &l_513;
uint32_t *l_530 = &l_265;
int32_t l_545 = 0x0DCC02E8L;
int32_t l_549 = 0x7025C6C5L;
int32_t l_551 = 0x22300FC2L;
int32_t l_552 = 0x1F9464C1L;
int32_t l_554 = 2L;
int32_t l_556[1];
struct S0 l_570 = {10575};
int i;
for (i = 0; i < 1; i++)
l_556[i] = 0L;
(*l_508) = &l_473[5];
if ((safe_sub_func_uint32_t_u_u(((((!p_36.f0) != ((g_514 = l_512) != (((safe_add_func_uint8_t_u_u((0x8AL >= ((((((**l_508) = l_517[0]) , (*l_508)) == (*l_508)) >= (safe_lshift_func_uint8_t_u_s(((safe_lshift_func_int8_t_s_u(((safe_mul_func_uint8_t_u_u((safe_sub_func_uint32_t_u_u(((safe_mod_func_uint16_t_u_u(((safe_lshift_func_uint16_t_u_s(((((*g_171) , p_36.f0) , l_530) == l_531), 2)) | l_532), 0x528EL)) ^ 4294967287UL), p_36.f0)), p_36.f0)) >= l_533), g_534)) >= (*g_465)), 3))) & 0x7DL)), p_36.f0)) | (*g_465)) , l_535))) & p_36.f0) == g_161), p_36.f0)))
{ /* block id: 221 */
int64_t l_543 = 0x77C9B43D5FC76EE0LL;
int32_t l_544 = (-1L);
int32_t l_550 = 4L;
int32_t l_555 = 0L;
int32_t l_558 = 7L;
int32_t l_559 = (-1L);
if (g_537)
{ /* block id: 222 */
int32_t * volatile **l_542 = &g_540;
int32_t l_546 = (-3L);
int32_t l_547 = (-6L);
int64_t l_548[7] = {0xBC0F66936A02B3E3LL,0L,0L,0xBC0F66936A02B3E3LL,0L,0L,0xBC0F66936A02B3E3LL};
int32_t l_553 = 4L;
uint32_t l_560[7] = {0x8F79FB6EL,0UL,0x8F79FB6EL,0x8F79FB6EL,0UL,0x8F79FB6EL,0x8F79FB6EL};
int i;
lbl_564:
(*l_542) = &g_162;
--l_560[4];
(*g_563) = (*g_153);
if (g_433)
goto lbl_564;
}
else
{ /* block id: 227 */
g_565++;
}
}
else
{ /* block id: 230 */
struct S0 l_574[8][7] = {{{4457},{7570},{481},{5772},{481},{7570},{4457}},{{7399},{5772},{7570},{1966},{481},{3757},{4292}},{{8835},{3757},{12551},{481},{6265},{6265},{481}},{{7570},{6833},{7570},{12879},{5208},{8835},{3757}},{{7570},{1966},{481},{3757},{4292},{6833},{8835}},{{8835},{7399},{1042},{1042},{7399},{8835},{11836}},{{7399},{481},{4292},{1042},{12551},{6265},{5208}},{{4457},{8835},{12914},{3757},{1966},{3757},{12914}}};
const uint32_t *l_587 = &l_265;
int32_t l_608 = (-1L);
int32_t l_609 = 0x5A8BE222L;
int32_t l_610 = 0x629ACD67L;
int32_t l_611 = (-1L);
int32_t l_613 = (-1L);
int32_t l_614 = 0x57680E54L;
int32_t l_615 = (-1L);
int32_t l_616[5] = {4L,4L,4L,4L,4L};
int i, j;
for (l_488 = 0; (l_488 != (-5)); --l_488)
{ /* block id: 233 */
struct S0 *l_571 = &l_348;
int32_t *l_573 = &l_246;
const uint32_t **l_588 = &l_587;
uint8_t *l_589 = &g_6;
int32_t l_590 = (-10L);
int16_t **l_607 = &l_506;
(**g_563) = (l_574[2][1] , (safe_lshift_func_int16_t_s_s(((((((*l_589) ^= (safe_add_func_int64_t_s_s((safe_mul_func_uint16_t_u_u(p_36.f0, ((safe_div_func_uint8_t_u_u((safe_rshift_func_int8_t_s_s((l_276[0][4] = (!(l_586 & ((((*l_588) = l_587) == (void*)0) || 0x517187A3L)))), 5)), 0xF7L)) , 0xF2D8L))), 0UL))) ^ l_590) & 0xEDA3L) <= p_36.f0) , g_138[4]), 15)));
(**g_153) = (((l_590 , l_591) == ((((safe_sub_func_uint32_t_u_u(((safe_div_func_uint64_t_u_u((safe_lshift_func_int8_t_s_s(((*l_461) = (((l_598 , g_141) || (l_599 && p_36.f0)) , ((p_36.f0 <= (g_138[0] > (l_506 != (void*)0))) , p_36.f0))), g_408)), p_36.f0)) <= p_36.f0), p_36.f0)) , (-8L)) < g_218.f0) , &g_540)) | 1L);
(*g_604) = l_587;
(*l_461) &= ((*g_162) = (safe_div_func_int16_t_s_s((l_607 == (void*)0), p_36.f0)));
}
l_617--;
}
}
else
{ /* block id: 249 */
int32_t *****l_620[1][1];
int i, j;
for (i = 0; i < 1; i++)
{
for (j = 0; j < 1; j++)
l_620[i][j] = &l_306;
}
l_306 = (void*)0;
if (((*g_162) = p_36.f0))
{ /* block id: 252 */
const uint8_t l_621[1][4] = {{0x29L,0x29L,0x29L,0x29L}};
int i, j;
for (l_371 = 0; (l_371 <= 2); l_371 += 1)
{ /* block id: 255 */
(*g_162) = l_621[0][1];
return l_621[0][1];
}
}
else
{ /* block id: 259 */
uint8_t l_624 = 0x72L;
for (l_557 = 0; (l_557 == 9); l_557 = safe_add_func_uint64_t_u_u(l_557, 3))
{ /* block id: 262 */
uint32_t l_625[2];
int i;
for (i = 0; i < 2; i++)
l_625[i] = 0x30BCFA45L;
if (l_624)
break;
l_625[1] &= 0x55BE359EL;
(*g_540) = &l_473[7];
(**g_540) &= (safe_rshift_func_uint16_t_u_u(p_36.f0, (g_534 ^ ((*g_168) == ((p_36.f0 <= 0x1BL) , ((*l_244) ^= (safe_sub_func_int8_t_s_s((safe_mod_func_int8_t_s_s((safe_sub_func_uint16_t_u_u((0x4049L < ((-1L) != g_100.f0)), ((*l_506) = (safe_mod_func_int32_t_s_s(((((safe_mod_func_int64_t_s_s((p_36.f0 ^ g_78), g_433)) || p_36.f0) < (*l_461)) && 255UL), g_435))))), 1UL)), 0UL))))))));
}
}
}
if (p_36.f0)
{ /* block id: 272 */
int32_t *l_638 = &l_371;
l_639 = l_638;
}
else
{ /* block id: 274 */
int8_t l_640 = 0x2DL;
int32_t l_641 = 0x8590251DL;
int32_t l_642 = (-1L);
int32_t l_643 = 0xEFF07DD5L;
int32_t l_644 = 0x2C51CF86L;
uint16_t *l_658 = &l_517[0];
int64_t *l_670 = &l_488;
int16_t l_708 = 0xDD3AL;
int32_t l_722 = 3L;
int32_t l_723 = 0x7342BCA6L;
int32_t l_724 = 0x03332D77L;
uint32_t l_731 = 4294967295UL;
l_645++;
(*l_639) = (safe_sub_func_int16_t_s_s((safe_sub_func_int8_t_s_s(p_36.f0, 3L)), ((safe_mod_func_uint32_t_u_u(((safe_mul_func_uint16_t_u_u(p_36.f0, (*l_461))) && ((safe_mod_func_int8_t_s_s(((((((*g_465) > ((*l_658) &= (((**g_139) || ((*l_506) |= l_642)) <= (*g_465)))) >= ((((safe_lshift_func_int16_t_s_u((l_642 , 0x0335L), (*g_465))) || 18446744073709551615UL) , (void*)0) != l_661)) < (*g_465)) == l_642) == g_433), (*l_461))) , (*g_140))), 0x92794F25L)) ^ (*l_461))));
for (l_533 = 27; (l_533 == 23); l_533--)
{ /* block id: 281 */
int64_t l_669[5][2] = {{1L,1L},{1L,1L},{1L,1L},{1L,1L},{1L,1L}};
const int64_t l_689 = 1L;
int16_t l_709 = 0xD357L;
int32_t l_712 = 0L;
int32_t l_713 = 0x5E8A42F3L;
int32_t l_714 = (-6L);
int32_t l_717 = 0xEF54F452L;
int32_t l_718 = 0xC477384AL;
int32_t l_719[5][8][4] = {{{0xBB00DFB7L,(-3L),(-10L),0x5CF5AEAEL},{0x5CF5AEAEL,0xAC919903L,(-5L),1L},{0x5CF5AEAEL,(-4L),(-10L),1L},{0xBB00DFB7L,1L,0x1FDFA45BL,0x10101422L},{(-1L),1L,1L,(-3L)},{0x3E75476CL,0xDA627542L,0x5CF5AEAEL,0x89C7133EL},{0xB3732FDBL,0L,0xEA187FBDL,(-3L)},{1L,0x693E556AL,0xB3732FDBL,0xB3732FDBL}},{{(-1L),(-1L),0xA106AC85L,0xAC919903L},{0L,1L,0x693E556AL,0x3E75476CL},{(-3L),0x89C7133EL,0x5C4C3EA0L,0x693E556AL},{0L,0x89C7133EL,(-3L),0x3E75476CL},{0x89C7133EL,1L,4L,0xAC919903L},{(-5L),(-1L),(-1L),0xB3732FDBL},{0xA7567A4BL,0x693E556AL,(-1L),(-3L)},{(-4L),0L,3L,0x89C7133EL}},{{0x1FDFA45BL,0xDA627542L,0L,(-3L)},{1L,1L,1L,0x10101422L},{1L,1L,0x482BABDEL,1L},{(-3L),(-4L),0x3E75476CL,1L},{0xEA187FBDL,0xAC919903L,0x3E75476CL,0x5CF5AEAEL},{(-3L),(-3L),0x482BABDEL,(-5L)},{1L,0xB3732FDBL,1L,(-1L)},{1L,(-1L),0L,3L}},{{0x1FDFA45BL,0xA106AC85L,3L,(-3L)},{(-10L),0x3E75476CL,1L,0xBB00DFB7L},{0xA106AC85L,(-1L),(-1L),0xA106AC85L},{0xEA187FBDL,0x5CF5AEAEL,0L,0xDA627542L},{0L,(-4L),(-3L),(-3L)},{1L,0xA106AC85L,0L,(-3L)},{0x10101422L,(-4L),0x89C7133EL,0xDA627542L},{(-1L),0x5CF5AEAEL,(-5L),0xA106AC85L}},{{1L,(-1L),0xA7567A4BL,0xBB00DFB7L},{1L,0x3E75476CL,(-4L),(-3L)},{0xA7567A4BL,(-5L),0x1FDFA45BL,0xB3732FDBL},{0x5CF5AEAEL,3L,1L,3L},{4L,0xA7567A4BL,1L,0xEA187FBDL},{(-3L),0x10101422L,(-3L),0x1FDFA45BL},{0x1FDFA45BL,1L,0xEA187FBDL,(-1L)},{0x1FDFA45BL,(-10L),(-3L),4L}}};
int i, j, k;
if (((+(((safe_sub_func_uint32_t_u_u((((0x187FL == l_669[0][1]) , l_670) == &g_322[7][4]), (((safe_mod_func_int64_t_s_s((safe_mod_func_int32_t_s_s((p_36.f0 == ((safe_div_func_int32_t_s_s(((safe_div_func_uint64_t_u_u((((~(((l_642 = (!0xD9L)) ^ (p_36.f0 , (safe_lshift_func_int16_t_s_u((~p_36.f0), 11)))) && (+(((((((safe_sub_func_int64_t_s_s((safe_add_func_int64_t_s_s((-8L), p_36.f0)), l_669[1][1])) , l_689) , l_690) < (-2L)) ^ (*l_461)) , (*g_426)) & 6UL)))) ^ p_36.f0) & p_36.f0), 0xAF1558127AF1A361LL)) == 0xD9L), l_669[0][1])) != g_427)), p_36.f0)), p_36.f0)) ^ g_534) ^ l_689))) , p_35) == (void*)0)) > 18446744073709551613UL))
{ /* block id: 283 */
uint32_t l_706[9][8][2] = {{{4294967289UL,0xEC4C6791L},{0UL,0x5BD0700BL},{4294967295UL,0UL},{4294967295UL,4294967295UL},{4294967295UL,0UL},{4294967295UL,0x5BD0700BL},{0UL,0xEC4C6791L},{4294967289UL,4294967295UL}},{{4294967291UL,0xEC4C6791L},{0xEC4C6791L,0x5BD0700BL},{9UL,0UL},{1UL,4294967295UL},{1UL,0UL},{9UL,0x5BD0700BL},{0xEC4C6791L,0xEC4C6791L},{4294967291UL,4294967295UL}},{{4294967289UL,0xEC4C6791L},{0UL,0x5BD0700BL},{4294967295UL,0UL},{4294967295UL,4294967295UL},{4294967295UL,0UL},{4294967295UL,0x5BD0700BL},{0UL,0xEC4C6791L},{4294967289UL,4294967295UL}},{{4294967291UL,0xEC4C6791L},{0xEC4C6791L,0x5BD0700BL},{9UL,0UL},{1UL,4294967295UL},{1UL,0UL},{9UL,0x5BD0700BL},{0xEC4C6791L,0xEC4C6791L},{4294967291UL,4294967295UL}},{{4294967289UL,0xEC4C6791L},{0UL,0x5BD0700BL},{4294967295UL,0UL},{4294967295UL,4294967295UL},{4294967295UL,0UL},{4294967295UL,0x5BD0700BL},{0UL,0xEC4C6791L},{4294967289UL,4294967295UL}},{{4294967291UL,0xEC4C6791L},{0xEC4C6791L,0x5BD0700BL},{9UL,0UL},{1UL,4294967295UL},{1UL,0UL},{9UL,0x5BD0700BL},{0xEC4C6791L,0xEC4C6791L},{4294967291UL,4294967295UL}},{{4294967289UL,0xEC4C6791L},{0UL,0x5BD0700BL},{4294967295UL,0UL},{4294967295UL,4294967295UL},{4294967295UL,0UL},{4294967295UL,0x5BD0700BL},{0UL,0xEC4C6791L},{4294967289UL,4294967295UL}},{{4294967291UL,0xEC4C6791L},{0xEC4C6791L,0x5BD0700BL},{9UL,0UL},{1UL,4294967295UL},{1UL,0UL},{9UL,0x5BD0700BL},{0xEC4C6791L,0xEC4C6791L},{4294967291UL,4294967295UL}},{{4294967289UL,0xEC4C6791L},{0UL,0x5BD0700BL},{4294967295UL,0UL},{4294967295UL,4294967295UL},{4294967295UL,0UL},{4294967295UL,0x5BD0700BL},{0UL,0xEC4C6791L},{4294967289UL,4294967295UL}}};
int i, j, k;
(*l_639) = ((safe_mul_func_int16_t_s_s(((safe_add_func_int8_t_s_s(0xF2L, ((safe_rshift_func_int8_t_s_u(p_36.f0, (*l_461))) < (0xADC6L != (!(((((safe_mod_func_int8_t_s_s(((*g_140) == ((safe_add_func_int64_t_s_s((safe_add_func_int8_t_s_s(1L, ((((*l_531)++) , ((l_642 = (0xEDL & (-1L))) || (*l_461))) & l_706[1][0][1]))), p_36.f0)) == l_706[2][0][1])), g_534)) > 0x2E998C8F00AE4B68LL) , 246UL) != p_36.f0) ^ 0x9AL)))))) != p_36.f0), p_36.f0)) || 1L);
}
else
{ /* block id: 287 */
(*l_639) ^= (p_36 , 0x11ABBFE6L);
(*g_707) = p_36;
if (p_36.f0)
continue;
}
if ((*l_461))
{ /* block id: 292 */
int8_t l_710[2][7] = {{0x7AL,(-1L),(-1L),0x7AL,(-1L),(-1L),0x7AL},{(-6L),0xFAL,(-6L),(-6L),0xFAL,(-6L),(-6L)}};
int32_t l_711 = 0xA12135EAL;
int32_t l_716 = (-1L);
int32_t l_720 = 0xAFC2AD06L;
int32_t l_721[3][10] = {{0x461337C8L,0x461337C8L,1L,0x461337C8L,0x461337C8L,1L,0x461337C8L,0x461337C8L,1L,0x461337C8L},{0x461337C8L,1L,1L,0x461337C8L,1L,1L,0x461337C8L,1L,1L,0x461337C8L},{1L,0x461337C8L,1L,1L,0x461337C8L,1L,1L,0x461337C8L,1L,1L}};
int i, j;
g_725--;
++l_728;
if ((*l_461))
continue;
(**g_563) = ((*l_461) |= (p_36.f0 && 4294967293UL));
}
else
{ /* block id: 298 */
++l_731;
if ((**g_563))
continue;
if (p_36.f0)
continue;
}
}
}
}
for (l_380 = 7; (l_380 >= (-1)); l_380 = safe_sub_func_int32_t_s_s(l_380, 1))
{ /* block id: 308 */
uint16_t l_736 = 0UL;
int32_t * const l_741 = &g_742;
int32_t * const *l_740 = &l_741;
int32_t * const **l_739 = &l_740;
uint64_t *l_745[9] = {&l_492,&l_492,&l_492,&l_492,&l_492,&l_492,&l_492,&l_492,&l_492};
uint32_t *l_747 = &g_436;
uint32_t **l_746 = &l_747;
int32_t l_748 = 7L;
struct S0 l_754 = {15044};
int32_t * const l_785 = &g_742;
int32_t l_789 = 0xF8EEC1C3L;
int32_t l_790 = 5L;
int32_t l_792 = 0xA8860DFEL;
int32_t l_793 = 0x3F494C6DL;
int32_t l_794 = 0xA4EEC965L;
int i;
}
}
if ((!((safe_mul_func_int8_t_s_s((safe_sub_func_int16_t_s_s((safe_mod_func_uint64_t_u_u((safe_sub_func_uint32_t_u_u((l_813 , (safe_mod_func_int32_t_s_s(((*g_268) , ((((((safe_div_func_int8_t_s_s((g_100.f0 < (g_820 != &g_821)), 0xE1L)) , (*l_639)) != 1UL) , (void*)0) != &l_492) | p_36.f0)), p_36.f0))), 0x3AE2FF02L)), 0xAF205BA6C557FF42LL)), g_300)), p_36.f0)) == 0L)))
{ /* block id: 355 */
uint16_t *l_822 = (void*)0;
struct S0 *l_823[4];
int32_t l_826[2];
int64_t *l_827 = (void*)0;
int64_t *l_828[8][9];
int32_t l_829 = 9L;
int32_t *l_839 = &g_78;
uint8_t l_867 = 0xBAL;
int16_t *l_870 = &g_138[0];
int16_t **l_869 = &l_870;
uint8_t l_872[10] = {0xDEL,0xDEL,0xDEL,0xDEL,0xDEL,0xDEL,0xDEL,0xDEL,0xDEL,0xDEL};
const int32_t *l_960 = &l_224;
int32_t ****l_1058 = (void*)0;
int i, j;
for (i = 0; i < 4; i++)
l_823[i] = (void*)0;
for (i = 0; i < 2; i++)
l_826[i] = 0xE60650B4L;
for (i = 0; i < 8; i++)
{
for (j = 0; j < 9; j++)
l_828[i][j] = &g_322[9][3];
}
(*l_639) = (-1L);
if ((p_36.f0 <= ((((*g_268) = p_36) , ((safe_sub_func_uint16_t_u_u(l_826[1], (((l_829 &= 0x991F314492F502E6LL) > ((((safe_div_func_uint8_t_u_u((safe_rshift_func_uint8_t_u_u((18446744073709551607UL > g_300), l_826[1])), p_36.f0)) == g_534) , (void*)0) == &g_821)) | l_826[1]))) <= p_36.f0)) , l_826[1])))
{ /* block id: 359 */
uint32_t ***l_838 = &l_836;
int32_t l_840 = 9L;
uint64_t *l_892 = (void*)0;
int32_t l_899 = 1L;
int32_t l_901 = (-1L);
int32_t l_906 = 1L;
int32_t l_907 = 7L;
int32_t l_908 = 0xF109DFF3L;
int32_t l_910 = 6L;
int32_t l_911 = 0xF544BBBEL;
const int8_t l_926 = 0x21L;
const int32_t l_945[10] = {(-1L),(-8L),(-8L),(-1L),(-8L),(-8L),(-1L),(-8L),(-8L),(-1L)};
int32_t *l_990 = &g_742;
uint8_t l_1028 = 0xADL;
int i;
l_840 ^= ((*l_639) = (((*l_639) | p_36.f0) < (safe_mul_func_uint8_t_u_u((&g_777 != ((*l_838) = l_836)), ((void*)0 == l_839)))));
l_840 = 0x6C3AF0C0L;
for (l_235 = 5; (l_235 >= 1); l_235 -= 1)
{ /* block id: 366 */
int8_t ****l_859[1];
const int8_t ***l_863 = &g_861;
int32_t l_864 = 0x0AC61F48L;
int16_t *l_865[1][8][6] = {{{&g_138[7],&g_138[0],&l_612,&l_612,&g_138[0],&g_138[7]},{&g_138[7],(void*)0,&l_612,&l_612,(void*)0,&l_612},{&g_138[7],&l_612,&g_138[7],&l_612,&l_612,&l_612},{&g_138[7],&g_138[0],&l_612,&l_612,&g_138[0],&g_138[7]},{&g_138[7],(void*)0,&l_612,&l_612,(void*)0,&l_612},{&g_138[7],&l_612,&g_138[7],&l_612,&l_612,&l_612},{&g_138[7],&g_138[0],&l_612,&l_612,&g_138[0],&g_138[7]},{&g_138[7],(void*)0,&l_612,&l_612,(void*)0,&l_612}}};
int32_t l_866 = 9L;
int32_t l_868 = 0xA1FA1C00L;
uint64_t l_896[1][7];
int32_t l_909[8] = {1L,1L,1L,1L,1L,1L,1L,1L};
int32_t l_951 = 0x8731EBCBL;
int32_t l_957 = 0x63EDB225L;
uint16_t l_987 = 0x779EL;
int i, j, k;
for (i = 0; i < 1; i++)
l_859[i] = &l_857;
for (i = 0; i < 1; i++)
{
for (j = 0; j < 7; j++)
l_896[i][j] = 0x3C9100F4CCD55F33LL;
}
}
for (l_235 = 0; (l_235 >= (-6)); l_235 = safe_sub_func_int16_t_s_s(l_235, 1))
{ /* block id: 460 */
uint8_t *l_1017 = &g_300;
int32_t l_1020 = 0x3D648520L;
int16_t *l_1052 = &g_138[6];
int8_t l_1053 = 0xEBL;
}
}
else
{ /* block id: 482 */
uint8_t *l_1083 = (void*)0;
uint8_t *l_1084 = &l_847;
int32_t l_1085 = (-1L);
int64_t l_1086[6] = {9L,9L,9L,9L,9L,9L};
int8_t *l_1087 = &l_245;
uint32_t l_1088 = 0x2E47E44BL;
int i;
(*g_1055) = g_1054;
l_1088 ^= ((safe_add_func_int64_t_s_s((l_1058 != ((*g_101) , (p_36 , &l_221))), g_408)) , p_36.f0);
}
}
else
{ /* block id: 488 */
uint64_t l_1096 = 1UL;
int32_t *** const *l_1141 = &g_883;
for (l_235 = 0; (l_235 != (-16)); l_235--)
{ /* block id: 491 */
uint32_t l_1120[8][4][2] = {{{0xF8AC22C7L,4294967288UL},{4294967295UL,0xF8AC22C7L},{0xE98D27D4L,4294967295UL},{0x96554A04L,0x991EB1D4L}},{{4294967295UL,4294967295UL},{0x991EB1D4L,0x96554A04L},{4294967295UL,0xE98D27D4L},{0xF8AC22C7L,4294967295UL}},{{4294967288UL,0xF8AC22C7L},{0x96554A04L,0xDF1CC913L},{0x96554A04L,0xF8AC22C7L},{4294967288UL,4294967295UL}},{{0xF8AC22C7L,0xE98D27D4L},{4294967295UL,0x96554A04L},{0x991EB1D4L,4294967295UL},{4294967295UL,0x991EB1D4L}},{{0x96554A04L,4294967295UL},{0xE98D27D4L,0xF8AC22C7L},{4294967295UL,4294967288UL},{0xF8AC22C7L,0x96554A04L}},{{0xDF1CC913L,0x991EB1D4L},{0xDF1CC913L,3UL},{0UL,0xDF1CC913L},{0x311A49BBL,6UL}},{{0x991EB1D4L,0x032383DCL},{0UL,0UL},{0x032383DCL,0x991EB1D4L},{6UL,0x311A49BBL}},{{0xDF1CC913L,0UL},{3UL,0xDF1CC913L},{0x991EB1D4L,7UL},{0x991EB1D4L,0xDF1CC913L}}};
int8_t *l_1123 = &l_345;
int8_t **l_1124 = &l_1123;
int8_t **l_1125 = &l_223;
int16_t *l_1127 = (void*)0;
int16_t *l_1128 = &l_612;
uint8_t l_1129[2];
int32_t l_1130 = 0x2F748BD5L;
int i, j, k;
for (i = 0; i < 2; i++)
l_1129[i] = 255UL;
if (((safe_unary_minus_func_uint16_t_u(((safe_mod_func_int16_t_s_s(((safe_lshift_func_int16_t_s_s(((((l_1096 ^ (safe_mul_func_int8_t_s_s((l_1129[1] |= (((safe_mod_func_int8_t_s_s((((*g_465)--) && (safe_lshift_func_uint8_t_u_s((((*l_857) = ((safe_lshift_func_uint8_t_u_s(l_1096, (((p_36.f0 <= ((((0xABA4B577L & ((**l_836) = (((*l_1128) = (safe_rshift_func_uint16_t_u_s((1UL <= (((safe_unary_minus_func_int8_t_s(((safe_mod_func_int8_t_s_s((safe_mod_func_uint32_t_u_u(((safe_div_func_uint32_t_u_u((safe_add_func_int64_t_s_s(g_6, (safe_mod_func_uint16_t_u_u(l_1120[1][0][0], ((*l_243) |= (safe_add_func_uint8_t_u_u((((*l_1125) = ((*l_1124) = l_1123)) != p_34), l_1096))))))), 0x075D0B99L)) != (*g_601)), l_1096)), 1UL)) & l_1120[1][0][0]))) || l_1126) , p_36.f0)), 11))) , p_36.f0))) < 0xF7AA38F526B64210LL) <= p_36.f0) != g_1021)) || p_36.f0) == 0x48L))) , (*l_857))) != (*g_820)), p_36.f0))), p_36.f0)) ^ 8L) && p_36.f0)), p_36.f0))) < p_36.f0) , &g_821) == l_857), 10)) == p_36.f0), p_36.f0)) == p_36.f0))) && p_36.f0))
{ /* block id: 500 */
l_1130 ^= 0xC7D2415EL;
}
else
{ /* block id: 502 */
int32_t l_1142[3];
int32_t l_1143[8] = {0xC35CE774L,0xC35CE774L,0xC35CE774L,0xC35CE774L,0xC35CE774L,0xC35CE774L,0xC35CE774L,0xC35CE774L};
int i;
for (i = 0; i < 3; i++)
l_1142[i] = 1L;
l_1130 = (safe_lshift_func_uint16_t_u_s((safe_rshift_func_int8_t_s_u(((0x91L == 3UL) <= p_36.f0), (safe_mod_func_int32_t_s_s((safe_sub_func_int32_t_s_s((safe_sub_func_int16_t_s_s(g_1021, (l_1142[1] = (((&l_221 != l_1141) < 6UL) >= (*g_465))))), l_1143[7])), p_36.f0)))), 13));
(*l_221) = (*g_883);
}
if (p_36.f0)
continue;
for (g_725 = 0; (g_725 <= 1); g_725 += 1)
{ /* block id: 510 */
uint16_t *l_1158 = &l_489;
uint8_t *l_1159 = (void*)0;
int i;
if ((l_1129[g_725] >= ((((void*)0 != (*g_861)) != (((*l_244) = ((safe_lshift_func_uint8_t_u_u((l_1160 = (safe_mod_func_uint8_t_u_u((safe_lshift_func_int8_t_s_u(l_1129[g_725], (l_1129[g_725] != ((safe_add_func_uint8_t_u_u((((((*l_1158) = (((((((*l_243)++) < ((p_36 = p_36) , g_457)) >= (safe_add_func_uint32_t_u_u((safe_add_func_int32_t_s_s((&l_858 == (void*)0), l_1120[1][0][0])), l_1129[g_725]))) & l_1129[g_725]) ^ 0xE8L) == 0x47L)) & g_78) == 0xFAL) != 0xFBL), 1L)) | 65527UL)))), l_1129[1]))), l_1129[g_725])) < g_989)) , (*g_154))) < (*g_168))))
{ /* block id: 516 */
struct S0 *l_1161 = &l_348;
struct S0 *l_1162 = &g_218;
(*l_1162) = ((*l_1161) = p_36);
return g_742;
}
else
{ /* block id: 520 */
(*l_639) = 0xD0832685L;
}
}
}
for (l_379 = (-12); (l_379 < (-27)); l_379 = safe_sub_func_int8_t_s_s(l_379, 4))
{ /* block id: 527 */
uint16_t l_1179[5];
int64_t l_1181 = 0L;
int16_t *l_1182 = &l_612;
int32_t l_1183 = 0x8020EBFBL;
int i;
for (i = 0; i < 5; i++)
l_1179[i] = 0x396CL;
(*g_540) = l_1165[7][0];
l_1183 = (safe_mul_func_uint16_t_u_u(((*g_465) = (safe_lshift_func_int8_t_s_u((g_138[6] < ((((safe_div_func_uint32_t_u_u((((((*l_1182) = (((safe_mul_func_int16_t_s_s(((safe_unary_minus_func_int16_t_s(((+(-1L)) == (*g_140)))) | ((p_36.f0 < g_80[4]) , (((safe_lshift_func_uint16_t_u_s(1UL, ((((p_36.f0 && ((safe_unary_minus_func_int8_t_s(l_1179[3])) > 0x126CDDFFFE4C1377LL)) & l_1179[3]) | p_36.f0) <= l_1180))) , 1L) < 0xBAL))), l_1181)) && 1UL) && p_36.f0)) ^ p_36.f0) && 4294967287UL) == p_36.f0), p_36.f0)) , 18446744073709551612UL) || (*g_168)) >= l_1179[2])), p_36.f0))), p_36.f0));
return g_725;
}
}
l_1184++;
return p_36.f0;
}
/* ------------------------------------------ */
/*
* reads : g_44 g_6 g_100 g_101 g_78 g_80 g_77 g_139 g_143 g_153 g_161 g_162 g_154 g_155 g_168 g_171 g_186 g_138 g_140 g_141
* writes: g_69 g_77 g_78 g_100 g_80 g_138 g_143 g_153 g_170 g_185 g_6 g_197
*/
uint8_t * func_37(int16_t p_38, uint8_t * p_39, uint8_t * p_40)
{ /* block id: 7 */
int16_t l_56[5] = {(-1L),(-1L),(-1L),(-1L),(-1L)};
uint16_t *l_65 = &g_44[1];
uint16_t **l_64 = &l_65;
uint8_t *l_68 = &g_6;
int32_t l_75 = 0x3B8FBA32L;
uint64_t *l_76 = &g_77;
const uint16_t *l_160 = &g_161;
const uint16_t **l_159 = &l_160;
int32_t *l_163 = &g_80[4];
int32_t l_211 = 0x3FFDFA38L;
uint8_t l_214 = 0x5AL;
int i;
(*g_162) = ((safe_rshift_func_uint16_t_u_u(((safe_rshift_func_int8_t_s_u(((safe_div_func_int16_t_s_s((safe_add_func_uint32_t_u_u(l_56[0], ((l_56[0] > (((*l_159) = func_57(func_61(((*l_64) = &g_44[0]), (safe_sub_func_int16_t_s_s((g_78 = (((*l_76) = ((p_39 == (g_69[2] = l_68)) < (safe_add_func_uint8_t_u_u((l_75 = (g_44[1] ^ (+((g_44[1] >= (safe_sub_func_uint16_t_u_u(((p_39 == l_68) >= l_56[0]), p_38))) == l_56[3])))), 0x35L)))) , l_56[0])), g_6))), g_44[0], l_68)) == &g_44[0])) || (-3L)))), p_38)) == l_56[0]), g_161)) == 0xCE94L), 4)) != p_38);
(*l_163) ^= (**g_153);
for (g_78 = 0; (g_78 != 21); g_78 = safe_add_func_uint16_t_u_u(g_78, 7))
{ /* block id: 58 */
int8_t l_172[5][3][2] = {{{0xC0L,0xC0L},{1L,0xC0L},{0xC0L,1L}},{{0xC0L,0xC0L},{1L,0xC0L},{0xC0L,1L}},{{0xC0L,0xC0L},{1L,0xC0L},{0xC0L,1L}},{{0xC0L,0xC0L},{1L,0xC0L},{0xC0L,1L}},{{0xC0L,0xC0L},{1L,0xC0L},{0xC0L,1L}}};
struct S0 l_177 = {5875};
int32_t l_182 = (-1L);
int32_t *l_183 = &l_182;
uint16_t *l_203 = &g_44[0];
int32_t l_212 = (-2L);
int32_t l_213[3][6][8] = {{{(-8L),(-6L),0x0A6ECE73L,1L,0x7B55C8FDL,1L,1L,0xB945AA5DL},{0x26AAB077L,0x901617E3L,0x0A6ECE73L,0xE15FCF3DL,(-1L),(-8L),(-8L),(-1L)},{0x7B55C8FDL,0x26AAB077L,0x26AAB077L,0x7B55C8FDL,(-6L),(-1L),(-2L),1L},{0xE15FCF3DL,0x0A6ECE73L,0x901617E3L,0x26AAB077L,(-1L),0xF8CB5B8BL,1L,1L},{1L,0x0A6ECE73L,(-6L),(-8L),0x901617E3L,(-1L),0x901617E3L,(-8L)},{0xB945AA5DL,0x26AAB077L,0xB945AA5DL,0x76AB3627L,0xBB3F4301L,(-8L),0x7B55C8FDL,0x901617E3L}},{{(-6L),0x901617E3L,0xE15FCF3DL,0x43CAFA4DL,0x26AAB077L,1L,0xBB3F4301L,0x0A6ECE73L},{(-6L),(-6L),1L,0x945D53B1L,0xBB3F4301L,0xBB3F4301L,0x945D53B1L,1L},{0xB945AA5DL,0xB945AA5DL,0xF8CB5B8BL,1L,0x901617E3L,(-6L),3L,(-2L)},{1L,0xE15FCF3DL,0xBB3F4301L,(-6L),(-1L),0x0A6ECE73L,0x26AAB077L,(-2L)},{0xE15FCF3DL,1L,0x43CAFA4DL,1L,(-6L),1L,0x43CAFA4DL,1L},{0x7B55C8FDL,0xF8CB5B8BL,(-6L),0x945D53B1L,(-1L),0x76AB3627L,1L,0x0A6ECE73L}},{{0x26AAB077L,0xBB3F4301L,(-2L),0x43CAFA4DL,0x7B55C8FDL,1L,1L,0x901617E3L},{(-8L),0x43CAFA4DL,(-6L),0x76AB3627L,0x76AB3627L,(-6L),0x43CAFA4DL,(-8L)},{0x76AB3627L,(-6L),0x43CAFA4DL,(-8L),0xB945AA5DL,0x945D53B1L,0x26AAB077L,1L},{0x43CAFA4DL,(-2L),0xBB3F4301L,0x26AAB077L,(-8L),0x0A6ECE73L,0x7B55C8FDL,0xB945AA5DL},{0x0A6ECE73L,0x26AAB077L,(-2L),1L,(-2L),0x26AAB077L,0x0A6ECE73L,(-1L)},{0xB945AA5DL,0x76AB3627L,0xBB3F4301L,(-8L),0x7B55C8FDL,0x901617E3L,0xF8CB5B8BL,(-1L)}}};
int i, j, k;
for (g_143 = (-12); (g_143 >= 26); g_143 = safe_add_func_uint64_t_u_u(g_143, 2))
{ /* block id: 61 */
const uint64_t * const l_169 = &g_143;
(*l_163) = (g_168 == l_169);
g_170 = &g_168;
}
for (p_38 = 0; (p_38 <= 5); p_38 += 1)
{ /* block id: 67 */
uint64_t l_181[6][2] = {{0x5912BC1F67979257LL,0x5912BC1F67979257LL},{0x5E601DA3A345BD6ELL,0x5912BC1F67979257LL},{0x5912BC1F67979257LL,0x5E601DA3A345BD6ELL},{0x5912BC1F67979257LL,0x5912BC1F67979257LL},{0x5E601DA3A345BD6ELL,0x5912BC1F67979257LL},{0x5912BC1F67979257LL,0x5E601DA3A345BD6ELL}};
int i, j;
if ((*g_162))
{ /* block id: 68 */
(*g_171) = (*g_101);
(*l_163) = p_38;
}
else
{ /* block id: 71 */
int i;
(*l_163) = (l_172[4][2][1] || (safe_lshift_func_uint16_t_u_u((((safe_div_func_uint32_t_u_u(((l_177 , 0x64L) && ((((*l_163) == (((safe_mod_func_uint8_t_u_u(l_177.f0, (p_38 && (*l_163)))) , &g_138[0]) != ((((l_182 = ((+l_181[0][0]) <= g_78)) != 18446744073709551611UL) ^ (*p_40)) , &g_138[0]))) <= (*l_163)) < g_161)), (*l_163))) >= (*l_163)) <= l_172[4][2][1]), p_38)));
for (l_75 = 7; (l_75 >= 0); l_75 -= 1)
{ /* block id: 76 */
int32_t **l_196 = &g_185;
(*g_186) = l_183;
for (l_182 = 0; (l_182 <= 5); l_182 += 1)
{ /* block id: 80 */
int32_t **l_187 = &g_185;
int i;
(*l_187) = (void*)0;
if (g_138[l_182])
continue;
}
for (g_6 = 2; (g_6 <= 7); g_6 += 1)
{ /* block id: 86 */
struct S0 l_198 = {4981};
int i;
(*l_183) |= ((safe_mul_func_int8_t_s_s((((-2L) ^ (g_138[g_6] != 1UL)) & 4294967290UL), (safe_mul_func_uint8_t_u_u((((((safe_rshift_func_int8_t_s_s((((safe_div_func_int8_t_s_s((-1L), (l_181[0][0] ^ g_80[3]))) , (g_197 = l_196)) != (void*)0), p_38)) | l_181[3][0]) != 0x22L) != 0UL) == (*g_140)), p_38)))) >= 3L);
(*g_101) = l_198;
(*l_183) &= (safe_lshift_func_uint16_t_u_s(0xF12DL, 4));
}
}
}
}
}
return p_39;
}
/* ------------------------------------------ */
/*
* reads : g_44 g_153
* writes: g_77 g_153
*/
uint16_t * func_57(struct S0 p_58, uint16_t p_59, uint8_t * const p_60)
{ /* block id: 35 */
int32_t l_146 = (-3L);
int32_t *l_157 = &l_146;
uint16_t *l_158[8] = {&g_44[1],&g_44[1],&g_44[1],&g_44[1],&g_44[1],&g_44[1],&g_44[1],&g_44[1]};
int i;
for (p_59 = 0; (p_59 <= 1); p_59 += 1)
{ /* block id: 38 */
uint16_t l_150 = 8UL;
for (g_77 = 0; (g_77 <= 1); g_77 += 1)
{ /* block id: 41 */
int32_t *l_147 = (void*)0;
int32_t *l_148 = &g_80[1];
int32_t *l_149[8][1][6] = {{{&l_146,&g_80[4],&g_80[7],(void*)0,(void*)0,&g_80[7]}},{{(void*)0,(void*)0,&g_80[7],&g_80[4],&l_146,&l_146}},{{(void*)0,&g_80[4],&g_80[4],(void*)0,&l_146,&g_80[7]}},{{&l_146,(void*)0,&g_80[4],&g_80[4],(void*)0,&l_146}},{{&l_146,&g_80[4],&g_80[7],(void*)0,(void*)0,&g_80[7]}},{{(void*)0,(void*)0,&g_80[7],&g_80[4],&l_146,&l_146}},{{(void*)0,&g_80[4],&g_80[4],(void*)0,&l_146,&g_80[7]}},{{&l_146,(void*)0,&g_80[4],&g_80[4],(void*)0,&l_146}}};
int i, j, k;
++l_150;
}
for (g_77 = 2; (g_77 <= 8); g_77 += 1)
{ /* block id: 46 */
volatile int32_t * volatile * volatile *l_156[3][5][5] = {{{&g_153,&g_153,&g_153,&g_153,&g_153},{&g_153,&g_153,&g_153,&g_153,&g_153},{&g_153,&g_153,&g_153,&g_153,&g_153},{&g_153,&g_153,&g_153,&g_153,&g_153},{&g_153,&g_153,&g_153,&g_153,&g_153}},{{&g_153,&g_153,&g_153,&g_153,&g_153},{&g_153,&g_153,&g_153,&g_153,&g_153},{&g_153,&g_153,&g_153,&g_153,&g_153},{&g_153,&g_153,&g_153,&g_153,&g_153},{&g_153,&g_153,&g_153,&g_153,&g_153}},{{&g_153,&g_153,&g_153,&g_153,&g_153},{&g_153,&g_153,&g_153,&g_153,&g_153},{&g_153,&g_153,&g_153,&g_153,&g_153},{&g_153,&g_153,&g_153,&g_153,&g_153},{&g_153,&g_153,&g_153,&g_153,&g_153}}};
int i, j, k;
if (g_44[p_59])
break;
g_153 = g_153;
l_157 = (void*)0;
}
}
return l_158[2];
}
/* ------------------------------------------ */
/*
* reads : g_100 g_101 g_78 g_80 g_77 g_44 g_139 g_143 g_989
* writes: g_100 g_78 g_80 g_138 g_143
*/
struct S0 func_61(uint16_t * p_62, int32_t p_63)
{ /* block id: 13 */
int32_t *l_79 = &g_80[4];
int32_t *l_81 = &g_80[4];
int32_t *l_82 = &g_80[4];
int32_t *l_83 = &g_80[3];
int32_t l_84 = 0xF396434DL;
int32_t l_85 = 0L;
int32_t l_86 = 0L;
int32_t *l_87 = &g_80[4];
int32_t l_88[8][2];
int32_t *l_89 = &l_86;
int32_t *l_90 = (void*)0;
int32_t *l_91 = (void*)0;
int32_t *l_92 = (void*)0;
int32_t *l_93[3][9][7] = {{{&l_86,&l_88[1][1],&l_88[1][1],&l_86,(void*)0,&l_84,&g_80[4]},{&l_86,&g_80[4],&l_85,&l_88[0][0],&l_85,&l_84,&g_80[4]},{&l_86,(void*)0,&l_86,(void*)0,&l_85,(void*)0,&g_80[4]},{&l_88[0][1],&l_88[0][1],(void*)0,(void*)0,&g_80[0],&g_80[5],&l_84},{&l_85,&l_86,&g_80[4],&l_85,&g_80[4],&l_86,&g_80[5]},{&g_80[8],&l_84,&l_88[4][1],&l_88[0][1],&l_86,&g_80[4],(void*)0},{&l_85,&l_86,&l_88[4][1],&l_84,&l_86,&l_85,&g_80[4]},{&l_85,&l_88[4][1],&g_80[4],&l_84,&g_80[0],&g_80[0],&l_84},{&l_88[0][1],&l_84,&l_88[0][1],&l_88[7][0],&l_84,&l_88[7][1],&l_86}},{{&l_85,&l_85,&l_86,&l_88[0][1],&l_84,&l_88[4][1],&g_80[5]},{(void*)0,&l_86,(void*)0,&g_80[4],(void*)0,&l_88[7][1],&l_84},{&l_88[1][1],&g_80[4],&l_84,&l_84,&g_80[5],&g_80[0],(void*)0},{&l_86,&l_88[0][1],(void*)0,&g_80[5],(void*)0,&l_85,&l_88[0][1]},{&l_88[0][1],&g_80[5],&l_88[7][1],&l_86,&l_84,&g_80[4],&l_86},{&g_80[4],&g_80[5],&g_80[4],&g_80[4],&l_84,&l_86,(void*)0},{&l_88[0][0],&l_88[0][1],&l_85,&l_84,&g_80[4],&l_84,&l_85},{&g_80[4],&g_80[4],&l_88[4][1],&g_80[4],&l_88[0][1],(void*)0,&l_85},{&l_85,&l_86,&l_84,&l_88[4][1],&l_86,&l_85,&l_84}},{{&l_88[7][1],&l_85,&l_88[0][1],&l_84,&l_88[0][1],&l_86,&g_80[4]},{&g_80[5],&l_84,&g_80[4],&l_88[0][1],&g_80[4],&g_80[4],&l_86},{&l_88[0][1],&l_88[4][1],&g_80[4],&g_80[4],&l_84,(void*)0,&l_85},{&l_88[1][1],&l_86,(void*)0,&l_88[4][1],&l_84,&l_85,&g_80[4]},{&l_88[1][1],&l_84,(void*)0,&l_88[4][1],(void*)0,&g_80[0],&l_88[7][0]},{&l_88[0][1],&l_86,&l_88[0][0],&g_80[5],&g_80[5],&l_88[0][0],&l_86},{&g_80[5],&g_80[5],&l_86,&l_85,(void*)0,&l_88[7][0],&l_86},{&l_88[7][1],&l_85,&g_80[5],&l_88[0][1],&l_84,&l_84,&l_84},{&l_85,&g_80[0],&l_85,&l_85,&l_84,&l_86,&l_86}}};
int8_t l_94 = 0x3CL;
uint32_t l_95 = 18446744073709551611UL;
struct S0 l_145[3] = {{6680},{6680},{6680}};
int i, j, k;
for (i = 0; i < 8; i++)
{
for (j = 0; j < 2; j++)
l_88[i][j] = 0xC254F4D2L;
}
lbl_144:
--l_95;
for (p_63 = (-4); (p_63 != 2); p_63++)
{ /* block id: 17 */
(*g_101) = g_100;
for (g_78 = 0; (g_78 >= (-5)); g_78--)
{ /* block id: 21 */
struct S0 l_104 = {4840};
return l_104;
}
}
for (l_85 = 0; (l_85 < (-3)); l_85--)
{ /* block id: 27 */
uint64_t l_107 = 18446744073709551615UL;
struct S0 l_124 = {13604};
int16_t *l_137 = &g_138[0];
int16_t l_142 = 7L;
(*l_83) ^= l_107;
g_143 |= ((safe_mul_func_uint8_t_u_u((safe_add_func_int32_t_s_s((safe_lshift_func_uint8_t_u_u(l_107, ((0xD77BL || (safe_mod_func_uint32_t_u_u(g_77, (((safe_add_func_int32_t_s_s((!(safe_mul_func_int16_t_s_s((*l_81), g_44[0]))), (!(((safe_sub_func_int32_t_s_s((g_77 > ((l_124 , (safe_div_func_uint16_t_u_u(g_78, (((((safe_add_func_uint32_t_u_u((safe_sub_func_uint16_t_u_u((safe_rshift_func_uint16_t_u_s((((safe_rshift_func_int16_t_s_u(((*l_137) = (safe_add_func_int8_t_s_s(g_80[3], p_63))), 12)) <= l_107) , 1UL), 3)), (*p_62))), g_44[0])) , (void*)0) == g_139) , 0UL) , l_124.f0)))) , g_44[0])), (-9L))) < 2UL) != l_107)))) >= 0x540FA7CF2F2AFFB9LL) , l_142)))) != 0x2C0DBAEEB66546BCLL))), p_63)), p_63)) > l_142);
if (p_63)
continue;
if (l_95)
goto lbl_144;
}
return l_145[2];
}
/* ---------------------------------------- */
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_6, "g_6", print_hash_value);
for (i = 0; i < 2; i++)
{
transparent_crc(g_44[i], "g_44[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_77, "g_77", print_hash_value);
transparent_crc(g_78, "g_78", print_hash_value);
for (i = 0; i < 9; i++)
{
transparent_crc(g_80[i], "g_80[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_100.f0, "g_100.f0", print_hash_value);
for (i = 0; i < 8; i++)
{
transparent_crc(g_138[i], "g_138[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_141, "g_141", print_hash_value);
transparent_crc(g_143, "g_143", print_hash_value);
transparent_crc(g_155, "g_155", print_hash_value);
transparent_crc(g_161, "g_161", print_hash_value);
transparent_crc(g_218.f0, "g_218.f0", print_hash_value);
transparent_crc(g_253, "g_253", print_hash_value);
transparent_crc(g_300, "g_300", print_hash_value);
for (i = 0; i < 10; i++)
{
for (j = 0; j < 7; j++)
{
transparent_crc(g_322[i][j], "g_322[i][j]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
transparent_crc(g_408, "g_408", print_hash_value);
transparent_crc(g_427, "g_427", print_hash_value);
transparent_crc(g_433, "g_433", print_hash_value);
transparent_crc(g_434, "g_434", print_hash_value);
transparent_crc(g_435, "g_435", print_hash_value);
transparent_crc(g_436, "g_436", print_hash_value);
transparent_crc(g_457, "g_457", print_hash_value);
transparent_crc(g_534, "g_534", print_hash_value);
transparent_crc(g_537, "g_537", print_hash_value);
transparent_crc(g_565, "g_565", print_hash_value);
transparent_crc(g_725, "g_725", print_hash_value);
transparent_crc(g_742, "g_742", print_hash_value);
for (i = 0; i < 2; i++)
{
for (j = 0; j < 10; j++)
{
transparent_crc(g_755[i][j], "g_755[i][j]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
transparent_crc(g_912, "g_912", print_hash_value);
transparent_crc(g_989, "g_989", print_hash_value);
transparent_crc(g_1021, "g_1021", print_hash_value);
for (i = 0; i < 3; i++)
{
transparent_crc(g_1238[i], "g_1238[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
for (i = 0; i < 8; i++)
{
transparent_crc(g_1283[i], "g_1283[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
for (i = 0; i < 10; i++)
{
transparent_crc(g_1360[i], "g_1360[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
for (i = 0; i < 7; i++)
{
transparent_crc(g_1647[i], "g_1647[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_1734, "g_1734", print_hash_value);
transparent_crc(g_1788, "g_1788", print_hash_value);
transparent_crc(g_1813, "g_1813", print_hash_value);
transparent_crc(g_1960, "g_1960", print_hash_value);
transparent_crc(g_2000, "g_2000", print_hash_value);
transparent_crc(g_2123, "g_2123", print_hash_value);
transparent_crc(g_2408, "g_2408", print_hash_value);
transparent_crc(g_2508, "g_2508", print_hash_value);
transparent_crc(g_2561, "g_2561", print_hash_value);
transparent_crc(g_2580, "g_2580", print_hash_value);
transparent_crc(g_2712, "g_2712", print_hash_value);
platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
return 0;
}
/************************ statistics *************************
XXX max struct depth: 1
breakdown:
depth: 0, occurrence: 710
depth: 1, occurrence: 29
XXX total union variables: 0
XXX non-zero bitfields defined in structs: 1
XXX zero bitfields defined in structs: 0
XXX const bitfields defined in structs: 0
XXX volatile bitfields defined in structs: 0
XXX structs with bitfields in the program: 41
breakdown:
indirect level: 0, occurrence: 29
indirect level: 1, occurrence: 7
indirect level: 2, occurrence: 1
indirect level: 3, occurrence: 2
indirect level: 4, occurrence: 2
XXX full-bitfields structs in the program: 29
breakdown:
indirect level: 0, occurrence: 29
XXX times a bitfields struct's address is taken: 81
XXX times a bitfields struct on LHS: 10
XXX times a bitfields struct on RHS: 38
XXX times a single bitfield on LHS: 2
XXX times a single bitfield on RHS: 188
XXX max expression depth: 48
breakdown:
depth: 1, occurrence: 442
depth: 2, occurrence: 104
depth: 3, occurrence: 6
depth: 4, occurrence: 5
depth: 5, occurrence: 4
depth: 6, occurrence: 5
depth: 7, occurrence: 2
depth: 8, occurrence: 3
depth: 10, occurrence: 1
depth: 12, occurrence: 1
depth: 13, occurrence: 1
depth: 15, occurrence: 2
depth: 16, occurrence: 6
depth: 17, occurrence: 10
depth: 18, occurrence: 3
depth: 19, occurrence: 4
depth: 20, occurrence: 5
depth: 21, occurrence: 4
depth: 22, occurrence: 1
depth: 23, occurrence: 4
depth: 24, occurrence: 5
depth: 25, occurrence: 3
depth: 26, occurrence: 3
depth: 27, occurrence: 2
depth: 28, occurrence: 2
depth: 29, occurrence: 3
depth: 30, occurrence: 3
depth: 31, occurrence: 2
depth: 32, occurrence: 1
depth: 33, occurrence: 2
depth: 34, occurrence: 1
depth: 35, occurrence: 2
depth: 36, occurrence: 2
depth: 37, occurrence: 1
depth: 40, occurrence: 1
depth: 47, occurrence: 1
depth: 48, occurrence: 1
XXX total number of pointers: 612
XXX times a variable address is taken: 1409
XXX times a pointer is dereferenced on RHS: 391
breakdown:
depth: 1, occurrence: 327
depth: 2, occurrence: 57
depth: 3, occurrence: 2
depth: 4, occurrence: 1
depth: 5, occurrence: 4
XXX times a pointer is dereferenced on LHS: 346
breakdown:
depth: 1, occurrence: 310
depth: 2, occurrence: 27
depth: 3, occurrence: 2
depth: 4, occurrence: 3
depth: 5, occurrence: 4
XXX times a pointer is compared with null: 43
XXX times a pointer is compared with address of another variable: 11
XXX times a pointer is compared with another pointer: 14
XXX times a pointer is qualified to be dereferenced: 10692
XXX max dereference level: 5
breakdown:
level: 0, occurrence: 0
level: 1, occurrence: 1404
level: 2, occurrence: 338
level: 3, occurrence: 253
level: 4, occurrence: 231
level: 5, occurrence: 137
XXX number of pointers point to pointers: 245
XXX number of pointers point to scalars: 344
XXX number of pointers point to structs: 23
XXX percent of pointers has null in alias set: 29.4
XXX average alias set size: 1.42
XXX times a non-volatile is read: 2016
XXX times a non-volatile is write: 1028
XXX times a volatile is read: 199
XXX times read thru a pointer: 84
XXX times a volatile is write: 85
XXX times written thru a pointer: 41
XXX times a volatile is available for access: 2.44e+03
XXX percentage of non-volatile access: 91.5
XXX forward jumps: 0
XXX backward jumps: 12
XXX stmts: 436
XXX max block depth: 5
breakdown:
depth: 0, occurrence: 26
depth: 1, occurrence: 37
depth: 2, occurrence: 56
depth: 3, occurrence: 79
depth: 4, occurrence: 102
depth: 5, occurrence: 136
XXX percentage a fresh-made variable is used: 16.3
XXX percentage an existing variable is used: 83.7
FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
********************* end of statistics **********************/