The text 76f43575c222, as FreeBSD 12.3-RELEASE shipped it.
add a cleanup function for thread exit
pthread_cleanup_push(3) on FreeBSD now