static unsigned tget(const uint8_t **p, int type, int le)

{

    switch (type) {

    case TIFF_BYTE : return *(*p)++;

    case TIFF_SHORT: return tget_short(p, le);

    case TIFF_LONG : return tget_long(p, le);

    default        : return UINT_MAX;

    }

}

static unsigned tget(const uint8_t **p, int type, int le)

{

    switch (type) {

    case TIFF_BYTE : return *(*p)++;

    case TIFF_SHORT: return tget_short(p, le);

    case TIFF_LONG : return tget_long(p, le);

    default        : return UINT_MAX;

    }

}

static unsigned FUNC_0(const uint8_t **VAR_0, int VAR_1, int VAR_2)

{

    switch (VAR_1) {

    case TIFF_BYTE : return *(*VAR_0)++;

    case TIFF_SHORT: return tget_short(VAR_0, VAR_2);

    case TIFF_LONG : return tget_long(VAR_0, VAR_2);

    default        : return UINT_MAX;

    }

}

static unsigned FUNC_0(const uint8_t **VAR_0, int VAR_1, int VAR_2)
{ switch (VAR_1) { case TIFF_BYTE : return *(*VAR_0)++; case TIFF_SHORT: return tget_short(VAR_0, VAR_2); case TIFF_LONG : return tget_long(VAR_0, VAR_2); default        : return UINT_MAX; } }