#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
double cos(double);
double sin(double);
void mp_mul_rcmul_nt_in2(int n, double *a, double *b) {
  int i, i0, j, k;
  double ec, w1r, w1i, wkr, wki, wdr, wdi, ss;
  double xr, xi, yr, yi, bjr, bji, bkr, bki;
  ec = 2 * ((double)1.570796326794896619231321691639751442098584) / n;
  wkr = 0;
  wki = 0;
  wdi = cos(ec);
  wdr = sin(ec);
  wdi *= wdr;
  wdr *= wdr;
  w1r = 1 - 2 * wdr;
  w1i = 2 * wdi;
  ss = 2 * w1i;
  i = n >> 1;
  xr = a[i];
  xi = a[i + 1];
  yr = b[i];
  yi = b[i + 1];
  b[i] = xr * yr - xi * yi;
  b[i + 1] = xr * yi + xi * yr;
  for (;;) {
    i0 = i - 4 * 64;
    if (i0 < 2) {
      i0 = 2;
    }
    for (j = i - 2; j >= i0; j -= 2) {
      k = n - j;
      xr = wkr + ss * wdi;
      xi = wki + ss * (((double)0.5) - wdr);
      wkr = wdr;
      wki = wdi;
      wdr = xr;
      wdi = xi;
      xr = a[j] - a[k];
      xi = a[j + 1] + a[k + 1];
      yr = wkr * xr - wki * xi;
      yi = wkr * xi + wki * xr;
      xr = a[j] - yr;
      xi = a[j + 1] - yi;
      yr = a[k] + yr;
      yi = a[k + 1] - yi;
      a[j] = xr;
      a[j + 1] = xi;
      a[k] = yr;
      a[k + 1] = yi;
      bjr = b[j] * xr - b[j + 1] * xi;
      bji = b[j] * xi + b[j + 1] * xr;
      bkr = b[k] * yr - b[k + 1] * yi;
      bki = b[k] * yi + b[k + 1] * yr;
      xr = bjr - bkr;
      xi = bji + bki;
      yr = wkr * xr + wki * xi;
      yi = wkr * xi - wki * xr;
      b[j] = bjr - yr;
      b[j + 1] = bji - yi;
      b[k] = bkr + yr;
      b[k + 1] = bki - yi;
    }
    if (i0 == 2) {
      break;
    }
    wkr = ((double)0.5) * sin(ec * i0);
    wki = ((double)0.5) * cos(ec * i0);
    wdr = ((double)0.5) - (wkr * w1r - wki * w1i);
    wdi = wkr * w1i + wki * w1r;
    wkr = ((double)0.5) - wkr;
    i = i0;
  }
}


