void mp_squh_save_infft(int n, int radix, int in[], int out[], int nfft,
                        double infft[], double outfft[], int ip[], double w[]) {
  void mp_mul_i2d(int n, int radix, int nfft, int shift, int in[],
                  double dout[]);
  void mp_mul_csqu_save_d1(int nfft, double d1[], double d2[], int ip[],
                           double w[]);
  void mp_mul_d2i(int n, int radix, int nfft, double din[], int out[]);
  mp_mul_i2d(n, radix, nfft, 0, in, infft);
  mp_mul_csqu_save_d1(nfft, infft, outfft, ip, w);
  mp_mul_d2i(n, radix, nfft, outfft, out);
}


x86 assembly (clang, -O0):
<mp_squh_save_infft>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %rdx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8d,-0x1c(%rbp)
mov    %r9,-0x28(%rbp)
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    -0x1c(%rbp),%edx
mov    -0x10(%rbp),%r8
mov    -0x28(%rbp),%r9
xor    %ecx,%ecx
call   1030 <mp_mul_i2d@plt>
mov    -0x1c(%rbp),%edi
mov    -0x28(%rbp),%rsi
mov    0x10(%rbp),%rdx
mov    0x18(%rbp),%rcx
mov    0x20(%rbp),%r8
call   1040 <mp_mul_csqu_save_d1@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    -0x1c(%rbp),%edx
mov    0x10(%rbp),%rcx
mov    -0x18(%rbp),%r8
call   1050 <mp_mul_d2i@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mp_squh_save_infft>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %r9,%rbx
mov    %r8d,%ebp
mov    %rcx,0x10(%rsp)
mov    %rdx,%r8
mov    %esi,%r15d
mov    %edi,%r12d
mov    0x50(%rsp),%r13
mov    0x58(%rsp),%r14
mov    0x60(%rsp),%rax
mov    %rax,0x8(%rsp)
mov    %ebp,%edx
xor    %ecx,%ecx
call   1030 <mp_mul_i2d@plt>
mov    %ebp,%edi
mov    %rbx,%rsi
mov    %r13,%rdx
mov    %r14,%rcx
mov    0x8(%rsp),%r8
call   1040 <mp_mul_csqu_save_d1@plt>
mov    %r12d,%edi
mov    %r15d,%esi
mov    %ebp,%edx
mov    %r13,%rcx
mov    0x10(%rsp),%r8
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <mp_mul_d2i@plt>

LLVM IR (-O0):
define void @mp_squh_save_infft(i32 %0, i32 %1, i32* %2, i32* %3, i32 %4, double* %5, double* %6, i32* %7, double* %8) {
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32*
%13 = alloca i32*
%14 = alloca i32
%15 = alloca double*
%16 = alloca double*
%17 = alloca i32*
%18 = alloca double*
store i32 %0, i32* %10
store i32 %1, i32* %11
store i32* %2, i32** %12
store i32* %3, i32** %13
store i32 %4, i32* %14
store double* %5, double** %15
store double* %6, double** %16
store i32* %7, i32** %17
store double* %8, double** %18
%19 = load i32, i32* %10
%20 = load i32, i32* %11
%21 = load i32, i32* %14
%22 = load i32*, i32** %12
%23 = load double*, double** %15
%24 = load i32, i32* %14
%25 = load double*, double** %15
%26 = load double*, double** %16
%27 = load i32*, i32** %17
%28 = load double*, double** %18
%29 = load i32, i32* %10
%30 = load i32, i32* %11
%31 = load i32, i32* %14
%32 = load double*, double** %16
%33 = load i32*, i32** %13
ret void
}

LLVM IR (-O2):
define void @mp_squh_save_infft(i32 %0, i32 %1, i32* %2, i32* %3, i32 %4, double* %5, double* %6, i32* %7, double* %8) {
tail call void @mp_mul_i2d(i32 %0, i32 %1, i32 %4, i32 0, i32* %2, double* %5)
tail call void @mp_mul_csqu_save_d1(i32 %4, double* %5, double* %6, i32* %7, double* %8)
tail call void @mp_mul_d2i(i32 %0, i32 %1, i32 %4, double* %6, i32* %3)
ret void
}