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

1566 lines
114 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: 10496790179530550455
*/
#include "csmith.h"
static long __undefined;
/* --- Struct/Union Declarations --- */
union U0 {
uint16_t f0;
uint8_t f1;
};
/* --- GLOBAL VARIABLES --- */
static volatile int32_t g_2 = 0L;/* VOLATILE GLOBAL g_2 */
static volatile int32_t g_3 = 1L;/* VOLATILE GLOBAL g_3 */
static int32_t g_4 = 6L;
static int32_t g_19[5][8] = {{0xAB4456E3L,0x683648BDL,0xAB4456E3L,0xE637C5B1L,0x683648BDL,0x8E136DC9L,0x8E136DC9L,0x683648BDL},{0x683648BDL,0x8E136DC9L,0x8E136DC9L,0x683648BDL,0xE637C5B1L,0xAB4456E3L,0x683648BDL,0xAB4456E3L},{0x683648BDL,3L,0xED45B0E8L,3L,0x683648BDL,0xED45B0E8L,9L,9L},{0xAB4456E3L,3L,0xE637C5B1L,0xE637C5B1L,3L,0xAB4456E3L,0x8E136DC9L,3L},{9L,0x8E136DC9L,0xE637C5B1L,9L,0xE637C5B1L,0x8E136DC9L,9L,0xAB4456E3L}};
static union U0 g_28 = {6UL};
static uint32_t g_45[1] = {4UL};
static uint16_t g_53 = 65535UL;
static uint16_t g_55 = 0UL;
static uint32_t g_66[7][1][6] = {{{0x0F83BF0BL,4294967295UL,0x919D6B80L,4294967295UL,0x0F83BF0BL,4294967295UL}},{{0x919D6B80L,0x2576953CL,0x485E09B7L,1UL,0x0F83BF0BL,1UL}},{{0x919D6B80L,0x6797B69EL,0x919D6B80L,0x2576953CL,0x485E09B7L,1UL}},{{4294967286UL,4294967295UL,0x485E09B7L,4294967295UL,0x485E09B7L,4294967295UL}},{{0x485E09B7L,0x6797B69EL,0x2376568CL,4294967295UL,0x0F83BF0BL,0x2576953CL}},{{4294967286UL,0x2576953CL,0x2376568CL,0x2576953CL,4294967286UL,4294967295UL}},{{0x919D6B80L,0x2576953CL,0x485E09B7L,1UL,0x0F83BF0BL,1UL}}};
static int32_t g_104 = 0L;
static int32_t *g_136 = &g_104;
static int32_t ** volatile g_137 = &g_136;/* VOLATILE GLOBAL g_137 */
static int8_t g_148 = 0x32L;
static int32_t *g_158 = &g_19[4][6];
static int8_t g_173 = 1L;
static volatile uint16_t g_197 = 0x7D3CL;/* VOLATILE GLOBAL g_197 */
static uint16_t g_200 = 0x213DL;
static int32_t **g_203 = &g_136;
static int32_t *** volatile g_202[10][10] = {{&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203},{&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203},{&g_203,&g_203,(void*)0,&g_203,&g_203,(void*)0,&g_203,&g_203,&g_203,&g_203},{&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203},{&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203},{&g_203,&g_203,(void*)0,&g_203,&g_203,(void*)0,&g_203,&g_203,&g_203,&g_203},{&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203},{&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203},{&g_203,&g_203,(void*)0,&g_203,&g_203,(void*)0,&g_203,&g_203,&g_203,&g_203},{&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203,&g_203}};
static int32_t *** volatile g_204 = &g_203;/* VOLATILE GLOBAL g_204 */
static int64_t g_224 = 0L;
static const uint16_t **g_257 = (void*)0;
static const uint16_t ***g_256 = &g_257;
static uint16_t *g_263 = &g_55;
static uint16_t **g_262 = &g_263;
static uint16_t ***g_261 = &g_262;
static int8_t *g_305[1] = {(void*)0};
static uint64_t g_314 = 0x5CF0B89F9E0A391BLL;
static uint64_t * volatile g_313 = &g_314;/* VOLATILE GLOBAL g_313 */
static int32_t g_392[9] = {0x179A116BL,0x179A116BL,0x179A116BL,0x179A116BL,0x179A116BL,0x179A116BL,0x179A116BL,0x179A116BL,0x179A116BL};
static volatile uint8_t g_457 = 0x2AL;/* VOLATILE GLOBAL g_457 */
static volatile uint8_t * volatile g_456 = &g_457;/* VOLATILE GLOBAL g_456 */
static volatile uint8_t * volatile * volatile g_455 = &g_456;/* VOLATILE GLOBAL g_455 */
static int16_t g_507 = 0x53D3L;
static int64_t g_509 = 7L;
static int32_t *g_513[3] = {(void*)0,(void*)0,(void*)0};
static int32_t ** volatile g_512 = &g_513[2];/* VOLATILE GLOBAL g_512 */
static int16_t *g_539[7] = {(void*)0,(void*)0,&g_507,(void*)0,(void*)0,&g_507,(void*)0};
static int16_t **g_538[2] = {&g_539[2],&g_539[2]};
static uint8_t g_634 = 0UL;
static const int16_t g_643[2] = {0x93A2L,0x93A2L};
static volatile uint32_t g_698 = 1UL;/* VOLATILE GLOBAL g_698 */
static volatile uint16_t g_702 = 0x9A91L;/* VOLATILE GLOBAL g_702 */
static union U0 g_751 = {0xC709L};
static union U0 *g_750 = &g_751;
static volatile uint16_t g_778 = 65532UL;/* VOLATILE GLOBAL g_778 */
static int8_t g_819[10][7][3] = {{{6L,0x6CL,6L},{6L,0x4CL,(-7L)},{6L,0x2EL,(-7L)},{6L,0x6CL,6L},{6L,0x4CL,(-7L)},{6L,0x2EL,(-7L)},{6L,0x6CL,6L}},{{6L,0x4CL,(-7L)},{6L,0x2EL,(-7L)},{6L,0x6CL,6L},{1L,6L,(-1L)},{1L,(-7L),0L},{1L,(-7L),1L},{1L,6L,(-1L)}},{{1L,(-7L),0L},{1L,(-7L),1L},{1L,6L,(-1L)},{1L,(-7L),0L},{1L,(-7L),1L},{1L,6L,(-1L)},{1L,(-7L),0L}},{{1L,(-7L),1L},{1L,6L,(-1L)},{1L,(-7L),0L},{1L,(-7L),1L},{1L,6L,(-1L)},{1L,(-7L),0L},{1L,(-7L),1L}},{{1L,6L,(-1L)},{1L,(-7L),0L},{1L,(-7L),1L},{1L,6L,(-1L)},{1L,(-7L),0L},{1L,(-7L),1L},{1L,6L,(-1L)}},{{1L,(-7L),0L},{1L,(-7L),1L},{1L,6L,(-1L)},{1L,(-7L),0L},{1L,(-7L),1L},{1L,6L,(-1L)},{1L,(-7L),0L}},{{1L,(-7L),1L},{1L,6L,(-1L)},{1L,(-7L),0L},{1L,(-7L),1L},{1L,6L,(-1L)},{1L,(-7L),0L},{1L,(-7L),1L}},{{1L,6L,(-1L)},{1L,(-7L),0L},{1L,(-7L),1L},{1L,6L,(-1L)},{1L,(-7L),0L},{1L,(-7L),1L},{1L,6L,(-1L)}},{{1L,(-7L),0L},{1L,(-7L),1L},{1L,6L,(-1L)},{1L,(-7L),0L},{1L,(-7L),1L},{1L,6L,(-1L)},{1L,(-7L),0L}},{{1L,(-7L),1L},{1L,6L,(-1L)},{1L,(-7L),0L},{1L,(-7L),1L},{1L,6L,(-1L)},{1L,(-7L),0L},{1L,(-7L),1L}}};
static uint64_t g_832[6] = {18446744073709551609UL,18446744073709551609UL,18446744073709551609UL,18446744073709551609UL,18446744073709551609UL,18446744073709551609UL};
static volatile int32_t *** volatile * volatile *g_839 = (void*)0;
static int32_t ** volatile g_840 = &g_513[2];/* VOLATILE GLOBAL g_840 */
static int32_t * const *g_883 = &g_513[2];
static int32_t * const **g_882 = &g_883;
static int64_t g_904[7][2] = {{4L,2L},{0x72B11519C69E4643LL,2L},{(-2L),4L},{0x72B11519C69E4643LL,0x72B11519C69E4643LL},{0x72B11519C69E4643LL,4L},{(-2L),0x51AC4E25DE7DF737LL},{4L,0x51AC4E25DE7DF737LL}};
static int32_t **** volatile g_938[2] = {(void*)0,(void*)0};
static union U0 ** volatile g_981 = &g_750;/* VOLATILE GLOBAL g_981 */
static const int32_t g_1000 = 0xE2B44768L;
static int16_t ***g_1011 = &g_538[1];
static int16_t **** volatile g_1010 = &g_1011;/* VOLATILE GLOBAL g_1010 */
static union U0 *g_1014 = &g_751;
static int32_t * volatile *g_1089[3] = {(void*)0,(void*)0,(void*)0};
static int32_t * volatile **g_1088 = &g_1089[1];
static int32_t * volatile ** const *g_1087 = &g_1088;
static int64_t g_1198[9] = {0xB5AC4C6124A9A8D5LL,0xB5AC4C6124A9A8D5LL,0xB5AC4C6124A9A8D5LL,0xB5AC4C6124A9A8D5LL,0xB5AC4C6124A9A8D5LL,0xB5AC4C6124A9A8D5LL,0xB5AC4C6124A9A8D5LL,0xB5AC4C6124A9A8D5LL,0xB5AC4C6124A9A8D5LL};
static int8_t **g_1209 = &g_305[0];
static int8_t ***g_1208[9] = {&g_1209,&g_1209,&g_1209,&g_1209,&g_1209,&g_1209,&g_1209,&g_1209,&g_1209};
static int32_t g_1215 = 1L;
static uint16_t g_1320[3] = {65532UL,65532UL,65532UL};
static volatile uint32_t g_1328 = 18446744073709551606UL;/* VOLATILE GLOBAL g_1328 */
static uint64_t g_1423 = 18446744073709551615UL;
static int32_t * const * const *g_1439 = &g_883;
static int32_t * const * const **g_1438[4] = {&g_1439,&g_1439,&g_1439,&g_1439};
static const int32_t ***g_1469 = (void*)0;
static uint8_t *g_1575[6][3] = {{&g_28.f1,&g_28.f1,&g_28.f1},{&g_28.f1,&g_28.f1,&g_28.f1},{&g_28.f1,&g_28.f1,&g_28.f1},{&g_28.f1,&g_28.f1,&g_28.f1},{&g_28.f1,&g_28.f1,&g_28.f1},{&g_28.f1,&g_28.f1,&g_28.f1}};
static uint8_t **g_1574 = &g_1575[2][1];
static const union U0 g_1636 = {0UL};
static uint8_t g_1653 = 0x54L;
static int32_t ** volatile g_1769 = (void*)0;/* VOLATILE GLOBAL g_1769 */
static int32_t ** volatile g_1770 = &g_513[2];/* VOLATILE GLOBAL g_1770 */
static union U0 ** volatile g_1781 = &g_750;/* VOLATILE GLOBAL g_1781 */
static volatile uint32_t g_1808 = 0x491E96CFL;/* VOLATILE GLOBAL g_1808 */
static uint16_t ****g_1823[8] = {&g_261,&g_261,&g_261,&g_261,&g_261,&g_261,&g_261,&g_261};
static uint16_t ***** const volatile g_1822 = &g_1823[0];/* VOLATILE GLOBAL g_1822 */
static int32_t ** volatile g_1853 = &g_513[0];/* VOLATILE GLOBAL g_1853 */
static int32_t ***g_1863 = &g_203;
static int32_t ****g_1862[4][2] = {{&g_1863,&g_1863},{&g_1863,&g_1863},{&g_1863,&g_1863},{&g_1863,&g_1863}};
static uint32_t g_1917 = 4UL;
static uint64_t * volatile *g_1941[8] = {&g_313,&g_313,&g_313,&g_313,&g_313,&g_313,&g_313,&g_313};
static uint64_t * volatile **g_1940[5] = {&g_1941[0],&g_1941[0],&g_1941[0],&g_1941[0],&g_1941[0]};
static uint32_t g_2035[3][3] = {{0UL,0UL,0UL},{0UL,0UL,0UL},{0UL,0UL,0UL}};
static union U0 ** volatile g_2039 = &g_750;/* VOLATILE GLOBAL g_2039 */
static volatile int8_t g_2082 = 0x10L;/* VOLATILE GLOBAL g_2082 */
static volatile uint32_t g_2134 = 0x2E12F5BDL;/* VOLATILE GLOBAL g_2134 */
static int16_t g_2162 = 7L;
static int32_t g_2166[6] = {0x678E9633L,0x678E9633L,0x678E9633L,0x678E9633L,0x678E9633L,0x678E9633L};
static volatile uint32_t g_2192 = 5UL;/* VOLATILE GLOBAL g_2192 */
static int16_t g_2253 = (-1L);
static volatile int32_t g_2262[5] = {1L,1L,1L,1L,1L};
static int32_t g_2287 = 0x808A29CEL;
static int32_t ** volatile g_2316[4] = {(void*)0,(void*)0,(void*)0,(void*)0};
static int32_t ** volatile g_2317 = &g_136;/* VOLATILE GLOBAL g_2317 */
static int64_t g_2491[8] = {(-8L),(-8L),(-8L),(-8L),(-8L),(-8L),(-8L),(-8L)};
static int64_t *g_2547 = &g_2491[4];
static int64_t **g_2546 = &g_2547;
static const uint64_t **g_2566[5] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static const uint32_t g_2616[3] = {2UL,2UL,2UL};
static uint32_t * volatile * volatile g_2621 = (void*)0;/* VOLATILE GLOBAL g_2621 */
static volatile int64_t g_2805 = (-10L);/* VOLATILE GLOBAL g_2805 */
static uint8_t g_2818 = 255UL;
static uint16_t *** const *g_2930 = (void*)0;
static uint16_t *** const **g_2929 = &g_2930;
static uint32_t g_2995 = 0x0D330007L;
static volatile uint8_t *** volatile * volatile g_2999 = (void*)0;/* VOLATILE GLOBAL g_2999 */
static volatile uint8_t *** volatile * volatile * volatile g_2998 = &g_2999;/* VOLATILE GLOBAL g_2998 */
static volatile uint32_t g_3067 = 0xF438D6B7L;/* VOLATILE GLOBAL g_3067 */
static int32_t ****g_3103 = (void*)0;
static int32_t *****g_3102[10] = {&g_3103,&g_3103,&g_3103,&g_3103,&g_3103,&g_3103,&g_3103,&g_3103,&g_3103,&g_3103};
static volatile uint32_t g_3176 = 0xB865B2D5L;/* VOLATILE GLOBAL g_3176 */
static int64_t *g_3227 = &g_904[5][0];
static int32_t * volatile * volatile g_3245[7] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static int8_t g_3258[5] = {(-3L),(-3L),(-3L),(-3L),(-3L)};
static const int32_t *g_3280 = &g_392[6];
static const int32_t **g_3279 = &g_3280;
static volatile uint32_t g_3423 = 0xCECE357CL;/* VOLATILE GLOBAL g_3423 */
static uint8_t **g_3466 = &g_1575[2][1];
static uint8_t g_3471 = 0x6AL;
static int16_t g_3472 = (-8L);
static const int32_t g_3497 = 1L;
static const int32_t *g_3496 = &g_3497;
static volatile int32_t g_3500[4] = {2L,2L,2L,2L};
/* --- FORWARD DECLARATIONS --- */
union U0 func_1(void);
int16_t func_10(int8_t p_11, union U0 p_12);
int64_t func_14(int16_t p_15, int32_t p_16);
uint32_t func_22(union U0 p_23, const uint16_t p_24, int32_t p_25, uint16_t p_26, const int16_t p_27);
uint16_t func_29(int16_t p_30, int32_t * p_31, uint32_t p_32, int8_t p_33);
int32_t func_39(uint8_t p_40, uint16_t p_41, int16_t p_42, int32_t * p_43);
uint16_t func_50(uint16_t p_51);
int32_t func_61(uint32_t p_62, int32_t * p_63, int32_t * const p_64);
int8_t func_79(int8_t p_80);
uint8_t func_83(int8_t p_84);
/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/*
* reads : g_4 g_750 g_751
* writes: g_4
*/
union U0 func_1(void)
{ /* block id: 0 */
uint32_t l_13 = 1UL;
union U0 l_3075 = {0x5703L};
uint32_t l_3129 = 0x343F7845L;
uint16_t * const l_3131 = &g_1320[0];
int16_t l_3142 = 0x289FL;
int16_t l_3175 = 0x783AL;
int16_t l_3177 = 3L;
int32_t l_3192 = (-1L);
int32_t l_3195[3][2] = {{1L,1L},{1L,1L},{1L,1L}};
uint32_t *l_3215 = &g_66[3][0][4];
uint32_t **l_3214[4] = {&l_3215,&l_3215,&l_3215,&l_3215};
uint32_t **l_3216 = (void*)0;
uint16_t **l_3243[8] = {&g_263,&g_263,&g_263,&g_263,&g_263,&g_263,&g_263,&g_263};
int8_t l_3254 = (-1L);
int16_t l_3302 = 0x0F25L;
uint8_t ***l_3342 = &g_1574;
uint8_t *** const *l_3341[8];
uint64_t l_3346 = 18446744073709551607UL;
uint16_t l_3368 = 1UL;
uint32_t l_3369 = 0x36F5B108L;
int32_t *****l_3381 = &g_1862[0][0];
int64_t l_3393 = 0xEE1939C463682F6FLL;
int32_t l_3403 = 0x687B261BL;
int8_t l_3417 = 0xE0L;
int32_t **l_3463 = &g_158;
int32_t ***l_3462 = &l_3463;
int32_t ****l_3461 = &l_3462;
int8_t l_3491 = 0x42L;
uint32_t l_3492 = 0x10ED5C76L;
int i, j;
for (i = 0; i < 8; i++)
l_3341[i] = &l_3342;
for (g_4 = 0; (g_4 != 10); g_4 = safe_add_func_int32_t_s_s(g_4, 2))
{ /* block id: 3 */
uint32_t l_9 = 0xD8D13034L;
int32_t *l_17 = (void*)0;
int32_t *l_18 = &g_19[2][3];
int32_t *l_3109 = &g_392[5];
uint16_t *l_3124 = &g_55;
uint64_t *l_3181 = &g_314;
uint64_t l_3186 = 0xA2DF52675B1F9504LL;
int32_t l_3197 = (-1L);
int32_t l_3199 = 0L;
uint16_t l_3228[6] = {65531UL,65531UL,1UL,65531UL,65531UL,1UL};
uint64_t l_3301 = 0x9AB1A6D22FBC28BCLL;
int16_t l_3304[7] = {0xCE70L,0xCE70L,0xCE70L,0xCE70L,0xCE70L,0xCE70L,0xCE70L};
uint16_t l_3305 = 0x1B7EL;
uint8_t l_3344 = 0x7AL;
union U0 ** const l_3354 = &g_1014;
int8_t l_3382[10] = {0L,(-9L),7L,(-9L),0L,0L,(-9L),0L,0xADL,(-9L)};
int32_t l_3394 = 0x0AF999A7L;
int32_t l_3396[6] = {0L,0L,0L,0L,0L,0L};
uint32_t l_3404 = 0x767A00D4L;
uint32_t l_3452 = 1UL;
int32_t l_3495 = 0L;
int32_t *l_3501 = &g_2166[3];
int i;
}
return (*g_750);
}
/* ------------------------------------------ */
/*
* reads : g_263 g_55 g_313 g_314 g_104
* writes: g_55 g_3102 g_104
*/
int16_t func_10(int8_t p_11, union U0 p_12)
{ /* block id: 1478 */
uint16_t l_3078 = 0xF956L;
int32_t **l_3084 = &g_158;
int32_t ***l_3083[4] = {&l_3084,&l_3084,&l_3084,&l_3084};
int32_t ****l_3082[2];
int32_t *****l_3081 = &l_3082[1];
int8_t *l_3098 = &g_819[4][6][0];
int8_t ** const l_3097 = &l_3098;
int8_t ** const *l_3096 = &l_3097;
uint8_t l_3099[10][5][2] = {{{0xC3L,0x9BL},{0xE6L,247UL},{0x9BL,247UL},{0xE6L,0x9BL},{0xC3L,0xC3L}},{{0xC3L,0x9BL},{0xE6L,247UL},{0x9BL,247UL},{0xE6L,0x9BL},{0xC3L,0xC3L}},{{0xC3L,0x9BL},{0xE6L,247UL},{0x9BL,247UL},{0xE6L,0x9BL},{0xC3L,0xC3L}},{{0xC3L,0x9BL},{0xE6L,247UL},{0x9BL,247UL},{0xE6L,0x9BL},{0xC3L,0xC3L}},{{0xC3L,0x9BL},{0xE6L,247UL},{0x9BL,247UL},{0xE6L,0x9BL},{0xC3L,0xC3L}},{{0xC3L,0x9BL},{0xE6L,247UL},{0x9BL,247UL},{0xE6L,0x9BL},{0xC3L,0xC3L}},{{0xC3L,0x9BL},{0xE6L,247UL},{0x9BL,247UL},{0xE6L,0x9BL},{0xC3L,0xC3L}},{{0xC3L,0x9BL},{0xE6L,247UL},{0x9BL,247UL},{0xE6L,0x9BL},{0xC3L,0xC3L}},{{0xC3L,0x9BL},{0xE6L,247UL},{0x9BL,247UL},{0xE6L,0x9BL},{0xC3L,0xC3L}},{{0xC3L,0x9BL},{0xE6L,247UL},{0x9BL,247UL},{0xE6L,0x9BL},{0xC3L,0xC3L}}};
uint16_t *l_3100[10] = {(void*)0,&g_1320[1],&l_3078,&g_1320[1],(void*)0,(void*)0,&g_1320[1],&l_3078,&g_1320[1],(void*)0};
uint32_t l_3101 = 18446744073709551612UL;
uint32_t l_3104 = 18446744073709551614UL;
int32_t l_3105[10][5] = {{6L,(-1L),0L,0x4DF37C72L,0xFB7F757FL},{0xA99FB238L,0xACEA4A8FL,0x4DF37C72L,0L,0x4DF37C72L},{0x4DF37C72L,0x4DF37C72L,0L,0L,0x94783E71L},{0x4DF37C72L,0xE8AC4457L,0x94783E71L,(-9L),0L},{0xA99FB238L,0x9BEF51C3L,0xFB7F757FL,1L,1L},{6L,0xE8AC4457L,0xE8AC4457L,6L,0xC6018CCDL},{(-1L),0x4DF37C72L,0xE8AC4457L,0x94783E71L,(-9L)},{0x94783E71L,0xACEA4A8FL,0xFB7F757FL,0xA99FB238L,0xE8AC4457L},{0x9BEF51C3L,(-1L),0x94783E71L,0x94783E71L,(-1L)},{0L,0L,0L,6L,(-1L)}};
int32_t l_3106 = 0x09EA1EF0L;
int32_t *l_3107 = &g_104;
int32_t l_3108[3];
int i, j, k;
for (i = 0; i < 2; i++)
l_3082[i] = &l_3083[1];
for (i = 0; i < 3; i++)
l_3108[i] = 0x480950F2L;
l_3108[0] = ((*l_3107) = (l_3106 = ((((((safe_add_func_int32_t_s_s(l_3078, ((safe_add_func_uint64_t_u_u(((((l_3081 = l_3081) == &l_3082[1]) & (l_3105[9][4] |= ((safe_mod_func_uint32_t_u_u((safe_mul_func_int8_t_s_s(((safe_mod_func_int16_t_s_s((safe_add_func_uint32_t_u_u(l_3078, ((!(--(*g_263))) >= (((((&g_1209 == (l_3096 = (void*)0)) & (l_3101 ^= l_3099[5][1][0])) ^ ((g_3102[0] = (void*)0) == &g_1087)) >= l_3078) > p_12.f0)))), 1L)) && l_3099[2][0][0]), 255UL)), p_11)) <= l_3104))) , (*g_313)), l_3078)) ^ l_3099[3][3][0]))) | l_3099[5][1][0]) & p_12.f0) , p_11) , l_3105[9][4]) , l_3105[9][4])));
return (*l_3107);
}
/* ------------------------------------------ */
/*
* reads : g_2253 g_19 g_263 g_2 g_2491 g_55 g_1917 g_455 g_456 g_457 g_2035 g_1320 g_1574 g_1575 g_28.f1 g_1863 g_203 g_136 g_104 g_2039 g_750 g_751 g_2546 g_882 g_883 g_513 g_2547 g_2566 g_148 g_314 g_2317 g_2616 g_262 g_1010 g_1011 g_751.f0 g_53 g_173 g_2995 g_1653 g_509 g_3067
* writes: g_2253 g_45 g_55 g_1917 g_104 g_2491 g_2566 g_148 g_314 g_904 g_28.f1 g_751.f0 g_751 g_173 g_2995 g_2998 g_832 g_136 g_513 g_1653 g_509
*/
int64_t func_14(int16_t p_15, int32_t p_16)
{ /* block id: 5 */
int32_t *l_1178[4];
int8_t l_1414[2][7][9] = {{{0x67L,0x08L,0x08L,0x67L,0xC3L,(-1L),0xC3L,0x67L,0x08L},{(-1L),(-1L),0x37L,0xFEL,0x69L,0xFEL,0x37L,(-1L),(-1L)},{(-1L),0x08L,0xFDL,0L,0xFDL,0x08L,(-1L),(-1L),0x08L},{0L,1L,(-1L),1L,0L,0x37L,0x37L,0L,1L},{(-1L),0xFDL,(-1L),0x64L,0xC3L,0xC3L,0x64L,(-1L),0xFDL},{0x69L,0xFEL,0x37L,(-1L),(-1L),0x37L,0xFEL,0x69L,0xFEL},{0x08L,0L,0x64L,0x64L,0L,0x08L,0xC3L,0x08L,0L}},{{1L,0xFEL,0xFEL,1L,0x69L,0L,0x69L,1L,0xFEL},{0xFDL,0xFDL,0xC3L,0L,0x67L,0L,0xC3L,0xFDL,0xFDL},{0xFEL,1L,0x69L,0L,0x69L,1L,0xFEL,0xFEL,1L},{0L,0x08L,0xC3L,0x08L,0L,0x64L,0x64L,0L,0x08L},{0xFEL,0x69L,0xFEL,0x37L,(-1L),(-1L),0x37L,0xFEL,0x69L},{0xFDL,(-1L),0x64L,0xC3L,0xC3L,0x64L,(-1L),0xFDL,(-1L)},{1L,0L,0x37L,0x37L,0L,1L,(-1L),1L,0L}}};
uint8_t l_1415 = 7UL;
int8_t l_1429 = 0L;
uint32_t *l_2484[10][3][6] = {{{(void*)0,&g_45[0],&g_45[0],&g_45[0],(void*)0,&g_45[0]},{&g_45[0],&g_45[0],&g_66[3][0][4],(void*)0,(void*)0,(void*)0},{&g_66[0][0][0],&g_45[0],&g_66[0][0][0],(void*)0,&g_66[3][0][4],&g_66[5][0][3]}},{{&g_66[3][0][4],&g_66[3][0][4],&g_45[0],&g_66[3][0][4],&g_66[3][0][4],&g_45[0]},{&g_45[0],&g_66[3][0][4],&g_45[0],&g_66[3][0][4],(void*)0,(void*)0},{&g_66[3][0][4],(void*)0,&g_45[0],(void*)0,&g_66[3][0][4],&g_45[0]}},{{&g_66[0][0][0],&g_45[0],(void*)0,(void*)0,&g_45[0],&g_45[0]},{&g_45[0],(void*)0,&g_66[3][0][4],&g_45[0],(void*)0,&g_45[0]},{(void*)0,&g_66[3][0][4],(void*)0,&g_45[0],&g_66[3][0][4],&g_45[0]}},{{&g_45[0],&g_45[0],&g_45[0],&g_66[3][0][4],&g_45[0],&g_45[0]},{&g_66[3][0][4],(void*)0,&g_45[0],&g_66[3][0][4],&g_45[0],&g_45[0]},{&g_45[0],&g_45[0],&g_45[0],&g_66[0][0][5],&g_45[0],&g_66[5][0][0]}},{{&g_66[5][0][3],(void*)0,&g_45[0],&g_45[0],&g_45[0],&g_45[0]},{&g_66[3][0][4],&g_45[0],&g_45[0],&g_66[5][0][5],&g_66[5][0][5],&g_45[0]},{(void*)0,(void*)0,&g_45[0],&g_45[0],&g_45[0],(void*)0}},{{&g_66[3][0][4],&g_66[3][0][4],(void*)0,&g_45[0],&g_45[0],&g_45[0]},{&g_45[0],&g_66[3][0][4],(void*)0,&g_66[3][0][4],(void*)0,(void*)0},{&g_45[0],&g_66[3][0][4],&g_45[0],&g_66[3][0][4],&g_45[0],&g_45[0]}},{{&g_66[3][0][4],&g_45[0],&g_45[0],&g_66[5][0][3],&g_45[0],&g_45[0]},{&g_45[0],(void*)0,&g_66[3][0][4],&g_45[0],&g_45[0],&g_45[0]},{&g_45[0],&g_45[0],&g_66[3][0][4],&g_45[0],&g_66[3][0][4],&g_66[3][0][4]}},{{&g_66[3][0][4],&g_66[3][0][4],&g_45[0],&g_66[3][0][4],&g_45[0],&g_45[0]},{&g_45[0],&g_66[3][0][4],&g_45[0],(void*)0,&g_45[0],&g_45[0]},{&g_45[0],&g_45[0],&g_45[0],&g_66[3][0][4],&g_45[0],(void*)0}},{{&g_45[0],(void*)0,&g_66[3][0][4],&g_45[0],&g_45[0],&g_66[3][0][4]},{&g_45[0],&g_45[0],&g_66[3][0][4],&g_66[3][0][4],&g_66[3][0][4],&g_45[0]},{(void*)0,&g_66[3][0][4],&g_66[3][0][4],&g_66[5][0][5],&g_66[5][0][5],(void*)0}},{{&g_66[3][0][4],&g_45[0],&g_66[3][0][4],&g_45[0],&g_66[3][0][4],&g_66[3][0][4]},{&g_45[0],&g_45[0],&g_45[0],&g_45[0],&g_66[5][0][5],&g_45[0]},{&g_45[0],&g_66[3][0][4],&g_45[0],&g_66[3][0][4],&g_66[3][0][4],&g_45[0]}}};
union U0 l_2486 = {1UL};
uint8_t * const *l_2489 = (void*)0;
const int32_t l_2490 = (-10L);
int32_t **l_2536[2];
int32_t ***l_2535 = &l_2536[1];
int32_t ****l_2534 = &l_2535;
int32_t *****l_2533 = &l_2534;
union U0 l_2548 = {9UL};
uint32_t l_2617 = 18446744073709551615UL;
union U0 **l_2627 = &g_750;
union U0 ***l_2626 = &l_2627;
int16_t ** const *l_2696[6] = {&g_538[1],&g_538[1],&g_538[1],&g_538[1],&g_538[1],&g_538[1]};
int16_t ** const **l_2695 = &l_2696[3];
uint16_t *****l_2719 = &g_1823[0];
uint32_t l_2747 = 18446744073709551613UL;
uint64_t *l_2748[4][9] = {{&g_832[5],&g_1423,&g_832[2],&g_832[5],&g_832[2],&g_1423,&g_832[5],&g_832[5],&g_832[5]},{&g_832[5],&g_1423,&g_832[2],&g_832[5],&g_832[2],&g_1423,&g_832[5],&g_832[5],&g_832[5]},{&g_832[5],&g_1423,&g_832[2],&g_832[5],&g_832[2],&g_1423,&g_832[5],&g_832[5],&g_832[5]},{&g_832[5],&g_1423,&g_832[2],&g_832[5],&g_832[2],&g_1423,&g_832[5],&g_832[5],&g_832[5]}};
uint8_t l_2749[5];
int32_t l_2756 = (-1L);
int32_t l_2758[8][7] = {{0x136E3CD9L,(-9L),(-9L),0x136E3CD9L,(-9L),(-9L),0x136E3CD9L},{(-9L),0x136E3CD9L,(-9L),(-9L),0x136E3CD9L,(-9L),(-9L)},{0x136E3CD9L,0x136E3CD9L,0x243E742DL,0x136E3CD9L,0x136E3CD9L,0x243E742DL,0x136E3CD9L},{0x136E3CD9L,(-9L),(-9L),0x136E3CD9L,(-9L),(-9L),0x136E3CD9L},{(-9L),0x136E3CD9L,(-9L),(-9L),0x136E3CD9L,(-9L),(-9L)},{0x136E3CD9L,0x136E3CD9L,0x243E742DL,0x136E3CD9L,0x136E3CD9L,0x243E742DL,0x136E3CD9L},{0x136E3CD9L,(-9L),(-9L),0x136E3CD9L,(-9L),(-9L),0x136E3CD9L},{(-9L),0x136E3CD9L,0x243E742DL,0x243E742DL,(-9L),0x243E742DL,0x243E742DL}};
uint16_t l_2759[7];
uint8_t *** const *l_2776 = (void*)0;
uint32_t l_2856 = 0x94B39F35L;
uint64_t l_2886 = 0xBCA06C0BF88DD632LL;
int64_t l_2897 = 1L;
uint64_t **l_2976 = &l_2748[1][5];
uint64_t ***l_2975 = &l_2976;
int8_t ***l_3016 = &g_1209;
uint64_t l_3071 = 0x1BF76AA988AB9B3DLL;
uint32_t l_3072 = 4294967295UL;
int i, j, k;
for (i = 0; i < 4; i++)
l_1178[i] = &g_392[2];
for (i = 0; i < 2; i++)
l_2536[i] = (void*)0;
for (i = 0; i < 5; i++)
l_2749[i] = 3UL;
for (i = 0; i < 7; i++)
l_2759[i] = 9UL;
for (p_16 = 10; (p_16 <= 28); ++p_16)
{ /* block id: 8 */
int32_t *l_38 = &g_4;
uint32_t *l_44 = &g_45[0];
uint16_t *l_52 = &g_53;
uint16_t *l_54 = &g_55;
uint16_t *l_1426[2];
uint16_t *l_1427[10][1][6] = {{{&g_1320[2],&g_1320[1],(void*)0,(void*)0,&g_1320[1],&g_200}},{{(void*)0,&g_1320[2],(void*)0,&g_1320[2],(void*)0,&g_1320[1]}},{{&g_1320[2],&g_1320[2],&g_200,&g_1320[2],&g_1320[1],&g_28.f0}},{{&g_1320[2],&g_1320[1],&g_28.f0,&g_1320[2],&g_1320[2],&g_28.f0}},{{(void*)0,(void*)0,&g_200,(void*)0,&g_1320[2],&g_1320[1]}},{{&g_1320[2],&g_1320[1],(void*)0,(void*)0,&g_1320[1],&g_200}},{{(void*)0,&g_1320[2],(void*)0,&g_1320[2],(void*)0,&g_1320[1]}},{{&g_1320[2],&g_1320[2],&g_200,&g_1320[2],&g_1320[1],&g_28.f0}},{{&g_1320[2],&g_1320[1],&g_28.f0,&g_1320[2],&g_1320[2],&g_28.f0}},{{(void*)0,(void*)0,&g_200,(void*)0,&g_1320[2],&g_1320[1]}}};
uint16_t *l_1428 = &g_1320[2];
uint32_t *l_2479 = &g_2035[1][2];
int i, j, k;
for (i = 0; i < 2; i++)
l_1426[i] = &g_200;
}
for (g_2253 = 0; (g_2253 < 10); g_2253++)
{ /* block id: 1145 */
return g_19[1][4];
}
if ((((g_45[0] = (safe_rshift_func_uint16_t_u_u((1UL >= 3UL), 9))) && (0UL & (((0xB94CF11DE4403E51LL == (safe_unary_minus_func_int8_t_s(((l_2486 , (((*g_263) = (safe_add_func_int64_t_s_s(0x32F9C2F704001E94LL, p_15))) ^ ((l_2489 == (((g_2 , (void*)0) == (void*)0) , (void*)0)) , l_2490))) > 0L)))) < 0x5162L) ^ g_2491[1]))) <= 5UL))
{ /* block id: 1150 */
uint8_t l_2502[4][6][9] = {{{0x52L,252UL,253UL,1UL,0x60L,0x6EL,1UL,0UL,0xCEL},{0x90L,0UL,0UL,6UL,0xA2L,7UL,0x74L,0x74L,7UL},{0x52L,0x27L,1UL,0x27L,0x52L,0xC2L,0x6DL,0x36L,0xB6L},{0UL,1UL,0x1DL,251UL,254UL,0x47L,0x8CL,6UL,248UL},{0x3FL,1UL,0xAAL,0x6EL,0x8AL,0xC2L,0xF3L,7UL,0x7CL},{0x74L,0x47L,248UL,248UL,1UL,7UL,0x19L,1UL,0x6FL}},{{253UL,0x4DL,0x8AL,0x78L,0x6DL,0x6EL,246UL,0UL,246UL},{0xC1L,0x47L,247UL,247UL,0x47L,0xC1L,0x1DL,0x90L,0xA2L},{0x6DL,1UL,0UL,0UL,6UL,7UL,0xCEL,0x27L,254UL},{6UL,1UL,0x90L,7UL,0x1DL,254UL,0x1DL,7UL,0x90L},{0x60L,0x27L,0x8FL,0UL,0xB6L,1UL,246UL,0x4DL,0xF3L},{251UL,0UL,0x6FL,0x68L,0x74L,0x8CL,0x19L,0x1DL,0x1DL}},{{0xF3L,252UL,0x8FL,0x36L,0x8FL,252UL,0xF3L,0UL,0x52L},{248UL,0x19L,0x90L,248UL,7UL,1UL,0x8CL,254UL,0xC1L},{253UL,0UL,1UL,1UL,0x18L,0x49L,253UL,250UL,0x6DL},{1UL,0UL,1UL,0x90L,0x47L,0x68L,0x8CL,0xC1L,0x6FL},{246UL,1UL,0x8FL,7UL,0x3FL,0xABL,253UL,0UL,0xB6L},{0x68L,7UL,251UL,0x90L,0x90L,251UL,7UL,0x68L,1UL}},{{0x60L,0x0BL,0x8AL,1UL,6UL,0x5BL,0x8FL,0UL,0x18L},{7UL,7UL,0xC1L,251UL,1UL,0x19L,6UL,0x19L,1UL},{0x5CL,0UL,253UL,0UL,1UL,252UL,251UL,0x27L,0xB6L},{251UL,0xC1L,7UL,7UL,0UL,0UL,0x47L,0UL,0x6FL},{0x6DL,0xC2L,0x52L,0x27L,1UL,0x27L,0x52L,0xC2L,0x6DL},{0x90L,251UL,7UL,0x68L,1UL,1UL,0UL,0xA2L,247UL}}};
uint8_t ***l_2538 = &g_1574;
uint8_t *** const *l_2537[9][5] = {{&l_2538,&l_2538,&l_2538,&l_2538,&l_2538},{&l_2538,&l_2538,&l_2538,&l_2538,&l_2538},{&l_2538,&l_2538,&l_2538,&l_2538,&l_2538},{&l_2538,&l_2538,&l_2538,&l_2538,&l_2538},{&l_2538,&l_2538,&l_2538,&l_2538,&l_2538},{&l_2538,&l_2538,&l_2538,&l_2538,&l_2538},{&l_2538,&l_2538,&l_2538,&l_2538,&l_2538},{&l_2538,&l_2538,&l_2538,&l_2538,&l_2538},{&l_2538,&l_2538,&l_2538,&l_2538,&l_2538}};
int32_t ***l_2545 = &l_2536[1];
const uint16_t *l_2556 = &g_751.f0;
uint32_t l_2561 = 18446744073709551611UL;
uint64_t *l_2569 = &g_832[5];
uint64_t **l_2568 = &l_2569;
int32_t l_2574 = 0L;
int32_t l_2575 = 1L;
int32_t l_2576 = 0x9BFDBF66L;
int32_t l_2577[1][1];
uint64_t l_2578[1];
int32_t *l_2620 = &g_2166[1];
int32_t l_2638 = 0xF9FCC5A4L;
int i, j, k;
for (i = 0; i < 1; i++)
{
for (j = 0; j < 1; j++)
l_2577[i][j] = (-1L);
}
for (i = 0; i < 1; i++)
l_2578[i] = 0UL;
for (g_55 = 0; (g_55 < 60); ++g_55)
{ /* block id: 1153 */
union U0 **l_2503 = &g_750;
int32_t l_2504[7];
uint32_t *l_2505 = &g_1917;
int32_t l_2530 = (-4L);
uint32_t l_2531 = 2UL;
uint8_t ****l_2539 = &l_2538;
int64_t l_2555[5] = {0x8FA7ECCBCD0DF008LL,0x8FA7ECCBCD0DF008LL,0x8FA7ECCBCD0DF008LL,0x8FA7ECCBCD0DF008LL,0x8FA7ECCBCD0DF008LL};
int i;
for (i = 0; i < 7; i++)
l_2504[i] = 0x27045DE3L;
(***g_1863) |= ((safe_div_func_int32_t_s_s((safe_sub_func_int32_t_s_s(((safe_sub_func_uint64_t_u_u((safe_lshift_func_uint16_t_u_s((*g_263), (l_2502[3][3][7] != (p_16 , (l_2503 != ((--(*l_2505)) , (((safe_sub_func_int64_t_s_s((safe_mul_func_uint8_t_u_u((((l_2504[0] >= (((safe_add_func_uint16_t_u_u((safe_sub_func_uint8_t_u_u((**g_455), (l_2502[1][0][5] ^ (safe_div_func_int16_t_s_s(((safe_mod_func_uint8_t_u_u(((safe_div_func_int64_t_s_s((safe_lshift_func_int8_t_s_u((l_2530 |= (safe_mod_func_uint32_t_u_u(((((safe_add_func_uint32_t_u_u(((safe_mod_func_int64_t_s_s(g_2035[2][0], p_16)) && 0x58BBL), 0x8B291B56L)) , l_2504[1]) || g_1320[0]) > 6L), p_15))), (**g_1574))), l_2504[5])) < p_15), p_16)) ^ p_16), p_16))))), p_15)) , 0L) , p_15)) , (**g_455)) & l_2531), p_16)), l_2502[3][3][7])) < 8L) , (void*)0))))))), p_16)) < l_2504[5]), 0L)), p_16)) && (**g_1574));
if (((***g_1863) &= 0x789405C4L))
{ /* block id: 1158 */
int32_t *l_2532[10][6][2] = {{{(void*)0,(void*)0},{&g_2166[3],&g_2166[4]},{&l_2504[0],&l_2504[1]},{&g_2166[2],&l_2504[1]},{&l_2504[0],&g_2166[4]},{&g_2166[3],(void*)0}},{{(void*)0,(void*)0},{&g_2166[4],&g_2166[2]},{&g_2166[0],&l_2530},{(void*)0,(void*)0},{(void*)0,(void*)0},{&l_2504[1],&l_2504[0]}},{{&l_2504[1],(void*)0},{(void*)0,(void*)0},{(void*)0,&l_2530},{&g_2166[0],&g_2166[2]},{&g_2166[4],(void*)0},{(void*)0,(void*)0}},{{&g_2166[3],&g_2166[4]},{&l_2504[0],&l_2504[1]},{&g_2166[2],&l_2504[1]},{&l_2504[0],&g_2166[4]},{&g_2166[3],(void*)0},{(void*)0,(void*)0}},{{&g_2166[4],&g_2166[2]},{&g_2166[0],&l_2504[1]},{(void*)0,(void*)0},{(void*)0,(void*)0},{&g_2166[2],(void*)0},{&g_2166[2],(void*)0}},{{(void*)0,(void*)0},{(void*)0,&l_2504[1]},{&l_2504[6],&g_2166[3]},{(void*)0,&l_2504[1]},{&l_2504[1],(void*)0},{&g_2166[0],(void*)0}},{{(void*)0,&l_2504[0]},{&g_2166[3],&l_2504[0]},{(void*)0,(void*)0},{&g_2166[0],(void*)0},{&l_2504[1],&l_2504[1]},{(void*)0,&g_2166[3]}},{{&l_2504[6],&l_2504[1]},{(void*)0,(void*)0},{(void*)0,(void*)0},{&g_2166[2],(void*)0},{&g_2166[2],(void*)0},{(void*)0,(void*)0}},{{(void*)0,&l_2504[1]},{&l_2504[6],&g_2166[3]},{(void*)0,&l_2504[1]},{&l_2504[1],(void*)0},{&g_2166[0],(void*)0},{(void*)0,&l_2504[0]}},{{&g_2166[3],&l_2504[0]},{(void*)0,(void*)0},{&g_2166[0],(void*)0},{&l_2504[1],&l_2504[1]},{(void*)0,&g_2166[3]},{&l_2504[6],&l_2504[1]}}};
uint8_t *****l_2540 = &l_2539;
int i, j, k;
l_2532[5][4][0] = (void*)0;
(*l_2534) = (((((l_2504[2] | (((**g_2039) , l_2533) != &g_1087)) , l_2537[2][2]) != ((*l_2540) = l_2539)) , ((safe_lshift_func_int16_t_s_s((safe_mul_func_int16_t_s_s((l_2502[3][3][7] , 1L), (&l_2532[5][4][0] != (void*)0))), l_2502[0][4][3])) || (-1L))) , l_2545);
l_2504[3] = (g_2546 != (l_2548 , (void*)0));
}
else
{ /* block id: 1163 */
int32_t **l_2549 = &l_1178[0];
const uint64_t ***l_2567[6][9] = {{&g_2566[0],(void*)0,&g_2566[1],(void*)0,&g_2566[0],&g_2566[0],&g_2566[0],&g_2566[4],&g_2566[4]},{&g_2566[1],(void*)0,(void*)0,&g_2566[0],(void*)0,(void*)0,&g_2566[1],&g_2566[0],&g_2566[0]},{&g_2566[3],&g_2566[2],(void*)0,&g_2566[0],&g_2566[0],&g_2566[0],(void*)0,&g_2566[2],&g_2566[3]},{(void*)0,&g_2566[0],&g_2566[2],&g_2566[0],(void*)0,(void*)0,(void*)0,&g_2566[0],&g_2566[2]},{&g_2566[0],&g_2566[0],&g_2566[2],&g_2566[1],&g_2566[2],&g_2566[4],&g_2566[3],&g_2566[4],&g_2566[2]},{(void*)0,(void*)0,(void*)0,(void*)0,&g_2566[0],&g_2566[0],&g_2566[0],&g_2566[2],&g_2566[0]}};
int64_t *l_2570 = (void*)0;
int8_t *l_2571 = (void*)0;
int8_t *l_2572 = &l_1414[0][2][3];
int8_t *l_2573 = &g_148;
int i, j;
(*g_136) = ((*g_263) != (l_2502[3][3][8] != p_15));
(*l_2549) = (**g_882);
l_2574 = ((*g_136) = (!(safe_sub_func_int8_t_s_s((safe_sub_func_int64_t_s_s(((l_2555[2] , l_2556) != (p_16 , (void*)0)), (safe_mul_func_int8_t_s_s((l_2530 &= ((*l_2573) ^= (safe_rshift_func_int16_t_s_s((p_16 && 0x64L), (((*l_2572) = (((((l_2561 , (**l_2503)) , (g_2566[0] = ((((((safe_sub_func_uint16_t_u_u((((((**g_2546) = ((safe_lshift_func_int16_t_s_u(0x1814L, p_16)) && p_16)) , 0xC01AL) && (-6L)) | 1L), 0x74B9L)) >= 0x45D303E9L) < l_2502[1][2][2]) || p_16) > 0L) , g_2566[0]))) == l_2568) , &l_2555[2]) != l_2570)) <= (-7L)))))), p_16)))), p_16))));
(**g_203) = (p_15 && p_15);
}
}
--l_2578[0];
(**g_203) ^= ((+p_16) | 0x23BBL);
for (l_2576 = 0; (l_2576 >= 15); l_2576++)
{ /* block id: 1180 */
int64_t l_2586 = 0xC020A75CF4C71829LL;
uint64_t l_2641 = 18446744073709551615UL;
int32_t l_2649 = (-2L);
union U0 ***l_2667[8] = {&l_2627,&l_2627,&l_2627,&l_2627,&l_2627,&l_2627,&l_2627,&l_2627};
int i;
}
}
else
{ /* block id: 1250 */
int32_t ***l_2674 = &g_203;
int32_t ***l_2679 = &l_2536[1];
int32_t ***l_2683 = &l_2536[1];
uint16_t *** const *l_2717[2];
uint16_t *** const **l_2716 = &l_2717[0];
uint16_t *****l_2718 = &g_1823[0];
int32_t l_2725[6][4][5] = {{{1L,0xBFA4FF1EL,1L,6L,6L},{(-8L),0xEDC7E1A2L,(-8L),0x03F8C17DL,0x03F8C17DL},{1L,0xBFA4FF1EL,1L,6L,6L},{(-8L),0xEDC7E1A2L,(-8L),0x03F8C17DL,0x03F8C17DL}},{{1L,0xBFA4FF1EL,1L,6L,6L},{(-8L),0xEDC7E1A2L,(-8L),0x03F8C17DL,0x03F8C17DL},{1L,0xBFA4FF1EL,1L,6L,6L},{(-8L),0xEDC7E1A2L,(-8L),0x03F8C17DL,0x03F8C17DL}},{{1L,0xBFA4FF1EL,1L,6L,6L},{(-8L),0xEDC7E1A2L,(-8L),0x03F8C17DL,0x03F8C17DL},{1L,0xBFA4FF1EL,1L,6L,6L},{(-8L),0xEDC7E1A2L,(-8L),0x03F8C17DL,(-8L)}},{{5L,0x90F7BC11L,5L,1L,1L},{0x4372D06AL,0x6AE50282L,0x4372D06AL,(-8L),(-8L)},{5L,0x90F7BC11L,5L,1L,1L},{0x4372D06AL,0x6AE50282L,0x4372D06AL,(-8L),(-8L)}},{{5L,0x90F7BC11L,5L,1L,1L},{0x4372D06AL,0x6AE50282L,0x4372D06AL,(-8L),(-8L)},{5L,0x90F7BC11L,5L,1L,1L},{0x4372D06AL,0x6AE50282L,0x4372D06AL,(-8L),(-8L)}},{{5L,0x90F7BC11L,5L,1L,1L},{0x4372D06AL,0x6AE50282L,0x4372D06AL,(-8L),(-8L)},{5L,0x90F7BC11L,5L,1L,1L},{0x4372D06AL,0x6AE50282L,0x4372D06AL,(-8L),(-8L)}}};
const int16_t l_2732 = (-1L);
int8_t *l_2745 = (void*)0;
int8_t *l_2746 = &l_1414[0][2][3];
uint64_t l_2750 = 0xFA00095EE0B626C5LL;
uint16_t l_2751[6] = {1UL,65529UL,65529UL,1UL,65529UL,65529UL};
int64_t *l_2752[8] = {&g_224,&g_224,&g_224,&g_224,&g_224,&g_224,&g_224,&g_224};
int16_t l_2757 = (-8L);
int8_t l_2774 = (-6L);
uint8_t **l_2780[6] = {&g_1575[2][1],&g_1575[2][1],&g_1575[2][1],&g_1575[2][1],&g_1575[2][1],&g_1575[2][1]};
uint8_t **l_2781 = &g_1575[2][1];
uint8_t **l_2782 = &g_1575[2][1];
uint8_t **l_2783 = &g_1575[2][1];
uint8_t **l_2784 = (void*)0;
uint8_t **l_2785 = &g_1575[5][1];
uint8_t *** const l_2779[5][4] = {{&l_2785,&l_2785,&l_2783,&l_2785},{&l_2785,&l_2781,&l_2781,&l_2785},{&l_2781,&l_2785,&l_2781,&l_2781},{&l_2785,&l_2785,&l_2783,&l_2785},{&l_2785,&l_2781,&l_2781,&l_2785}};
uint8_t *** const *l_2778 = &l_2779[2][2];
uint64_t l_2792[2][2][4] = {{{8UL,8UL,8UL,8UL},{8UL,8UL,8UL,8UL}},{{8UL,8UL,8UL,8UL},{8UL,8UL,8UL,8UL}}};
int16_t ****l_2817 = (void*)0;
int16_t *****l_2816 = &l_2817;
uint32_t **l_2969[7];
uint32_t * const l_3006 = (void*)0;
uint32_t l_3008 = 0UL;
int i, j, k;
for (i = 0; i < 2; i++)
l_2717[i] = &g_261;
for (i = 0; i < 7; i++)
l_2969[i] = &l_2484[1][1][0];
for (g_314 = 4; (g_314 < 33); g_314++)
{ /* block id: 1253 */
int32_t ***l_2680 = (void*)0;
int32_t ****l_2681 = (void*)0;
int32_t ****l_2682[2][1][2] = {{{&l_2680,&l_2680}},{{&l_2680,&l_2680}}};
union U0 l_2684 = {65532UL};
int32_t l_2688 = 0x2C1397C6L;
int8_t l_2706 = 0xC8L;
int i, j, k;
}
l_2725[4][2][1] &= (9UL || ((**g_2317) == (((**g_1574) = ((g_904[5][0] = (safe_mul_func_uint16_t_u_u((((safe_lshift_func_int8_t_s_u(p_16, (((((((*g_2547) = (l_2732 , (g_2616[1] | ((safe_mul_func_int16_t_s_s((l_2750 |= (safe_lshift_func_uint16_t_u_s((((safe_sub_func_int64_t_s_s((*g_2547), ((p_16 , ((safe_mul_func_int8_t_s_s((p_15 == ((!((~(((*l_2746) = 0L) <= 0UL)) != p_16)) & 0xFD3BL)), l_2747)) , l_2748[1][5])) == l_2748[1][5]))) >= p_15) , l_2749[0]), 2))), p_16)) < p_15)))) != l_2751[2]) && p_15) , &g_538[1]) == &g_538[0]) != 0xFCL))) == (***l_2674)) < p_15), (-7L)))) | p_15)) <= p_15)));
if (((9UL && (++(**g_262))) < ((***l_2674) = (safe_unary_minus_func_uint16_t_u((l_2759[4]++))))))
{ /* block id: 1301 */
int32_t ***l_2800[6] = {&l_2536[0],&l_2536[0],&l_2536[0],&l_2536[0],&l_2536[0],&l_2536[0]};
int32_t *** const l_2812 = &g_203;
int16_t ****l_2815 = &g_1011;
int16_t *****l_2814 = &l_2815;
int32_t l_2830 = 0x0109BBC8L;
int32_t l_2831 = 0L;
int32_t l_2833[9] = {0xD96A8209L,(-1L),0xD96A8209L,(-1L),0xD96A8209L,(-1L),0xD96A8209L,(-1L),0xD96A8209L};
uint16_t **l_2853 = &g_263;
int64_t l_2881 = 5L;
uint32_t l_2885[6][4] = {{0UL,0UL,0UL,0UL},{4294967295UL,0xED03A20EL,0UL,1UL},{0UL,1UL,4294967287UL,1UL},{1UL,0UL,4294967295UL,1UL},{4294967295UL,1UL,1UL,1UL},{0xED03A20EL,0xED03A20EL,4294967287UL,0UL}};
uint64_t *l_2899 = &g_832[4];
int32_t l_2923 = 0L;
uint32_t **l_2970[10][2] = {{&l_2484[1][1][0],&l_2484[6][1][2]},{&l_2484[0][0][3],&l_2484[7][0][3]},{(void*)0,&l_2484[0][0][3]},{&l_2484[7][0][3],&l_2484[6][1][2]},{&l_2484[7][0][3],&l_2484[0][0][3]},{(void*)0,&l_2484[7][0][3]},{&l_2484[0][0][3],&l_2484[6][1][2]},{&l_2484[1][1][0],&l_2484[1][1][0]},{(void*)0,&l_2484[1][1][0]},{&l_2484[1][1][0],&l_2484[6][1][2]}};
uint8_t *l_3009 = &g_28.f1;
int32_t **l_3027 = &g_513[2];
int i, j;
lbl_2857:
for (l_2486.f1 = 14; (l_2486.f1 != 17); l_2486.f1++)
{ /* block id: 1304 */
return p_15;
}
if (((safe_mul_func_int16_t_s_s((8L >= ((((-1L) <= (***l_2674)) < ((void*)0 != (*g_1010))) & (1L && ((((safe_mod_func_int8_t_s_s(0x18L, (***l_2674))) || (safe_mod_func_uint16_t_u_u((safe_mod_func_int64_t_s_s((safe_div_func_uint16_t_u_u((253UL & (**g_1574)), 0xCE36L)), (*g_2547))), (-1L)))) | (***l_2674)) & (***l_2674))))), (***l_2674))) == l_2774))
{ /* block id: 1307 */
int64_t *l_2775 = &g_224;
uint8_t *** const **l_2777 = &l_2776;
int32_t l_2797 = 0x5DF9A1F5L;
union U0 l_2821 = {65535UL};
int32_t l_2836 = 0xDF0C71DBL;
int32_t l_2837 = 0xAC32CCE5L;
int32_t l_2838 = 5L;
int32_t l_2839 = 0x36064D5FL;
int32_t l_2841 = (-1L);
int32_t l_2842[6][5][7] = {{{0x2160C428L,(-5L),(-1L),(-2L),(-7L),3L,(-1L)},{0xC38F918BL,(-9L),0xD34FB280L,0xBE697182L,(-5L),0xA3EFA5C6L,0x233D330FL},{(-1L),1L,0xC94C4C1CL,0xF1432B05L,1L,0xF1F5393EL,(-1L)},{0xF1F5393EL,0xBE697182L,(-1L),0xE00427E9L,1L,(-2L),0xF1432B05L},{(-3L),3L,0xB48F3136L,0xF1432B05L,0xA81B7A58L,0L,(-7L)}},{{0xAB6FD729L,0xF1432B05L,0xBE697182L,(-5L),1L,(-1L),0xE00427E9L},{0x233D330FL,(-1L),(-7L),0x86260A8AL,(-3L),0L,0xAB6FD729L},{0xC94C4C1CL,1L,(-7L),0x2160C428L,0x80065A0FL,1L,1L},{(-9L),0xD34FB280L,0xBE697182L,0xBE697182L,0xD34FB280L,(-9L),0xC38F918BL},{0x4BB2855DL,(-3L),0xB48F3136L,0xD4C7C346L,0L,0x86260A8AL,0xA81B7A58L}},{{0xE156D35AL,(-7L),(-1L),(-1L),3L,0xD4C7C346L,0x86260A8AL},{1L,(-3L),0xC94C4C1CL,0xF1F5393EL,1L,3L,0L},{(-5L),0xD34FB280L,0xA3EFA5C6L,0L,0xF1F5393EL,(-1L),0xD4C7C346L},{0xF1432B05L,1L,3L,0xA3EFA5C6L,0xC94C4C1CL,(-1L),0xB48F3136L},{0xF1432B05L,(-1L),1L,0xD34FB280L,(-3L),(-7L),(-3L)}},{{(-5L),0xF1432B05L,0xF1432B05L,(-5L),1L,0xE156D35AL,0x4BB2855DL},{1L,3L,(-2L),(-1L),(-1L),(-1L),1L},{0xE156D35AL,0xBE697182L,(-1L),1L,0xAB6FD729L,3L,0x4BB2855DL},{0x4BB2855DL,1L,1L,0xC38F918BL,(-1L),0x31FD2B11L,(-3L)},{(-9L),0x233D330FL,0xFFEF5426L,0x4BB2855DL,0xA3EFA5C6L,1L,0xB48F3136L}},{{0xC94C4C1CL,0xB48F3136L,0xF1F5393EL,1L,3L,1L,0xD4C7C346L},{0x233D330FL,(-5L),0L,0x31FD2B11L,0x954EDE08L,0x31FD2B11L,0L},{0xAB6FD729L,0xAB6FD729L,(-1L),1L,0xFFEF5426L,3L,0x86260A8AL},{(-3L),(-5L),0xE156D35AL,(-3L),0xC38F918BL,(-1L),0xA81B7A58L},{0xF1F5393EL,(-9L),0xE00427E9L,3L,0xFFEF5426L,0xE156D35AL,0xC38F918BL}},{{(-1L),0xE156D35AL,0xD4C7C346L,1L,0x954EDE08L,(-7L),1L},{0x2160C428L,(-3L),0xD34FB280L,3L,3L,(-1L),0xAB6FD729L},{0x31FD2B11L,(-2L),1L,3L,0xA3EFA5C6L,(-1L),0xE00427E9L},{(-7L),3L,(-1L),1L,(-1L),3L,(-1L)},{1L,0L,0xFFEF5426L,(-3L),(-1L),(-1L),0xD34FB280L}}};
uint32_t l_2843 = 0UL;
int32_t ** const *l_2872[5][5] = {{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{&g_203,(void*)0,&g_203,(void*)0,&g_203},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{&g_203,(void*)0,&g_203,(void*)0,&g_203},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}};
int32_t ** const **l_2871 = &l_2872[2][4];
int i, j, k;
(***l_2674) |= ((*g_2546) == l_2775);
}
else
{ /* block id: 1384 */
int64_t l_2961 = 1L;
int32_t l_2962 = 2L;
int32_t l_2964[1];
uint32_t *l_3007[1][6][8] = {{{&l_2747,&l_2747,&l_2747,&l_2747,&l_2617,&g_2035[1][2],&g_2035[2][0],&l_2747},{&g_2035[2][0],&g_1917,&l_2747,&g_2035[0][1],&g_1917,(void*)0,&g_1917,&g_2035[0][1]},{&g_2035[1][2],&g_1917,&g_2035[1][2],&l_2747,&g_2035[2][0],&g_2035[1][2],&l_2617,&l_2747},{(void*)0,&l_2747,&g_1917,&g_2035[2][0],(void*)0,(void*)0,&g_2035[2][0],&g_1917},{(void*)0,(void*)0,(void*)0,&g_2035[0][1],&g_2035[2][0],&g_2035[2][1],(void*)0,&g_2035[2][0]},{&g_2035[1][2],&g_2035[2][0],&l_2747,&g_2035[1][2],&g_1917,&g_2035[1][2],&l_2747,&g_2035[2][0]}}};
int32_t l_3017 = 0x47654B0AL;
uint16_t l_3026 = 0xBEA3L;
int i, j, k;
for (i = 0; i < 1; i++)
l_2964[i] = 4L;
for (l_2830 = 0; (l_2830 != 20); ++l_2830)
{ /* block id: 1387 */
return (*g_2547);
}
if (p_15)
goto lbl_2857;
for (g_751.f0 = 0; (g_751.f0 <= 3); g_751.f0 += 1)
{ /* block id: 1393 */
}
if ((l_2964[0] |= (&l_2856 == ((p_15 <= ((*l_2816) != (l_2962 , &l_2696[3]))) , &l_2856))))
{ /* block id: 1411 */
uint32_t l_2983 = 3UL;
int32_t l_2987 = 9L;
int32_t l_2989 = (-1L);
int32_t l_2990 = 0xAB803D9EL;
int32_t l_2991 = 0x36D8D8AFL;
int32_t l_2993 = 0xD2ED62E3L;
int32_t l_2994 = (-1L);
int8_t ***l_3015 = &g_1209;
int32_t *l_3025[1][10][9] = {{{&l_2923,&g_2166[3],&l_2987,&g_392[0],&g_392[1],&l_2962,&l_2989,&g_392[1],&g_2166[3]},{&l_2725[0][3][4],&l_2923,(void*)0,&l_2989,&l_2987,&l_2987,&l_2989,(void*)0,&l_2923},{&l_2991,(void*)0,&l_2962,&l_2990,&l_2987,&l_2962,&l_2725[0][3][4],&l_2923,(void*)0},{&g_392[0],&g_392[1],&l_2962,&l_2989,&g_392[1],&g_2166[3],&l_2990,&g_2166[3],&g_392[1]},{&g_392[0],(void*)0,(void*)0,&g_392[0],&l_2923,&g_392[1],&l_2991,&g_2166[3],(void*)0},{&l_2991,&l_2923,&l_2987,&l_2923,(void*)0,&g_392[1],&l_2990,&l_2923,&l_2923},{&l_2725[0][3][4],&g_2166[3],&l_2923,&l_2923,&l_2923,&g_2166[3],&l_2725[0][3][4],(void*)0,&g_2166[3]},{&l_2923,&g_2166[3],&l_2987,&g_392[0],&g_392[1],&l_2962,&l_2989,&g_392[1],&g_2166[3]},{&l_2725[0][3][4],&l_2923,(void*)0,&l_2989,&l_2987,&l_2987,&l_2989,(void*)0,&l_2923},{&l_2991,(void*)0,&l_2962,&l_2990,&l_2987,&l_2962,&l_2725[0][3][4],&l_2923,(void*)0}}};
int i, j, k;
(*g_136) = (((**g_2317) >= ((safe_rshift_func_int16_t_s_u((p_15 = (***l_2812)), 10)) | ((safe_rshift_func_uint16_t_u_u(((((((***l_2626) = (*g_750)) , l_2969[3]) == l_2970[5][0]) & ((safe_rshift_func_int16_t_s_s((safe_div_func_uint64_t_u_u(((l_2975 != (void*)0) , (safe_lshift_func_int16_t_s_s((g_53 && (safe_mul_func_int16_t_s_s((safe_sub_func_uint64_t_u_u(p_16, l_2983)), p_16))), 14))), l_2983)), 2)) < (***l_2812))) > 1L), 8)) == 0x43L))) > (***l_2812));
for (g_173 = 6; (g_173 > (-8)); g_173 = safe_sub_func_int64_t_s_s(g_173, 3))
{ /* block id: 1417 */
int32_t l_2986[10] = {0x3A00B934L,0xF0051FCBL,0x1011D929L,0x1011D929L,0xF0051FCBL,0x3A00B934L,0xF0051FCBL,0x1011D929L,0x1011D929L,0xF0051FCBL};
int32_t l_2988 = 1L;
int32_t l_2992[4][8] = {{0x1F7121BAL,1L,0x1F7121BAL,0x367585F7L,0xA5895C57L,0xA5895C57L,0x367585F7L,0x1F7121BAL},{1L,0xDC96E87AL,1L,0x367585F7L,0x8A131604L,0x367585F7L,1L,0xDC96E87AL},{0xDC96E87AL,0x6428DC55L,0xA5895C57L,1L,1L,0xA5895C57L,0x6428DC55L,0xDC96E87AL},{0x6428DC55L,0x1F7121BAL,0xDC96E87AL,0x367585F7L,0xDC96E87AL,0x1F7121BAL,0x6428DC55L,0x6428DC55L}};
int i, j;
g_2995--;
g_2998 = (void*)0;
l_3008 = ((***l_2674) = ((l_2989 < p_15) , ((p_15 <= ((***l_2812) & ((**g_1574) &= 0xCAL))) , (safe_sub_func_uint64_t_u_u(((l_2986[6] || (0x1130L && (p_15 = l_2988))) > (safe_lshift_func_int8_t_s_s((safe_rshift_func_int16_t_s_s((l_3006 == l_3007[0][1][0]), 11)), p_16))), 0xE89B539EBDE542D4LL)))));
}
l_2987 |= ((((void*)0 != l_3009) , ((((*l_2746) &= 3L) > ((***l_2812) |= (safe_rshift_func_uint8_t_u_s((+(safe_lshift_func_int16_t_s_u((&g_1209 == (l_3016 = l_3015)), 3))), 5)))) || l_3017)) >= ((p_15 = p_16) , (+(l_2962 &= ((safe_sub_func_uint64_t_u_u(((*l_2899) = (safe_div_func_uint8_t_u_u(((safe_mod_func_uint16_t_u_u((**g_262), p_16)) , p_16), (-1L)))), 0xE64E4613EEEE7AC7LL)) || 0xEE15B8BB23A95B87LL)))));
(**g_1863) = l_3025[0][5][2];
}
else
{ /* block id: 1433 */
l_3026 |= ((***l_2674) = p_16);
}
}
(*l_3027) = (**g_882);
for (g_1653 = 0; (g_1653 <= 1); g_1653 += 1)
{ /* block id: 1441 */
uint8_t l_3043 = 0x39L;
for (p_16 = 4; (p_16 >= 1); p_16 -= 1)
{ /* block id: 1444 */
int32_t l_3044 = 0xADEB6ECDL;
for (l_2856 = 0; (l_2856 <= 4); l_2856 += 1)
{ /* block id: 1447 */
int16_t l_3042 = 1L;
int i, j;
l_3044 = (0x5827L | (safe_sub_func_int8_t_s_s(((safe_div_func_int32_t_s_s((g_19[(g_1653 + 2)][(p_16 + 2)] , g_19[(g_1653 + 2)][(p_16 + 2)]), g_19[(g_1653 + 2)][(p_16 + 2)])) , ((safe_lshift_func_uint8_t_u_u((safe_mod_func_int8_t_s_s(((safe_add_func_int64_t_s_s((safe_sub_func_uint64_t_u_u(p_15, (p_15 > 0xD44F66378D98B38CLL))), (safe_sub_func_int32_t_s_s(p_16, (0L && l_3042))))) >= g_19[(g_1653 + 2)][(p_16 + 2)]), l_3043)), p_15)) , 0xA7L)), (**g_455))));
}
}
for (g_509 = 0; (g_509 <= 1); g_509 += 1)
{ /* block id: 1453 */
int32_t l_3066[5] = {0x832D2FC3L,0x832D2FC3L,0x832D2FC3L,0x832D2FC3L,0x832D2FC3L};
int64_t ** const l_3068 = (void*)0;
int i;
for (l_2886 = 0; (l_2886 <= 1); l_2886 += 1)
{ /* block id: 1456 */
int32_t *l_3045 = &l_2725[0][3][4];
uint8_t **l_3060 = &l_3009;
l_2830 &= p_15;
(**l_2674) = &l_2756;
(**g_1863) = l_3045;
l_2833[5] ^= ((safe_mul_func_uint16_t_u_u(((safe_mod_func_int16_t_s_s((p_15 = 0x0207L), ((safe_add_func_uint16_t_u_u((p_16 == (safe_mul_func_uint16_t_u_u((safe_mul_func_uint8_t_u_u(((safe_mul_func_int8_t_s_s((safe_lshift_func_uint8_t_u_u(((void*)0 != l_3060), 0)), ((safe_unary_minus_func_int64_t_s((((l_3066[1] = (l_3043 || ((safe_mod_func_uint8_t_u_u(p_16, (((safe_add_func_int32_t_s_s((((g_2035[1][1] , l_3043) > (((*l_3045) = 0xB8F2EC97L) || 0x5DD858C9L)) && (*l_3045)), p_16)) < (**g_455)) & p_16))) <= p_16))) ^ (*g_263)) , (**g_2546)))) == p_16))) > (-3L)), 6UL)), p_16))), p_16)) | 0x5A63F3FBL))) ^ (**g_1574)), p_16)) && g_3067);
}
if ((((void*)0 != l_3068) , (safe_rshift_func_int16_t_s_u(p_16, 2))))
{ /* block id: 1465 */
return (**g_2546);
}
else
{ /* block id: 1467 */
if (l_3066[1])
break;
}
}
}
}
else
{ /* block id: 1472 */
return (*g_2547);
}
}
l_3072 = l_3071;
return (*g_2547);
}
/* ------------------------------------------ */
/*
* reads : g_1438 g_4 g_456 g_457 g_314 g_1320 g_313 g_1439 g_883 g_513 g_2262 g_840 g_203 g_1575 g_2317 g_1574 g_28.f1 g_455 g_1011 g_538 g_1653 g_2082 g_158 g_392 g_136 g_28.f0 g_261 g_262 g_263 g_55 g_2039 g_750 g_751 g_1808 g_19
* writes: g_1438 g_1423 g_314 g_1653 g_2253 g_2287 g_136 g_28.f1 g_1198 g_750 g_538 g_28.f0 g_19 g_1320 g_55 g_158 g_513
*/
uint32_t func_22(union U0 p_23, const uint16_t p_24, int32_t p_25, uint16_t p_26, const int16_t p_27)
{ /* block id: 672 */
int64_t *l_1430 = &g_1198[3];
int32_t * const * const ***l_1440[1][9][10] = {{{&g_1438[2],&g_1438[0],(void*)0,&g_1438[0],&g_1438[0],&g_1438[2],&g_1438[0],&g_1438[2],&g_1438[3],(void*)0},{&g_1438[3],&g_1438[0],&g_1438[2],&g_1438[0],&g_1438[0],&g_1438[0],&g_1438[0],&g_1438[2],&g_1438[0],&g_1438[1]},{&g_1438[0],&g_1438[0],(void*)0,&g_1438[0],(void*)0,&g_1438[3],&g_1438[2],(void*)0,&g_1438[3],&g_1438[3]},{(void*)0,&g_1438[0],&g_1438[0],&g_1438[0],&g_1438[3],&g_1438[3],&g_1438[0],&g_1438[0],&g_1438[0],(void*)0},{&g_1438[0],(void*)0,&g_1438[0],&g_1438[0],&g_1438[0],(void*)0,&g_1438[2],&g_1438[2],&g_1438[0],&g_1438[0]},{&g_1438[0],&g_1438[2],&g_1438[0],(void*)0,&g_1438[0],&g_1438[0],(void*)0,&g_1438[0],(void*)0,(void*)0},{&g_1438[0],&g_1438[2],&g_1438[0],&g_1438[0],&g_1438[3],&g_1438[2],&g_1438[0],&g_1438[2],&g_1438[0],&g_1438[3]},{(void*)0,&g_1438[0],&g_1438[0],&g_1438[1],(void*)0,&g_1438[0],&g_1438[2],&g_1438[0],(void*)0,&g_1438[1]},{&g_1438[0],&g_1438[3],&g_1438[0],&g_1438[2],&g_1438[0],&g_1438[1],&g_1438[3],(void*)0,&g_1438[2],(void*)0}}};
int8_t * const *l_1442 = &g_305[0];
int8_t * const **l_1441 = &l_1442;
int16_t *** const l_1443[1][6][4] = {{{&g_538[1],&g_538[1],&g_538[1],&g_538[1]},{&g_538[1],&g_538[0],&g_538[0],&g_538[1]},{&g_538[0],&g_538[1],&g_538[0],&g_538[0]},{&g_538[1],&g_538[1],&g_538[1],&g_538[1]},{&g_538[1],&g_538[0],&g_538[0],&g_538[1]},{&g_538[0],&g_538[1],&g_538[0],&g_538[0]}}};
int8_t l_1478[2];
int8_t l_1528[5] = {0xF1L,0xF1L,0xF1L,0xF1L,0xF1L};
int64_t l_1597 = (-10L);
uint8_t l_1598 = 7UL;
int32_t *l_1604 = &g_104;
uint64_t l_1669 = 18446744073709551615UL;
uint64_t *l_1764[5];
uint64_t **l_1763[9][3][4] = {{{&l_1764[4],(void*)0,(void*)0,(void*)0},{&l_1764[3],&l_1764[3],&l_1764[4],&l_1764[4]},{&l_1764[3],(void*)0,(void*)0,&l_1764[3]}},{{&l_1764[4],&l_1764[4],&l_1764[4],(void*)0},{(void*)0,&l_1764[4],&l_1764[4],&l_1764[3]},{&l_1764[4],(void*)0,(void*)0,&l_1764[4]}},{{&l_1764[4],&l_1764[3],(void*)0,(void*)0},{&l_1764[4],(void*)0,&l_1764[4],(void*)0},{(void*)0,(void*)0,&l_1764[4],(void*)0}},{{&l_1764[4],(void*)0,(void*)0,(void*)0},{&l_1764[3],&l_1764[3],&l_1764[4],&l_1764[4]},{&l_1764[4],&l_1764[4],&l_1764[4],&l_1764[4]}},{{(void*)0,(void*)0,(void*)0,&l_1764[4]},{(void*)0,(void*)0,&l_1764[3],&l_1764[4]},{(void*)0,&l_1764[4],&l_1764[4],(void*)0}},{{(void*)0,&l_1764[4],&l_1764[4],&l_1764[4]},{(void*)0,(void*)0,&l_1764[3],(void*)0},{(void*)0,&l_1764[4],(void*)0,(void*)0}},{{(void*)0,(void*)0,&l_1764[4],&l_1764[4]},{&l_1764[4],&l_1764[4],&l_1764[3],(void*)0},{&l_1764[4],&l_1764[4],&l_1764[4],&l_1764[4]}},{{(void*)0,(void*)0,(void*)0,&l_1764[4]},{(void*)0,(void*)0,&l_1764[3],&l_1764[4]},{(void*)0,&l_1764[4],&l_1764[4],(void*)0}},{{(void*)0,&l_1764[4],&l_1764[4],&l_1764[4]},{(void*)0,(void*)0,&l_1764[3],(void*)0},{(void*)0,&l_1764[4],(void*)0,(void*)0}}};
uint64_t ***l_1762 = &l_1763[4][1][1];
const uint16_t l_1766[1][9] = {{0xD023L,0xD023L,0xD023L,0xD023L,0xD023L,0xD023L,0xD023L,0xD023L,0xD023L}};
int16_t l_1794 = 0xBD05L;
uint16_t l_1942[6][10][4] = {{{0xA226L,0x353AL,0x8CCCL,0UL},{0x8CCCL,0UL,65530UL,0UL},{0x5F29L,0x353AL,0x6160L,0x8CCCL},{0x29D2L,65528UL,0UL,1UL},{0x6160L,0x5F29L,65535UL,65535UL},{0x6160L,0x6160L,0UL,65532UL},{0x29D2L,65535UL,0x6160L,65528UL},{0x5F29L,0xA226L,65530UL,0x6160L},{0x8CCCL,0xA226L,0x8CCCL,65528UL},{0xA226L,65535UL,0xCD62L,65532UL}},{{65532UL,0x6160L,0x5F29L,65535UL},{1UL,0x5F29L,0x5F29L,1UL},{65532UL,65528UL,0xCD62L,0x8CCCL},{0xA226L,0x353AL,0x8CCCL,0UL},{0x8CCCL,0UL,65530UL,0UL},{0x5F29L,0x353AL,0x6160L,0x8CCCL},{0x29D2L,65528UL,0UL,1UL},{0x6160L,0x5F29L,65535UL,65535UL},{0x6160L,0x6160L,0UL,65532UL},{0x29D2L,65535UL,0x6160L,65528UL}},{{0x5F29L,0xA226L,65530UL,0x6160L},{0x8CCCL,0xA226L,0x8CCCL,65528UL},{0xA226L,65535UL,0xCD62L,65532UL},{65532UL,0x6160L,0x5F29L,65535UL},{1UL,0x5F29L,0x5F29L,1UL},{65532UL,65528UL,0xCD62L,0x8CCCL},{0xA226L,0x353AL,0x8CCCL,0UL},{0x8CCCL,0UL,65530UL,0UL},{0x5F29L,0x353AL,0x6160L,0x8CCCL},{0x29D2L,65528UL,0xA226L,0x6160L}},{{0UL,1UL,0x5F29L,0x5F29L},{0UL,0UL,0xA226L,65528UL},{0x8CCCL,0x5F29L,0UL,0x353AL},{1UL,65532UL,0x29D2L,0UL},{65535UL,65532UL,65535UL,0x353AL},{65532UL,0x5F29L,65530UL,65528UL},{65528UL,0UL,1UL,0x5F29L},{0x6160L,1UL,1UL,0x6160L},{65528UL,0x353AL,65530UL,65535UL},{65532UL,0xCD62L,65535UL,0xA226L}},{{65535UL,0xA226L,0x29D2L,0xA226L},{1UL,0xCD62L,0UL,65535UL},{0x8CCCL,0x353AL,0xA226L,0x6160L},{0UL,1UL,0x5F29L,0x5F29L},{0UL,0UL,0xA226L,65528UL},{0x8CCCL,0x5F29L,0UL,0x353AL},{1UL,65532UL,0x29D2L,0UL},{65535UL,65532UL,65535UL,0x353AL},{65532UL,0x5F29L,65530UL,65528UL},{65528UL,0UL,1UL,0x5F29L}},{{0x6160L,1UL,1UL,0x6160L},{65528UL,0x353AL,65530UL,65535UL},{65532UL,0xCD62L,65535UL,0xA226L},{65535UL,0xA226L,0x29D2L,0xA226L},{1UL,0xCD62L,0UL,65535UL},{0x8CCCL,0x353AL,0xA226L,0x6160L},{0UL,1UL,0x5F29L,0x5F29L},{0UL,0UL,0xA226L,65528UL},{0x8CCCL,0x5F29L,0UL,0x353AL},{1UL,65532UL,0x29D2L,0UL}}};
uint64_t l_1944 = 0UL;
int16_t l_1946 = 0xB81EL;
int32_t l_1948 = 0L;
uint8_t l_2045 = 0UL;
int8_t l_2125 = 0L;
uint16_t l_2170[10][6][1] = {{{7UL},{65531UL},{9UL},{65532UL},{0x558DL},{0x558DL}},{{65532UL},{9UL},{65531UL},{7UL},{0x558DL},{65531UL}},{{1UL},{65531UL},{0x558DL},{7UL},{65531UL},{9UL}},{{65532UL},{0x558DL},{0x558DL},{65532UL},{9UL},{65531UL}},{{7UL},{0x558DL},{65531UL},{1UL},{65531UL},{0x558DL}},{{7UL},{65531UL},{9UL},{65532UL},{0x558DL},{0x558DL}},{{65532UL},{9UL},{65531UL},{7UL},{0x558DL},{65531UL}},{{1UL},{65531UL},{0x558DL},{7UL},{65531UL},{9UL}},{{65532UL},{0x558DL},{0x558DL},{65532UL},{9UL},{65531UL}},{{7UL},{0x558DL},{65531UL},{1UL},{65531UL},{0x558DL}}};
uint8_t * const *l_2182 = &g_1575[5][1];
union U0 *l_2245 = &g_28;
uint32_t l_2249 = 0xC2BDD61AL;
uint32_t l_2315[2];
int32_t l_2329[9][5][5] = {{{(-1L),(-1L),0x3C741E7EL,0x5D67A78EL,4L},{(-1L),(-1L),(-1L),(-8L),0xBB9D2CB6L},{(-9L),0x4CA24EB3L,(-9L),0xC9AE79BEL,4L},{(-8L),1L,0x02D4ADF3L,0x6CAA051AL,(-1L)},{(-1L),0x7404803EL,0x7404803EL,(-1L),(-9L)}},{{(-1L),(-1L),0x02D4ADF3L,(-1L),1L},{0L,0x4AD30C9EL,(-9L),0x4AD30C9EL,0L},{(-1L),0x6CAA051AL,(-8L),(-1L),3L},{0x5D67A78EL,0x3C741E7EL,(-1L),(-1L),0x3C741E7EL},{0xBB9D2CB6L,0x02D4ADF3L,(-1L),0x6CAA051AL,3L}},{{0x4AD30C9EL,(-1L),0L,0xC9AE79BEL,0L},{3L,3L,(-1L),0xBB9D2CB6L,1L},{0x4AD30C9EL,0L,0x5D67A78EL,(-9L),(-9L)},{0xBB9D2CB6L,(-4L),0xBB9D2CB6L,(-1L),(-1L)},{0x5D67A78EL,0L,0x4AD30C9EL,0x3C741E7EL,4L}},{{(-1L),3L,3L,(-1L),0xBB9D2CB6L},{0L,(-1L),0x4AD30C9EL,4L,0L},{(-1L),0x02D4ADF3L,0xBB9D2CB6L,0x02D4ADF3L,(-1L)},{(-1L),0x3C741E7EL,0x5D67A78EL,4L,0x7404803EL},{(-8L),0x6CAA051AL,(-1L),(-1L),0x6CAA051AL}},{{(-9L),0x4AD30C9EL,0L,0x3C741E7EL,0x7404803EL},{0x02D4ADF3L,(-1L),(-1L),(-1L),(-1L)},{0x7404803EL,0x7404803EL,(-1L),(-9L),0L},{0x02D4ADF3L,1L,(-8L),0xBB9D2CB6L,0xBB9D2CB6L},{(-9L),0x4CA24EB3L,(-9L),0xC9AE79BEL,4L}},{{(-8L),1L,0x02D4ADF3L,0x6CAA051AL,(-1L)},{(-1L),0x7404803EL,0x7404803EL,(-1L),(-9L)},{(-1L),(-1L),0x02D4ADF3L,(-1L),1L},{0L,0x4AD30C9EL,(-9L),0x4AD30C9EL,0L},{(-1L),0x6CAA051AL,(-8L),(-1L),3L}},{{0x5D67A78EL,0x3C741E7EL,(-1L),(-1L),0x3C741E7EL},{0xBB9D2CB6L,0x02D4ADF3L,(-1L),0x6CAA051AL,3L},{0x4AD30C9EL,(-1L),0L,0xC9AE79BEL,0L},{3L,3L,(-1L),0xBB9D2CB6L,1L},{0x4AD30C9EL,0L,0x5D67A78EL,(-9L),(-9L)}},{{0xBB9D2CB6L,(-4L),0xBB9D2CB6L,(-1L),(-1L)},{0x5D67A78EL,0L,0x4AD30C9EL,0x3C741E7EL,4L},{(-1L),3L,3L,(-1L),0xBB9D2CB6L},{0L,(-1L),0x4AD30C9EL,4L,0L},{(-1L),0x02D4ADF3L,0xBB9D2CB6L,0x02D4ADF3L,(-8L)}},{{0x7404803EL,(-1L),(-9L),0L,0xC9AE79BEL},{0xBB9D2CB6L,(-1L),3L,3L,(-1L)},{0x3C741E7EL,0x4CA24EB3L,0x5D67A78EL,(-1L),0xC9AE79BEL},{(-4L),3L,(-8L),0x02D4ADF3L,(-8L)},{0xC9AE79BEL,0xC9AE79BEL,0x7404803EL,0x3C741E7EL,0L}}};
union U0 *l_2334 = &g_28;
uint32_t l_2369 = 0x178BEB20L;
uint16_t l_2437 = 65535UL;
int32_t **l_2474 = &g_158;
uint8_t l_2475 = 0x44L;
uint32_t *l_2476 = &l_2369;
uint16_t l_2477[8];
int32_t **l_2478 = &g_513[2];
int i, j, k;
for (i = 0; i < 2; i++)
l_1478[i] = 0x0FL;
for (i = 0; i < 5; i++)
l_1764[i] = &g_314;
for (i = 0; i < 2; i++)
l_2315[i] = 0x66A8991DL;
for (i = 0; i < 8; i++)
l_2477[i] = 0x12CAL;
lbl_2089:
if (((((((void*)0 == l_1430) | 65535UL) < 3L) || (((0xE4D40027L && (safe_add_func_uint64_t_u_u((safe_lshift_func_uint16_t_u_u(0xD134L, 2)), ((((safe_lshift_func_uint8_t_u_s(((!((g_1438[1] = g_1438[0]) != (void*)0)) || ((void*)0 == l_1441)), 4)) , g_4) , p_24) ^ (*g_456))))) != p_24) || g_314)) | p_24))
{ /* block id: 674 */
uint64_t *l_1444 = &g_1423;
uint64_t *l_1445 = &g_314;
int32_t l_1446 = 0xF172E4D1L;
l_1446 &= (((0xDFL <= 0x04L) , p_23.f1) , (0L && ((*l_1445) ^= ((*l_1444) = ((void*)0 == l_1443[0][5][2])))));
}
else
{ /* block id: 678 */
uint8_t l_1453 = 0x98L;
int32_t **l_1473 = (void*)0;
int32_t ***l_1472[1];
uint64_t l_1474 = 0x1DA6B51268C5AC26LL;
uint64_t l_1477 = 0xAF4949719D283C31LL;
uint32_t l_1486 = 0x3BC10D4CL;
int8_t **l_1500[8][6][4] = {{{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],(void*)0,(void*)0,&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{(void*)0,(void*)0,(void*)0,&g_305[0]}},{{(void*)0,&g_305[0],&g_305[0],&g_305[0]},{(void*)0,&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]}},{{&g_305[0],&g_305[0],&g_305[0],(void*)0},{&g_305[0],&g_305[0],&g_305[0],(void*)0},{&g_305[0],(void*)0,&g_305[0],&g_305[0]},{&g_305[0],(void*)0,&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]}},{{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],(void*)0,&g_305[0]},{(void*)0,&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{(void*)0,&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]}},{{(void*)0,&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],(void*)0,&g_305[0],&g_305[0]},{&g_305[0],(void*)0,&g_305[0],(void*)0},{&g_305[0],&g_305[0],&g_305[0],(void*)0},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]}},{{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{(void*)0,&g_305[0],(void*)0,&g_305[0]},{(void*)0,&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],(void*)0,&g_305[0],&g_305[0]}},{{(void*)0,&g_305[0],(void*)0,&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{(void*)0,(void*)0,&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]}},{{&g_305[0],(void*)0,&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],(void*)0},{&g_305[0],&g_305[0],&g_305[0],(void*)0},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]},{&g_305[0],&g_305[0],&g_305[0],&g_305[0]}}};
int16_t l_1522 = 0xF9DEL;
int32_t l_1527 = 1L;
int32_t l_1531 = 0L;
int32_t l_1551 = 0x724E40DAL;
int32_t **l_1569 = (void*)0;
int32_t l_1594[8][10][3] = {{{(-3L),(-3L),(-3L)},{6L,0x978FA97AL,0L},{0x4F7EABADL,0L,0L},{0x2295CCE9L,0x69FC0C91L,(-3L)},{(-10L),(-1L),6L},{0x2295CCE9L,(-1L),0x4F7EABADL},{0x4F7EABADL,(-1L),0x2295CCE9L},{6L,(-1L),(-10L)},{(-3L),0x69FC0C91L,0x2295CCE9L},{0L,0L,0x4F7EABADL}},{{0L,0x978FA97AL,6L},{(-3L),(-3L),(-3L)},{6L,0x978FA97AL,0L},{0x4F7EABADL,0L,0L},{0x2295CCE9L,0x69FC0C91L,(-3L)},{(-10L),(-1L),6L},{0x2295CCE9L,(-1L),0x4F7EABADL},{0x4F7EABADL,(-1L),0x2295CCE9L},{6L,(-1L),(-10L)},{(-3L),0x69FC0C91L,0x2295CCE9L}},{{0L,0L,0x4F7EABADL},{0L,0x978FA97AL,6L},{(-3L),(-3L),(-3L)},{6L,0x978FA97AL,0L},{0x4F7EABADL,0L,0L},{0x2295CCE9L,0x69FC0C91L,(-3L)},{(-10L),(-1L),6L},{0x2295CCE9L,(-1L),0x4F7EABADL},{0x4F7EABADL,(-1L),0x2295CCE9L},{6L,(-1L),(-10L)}},{{(-3L),0x69FC0C91L,0x2295CCE9L},{0L,0L,0x4F7EABADL},{0L,0x978FA97AL,6L},{(-3L),(-3L),(-3L)},{6L,0x978FA97AL,0L},{0x4F7EABADL,0L,0L},{0x2295CCE9L,0x69FC0C91L,(-3L)},{(-10L),(-1L),6L},{0x2295CCE9L,(-1L),0x4F7EABADL},{0x4F7EABADL,(-1L),0x2295CCE9L}},{{6L,(-1L),(-10L)},{(-3L),0x69FC0C91L,0x2295CCE9L},{0L,0L,0x4F7EABADL},{0L,0x978FA97AL,6L},{(-3L),(-3L),(-3L)},{6L,0x978FA97AL,0L},{0x4F7EABADL,0L,0L},{0x2295CCE9L,0x69FC0C91L,(-3L)},{(-10L),(-1L),6L},{0x2295CCE9L,(-1L),0x4F7EABADL}},{{0x4F7EABADL,(-1L),0x2295CCE9L},{6L,(-1L),(-10L)},{(-3L),0x69FC0C91L,0x2295CCE9L},{0L,0L,0x4F7EABADL},{0L,0x978FA97AL,0x61C05E6BL},{(-4L),0x5FE33498L,(-4L)},{0x61C05E6BL,6L,0x784A86B9L},{0x82C41DFBL,0x2295CCE9L,0x784A86B9L},{0xDE9BAC49L,(-2L),(-4L)},{0xC6C8F915L,0xAD27B2F7L,0x61C05E6BL}},{{0xDE9BAC49L,(-10L),0x82C41DFBL},{0x82C41DFBL,(-10L),0xDE9BAC49L},{0x61C05E6BL,0xAD27B2F7L,0xC6C8F915L},{(-4L),(-2L),0xDE9BAC49L},{0x784A86B9L,0x2295CCE9L,0x82C41DFBL},{0x784A86B9L,6L,0x61C05E6BL},{(-4L),0x5FE33498L,(-4L)},{0x61C05E6BL,6L,0x784A86B9L},{0x82C41DFBL,0x2295CCE9L,0x784A86B9L},{0xDE9BAC49L,(-2L),(-4L)}},{{0xC6C8F915L,0xAD27B2F7L,0x61C05E6BL},{0xDE9BAC49L,(-10L),0x82C41DFBL},{0x82C41DFBL,(-10L),0xDE9BAC49L},{0x61C05E6BL,0xAD27B2F7L,0xC6C8F915L},{(-4L),(-2L),0xDE9BAC49L},{0x784A86B9L,0x2295CCE9L,0x82C41DFBL},{0x784A86B9L,6L,0x61C05E6BL},{(-4L),0x5FE33498L,(-4L)},{0x61C05E6BL,6L,0x784A86B9L},{0x82C41DFBL,0x2295CCE9L,0x784A86B9L}}};
int32_t l_1629 = 0x190048E5L;
int8_t l_1630 = 1L;
int32_t *l_1656[10][4][4] = {{{&g_104,&g_4,&g_392[0],&g_4},{&l_1531,&l_1531,&l_1594[3][8][1],&l_1527},{&g_4,(void*)0,&l_1594[4][1][2],&l_1531},{&g_392[0],&l_1594[4][2][0],&g_392[0],&g_392[0]}},{{&g_392[0],&g_392[0],&l_1594[4][1][2],(void*)0},{&g_4,&g_392[0],&l_1594[3][8][1],&g_392[7]},{&l_1531,&l_1531,&g_392[0],(void*)0},{&g_104,&g_104,(void*)0,(void*)0}},{{(void*)0,&l_1527,&g_392[8],&l_1594[0][6][1]},{&l_1594[4][2][0],&l_1594[4][6][0],&g_392[0],&l_1531},{&l_1594[4][1][2],&l_1594[4][2][0],&g_392[1],(void*)0},{&g_392[2],&g_392[1],&g_104,&g_392[7]}},{{&l_1531,&l_1527,&l_1594[3][8][1],(void*)0},{&g_392[1],&l_1594[4][2][0],(void*)0,&l_1594[4][2][0]},{&g_392[0],&l_1594[4][2][0],&g_392[0],&g_104},{(void*)0,&l_1527,&l_1594[4][1][2],&g_4}},{{&g_4,&g_392[0],&g_392[2],&l_1531},{&g_104,&l_1531,&l_1531,(void*)0},{&g_392[2],(void*)0,&l_1531,(void*)0},{&l_1594[4][2][0],(void*)0,&g_392[8],&g_392[8]}},{{&g_392[0],&g_392[0],&l_1594[0][6][1],&l_1594[4][2][0]},{&g_392[8],&l_1594[4][2][0],(void*)0,(void*)0},{&g_104,&l_1531,&g_392[0],(void*)0},{&l_1531,&l_1531,&g_392[2],(void*)0}},{{&l_1531,&l_1594[4][2][0],(void*)0,&l_1594[4][2][0]},{&g_392[0],&g_392[0],&l_1594[4][6][0],&g_392[8]},{&g_104,(void*)0,&l_1594[4][1][2],(void*)0},{&g_392[1],(void*)0,&g_392[7],(void*)0}},{{&l_1594[4][2][0],&l_1531,&g_392[0],&l_1531},{&g_392[0],&l_1527,(void*)0,&l_1594[4][2][0]},{&g_104,&g_392[0],&l_1527,&l_1594[4][6][0]},{(void*)0,&g_4,&l_1527,(void*)0}},{{&l_1594[4][2][0],(void*)0,&l_1594[4][2][0],&l_1594[0][6][1]},{&l_1594[4][1][2],(void*)0,&l_1527,(void*)0},{(void*)0,(void*)0,(void*)0,&g_392[8]},{(void*)0,&g_392[2],&l_1531,&l_1527}},{{&l_1527,(void*)0,&g_392[0],&g_392[0]},{&l_1594[4][6][0],&g_392[0],&l_1594[4][2][0],(void*)0},{&l_1594[4][2][0],&l_1594[4][6][0],&g_392[0],&g_392[7]},{(void*)0,&l_1594[4][2][0],(void*)0,(void*)0}}};
uint8_t l_1683[8][7][4] = {{{0x20L,0UL,0x7EL,7UL},{0xAFL,255UL,1UL,0UL},{1UL,7UL,248UL,0xC6L},{0x0DL,5UL,0x9FL,0x50L},{0x28L,255UL,0xF8L,0UL},{0x6BL,250UL,255UL,0x09L},{248UL,1UL,0x12L,0x0DL}},{{0xEAL,1UL,5UL,0x81L},{250UL,255UL,1UL,0x3DL},{2UL,248UL,0x0CL,248UL},{0x09L,8UL,0x7DL,0x7EL},{1UL,0x91L,0x99L,0x44L},{1UL,8UL,0UL,0UL},{1UL,1UL,0xB0L,0x4CL}},{{5UL,0x7EL,1UL,0xA1L},{0xF8L,6UL,255UL,1UL},{0UL,6UL,7UL,0xA1L},{6UL,0x7EL,8UL,0x4CL},{255UL,1UL,0xFFL,0UL},{249UL,8UL,0x81L,0x44L},{0x55L,0x91L,9UL,0x7EL}},{{0x3DL,8UL,254UL,248UL},{0UL,248UL,1UL,0x3DL},{0xBCL,255UL,0x2DL,0x81L},{1UL,1UL,1UL,0x0DL},{0x4CL,1UL,255UL,0x09L},{1UL,250UL,250UL,0UL},{250UL,255UL,8UL,0x50L}},{{0x27L,5UL,0x27L,0xC6L},{1UL,7UL,0xAFL,0UL},{1UL,255UL,1UL,7UL},{0x67L,0UL,3UL,255UL},{255UL,0x0CL,0UL,254UL},{1UL,1UL,1UL,5UL},{0x9FL,1UL,0x50L,255UL}},{{254UL,1UL,255UL,0x55L},{248UL,8UL,248UL,254UL},{0x20L,0xE7L,0x8FL,6UL},{0x4CL,0x99L,0xB0L,0x99L},{255UL,250UL,255UL,0x20L},{0x9FL,0x4CL,1UL,0x4CL},{1UL,0xFFL,0x54L,0UL}},{{1UL,0x27L,1UL,0x8FL},{0x9FL,0UL,255UL,1UL},{255UL,248UL,0xB0L,248UL},{0x4CL,1UL,0x8FL,255UL},{0x20L,0x05L,248UL,9UL},{0xF8L,0xBDL,6UL,0x67L},{0x6BL,1UL,1UL,1UL}},{{0x67L,0xC6L,0x2DL,0xCFL},{0x81L,0UL,0xE7L,0x91L},{6UL,255UL,0x91L,250UL},{7UL,1UL,0x81L,0x12L},{9UL,0x50L,1UL,1UL},{250UL,1UL,0UL,250UL},{248UL,3UL,248UL,0xFFL}}};
uint16_t ** const *l_1728 = &g_262;
uint16_t ** const * const *l_1727 = &l_1728;
uint64_t *l_1842 = &l_1477;
uint16_t l_1866 = 0x5666L;
uint32_t l_1923 = 0xE55ABA3DL;
uint16_t l_1943 = 65535UL;
int32_t *****l_1945[7];
int32_t l_1947[6] = {(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)};
int i, j, k;
for (i = 0; i < 1; i++)
l_1472[i] = &l_1473;
for (i = 0; i < 7; i++)
l_1945[i] = (void*)0;
}
for (l_1669 = 2; (l_1669 <= 9); l_1669 += 1)
{ /* block id: 933 */
int64_t l_1957 = 0xFBF31CEFBF88BA88LL;
int32_t l_1962[5][10] = {{0x08603418L,0x50D63F64L,1L,(-1L),(-6L),(-10L),0xEC40D876L,(-1L),0xFB4700F5L,0xDE3DDEC5L},{0x94F4653FL,0xD05862CAL,0L,0xDE3DDEC5L,(-6L),(-10L),0x08603418L,0x08603418L,(-10L),(-6L)},{0x08603418L,0x5527F2E9L,0x5527F2E9L,0x08603418L,1L,0x8434B89BL,0xFB4700F5L,0x591CB552L,0x827D51F7L,(-1L)},{0xDE3DDEC5L,0L,0xD05862CAL,0x94F4653FL,0x8434B89BL,(-1L),0x5527F2E9L,0xFB4700F5L,0x827D51F7L,0xFB4700F5L},{(-1L),1L,0x50D63F64L,0x08603418L,0x50D63F64L,1L,(-1L),(-6L),(-10L),0xEC40D876L}};
int32_t l_1981[6] = {0L,0L,0L,0L,0L,0L};
uint8_t *l_2008 = (void*)0;
int32_t ** const *l_2028 = &g_203;
int32_t **l_2038 = &g_158;
uint8_t l_2080 = 0UL;
uint8_t l_2088 = 0x69L;
uint32_t l_2235[1][7] = {{0x63323BC5L,0UL,0UL,0x63323BC5L,0UL,0UL,0x63323BC5L}};
int8_t l_2247[5][1] = {{1L},{(-1L)},{1L},{(-1L)},{1L}};
uint16_t l_2285[7][4];
uint64_t * const *l_2311 = &l_1764[4];
union U0 *l_2327[3][5] = {{(void*)0,&g_28,(void*)0,&g_751,&g_751},{(void*)0,&g_28,(void*)0,&g_751,&g_751},{(void*)0,&g_28,(void*)0,&g_751,&g_751}};
int16_t * const *l_2366 = &g_539[4];
int32_t l_2397 = 0xBC1FEE46L;
uint64_t l_2453[8][9][2] = {{{0xA2E0B0EFBD0BE629LL,0x0A717EB131667612LL},{18446744073709551606UL,4UL},{0xA2E0B0EFBD0BE629LL,18446744073709551615UL},{0UL,0UL},{0UL,18446744073709551615UL},{0xA2E0B0EFBD0BE629LL,4UL},{18446744073709551606UL,0x0A717EB131667612LL},{0xA2E0B0EFBD0BE629LL,18446744073709551606UL},{0UL,7UL}},{{0UL,18446744073709551606UL},{0xA2E0B0EFBD0BE629LL,0x0A717EB131667612LL},{18446744073709551606UL,0UL},{0xA3E97AE72CF92459LL,0xBE573851C925C797LL},{18446744073709551606UL,18446744073709551606UL},{18446744073709551606UL,0xBE573851C925C797LL},{0xA3E97AE72CF92459LL,0UL},{0xA2E0B0EFBD0BE629LL,7UL},{0xA3E97AE72CF92459LL,0xA2E0B0EFBD0BE629LL}},{{18446744073709551606UL,18446744073709551615UL},{18446744073709551606UL,0xA2E0B0EFBD0BE629LL},{0xA3E97AE72CF92459LL,7UL},{0xA2E0B0EFBD0BE629LL,0UL},{0xA3E97AE72CF92459LL,0xBE573851C925C797LL},{18446744073709551606UL,18446744073709551606UL},{18446744073709551606UL,0xBE573851C925C797LL},{0xA3E97AE72CF92459LL,0UL},{0xA2E0B0EFBD0BE629LL,7UL}},{{0xA3E97AE72CF92459LL,0xA2E0B0EFBD0BE629LL},{18446744073709551606UL,18446744073709551615UL},{18446744073709551606UL,0xA2E0B0EFBD0BE629LL},{0xA3E97AE72CF92459LL,7UL},{0xA2E0B0EFBD0BE629LL,0UL},{0xA3E97AE72CF92459LL,0xBE573851C925C797LL},{18446744073709551606UL,18446744073709551606UL},{18446744073709551606UL,0xBE573851C925C797LL},{0xA3E97AE72CF92459LL,0UL}},{{0xA2E0B0EFBD0BE629LL,7UL},{0xA3E97AE72CF92459LL,0xA2E0B0EFBD0BE629LL},{18446744073709551606UL,18446744073709551615UL},{18446744073709551606UL,0xA2E0B0EFBD0BE629LL},{0xA3E97AE72CF92459LL,7UL},{0xA2E0B0EFBD0BE629LL,0UL},{0xA3E97AE72CF92459LL,0xBE573851C925C797LL},{18446744073709551606UL,18446744073709551606UL},{18446744073709551606UL,0xBE573851C925C797LL}},{{0xA3E97AE72CF92459LL,0UL},{0xA2E0B0EFBD0BE629LL,7UL},{0xA3E97AE72CF92459LL,0xA2E0B0EFBD0BE629LL},{18446744073709551606UL,18446744073709551615UL},{18446744073709551606UL,0xA2E0B0EFBD0BE629LL},{0xA3E97AE72CF92459LL,7UL},{0xA2E0B0EFBD0BE629LL,0UL},{0xA3E97AE72CF92459LL,0xBE573851C925C797LL},{18446744073709551606UL,18446744073709551606UL}},{{18446744073709551606UL,0xBE573851C925C797LL},{0xA3E97AE72CF92459LL,0UL},{0xA2E0B0EFBD0BE629LL,7UL},{0xA3E97AE72CF92459LL,0xA2E0B0EFBD0BE629LL},{18446744073709551606UL,18446744073709551615UL},{18446744073709551606UL,0xA2E0B0EFBD0BE629LL},{0xA3E97AE72CF92459LL,7UL},{0xA2E0B0EFBD0BE629LL,0UL},{0xA3E97AE72CF92459LL,0xBE573851C925C797LL}},{{18446744073709551606UL,18446744073709551606UL},{18446744073709551606UL,0xBE573851C925C797LL},{0xA3E97AE72CF92459LL,0UL},{0xA2E0B0EFBD0BE629LL,7UL},{0xA3E97AE72CF92459LL,0xA2E0B0EFBD0BE629LL},{18446744073709551606UL,18446744073709551615UL},{18446744073709551606UL,0xA2E0B0EFBD0BE629LL},{0xA3E97AE72CF92459LL,7UL},{0xA2E0B0EFBD0BE629LL,0UL}}};
uint8_t ***l_2464 = &g_1574;
uint8_t ***l_2466 = &g_1574;
int i, j, k;
for (i = 0; i < 7; i++)
{
for (j = 0; j < 4; j++)
l_2285[i][j] = 65535UL;
}
for (g_314 = 1; (g_314 <= 4); g_314 += 1)
{ /* block id: 936 */
uint32_t *l_1953 = &g_45[0];
int16_t ** const **l_1976 = (void*)0;
const uint64_t *l_1984[3][6];
const uint64_t **l_1983[5][3] = {{(void*)0,(void*)0,(void*)0},{&l_1984[0][5],&l_1984[0][5],&l_1984[0][5]},{(void*)0,(void*)0,(void*)0},{&l_1984[0][5],&l_1984[0][5],&l_1984[0][5]},{(void*)0,(void*)0,(void*)0}};
const uint64_t ***l_1982 = &l_1983[0][2];
int32_t l_1986 = 0L;
int32_t l_2041 = 7L;
int32_t l_2083 = 1L;
int32_t l_2084[1][1];
union U0 l_2108 = {1UL};
uint16_t l_2118 = 0UL;
int32_t *****l_2153 = (void*)0;
int8_t l_2154 = 4L;
int8_t l_2160[10] = {0xAEL,1L,1L,0xAEL,0xBDL,0xAEL,1L,1L,0xAEL,0xBDL};
int8_t l_2163[3];
int i, j;
for (i = 0; i < 3; i++)
{
for (j = 0; j < 6; j++)
l_1984[i][j] = &l_1944;
}
for (i = 0; i < 1; i++)
{
for (j = 0; j < 1; j++)
l_2084[i][j] = 0x39F22760L;
}
for (i = 0; i < 3; i++)
l_2163[i] = 5L;
if (l_1528[g_314])
break;
}
l_1962[3][3] ^= (((g_1320[1] != (safe_div_func_int16_t_s_s((safe_sub_func_uint64_t_u_u(p_26, (*g_313))), p_25))) , l_2245) == &p_23);
for (g_1653 = 0; (g_1653 <= 9); g_1653 += 1)
{ /* block id: 1042 */
int32_t l_2246 = 0x85F11115L;
int32_t l_2248[10];
uint64_t l_2286 = 0x183D3548239F17EELL;
int8_t ***l_2307[1];
int64_t l_2318 = 0xF6CF41A449D8796CLL;
union U0 *l_2326[5];
int16_t *l_2392 = (void*)0;
int64_t l_2395[4][1][3] = {{{0x85DEB38936C85881LL,(-5L),(-5L)}},{{(-5L),0x7F2BB46EC1913867LL,0x6A841D57537F6B2ALL}},{{0x85DEB38936C85881LL,0x7F2BB46EC1913867LL,0x85DEB38936C85881LL}},{{1L,(-5L),0x6A841D57537F6B2ALL}}};
uint32_t *l_2439 = (void*)0;
uint8_t ****l_2465 = &l_2464;
int i, j, k;
for (i = 0; i < 10; i++)
l_2248[i] = 0x94FFB7BEL;
for (i = 0; i < 1; i++)
l_2307[i] = &g_1209;
for (i = 0; i < 5; i++)
l_2326[i] = &g_28;
l_2249--;
l_1604 = (**g_1439);
if ((l_2246 = 0x81C17BA4L))
{ /* block id: 1046 */
int32_t l_2261 = 0xD5EBDE51L;
int32_t l_2291 = 7L;
uint16_t l_2314 = 0x491CL;
int32_t l_2351 = 1L;
int32_t l_2368[9] = {0xE108F392L,0xE108F392L,0xE108F392L,0xE108F392L,0xE108F392L,0xE108F392L,0xE108F392L,0xE108F392L,0xE108F392L};
int i;
if (((+0x6C45A12CL) ^ p_27))
{ /* block id: 1047 */
const int8_t **l_2255 = (void*)0;
const int8_t *l_2257 = (void*)0;
const int8_t **l_2256 = &l_2257;
int32_t l_2282 = 0xAFB54AE5L;
int32_t l_2312 = 0xB24F25B4L;
for (l_1597 = 2; (l_1597 >= 0); l_1597 -= 1)
{ /* block id: 1050 */
int32_t l_2254 = (-10L);
l_2254 ^= (g_2253 = 0L);
}
if ((((*l_2256) = &l_1528[0]) == &l_2247[1][0]))
{ /* block id: 1055 */
if (p_27)
goto lbl_2089;
}
else
{ /* block id: 1057 */
uint16_t l_2263 = 0x7958L;
int32_t l_2283 = 0L;
int8_t l_2284[1];
int i;
for (i = 0; i < 1; i++)
l_2284[i] = 0x76L;
g_2287 = (((((((((safe_rshift_func_int8_t_s_s(((~l_2261) == p_23.f0), 6)) < g_2262[2]) == 0x5906DD34L) <= l_2248[3]) , (l_2263 , ((+(safe_sub_func_uint8_t_u_u(p_25, (safe_mod_func_int32_t_s_s((safe_add_func_uint16_t_u_u((safe_div_func_int32_t_s_s(9L, ((safe_mul_func_uint8_t_u_u((safe_add_func_uint32_t_u_u((safe_add_func_int16_t_s_s(((~(safe_rshift_func_uint16_t_u_s(65535UL, 0))) , p_26), l_2261)), l_2282)), p_23.f1)) , p_24))), l_2283)), l_2284[0]))))) , (void*)0))) == &g_256) > l_2285[5][1]) | p_27) || l_2286);
}
(*g_203) = (*g_840);
if ((safe_sub_func_int16_t_s_s((!1UL), (l_2291 ^= l_2261))))
{ /* block id: 1062 */
int8_t l_2292 = 0xFDL;
int8_t *l_2305[2];
int32_t l_2306 = 0x70DC0C2BL;
int32_t l_2313 = 0xD908C5E0L;
int i;
for (i = 0; i < 2; i++)
l_2305[i] = &g_148;
l_2292 ^= p_26;
l_2313 = (safe_div_func_uint8_t_u_u((1L >= (((safe_mod_func_uint32_t_u_u((((safe_sub_func_uint16_t_u_u((((l_2286 >= ((safe_div_func_int64_t_s_s(((((((**l_2182) = p_23.f0) >= (safe_div_func_uint32_t_u_u(((l_2282 = ((((p_25 < (safe_lshift_func_uint16_t_u_u(((((((((*l_1430) = ((l_2306 = (l_2291 |= (0x7614259AL == 1L))) < (l_2307[0] != &g_1209))) >= (safe_rshift_func_uint16_t_u_u((safe_unary_minus_func_uint16_t_u(1UL)), 14))) == 0L) ^ p_26) < 0x510B9702L) || 249UL) <= l_2282), p_23.f1))) , l_2311) == (*l_1762)) , 0x8ABC02D9EEF6E4C0LL)) | p_23.f1), p_26))) <= 6L) == p_23.f1) , 0L), 0x9743605614B441B3LL)) | (-1L))) < (*g_456)) <= l_2312), p_23.f1)) & p_23.f0) && l_2291), p_23.f1)) , 0x51B61C2DL) <= p_25)), l_2292));
l_2315[0] &= l_2314;
(**l_2028) = (void*)0;
}
else
{ /* block id: 1072 */
(*g_2317) = (*g_883);
}
}
else
{ /* block id: 1075 */
int8_t **l_2325 = &g_305[0];
uint32_t l_2333 = 18446744073709551612UL;
int64_t l_2336 = 6L;
volatile uint8_t * volatile * volatile *l_2337[8];
int32_t l_2350 = (-1L);
int16_t **l_2365 = &g_539[3];
int i;
for (i = 0; i < 8; i++)
l_2337[i] = &g_455;
if (l_2318)
{ /* block id: 1076 */
uint64_t l_2328 = 0x5C99DA52F62424BFLL;
int32_t l_2330 = 0x509101B1L;
union U0 **l_2335 = &g_750;
l_2330 = ((safe_sub_func_uint64_t_u_u((p_25 && (*g_313)), ((l_2328 &= ((l_2326[2] = ((p_26 & (p_23.f1 != ((safe_sub_func_int32_t_s_s((safe_mul_func_uint8_t_u_u(((((void*)0 != l_2325) , p_24) <= ((0xF7164121E32FFEEBLL >= p_26) < p_23.f0)), (**g_1574))), (-4L))) < p_23.f1))) , (void*)0)) != l_2327[2][3])) ^ p_23.f0))) <= l_2329[1][3][1]);
l_2336 &= ((safe_mul_func_uint16_t_u_u(p_24, l_2333)) ^ (l_2334 != ((*l_2335) = &p_23)));
}
else
{ /* block id: 1082 */
uint32_t l_2338 = 0x4C74B2B3L;
const union U0 *l_2348 = &g_1636;
const union U0 ** const l_2347 = &l_2348;
int32_t l_2349 = 0x64913073L;
l_2337[5] = &g_455;
--l_2338;
l_2351 |= (l_2291 &= ((safe_rshift_func_int8_t_s_u(l_2338, (~(((**l_2182) = (**g_455)) < (!((safe_add_func_uint16_t_u_u(p_23.f1, (l_2347 == &l_2326[2]))) & (l_2349 = 1L))))))) ^ (((p_23.f0 & (((l_2350 = ((void*)0 != (*g_1011))) | 4294967286UL) & p_23.f1)) < l_2286) | 3L)));
}
for (l_2261 = 8; (l_2261 >= 0); l_2261 -= 1)
{ /* block id: 1093 */
uint32_t l_2352[4];
int i;
for (i = 0; i < 4; i++)
l_2352[i] = 0xB97B2DCDL;
++l_2352[2];
}
for (p_23.f0 = 0; (p_23.f0 <= 4); p_23.f0 += 1)
{ /* block id: 1098 */
int32_t l_2367 = (-3L);
int i;
l_2367 = (safe_lshift_func_int8_t_s_s(((l_1528[p_23.f0] <= p_26) && (l_1528[p_23.f0] == (((((safe_mod_func_int16_t_s_s((l_2291 = ((safe_mod_func_int64_t_s_s(l_1528[p_23.f0], (((safe_sub_func_int64_t_s_s((safe_mod_func_int64_t_s_s((((void*)0 == &l_2314) && (((*g_1011) = l_2365) == l_2366)), ((((l_2351 , (void*)0) != (void*)0) , p_23.f1) , 1L))), (-1L))) , p_23.f0) && p_27))) >= p_25)), p_25)) != 0x1CB0F457L) , l_2336) == 0UL) < l_2261))), 3));
}
}
l_2369--;
}
else
{ /* block id: 1105 */
const int32_t l_2393 = 0x9CE284FCL;
int32_t l_2394 = 0L;
int32_t l_2396 = 0x6CE80117L;
int32_t l_2398[5][10] = {{0x37C4C76BL,(-1L),7L,0L,7L,(-1L),0x37C4C76BL,0x37C4C76BL,(-1L),7L},{(-1L),0x37C4C76BL,0x37C4C76BL,(-1L),7L,0L,7L,(-1L),0x37C4C76BL,0x37C4C76BL},{7L,0x37C4C76BL,0x40E899C9L,7L,7L,(-1L),0L,(-2L),0L,(-1L)},{0x40E899C9L,0x37C4C76BL,7L,0x37C4C76BL,0x40E899C9L,(-1L),(-1L),0x40E899C9L,0x37C4C76BL,7L},{(-2L),(-2L),7L,0x40E899C9L,(-1L),0x40E899C9L,7L,(-2L),(-2L),7L}};
int32_t l_2438 = (-7L);
int i, j;
l_2398[3][2] = (((p_25 || (safe_mod_func_uint32_t_u_u((safe_add_func_uint64_t_u_u((safe_mul_func_int16_t_s_s((p_24 || ((l_2396 = ((p_26 , p_23.f1) & ((3L == p_27) , ((p_23.f1 , ((**l_2311) |= (safe_add_func_uint32_t_u_u((((safe_mul_func_int16_t_s_s((l_2395[2][0][2] = (safe_add_func_int16_t_s_s((safe_mul_func_int8_t_s_s(((safe_unary_minus_func_int32_t_s(((+(safe_mul_func_uint16_t_u_u(((l_2394 = ((safe_lshift_func_uint16_t_u_u((p_25 >= (&p_27 != l_2392)), l_2393)) >= p_24)) | p_24), p_25))) == p_23.f0))) >= 0xABFFE14D0251063BLL), p_23.f1)), p_24))), p_23.f1)) && 0x245BL) | p_24), 0x7B559EE3L)))) | p_27)))) , p_23.f0)), (-1L))), l_2248[3])), l_2397))) > 0xBE49399CE565BAFBLL) || 6UL);
for (g_314 = 0; (g_314 <= 2); g_314 += 1)
{ /* block id: 1113 */
int32_t *l_2399 = &g_392[0];
(*g_203) = l_2399;
for (g_28.f0 = 0; (g_28.f0 <= 2); g_28.f0 += 1)
{ /* block id: 1117 */
int32_t *l_2435 = &l_1981[1];
int32_t l_2436 = 0xDCEDD759L;
uint32_t *l_2441 = &g_45[0];
uint32_t **l_2440 = &l_2441;
int32_t l_2452 = 0x2A8ADF92L;
int i;
l_2438 |= (safe_unary_minus_func_int32_t_s(((((safe_add_func_int32_t_s_s((!(~(&l_2399 == ((4UL == ((((((safe_div_func_int16_t_s_s((safe_div_func_int16_t_s_s((((0x07253A28L ^ (safe_rshift_func_int8_t_s_u(((safe_sub_func_uint32_t_u_u(g_2082, (safe_add_func_int64_t_s_s((safe_mod_func_uint16_t_u_u((((safe_rshift_func_int8_t_s_u(l_2248[3], (safe_lshift_func_int16_t_s_s(1L, 5)))) , (safe_rshift_func_int8_t_s_u((safe_sub_func_uint16_t_u_u(p_23.f0, (safe_mul_func_uint8_t_u_u(((~(g_1320[g_314] = (safe_mod_func_int16_t_s_s((safe_mod_func_int16_t_s_s((((((*l_2435) = (l_2394 = ((*g_158) = (safe_add_func_uint64_t_u_u(l_2398[3][2], ((+8UL) <= 255UL)))))) , p_24) , 0UL) >= 0xA5B92E3AL), (*l_2399))), p_27)))) >= p_23.f1), l_2436)))), (**g_1574)))) ^ l_2398[3][2]), (***l_2028))), p_26)))) == p_25), (**g_1574)))) && p_23.f0) , (*l_2399)), 0x477AL)), l_2436)) < p_27) || g_28.f0) == l_2393) | p_23.f1) , 0xCC25L)) , &l_2399)))), (*l_2399))) & l_2437) , (*g_1011)) != (*g_1011))));
l_2452 ^= ((((***g_261) > (((l_2436 , l_2439) != ((*l_2440) = l_2435)) != (((g_1320[g_314] = ((**g_2039) , (safe_mul_func_uint16_t_u_u(((safe_mod_func_int64_t_s_s((safe_mod_func_int8_t_s_s((-5L), (safe_sub_func_int32_t_s_s((safe_div_func_int16_t_s_s((***l_2028), p_23.f0)), g_1808)))), l_2248[5])) <= l_2438), p_27)))) , p_24) , l_2436))) && l_2398[4][3]) & (***g_261));
}
}
}
l_1962[2][2] = (((l_2453[1][2][1] , (((safe_div_func_uint32_t_u_u(p_23.f1, p_26)) == (((**g_262) = (safe_add_func_uint32_t_u_u((safe_sub_func_uint16_t_u_u((safe_rshift_func_int8_t_s_s((((void*)0 == &l_2028) , ((((safe_lshift_func_uint16_t_u_u((((*l_2465) = l_2464) == l_2466), 8)) && ((&g_455 == &l_2182) > p_24)) != p_24) || p_23.f1)), 2)), 0x8CA3L)), 0x57D9DC7BL))) ^ 1UL)) >= 255UL)) , (void*)0) == (void*)0);
}
}
l_2477[7] |= (p_25 && ((+((*l_2476) = (safe_sub_func_uint8_t_u_u((&g_1941[6] != &g_1941[0]), ((p_25 , &l_2369) != ((safe_mul_func_int8_t_s_s(9L, (safe_lshift_func_uint8_t_u_s(((*g_313) & (l_2475 = ((((*l_2474) = &p_25) == (void*)0) & 0x6E6CL))), 1)))) , &l_2369)))))) || p_27));
(*l_2478) = (**g_1439);
return g_19[2][2];
}
/* ------------------------------------------ */
/*
* reads : g_1423
* writes: g_1423
*/
uint16_t func_29(int16_t p_30, int32_t * p_31, uint32_t p_32, int8_t p_33)
{ /* block id: 668 */
int32_t *l_1416 = &g_392[0];
int32_t *l_1417 = &g_104;
int32_t *l_1418 = &g_392[2];
int32_t *l_1419 = &g_392[0];
int32_t *l_1420 = &g_104;
int32_t *l_1421[10][9][2] = {{{&g_392[0],&g_4},{(void*)0,&g_4},{(void*)0,&g_4},{&g_392[6],&g_392[0]},{&g_392[0],(void*)0},{(void*)0,&g_392[0]},{&g_104,&g_104},{&g_4,&g_392[6]},{&g_392[4],&g_104}},{{&g_4,&g_4},{&g_4,&g_4},{(void*)0,(void*)0},{(void*)0,&g_4},{&g_4,&g_4},{&g_4,&g_104},{&g_392[4],&g_392[6]},{&g_4,&g_104},{&g_104,&g_392[0]}},{{(void*)0,(void*)0},{&g_392[0],&g_392[0]},{&g_392[6],&g_4},{(void*)0,&g_4},{(void*)0,&g_4},{&g_392[0],&g_392[3]},{(void*)0,(void*)0},{(void*)0,(void*)0},{&g_4,(void*)0}},{{&g_4,&g_104},{&g_392[0],&g_392[8]},{&g_392[0],(void*)0},{&g_392[0],&g_104},{&g_4,&g_104},{&g_104,(void*)0},{&g_4,&g_392[4]},{&g_392[8],(void*)0},{(void*)0,&g_4}},{{&g_4,&g_4},{&g_104,&g_392[5]},{(void*)0,&g_392[5]},{&g_104,&g_4},{&g_4,&g_4},{(void*)0,(void*)0},{&g_392[8],&g_392[4]},{&g_4,(void*)0},{&g_104,&g_104}},{{&g_4,&g_104},{&g_392[0],(void*)0},{&g_392[0],&g_392[8]},{&g_392[0],&g_104},{&g_4,(void*)0},{&g_4,(void*)0},{(void*)0,(void*)0},{(void*)0,&g_392[3]},{&g_392[0],&g_4}},{{(void*)0,&g_4},{(void*)0,&g_4},{&g_392[6],&g_392[0]},{&g_392[0],(void*)0},{(void*)0,&g_392[0]},{&g_104,&g_104},{&g_4,&g_392[6]},{&g_392[4],&g_104},{&g_4,&g_4}},{{&g_4,&g_4},{(void*)0,(void*)0},{(void*)0,&g_4},{&g_4,&g_4},{&g_4,&g_104},{&g_392[4],&g_392[6]},{&g_4,&g_104},{&g_104,&g_392[0]},{(void*)0,(void*)0}},{{&g_392[0],&g_392[0]},{&g_392[6],&g_4},{(void*)0,&g_4},{(void*)0,&g_4},{&g_392[0],&g_392[3]},{(void*)0,(void*)0},{(void*)0,(void*)0},{&g_4,(void*)0},{&g_4,&g_104}},{{&g_392[0],&g_392[8]},{(void*)0,(void*)0},{(void*)0,(void*)0},{&g_392[7],(void*)0},{&g_392[4],&g_4},{(void*)0,&g_4},{&g_392[5],&g_4},{&g_4,&g_104},{&g_4,&g_4}}};
int16_t l_1422 = (-4L);
int i, j, k;
g_1423++;
return p_33;
}
/* ------------------------------------------ */
/*
* reads : g_512 g_513 g_203 g_392 g_832 g_1198 g_313 g_314 g_1208 g_1215 g_455 g_456 g_457 g_1011 g_538 g_262 g_263 g_55 g_507 g_1014 g_19 g_261 g_634 g_204 g_136 g_66 g_698 g_28.f1 g_1209 g_45 g_1088 g_1089 g_173 g_751.f1 g_104 g_509
* writes: g_136 g_832 g_392 g_173 g_539 g_55 g_66 g_45 g_751 g_634 g_104 g_509 g_1215 g_507 g_305
*/
int32_t func_39(uint8_t p_40, uint16_t p_41, int16_t p_42, int32_t * p_43)
{ /* block id: 536 */
int32_t *l_1179 = &g_392[5];
int32_t l_1180 = 0xCAC9F121L;
int32_t *l_1181 = &l_1180;
int32_t *l_1182 = &g_392[0];
int32_t *l_1183 = (void*)0;
int32_t *l_1184[4] = {&g_392[0],&g_392[0],&g_392[0],&g_392[0]};
int32_t l_1185 = 3L;
int8_t l_1186 = 0x4EL;
uint32_t l_1187 = 7UL;
int32_t **l_1193 = &g_158;
uint64_t *l_1194 = &g_832[5];
int8_t *l_1195[5][5] = {{&g_173,&g_148,&g_819[4][6][0],&l_1186,&g_173},{&g_173,&g_819[4][6][0],&g_173,&g_819[4][6][0],&g_173},{&g_148,&g_819[2][4][1],&g_148,&l_1186,&l_1186},{&g_148,&g_819[2][4][1],&g_148,&g_148,&g_819[2][4][1]},{&g_173,&g_819[4][6][0],&g_173,&g_819[2][4][1],&l_1186}};
int16_t *l_1238[3][4] = {{&g_507,&g_507,&g_507,&g_507},{&g_507,(void*)0,(void*)0,&g_507},{(void*)0,&g_507,(void*)0,(void*)0}};
uint32_t *l_1245 = &g_66[3][0][4];
uint32_t *l_1246 = &g_45[0];
union U0 l_1255 = {0x6AA5L};
int8_t l_1312 = 0xCFL;
uint16_t l_1381 = 0x8DF5L;
int32_t l_1412 = 8L;
int i, j;
(*g_203) = (*g_512);
lbl_1413:
++l_1187;
if ((((safe_rshift_func_int16_t_s_u((-1L), 0)) && ((safe_unary_minus_func_int16_t_s((((*l_1194) &= ((l_1193 == l_1193) ^ (*l_1179))) , ((void*)0 != &g_173)))) && ((((*l_1179) &= ((void*)0 != &g_261)) < (((safe_mod_func_uint16_t_u_u((((0xF121L ^ 0x84BEL) & 0xF2L) , p_41), g_1198[3])) , (*g_313)) , (*l_1181))) ^ p_41))) & p_40))
{ /* block id: 541 */
int32_t *l_1199[1][5] = {{&g_392[0],&g_392[0],&g_392[0],&g_392[0],&g_392[0]}};
int i, j;
(*l_1181) ^= (*p_43);
(*g_203) = l_1199[0][3];
}
else
{ /* block id: 544 */
uint64_t **l_1213[10];
int32_t l_1216 = (-7L);
int32_t l_1218[2];
int16_t l_1226 = 0L;
uint32_t l_1227 = 4294967291UL;
int i;
for (i = 0; i < 10; i++)
l_1213[i] = &l_1194;
for (i = 0; i < 2; i++)
l_1218[i] = 6L;
for (g_173 = (-7); (g_173 < 21); g_173 = safe_add_func_int8_t_s_s(g_173, 3))
{ /* block id: 547 */
int32_t l_1219 = 8L;
int32_t l_1220 = 3L;
int32_t l_1221 = 0xE8273173L;
int32_t l_1222[10] = {0L,0L,0L,0L,0L,0L,0L,0L,0L,0L};
int i;
if ((*p_43))
{ /* block id: 548 */
uint8_t l_1206 = 247UL;
int8_t ***l_1210 = &g_1209;
uint64_t ***l_1214 = &l_1213[0];
int32_t l_1217 = 0x4C6A7581L;
l_1220 = (safe_lshift_func_int8_t_s_s(0xE5L, (safe_mul_func_int16_t_s_s(l_1206, (((((l_1219 = (!(((l_1210 = g_1208[7]) == (void*)0) , ((((*l_1179) |= (safe_rshift_func_uint8_t_u_u(((((*l_1214) = l_1213[1]) != ((l_1218[1] |= (l_1217 ^= ((g_1215 , ((0x89L == p_42) , (l_1206 && 0UL))) , l_1216))) , &g_313)) > (-9L)), 7))) , p_40) || (-1L))))) >= p_40) || 0x3BF43CB825148BC1LL) & p_41) || (*p_43))))));
}
else
{ /* block id: 556 */
int16_t l_1223 = 0x99AEL;
int32_t l_1224[6][1] = {{(-4L)},{(-6L)},{(-4L)},{(-6L)},{(-4L)},{(-6L)}};
int16_t l_1225[6][7][5] = {{{(-3L),(-1L),(-1L),0x19CFL,0x5972L},{(-3L),0x3A22L,3L,0xEFA6L,(-7L)},{0xF87AL,0xAFEFL,1L,5L,0xEFA6L},{0xBEB0L,0xD473L,9L,0x4286L,0x226FL},{1L,0L,0L,0xD59DL,1L},{0xDDBDL,0x9595L,0x9595L,0xDDBDL,0xEFA6L},{0x5972L,0xDDBDL,0x44A1L,1L,0L}},{{1L,0x24BFL,0x6CB8L,0xD7B4L,0x9079L},{(-1L),8L,0xCE09L,1L,0xE77BL},{0L,1L,2L,0xDDBDL,0L},{0x6CB8L,0xF87AL,0x484EL,0xD59DL,0x3A22L},{0xF87AL,0xC5A2L,1L,0x4286L,0x484EL},{0x3197L,0x3A22L,2L,5L,(-8L)},{0xD50DL,0L,(-1L),0xEFA6L,0xD118L}},{{0xBEB0L,0xDC14L,(-8L),0x19CFL,(-1L)},{0x63EFL,(-8L),0x44A1L,1L,1L},{2L,0x3197L,(-3L),3L,0xBEB0L},{0xB093L,0xC5A2L,0xD7B4L,1L,(-1L)},{0xB093L,(-3L),9L,0x24BFL,0x5972L},{2L,0L,0xCE09L,(-1L),0x3A22L},{0x63EFL,8L,2L,8L,0xD59DL}},{{0xBEB0L,0xF87AL,(-1L),0L,0x3197L},{0xD50DL,(-1L),1L,0L,1L},{1L,0L,(-9L),8L,0x8160L},{4L,1L,0xD118L,0x45D7L,0x45D7L},{0xB4BBL,0xDC4CL,0xB4BBL,0L,0xAFEFL},{0x6CB8L,(-1L),0xE5CEL,2L,0x0145L},{(-3L),7L,(-10L),0x9595L,0xD59DL}},{{1L,0xE77BL,0xE5CEL,0x0145L,0x484EL},{0xCE09L,0x8E1CL,0xB4BBL,4L,(-9L)},{0x9595L,3L,0xD118L,(-1L),1L},{0x3EBBL,2L,(-9L),9L,2L},{8L,0x8E1CL,(-1L),0xC5A2L,0x4D6EL},{4L,0x9595L,0L,0xD50DL,1L},{0xF5BAL,1L,0xAE86L,0L,1L}},{{0x3BC1L,(-1L),0L,0x45D7L,0L},{0x45D7L,(-1L),1L,0L,(-1L)},{0x3EBBL,0x484EL,0xE5CEL,1L,(-1L)},{0xE77BL,0L,0xF5BAL,0xE77BL,0L},{(-1L),0xE77BL,0x3263L,(-1L),1L},{1L,0x3BC1L,0x4571L,0xE5CEL,1L},{0x9595L,2L,9L,0xAFEFL,0x4D6EL}}};
int i, j, k;
--l_1227;
}
}
return (*p_43);
}
if (((((*l_1194) = ((safe_mod_func_int64_t_s_s((safe_mod_func_int64_t_s_s((safe_mod_func_int8_t_s_s(p_42, (**g_455))), p_42)), (*l_1182))) , 0x047117BA2FEE531CLL)) , (safe_rshift_func_uint16_t_u_u((&p_42 == ((**g_1011) = l_1238[2][1])), 2))) <= ((*l_1246) = (safe_add_func_uint32_t_u_u(((*l_1245) = ((safe_rshift_func_uint16_t_u_u((++(**g_262)), p_41)) >= (*p_43))), (*p_43))))))
{ /* block id: 567 */
return (*p_43);
}
else
{ /* block id: 569 */
const int32_t *l_1252 = &g_1215;
const int32_t **l_1251 = &l_1252;
const int32_t ***l_1250[9] = {&l_1251,&l_1251,&l_1251,&l_1251,&l_1251,&l_1251,&l_1251,&l_1251,&l_1251};
union U0 l_1256[9] = {{0xCA49L},{0xCA49L},{0UL},{0xCA49L},{0xCA49L},{0UL},{0xCA49L},{0xCA49L},{0UL}};
uint32_t l_1257 = 0x4C4E44E5L;
int32_t l_1258[3];
uint8_t *l_1259 = (void*)0;
uint8_t *l_1260 = &g_634;
uint8_t l_1302[7];
int32_t l_1343 = 0x3740A5F7L;
int i;
for (i = 0; i < 3; i++)
l_1258[i] = (-4L);
for (i = 0; i < 7; i++)
l_1302[i] = 246UL;
(*l_1181) ^= (g_507 > (*p_43));
l_1258[1] &= ((*l_1181) = (p_40 && ((***g_261) &= ((1UL || 0UL) != (!((((((((p_42 != ((safe_mul_func_uint16_t_u_u((&l_1193 == (l_1250[0] = l_1250[0])), (safe_sub_func_uint16_t_u_u(((l_1256[7] = ((*g_1014) = l_1255)) , ((((&l_1195[1][4] != (void*)0) < (*l_1182)) != (*g_313)) != p_40)), p_40)))) != 4294967290UL)) , p_40) < p_42) < l_1257) || 0x1538L) != 0xD4079B4D6D5C096BLL) <= g_19[2][3]) == p_42))))));
if (((((*l_1260)++) && ((safe_unary_minus_func_uint64_t_u((l_1255 , p_42))) & ((*l_1194)--))) , (p_40 | (p_41 ^ ((((1L >= 1L) , &l_1250[0]) != (void*)0) > 0L)))))
{ /* block id: 579 */
int32_t l_1295 = 0x95C8B57CL;
int32_t l_1306 = 0xD25BE835L;
uint32_t l_1309 = 1UL;
int32_t l_1324 = 0x3A1EABB0L;
for (g_751.f1 = 0; (g_751.f1 <= 2); g_751.f1 += 1)
{ /* block id: 582 */
int32_t l_1301 = 0xD4D474F0L;
int32_t l_1303 = (-1L);
for (g_104 = 2; (g_104 >= 0); g_104 -= 1)
{ /* block id: 585 */
int32_t l_1290 = 0L;
int32_t l_1308[6] = {1L,1L,1L,1L,1L,1L};
int16_t **l_1335 = &g_539[4];
uint64_t *l_1355 = &g_314;
int i;
}
}
return l_1295;
}
else
{ /* block id: 610 */
int16_t l_1358 = 0L;
uint32_t l_1380 = 4UL;
if ((((*l_1181) = (l_1358 = ((*l_1179) = (p_42 = p_40)))) >= (l_1238[2][1] == (void*)0)))
{ /* block id: 615 */
uint8_t l_1363[1][9] = {{0UL,0UL,0x3AL,0UL,0UL,0x3AL,0UL,0UL,0x3AL}};
int i, j;
(*l_1182) |= (safe_div_func_uint64_t_u_u(0x00F22709AD8A5B2ELL, (safe_add_func_int8_t_s_s(l_1363[0][1], p_40))));
for (l_1187 = 0; (l_1187 <= 8); l_1187 += 1)
{ /* block id: 619 */
for (g_509 = 8; (g_509 >= 0); g_509 -= 1)
{ /* block id: 622 */
(*g_203) = p_43;
(*l_1181) |= (***g_204);
(*g_203) = (**g_204);
}
for (g_1215 = 8; (g_1215 >= 2); g_1215 -= 1)
{ /* block id: 629 */
}
}
}
else
{ /* block id: 635 */
(*l_1182) |= (-1L);
}
for (g_509 = 26; (g_509 != 19); g_509--)
{ /* block id: 640 */
uint32_t l_1366 = 0xE268B470L;
int32_t l_1370[6][9][4] = {{{0x3A1D18E1L,7L,0x4E7331DEL,0xDD46E351L},{0x4E7331DEL,0xDD46E351L,0x632ED045L,1L},{(-3L),(-1L),7L,0xBE6A28A7L},{0x17FB5631L,0x97A3B52DL,0xBE6A28A7L,0xF55FD177L},{1L,0L,4L,0xB3C37446L},{1L,0xFD72CAECL,1L,0xEF2B9D2BL},{0x632ED045L,0x389C5868L,1L,0xBB022F01L},{0xA61CFB95L,3L,3L,0xA61CFB95L},{0x389C5868L,0x16DD402CL,0x632ED045L,4L}},{{7L,1L,7L,1L},{0xEF2B9D2BL,0x97A3B52DL,0xC320A4D5L,1L},{0L,1L,0xBB022F01L,4L},{1L,0x16DD402CL,0xDE18F7E2L,0xA61CFB95L},{0xFBC17052L,3L,0x50BCE1F2L,0xBB022F01L},{0xFD72CAECL,0x389C5868L,0x29299502L,0xEF2B9D2BL},{(-1L),0x29299502L,1L,1L},{1L,0x8422496CL,0L,0xBB022F01L},{7L,6L,1L,9L}},{{1L,0x1898BC5DL,(-1L),0xF55FD177L},{0xF55FD177L,7L,0L,7L},{0xCBF9FB53L,0xB3C37446L,0xBB022F01L,0xD549AEE8L},{0x4E7331DEL,4L,0x97A3B52DL,0x29299502L},{0xB3C37446L,0x389C5868L,1L,6L},{0xB3C37446L,1L,0x97A3B52DL,0x5EC3CA84L},{0x4E7331DEL,6L,0xBB022F01L,1L},{0xCBF9FB53L,1L,0L,(-10L)},{0xF55FD177L,(-3L),(-1L),7L}},{{1L,1L,1L,0xD549AEE8L},{7L,0x97A3B52DL,0L,3L},{1L,7L,1L,0xBE6A28A7L},{(-1L),0xCBF9FB53L,1L,0x9866C1FCL},{0x29299502L,6L,0xDE18F7E2L,0xDE18F7E2L},{0x6D7EEDA2L,0x6D7EEDA2L,1L,0xC320A4D5L},{0xF55FD177L,3L,0xD549AEE8L,0x4E7331DEL},{0x8422496CL,0L,0x5EC3CA84L,0xD549AEE8L},{(-3L),0L,0xB3C37446L,0x4E7331DEL}},{{0L,3L,1L,0xC320A4D5L},{0L,0x6D7EEDA2L,(-1L),0xDE18F7E2L},{0x389C5868L,6L,4L,0x9866C1FCL},{1L,0xCBF9FB53L,0xFBC17052L,0xBE6A28A7L},{0xF55FD177L,7L,0x632ED045L,3L},{(-3L),0x97A3B52DL,9L,0xD549AEE8L},{3L,1L,0L,7L},{0x97A3B52DL,(-3L),1L,(-10L)},{4L,1L,4L,1L}},{{7L,6L,0x9866C1FCL,0x5EC3CA84L},{0x1898BC5DL,1L,0L,6L},{0xF55FD177L,0x389C5868L,0L,0x29299502L},{0x1898BC5DL,4L,0x9866C1FCL,0xD549AEE8L},{7L,0xB3C37446L,4L,7L},{4L,7L,1L,0xF55FD177L},{0x97A3B52DL,0x1898BC5DL,0L,9L},{3L,6L,9L,0xBB022F01L},{(-3L),0x8422496CL,0x632ED045L,1L}}};
uint16_t ****l_1379 = (void*)0;
uint16_t *****l_1378 = &l_1379;
int8_t *l_1406[6][6] = {{&g_819[4][6][2],(void*)0,&g_148,&g_148,(void*)0,(void*)0},{&l_1186,&g_148,&g_148,&g_819[4][6][0],&g_819[4][6][0],&l_1186},{&l_1186,&g_148,&g_819[4][6][0],&g_148,&l_1186,(void*)0},{&g_819[4][6][2],(void*)0,&g_819[4][6][0],&l_1186,&l_1186,&g_819[3][2][0]},{&g_819[2][2][0],(void*)0,&l_1186,(void*)0,&g_819[3][2][0],&g_819[3][2][0]},{&g_148,&g_819[4][6][0],&g_819[4][6][0],&g_148,&l_1312,&g_819[4][6][0]}};
int i, j, k;
(*p_43) = (((((*p_43) < ((l_1381 ^= ((l_1366 ^ ((*l_1181) = ((((void*)0 != &g_1088) <= (safe_rshift_func_int8_t_s_s((safe_unary_minus_func_int16_t_s((p_42 , (p_42 = (l_1370[4][2][2] = 0L))))), 7))) || (safe_rshift_func_int16_t_s_u((!(safe_rshift_func_uint16_t_u_u((safe_mul_func_uint8_t_u_u(((l_1358 , l_1378) != &l_1379), (*g_456))), (***g_261)))), l_1380))))) , 0x2FB7484FL)) && 1L)) < 2L) || g_66[5][0][5]) < (*l_1179));
(*l_1182) = ((*l_1181) &= l_1370[2][4][2]);
for (g_507 = (-25); (g_507 != (-26)); --g_507)
{ /* block id: 650 */
int8_t **l_1407 = &l_1195[2][2];
int16_t ***l_1408 = &g_538[1];
if ((*p_43))
break;
(*l_1181) = ((safe_add_func_int32_t_s_s((*l_1181), (g_698 | (safe_rshift_func_uint16_t_u_s(((safe_sub_func_int64_t_s_s(0xDEEF44207A0202ADLL, (((safe_mul_func_uint8_t_u_u((((safe_mul_func_int16_t_s_s((safe_mul_func_uint16_t_u_u((+((*l_1246) = (safe_div_func_int8_t_s_s((l_1302[5] >= ((*p_43) < (safe_mul_func_int16_t_s_s((safe_sub_func_uint8_t_u_u((safe_add_func_int8_t_s_s(l_1358, (+((((((((((((g_28.f1 ^ (((*l_1245) = (((((*g_1209) = l_1406[4][3]) == ((*l_1407) = l_1260)) >= p_41) & 0xAA3AL)) < l_1370[3][4][0])) , (void*)0) != l_1408) , g_45[0]) , 0x1F29L) ^ p_41) ^ (*p_43)) || 0x60353A15L) , 7L) | 0x7D01L) == l_1256[7].f1) & 0x9EFFL)))), p_42)), (***g_261))))), g_392[0])))), p_40)), (*l_1182))) || p_42) != p_40), p_41)) , (*l_1181)) && l_1358))) == l_1256[7].f1), (*l_1182)))))) && (*l_1182));
}
}
}
if ((*p_43))
{ /* block id: 660 */
int64_t l_1409 = 0xA608152DA846E3D4LL;
(*l_1179) = l_1409;
}
else
{ /* block id: 662 */
l_1412 = ((p_40 && (-1L)) >= ((*g_1088) != l_1193));
if (g_1215)
goto lbl_1413;
}
}
return (*p_43);
}
/* ------------------------------------------ */
/*
* reads :
* writes:
*/
uint16_t func_50(uint16_t p_51)
{ /* block id: 12 */
uint8_t l_58 = 1UL;
uint32_t l_72 = 0x6B464BBCL;
int32_t *l_761[9][2][10] = {{{&g_4,&g_392[0],(void*)0,(void*)0,(void*)0,&g_392[0],&g_4,(void*)0,(void*)0,&g_104},{(void*)0,&g_392[0],(void*)0,&g_104,&g_4,&g_4,&g_104,(void*)0,&g_392[0],(void*)0}},{{(void*)0,&g_392[0],(void*)0,&g_4,(void*)0,&g_104,&g_4,&g_104,(void*)0,&g_4},{&g_4,&g_392[0],&g_4,&g_392[0],(void*)0,&g_104,(void*)0,(void*)0,(void*)0,(void*)0}},{{(void*)0,&g_4,&g_104,&g_104,&g_4,(void*)0,(void*)0,(void*)0,&g_104,&g_104},{&g_392[0],&g_104,&g_4,(void*)0,(void*)0,(void*)0,&g_4,&g_104,&g_392[0],(void*)0}},{{&g_392[0],&g_104,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,&g_104,&g_392[0],(void*)0,&g_392[0],&g_104}},{{&g_4,(void*)0,(void*)0,(void*)0,&g_4,&g_104,&g_392[0],(void*)0,&g_104,&g_104},{(void*)0,(void*)0,&g_4,&g_104,&g_104,&g_4,(void*)0,(void*)0,(void*)0,&g_104}},{{(void*)0,&g_104,(void*)0,&g_392[0],&g_4,&g_392[0],&g_4,&g_392[0],(void*)0,&g_104},{&g_4,&g_104,(void*)0,&g_4,(void*)0,&g_392[0],(void*)0,(void*)0,&g_392[0],(void*)0}},{{&g_104,&g_4,&g_4,&g_104,(void*)0,&g_392[0],(void*)0,(void*)0,(void*)0,(void*)0},{&g_4,&g_392[0],(void*)0,(void*)0,(void*)0,&g_392[0],&g_4,(void*)0,(void*)0,&g_104}},{{(void*)0,&g_392[0],(void*)0,&g_104,&g_4,&g_4,&g_104,(void*)0,&g_392[0],(void*)0},{(void*)0,&g_392[0],(void*)0,&g_4,(void*)0,&g_104,&g_4,&g_104,(void*)0,&g_4}},{{&g_4,&g_392[0],&g_4,&g_392[0],(void*)0,&g_104,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,&g_4,&g_104,&g_104,&g_4,(void*)0,(void*)0,(void*)0,&g_104,&g_104}}};
int8_t **l_771 = &g_305[0];
int8_t ***l_770 = &l_771;
union U0 *l_788 = &g_28;
uint32_t l_821[2];
int32_t l_822 = 3L;
int32_t ***l_841 = &g_203;
int32_t l_859 = 0L;
int64_t l_877 = 0x674332CE63F4FEAFLL;
uint8_t l_1009 = 0x2EL;
int i, j, k;
for (i = 0; i < 2; i++)
l_821[i] = 4294967293UL;
for (p_51 = (-13); (p_51 != 35); ++p_51)
{ /* block id: 15 */
uint32_t *l_65 = &g_66[3][0][4];
int32_t l_73[9][1][10] = {{{1L,(-10L),(-7L),(-1L),0x52C43DA4L,1L,6L,(-1L),6L,1L}},{{0x52C43DA4L,0xEF7B6068L,1L,0x1ABDDA6AL,0x1ABDDA6AL,1L,0xEF7B6068L,0x52C43DA4L,0x16DC91E8L,6L}},{{0xEF7B6068L,(-10L),3L,0x23D2215AL,(-7L),1L,(-1L),0x1ABDDA6AL,0L,0x1ABDDA6AL}},{{0x23D2215AL,0x1ABDDA6AL,3L,(-7L),3L,0x1ABDDA6AL,0x23D2215AL,0x52C43DA4L,1L,(-1L)}},{{2L,(-8L),1L,6L,(-1L),3L,0x52C43DA4L,(-10L),(-10L),0x52C43DA4L}},{{0L,(-8L),0x52C43DA4L,0x52C43DA4L,(-8L),0L,0x23D2215AL,(-1L),1L,3L}},{{(-1L),0x1ABDDA6AL,1L,0L,6L,0xEF7B6068L,(-1L),1L,(-1L),0xEF7B6068L}},{{(-1L),(-10L),2L,(-10L),(-1L),0L,0xEF7B6068L,(-7L),1L,0x16DC91E8L}},{{0L,0xEF7B6068L,(-7L),1L,0x16DC91E8L,3L,(-8L),(-8L),3L,0x16DC91E8L}}};
int32_t *l_792 = &g_19[2][3];
uint16_t * const ***l_799 = (void*)0;
const union U0 l_817[3] = {{0UL},{0UL},{0UL}};
int32_t *l_823 = &l_73[2][0][7];
const uint16_t ***l_925 = &g_257;
const int16_t l_962 = 0xF189L;
uint16_t l_972[2];
uint16_t l_1063 = 1UL;
const int32_t **l_1085 = (void*)0;
const int32_t ***l_1084 = &l_1085;
const int32_t ****l_1083[1];
int i, j, k;
for (i = 0; i < 2; i++)
l_972[i] = 0x54CDL;
for (i = 0; i < 1; i++)
l_1083[i] = &l_1084;
--l_58;
}
return p_51;
}
/* ------------------------------------------ */
/*
* reads : g_751.f0 g_203
* writes: g_751.f0 g_136
*/
int32_t func_61(uint32_t p_62, int32_t * p_63, int32_t * const p_64)
{ /* block id: 297 */
for (g_751.f0 = 22; (g_751.f0 <= 51); g_751.f0 = safe_add_func_int8_t_s_s(g_751.f0, 4))
{ /* block id: 300 */
int32_t *l_764 = (void*)0;
(*g_203) = l_764;
}
return p_62;
}
/* ------------------------------------------ */
/*
* reads : g_28.f1 g_4 g_2 g_19 g_456 g_457 g_104 g_507 g_204 g_203 g_136
* writes: g_104 g_53 g_750 g_507 g_136
*/
int8_t func_79(int8_t p_80)
{ /* block id: 19 */
int64_t l_85 = 0xAE6E92ECD44262C4LL;
int32_t * const l_94[5][6] = {{&g_4,&g_4,&g_4,&g_4,&g_4,&g_4},{&g_4,&g_4,&g_4,&g_4,&g_4,&g_4},{&g_4,&g_4,&g_4,&g_4,&g_4,&g_4},{&g_4,&g_4,&g_4,&g_4,&g_4,&g_4},{&g_4,&g_4,&g_4,&g_4,&g_4,&g_4}};
int32_t *l_486 = &g_392[2];
int32_t ***l_504 = &g_203;
const uint16_t * const l_525[6] = {&g_55,&g_55,&g_55,&g_55,&g_55,&g_55};
uint64_t l_607 = 1UL;
const int16_t *l_642 = &g_643[1];
int32_t l_648 = 0x69FB208CL;
int32_t l_676 = 0x3FC9683EL;
int8_t l_680 = (-7L);
union U0 *l_749[4];
int32_t l_760[9][2] = {{(-1L),(-1L)},{(-1L),0xFB1964A9L},{(-1L),(-1L)},{(-1L),0xFB1964A9L},{(-1L),(-1L)},{(-1L),0xFB1964A9L},{(-1L),(-1L)},{(-1L),0xFB1964A9L},{(-1L),(-1L)}};
int i, j;
for (i = 0; i < 4; i++)
l_749[i] = &g_28;
l_486 = ((safe_rshift_func_int8_t_s_u(0L, func_83((l_85 , ((p_80 ^ 0x05L) | ((g_28.f1 , (safe_sub_func_uint8_t_u_u(((safe_sub_func_uint8_t_u_u(((safe_div_func_uint64_t_u_u(((safe_rshift_func_uint16_t_u_s(l_85, (l_94[4][3] != ((~(safe_div_func_uint64_t_u_u((safe_div_func_int32_t_s_s((g_104 = (((safe_lshift_func_int16_t_s_u((((((safe_add_func_uint8_t_u_u((1L < p_80), p_80)) | p_80) | 4294967287UL) > p_80) ^ g_4), p_80)) >= 255UL) <= 0x0AFCEDF4A203F87DLL)), 0x65828949L)), g_4))) , l_94[0][1])))) > (-4L)), g_2)) >= 0x01L), p_80)) ^ 0x324EL), p_80))) | p_80)))))) , (void*)0);
for (l_85 = (-10); (l_85 != 22); ++l_85)
{ /* block id: 181 */
int32_t *l_511 = &g_392[0];
uint16_t *l_524 = &g_53;
int16_t *l_537 = &g_507;
int16_t **l_536 = &l_537;
uint32_t l_543[8];
int16_t *l_644 = &g_507;
int32_t l_678 = 0x818DF06CL;
int32_t l_679[1];
int i;
for (i = 0; i < 8; i++)
l_543[i] = 3UL;
for (i = 0; i < 1; i++)
l_679[i] = 0x5BFCAD32L;
}
g_750 = l_749[0];
for (g_104 = 0; (g_104 < 20); g_104 = safe_add_func_int64_t_s_s(g_104, 7))
{ /* block id: 286 */
uint32_t l_754 = 18446744073709551615UL;
l_754++;
for (g_507 = (-21); (g_507 > (-30)); g_507--)
{ /* block id: 290 */
uint32_t l_759 = 8UL;
l_759 = 1L;
}
(**l_504) = (**g_204);
return l_754;
}
return l_760[6][1];
}
/* ------------------------------------------ */
/*
* reads : g_19 g_456 g_457
* writes: g_53
*/
uint8_t func_83(int8_t p_84)
{ /* block id: 21 */
uint32_t l_107 = 0UL;
uint8_t l_111 = 255UL;
uint16_t *l_112 = &g_55;
int32_t l_122 = 0x4DB6C23AL;
uint32_t l_132 = 4294967290UL;
int32_t *l_146 = &g_19[2][3];
uint32_t l_171[7][7][1] = {{{0x0D964AFFL},{0x74284727L},{0x0D964AFFL},{0xC8C07AB7L},{1UL},{0xDA113399L},{0xF2E4F19BL}},{{0x61A28F2DL},{0UL},{0x61A28F2DL},{0xF2E4F19BL},{0xDA113399L},{1UL},{0xC8C07AB7L}},{{0x0D964AFFL},{0x74284727L},{0x0D964AFFL},{0xC8C07AB7L},{1UL},{0xDA113399L},{0xF2E4F19BL}},{{0x61A28F2DL},{0UL},{0x61A28F2DL},{0xF2E4F19BL},{0xDA113399L},{1UL},{0xC8C07AB7L}},{{0x0D964AFFL},{0x74284727L},{0x0D964AFFL},{0xC8C07AB7L},{1UL},{0xDA113399L},{0xF2E4F19BL}},{{0x61A28F2DL},{0UL},{0x61A28F2DL},{0xF2E4F19BL},{0xDA113399L},{1UL},{0xC8C07AB7L}},{{0x0D964AFFL},{0x74284727L},{0x0D964AFFL},{0xC8C07AB7L},{1UL},{0xDA113399L},{0xF2E4F19BL}}};
int16_t l_196 = 0x360EL;
union U0 l_211 = {0xDC2BL};
int16_t l_222 = 0x4047L;
int32_t l_227 = 0x4108AC6AL;
int32_t l_228 = 0xD24C2FD1L;
int32_t l_229 = 0xF0D3EC59L;
int32_t l_245 = 0x9F390BB7L;
int64_t l_290 = 3L;
uint8_t l_368 = 7UL;
const int16_t *l_451[6] = {(void*)0,&l_196,&l_196,(void*)0,&l_196,&l_196};
int32_t *l_481 = &l_229;
int32_t *l_482[2];
uint32_t l_483 = 18446744073709551607UL;
int i, j, k;
for (i = 0; i < 2; i++)
l_482[i] = &l_227;
for (g_53 = (-1); (g_53 != 15); g_53 = safe_add_func_uint64_t_u_u(g_53, 4))
{ /* block id: 24 */
l_107 = g_19[4][0];
}
return (*g_456);
}
/* ---------------------------------------- */
int main (int argc, char* argv[])
{
int i, j, k;
int print_hash_value = 0;
if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
platform_main_begin();
crc32_gentab();
func_1();
transparent_crc(g_2, "g_2", print_hash_value);
transparent_crc(g_3, "g_3", print_hash_value);
transparent_crc(g_4, "g_4", print_hash_value);
for (i = 0; i < 5; i++)
{
for (j = 0; j < 8; j++)
{
transparent_crc(g_19[i][j], "g_19[i][j]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
transparent_crc(g_28.f0, "g_28.f0", print_hash_value);
transparent_crc(g_28.f1, "g_28.f1", print_hash_value);
for (i = 0; i < 1; i++)
{
transparent_crc(g_45[i], "g_45[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_53, "g_53", print_hash_value);
transparent_crc(g_55, "g_55", print_hash_value);
for (i = 0; i < 7; i++)
{
for (j = 0; j < 1; j++)
{
for (k = 0; k < 6; k++)
{
transparent_crc(g_66[i][j][k], "g_66[i][j][k]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
}
}
}
transparent_crc(g_104, "g_104", print_hash_value);
transparent_crc(g_148, "g_148", print_hash_value);
transparent_crc(g_173, "g_173", print_hash_value);
transparent_crc(g_197, "g_197", print_hash_value);
transparent_crc(g_200, "g_200", print_hash_value);
transparent_crc(g_224, "g_224", print_hash_value);
transparent_crc(g_314, "g_314", print_hash_value);
for (i = 0; i < 9; i++)
{
transparent_crc(g_392[i], "g_392[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_457, "g_457", print_hash_value);
transparent_crc(g_507, "g_507", print_hash_value);
transparent_crc(g_509, "g_509", print_hash_value);
transparent_crc(g_634, "g_634", print_hash_value);
for (i = 0; i < 2; i++)
{
transparent_crc(g_643[i], "g_643[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_698, "g_698", print_hash_value);
transparent_crc(g_702, "g_702", print_hash_value);
transparent_crc(g_751.f0, "g_751.f0", print_hash_value);
transparent_crc(g_751.f1, "g_751.f1", print_hash_value);
transparent_crc(g_778, "g_778", print_hash_value);
for (i = 0; i < 10; i++)
{
for (j = 0; j < 7; j++)
{
for (k = 0; k < 3; k++)
{
transparent_crc(g_819[i][j][k], "g_819[i][j][k]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);
}
}
}
for (i = 0; i < 6; i++)
{
transparent_crc(g_832[i], "g_832[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
for (i = 0; i < 7; i++)
{
for (j = 0; j < 2; j++)
{
transparent_crc(g_904[i][j], "g_904[i][j]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
transparent_crc(g_1000, "g_1000", print_hash_value);
for (i = 0; i < 9; i++)
{
transparent_crc(g_1198[i], "g_1198[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_1215, "g_1215", print_hash_value);
for (i = 0; i < 3; i++)
{
transparent_crc(g_1320[i], "g_1320[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_1328, "g_1328", print_hash_value);
transparent_crc(g_1423, "g_1423", print_hash_value);
transparent_crc(g_1636.f0, "g_1636.f0", print_hash_value);
transparent_crc(g_1636.f1, "g_1636.f1", print_hash_value);
transparent_crc(g_1653, "g_1653", print_hash_value);
transparent_crc(g_1808, "g_1808", print_hash_value);
transparent_crc(g_1917, "g_1917", print_hash_value);
for (i = 0; i < 3; i++)
{
for (j = 0; j < 3; j++)
{
transparent_crc(g_2035[i][j], "g_2035[i][j]", print_hash_value);
if (print_hash_value) printf("index = [%d][%d]\n", i, j);
}
}
transparent_crc(g_2082, "g_2082", print_hash_value);
transparent_crc(g_2134, "g_2134", print_hash_value);
transparent_crc(g_2162, "g_2162", print_hash_value);
for (i = 0; i < 6; i++)
{
transparent_crc(g_2166[i], "g_2166[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_2192, "g_2192", print_hash_value);
transparent_crc(g_2253, "g_2253", print_hash_value);
for (i = 0; i < 5; i++)
{
transparent_crc(g_2262[i], "g_2262[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_2287, "g_2287", print_hash_value);
for (i = 0; i < 8; i++)
{
transparent_crc(g_2491[i], "g_2491[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
for (i = 0; i < 3; i++)
{
transparent_crc(g_2616[i], "g_2616[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_2805, "g_2805", print_hash_value);
transparent_crc(g_2818, "g_2818", print_hash_value);
transparent_crc(g_2995, "g_2995", print_hash_value);
transparent_crc(g_3067, "g_3067", print_hash_value);
transparent_crc(g_3176, "g_3176", print_hash_value);
for (i = 0; i < 5; i++)
{
transparent_crc(g_3258[i], "g_3258[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
transparent_crc(g_3423, "g_3423", print_hash_value);
transparent_crc(g_3471, "g_3471", print_hash_value);
transparent_crc(g_3472, "g_3472", print_hash_value);
transparent_crc(g_3497, "g_3497", print_hash_value);
for (i = 0; i < 4; i++)
{
transparent_crc(g_3500[i], "g_3500[i]", print_hash_value);
if (print_hash_value) printf("index = [%d]\n", i);
}
platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
return 0;
}
/************************ statistics *************************
XXX max struct depth: 0
breakdown:
depth: 0, occurrence: 918
XXX total union variables: 19
XXX non-zero bitfields defined in structs: 0
XXX zero bitfields defined in structs: 0
XXX const bitfields defined in structs: 0
XXX volatile bitfields defined in structs: 0
XXX structs with bitfields in the program: 0
breakdown:
XXX full-bitfields structs in the program: 0
breakdown:
XXX times a bitfields struct's address is taken: 0
XXX times a bitfields struct on LHS: 0
XXX times a bitfields struct on RHS: 0
XXX times a single bitfield on LHS: 0
XXX times a single bitfield on RHS: 0
XXX max expression depth: 42
breakdown:
depth: 1, occurrence: 151
depth: 2, occurrence: 47
depth: 3, occurrence: 5
depth: 4, occurrence: 2
depth: 5, occurrence: 1
depth: 6, occurrence: 2
depth: 7, occurrence: 2
depth: 8, occurrence: 1
depth: 13, occurrence: 1
depth: 14, occurrence: 1
depth: 15, occurrence: 1
depth: 16, occurrence: 2
depth: 17, occurrence: 3
depth: 18, occurrence: 1
depth: 19, occurrence: 2
depth: 20, occurrence: 2
depth: 21, occurrence: 1
depth: 22, occurrence: 3
depth: 23, occurrence: 1
depth: 25, occurrence: 1
depth: 26, occurrence: 2
depth: 30, occurrence: 2
depth: 32, occurrence: 1
depth: 33, occurrence: 2
depth: 35, occurrence: 1
depth: 38, occurrence: 1
depth: 40, occurrence: 2
depth: 42, occurrence: 1
XXX total number of pointers: 633
XXX times a variable address is taken: 1429
XXX times a pointer is dereferenced on RHS: 459
breakdown:
depth: 1, occurrence: 284
depth: 2, occurrence: 105
depth: 3, occurrence: 63
depth: 4, occurrence: 1
depth: 5, occurrence: 6
XXX times a pointer is dereferenced on LHS: 475
breakdown:
depth: 1, occurrence: 375
depth: 2, occurrence: 67
depth: 3, occurrence: 31
depth: 4, occurrence: 1
depth: 5, occurrence: 1
XXX times a pointer is compared with null: 72
XXX times a pointer is compared with address of another variable: 16
XXX times a pointer is compared with another pointer: 27
XXX times a pointer is qualified to be dereferenced: 13460
XXX max dereference level: 5
breakdown:
level: 0, occurrence: 0
level: 1, occurrence: 1733
level: 2, occurrence: 680
level: 3, occurrence: 613
level: 4, occurrence: 69
level: 5, occurrence: 60
XXX number of pointers point to pointers: 316
XXX number of pointers point to scalars: 303
XXX number of pointers point to structs: 0
XXX percent of pointers has null in alias set: 30.6
XXX average alias set size: 1.41
XXX times a non-volatile is read: 2975
XXX times a non-volatile is write: 1547
XXX times a volatile is read: 197
XXX times read thru a pointer: 47
XXX times a volatile is write: 28
XXX times written thru a pointer: 0
XXX times a volatile is available for access: 3.05e+03
XXX percentage of non-volatile access: 95.3
XXX forward jumps: 1
XXX backward jumps: 16
XXX stmts: 161
XXX max block depth: 5
breakdown:
depth: 0, occurrence: 32
depth: 1, occurrence: 28
depth: 2, occurrence: 21
depth: 3, occurrence: 28
depth: 4, occurrence: 22
depth: 5, occurrence: 30
XXX percentage a fresh-made variable is used: 15.6
XXX percentage an existing variable is used: 84.4
********************* end of statistics **********************/