Beispiel #1
0
int work_p_3542952320_sub_483473027_841120479(char *t1, unsigned char t2)
{
    char t4[8];
    int t0;
    char *t5;

LAB0:    t5 = (t4 + 4U);
    *((unsigned char *)t5) = t2;
    if (t2 != 0)
        goto LAB2;

LAB4:    t0 = 0;

LAB1:    return t0;
LAB2:    t0 = 1;
    goto LAB1;

LAB3:    xsi_error(ng0);
    t0 = 0;
    goto LAB1;

LAB5:    goto LAB3;

LAB6:    goto LAB3;

}
int work_a_3649865021_1516540902_sub_3202609556_2134189630(char *t1, int t2, int t3)
{
    char t5[16];
    int t0;
    char *t6;
    char *t7;
    unsigned char t8;

LAB0:    t6 = (t5 + 4U);
    *((int *)t6) = t2;
    t7 = (t5 + 8U);
    *((int *)t7) = t3;
    t8 = (t2 < t3);
    if (t8 != 0)
        goto LAB2;

LAB4:    t0 = t3;

LAB1:    return t0;
LAB2:    t0 = t2;
    goto LAB1;

LAB3:    xsi_error(ng0);
    t0 = 0;
    goto LAB1;

LAB5:    goto LAB3;

LAB6:    goto LAB3;

}
int proc_common_v3_00_a_a_1835494415_3212880686_sub_1582887260042056650_3057020925(char *t1, int t2, int t3)
{
    char t5[16];
    int t0;
    char *t6;
    char *t7;
    unsigned char t8;

LAB0:    t6 = (t5 + 4U);
    *((int *)t6) = t2;
    t7 = (t5 + 8U);
    *((int *)t7) = t3;
    t8 = (t2 < t3);
    if (t8 != 0)
        goto LAB2;

LAB4:    t0 = t3;

LAB1:    return t0;
LAB2:    t0 = t2;
    goto LAB1;

LAB3:    xsi_error(ng0);
    t0 = 0;
    goto LAB1;

LAB5:    goto LAB3;

LAB6:    goto LAB3;

}
int proc_common_v3_00_a_a_0367034882_3306564128_sub_3477279877_229454594(char *t1, int t2, int t3)
{
    char t5[16];
    int t0;
    char *t6;
    char *t7;
    unsigned char t8;

LAB0:    t6 = (t5 + 4U);
    *((int *)t6) = t2;
    t7 = (t5 + 8U);
    *((int *)t7) = t3;
    t8 = (t2 < t3);
    if (t8 != 0)
        goto LAB2;

LAB4:    t0 = t3;

LAB1:    return t0;
LAB2:    t0 = t2;
    goto LAB1;

LAB3:    xsi_error(ng0);
    t0 = 0;
    goto LAB1;

LAB5:    goto LAB3;

LAB6:    goto LAB3;

}
int lmb_bram_if_cntlr_v2_10_b_a_0615717676_3306564128_sub_3930801828168016048_229454594(char *t1, unsigned char t2, int t3)
{
    char t5[16];
    int t0;
    char *t6;
    char *t7;
    unsigned char t8;
    int t9;

LAB0:    t6 = (t5 + 4U);
    *((unsigned char *)t6) = t2;
    t7 = (t5 + 5U);
    *((int *)t7) = t3;
    t8 = (!(t2));
    if (t8 != 0)
        goto LAB2;

LAB4:    t0 = t3;

LAB1:    return t0;
LAB2:    t9 = (t3 + 1);
    t0 = t9;
    goto LAB1;

LAB3:    xsi_error(ng1);
    t0 = 0;
    goto LAB1;

LAB5:    goto LAB3;

LAB6:    goto LAB3;

}
int proc_common_v3_00_a_a_3024854446_3306564128_sub_3702920971460744325_229454594(char *t1, int t2, int t3)
{
    char t5[16];
    int t0;
    char *t6;
    char *t7;
    unsigned char t8;

LAB0:    t6 = (t5 + 4U);
    *((int *)t6) = t2;
    t7 = (t5 + 8U);
    *((int *)t7) = t3;
    t8 = (t2 < t3);
    if (t8 != 0)
        goto LAB2;

LAB4:    t0 = t3;

LAB1:    return t0;
LAB2:    t0 = t2;
    goto LAB1;

LAB3:    xsi_error(ng0);
    t0 = 0;
    goto LAB1;

LAB5:    goto LAB3;

LAB6:    goto LAB3;

}
int xilinxcorelib_a_2471744563_3212880686_sub_3450750294069337529_3057020925(char *t1, unsigned char t2, int t3, int t4)
{
    char t6[16];
    int t0;
    char *t7;
    char *t8;
    char *t9;
    unsigned char t10;

LAB0:    t7 = (t6 + 4U);
    *((unsigned char *)t7) = t2;
    t8 = (t6 + 5U);
    *((int *)t8) = t3;
    t9 = (t6 + 9U);
    *((int *)t9) = t4;
    t10 = (!(t2));
    if (t10 != 0)
        goto LAB2;

LAB4:    t0 = t3;

LAB1:    return t0;
LAB2:    t0 = t4;
    goto LAB1;

LAB3:    xsi_error(ng2);
    t0 = 0;
    goto LAB1;

LAB5:    goto LAB3;

LAB6:    goto LAB3;

}
unsigned char xilinxcorelib_a_2785542976_3212880686_sub_2920649328_3057020925(char *t1, int t2, unsigned char t3, unsigned char t4, unsigned char t5)
{
    char t7[16];
    unsigned char t0;
    char *t8;
    char *t9;
    char *t10;
    char *t11;
    unsigned char t12;
    unsigned char t13;

LAB0:
    t8 = (t7 + 4U);
    *((int *)t8) = t2;
    t9 = (t7 + 8U);
    *((unsigned char *)t9) = t3;
    t10 = (t7 + 9U);
    *((unsigned char *)t10) = t4;
    t11 = (t7 + 10U);
    *((unsigned char *)t11) = t5;
    t12 = (t2 == 5);
    if (t12 != 0)
        goto LAB2;

LAB4:
    t12 = (t2 == 6);
    if (t12 != 0)
        goto LAB6;

LAB7:
    t12 = ieee_p_2592010699_sub_1690584930_503743352(IEEE_P_2592010699, t5);
    t0 = t12;

LAB1:
    return t0;
LAB2:
    t13 = ieee_p_2592010699_sub_1690584930_503743352(IEEE_P_2592010699, t3);
    t0 = t13;
    goto LAB1;

LAB3:
    xsi_error(ng3);
    t0 = 0;
    goto LAB1;

LAB5:
    goto LAB3;

LAB6:
    t13 = ieee_p_2592010699_sub_1690584930_503743352(IEEE_P_2592010699, t4);
    t0 = t13;
    goto LAB1;

LAB8:
    goto LAB3;

LAB9:
    goto LAB3;

}
int xilinxcorelib_p_3381355550_sub_599507243_1067159583(char *t1, char *t2, char *t3)
{
    char t5[24];
    int t0;
    char *t6;
    unsigned char t7;
    char *t8;
    int t9;
    unsigned char t10;
    char *t11;
    char *t12;
    int t13;

LAB0:    t6 = (t5 + 4U);
    t7 = (t2 != 0);
    if (t7 == 1)
        goto LAB3;

LAB2:    t8 = (t5 + 12U);
    *((char **)t8) = t3;
    t9 = xilinxcorelib_p_1837083571_sub_2363168970_775299228(XILINXCORELIB_P_1837083571, t2, t3);
    t10 = (t9 > 0);
    if (t10 != 0)
        goto LAB4;

LAB6:    t9 = xilinxcorelib_p_1837083571_sub_993767359_775299228(XILINXCORELIB_P_1837083571, t2, t3);
    t7 = (t9 > 0);
    if (t7 != 0)
        goto LAB8;

LAB9:    t0 = 0;

LAB1:    return t0;
LAB3:    *((char **)t6) = t2;
    goto LAB2;

LAB4:    t11 = (t1 + 1648U);
    t12 = *((char **)t11);
    t13 = *((int *)t12);
    t0 = t13;
    goto LAB1;

LAB5:    xsi_error(ng4);
    t0 = 0;
    goto LAB1;

LAB7:    goto LAB5;

LAB8:    t11 = (t1 + 1768U);
    t12 = *((char **)t11);
    t13 = *((int *)t12);
    t0 = t13;
    goto LAB1;

LAB10:    goto LAB5;

LAB11:    goto LAB5;

}
Beispiel #10
0
int xilinxcorelib_p_3381355550_sub_10191285232865829655_1067159583(char *t1, char *t2, char *t3)
{
    char t5[24];
    int t0;
    char *t6;
    unsigned char t7;
    char *t8;
    unsigned char t9;
    int t10;
    unsigned char t11;
    unsigned char t12;
    char *t13;
    char *t14;
    int t15;

LAB0:    t6 = (t5 + 4U);
    t7 = (t2 != 0);
    if (t7 == 1)
        goto LAB3;

LAB2:    t8 = (t5 + 12U);
    *((char **)t8) = t3;
    t10 = xilinxcorelib_p_1837083571_sub_14766352364677568714_775299228(XILINXCORELIB_P_1837083571, t2, t3);
    t11 = (t10 > 0);
    if (t11 == 1)
        goto LAB7;

LAB8:    t12 = xilinxcorelib_p_1837083571_sub_14896175549215645095_775299228(XILINXCORELIB_P_1837083571, t2, t3);
    t9 = t12;

LAB9:    if (t9 != 0)
        goto LAB4;

LAB6:    t10 = xilinxcorelib_p_3381355550_sub_2295835399900791562_1067159583(t1, t2, t3);
    t0 = t10;

LAB1:    return t0;
LAB3:    *((char **)t6) = t2;
    goto LAB2;

LAB4:    t13 = (t1 + 1288U);
    t14 = *((char **)t13);
    t15 = *((int *)t14);
    t0 = t15;
    goto LAB1;

LAB5:    xsi_error(ng6);
    t0 = 0;
    goto LAB1;

LAB7:    t9 = (unsigned char)1;
    goto LAB9;

LAB10:    goto LAB5;

LAB11:    goto LAB5;

}
int xilinxcorelib_p_3381355550_sub_4255572759_1067159583(char *t1, char *t2, char *t3)
{
    char t5[24];
    int t0;
    char *t6;
    unsigned char t7;
    char *t8;
    unsigned char t9;
    int t10;
    unsigned char t11;
    unsigned char t12;
    char *t13;
    char *t14;
    int t15;

LAB0:    t6 = (t5 + 4U);
    t7 = (t2 != 0);
    if (t7 == 1)
        goto LAB3;

LAB2:    t8 = (t5 + 12U);
    *((char **)t8) = t3;
    t10 = xilinxcorelib_p_1837083571_sub_2363168970_775299228(XILINXCORELIB_P_1837083571, t2, t3);
    t11 = (t10 > 0);
    if (t11 == 1)
        goto LAB7;

LAB8:    t12 = xilinxcorelib_p_1837083571_sub_719035815_775299228(XILINXCORELIB_P_1837083571, t2, t3);
    t9 = t12;

LAB9:    if (t9 != 0)
        goto LAB4;

LAB6:    t10 = xilinxcorelib_p_3381355550_sub_1910145802_1067159583(t1, t2, t3);
    t0 = t10;

LAB1:    return t0;
LAB3:    *((char **)t6) = t2;
    goto LAB2;

LAB4:    t13 = (t1 + 1288U);
    t14 = *((char **)t13);
    t15 = *((int *)t14);
    t0 = t15;
    goto LAB1;

LAB5:    xsi_error(ng6);
    t0 = 0;
    goto LAB1;

LAB7:    t9 = (unsigned char)1;
    goto LAB9;

LAB10:    goto LAB5;

LAB11:    goto LAB5;

}
int xilinxcorelib_p_3381355550_sub_204859647_1067159583(char *t1, char *t2, char *t3)
{
    char t5[24];
    int t0;
    char *t6;
    unsigned char t7;
    char *t8;
    int t9;
    unsigned char t10;
    char *t11;
    char *t12;
    int t13;
    int t14;

LAB0:    t6 = (t5 + 4U);
    t7 = (t2 != 0);
    if (t7 == 1)
        goto LAB3;

LAB2:    t8 = (t5 + 12U);
    *((char **)t8) = t3;
    t9 = xilinxcorelib_p_1837083571_sub_2363168970_775299228(XILINXCORELIB_P_1837083571, t2, t3);
    t10 = (t9 > 0);
    if (t10 != 0)
        goto LAB4;

LAB6:    t9 = xilinxcorelib_p_3381355550_sub_3326504488_1067159583(t1, t2, t3);
    t11 = (t1 + 1288U);
    t12 = *((char **)t11);
    t13 = *((int *)t12);
    t14 = (t9 + t13);
    t0 = t14;

LAB1:    return t0;
LAB3:    *((char **)t6) = t2;
    goto LAB2;

LAB4:    t11 = (t1 + 1528U);
    t12 = *((char **)t11);
    t13 = *((int *)t12);
    t0 = t13;
    goto LAB1;

LAB5:    xsi_error(ng5);
    t0 = 0;
    goto LAB1;

LAB7:    goto LAB5;

LAB8:    goto LAB5;

}
Beispiel #13
0
int xilinxcorelib_p_3381355550_sub_9543859032527595775_1067159583(char *t1, char *t2, char *t3)
{
    char t5[24];
    int t0;
    char *t6;
    unsigned char t7;
    char *t8;
    int t9;
    unsigned char t10;
    char *t11;
    char *t12;
    int t13;
    int t14;

LAB0:    t6 = (t5 + 4U);
    t7 = (t2 != 0);
    if (t7 == 1)
        goto LAB3;

LAB2:    t8 = (t5 + 12U);
    *((char **)t8) = t3;
    t9 = xilinxcorelib_p_1837083571_sub_14766352364677568714_775299228(XILINXCORELIB_P_1837083571, t2, t3);
    t10 = (t9 > 0);
    if (t10 != 0)
        goto LAB4;

LAB6:    t9 = xilinxcorelib_p_3381355550_sub_18359182902774099496_1067159583(t1, t2, t3);
    t11 = (t1 + 1288U);
    t12 = *((char **)t11);
    t13 = *((int *)t12);
    t14 = (t9 + t13);
    t0 = t14;

LAB1:    return t0;
LAB3:    *((char **)t6) = t2;
    goto LAB2;

LAB4:    t11 = (t1 + 1528U);
    t12 = *((char **)t11);
    t13 = *((int *)t12);
    t0 = t13;
    goto LAB1;

LAB5:    xsi_error(ng5);
    t0 = 0;
    goto LAB1;

LAB7:    goto LAB5;

LAB8:    goto LAB5;

}
Beispiel #14
0
int xilinxcorelib_p_3381355550_sub_2295835399900791562_1067159583(char *t1, char *t2, char *t3)
{
    char t5[24];
    int t0;
    char *t6;
    unsigned char t7;
    char *t8;
    int t9;
    unsigned char t10;
    char *t11;
    char *t12;
    int t13;

LAB0:    t6 = (t5 + 4U);
    t7 = (t2 != 0);
    if (t7 == 1)
        goto LAB3;

LAB2:    t8 = (t5 + 12U);
    *((char **)t8) = t3;
    t9 = xilinxcorelib_p_1837083571_sub_14766352364677573070_775299228(XILINXCORELIB_P_1837083571, t2, t3);
    t10 = (t9 > 0);
    if (t10 != 0)
        goto LAB4;

LAB6:    t11 = (t1 + 1168U);
    t12 = *((char **)t11);
    t9 = *((int *)t12);
    t0 = t9;

LAB1:    return t0;
LAB3:    *((char **)t6) = t2;
    goto LAB2;

LAB4:    t11 = (t1 + 2008U);
    t12 = *((char **)t11);
    t13 = *((int *)t12);
    t0 = t13;
    goto LAB1;

LAB5:    xsi_error(ng2);
    t0 = 0;
    goto LAB1;

LAB7:    goto LAB5;

LAB8:    goto LAB5;

}
int fit_timer_v1_01_b_a_0914523833_0090727531_sub_2604412845_1724905902(char *t1, int t2)
{
    char t3[128];
    char t4[8];
    char t8[8];
    int t0;
    char *t5;
    char *t6;
    char *t7;
    char *t9;
    char *t10;
    char *t11;
    unsigned char t12;
    int t13;
    int t14;
    int t15;
    int t16;

LAB0:    t5 = (t3 + 4U);
    t6 = ((STD_STANDARD) + 384);
    t7 = (t5 + 88U);
    *((char **)t7) = t6;
    t9 = (t5 + 56U);
    *((char **)t9) = t8;
    *((int *)t8) = 0;
    t10 = (t5 + 80U);
    *((unsigned int *)t10) = 4U;
    t11 = (t4 + 4U);
    *((int *)t11) = t2;
    t12 = (t2 == 0);
    if (t12 != 0)
        goto LAB2;

LAB4:
LAB6:    t6 = (t5 + 56U);
    t7 = *((char **)t6);
    t13 = *((int *)t7);
    t14 = xsi_vhdl_pow(2, t13);
    t12 = (t14 < t2);
    if (t12 != 0)
        goto LAB7;

LAB9:    t6 = (t5 + 56U);
    t7 = *((char **)t6);
    t13 = *((int *)t7);
    t0 = t13;

LAB1:    return t0;
LAB2:    t0 = 0;
    goto LAB1;

LAB3:    xsi_error(ng2);
    t0 = 0;
    goto LAB1;

LAB5:    goto LAB3;

LAB7:    t6 = (t5 + 56U);
    t9 = *((char **)t6);
    t15 = *((int *)t9);
    t16 = (t15 + 1);
    t6 = (t5 + 56U);
    t10 = *((char **)t6);
    t6 = (t10 + 0);
    *((int *)t6) = t16;
    goto LAB6;

LAB8:;
LAB10:    goto LAB3;

}
int emc_common_v5_01_a_a_1404484654_3306564128_sub_14108919807662105220_229454594(char *t1, char *t2, int t3)
{
    char t4[208];
    char t5[24];
    char t6[16];
    char t12[16];
    char t17[8];
    int t0;
    char *t7;
    char *t8;
    int t9;
    unsigned int t10;
    char *t11;
    char *t13;
    int t14;
    char *t15;
    char *t16;
    char *t18;
    char *t19;
    char *t20;
    unsigned char t21;
    char *t22;
    char *t23;
    int t24;
    int t25;
    int t26;
    char *t27;
    char *t28;
    int t29;
    int t30;
    unsigned int t31;
    unsigned int t32;
    int t33;
    int t34;
    char *t35;
    char *t36;

LAB0:    t7 = (t6 + 0U);
    t8 = (t7 + 0U);
    *((int *)t8) = 0;
    t8 = (t7 + 4U);
    *((int *)t8) = 3;
    t8 = (t7 + 8U);
    *((int *)t8) = 1;
    t9 = (3 - 0);
    t10 = (t9 * 1);
    t10 = (t10 + 1);
    t8 = (t7 + 12U);
    *((unsigned int *)t8) = t10;
    t8 = (t4 + 4U);
    t11 = ((STD_STANDARD) + 384);
    t13 = (t12 + 0U);
    *((int *)t13) = 0;
    t13 = (t12 + 4U);
    *((int *)t13) = 8;
    t13 = (t12 + 8U);
    *((int *)t13) = 1;
    t14 = (8 - 0);
    t10 = (t14 * 1);
    t10 = (t10 + 1);
    t13 = (t12 + 12U);
    *((unsigned int *)t13) = t10;
    t13 = (t4 + 124U);
    xsi_create_subtype(t13, ng1, t11, t12, 16);
    t15 = (t4 + 124U);
    t16 = (t8 + 88U);
    *((char **)t16) = t15;
    t18 = (t8 + 56U);
    *((char **)t18) = t17;
    *((int *)t17) = 0;
    t19 = (t8 + 80U);
    *((unsigned int *)t19) = 4U;
    t20 = (t5 + 4U);
    t21 = (t2 != 0);
    if (t21 == 1)
        goto LAB3;

LAB2:    t22 = (t5 + 12U);
    *((char **)t22) = t6;
    t23 = (t5 + 20U);
    *((int *)t23) = t3;
    t24 = (t3 - 1);
    t25 = 0;
    t26 = t24;

LAB4:    if (t25 <= t26)
        goto LAB5;

LAB7:    t7 = (t8 + 56U);
    t11 = *((char **)t7);
    t9 = *((int *)t11);
    t21 = (t9 == 0);
    if (t21 != 0)
        goto LAB9;

LAB11:    t0 = 1;

LAB1:    return t0;
LAB3:    *((char **)t20) = t2;
    goto LAB2;

LAB5:    t27 = (t8 + 56U);
    t28 = *((char **)t27);
    t29 = *((int *)t28);
    t30 = (t25 - 0);
    t10 = (t30 * 1);
    xsi_vhdl_check_range_of_index(0, 3, 1, t25);
    t31 = (4U * t10);
    t32 = (0 + t31);
    t27 = (t2 + t32);
    t33 = *((int *)t27);
    t34 = (t29 + t33);
    t35 = (t8 + 56U);
    t36 = *((char **)t35);
    t35 = (t36 + 0);
    *((int *)t35) = t34;

LAB6:    if (t25 == t26)
        goto LAB7;

LAB8:    t9 = (t25 + 1);
    t25 = t9;
    goto LAB4;

LAB9:    t0 = 0;
    goto LAB1;

LAB10:    xsi_error(ng2);
    t0 = 0;
    goto LAB1;

LAB12:    goto LAB10;

LAB13:    goto LAB10;

}
int xilinxcorelib_p_3381355550_sub_3610758276_1067159583(char *t1, char *t2, char *t3, int t4)
{
    char t6[24];
    int t0;
    char *t7;
    unsigned char t8;
    char *t9;
    char *t10;
    unsigned char t11;
    int t12;
    unsigned char t13;
    unsigned char t14;
    char *t15;
    char *t16;
    int t17;

LAB0:    t7 = (t6 + 4U);
    t8 = (t2 != 0);
    if (t8 == 1)
        goto LAB3;

LAB2:    t9 = (t6 + 12U);
    *((char **)t9) = t3;
    t10 = (t6 + 20U);
    *((int *)t10) = t4;
    t12 = xilinxcorelib_p_1837083571_sub_2363173326_775299228(XILINXCORELIB_P_1837083571, t2, t3);
    t13 = (t12 > 0);
    if (t13 == 1)
        goto LAB7;

LAB8:    t11 = (unsigned char)0;

LAB9:    if (t11 != 0)
        goto LAB4;

LAB6:    t12 = xilinxcorelib_p_1837083571_sub_2363173326_775299228(XILINXCORELIB_P_1837083571, t2, t3);
    t11 = (t12 > 0);
    if (t11 == 1)
        goto LAB13;

LAB14:    t8 = (unsigned char)0;

LAB15:    if (t8 != 0)
        goto LAB11;

LAB12:    t15 = (t1 + 1168U);
    t16 = *((char **)t15);
    t12 = *((int *)t16);
    t0 = t12;

LAB1:    return t0;
LAB3:    *((char **)t7) = t2;
    goto LAB2;

LAB4:    t15 = (t1 + 1888U);
    t16 = *((char **)t15);
    t17 = *((int *)t16);
    t0 = t17;
    goto LAB1;

LAB5:    xsi_error(ng3);
    t0 = 0;
    goto LAB1;

LAB7:    t14 = (t4 == 1);
    t11 = t14;
    goto LAB9;

LAB10:    goto LAB5;

LAB11:    t15 = (t1 + 2008U);
    t16 = *((char **)t15);
    t17 = *((int *)t16);
    t0 = t17;
    goto LAB1;

LAB13:    t13 = (t4 == 0);
    t8 = t13;
    goto LAB15;

LAB16:    goto LAB5;

LAB17:    goto LAB5;

}
Beispiel #18
0
int xilinxcorelib_a_1231764273_3212880686_sub_17682615943063323906_3057020925(char *t1, int t2)
{
    char t3[368];
    char t4[8];
    char t8[8];
    char t14[8];
    char t20[16];
    char t27[120];
    char t42[16];
    int t0;
    char *t5;
    char *t6;
    char *t7;
    char *t9;
    char *t10;
    char *t11;
    char *t12;
    char *t13;
    char *t15;
    char *t16;
    char *t17;
    char *t18;
    unsigned int t19;
    char *t21;
    char *t22;
    int t23;
    unsigned int t24;
    char *t25;
    char *t26;
    char *t28;
    char *t29;
    char *t30;
    char *t31;
    char *t32;
    char *t33;
    char *t34;
    char *t35;
    int t36;
    unsigned char t37;
    char *t38;
    int t39;
    int t40;
    char *t41;
    int t43;
    int t44;
    int t45;
    int t46;
    int t47;
    int t48;
    unsigned int t49;
    int t50;
    int t51;
    unsigned int t52;
    unsigned int t53;
    unsigned int t54;

LAB0:    t5 = (t3 + 4U);
    t6 = ((STD_STANDARD) + 384);
    t7 = (t5 + 88U);
    *((char **)t7) = t6;
    t9 = (t5 + 56U);
    *((char **)t9) = t8;
    *((int *)t8) = 0;
    t10 = (t5 + 80U);
    *((unsigned int *)t10) = 4U;
    t11 = (t3 + 124U);
    t12 = ((STD_STANDARD) + 384);
    t13 = (t11 + 88U);
    *((char **)t13) = t12;
    t15 = (t11 + 56U);
    *((char **)t15) = t14;
    *((int *)t14) = 0;
    t16 = (t11 + 80U);
    *((unsigned int *)t16) = 4U;
    t17 = xsi_get_transient_memory(120U);
    memset(t17, 0, 120U);
    t18 = t17;
    t19 = (120U / 4U);
    xsi_mem_set_int(t18, 0, t19);
    t21 = (t20 + 0U);
    t22 = (t21 + 0U);
    *((int *)t22) = 0;
    t22 = (t21 + 4U);
    *((int *)t22) = 29;
    t22 = (t21 + 8U);
    *((int *)t22) = 1;
    t23 = (29 - 0);
    t24 = (t23 * 1);
    t24 = (t24 + 1);
    t22 = (t21 + 12U);
    *((unsigned int *)t22) = t24;
    t22 = (t3 + 244U);
    t25 = (t1 + 17168);
    t26 = (t22 + 88U);
    *((char **)t26) = t25;
    t28 = (t22 + 56U);
    *((char **)t28) = t27;
    memcpy(t27, t17, 120U);
    t29 = (t22 + 64U);
    t30 = (t25 + 72U);
    t31 = *((char **)t30);
    *((char **)t29) = t31;
    t32 = (t22 + 80U);
    *((unsigned int *)t32) = 120U;
    t33 = (t4 + 4U);
    *((int *)t33) = t2;
    t34 = ((XILINXCORELIB_P_1705937335) + 2848U);
    t35 = *((char **)t34);
    t36 = *((int *)t35);
    t37 = (t2 >= t36);
    if (t37 != 0)
        goto LAB2;

LAB4:    t0 = t2;

LAB1:    return t0;
LAB2:    t34 = ((XILINXCORELIB_P_1705937335) + 2848U);
    t38 = *((char **)t34);
    t39 = *((int *)t38);
    t40 = (t2 - t39);
    t34 = (t11 + 56U);
    t41 = *((char **)t34);
    t34 = (t41 + 0);
    *((int *)t34) = t40;
    t6 = ((XILINXCORELIB_P_1705937335) + 2968U);
    t7 = *((char **)t6);
    t23 = *((int *)t7);
    t36 = (t23 - 1);
    t39 = 0;
    t40 = t36;

LAB5:    if (t39 <= t40)
        goto LAB6;

LAB8:    t6 = (t11 + 56U);
    t7 = *((char **)t6);
    t23 = *((int *)t7);
    t36 = xilinxcorelib_p_1837083571_sub_17586606921347698069_775299228(XILINXCORELIB_P_1837083571, t23);
    t39 = (t36 - 1);
    t40 = 0;
    t43 = t39;

LAB10:    if (t40 <= t43)
        goto LAB11;

LAB13:    t6 = (t5 + 56U);
    t7 = *((char **)t6);
    t23 = *((int *)t7);
    t0 = t23;
    goto LAB1;

LAB3:    xsi_error(ng3);
    t0 = 0;
    goto LAB1;

LAB6:    t6 = (t11 + 56U);
    t9 = *((char **)t6);
    t43 = *((int *)t9);
    t6 = ((XILINXCORELIB_P_1705937335) + 2968U);
    t10 = *((char **)t6);
    t44 = *((int *)t10);
    t6 = xilinxcorelib_p_1837083571_sub_13582847923772037233_775299228(XILINXCORELIB_P_1837083571, t42, t43, t44);
    t12 = (t42 + 0U);
    t45 = *((int *)t12);
    t13 = (t42 + 8U);
    t46 = *((int *)t13);
    t47 = (t39 - t45);
    t19 = (t47 * t46);
    t15 = (t42 + 4U);
    t48 = *((int *)t15);
    xsi_vhdl_check_range_of_index(t45, t48, t46, t39);
    t24 = (1U * t19);
    t49 = (0 + t24);
    t16 = (t6 + t49);
    t37 = *((unsigned char *)t16);
    t50 = xilinxcorelib_p_1705937335_sub_14647056076721677251_693319079(XILINXCORELIB_P_1705937335, t37);
    t17 = (t22 + 56U);
    t18 = *((char **)t17);
    t51 = (t39 - 0);
    t52 = (t51 * 1);
    xsi_vhdl_check_range_of_index(0, 29, 1, t39);
    t53 = (4U * t52);
    t54 = (0 + t53);
    t17 = (t18 + t54);
    *((int *)t17) = t50;

LAB7:    if (t39 == t40)
        goto LAB8;

LAB9:    t23 = (t39 + 1);
    t39 = t23;
    goto LAB5;

LAB11:    t6 = (t5 + 56U);
    t9 = *((char **)t6);
    t44 = *((int *)t9);
    t6 = (t22 + 56U);
    t10 = *((char **)t6);
    t45 = (t40 - 0);
    t19 = (t45 * 1);
    xsi_vhdl_check_range_of_index(0, 29, 1, t40);
    t24 = (4U * t19);
    t49 = (0 + t24);
    t6 = (t10 + t49);
    t46 = *((int *)t6);
    t47 = (t44 + t46);
    t12 = (t5 + 56U);
    t13 = *((char **)t12);
    t12 = (t13 + 0);
    *((int *)t12) = t47;

LAB12:    if (t40 == t43)
        goto LAB13;

LAB14:    t23 = (t40 + 1);
    t40 = t23;
    goto LAB10;

LAB15:    goto LAB3;

LAB16:    goto LAB3;

}
Beispiel #19
0
unsigned char xilinxcorelib_a_1231764273_3212880686_sub_10196381851706466589_3057020925(char *t1, char *t2, char *t3, int t4)
{
    char t5[488];
    char t6[24];
    char t10[8];
    char t16[8];
    char t24[8];
    char t30[8];
    unsigned char t0;
    char *t7;
    char *t8;
    char *t9;
    char *t11;
    char *t12;
    char *t13;
    char *t14;
    char *t15;
    char *t17;
    char *t18;
    char *t19;
    unsigned int t20;
    char *t21;
    char *t22;
    char *t23;
    char *t25;
    char *t26;
    char *t27;
    char *t28;
    char *t29;
    char *t31;
    char *t32;
    char *t33;
    unsigned char t34;
    char *t35;
    char *t36;
    char *t37;
    char *t38;
    int t39;
    unsigned char t40;
    int t41;
    unsigned char t42;
    char *t43;
    int t44;
    char *t45;
    int t46;
    int t47;
    int t48;
    char *t49;
    int t50;
    char *t51;
    int t52;
    int t53;
    unsigned int t54;
    char *t55;
    int t56;
    unsigned int t57;
    unsigned int t58;
    char *t59;
    unsigned char t60;
    unsigned char t61;
    char *t62;
    char *t63;
    int t64;
    int t65;
    char *t66;

LAB0:    t7 = (t5 + 4U);
    t8 = ((STD_STANDARD) + 384);
    t9 = (t7 + 88U);
    *((char **)t9) = t8;
    t11 = (t7 + 56U);
    *((char **)t11) = t10;
    *((int *)t10) = 0;
    t12 = (t7 + 80U);
    *((unsigned int *)t12) = 4U;
    t13 = (t5 + 124U);
    t14 = ((STD_STANDARD) + 384);
    t15 = (t13 + 88U);
    *((char **)t15) = t14;
    t17 = (t13 + 56U);
    *((char **)t17) = t16;
    *((int *)t16) = 0;
    t18 = (t13 + 80U);
    *((unsigned int *)t18) = 4U;
    t19 = (t3 + 12U);
    t20 = *((unsigned int *)t19);
    t21 = (t5 + 244U);
    t22 = ((STD_STANDARD) + 384);
    t23 = (t21 + 88U);
    *((char **)t23) = t22;
    t25 = (t21 + 56U);
    *((char **)t25) = t24;
    *((unsigned int *)t24) = t20;
    t26 = (t21 + 80U);
    *((unsigned int *)t26) = 4U;
    t27 = (t5 + 364U);
    t28 = ((STD_STANDARD) + 384);
    t29 = (t27 + 88U);
    *((char **)t29) = t28;
    t31 = (t27 + 56U);
    *((char **)t31) = t30;
    *((int *)t30) = 0;
    t32 = (t27 + 80U);
    *((unsigned int *)t32) = 4U;
    t33 = (t6 + 4U);
    t34 = (t2 != 0);
    if (t34 == 1)
        goto LAB3;

LAB2:    t35 = (t6 + 12U);
    *((char **)t35) = t3;
    t36 = (t6 + 20U);
    *((int *)t36) = t4;
    t37 = ((XILINXCORELIB_P_1837083571) + 1888U);
    t38 = *((char **)t37);
    t39 = *((int *)t38);
    t40 = (t4 == t39);
    if (t40 != 0)
        goto LAB4;

LAB6:    t0 = (unsigned char)0;

LAB1:    return t0;
LAB3:    *((char **)t33) = t2;
    goto LAB2;

LAB4:    t37 = (t3 + 8U);
    t41 = *((int *)t37);
    if (t41 == 1)
        goto LAB10;

LAB11:    t42 = 0;

LAB12:    if (t42 != 0)
        goto LAB7;

LAB9:    t8 = (t3 + 4U);
    t39 = *((int *)t8);
    t9 = (t3 + 0U);
    t41 = *((int *)t9);
    t44 = t41;
    t46 = t39;

LAB25:    if (t44 >= t46)
        goto LAB26;

LAB28:
LAB8:    t8 = (t3 + 8U);
    t39 = *((int *)t8);
    if (t39 == 1)
        goto LAB40;

LAB41:    t34 = 0;

LAB42:    if (t34 != 0)
        goto LAB37;

LAB39:    t8 = (t3 + 0U);
    t39 = *((int *)t8);
    t9 = (t3 + 4U);
    t41 = *((int *)t9);
    t44 = t41;
    t46 = t39;

LAB55:    if (t44 <= t46)
        goto LAB56;

LAB58:
LAB38:    t8 = (t7 + 56U);
    t9 = *((char **)t8);
    t39 = *((int *)t9);
    t8 = (t13 + 56U);
    t11 = *((char **)t8);
    t41 = *((int *)t11);
    t44 = (t39 + t41);
    t8 = (t27 + 56U);
    t12 = *((char **)t8);
    t8 = (t12 + 0);
    *((int *)t8) = t44;
    t8 = (t21 + 56U);
    t9 = *((char **)t8);
    t39 = *((int *)t9);
    t8 = (t27 + 56U);
    t11 = *((char **)t8);
    t41 = *((int *)t11);
    t44 = (t39 - t41);
    t34 = (t44 == 1);
    if (t34 != 0)
        goto LAB67;

LAB69:    t0 = (unsigned char)0;
    goto LAB1;

LAB5:    xsi_error(ng5);
    t0 = 0;
    goto LAB1;

LAB7:    t43 = (t3 + 4U);
    t44 = *((int *)t43);
    t45 = (t3 + 0U);
    t46 = *((int *)t45);
    t47 = t46;
    t48 = t44;

LAB13:    if (t47 <= t48)
        goto LAB14;

LAB16:    goto LAB8;

LAB10:    t42 = 1;
    goto LAB12;

LAB14:    t49 = (t3 + 0U);
    t50 = *((int *)t49);
    t51 = (t3 + 8U);
    t52 = *((int *)t51);
    t53 = (t47 - t50);
    t54 = (t53 * t52);
    t55 = (t3 + 4U);
    t56 = *((int *)t55);
    xsi_vhdl_check_range_of_index(t50, t56, t52, t47);
    t57 = (1U * t54);
    t58 = (0 + t57);
    t59 = (t2 + t58);
    t60 = *((unsigned char *)t59);
    t61 = (t60 == (unsigned char)48);
    if (t61 != 0)
        goto LAB17;

LAB19:
LAB18:    t8 = (t3 + 0U);
    t39 = *((int *)t8);
    t9 = (t3 + 8U);
    t41 = *((int *)t9);
    t44 = (t47 - t39);
    t20 = (t44 * t41);
    t11 = (t3 + 4U);
    t46 = *((int *)t11);
    xsi_vhdl_check_range_of_index(t39, t46, t41, t47);
    t54 = (1U * t20);
    t57 = (0 + t54);
    t12 = (t2 + t57);
    t34 = *((unsigned char *)t12);
    t40 = (t34 == (unsigned char)49);
    if (t40 != 0)
        goto LAB20;

LAB22:
LAB21:
LAB15:    if (t47 == t48)
        goto LAB16;

LAB24:    t39 = (t47 + 1);
    t47 = t39;
    goto LAB13;

LAB17:    t62 = (t7 + 56U);
    t63 = *((char **)t62);
    t64 = *((int *)t63);
    t65 = (t64 + 1);
    t62 = (t7 + 56U);
    t66 = *((char **)t62);
    t62 = (t66 + 0);
    *((int *)t62) = t65;
    goto LAB18;

LAB20:    goto LAB16;

LAB23:    goto LAB21;

LAB26:    t11 = (t3 + 0U);
    t47 = *((int *)t11);
    t12 = (t3 + 8U);
    t48 = *((int *)t12);
    t50 = (t44 - t47);
    t20 = (t50 * t48);
    t14 = (t3 + 4U);
    t52 = *((int *)t14);
    xsi_vhdl_check_range_of_index(t47, t52, t48, t44);
    t54 = (1U * t20);
    t57 = (0 + t54);
    t15 = (t2 + t57);
    t34 = *((unsigned char *)t15);
    t40 = (t34 == (unsigned char)48);
    if (t40 != 0)
        goto LAB29;

LAB31:
LAB30:    t8 = (t3 + 0U);
    t39 = *((int *)t8);
    t9 = (t3 + 8U);
    t41 = *((int *)t9);
    t47 = (t44 - t39);
    t20 = (t47 * t41);
    t11 = (t3 + 4U);
    t48 = *((int *)t11);
    xsi_vhdl_check_range_of_index(t39, t48, t41, t44);
    t54 = (1U * t20);
    t57 = (0 + t54);
    t12 = (t2 + t57);
    t34 = *((unsigned char *)t12);
    t40 = (t34 == (unsigned char)49);
    if (t40 != 0)
        goto LAB32;

LAB34:
LAB33:
LAB27:    if (t44 == t46)
        goto LAB28;

LAB36:    t39 = (t44 + -1);
    t44 = t39;
    goto LAB25;

LAB29:    t17 = (t7 + 56U);
    t18 = *((char **)t17);
    t53 = *((int *)t18);
    t56 = (t53 + 1);
    t17 = (t7 + 56U);
    t19 = *((char **)t17);
    t17 = (t19 + 0);
    *((int *)t17) = t56;
    goto LAB30;

LAB32:    goto LAB28;

LAB35:    goto LAB33;

LAB37:    t9 = (t3 + 0U);
    t41 = *((int *)t9);
    t11 = (t3 + 4U);
    t44 = *((int *)t11);
    t46 = t44;
    t47 = t41;

LAB43:    if (t46 >= t47)
        goto LAB44;

LAB46:    goto LAB38;

LAB40:    t34 = 1;
    goto LAB42;

LAB44:    t12 = (t3 + 0U);
    t48 = *((int *)t12);
    t14 = (t3 + 8U);
    t50 = *((int *)t14);
    t52 = (t46 - t48);
    t20 = (t52 * t50);
    t15 = (t3 + 4U);
    t53 = *((int *)t15);
    xsi_vhdl_check_range_of_index(t48, t53, t50, t46);
    t54 = (1U * t20);
    t57 = (0 + t54);
    t17 = (t2 + t57);
    t40 = *((unsigned char *)t17);
    t42 = (t40 == (unsigned char)48);
    if (t42 != 0)
        goto LAB47;

LAB49:
LAB48:    t8 = (t3 + 0U);
    t39 = *((int *)t8);
    t9 = (t3 + 8U);
    t41 = *((int *)t9);
    t44 = (t46 - t39);
    t20 = (t44 * t41);
    t11 = (t3 + 4U);
    t48 = *((int *)t11);
    xsi_vhdl_check_range_of_index(t39, t48, t41, t46);
    t54 = (1U * t20);
    t57 = (0 + t54);
    t12 = (t2 + t57);
    t34 = *((unsigned char *)t12);
    t40 = (t34 == (unsigned char)49);
    if (t40 != 0)
        goto LAB50;

LAB52:
LAB51:
LAB45:    if (t46 == t47)
        goto LAB46;

LAB54:    t39 = (t46 + -1);
    t46 = t39;
    goto LAB43;

LAB47:    t18 = (t13 + 56U);
    t19 = *((char **)t18);
    t56 = *((int *)t19);
    t64 = (t56 + 1);
    t18 = (t13 + 56U);
    t22 = *((char **)t18);
    t18 = (t22 + 0);
    *((int *)t18) = t64;
    goto LAB48;

LAB50:    goto LAB46;

LAB53:    goto LAB51;

LAB56:    t11 = (t3 + 0U);
    t47 = *((int *)t11);
    t12 = (t3 + 8U);
    t48 = *((int *)t12);
    t50 = (t44 - t47);
    t20 = (t50 * t48);
    t14 = (t3 + 4U);
    t52 = *((int *)t14);
    xsi_vhdl_check_range_of_index(t47, t52, t48, t44);
    t54 = (1U * t20);
    t57 = (0 + t54);
    t15 = (t2 + t57);
    t34 = *((unsigned char *)t15);
    t40 = (t34 == (unsigned char)48);
    if (t40 != 0)
        goto LAB59;

LAB61:
LAB60:    t8 = (t3 + 0U);
    t39 = *((int *)t8);
    t9 = (t3 + 8U);
    t41 = *((int *)t9);
    t47 = (t44 - t39);
    t20 = (t47 * t41);
    t11 = (t3 + 4U);
    t48 = *((int *)t11);
    xsi_vhdl_check_range_of_index(t39, t48, t41, t44);
    t54 = (1U * t20);
    t57 = (0 + t54);
    t12 = (t2 + t57);
    t34 = *((unsigned char *)t12);
    t40 = (t34 == (unsigned char)49);
    if (t40 != 0)
        goto LAB62;

LAB64:
LAB63:
LAB57:    if (t44 == t46)
        goto LAB58;

LAB66:    t39 = (t44 + 1);
    t44 = t39;
    goto LAB55;

LAB59:    t17 = (t13 + 56U);
    t18 = *((char **)t17);
    t53 = *((int *)t18);
    t56 = (t53 + 1);
    t17 = (t13 + 56U);
    t19 = *((char **)t17);
    t17 = (t19 + 0);
    *((int *)t17) = t56;
    goto LAB60;

LAB62:    goto LAB58;

LAB65:    goto LAB63;

LAB67:    t0 = (unsigned char)1;
    goto LAB1;

LAB68:    goto LAB5;

LAB70:    goto LAB68;

LAB71:    goto LAB68;

LAB72:    goto LAB5;

}
unsigned int mdm_v2_00_b_a_4283683583_3306564128_sub_4021089453_229454594(char *t1, char *t2, char *t3)
{
    char t5[24];
    char t13[16];
    char t15[16];
    unsigned int t0;
    char *t6;
    unsigned char t7;
    char *t8;
    unsigned char t9;
    char *t10;
    char *t12;
    char *t14;
    char *t16;
    char *t17;
    int t18;
    unsigned int t19;
    unsigned int t20;

LAB0:    t6 = (t5 + 4U);
    t7 = (t2 != 0);
    if (t7 == 1)
        goto LAB3;

LAB2:    t8 = (t5 + 12U);
    *((char **)t8) = t3;
    t9 = proc_common_v3_00_a_p_4147123038_sub_4150234446_2651761233(PROC_COMMON_V3_00_A_P_4147123038, t2, t3, 585U);
    if (t9 != 0)
        goto LAB4;

LAB6:    t7 = proc_common_v3_00_a_p_4147123038_sub_4150234446_2651761233(PROC_COMMON_V3_00_A_P_4147123038, t2, t3, 14U);
    if (t7 != 0)
        goto LAB8;

LAB9:    t7 = proc_common_v3_00_a_p_4147123038_sub_4150234446_2651761233(PROC_COMMON_V3_00_A_P_4147123038, t2, t3, 13U);
    if (t7 != 0)
        goto LAB11;

LAB12:    t7 = proc_common_v3_00_a_p_4147123038_sub_4150234446_2651761233(PROC_COMMON_V3_00_A_P_4147123038, t2, t3, 12U);
    if (t7 != 0)
        goto LAB14;

LAB15:    t7 = proc_common_v3_00_a_p_4147123038_sub_4150234446_2651761233(PROC_COMMON_V3_00_A_P_4147123038, t2, t3, 9U);
    if (t7 != 0)
        goto LAB17;

LAB18:    t7 = proc_common_v3_00_a_p_4147123038_sub_4150234446_2651761233(PROC_COMMON_V3_00_A_P_4147123038, t2, t3, 7U);
    if (t7 != 0)
        goto LAB20;

LAB21:    t7 = proc_common_v3_00_a_p_4147123038_sub_4150234446_2651761233(PROC_COMMON_V3_00_A_P_4147123038, t2, t3, 6U);
    if (t7 != 0)
        goto LAB23;

LAB24:    if ((unsigned char)0 == 0)
        goto LAB26;

LAB27:    t0 = 585U;

LAB1:    return t0;
LAB3:    *((char **)t6) = t2;
    goto LAB2;

LAB4:    t0 = 585U;
    goto LAB1;

LAB5:    xsi_error(ng2);
    t0 = 0;
    goto LAB1;

LAB7:    goto LAB5;

LAB8:    t0 = 14U;
    goto LAB1;

LAB10:    goto LAB5;

LAB11:    t0 = 13U;
    goto LAB1;

LAB13:    goto LAB5;

LAB14:    t0 = 12U;
    goto LAB1;

LAB16:    goto LAB5;

LAB17:    t0 = 9U;
    goto LAB1;

LAB19:    goto LAB5;

LAB20:    t0 = 7U;
    goto LAB1;

LAB22:    goto LAB5;

LAB23:    t0 = 6U;
    goto LAB1;

LAB25:    goto LAB5;

LAB26:    t10 = (t1 + 62156);
    t14 = ((STD_STANDARD) + 1008);
    t16 = (t15 + 0U);
    t17 = (t16 + 0U);
    *((int *)t17) = 1;
    t17 = (t16 + 4U);
    *((int *)t17) = 47;
    t17 = (t16 + 8U);
    *((int *)t17) = 1;
    t18 = (47 - 1);
    t19 = (t18 * 1);
    t19 = (t19 + 1);
    t17 = (t16 + 12U);
    *((unsigned int *)t17) = t19;
    t12 = xsi_base_array_concat(t12, t13, t14, (char)97, t10, t15, (char)97, t2, t3, (char)101);
    t17 = (t3 + 12U);
    t19 = *((unsigned int *)t17);
    t19 = (t19 * 1U);
    t20 = (47U + t19);
    xsi_report(t12, t20, (unsigned char)2);
    goto LAB27;

LAB28:    goto LAB5;

}
int work_p_4118952410_sub_1482601376_280255791(char *t1, int t2)
{
    char t3[72];
    char t4[8];
    char t8[8];
    int t0;
    char *t5;
    char *t6;
    char *t7;
    char *t9;
    char *t10;
    char *t11;
    char *t12;
    char *t13;
    unsigned char t14;
    int t15;
    int t16;
    int t17;
    int t18;
    int t19;

LAB0:    t5 = (t3 + 4U);
    t6 = ((STD_STANDARD) + 608);
    t7 = (t5 + 52U);
    *((char **)t7) = t6;
    t9 = (t5 + 36U);
    *((char **)t9) = t8;
    xsi_type_set_default_value(t6, t8, 0);
    t10 = (t5 + 48U);
    *((unsigned int *)t10) = 4U;
    t11 = (t4 + 4U);
    *((int *)t11) = t2;
    t12 = (t5 + 36U);
    t13 = *((char **)t12);
    t12 = (t13 + 0);
    *((int *)t12) = 1;
    t14 = (t2 == 1);
    if (t14 != 0)
        goto LAB2;

LAB4:    if (-2147483648 > 2147483647)
        goto LAB10;

LAB11:    if (1 == -1)
        goto LAB15;

LAB16:    t15 = 2147483647;

LAB12:    t16 = 1;
    t17 = t15;

LAB6:    if (t16 <= t17)
        goto LAB7;

LAB9:
LAB3:    xsi_error(ng1);
    t0 = 0;

LAB1:    return t0;
LAB2:    t0 = 0;
    goto LAB1;

LAB5:    goto LAB3;

LAB7:    t6 = (t5 + 36U);
    t7 = *((char **)t6);
    t18 = *((int *)t7);
    t19 = (2 * t18);
    t6 = (t5 + 36U);
    t9 = *((char **)t6);
    t6 = (t9 + 0);
    *((int *)t6) = t19;
    t6 = (t5 + 36U);
    t7 = *((char **)t6);
    t15 = *((int *)t7);
    t14 = (t15 >= t2);
    if (t14 != 0)
        goto LAB17;

LAB19:
LAB18:
LAB8:    if (t16 == t17)
        goto LAB9;

LAB21:    t15 = (t16 + 1);
    t16 = t15;
    goto LAB6;

LAB10:    if (1 == 1)
        goto LAB13;

LAB14:    t15 = -2147483648;
    goto LAB12;

LAB13:    t15 = 2147483647;
    goto LAB12;

LAB15:    t15 = -2147483648;
    goto LAB12;

LAB17:    t0 = t16;
    goto LAB1;

LAB20:    goto LAB18;

}
char *work_a_1164455951_3212880686_sub_1372999719_3057020925(char *t1, char *t2, char *t3, char *t4, int t5)
{
    char t6[752];
    char t7[24];
    char t13[16];
    char t40[8];
    char t46[8];
    char t52[8];
    char t58[8];
    char t64[8];
    char t85[16];
    char t90[16];
    char *t0;
    char *t8;
    unsigned int t9;
    int t10;
    int t11;
    unsigned int t12;
    char *t14;
    unsigned int t15;
    int t16;
    char *t17;
    char *t18;
    int t19;
    unsigned int t20;
    char *t21;
    char *t22;
    char *t23;
    char *t24;
    char *t25;
    char *t26;
    char *t27;
    char *t28;
    char *t29;
    char *t30;
    int t31;
    char *t32;
    unsigned int t33;
    unsigned int t34;
    unsigned int t35;
    unsigned int t36;
    char *t37;
    char *t38;
    char *t39;
    char *t41;
    char *t42;
    char *t43;
    char *t44;
    char *t45;
    char *t47;
    char *t48;
    char *t49;
    char *t50;
    char *t51;
    char *t53;
    char *t54;
    char *t55;
    char *t56;
    char *t57;
    char *t59;
    char *t60;
    char *t61;
    char *t62;
    char *t63;
    char *t65;
    char *t66;
    char *t67;
    unsigned char t68;
    char *t69;
    char *t70;
    unsigned char t71;
    char *t72;
    unsigned int t73;
    char *t74;
    int t75;
    char *t76;
    int t77;
    char *t78;
    int t79;
    char *t80;
    char *t81;
    int t82;
    unsigned int t83;
    int t84;
    int t86;
    int t87;
    int t88;
    int t89;
    int t91;
    int t92;

LAB0:    t8 = (t4 + 12U);
    t9 = *((unsigned int *)t8);
    t10 = (t9 + 11);
    t11 = (t10 - 1);
    t12 = (t11 * 1);
    t12 = (t12 + 1);
    t12 = (t12 * 1U);
    t14 = (t4 + 12U);
    t15 = *((unsigned int *)t14);
    t16 = (t15 + 11);
    t17 = (t13 + 0U);
    t18 = (t17 + 0U);
    *((int *)t18) = 1;
    t18 = (t17 + 4U);
    *((int *)t18) = t16;
    t18 = (t17 + 8U);
    *((int *)t18) = 1;
    t19 = (t16 - 1);
    t20 = (t19 * 1);
    t20 = (t20 + 1);
    t18 = (t17 + 12U);
    *((unsigned int *)t18) = t20;
    t18 = (t6 + 4U);
    t21 = ((STD_STANDARD) + 1008);
    t22 = (t18 + 88U);
    *((char **)t22) = t21;
    t23 = xsi_get_memory(t12);
    t24 = (t18 + 56U);
    *((char **)t24) = t23;
    xsi_type_set_default_value(t21, t23, t13);
    t25 = (t18 + 64U);
    *((char **)t25) = t13;
    t26 = (t18 + 80U);
    *((unsigned int *)t26) = t12;
    t27 = (t18 + 136U);
    *((char **)t27) = t23;
    t28 = (t18 + 124U);
    *((int *)t28) = 0;
    t29 = (t18 + 128U);
    t30 = (t13 + 12U);
    t20 = *((unsigned int *)t30);
    t31 = (t20 - 1);
    *((int *)t29) = t31;
    t32 = (t18 + 120U);
    t34 = (t12 > 2147483644);
    if (t34 == 1)
        goto LAB2;

LAB3:    t35 = (t12 + 3);
    t36 = (t35 / 16);
    t33 = t36;

LAB4:    *((unsigned int *)t32) = t33;
    t37 = (t6 + 148U);
    t38 = ((STD_STANDARD) + 384);
    t39 = (t37 + 88U);
    *((char **)t39) = t38;
    t41 = (t37 + 56U);
    *((char **)t41) = t40;
    xsi_type_set_default_value(t38, t40, 0);
    t42 = (t37 + 80U);
    *((unsigned int *)t42) = 4U;
    t43 = (t6 + 268U);
    t44 = ((STD_STANDARD) + 384);
    t45 = (t43 + 88U);
    *((char **)t45) = t44;
    t47 = (t43 + 56U);
    *((char **)t47) = t46;
    xsi_type_set_default_value(t44, t46, 0);
    t48 = (t43 + 80U);
    *((unsigned int *)t48) = 4U;
    t49 = (t6 + 388U);
    t50 = ((STD_STANDARD) + 384);
    t51 = (t49 + 88U);
    *((char **)t51) = t50;
    t53 = (t49 + 56U);
    *((char **)t53) = t52;
    xsi_type_set_default_value(t50, t52, 0);
    t54 = (t49 + 80U);
    *((unsigned int *)t54) = 4U;
    t55 = (t6 + 508U);
    t56 = ((STD_STANDARD) + 384);
    t57 = (t55 + 88U);
    *((char **)t57) = t56;
    t59 = (t55 + 56U);
    *((char **)t59) = t58;
    xsi_type_set_default_value(t56, t58, 0);
    t60 = (t55 + 80U);
    *((unsigned int *)t60) = 4U;
    t61 = (t6 + 628U);
    t62 = ((STD_STANDARD) + 384);
    t63 = (t61 + 88U);
    *((char **)t63) = t62;
    t65 = (t61 + 56U);
    *((char **)t65) = t64;
    xsi_type_set_default_value(t62, t64, 0);
    t66 = (t61 + 80U);
    *((unsigned int *)t66) = 4U;
    t67 = (t7 + 4U);
    t68 = (t3 != 0);
    if (t68 == 1)
        goto LAB6;

LAB5:    t69 = (t7 + 12U);
    *((char **)t69) = t4;
    t70 = (t7 + 20U);
    *((int *)t70) = t5;
    t71 = (t5 < 0);
    if (t71 != 0)
        goto LAB7;

LAB9:    t8 = (t37 + 56U);
    t14 = *((char **)t8);
    t8 = (t14 + 0);
    *((int *)t8) = 0;
    t8 = (t4 + 8U);
    t10 = *((int *)t8);
    t14 = (t4 + 4U);
    t11 = *((int *)t14);
    t17 = (t4 + 0U);
    t16 = *((int *)t17);
    t19 = t16;
    t31 = t11;

LAB11:    t75 = (t31 * t10);
    t77 = (t19 * t10);
    if (t77 <= t75)
        goto LAB12;

LAB14:    t8 = (t37 + 56U);
    t14 = *((char **)t8);
    t10 = *((int *)t14);
    t68 = (t10 > 0);
    if (t68 != 0)
        goto LAB19;

LAB21:    t8 = (t4 + 12U);
    t9 = *((unsigned int *)t8);
    t9 = (t9 * 1U);
    t0 = xsi_get_transient_memory(t9);
    memcpy(t0, t3, t9);
    t14 = (t4 + 0U);
    t10 = *((int *)t14);
    t17 = (t4 + 4U);
    t11 = *((int *)t17);
    t21 = (t4 + 8U);
    t16 = *((int *)t21);
    t22 = (t2 + 0U);
    t23 = (t22 + 0U);
    *((int *)t23) = t10;
    t23 = (t22 + 4U);
    *((int *)t23) = t11;
    t23 = (t22 + 8U);
    *((int *)t23) = t16;
    t19 = (t11 - t10);
    t12 = (t19 * t16);
    t12 = (t12 + 1);
    t23 = (t22 + 12U);
    *((unsigned int *)t23) = t12;

LAB1:    t8 = (t18 + 80);
    t10 = *((int *)t8);
    t14 = (t18 + 136U);
    t17 = *((char **)t14);
    xsi_put_memory(t10, t17);
    return t0;
LAB2:    t33 = 2147483647;
    goto LAB4;

LAB6:    *((char **)t67) = t3;
    goto LAB5;

LAB7:    t72 = (t4 + 12U);
    t73 = *((unsigned int *)t72);
    t73 = (t73 * 1U);
    t0 = xsi_get_transient_memory(t73);
    memcpy(t0, t3, t73);
    t74 = (t4 + 0U);
    t75 = *((int *)t74);
    t76 = (t4 + 4U);
    t77 = *((int *)t76);
    t78 = (t4 + 8U);
    t79 = *((int *)t78);
    t80 = (t2 + 0U);
    t81 = (t80 + 0U);
    *((int *)t81) = t75;
    t81 = (t80 + 4U);
    *((int *)t81) = t77;
    t81 = (t80 + 8U);
    *((int *)t81) = t79;
    t82 = (t77 - t75);
    t83 = (t82 * t79);
    t83 = (t83 + 1);
    t81 = (t80 + 12U);
    *((unsigned int *)t81) = t83;
    goto LAB1;

LAB8:    xsi_error(ng1);
    t0 = 0;
    goto LAB1;

LAB10:    goto LAB8;

LAB12:    t21 = (t4 + 0U);
    t79 = *((int *)t21);
    t22 = (t4 + 8U);
    t82 = *((int *)t22);
    t84 = (t19 - t79);
    t9 = (t84 * t82);
    t12 = (1U * t9);
    t15 = (0 + t12);
    t23 = (t3 + t15);
    t68 = *((unsigned char *)t23);
    t71 = (t68 == (unsigned char)46);
    if (t71 != 0)
        goto LAB15;

LAB17:
LAB16:
LAB13:    if (t19 == t31)
        goto LAB14;

LAB18:    t11 = (t19 + t10);
    t19 = t11;
    goto LAB11;

LAB15:    t24 = (t37 + 56U);
    t25 = *((char **)t24);
    t24 = (t25 + 0);
    *((int *)t24) = t19;
    goto LAB16;

LAB19:    t8 = (t37 + 56U);
    t17 = *((char **)t8);
    t11 = *((int *)t17);
    t8 = (t4 + 0U);
    t16 = *((int *)t8);
    t19 = (t11 - t16);
    t21 = (t43 + 56U);
    t22 = *((char **)t21);
    t21 = (t22 + 0);
    *((int *)t21) = t19;
    t8 = (t4 + 4U);
    t10 = *((int *)t8);
    t14 = (t37 + 56U);
    t17 = *((char **)t14);
    t11 = *((int *)t17);
    t16 = (t10 - t11);
    t19 = (t16 + 1);
    t14 = (t49 + 56U);
    t21 = *((char **)t14);
    t14 = (t21 + 0);
    *((int *)t14) = t19;
    t8 = ((STD_STANDARD) + 384);
    t14 = xsi_int_to_mem(t5);
    t17 = xsi_string_variable_get_image(t85, t8, t14);
    t21 = (t85 + 12U);
    t9 = *((unsigned int *)t21);
    t10 = (t9 + 1);
    t22 = (t55 + 56U);
    t23 = *((char **)t22);
    t22 = (t23 + 0);
    *((int *)t22) = t10;
    t8 = (t43 + 56U);
    t14 = *((char **)t8);
    t10 = *((int *)t14);
    t8 = (t55 + 56U);
    t17 = *((char **)t8);
    t11 = *((int *)t17);
    t16 = (t10 + t11);
    t8 = (t49 + 56U);
    t21 = *((char **)t8);
    t19 = *((int *)t21);
    t31 = (t16 + t19);
    t8 = (t61 + 56U);
    t22 = *((char **)t8);
    t8 = (t22 + 0);
    *((int *)t8) = t31;
    t8 = (t4 + 0U);
    t10 = *((int *)t8);
    t14 = (t4 + 0U);
    t11 = *((int *)t14);
    t9 = (t11 - t10);
    t17 = (t37 + 56U);
    t21 = *((char **)t17);
    t16 = *((int *)t21);
    t19 = (t16 - 1);
    t17 = (t4 + 4U);
    t31 = *((int *)t17);
    t22 = (t4 + 8U);
    t75 = *((int *)t22);
    xsi_vhdl_check_range_of_slice(t10, t31, t75, t11, t19, 1);
    t12 = (t9 * 1U);
    t15 = (0 + t12);
    t23 = (t3 + t15);
    t24 = (t18 + 56U);
    t25 = *((char **)t24);
    t24 = (t13 + 0U);
    t77 = *((int *)t24);
    t20 = (1 - t77);
    t26 = (t43 + 56U);
    t27 = *((char **)t26);
    t79 = *((int *)t27);
    t26 = (t13 + 4U);
    t82 = *((int *)t26);
    t28 = (t13 + 8U);
    t84 = *((int *)t28);
    xsi_vhdl_check_range_of_slice(t77, t82, t84, 1, t79, 1);
    t33 = (t20 * 1U);
    t34 = (0 + t33);
    t29 = (t25 + t34);
    t30 = (t4 + 0U);
    t86 = *((int *)t30);
    t32 = (t37 + 56U);
    t38 = *((char **)t32);
    t87 = *((int *)t38);
    t88 = (t87 - 1);
    t89 = (t88 - t86);
    t35 = (t89 * 1);
    t35 = (t35 + 1);
    t36 = (1U * t35);
    memcpy(t29, t23, t36);
    t8 = ((STD_STANDARD) + 384);
    t14 = xsi_int_to_mem(t5);
    t17 = xsi_string_variable_get_image(t85, t8, t14);
    t22 = ((STD_STANDARD) + 1008);
    t21 = xsi_base_array_concat(t21, t90, t22, (char)99, (unsigned char)95, (char)97, t17, t85, (char)101);
    t23 = (t18 + 56U);
    t24 = *((char **)t23);
    t23 = (t13 + 0U);
    t10 = *((int *)t23);
    t25 = (t43 + 56U);
    t26 = *((char **)t25);
    t11 = *((int *)t26);
    t16 = (t11 + 1);
    t9 = (t16 - t10);
    t25 = (t43 + 56U);
    t27 = *((char **)t25);
    t19 = *((int *)t27);
    t25 = (t55 + 56U);
    t28 = *((char **)t25);
    t31 = *((int *)t28);
    t75 = (t19 + t31);
    t25 = (t13 + 4U);
    t77 = *((int *)t25);
    t29 = (t13 + 8U);
    t79 = *((int *)t29);
    xsi_vhdl_check_range_of_slice(t10, t77, t79, t16, t75, 1);
    t12 = (t9 * 1U);
    t15 = (0 + t12);
    t30 = (t24 + t15);
    t32 = (t85 + 12U);
    t20 = *((unsigned int *)t32);
    t33 = (1U + t20);
    memcpy(t30, t21, t33);
    t8 = (t4 + 0U);
    t10 = *((int *)t8);
    t14 = (t37 + 56U);
    t17 = *((char **)t14);
    t11 = *((int *)t17);
    t9 = (t11 - t10);
    t14 = (t4 + 4U);
    t16 = *((int *)t14);
    t21 = (t4 + 4U);
    t19 = *((int *)t21);
    t22 = (t4 + 8U);
    t31 = *((int *)t22);
    xsi_vhdl_check_range_of_slice(t10, t19, t31, t11, t16, 1);
    t12 = (t9 * 1U);
    t15 = (0 + t12);
    t23 = (t3 + t15);
    t24 = (t18 + 56U);
    t25 = *((char **)t24);
    t24 = (t13 + 0U);
    t75 = *((int *)t24);
    t26 = (t43 + 56U);
    t27 = *((char **)t26);
    t77 = *((int *)t27);
    t26 = (t55 + 56U);
    t28 = *((char **)t26);
    t79 = *((int *)t28);
    t82 = (t77 + t79);
    t84 = (t82 + 1);
    t20 = (t84 - t75);
    t26 = (t61 + 56U);
    t29 = *((char **)t26);
    t86 = *((int *)t29);
    t26 = (t13 + 4U);
    t87 = *((int *)t26);
    t30 = (t13 + 8U);
    t88 = *((int *)t30);
    xsi_vhdl_check_range_of_slice(t75, t87, t88, t84, t86, 1);
    t33 = (t20 * 1U);
    t34 = (0 + t33);
    t32 = (t25 + t34);
    t38 = (t37 + 56U);
    t39 = *((char **)t38);
    t89 = *((int *)t39);
    t38 = (t4 + 4U);
    t91 = *((int *)t38);
    t92 = (t91 - t89);
    t35 = (t92 * 1);
    t35 = (t35 + 1);
    t36 = (1U * t35);
    memcpy(t32, t23, t36);
    t8 = (t18 + 56U);
    t14 = *((char **)t8);
    t8 = (t13 + 0U);
    t10 = *((int *)t8);
    t9 = (1 - t10);
    t17 = (t61 + 56U);
    t21 = *((char **)t17);
    t11 = *((int *)t21);
    t17 = (t13 + 4U);
    t16 = *((int *)t17);
    t22 = (t13 + 8U);
    t19 = *((int *)t22);
    xsi_vhdl_check_range_of_slice(t10, t16, t19, 1, t11, 1);
    t12 = (t9 * 1U);
    t15 = (0 + t12);
    t23 = (t14 + t15);
    t24 = (t61 + 56U);
    t25 = *((char **)t24);
    t31 = *((int *)t25);
    t75 = (t31 - 1);
    t20 = (t75 * 1);
    t20 = (t20 + 1);
    t33 = (1U * t20);
    t0 = xsi_get_transient_memory(t33);
    memcpy(t0, t23, t33);
    t24 = (t61 + 56U);
    t26 = *((char **)t24);
    t77 = *((int *)t26);
    t24 = (t2 + 0U);
    t27 = (t24 + 0U);
    *((int *)t27) = 1;
    t27 = (t24 + 4U);
    *((int *)t27) = t77;
    t27 = (t24 + 8U);
    *((int *)t27) = 1;
    t79 = (t77 - 1);
    t34 = (t79 * 1);
    t34 = (t34 + 1);
    t27 = (t24 + 12U);
    *((unsigned int *)t27) = t34;
    goto LAB1;

LAB20:    goto LAB8;

LAB22:    goto LAB20;

LAB23:    goto LAB20;

}
unsigned char emc_common_v5_01_a_a_1319063213_3306564128_sub_237575211164114427_229454594(char *t1, char *t2, unsigned char t3, unsigned char t4)
{
    char t5[248];
    char t6[24];
    char t7[16];
    char t14[8];
    char t20[8];
    unsigned char t0;
    char *t8;
    char *t9;
    int t10;
    unsigned int t11;
    char *t12;
    char *t13;
    char *t15;
    char *t16;
    char *t17;
    char *t18;
    char *t19;
    char *t21;
    char *t22;
    char *t23;
    unsigned char t24;
    char *t25;
    char *t26;
    char *t27;
    unsigned char t28;
    char *t29;
    char *t30;
    int t31;
    int t32;
    int t33;
    int t34;
    int t35;
    unsigned int t36;
    unsigned int t37;
    unsigned char t38;
    unsigned char t39;

LAB0:    t8 = (t7 + 0U);
    t9 = (t8 + 0U);
    *((int *)t9) = 0;
    t9 = (t8 + 4U);
    *((int *)t9) = 7;
    t9 = (t8 + 8U);
    *((int *)t9) = 1;
    t10 = (7 - 0);
    t11 = (t10 * 1);
    t11 = (t11 + 1);
    t9 = (t8 + 12U);
    *((unsigned int *)t9) = t11;
    t9 = (t5 + 4U);
    t12 = ((IEEE_P_2592010699) + 3312);
    t13 = (t9 + 88U);
    *((char **)t13) = t12;
    t15 = (t9 + 56U);
    *((char **)t15) = t14;
    xsi_type_set_default_value(t12, t14, 0);
    t16 = (t9 + 80U);
    *((unsigned int *)t16) = 1U;
    t17 = (t5 + 124U);
    t18 = ((IEEE_P_2592010699) + 3312);
    t19 = (t17 + 88U);
    *((char **)t19) = t18;
    t21 = (t17 + 56U);
    *((char **)t21) = t20;
    xsi_type_set_default_value(t18, t20, 0);
    t22 = (t17 + 80U);
    *((unsigned int *)t22) = 1U;
    t23 = (t6 + 4U);
    t24 = (t2 != 0);
    if (t24 == 1)
        goto LAB3;

LAB2:    t25 = (t6 + 12U);
    *((char **)t25) = t7;
    t26 = (t6 + 20U);
    *((unsigned char *)t26) = t3;
    t27 = (t6 + 21U);
    *((unsigned char *)t27) = t4;
    t28 = (t4 == (unsigned char)2);
    if (t28 != 0)
        goto LAB4;

LAB6:    t24 = (t4 == (unsigned char)3);
    if (t24 != 0)
        goto LAB12;

LAB13:    t8 = (t17 + 56U);
    t12 = *((char **)t8);
    t8 = (t12 + 0);
    *((unsigned char *)t8) = (unsigned char)2;

LAB5:    t8 = (t17 + 56U);
    t12 = *((char **)t8);
    t24 = *((unsigned char *)t12);
    t28 = (t3 == t24);
    if (t28 != 0)
        goto LAB19;

LAB21:    t0 = (unsigned char)3;

LAB1:    return t0;
LAB3:    *((char **)t23) = t2;
    goto LAB2;

LAB4:    t29 = (t17 + 56U);
    t30 = *((char **)t29);
    t29 = (t30 + 0);
    *((unsigned char *)t29) = (unsigned char)2;
    t10 = 0;
    t31 = 7;

LAB7:    if (t10 <= t31)
        goto LAB8;

LAB10:    goto LAB5;

LAB8:    t8 = (t17 + 56U);
    t12 = *((char **)t8);
    t24 = *((unsigned char *)t12);
    t8 = (t7 + 0U);
    t32 = *((int *)t8);
    t13 = (t7 + 8U);
    t33 = *((int *)t13);
    t34 = (t10 - t32);
    t11 = (t34 * t33);
    t15 = (t7 + 4U);
    t35 = *((int *)t15);
    xsi_vhdl_check_range_of_index(t32, t35, t33, t10);
    t36 = (1U * t11);
    t37 = (0 + t36);
    t16 = (t2 + t37);
    t28 = *((unsigned char *)t16);
    t38 = ieee_p_2592010699_sub_3488768497506413324_503743352(IEEE_P_2592010699, t24, t28);
    t18 = (t17 + 56U);
    t19 = *((char **)t18);
    t18 = (t19 + 0);
    *((unsigned char *)t18) = t38;

LAB9:    if (t10 == t31)
        goto LAB10;

LAB11:    t32 = (t10 + 1);
    t10 = t32;
    goto LAB7;

LAB12:    t8 = (t17 + 56U);
    t12 = *((char **)t8);
    t8 = (t12 + 0);
    *((unsigned char *)t8) = (unsigned char)3;
    t10 = 0;
    t31 = 7;

LAB14:    if (t10 <= t31)
        goto LAB15;

LAB17:    goto LAB5;

LAB15:    t8 = (t17 + 56U);
    t12 = *((char **)t8);
    t24 = *((unsigned char *)t12);
    t8 = (t7 + 0U);
    t32 = *((int *)t8);
    t13 = (t7 + 8U);
    t33 = *((int *)t13);
    t34 = (t10 - t32);
    t11 = (t34 * t33);
    t15 = (t7 + 4U);
    t35 = *((int *)t15);
    xsi_vhdl_check_range_of_index(t32, t35, t33, t10);
    t36 = (1U * t11);
    t37 = (0 + t36);
    t16 = (t2 + t37);
    t28 = *((unsigned char *)t16);
    t38 = ieee_p_2592010699_sub_3488768497506413324_503743352(IEEE_P_2592010699, t24, t28);
    t39 = ieee_p_2592010699_sub_374109322130769762_503743352(IEEE_P_2592010699, t38);
    t18 = (t17 + 56U);
    t19 = *((char **)t18);
    t18 = (t19 + 0);
    *((unsigned char *)t18) = t39;

LAB16:    if (t10 == t31)
        goto LAB17;

LAB18:    t32 = (t10 + 1);
    t10 = t32;
    goto LAB14;

LAB19:    t0 = (unsigned char)2;
    goto LAB1;

LAB20:    xsi_error(ng1);
    t0 = 0;
    goto LAB1;

LAB22:    goto LAB20;

LAB23:    goto LAB20;

}
unsigned char fit_timer_v1_01_b_a_0914523833_0090727531_sub_1393826549_1724905902(char *t1, unsigned char t2)
{
    char t4[8];
    unsigned char t0;
    char *t5;
    unsigned char t6;
    unsigned char t7;
    unsigned char t8;
    char *t9;
    static char *nl0[] = {&&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB10, &&LAB11, &&LAB12, &&LAB13, &&LAB14, &&LAB15, &&LAB16, &&LAB17, &&LAB18, &&LAB19, &&LAB20, &&LAB21, &&LAB22, &&LAB23, &&LAB24, &&LAB25, &&LAB26, &&LAB27, &&LAB28, &&LAB29, &&LAB30, &&LAB31, &&LAB32, &&LAB33, &&LAB34, &&LAB35, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36};

LAB0:    t5 = (t4 + 4U);
    *((unsigned char *)t5) = t2;
    t7 = (t2 < (unsigned char)65);
    if (t7 == 1)
        goto LAB5;

LAB6:    t8 = (t2 > (unsigned char)90);
    t6 = t8;

LAB7:    if (t6 != 0)
        goto LAB2;

LAB4:
LAB3:    t9 = (char *)((nl0) + t2);
    goto **((char **)t9);

LAB2:    t0 = t2;

LAB1:    return t0;
LAB5:    t6 = (unsigned char)1;
    goto LAB7;

LAB8:    goto LAB3;

LAB9:    xsi_error(ng0);
    t0 = 0;
    goto LAB1;

LAB10:    t0 = (unsigned char)97;
    goto LAB1;

LAB11:    t0 = (unsigned char)98;
    goto LAB1;

LAB12:    t0 = (unsigned char)99;
    goto LAB1;

LAB13:    t0 = (unsigned char)100;
    goto LAB1;

LAB14:    t0 = (unsigned char)101;
    goto LAB1;

LAB15:    t0 = (unsigned char)102;
    goto LAB1;

LAB16:    t0 = (unsigned char)103;
    goto LAB1;

LAB17:    t0 = (unsigned char)104;
    goto LAB1;

LAB18:    t0 = (unsigned char)105;
    goto LAB1;

LAB19:    t0 = (unsigned char)106;
    goto LAB1;

LAB20:    t0 = (unsigned char)107;
    goto LAB1;

LAB21:    t0 = (unsigned char)108;
    goto LAB1;

LAB22:    t0 = (unsigned char)109;
    goto LAB1;

LAB23:    t0 = (unsigned char)110;
    goto LAB1;

LAB24:    t0 = (unsigned char)111;
    goto LAB1;

LAB25:    t0 = (unsigned char)112;
    goto LAB1;

LAB26:    t0 = (unsigned char)113;
    goto LAB1;

LAB27:    t0 = (unsigned char)114;
    goto LAB1;

LAB28:    t0 = (unsigned char)115;
    goto LAB1;

LAB29:    t0 = (unsigned char)116;
    goto LAB1;

LAB30:    t0 = (unsigned char)117;
    goto LAB1;

LAB31:    t0 = (unsigned char)118;
    goto LAB1;

LAB32:    t0 = (unsigned char)119;
    goto LAB1;

LAB33:    t0 = (unsigned char)120;
    goto LAB1;

LAB34:    t0 = (unsigned char)121;
    goto LAB1;

LAB35:    t0 = (unsigned char)122;
    goto LAB1;

LAB36:    t0 = t2;
    goto LAB1;

LAB37:    goto LAB9;

LAB38:    goto LAB9;

LAB39:    goto LAB9;

LAB40:    goto LAB9;

LAB41:    goto LAB9;

LAB42:    goto LAB9;

LAB43:    goto LAB9;

LAB44:    goto LAB9;

LAB45:    goto LAB9;

LAB46:    goto LAB9;

LAB47:    goto LAB9;

LAB48:    goto LAB9;

LAB49:    goto LAB9;

LAB50:    goto LAB9;

LAB51:    goto LAB9;

LAB52:    goto LAB9;

LAB53:    goto LAB9;

LAB54:    goto LAB9;

LAB55:    goto LAB9;

LAB56:    goto LAB9;

LAB57:    goto LAB9;

LAB58:    goto LAB9;

LAB59:    goto LAB9;

LAB60:    goto LAB9;

LAB61:    goto LAB9;

LAB62:    goto LAB9;

LAB63:    goto LAB9;

}

