In a post dated Oct 17, 2019 from a guy called Taeyon at a forum not allowed here. I can send you the link by PM. He said:
"[...]
AppleALC 1.4.3 has a fix (workaround actually to disable HDMI/DP audio to avoid the kernel panic), but there isn't a release yet. So I have built it manually with the HDMI/DP audio being disabled always. For this, please find the attached kext. In my case, this has addressed the kernel panic problem.
FYI, I have attached the code changes I have made based on the 1.4.3 code base. Also, I am asking the AppleALC maintainer to use a boot argument so that it'd be easier to use it."
and attached the following 2 x files:
AppleALC.kext.zip
AppleALC_fix.diff.txt.zip