8
Ruby, 348 bytes, fψ0(ψ9(9))(9)
where f is the fast growing hierarchy and ψ is an ordinal collapsing function described below.
Try it online!
def f(b,n=0,x=0)c,d=b;n<1?(b.class!=Array):x>0?(n.times{n+=b==1?n:f(f(b,n),n,1)};n):f(b)?(b>1?b-1:n):b.size>2?h(n,c,d):f(d)?(d>1?[c,d-1]:d>0?c:[c,n]):[c,...