The assembler syntax used by the gc toolchain and the assembler syntax
used by GoLLVM are not compatible. Here you are trying to assemble
code written for the gc assembler with the GoLLVM assembler. That
won't work.
While the syntax differences are in some ways annoying, in other ways
they are good, because gc and GoLLVM use different calling
conventions. That means that assembler code written for gc and GoLLVM
are not compatible (except for functions that take no arguments and
return no results).
What this means for your code is that you need to rewrite this code
into GoLLVM assembler (changing the calling convention as you go) or
you need to rewrite it into Go. You can use build tags to select the
version to use for each compiler.
Sorry for these difficulties. They are hard to avoid.
Ian