static unsigned tget(GetByteContext *gb, int type, int le)

{

    switch (type) {

    case TIFF_BYTE : return bytestream2_get_byteu(gb);

    case TIFF_SHORT: return tget_short(gb, le);

    case TIFF_LONG : return tget_long(gb, le);

    default        : return UINT_MAX;

    }

}

static unsigned tget(GetByteContext *gb, int type, int le)

{

    switch (type) {

    case TIFF_BYTE : return bytestream2_get_byteu(gb);

    case TIFF_SHORT: return tget_short(gb, le);

    case TIFF_LONG : return tget_long(gb, le);

    default        : return UINT_MAX;

    }

}

static unsigned FUNC_0(GetByteContext *VAR_0, int VAR_1, int VAR_2)

{

    switch (VAR_1) {

    case TIFF_BYTE : return bytestream2_get_byteu(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(GetByteContext *VAR_0, int VAR_1, int VAR_2)
{ switch (VAR_1) { case TIFF_BYTE : return bytestream2_get_byteu(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; } }