struct kvm_sw_breakpoint *kvm_find_sw_breakpoint(CPUState *env,

                                                 target_ulong pc)

{

    struct kvm_sw_breakpoint *bp;



    TAILQ_FOREACH(bp, &env->kvm_state->kvm_sw_breakpoints, entry) {

        if (bp->pc == pc)

            return bp;

    }

    return NULL;

}

struct kvm_sw_breakpoint *kvm_find_sw_breakpoint(CPUState *env,

                                                 target_ulong pc)

{

    struct kvm_sw_breakpoint *bp;



    TAILQ_FOREACH(bp, &env->kvm_state->kvm_sw_breakpoints, entry) {

        if (bp->pc == pc)

            return bp;

    }

    return NULL;

}

struct kvm_sw_breakpoint *FUNC_0(CPUState *VAR_0,

                                                 target_ulong VAR_1)

{

    struct kvm_sw_breakpoint *VAR_2;



    TAILQ_FOREACH(VAR_2, &VAR_0->kvm_state->kvm_sw_breakpoints, entry) {

        if (VAR_2->VAR_1 == VAR_1)

            return VAR_2;

    }

    return NULL;

}

struct kvm_sw_breakpoint *FUNC_0(CPUState *VAR_0,
target_ulong VAR_1)
{ struct kvm_sw_breakpoint *VAR_2; TAILQ_FOREACH(VAR_2, &VAR_0->kvm_state->kvm_sw_breakpoints, entry) { if (VAR_2->VAR_1 == VAR_1)
return VAR_2; } return NULL; }