there being, having (done something)
Yo pienso que aquí sigue habiendo Códigos Rojos.
I think there are still Code Reds here.
— Cuestión De Honor (1992)
¿Por qué sigue habiendo guerras en el mundo?
Why are there still wars in the world?
¿Por qué, habiendo tantos cuerpos, enterramos justo estos dos?
Why, when there are so many bodies, are we burying these two in particular?
— Por un puñado de dólares (1964)
Él volvió a casa habiendo luz todavía.
He returned home while it was still light.
Está habiendo una guerra, ¿no es así?
There’s a war going on, isn’t there?
— El viento que acaricia el prado (2006)
Habiendo fallado dos veces, William ya no quería tratar otra vez.
Having failed twice, William no longer wanted to try again.
¿Vamos a permitir que se vaya habiendo hablado a favor de los japoneses?
Are we going to let him leave after speaking in favor of the Japanese?
— 霸王别姬 (1993)
Habiendo acabado la clase, los estudiantes se fueron rápidamente.
Having finished the class, the students left quickly.
Habiendo leído el libro, yo estaba listo para el examen.
Having read the book, I was ready for the exam.
Habiendo dicho eso, es tu decisión.
That being said, it's your decision.