generated assembly for simple-functions compiles, but will raise segfault