Rewrote to avoid references to C symbols from assembly. This entirely circumvents the problem of leading underscores.