static int get_physical_address(CPUState *env, target_phys_addr_t *physical,

                                int *prot, int *access_index,

                                target_ulong address, int rw, int mmu_idx)

{

    int is_user = mmu_idx == MMU_USER_IDX;



    if (rw == 2)

        return get_physical_address_code(env, physical, prot, address,

                                         is_user);

    else

        return get_physical_address_data(env, physical, prot, address, rw,

                                         is_user);

}

static int get_physical_address(CPUState *env, target_phys_addr_t *physical,

                                int *prot, int *access_index,

                                target_ulong address, int rw, int mmu_idx)

{

    int is_user = mmu_idx == MMU_USER_IDX;



    if (rw == 2)

        return get_physical_address_code(env, physical, prot, address,

                                         is_user);

    else

        return get_physical_address_data(env, physical, prot, address, rw,

                                         is_user);

}

static int FUNC_0(CPUState *VAR_0, target_phys_addr_t *VAR_1,

                                int *VAR_2, int *VAR_3,

                                target_ulong VAR_4, int VAR_5, int VAR_6)

{

    int VAR_7 = VAR_6 == MMU_USER_IDX;



    if (VAR_5 == 2)

        return get_physical_address_code(VAR_0, VAR_1, VAR_2, VAR_4,

                                         VAR_7);

    else

        return get_physical_address_data(VAR_0, VAR_1, VAR_2, VAR_4, VAR_5,

                                         VAR_7);

}

static int FUNC_0(CPUState *VAR_0, target_phys_addr_t *VAR_1,
int *VAR_2, int *VAR_3,
target_ulong VAR_4, int VAR_5, int VAR_6)
{ int VAR_7 = VAR_6 == MMU_USER_IDX; if (VAR_5 == 2)
return get_physical_address_code(VAR_0, VAR_1, VAR_2, VAR_4,
VAR_7); else
return get_physical_address_data(VAR_0, VAR_1, VAR_2, VAR_4, VAR_5,
VAR_7); }