char *fit_timer_v1_01_b_a_0914523833_0090727531_sub_4083363267_1724905902(char *t1, char *t2, char *t3, char *t4)
{
    char t5[152];
    char t6[24];
    char t9[16];
    char *t0;
    char *t7;
    unsigned int t8;
    char *t10;
    int t11;
    char *t12;
    int t13;
    char *t14;
    int t15;
    char *t16;
    char *t17;
    int t18;
    unsigned int t19;
    char *t20;
    char *t21;
    char *t22;
    char *t23;
    char *t24;
    char *t25;
    char *t26;
    char *t27;
    char *t28;
    char *t29;
    int t30;
    char *t31;
    unsigned int t32;
    unsigned int t33;
    unsigned int t34;
    unsigned int t35;
    char *t36;
    unsigned char t37;
    char *t38;
    char *t39;
    int t40;
    char *t41;
    int t42;
    char *t43;
    int t44;
    int t45;
    int t46;
    int t47;
    int t48;
    char *t49;
    int t50;
    char *t51;
    int t52;
    int t53;
    unsigned int t54;
    unsigned int t55;
    unsigned int t56;
    char *t57;
    unsigned char t58;
    unsigned char t59;
    char *t60;
    char *t61;
    int t62;
    char *t63;
    int t64;
    int t65;
    unsigned int t66;
    char *t67;
    int t68;
    unsigned int t69;
    unsigned int t70;
    char *t71;

LAB0:    t7 = (t4 + 12U);
    t8 = *((unsigned int *)t7);
    t8 = (t8 * 1U);
    t10 = (t4 + 0U);
    t11 = *((int *)t10);
    t12 = (t4 + 4U);
    t13 = *((int *)t12);
    t14 = (t4 + 8U);
    t15 = *((int *)t14);
    t16 = (t9 + 0U);
    t17 = (t16 + 0U);
    *((int *)t17) = t11;
    t17 = (t16 + 4U);
    *((int *)t17) = t13;
    t17 = (t16 + 8U);
    *((int *)t17) = t15;
    t18 = (t13 - t11);
    t19 = (t18 * t15);
    t19 = (t19 + 1);
    t17 = (t16 + 12U);
    *((unsigned int *)t17) = t19;
    t17 = (t5 + 4U);
    t20 = ((STD_STANDARD) + 1008);
    t21 = (t17 + 88U);
    *((char **)t21) = t20;
    t22 = xsi_get_memory(t8);
    t23 = (t17 + 56U);
    *((char **)t23) = t22;
    xsi_type_set_default_value(t20, t22, t9);
    t24 = (t17 + 64U);
    *((char **)t24) = t9;
    t25 = (t17 + 80U);
    *((unsigned int *)t25) = t8;
    t26 = (t17 + 136U);
    *((char **)t26) = t22;
    t27 = (t17 + 124U);
    *((int *)t27) = 0;
    t28 = (t17 + 128U);
    t29 = (t9 + 12U);
    t19 = *((unsigned int *)t29);
    t30 = (t19 - 1);
    *((int *)t28) = t30;
    t31 = (t17 + 120U);
    t33 = (t8 > 2147483644);
    if (t33 == 1)
        goto LAB2;

LAB3:    t34 = (t8 + 3);
    t35 = (t34 / 16);
    t32 = t35;

LAB4:    *((unsigned int *)t31) = t32;
    t36 = (t6 + 4U);
    t37 = (t3 != 0);
    if (t37 == 1)
        goto LAB6;

LAB5:    t38 = (t6 + 12U);
    *((char **)t38) = t4;
    t39 = (t4 + 8U);
    t40 = *((int *)t39);
    t41 = (t4 + 4U);
    t42 = *((int *)t41);
    t43 = (t4 + 0U);
    t44 = *((int *)t43);
    t45 = t44;
    t46 = t42;

LAB7:    t47 = (t46 * t40);
    t48 = (t45 * t40);
    if (t48 <= t47)
        goto LAB8;

LAB10:    t7 = (t17 + 56U);
    t10 = *((char **)t7);
    t7 = (t9 + 12U);
    t8 = *((unsigned int *)t7);
    t8 = (t8 * 1U);
    t0 = xsi_get_transient_memory(t8);
    memcpy(t0, t10, t8);
    t12 = (t9 + 0U);
    t11 = *((int *)t12);
    t14 = (t9 + 4U);
    t13 = *((int *)t14);
    t16 = (t9 + 8U);
    t15 = *((int *)t16);
    t20 = (t2 + 0U);
    t21 = (t20 + 0U);
    *((int *)t21) = t11;
    t21 = (t20 + 4U);
    *((int *)t21) = t13;
    t21 = (t20 + 8U);
    *((int *)t21) = t15;
    t18 = (t13 - t11);
    t19 = (t18 * t15);
    t19 = (t19 + 1);
    t21 = (t20 + 12U);
    *((unsigned int *)t21) = t19;

LAB1:    t7 = (t17 + 80);
    t11 = *((int *)t7);
    t10 = (t17 + 136U);
    t12 = *((char **)t10);
    xsi_put_memory(t11, t12);
    return t0;
LAB2:    t32 = 2147483647;
    goto LAB4;

LAB6:    *((char **)t36) = t3;
    goto LAB5;

LAB8:    t49 = (t4 + 0U);
    t50 = *((int *)t49);
    t51 = (t4 + 8U);
    t52 = *((int *)t51);
    t53 = (t45 - t50);
    t54 = (t53 * t52);
    t55 = (1U * t54);
    t56 = (0 + t55);
    t57 = (t3 + t56);
    t58 = *((unsigned char *)t57);
    t59 = fit_timer_v1_01_b_a_0914523833_0090727531_sub_1393826549_1724905902(t1, t58);
    t60 = (t17 + 56U);
    t61 = *((char **)t60);
    t60 = (t9 + 0U);
    t62 = *((int *)t60);
    t63 = (t9 + 8U);
    t64 = *((int *)t63);
    t65 = (t45 - t62);
    t66 = (t65 * t64);
    t67 = (t9 + 4U);
    t68 = *((int *)t67);
    xsi_vhdl_check_range_of_index(t62, t68, t64, t45);
    t69 = (1U * t66);
    t70 = (0 + t69);
    t71 = (t61 + t70);
    *((unsigned char *)t71) = t59;

LAB9:    if (t45 == t46)
        goto LAB10;

LAB11:    t11 = (t45 + t40);
    t45 = t11;
    goto LAB7;

LAB12:;
}
int microblaze_v8_20_b_a_1988833915_3306564128_sub_2512798048_229454594(char *t1, int t2, int t3, unsigned char t4)
{
    char t5[128];
    char t6[16];
    char t11[8];
    int t0;
    int t7;
    char *t8;
    char *t9;
    char *t10;
    char *t12;
    char *t13;
    char *t14;
    char *t15;
    char *t16;
    unsigned char t17;
    unsigned char t18;
    char *t19;
    char *t20;
    int t21;
    int t22;
    int t23;
    char *t24;
    int t25;
    int t26;

LAB0:    t7 = (t2 + t3);
    t8 = (t5 + 4U);
    t9 = ((STD_STANDARD) + 832);
    t10 = (t8 + 88U);
    *((char **)t10) = t9;
    t12 = (t8 + 56U);
    *((char **)t12) = t11;
    *((int *)t11) = t7;
    t13 = (t8 + 80U);
    *((unsigned int *)t13) = 4U;
    t14 = (t6 + 4U);
    *((int *)t14) = t2;
    t15 = (t6 + 8U);
    *((int *)t15) = t3;
    t16 = (t6 + 12U);
    *((unsigned char *)t16) = t4;
    t18 = (1 == 1);
    if (t18 == 1)
        goto LAB5;

LAB6:    t17 = t4;

LAB7:    if (t17 != 0)
        goto LAB2;

LAB4:    t7 = (19 + t2);
    t21 = (t7 - 1);
    t22 = (t21 / t2);
    t0 = t22;

LAB1:    return t0;
LAB2:    t19 = (t8 + 56U);
    t20 = *((char **)t19);
    t21 = *((int *)t20);
    t22 = (19 + t21);
    t23 = (t22 - 1);
    t19 = (t8 + 56U);
    t24 = *((char **)t19);
    t25 = *((int *)t24);
    t26 = (t23 / t25);
    t0 = t26;
    goto LAB1;

LAB3:    xsi_error(ng1);
    t0 = 0;
    goto LAB1;

LAB5:    t17 = (unsigned char)1;
    goto LAB7;

LAB8:    goto LAB3;

LAB9:    goto LAB3;

}
unsigned char fit_timer_v1_01_b_a_0914523833_0090727531_sub_1905495129_1724905902(char *t1, unsigned char t2)
{
    char t4[8];
    unsigned char t0;
    char *t5;
    unsigned char t6;
    unsigned char t7;
    unsigned char t8;
    char *t9;
    static char *nl0[] = {&&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB10, &&LAB11, &&LAB12, &&LAB13, &&LAB14, &&LAB15, &&LAB16, &&LAB17, &&LAB18, &&LAB19, &&LAB20, &&LAB21, &&LAB22, &&LAB23, &&LAB24, &&LAB25, &&LAB26, &&LAB27, &&LAB28, &&LAB29, &&LAB30, &&LAB31, &&LAB32, &&LAB33, &&LAB34, &&LAB35, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36};

LAB0:    t5 = (t4 + 4U);
    *((unsigned char *)t5) = t2;
    t7 = (t2 < (unsigned char)65);
    if (t7 == 1)
        goto LAB5;

LAB6:    t8 = (t2 > (unsigned char)90);
    t6 = t8;

LAB7:    if (t6 != 0)
        goto LAB2;

LAB4:
LAB3:    t9 = (char *)((nl0) + t2);
    goto **((char **)t9);

LAB2:    t0 = t2;

LAB1:    return t0;
LAB5:    t6 = (unsigned char)1;
    goto LAB7;

LAB8:    goto LAB3;

LAB9:    xsi_error(ng3);
    t0 = 0;
    goto LAB1;

LAB10:    t0 = (unsigned char)97;
    goto LAB1;

LAB11:    t0 = (unsigned char)98;
    goto LAB1;

LAB12:    t0 = (unsigned char)99;
    goto LAB1;

LAB13:    t0 = (unsigned char)100;
    goto LAB1;

LAB14:    t0 = (unsigned char)101;
    goto LAB1;

LAB15:    t0 = (unsigned char)102;
    goto LAB1;

LAB16:    t0 = (unsigned char)103;
    goto LAB1;

LAB17:    t0 = (unsigned char)104;
    goto LAB1;

LAB18:    t0 = (unsigned char)105;
    goto LAB1;

LAB19:    t0 = (unsigned char)106;
    goto LAB1;

LAB20:    t0 = (unsigned char)107;
    goto LAB1;

LAB21:    t0 = (unsigned char)108;
    goto LAB1;

LAB22:    t0 = (unsigned char)109;
    goto LAB1;

LAB23:    t0 = (unsigned char)110;
    goto LAB1;

LAB24:    t0 = (unsigned char)111;
    goto LAB1;

LAB25:    t0 = (unsigned char)112;
    goto LAB1;

LAB26:    t0 = (unsigned char)113;
    goto LAB1;

LAB27:    t0 = (unsigned char)114;
    goto LAB1;

LAB28:    t0 = (unsigned char)115;
    goto LAB1;

LAB29:    t0 = (unsigned char)116;
    goto LAB1;

LAB30:    t0 = (unsigned char)117;
    goto LAB1;

LAB31:    t0 = (unsigned char)118;
    goto LAB1;

LAB32:    t0 = (unsigned char)119;
    goto LAB1;

LAB33:    t0 = (unsigned char)120;
    goto LAB1;

LAB34:    t0 = (unsigned char)121;
    goto LAB1;

LAB35:    t0 = (unsigned char)122;
    goto LAB1;

LAB36:    t0 = t2;
    goto LAB1;

LAB37:    goto LAB9;

LAB38:    goto LAB9;

LAB39:    goto LAB9;

LAB40:    goto LAB9;

LAB41:    goto LAB9;

LAB42:    goto LAB9;

LAB43:    goto LAB9;

LAB44:    goto LAB9;

LAB45:    goto LAB9;

LAB46:    goto LAB9;

LAB47:    goto LAB9;

LAB48:    goto LAB9;

LAB49:    goto LAB9;

LAB50:    goto LAB9;

LAB51:    goto LAB9;

LAB52:    goto LAB9;

LAB53:    goto LAB9;

LAB54:    goto LAB9;

LAB55:    goto LAB9;

LAB56:    goto LAB9;

LAB57:    goto LAB9;

LAB58:    goto LAB9;

LAB59:    goto LAB9;

LAB60:    goto LAB9;

LAB61:    goto LAB9;

LAB62:    goto LAB9;

LAB63:    goto LAB9;

}

