cat <<EOF
static __always_inline bool
raw_${atomic}_dec_and_test(${atomic}_t *v)
{
return raw_${atomic}_dec_return(v) == 0;
}
EOF