Generated assembly works! (fixed wrong duplication of params in local vars)