unsigned char fit_timer_v1_01_b_a_0914523833_0090727531_sub_1038119962_1724905902(char *t1, char *t2, char *t3, char *t4, char *t5)
{
    char t6[368];
    char t7[40];
    char t13[8];
    char t21[8];
    char t27[8];
    unsigned char t0;
    char *t8;
    unsigned int t9;
    char *t10;
    char *t11;
    char *t12;
    char *t14;
    char *t15;
    char *t16;
    unsigned int t17;
    char *t18;
    char *t19;
    char *t20;
    char *t22;
    char *t23;
    char *t24;
    char *t25;
    char *t26;
    char *t28;
    char *t29;
    char *t30;
    unsigned char t31;
    char *t32;
    char *t33;
    unsigned char t34;
    char *t35;
    char *t36;
    char *t37;
    int t38;
    char *t39;
    int t40;
    unsigned char t41;
    unsigned char t42;
    char *t43;
    int t44;
    int t45;
    int t46;
    int t47;
    int t48;
    int t49;
    int t50;
    int t51;
    unsigned int t52;
    int t53;
    int t54;
    int t55;
    unsigned int t56;
    int t57;
    unsigned int t58;
    unsigned int t59;
    unsigned char t60;
    unsigned char t61;

LAB0:    t8 = (t3 + 12U);
    t9 = *((unsigned int *)t8);
    t10 = (t6 + 4U);
    t11 = ((STD_STANDARD) + 384);
    t12 = (t10 + 88U);
    *((char **)t12) = t11;
    t14 = (t10 + 56U);
    *((char **)t14) = t13;
    *((unsigned int *)t13) = t9;
    t15 = (t10 + 80U);
    *((unsigned int *)t15) = 4U;
    t16 = (t5 + 12U);
    t17 = *((unsigned int *)t16);
    t18 = (t6 + 124U);
    t19 = ((STD_STANDARD) + 384);
    t20 = (t18 + 88U);
    *((char **)t20) = t19;
    t22 = (t18 + 56U);
    *((char **)t22) = t21;
    *((unsigned int *)t21) = t17;
    t23 = (t18 + 80U);
    *((unsigned int *)t23) = 4U;
    t24 = (t6 + 244U);
    t25 = ((STD_STANDARD) + 0);
    t26 = (t24 + 88U);
    *((char **)t26) = t25;
    t28 = (t24 + 56U);
    *((char **)t28) = t27;
    *((unsigned char *)t27) = (unsigned char)1;
    t29 = (t24 + 80U);
    *((unsigned int *)t29) = 1U;
    t30 = (t7 + 4U);
    t31 = (t2 != 0);
    if (t31 == 1)
        goto LAB3;

LAB2:    t32 = (t7 + 12U);
    *((char **)t32) = t3;
    t33 = (t7 + 20U);
    t34 = (t4 != 0);
    if (t34 == 1)
        goto LAB5;

LAB4:    t35 = (t7 + 28U);
    *((char **)t35) = t5;
    t36 = (t10 + 56U);
    t37 = *((char **)t36);
    t38 = *((int *)t37);
    t36 = (t18 + 56U);
    t39 = *((char **)t36);
    t40 = *((int *)t39);
    t41 = (t38 == t40);
    t42 = (!(t41));
    if (t42 != 0)
        goto LAB6;

LAB8:    t8 = (t3 + 8U);
    t38 = *((int *)t8);
    t11 = (t3 + 4U);
    t40 = *((int *)t11);
    t12 = (t3 + 0U);
    t44 = *((int *)t12);
    t45 = t44;
    t46 = t40;

LAB9:    t47 = (t46 * t38);
    t48 = (t45 * t38);
    if (t48 <= t47)
        goto LAB10;

LAB12:
LAB7:    t8 = (t24 + 56U);
    t11 = *((char **)t8);
    t31 = *((unsigned char *)t11);
    t0 = t31;

LAB1:    return t0;
LAB3:    *((char **)t30) = t2;
    goto LAB2;

LAB5:    *((char **)t33) = t4;
    goto LAB4;

LAB6:    t36 = (t24 + 56U);
    t43 = *((char **)t36);
    t36 = (t43 + 0);
    *((unsigned char *)t36) = (unsigned char)0;
    goto LAB7;

LAB10:    t14 = (t3 + 0U);
    t49 = *((int *)t14);
    t15 = (t3 + 8U);
    t50 = *((int *)t15);
    t51 = (t45 - t49);
    t9 = (t51 * t50);
    t17 = (1U * t9);
    t52 = (0 + t17);
    t16 = (t2 + t52);
    t31 = *((unsigned char *)t16);
    t34 = fit_timer_v1_01_b_a_0914523833_0090727531_sub_1905495129_1724905902(t1, t31);
    t19 = (t5 + 0U);
    t53 = *((int *)t19);
    t20 = (t5 + 8U);
    t54 = *((int *)t20);
    t55 = (t45 - t53);
    t56 = (t55 * t54);
    t22 = (t5 + 4U);
    t57 = *((int *)t22);
    xsi_vhdl_check_range_of_index(t53, t57, t54, t45);
    t58 = (1U * t56);
    t59 = (0 + t58);
    t23 = (t4 + t59);
    t41 = *((unsigned char *)t23);
    t42 = fit_timer_v1_01_b_a_0914523833_0090727531_sub_1905495129_1724905902(t1, t41);
    t60 = (t34 == t42);
    t61 = (!(t60));
    if (t61 != 0)
        goto LAB13;

LAB15:
LAB14:
LAB11:    if (t45 == t46)
        goto LAB12;

LAB16:    t40 = (t45 + t38);
    t45 = t40;
    goto LAB9;

LAB13:    t25 = (t24 + 56U);
    t26 = *((char **)t25);
    t25 = (t26 + 0);
    *((unsigned char *)t25) = (unsigned char)0;
    goto LAB14;

LAB17:;
}
unsigned char xilinxcorelib_a_2471744563_3212880686_sub_1958210513717660761_3057020925(char *t1, unsigned char t2)
{
    char t4[8];
    unsigned char t0;
    char *t5;
    unsigned char t6;
    unsigned char t7;
    unsigned char t8;
    char *t9;
    static char *nl0[] = {&&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB10, &&LAB11, &&LAB12, &&LAB13, &&LAB14, &&LAB15, &&LAB16, &&LAB17, &&LAB18, &&LAB19, &&LAB20, &&LAB21, &&LAB22, &&LAB23, &&LAB24, &&LAB25, &&LAB26, &&LAB27, &&LAB28, &&LAB29, &&LAB30, &&LAB31, &&LAB32, &&LAB33, &&LAB34, &&LAB35, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36};

LAB0:    t5 = (t4 + 4U);
    *((unsigned char *)t5) = t2;
    t7 = (t2 < (unsigned char)65);
    if (t7 == 1)
        goto LAB5;

LAB6:    t8 = (t2 > (unsigned char)90);
    t6 = t8;

LAB7:    if (t6 != 0)
        goto LAB2;

LAB4:
LAB3:    t9 = (char *)((nl0) + t2);
    goto **((char **)t9);

LAB2:    t0 = t2;

LAB1:    return t0;
LAB5:    t6 = (unsigned char)1;
    goto LAB7;

LAB8:    goto LAB3;

LAB9:    xsi_error(ng0);
    t0 = 0;
    goto LAB1;

LAB10:    t0 = (unsigned char)97;
    goto LAB1;

LAB11:    t0 = (unsigned char)98;
    goto LAB1;

LAB12:    t0 = (unsigned char)99;
    goto LAB1;

LAB13:    t0 = (unsigned char)100;
    goto LAB1;

LAB14:    t0 = (unsigned char)101;
    goto LAB1;

LAB15:    t0 = (unsigned char)102;
    goto LAB1;

LAB16:    t0 = (unsigned char)103;
    goto LAB1;

LAB17:    t0 = (unsigned char)104;
    goto LAB1;

LAB18:    t0 = (unsigned char)105;
    goto LAB1;

LAB19:    t0 = (unsigned char)106;
    goto LAB1;

LAB20:    t0 = (unsigned char)107;
    goto LAB1;

LAB21:    t0 = (unsigned char)108;
    goto LAB1;

LAB22:    t0 = (unsigned char)109;
    goto LAB1;

LAB23:    t0 = (unsigned char)110;
    goto LAB1;

LAB24:    t0 = (unsigned char)111;
    goto LAB1;

LAB25:    t0 = (unsigned char)112;
    goto LAB1;

LAB26:    t0 = (unsigned char)113;
    goto LAB1;

LAB27:    t0 = (unsigned char)114;
    goto LAB1;

LAB28:    t0 = (unsigned char)115;
    goto LAB1;

LAB29:    t0 = (unsigned char)116;
    goto LAB1;

LAB30:    t0 = (unsigned char)117;
    goto LAB1;

LAB31:    t0 = (unsigned char)118;
    goto LAB1;

LAB32:    t0 = (unsigned char)119;
    goto LAB1;

LAB33:    t0 = (unsigned char)120;
    goto LAB1;

LAB34:    t0 = (unsigned char)121;
    goto LAB1;

LAB35:    t0 = (unsigned char)122;
    goto LAB1;

LAB36:    t0 = t2;
    goto LAB1;

LAB37:    goto LAB9;

LAB38:    goto LAB9;

LAB39:    goto LAB9;

LAB40:    goto LAB9;

LAB41:    goto LAB9;

LAB42:    goto LAB9;

LAB43:    goto LAB9;

LAB44:    goto LAB9;

LAB45:    goto LAB9;

LAB46:    goto LAB9;

LAB47:    goto LAB9;

LAB48:    goto LAB9;

LAB49:    goto LAB9;

LAB50:    goto LAB9;

LAB51:    goto LAB9;

LAB52:    goto LAB9;

LAB53:    goto LAB9;

LAB54:    goto LAB9;

LAB55:    goto LAB9;

LAB56:    goto LAB9;

LAB57:    goto LAB9;

LAB58:    goto LAB9;

LAB59:    goto LAB9;

LAB60:    goto LAB9;

LAB61:    goto LAB9;

LAB62:    goto LAB9;

LAB63:    goto LAB9;

}

