Changing function prologue logic to use allocas
TODO: changing stack offsets to out_val:s