static int l2_load(BlockDriverState *bs, uint64_t l2_offset,

    uint64_t **l2_table)

{

    BDRVQcow2State *s = bs->opaque;

    int ret;



    ret = qcow2_cache_get(bs, s->l2_table_cache, l2_offset, (void**) l2_table);



    return ret;

}

static int l2_load(BlockDriverState *bs, uint64_t l2_offset,

    uint64_t **l2_table)

{

    BDRVQcow2State *s = bs->opaque;

    int ret;



    ret = qcow2_cache_get(bs, s->l2_table_cache, l2_offset, (void**) l2_table);



    return ret;

}

static int FUNC_0(BlockDriverState *VAR_0, uint64_t VAR_1,

    uint64_t **VAR_2)

{

    BDRVQcow2State *s = VAR_0->opaque;

    int VAR_3;



    VAR_3 = qcow2_cache_get(VAR_0, s->l2_table_cache, VAR_1, (void**) VAR_2);



    return VAR_3;

}

static int FUNC_0(BlockDriverState *VAR_0, uint64_t VAR_1,
uint64_t **VAR_2)
{ BDRVQcow2State *s = VAR_0->opaque; int VAR_3; VAR_3 = qcow2_cache_get(VAR_0, s->l2_table_cache, VAR_1, (void**) VAR_2); return VAR_3; }