unsigned char xilinxcorelib_a_2471744563_3212880686_sub_13567630763362382874_3057020925(char *t1, char *t2, char *t3, char *t4, char *t5)
{
    char t6[368];
    char t7[40];
    char t13[8];
    char t21[8];
    char t27[8];
    unsigned char t0;
    char *t8;
    unsigned int t9;
    char *t10;
    char *t11;
    char *t12;
    char *t14;
    char *t15;
    char *t16;
    unsigned int t17;
    char *t18;
    char *t19;
    char *t20;
    char *t22;
    char *t23;
    char *t24;
    char *t25;
    char *t26;
    char *t28;
    char *t29;
    char *t30;
    unsigned char t31;
    char *t32;
    char *t33;
    unsigned char t34;
    char *t35;
    char *t36;
    char *t37;
    int t38;
    char *t39;
    int t40;
    unsigned char t41;
    unsigned char t42;
    char *t43;
    int t44;
    int t45;
    int t46;
    int t47;
    int t48;
    int t49;
    unsigned int t50;
    int t51;
    int t52;
    int t53;
    unsigned int t54;
    int t55;
    unsigned int t56;
    unsigned int t57;
    unsigned char t58;
    unsigned char t59;

LAB0:    t8 = (t3 + 12U);
    t9 = *((unsigned int *)t8);
    t10 = (t6 + 4U);
    t11 = ((STD_STANDARD) + 384);
    t12 = (t10 + 88U);
    *((char **)t12) = t11;
    t14 = (t10 + 56U);
    *((char **)t14) = t13;
    *((unsigned int *)t13) = t9;
    t15 = (t10 + 80U);
    *((unsigned int *)t15) = 4U;
    t16 = (t5 + 12U);
    t17 = *((unsigned int *)t16);
    t18 = (t6 + 124U);
    t19 = ((STD_STANDARD) + 384);
    t20 = (t18 + 88U);
    *((char **)t20) = t19;
    t22 = (t18 + 56U);
    *((char **)t22) = t21;
    *((unsigned int *)t21) = t17;
    t23 = (t18 + 80U);
    *((unsigned int *)t23) = 4U;
    t24 = (t6 + 244U);
    t25 = ((STD_STANDARD) + 0);
    t26 = (t24 + 88U);
    *((char **)t26) = t25;
    t28 = (t24 + 56U);
    *((char **)t28) = t27;
    *((unsigned char *)t27) = (unsigned char)1;
    t29 = (t24 + 80U);
    *((unsigned int *)t29) = 1U;
    t30 = (t7 + 4U);
    t31 = (t2 != 0);
    if (t31 == 1)
        goto LAB3;

LAB2:    t32 = (t7 + 12U);
    *((char **)t32) = t3;
    t33 = (t7 + 20U);
    t34 = (t4 != 0);
    if (t34 == 1)
        goto LAB5;

LAB4:    t35 = (t7 + 28U);
    *((char **)t35) = t5;
    t36 = (t10 + 56U);
    t37 = *((char **)t36);
    t38 = *((int *)t37);
    t36 = (t18 + 56U);
    t39 = *((char **)t36);
    t40 = *((int *)t39);
    t41 = (t38 == t40);
    t42 = (!(t41));
    if (t42 != 0)
        goto LAB6;

LAB8:    t8 = (t3 + 4U);
    t38 = *((int *)t8);
    t11 = (t5 + 0U);
    t40 = *((int *)t11);
    t44 = t40;
    t45 = t38;

LAB9:    if (t44 <= t45)
        goto LAB10;

LAB12:
LAB7:    t8 = (t24 + 56U);
    t11 = *((char **)t8);
    t31 = *((unsigned char *)t11);
    t0 = t31;

LAB1:    return t0;
LAB3:    *((char **)t30) = t2;
    goto LAB2;

LAB5:    *((char **)t33) = t4;
    goto LAB4;

LAB6:    t36 = (t24 + 56U);
    t43 = *((char **)t36);
    t36 = (t43 + 0);
    *((unsigned char *)t36) = (unsigned char)0;
    goto LAB7;

LAB10:    t12 = (t3 + 0U);
    t46 = *((int *)t12);
    t14 = (t3 + 8U);
    t47 = *((int *)t14);
    t48 = (t44 - t46);
    t9 = (t48 * t47);
    t15 = (t3 + 4U);
    t49 = *((int *)t15);
    xsi_vhdl_check_range_of_index(t46, t49, t47, t44);
    t17 = (1U * t9);
    t50 = (0 + t17);
    t16 = (t2 + t50);
    t31 = *((unsigned char *)t16);
    t34 = xilinxcorelib_a_2471744563_3212880686_sub_1958210513717660761_3057020925(t1, t31);
    t19 = (t5 + 0U);
    t51 = *((int *)t19);
    t20 = (t5 + 8U);
    t52 = *((int *)t20);
    t53 = (t44 - t51);
    t54 = (t53 * t52);
    t22 = (t5 + 4U);
    t55 = *((int *)t22);
    xsi_vhdl_check_range_of_index(t51, t55, t52, t44);
    t56 = (1U * t54);
    t57 = (0 + t56);
    t23 = (t4 + t57);
    t41 = *((unsigned char *)t23);
    t42 = xilinxcorelib_a_2471744563_3212880686_sub_1958210513717660761_3057020925(t1, t41);
    t58 = (t34 == t42);
    t59 = (!(t58));
    if (t59 != 0)
        goto LAB13;

LAB15:
LAB14:
LAB11:    if (t44 == t45)
        goto LAB12;

LAB16:    t38 = (t44 + 1);
    t44 = t38;
    goto LAB9;

LAB13:    t25 = (t24 + 56U);
    t26 = *((char **)t25);
    t25 = (t26 + 0);
    *((unsigned char *)t25) = (unsigned char)0;
    goto LAB14;

LAB17:;
}
int fit_timer_v1_01_b_a_0914523833_0090727531_sub_784192562_1724905902(char *t1)
{
    char t2[152];
    char t7[16];
    char t37[16];
    char t52[16];
    char t54[16];
    char t56[16];
    char t58[16];
    char t60[16];
    int t0;
    char *t4;
    char *t5;
    unsigned int t6;
    char *t8;
    char *t9;
    int t10;
    char *t11;
    char *t12;
    int t13;
    char *t14;
    char *t15;
    int t16;
    char *t17;
    char *t18;
    int t19;
    unsigned int t20;
    char *t21;
    char *t22;
    char *t23;
    char *t24;
    char *t25;
    char *t26;
    char *t27;
    char *t28;
    char *t29;
    char *t30;
    int t31;
    char *t32;
    unsigned int t33;
    unsigned int t34;
    unsigned int t35;
    unsigned int t36;
    char *t38;
    char *t39;
    char *t40;
    char *t41;
    char *t42;
    char *t43;
    char *t44;
    unsigned int t45;
    unsigned char t46;
    unsigned char t47;
    unsigned char t48;
    unsigned char t49;
    unsigned char t50;
    unsigned char t51;
    unsigned char t53;
    unsigned char t55;
    unsigned char t57;
    unsigned char t59;
    int t61;
    unsigned char t62;

LAB0:    t4 = (t1 + 14656U);
    t5 = (t4 + 12U);
    t6 = *((unsigned int *)t5);
    t6 = (t6 * 1U);
    t8 = (t1 + 14656U);
    t9 = (t8 + 0U);
    t10 = *((int *)t9);
    t11 = (t1 + 14656U);
    t12 = (t11 + 4U);
    t13 = *((int *)t12);
    t14 = (t1 + 14656U);
    t15 = (t14 + 8U);
    t16 = *((int *)t15);
    t17 = (t7 + 0U);
    t18 = (t17 + 0U);
    *((int *)t18) = t10;
    t18 = (t17 + 4U);
    *((int *)t18) = t13;
    t18 = (t17 + 8U);
    *((int *)t18) = t16;
    t19 = (t13 - t10);
    t20 = (t19 * t16);
    t20 = (t20 + 1);
    t18 = (t17 + 12U);
    *((unsigned int *)t18) = t20;
    t18 = (t2 + 4U);
    t21 = ((STD_STANDARD) + 1008);
    t22 = (t18 + 88U);
    *((char **)t22) = t21;
    t23 = xsi_get_memory(t6);
    t24 = (t18 + 56U);
    *((char **)t24) = t23;
    xsi_type_set_default_value(t21, t23, t7);
    t25 = (t18 + 64U);
    *((char **)t25) = t7;
    t26 = (t18 + 80U);
    *((unsigned int *)t26) = t6;
    t27 = (t18 + 136U);
    *((char **)t27) = t23;
    t28 = (t18 + 124U);
    *((int *)t28) = 0;
    t29 = (t18 + 128U);
    t30 = (t7 + 12U);
    t20 = *((unsigned int *)t30);
    t31 = (t20 - 1);
    *((int *)t29) = t31;
    t32 = (t18 + 120U);
    t34 = (t6 > 2147483644);
    if (t34 == 1)
        goto LAB2;

LAB3:    t35 = (t6 + 3);
    t36 = (t35 / 16);
    t33 = t36;

LAB4:    *((unsigned int *)t32) = t33;
    t38 = (t1 + 14872);
    t40 = (t1 + 14656U);
    t41 = fit_timer_v1_01_b_a_0914523833_0090727531_sub_4083363267_1724905902(t1, t37, t38, t40);
    t42 = (t18 + 56U);
    t43 = *((char **)t42);
    t42 = (t43 + 0);
    t44 = (t37 + 12U);
    t45 = *((unsigned int *)t44);
    t45 = (t45 * 1U);
    memcpy(t42, t41, t45);
    t4 = (t18 + 56U);
    t5 = *((char **)t4);
    t4 = (t1 + 14880);
    t9 = (t37 + 0U);
    t11 = (t9 + 0U);
    *((int *)t11) = 1;
    t11 = (t9 + 4U);
    *((int *)t11) = 7;
    t11 = (t9 + 8U);
    *((int *)t11) = 1;
    t10 = (7 - 1);
    t6 = (t10 * 1);
    t6 = (t6 + 1);
    t11 = (t9 + 12U);
    *((unsigned int *)t11) = t6;
    t51 = fit_timer_v1_01_b_a_0914523833_0090727531_sub_1038119962_1724905902(t1, t5, t7, t4, t37);
    if (t51 == 1)
        goto LAB20;

LAB21:    t11 = (t18 + 56U);
    t12 = *((char **)t11);
    t11 = (t1 + 14887);
    t15 = (t52 + 0U);
    t17 = (t15 + 0U);
    *((int *)t17) = 1;
    t17 = (t15 + 4U);
    *((int *)t17) = 8;
    t17 = (t15 + 8U);
    *((int *)t17) = 1;
    t13 = (8 - 1);
    t6 = (t13 * 1);
    t6 = (t6 + 1);
    t17 = (t15 + 12U);
    *((unsigned int *)t17) = t6;
    t53 = fit_timer_v1_01_b_a_0914523833_0090727531_sub_1038119962_1724905902(t1, t12, t7, t11, t52);
    t50 = t53;

LAB22:    if (t50 == 1)
        goto LAB17;

LAB18:    t17 = (t18 + 56U);
    t21 = *((char **)t17);
    t17 = (t1 + 14895);
    t23 = (t54 + 0U);
    t24 = (t23 + 0U);
    *((int *)t24) = 1;
    t24 = (t23 + 4U);
    *((int *)t24) = 8;
    t24 = (t23 + 8U);
    *((int *)t24) = 1;
    t16 = (8 - 1);
    t6 = (t16 * 1);
    t6 = (t6 + 1);
    t24 = (t23 + 12U);
    *((unsigned int *)t24) = t6;
    t55 = fit_timer_v1_01_b_a_0914523833_0090727531_sub_1038119962_1724905902(t1, t21, t7, t17, t54);
    t49 = t55;

LAB19:    if (t49 == 1)
        goto LAB14;

LAB15:    t24 = (t18 + 56U);
    t25 = *((char **)t24);
    t24 = (t1 + 14903);
    t27 = (t56 + 0U);
    t28 = (t27 + 0U);
    *((int *)t28) = 1;
    t28 = (t27 + 4U);
    *((int *)t28) = 9;
    t28 = (t27 + 8U);
    *((int *)t28) = 1;
    t19 = (9 - 1);
    t6 = (t19 * 1);
    t6 = (t6 + 1);
    t28 = (t27 + 12U);
    *((unsigned int *)t28) = t6;
    t57 = fit_timer_v1_01_b_a_0914523833_0090727531_sub_1038119962_1724905902(t1, t25, t7, t24, t56);
    t48 = t57;

LAB16:    if (t48 == 1)
        goto LAB11;

LAB12:    t28 = (t18 + 56U);
    t29 = *((char **)t28);
    t28 = (t1 + 14912);
    t32 = (t58 + 0U);
    t38 = (t32 + 0U);
    *((int *)t38) = 1;
    t38 = (t32 + 4U);
    *((int *)t38) = 7;
    t38 = (t32 + 8U);
    *((int *)t38) = 1;
    t31 = (7 - 1);
    t6 = (t31 * 1);
    t6 = (t6 + 1);
    t38 = (t32 + 12U);
    *((unsigned int *)t38) = t6;
    t59 = fit_timer_v1_01_b_a_0914523833_0090727531_sub_1038119962_1724905902(t1, t29, t7, t28, t58);
    t47 = t59;

LAB13:    if (t47 == 1)
        goto LAB8;

LAB9:    t38 = (t18 + 56U);
    t39 = *((char **)t38);
    t38 = (t1 + 14919);
    t41 = (t60 + 0U);
    t42 = (t41 + 0U);
    *((int *)t42) = 1;
    t42 = (t41 + 4U);
    *((int *)t42) = 8;
    t42 = (t41 + 8U);
    *((int *)t42) = 1;
    t61 = (8 - 1);
    t6 = (t61 * 1);
    t6 = (t6 + 1);
    t42 = (t41 + 12U);
    *((unsigned int *)t42) = t6;
    t62 = fit_timer_v1_01_b_a_0914523833_0090727531_sub_1038119962_1724905902(t1, t39, t7, t38, t60);
    t46 = t62;

LAB10:    if (t46 != 0)
        goto LAB5;

LAB7:    t0 = 16;

LAB1:    t4 = (t18 + 80);
    t10 = *((int *)t4);
    t5 = (t18 + 136U);
    t8 = *((char **)t5);
    xsi_put_memory(t10, t8);
    return t0;
LAB2:    t33 = 2147483647;
    goto LAB4;

LAB5:    t0 = 128;
    goto LAB1;

LAB6:    xsi_error(ng4);
    t0 = 0;
    goto LAB1;

LAB8:    t46 = (unsigned char)1;
    goto LAB10;

LAB11:    t47 = (unsigned char)1;
    goto LAB13;

LAB14:    t48 = (unsigned char)1;
    goto LAB16;

LAB17:    t49 = (unsigned char)1;
    goto LAB19;

LAB20:    t50 = (unsigned char)1;
    goto LAB22;

LAB23:    goto LAB6;

LAB24:    goto LAB6;

}
char *xilinxcorelib_a_2471744563_3212880686_sub_2512774162866427924_3057020925(char *t1, char *t2, unsigned char t3, char *t4, char *t5, char *t6, char *t7)
{
    char t9[40];
    char *t0;
    char *t10;
    char *t11;
    unsigned char t12;
    char *t13;
    char *t14;
    unsigned char t15;
    char *t16;
    unsigned char t17;
    char *t18;
    unsigned int t19;
    char *t20;
    int t21;
    char *t22;
    int t23;
    char *t24;
    int t25;
    char *t26;
    char *t27;
    int t28;
    unsigned int t29;

LAB0:    t10 = (t9 + 4U);
    *((unsigned char *)t10) = t3;
    t11 = (t9 + 5U);
    t12 = (t4 != 0);
    if (t12 == 1)
        goto LAB3;

LAB2:    t13 = (t9 + 13U);
    *((char **)t13) = t5;
    t14 = (t9 + 21U);
    t15 = (t6 != 0);
    if (t15 == 1)
        goto LAB5;

LAB4:    t16 = (t9 + 29U);
    *((char **)t16) = t7;
    t17 = (!(t3));
    if (t17 != 0)
        goto LAB6;

LAB8:    t18 = (t5 + 12U);
    t19 = *((unsigned int *)t18);
    t19 = (t19 * 1U);
    t0 = xsi_get_transient_memory(t19);
    memcpy(t0, t4, t19);
    t20 = (t5 + 0U);
    t21 = *((int *)t20);
    t22 = (t5 + 4U);
    t23 = *((int *)t22);
    t24 = (t5 + 8U);
    t25 = *((int *)t24);
    t26 = (t2 + 0U);
    t27 = (t26 + 0U);
    *((int *)t27) = t21;
    t27 = (t26 + 4U);
    *((int *)t27) = t23;
    t27 = (t26 + 8U);
    *((int *)t27) = t25;
    t28 = (t23 - t21);
    t29 = (t28 * t25);
    t29 = (t29 + 1);
    t27 = (t26 + 12U);
    *((unsigned int *)t27) = t29;

LAB1:    return t0;
LAB3:    *((char **)t11) = t4;
    goto LAB2;

LAB5:    *((char **)t14) = t6;
    goto LAB4;

LAB6:    t18 = (t7 + 12U);
    t19 = *((unsigned int *)t18);
    t19 = (t19 * 1U);
    t0 = xsi_get_transient_memory(t19);
    memcpy(t0, t6, t19);
    t20 = (t7 + 0U);
    t21 = *((int *)t20);
    t22 = (t7 + 4U);
    t23 = *((int *)t22);
    t24 = (t7 + 8U);
    t25 = *((int *)t24);
    t26 = (t2 + 0U);
    t27 = (t26 + 0U);
    *((int *)t27) = t21;
    t27 = (t26 + 4U);
    *((int *)t27) = t23;
    t27 = (t26 + 8U);
    *((int *)t27) = t25;
    t28 = (t23 - t21);
    t29 = (t28 * t25);
    t29 = (t29 + 1);
    t27 = (t26 + 12U);
    *((unsigned int *)t27) = t29;
    goto LAB1;

LAB7:    xsi_error(ng2);
    t0 = 0;
    goto LAB1;

LAB9:    goto LAB7;

LAB10:    goto LAB7;

}
unsigned char clock_generator_v4_01_a_a_0434144239_3708392848_sub_16617149276098153016_4252281916(char *t1, unsigned char t2)
{
    char t4[8];
    unsigned char t0;
    char *t5;
    unsigned char t6;
    unsigned char t7;
    unsigned char t8;
    char *t9;
    static char *nl0[] = {&&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB10, &&LAB11, &&LAB12, &&LAB13, &&LAB14, &&LAB15, &&LAB16, &&LAB17, &&LAB18, &&LAB19, &&LAB20, &&LAB21, &&LAB22, &&LAB23, &&LAB24, &&LAB25, &&LAB26, &&LAB27, &&LAB28, &&LAB29, &&LAB30, &&LAB31, &&LAB32, &&LAB33, &&LAB34, &&LAB35, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36, &&LAB36};

LAB0:    t5 = (t4 + 4U);
    *((unsigned char *)t5) = t2;
    t7 = (t2 < (unsigned char)97);
    if (t7 == 1)
        goto LAB5;

LAB6:    t8 = (t2 > (unsigned char)122);
    t6 = t8;

LAB7:    if (t6 != 0)
        goto LAB2;

LAB4:
LAB3:    t9 = (char *)((nl0) + t2);
    goto **((char **)t9);

LAB2:    t0 = t2;

LAB1:    return t0;
LAB5:    t6 = (unsigned char)1;
    goto LAB7;

LAB8:    goto LAB3;

LAB9:    xsi_error(ng0);
    t0 = 0;
    goto LAB1;

LAB10:    t0 = (unsigned char)65;
    goto LAB1;

LAB11:    t0 = (unsigned char)66;
    goto LAB1;

LAB12:    t0 = (unsigned char)67;
    goto LAB1;

LAB13:    t0 = (unsigned char)68;
    goto LAB1;

LAB14:    t0 = (unsigned char)69;
    goto LAB1;

LAB15:    t0 = (unsigned char)70;
    goto LAB1;

LAB16:    t0 = (unsigned char)71;
    goto LAB1;

LAB17:    t0 = (unsigned char)72;
    goto LAB1;

LAB18:    t0 = (unsigned char)73;
    goto LAB1;

LAB19:    t0 = (unsigned char)74;
    goto LAB1;

LAB20:    t0 = (unsigned char)75;
    goto LAB1;

LAB21:    t0 = (unsigned char)76;
    goto LAB1;

LAB22:    t0 = (unsigned char)77;
    goto LAB1;

LAB23:    t0 = (unsigned char)78;
    goto LAB1;

LAB24:    t0 = (unsigned char)79;
    goto LAB1;

LAB25:    t0 = (unsigned char)80;
    goto LAB1;

LAB26:    t0 = (unsigned char)81;
    goto LAB1;

LAB27:    t0 = (unsigned char)82;
    goto LAB1;

LAB28:    t0 = (unsigned char)83;
    goto LAB1;

LAB29:    t0 = (unsigned char)84;
    goto LAB1;

LAB30:    t0 = (unsigned char)85;
    goto LAB1;

LAB31:    t0 = (unsigned char)86;
    goto LAB1;

LAB32:    t0 = (unsigned char)87;
    goto LAB1;

LAB33:    t0 = (unsigned char)88;
    goto LAB1;

LAB34:    t0 = (unsigned char)89;
    goto LAB1;

LAB35:    t0 = (unsigned char)90;
    goto LAB1;

LAB36:    t0 = t2;
    goto LAB1;

LAB37:    goto LAB9;

LAB38:    goto LAB9;

LAB39:    goto LAB9;

LAB40:    goto LAB9;

LAB41:    goto LAB9;

LAB42:    goto LAB9;

LAB43:    goto LAB9;

LAB44:    goto LAB9;

LAB45:    goto LAB9;

LAB46:    goto LAB9;

LAB47:    goto LAB9;

LAB48:    goto LAB9;

LAB49:    goto LAB9;

LAB50:    goto LAB9;

LAB51:    goto LAB9;

LAB52:    goto LAB9;

LAB53:    goto LAB9;

LAB54:    goto LAB9;

LAB55:    goto LAB9;

LAB56:    goto LAB9;

LAB57:    goto LAB9;

LAB58:    goto LAB9;

LAB59:    goto LAB9;

LAB60:    goto LAB9;

LAB61:    goto LAB9;

LAB62:    goto LAB9;

LAB63:    goto LAB9;

}