x86 assembly (clang, -O0):
<mp_mul_rcmul_nt_in2>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
cvtsi2sdl -0x4(%rbp),%xmm1
movsd  0xecd(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x30(%rbp),%xmm0
call   1040 <cos@plt>
movsd  %xmm0,-0x60(%rbp)
movsd  -0x30(%rbp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
mulsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x58(%rbp),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm1
addsd  %xmm1,%xmm1
movsd  0xe5f(%rip),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xe46(%rip),%xmm0
mulsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  0xe34(%rip),%xmm0
mulsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x4(%rbp),%eax
sar    $0x1,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x18(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x1c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
movsd  -0x80(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  -0x88(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x78(%rbp),%xmm1
mulsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
mov    -0x1c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
sub    $0x100,%eax
mov    %eax,-0x20(%rbp)
cmpl   $0x2,-0x20(%rbp)
jge    12c4 <mp_mul_rcmul_nt_in2+0x1a4>
movl   $0x2,-0x20(%rbp)
mov    -0x1c(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x20(%rbp),%eax
jl     16d6 <mp_mul_rcmul_nt_in2+0x5b6>
mov    -0x4(%rbp),%eax
sub    -0x24(%rbp),%eax
mov    %eax,-0x28(%rbp)
movsd  -0x48(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x50(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm0
movsd  0xd08(%rip),%xmm2
subsd  -0x58(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x28(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm1
mulsd  -0x78(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm1
mulsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
addsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x78(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x80(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x88(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
mov    -0x28(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x70(%rbp),%xmm2
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  -0x78(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x78(%rbp),%xmm2
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0x18(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x80(%rbp),%xmm2
mov    -0x18(%rbp),%rax
mov    -0x28(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  -0x88(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x18(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
mov    -0x18(%rbp),%rax
mov    -0x28(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
subsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0x70(%rbp)
movsd  -0x98(%rbp),%xmm0
ff
addsd  -0xa8(%rbp),%xmm0
ff
movsd  %xmm0,-0x78(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm1
mulsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm1
mulsd  -0x70(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
subsd  -0x80(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x98(%rbp),%xmm0
ff
subsd  -0x88(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0xa0(%rbp),%xmm0
ff
addsd  -0x80(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0xa8(%rbp),%xmm0
ff
subsd  -0x88(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
mov    -0x28(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0x24(%rbp)
jmp    12cd <mp_mul_rcmul_nt_in2+0x1ad>
cmpl   $0x2,-0x20(%rbp)
jne    16e5 <mp_mul_rcmul_nt_in2+0x5c5>
jmp    17b5 <mp_mul_rcmul_nt_in2+0x695>
movsd  -0x30(%rbp),%xmm0
cvtsi2sdl -0x20(%rbp),%xmm1
mulsd  %xmm1,%xmm0
call   1030 <sin@plt>
movaps %xmm0,%xmm1
movsd  0x915(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x30(%rbp),%xmm0
cvtsi2sdl -0x20(%rbp),%xmm1
mulsd  %xmm1,%xmm0
call   1040 <cos@plt>
movaps %xmm0,%xmm1
movsd  0x8ee(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x48(%rbp),%xmm1
movsd  -0x38(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm0
mulsd  -0x40(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0x8aa(%rip),%xmm0
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x40(%rbp),%xmm2
movsd  -0x50(%rbp),%xmm1
mulsd  -0x38(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  0x878(%rip),%xmm0
subsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x1c(%rbp)
jmp    12a8 <mp_mul_rcmul_nt_in2+0x188>
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mp_mul_rcmul_nt_in2>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x48,%rsp
mov    %rdx,%rbx
mov    %rsi,%r14
mov    %edi,%ebp
cvtsi2sd %edi,%xmm1
movsd  0xec2(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rsp)
call   1040 <cos@plt>
movapd %xmm0,0x10(%rsp)
movsd  0x8(%rsp),%xmm0
call   1030 <sin@plt>
movapd 0x10(%rsp),%xmm11
mulsd  %xmm0,%xmm11
mulsd  %xmm0,%xmm0
movapd %xmm0,%xmm1
addsd  %xmm0,%xmm1
movsd  0xe8a(%rip),%xmm2
subsd  %xmm1,%xmm2
movsd  %xmm2,0x38(%rsp)
movapd %xmm11,%xmm1
addsd  %xmm11,%xmm1
movsd  %xmm1,0x30(%rsp)
movapd %xmm1,%xmm12
addsd  %xmm1,%xmm12
mov    %ebp,%eax
sar    %eax
movslq %eax,%rcx
movupd (%rbx,%rcx,8),%xmm1
movsd  (%r14,%rcx,8),%xmm2
movsd  0x8(%r14,%rcx,8),%xmm3
movapd 0xe5d(%rip),%xmm4
xorpd  %xmm3,%xmm4
unpcklpd %xmm3,%xmm4
unpcklpd %xmm2,%xmm2
mulpd  %xmm1,%xmm2
shufpd $0x1,%xmm1,%xmm1
mulpd  %xmm4,%xmm1
addpd  %xmm1,%xmm2
movupd %xmm2,(%rbx,%rcx,8)
movslq %ebp,%r15
add    $0x2,%r15
xorpd  %xmm1,%xmm1
movsd  0xe17(%rip),%xmm13
movapd 0xe1e(%rip),%xmm14
xorpd  %xmm4,%xmm4
movsd  %xmm12,0x28(%rsp)
nopl   (%rax)
cmp    $0x103,%eax
mov    $0x102,%ecx
cmovge %eax,%ecx
lea    -0x100(%rcx),%ebp
add    $0xffffff02,%ecx
cmp    %ecx,%eax
jl     13af <mp_mul_rcmul_nt_in2+0x28f>
cltq
mov    %ebp,%ecx
mov    %r15,%rdx
sub    %rax,%rdx
add    $0xfffffffffffffffe,%rax
nop
movapd %xmm12,%xmm8
mulsd  %xmm11,%xmm8
addsd  %xmm4,%xmm8
movapd %xmm13,%xmm3
subsd  %xmm0,%xmm3
mulsd  %xmm12,%xmm3
addsd  %xmm1,%xmm3
movupd (%r14,%rax,8),%xmm2
movupd (%r14,%rdx,8),%xmm1
movapd %xmm2,%xmm4
subpd  %xmm1,%xmm4
movapd %xmm2,%xmm5
addpd  %xmm1,%xmm5
movapd %xmm5,%xmm7
movsd  %xmm4,%xmm7
shufpd $0x1,%xmm11,%xmm5
movapd %xmm11,%xmm9
xorpd  %xmm14,%xmm9
movapd %xmm9,%xmm6
unpcklpd %xmm4,%xmm6
mulpd  %xmm5,%xmm6
movapd %xmm0,%xmm10
unpcklpd %xmm0,%xmm10
mulpd  %xmm10,%xmm7
addpd  %xmm6,%xmm7
subpd  %xmm7,%xmm2
movapd %xmm1,%xmm6
addpd  %xmm7,%xmm6
subpd  %xmm7,%xmm1
movapd %xmm1,%xmm7
movsd  %xmm6,%xmm7
movupd %xmm2,(%r14,%rax,8)
movupd %xmm7,(%r14,%rdx,8)
movsd  0x8(%rbx,%rax,8),%xmm4
movapd %xmm4,%xmm5
xorpd  %xmm14,%xmm5
unpcklpd %xmm4,%xmm5
movsd  (%rbx,%rax,8),%xmm4
unpcklpd %xmm4,%xmm4
mulpd  %xmm2,%xmm4
shufpd $0x1,%xmm2,%xmm2
mulpd  %xmm2,%xmm5
movapd %xmm11,%xmm2
addpd  %xmm5,%xmm4
movsd  0x8(%rbx,%rdx,8),%xmm5
shufpd $0x1,%xmm6,%xmm1
movapd %xmm5,%xmm6
xorpd  %xmm14,%xmm6
unpcklpd %xmm5,%xmm6
movsd  (%rbx,%rdx,8),%xmm5
mulpd  %xmm1,%xmm6
unpcklpd %xmm5,%xmm5
mulpd  %xmm7,%xmm5
addpd  %xmm6,%xmm5
movapd %xmm4,%xmm1
subpd  %xmm5,%xmm1
movapd %xmm4,%xmm6
addpd  %xmm5,%xmm6
movapd %xmm6,%xmm7
movsd  %xmm1,%xmm7
unpcklpd %xmm1,%xmm2
shufpd $0x1,%xmm9,%xmm6
mulpd  %xmm2,%xmm6
mulpd  %xmm10,%xmm7
addpd  %xmm6,%xmm7
subpd  %xmm7,%xmm4
movlpd %xmm4,(%rbx,%rax,8)
movhpd %xmm4,0x8(%rbx,%rax,8)
movapd %xmm5,%xmm1
addpd  %xmm7,%xmm1
subpd  %xmm7,%xmm5
movsd  %xmm1,%xmm5
movupd %xmm5,(%rbx,%rdx,8)
movapd %xmm0,%xmm4
movapd %xmm11,%xmm1
add    $0xfffffffffffffffe,%rax
add    $0x2,%rdx
movapd %xmm3,%xmm11
movapd %xmm8,%xmm0
cmp    %rcx,%rax
jge    1240 <mp_mul_rcmul_nt_in2+0x120>
cmp    $0x2,%ebp
je     145f <mp_mul_rcmul_nt_in2+0x33f>
xorps  %xmm0,%xmm0
cvtsi2sd %ebp,%xmm0
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x40(%rsp)
call   1030 <sin@plt>
mulsd  0xc38(%rip),%xmm0
movapd %xmm0,0x10(%rsp)
movsd  0x40(%rsp),%xmm0
call   1040 <cos@plt>
movapd 0xc2e(%rip),%xmm14
movsd  0xc15(%rip),%xmm13
movsd  0x28(%rsp),%xmm12
movapd 0x10(%rsp),%xmm11
movapd %xmm0,%xmm1
mulsd  %xmm13,%xmm1
movsd  0x30(%rsp),%xmm5
movapd %xmm5,%xmm0
mulsd  %xmm1,%xmm0
movapd %xmm11,%xmm2
movsd  0x38(%rsp),%xmm3
mulsd  %xmm3,%xmm2
subsd  %xmm0,%xmm2
movapd %xmm13,%xmm0
subsd  %xmm2,%xmm0
movapd %xmm3,%xmm2
mulsd  %xmm1,%xmm2
movapd %xmm13,%xmm4
subsd  %xmm11,%xmm4
mulsd  %xmm5,%xmm11
addsd  %xmm2,%xmm11
mov    %ebp,%eax
jmp    1210 <mp_mul_rcmul_nt_in2+0xf0>
add    $0x48,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @mp_mul_rcmul_nt_in2(i32 %0, double* %1, double* %2) {
%4 = alloca i32
%5 = alloca double*
%6 = alloca double*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double
%24 = alloca double
%25 = alloca double
%26 = alloca double
store i32 %0, i32* %4
store double* %1, double** %5
store double* %2, double** %6
%27 = load i32, i32* %4
%28 = sitofp i32 %27 to double
%29 = fdiv double 0x400921FB54442D18, %28
store double %29, double* %11
store double 0.000000e+00, double* %14
store double 0.000000e+00, double* %15
%30 = load double, double* %11
%31 = call double @cos(double %30)
store double %31, double* %17
%32 = load double, double* %11
%33 = call double @sin(double %32)
store double %33, double* %16
%34 = load double, double* %16
%35 = load double, double* %17
%36 = fmul double %35, %34
store double %36, double* %17
%37 = load double, double* %16
%38 = load double, double* %16
%39 = fmul double %38, %37
store double %39, double* %16
%40 = load double, double* %16
%41 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %40, double 1.000000e+00)
store double %41, double* %12
%42 = load double, double* %17
%43 = fmul double 2.000000e+00, %42
store double %43, double* %13
%44 = load double, double* %13
%45 = fmul double 2.000000e+00, %44
store double %45, double* %18
%46 = load i32, i32* %4
%47 = ashr i32 %46, 1
store i32 %47, i32* %7
%48 = load double*, double** %5
%49 = load i32, i32* %7
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds double, double* %48, i64 %50
%52 = load double, double* %51
store double %52, double* %19
%53 = load double*, double** %5
%54 = load i32, i32* %7
%55 = add nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, double* %53, i64 %56
%58 = load double, double* %57
store double %58, double* %20
%59 = load double*, double** %6
%60 = load i32, i32* %7
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, double* %59, i64 %61
%63 = load double, double* %62
store double %63, double* %21
%64 = load double*, double** %6
%65 = load i32, i32* %7
%66 = add nsw i32 %65, 1
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds double, double* %64, i64 %67
%69 = load double, double* %68
store double %69, double* %22
%70 = load double, double* %19
%71 = load double, double* %21
%72 = load double, double* %20
%73 = load double, double* %22
%74 = fmul double %72, %73
%75 = fneg double %74
%76 = call double @llvm.fmuladd.f64(double %70, double %71, double %75)
%77 = load double*, double** %6
%78 = load i32, i32* %7
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds double, double* %77, i64 %79
store double %76, double* %80
%81 = load double, double* %19
%82 = load double, double* %22
%83 = load double, double* %20
%84 = load double, double* %21
%85 = fmul double %83, %84
%86 = call double @llvm.fmuladd.f64(double %81, double %82, double %85)
%87 = load double*, double** %6
%88 = load i32, i32* %7
%89 = add nsw i32 %88, 1
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, double* %87, i64 %90
store double %86, double* %91
br label %92
92: ; preds = %329, %3
%93 = load i32, i32* %7
%94 = sub nsw i32 %93, 256
store i32 %94, i32* %8
%95 = load i32, i32* %8
%96 = icmp slt i32 %95, 2
br i1 %96, label %97, label %98
97: ; preds = %92
store i32 2, i32* %8
br label %98
98: ; preds = %97, %92
%99 = load i32, i32* %7
%100 = sub nsw i32 %99, 2
store i32 %100, i32* %9
br label %101
101: ; preds = %322, %98
%102 = load i32, i32* %9
%103 = load i32, i32* %8
%104 = icmp sge i32 %102, %103
br i1 %104, label %105, label %325
105: ; preds = %101
%106 = load i32, i32* %4
%107 = load i32, i32* %9
%108 = sub nsw i32 %106, %107
store i32 %108, i32* %10
%109 = load double, double* %14
%110 = load double, double* %18
%111 = load double, double* %17
%112 = call double @llvm.fmuladd.f64(double %110, double %111, double %109)
store double %112, double* %19
%113 = load double, double* %15
%114 = load double, double* %18
%115 = load double, double* %16
%116 = fsub double 5.000000e-01, %115
%117 = call double @llvm.fmuladd.f64(double %114, double %116, double %113)
store double %117, double* %20
%118 = load double, double* %16
store double %118, double* %14
%119 = load double, double* %17
store double %119, double* %15
%120 = load double, double* %19
store double %120, double* %16
%121 = load double, double* %20
store double %121, double* %17
%122 = load double*, double** %5
%123 = load i32, i32* %9
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds double, double* %122, i64 %124
%126 = load double, double* %125
%127 = load double*, double** %5
%128 = load i32, i32* %10
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds double, double* %127, i64 %129
%131 = load double, double* %130
%132 = fsub double %126, %131
store double %132, double* %19
%133 = load double*, double** %5
%134 = load i32, i32* %9
%135 = add nsw i32 %134, 1
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds double, double* %133, i64 %136
%138 = load double, double* %137
%139 = load double*, double** %5
%140 = load i32, i32* %10
%141 = add nsw i32 %140, 1
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds double, double* %139, i64 %142
%144 = load double, double* %143
%145 = fadd double %138, %144
store double %145, double* %20
%146 = load double, double* %14
%147 = load double, double* %19
%148 = load double, double* %15
%149 = load double, double* %20
%150 = fmul double %148, %149
%151 = fneg double %150
%152 = call double @llvm.fmuladd.f64(double %146, double %147, double %151)
store double %152, double* %21
%153 = load double, double* %14
%154 = load double, double* %20
%155 = load double, double* %15
%156 = load double, double* %19
%157 = fmul double %155, %156
%158 = call double @llvm.fmuladd.f64(double %153, double %154, double %157)
store double %158, double* %22
%159 = load double*, double** %5
%160 = load i32, i32* %9
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds double, double* %159, i64 %161
%163 = load double, double* %162
%164 = load double, double* %21
%165 = fsub double %163, %164
store double %165, double* %19
%166 = load double*, double** %5
%167 = load i32, i32* %9
%168 = add nsw i32 %167, 1
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds double, double* %166, i64 %169
%171 = load double, double* %170
%172 = load double, double* %22
%173 = fsub double %171, %172
store double %173, double* %20
%174 = load double*, double** %5
%175 = load i32, i32* %10
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds double, double* %174, i64 %176
%178 = load double, double* %177
%179 = load double, double* %21
%180 = fadd double %178, %179
store double %180, double* %21
%181 = load double*, double** %5
%182 = load i32, i32* %10
%183 = add nsw i32 %182, 1
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds double, double* %181, i64 %184
%186 = load double, double* %185
%187 = load double, double* %22
%188 = fsub double %186, %187
store double %188, double* %22
%189 = load double, double* %19
%190 = load double*, double** %5
%191 = load i32, i32* %9
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds double, double* %190, i64 %192
store double %189, double* %193
%194 = load double, double* %20
%195 = load double*, double** %5
%196 = load i32, i32* %9
%197 = add nsw i32 %196, 1
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds double, double* %195, i64 %198
store double %194, double* %199
%200 = load double, double* %21
%201 = load double*, double** %5
%202 = load i32, i32* %10
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds double, double* %201, i64 %203
store double %200, double* %204
%205 = load double, double* %22
%206 = load double*, double** %5
%207 = load i32, i32* %10
%208 = add nsw i32 %207, 1
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds double, double* %206, i64 %209
store double %205, double* %210
%211 = load double*, double** %6
%212 = load i32, i32* %9
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds double, double* %211, i64 %213
%215 = load double, double* %214
%216 = load double, double* %19
%217 = load double*, double** %6
%218 = load i32, i32* %9
%219 = add nsw i32 %218, 1
%220 = sext i32 %219 to i64
%221 = getelementptr inbounds double, double* %217, i64 %220
%222 = load double, double* %221
%223 = load double, double* %20
%224 = fmul double %222, %223
%225 = fneg double %224
%226 = call double @llvm.fmuladd.f64(double %215, double %216, double %225)
store double %226, double* %23
%227 = load double*, double** %6
%228 = load i32, i32* %9
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds double, double* %227, i64 %229
%231 = load double, double* %230
%232 = load double, double* %20
%233 = load double*, double** %6
%234 = load i32, i32* %9
%235 = add nsw i32 %234, 1
%236 = sext i32 %235 to i64
%237 = getelementptr inbounds double, double* %233, i64 %236
%238 = load double, double* %237
%239 = load double, double* %19
%240 = fmul double %238, %239
%241 = call double @llvm.fmuladd.f64(double %231, double %232, double %240)
store double %241, double* %24
%242 = load double*, double** %6
%243 = load i32, i32* %10
%244 = sext i32 %243 to i64
%245 = getelementptr inbounds double, double* %242, i64 %244
%246 = load double, double* %245
%247 = load double, double* %21
%248 = load double*, double** %6
%249 = load i32, i32* %10
%250 = add nsw i32 %249, 1
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds double, double* %248, i64 %251
%253 = load double, double* %252
%254 = load double, double* %22
%255 = fmul double %253, %254
%256 = fneg double %255
%257 = call double @llvm.fmuladd.f64(double %246, double %247, double %256)
store double %257, double* %25
%258 = load double*, double** %6
%259 = load i32, i32* %10
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds double, double* %258, i64 %260
%262 = load double, double* %261
%263 = load double, double* %22
%264 = load double*, double** %6
%265 = load i32, i32* %10
%266 = add nsw i32 %265, 1
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds double, double* %264, i64 %267
%269 = load double, double* %268
%270 = load double, double* %21
%271 = fmul double %269, %270
%272 = call double @llvm.fmuladd.f64(double %262, double %263, double %271)
store double %272, double* %26
%273 = load double, double* %23
%274 = load double, double* %25
%275 = fsub double %273, %274
store double %275, double* %19
%276 = load double, double* %24
%277 = load double, double* %26
%278 = fadd double %276, %277
store double %278, double* %20
%279 = load double, double* %14
%280 = load double, double* %19
%281 = load double, double* %15
%282 = load double, double* %20
%283 = fmul double %281, %282
%284 = call double @llvm.fmuladd.f64(double %279, double %280, double %283)
store double %284, double* %21
%285 = load double, double* %14
%286 = load double, double* %20
%287 = load double, double* %15
%288 = load double, double* %19
%289 = fmul double %287, %288
%290 = fneg double %289
%291 = call double @llvm.fmuladd.f64(double %285, double %286, double %290)
store double %291, double* %22
%292 = load double, double* %23
%293 = load double, double* %21
%294 = fsub double %292, %293
%295 = load double*, double** %6
%296 = load i32, i32* %9
%297 = sext i32 %296 to i64
%298 = getelementptr inbounds double, double* %295, i64 %297
store double %294, double* %298
%299 = load double, double* %24
%300 = load double, double* %22
%301 = fsub double %299, %300
%302 = load double*, double** %6
%303 = load i32, i32* %9
%304 = add nsw i32 %303, 1
%305 = sext i32 %304 to i64
%306 = getelementptr inbounds double, double* %302, i64 %305
store double %301, double* %306
%307 = load double, double* %25
%308 = load double, double* %21
%309 = fadd double %307, %308
%310 = load double*, double** %6
%311 = load i32, i32* %10
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds double, double* %310, i64 %312
store double %309, double* %313
%314 = load double, double* %26
%315 = load double, double* %22
%316 = fsub double %314, %315
%317 = load double*, double** %6
%318 = load i32, i32* %10
%319 = add nsw i32 %318, 1
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds double, double* %317, i64 %320
store double %316, double* %321
br label %322
322: ; preds = %105
%323 = load i32, i32* %9
%324 = sub nsw i32 %323, 2
store i32 %324, i32* %9
br label %101
325: ; preds = %101
%326 = load i32, i32* %8
%327 = icmp eq i32 %326, 2
br i1 %327, label %328, label %329
328: ; preds = %325
br label %359
329: ; preds = %325
%330 = load double, double* %11
%331 = load i32, i32* %8
%332 = sitofp i32 %331 to double
%333 = fmul double %330, %332
%334 = call double @sin(double %333)
%335 = fmul double 5.000000e-01, %334
store double %335, double* %14
%336 = load double, double* %11
%337 = load i32, i32* %8
%338 = sitofp i32 %337 to double
%339 = fmul double %336, %338
%340 = call double @cos(double %339)
%341 = fmul double 5.000000e-01, %340
store double %341, double* %15
%342 = load double, double* %14
%343 = load double, double* %12
%344 = load double, double* %15
%345 = load double, double* %13
%346 = fmul double %344, %345
%347 = fneg double %346
%348 = call double @llvm.fmuladd.f64(double %342, double %343, double %347)
%349 = fsub double 5.000000e-01, %348
store double %349, double* %16
%350 = load double, double* %14
%351 = load double, double* %13
%352 = load double, double* %15
%353 = load double, double* %12
%354 = fmul double %352, %353
%355 = call double @llvm.fmuladd.f64(double %350, double %351, double %354)
store double %355, double* %17
%356 = load double, double* %14
%357 = fsub double 5.000000e-01, %356
store double %357, double* %14
%358 = load i32, i32* %8
store i32 %358, i32* %7
br label %92
359: ; preds = %328
ret void
}

LLVM IR (-O2):
define void @mp_mul_rcmul_nt_in2(i32 %0, double* nocapture %1, double* nocapture %2) {
%4 = sitofp i32 %0 to double
%5 = fdiv double 0x400921FB54442D18, %4
%6 = tail call double @cos(double %5)
%7 = tail call double @sin(double %5)
%8 = fmul double %6, %7
%9 = fmul double %7, %7
%10 = tail call double @llvm.fmuladd.f64(double %9, double -2.000000e+00, double 1.000000e+00)
%11 = fmul double %8, 2.000000e+00
%12 = fmul double %11, 2.000000e+00
%13 = ashr i32 %0, 1
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, double* %1, i64 %14
%16 = load double, double* %15
%17 = add nsw i32 %13, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, double* %1, i64 %18
%20 = load double, double* %19
%21 = getelementptr inbounds double, double* %2, i64 %14
%22 = bitcast double* %21 to <2 x double>*
%23 = load <2 x double>, <2 x double>* %22
%24 = fneg double %20
%25 = insertelement <2 x double> poison, double %20, i64 0
%26 = insertelement <2 x double> %25, double %24, i64 1
%27 = fmul <2 x double> %23, %26
%28 = shufflevector <2 x double> %27, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%29 = insertelement <2 x double> poison, double %16, i64 0
%30 = shufflevector <2 x double> %29, <2 x double> poison, <2 x i32> zeroinitializer
%31 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %30, <2 x double> %23, <2 x double> %28)
%32 = bitcast double* %21 to <2 x double>*
store <2 x double> %31, <2 x double>* %32
%33 = sext i32 %0 to i64
br label %34
34: ; preds = %136, %3
%35 = phi double [ %9, %3 ], [ %146, %136 ]
%36 = phi double [ %8, %3 ], [ %148, %136 ]
%37 = phi double [ 0.000000e+00, %3 ], [ %142, %136 ]
%38 = phi double [ 0.000000e+00, %3 ], [ %149, %136 ]
%39 = phi i32 [ %13, %3 ], [ %42, %136 ]
%40 = icmp sgt i32 %39, 258
%41 = select i1 %40, i32 %39, i32 258
%42 = add nsw i32 %41, -256
%43 = add nsw i32 %41, -254
%44 = icmp slt i32 %39, %43
br i1 %44, label %134, label %45
45: ; preds = %34
%46 = sext i32 %39 to i64
%47 = add nsw i64 %46, -2
%48 = zext i32 %42 to i64
br label %49
49: ; preds = %45, %49
%50 = phi i64 [ %46, %45 ], [ %56, %49 ]
%51 = phi i64 [ %47, %45 ], [ %132, %49 ]
%52 = phi double [ %38, %45 ], [ %55, %49 ]
%53 = phi double [ %37, %45 ], [ %54, %49 ]
%54 = phi double [ %36, %45 ], [ %60, %49 ]
%55 = phi double [ %35, %45 ], [ %58, %49 ]
%56 = add nsw i64 %50, -2
%57 = sub nsw i64 %33, %51
%58 = tail call double @llvm.fmuladd.f64(double %12, double %54, double %52)
%59 = fsub double 5.000000e-01, %55
%60 = tail call double @llvm.fmuladd.f64(double %12, double %59, double %53)
%61 = getelementptr inbounds double, double* %1, i64 %51
%62 = getelementptr inbounds double, double* %1, i64 %57
%63 = add nsw i64 %50, -1
%64 = getelementptr inbounds double, double* %1, i64 %63
%65 = bitcast double* %61 to <2 x double>*
%66 = load <2 x double>, <2 x double>* %65
%67 = add nsw i64 %57, 1
%68 = bitcast double* %62 to <2 x double>*
%69 = load <2 x double>, <2 x double>* %68
%70 = fsub <2 x double> %66, %69
%71 = fadd <2 x double> %66, %69
%72 = shufflevector <2 x double> %70, <2 x double> %71, <2 x i32> <i32 0, i32 3>
%73 = fneg double %54
%74 = extractelement <2 x double> %71, i64 1
%75 = insertelement <2 x double> poison, double %74, i64 0
%76 = insertelement <2 x double> %75, double %54, i64 1
%77 = insertelement <2 x double> poison, double %73, i64 0
%78 = shufflevector <2 x double> %77, <2 x double> %70, <2 x i32> <i32 0, i32 2>
%79 = fmul <2 x double> %76, %78
%80 = insertelement <2 x double> poison, double %55, i64 0
%81 = shufflevector <2 x double> %80, <2 x double> poison, <2 x i32> zeroinitializer
%82 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %81, <2 x double> %72, <2 x double> %79)
%83 = fsub <2 x double> %66, %82
%84 = fadd <2 x double> %69, %82
%85 = fsub <2 x double> %69, %82
%86 = shufflevector <2 x double> %84, <2 x double> %85, <2 x i32> <i32 0, i32 3>
%87 = extractelement <2 x double> %83, i64 0
store double %87, double* %61
%88 = extractelement <2 x double> %83, i64 1
store double %88, double* %64
%89 = bitcast double* %62 to <2 x double>*
store <2 x double> %86, <2 x double>* %89
%90 = getelementptr inbounds double, double* %2, i64 %51
%91 = load double, double* %90
%92 = getelementptr inbounds double, double* %2, i64 %63
%93 = load double, double* %92
%94 = fneg double %93
%95 = shufflevector <2 x double> %83, <2 x double> undef, <2 x i32> <i32 1, i32 0>
%96 = insertelement <2 x double> poison, double %94, i64 0
%97 = insertelement <2 x double> %96, double %93, i64 1
%98 = fmul <2 x double> %95, %97
%99 = insertelement <2 x double> poison, double %91, i64 0
%100 = shufflevector <2 x double> %99, <2 x double> poison, <2 x i32> zeroinitializer
%101 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %100, <2 x double> %83, <2 x double> %98)
%102 = getelementptr inbounds double, double* %2, i64 %57
%103 = load double, double* %102
%104 = getelementptr inbounds double, double* %2, i64 %67
%105 = load double, double* %104
%106 = fneg double %105
%107 = insertelement <2 x double> poison, double %105, i64 0
%108 = insertelement <2 x double> %107, double %106, i64 1
%109 = fmul <2 x double> %86, %108
%110 = shufflevector <2 x double> %109, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%111 = insertelement <2 x double> poison, double %103, i64 0
%112 = shufflevector <2 x double> %111, <2 x double> poison, <2 x i32> zeroinitializer
%113 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %112, <2 x double> %86, <2 x double> %110)
%114 = fsub <2 x double> %101, %113
%115 = fadd <2 x double> %101, %113
%116 = shufflevector <2 x double> %114, <2 x double> %115, <2 x i32> <i32 0, i32 3>
%117 = insertelement <2 x double> poison, double %54, i64 0
%118 = shufflevector <2 x double> %117, <2 x double> %114, <2 x i32> <i32 0, i32 2>
%119 = extractelement <2 x double> %115, i64 1
%120 = insertelement <2 x double> poison, double %119, i64 0
%121 = insertelement <2 x double> %120, double %73, i64 1
%122 = fmul <2 x double> %118, %121
%123 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %81, <2 x double> %116, <2 x double> %122)
%124 = fsub <2 x double> %101, %123
%125 = extractelement <2 x double> %124, i64 0
store double %125, double* %90
%126 = fsub <2 x double> %101, %123
%127 = extractelement <2 x double> %126, i64 1
store double %127, double* %92
%128 = fadd <2 x double> %113, %123
%129 = fsub <2 x double> %113, %123
%130 = shufflevector <2 x double> %128, <2 x double> %129, <2 x i32> <i32 0, i32 3>
%131 = bitcast double* %102 to <2 x double>*
store <2 x double> %130, <2 x double>* %131
%132 = add nsw i64 %51, -2
%133 = icmp slt i64 %132, %48
br i1 %133, label %134, label %49
134: ; preds = %49, %34
%135 = icmp eq i32 %42, 2
br i1 %135, label %150, label %136
136: ; preds = %134
%137 = sitofp i32 %42 to double
%138 = fmul double %5, %137
%139 = tail call double @sin(double %138)
%140 = fmul double %139, 5.000000e-01
%141 = tail call double @cos(double %138)
%142 = fmul double %141, 5.000000e-01
%143 = fneg double %142
%144 = fmul double %11, %143
%145 = tail call double @llvm.fmuladd.f64(double %140, double %10, double %144)
%146 = fsub double 5.000000e-01, %145
%147 = fmul double %10, %142
%148 = tail call double @llvm.fmuladd.f64(double %140, double %11, double %147)
%149 = fsub double 5.000000e-01, %140
br label %34
150: ; preds = %134
ret void
}