1cat <<EOF
2static __always_inline bool
3raw_${atomic}_dec_and_test(${atomic}_t *v)
4{
5	return raw_${atomic}_dec_return(v) == 0;
6}
7EOF
8