char *clock_generator_v4_01_a_a_0434144239_3708392848_sub_7432392644515346886_4252281916(char *t1, char *t2, char *t3, char *t4)
{
    char t5[144];
    char t6[24];
    char t9[16];
    char *t0;
    char *t7;
    unsigned int t8;
    char *t10;
    int t11;
    char *t12;
    int t13;
    char *t14;
    int t15;
    char *t16;
    char *t17;
    int t18;
    unsigned int t19;
    char *t20;
    char *t21;
    char *t22;
    char *t23;
    char *t24;
    char *t25;
    char *t26;
    char *t27;
    char *t28;
    char *t29;
    int t30;
    char *t31;
    unsigned int t32;
    unsigned int t33;
    unsigned int t34;
    unsigned int t35;
    char *t36;
    unsigned char t37;
    char *t38;
    char *t39;
    int t40;
    char *t41;
    int t42;
    char *t43;
    int t44;
    int t45;
    int t46;
    int t47;
    int t48;
    char *t49;
    int t50;
    char *t51;
    int t52;
    int t53;
    unsigned int t54;
    unsigned int t55;
    unsigned int t56;
    char *t57;
    unsigned char t58;
    unsigned char t59;
    char *t60;
    char *t61;
    int t62;
    char *t63;
    int t64;
    int t65;
    unsigned int t66;
    char *t67;
    int t68;
    unsigned int t69;
    unsigned int t70;
    char *t71;

LAB0:    t7 = (t4 + 12U);
    t8 = *((unsigned int *)t7);
    t8 = (t8 * 1U);
    t10 = (t4 + 0U);
    t11 = *((int *)t10);
    t12 = (t4 + 4U);
    t13 = *((int *)t12);
    t14 = (t4 + 8U);
    t15 = *((int *)t14);
    t16 = (t9 + 0U);
    t17 = (t16 + 0U);
    *((int *)t17) = t11;
    t17 = (t16 + 4U);
    *((int *)t17) = t13;
    t17 = (t16 + 8U);
    *((int *)t17) = t15;
    t18 = (t13 - t11);
    t19 = (t18 * t15);
    t19 = (t19 + 1);
    t17 = (t16 + 12U);
    *((unsigned int *)t17) = t19;
    t17 = (t5 + 4U);
    t20 = ((STD_STANDARD) + 984);
    t21 = (t17 + 88U);
    *((char **)t21) = t20;
    t22 = xsi_get_memory(t8);
    t23 = (t17 + 56U);
    *((char **)t23) = t22;
    xsi_type_set_default_value(t20, t22, t9);
    t24 = (t17 + 64U);
    *((char **)t24) = t9;
    t25 = (t17 + 80U);
    *((unsigned int *)t25) = t8;
    t26 = (t17 + 128U);
    *((char **)t26) = t22;
    t27 = (t17 + 120U);
    *((int *)t27) = 0;
    t28 = (t17 + 124U);
    t29 = (t9 + 12U);
    t19 = *((unsigned int *)t29);
    t30 = (t19 - 1);
    *((int *)t28) = t30;
    t31 = (t17 + 116U);
    t33 = (t8 > 2147483644);
    if (t33 == 1)
        goto LAB2;

LAB3:    t34 = (t8 + 3);
    t35 = (t34 / 16);
    t32 = t35;

LAB4:    *((unsigned int *)t31) = t32;
    t36 = (t6 + 4U);
    t37 = (t3 != 0);
    if (t37 == 1)
        goto LAB6;

LAB5:    t38 = (t6 + 12U);
    *((char **)t38) = t4;
    t39 = (t4 + 8U);
    t40 = *((int *)t39);
    t41 = (t4 + 4U);
    t42 = *((int *)t41);
    t43 = (t4 + 0U);
    t44 = *((int *)t43);
    t45 = t44;
    t46 = t42;

LAB7:    t47 = (t46 * t40);
    t48 = (t45 * t40);
    if (t48 <= t47)
        goto LAB8;

LAB10:    t7 = (t17 + 56U);
    t10 = *((char **)t7);
    t7 = (t9 + 12U);
    t8 = *((unsigned int *)t7);
    t8 = (t8 * 1U);
    t0 = xsi_get_transient_memory(t8);
    memcpy(t0, t10, t8);
    t12 = (t9 + 0U);
    t11 = *((int *)t12);
    t14 = (t9 + 4U);
    t13 = *((int *)t14);
    t16 = (t9 + 8U);
    t15 = *((int *)t16);
    t20 = (t2 + 0U);
    t21 = (t20 + 0U);
    *((int *)t21) = t11;
    t21 = (t20 + 4U);
    *((int *)t21) = t13;
    t21 = (t20 + 8U);
    *((int *)t21) = t15;
    t18 = (t13 - t11);
    t19 = (t18 * t15);
    t19 = (t19 + 1);
    t21 = (t20 + 12U);
    *((unsigned int *)t21) = t19;

LAB1:    t7 = (t17 + 80);
    t11 = *((int *)t7);
    t10 = (t17 + 128U);
    t12 = *((char **)t10);
    xsi_put_memory(t11, t12);
    return t0;
LAB2:    t32 = 2147483647;
    goto LAB4;

LAB6:    *((char **)t36) = t3;
    goto LAB5;

LAB8:    t49 = (t4 + 0U);
    t50 = *((int *)t49);
    t51 = (t4 + 8U);
    t52 = *((int *)t51);
    t53 = (t45 - t50);
    t54 = (t53 * t52);
    t55 = (1U * t54);
    t56 = (0 + t55);
    t57 = (t3 + t56);
    t58 = *((unsigned char *)t57);
    t59 = clock_generator_v4_01_a_a_0434144239_3708392848_sub_16617149276098153016_4252281916(t1, t58);
    t60 = (t17 + 56U);
    t61 = *((char **)t60);
    t60 = (t9 + 0U);
    t62 = *((int *)t60);
    t63 = (t9 + 8U);
    t64 = *((int *)t63);
    t65 = (t45 - t62);
    t66 = (t65 * t64);
    t67 = (t9 + 4U);
    t68 = *((int *)t67);
    xsi_vhdl_check_range_of_index(t62, t68, t64, t45);
    t69 = (1U * t66);
    t70 = (0 + t69);
    t71 = (t61 + t70);
    *((unsigned char *)t71) = t59;

LAB9:    if (t45 == t46)
        goto LAB10;

LAB11:    t11 = (t45 + t40);
    t45 = t11;
    goto LAB7;

LAB12:;
}