#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_out(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, ajr, aji, akr, aki;
  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;
      ajr = a[j] - yr;
      aji = a[j + 1] - yi;
      akr = a[k] + yr;
      aki = a[k + 1] - yi;
      a[j] = ajr;
      a[j + 1] = aji;
      a[k] = akr;
      a[k + 1] = aki;
      xr = b[j] - b[k];
      xi = b[j + 1] + b[k + 1];
      yr = wkr * xr - wki * xi;
      yi = wkr * xi + wki * xr;
      xr = b[j] - yr;
      xi = b[j + 1] - yi;
      yr = b[k] + yr;
      yi = b[k + 1] - yi;
      b[j] = ajr * xr - aji * xi;
      b[j + 1] = ajr * xi + aji * xr;
      b[k] = akr * yr - aki * yi;
      b[k + 1] = akr * yi + aki * yr;
    }
    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_out>:
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_out+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     16df <mp_mul_rcmul_nt_out+0x5bf>
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,-0x90(%rbp)
ff
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,-0x98(%rbp)
ff
mov    -0x10(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
addsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
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,-0xa8(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0xa0(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0xa8(%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
mov    -0x18(%rbp),%rax
movslq -0x28(%rbp),%rcx
subsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%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    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x18(%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    -0x18(%rbp),%rax
movslq -0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
addsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0x18(%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  -0x90(%rbp),%xmm0
ff
movsd  -0x70(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mulsd  -0x78(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
movslq -0x24(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x90(%rbp),%xmm0
ff
movsd  -0x78(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mulsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0xa0(%rbp),%xmm0
ff
movsd  -0x80(%rbp),%xmm2
movsd  -0xa8(%rbp),%xmm1
ff
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 -0x28(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0xa0(%rbp),%xmm0
ff
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
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_out+0x1ad>
cmpl   $0x2,-0x20(%rbp)
jne    16ee <mp_mul_rcmul_nt_out+0x5ce>
jmp    17be <mp_mul_rcmul_nt_out+0x69e>
movsd  -0x30(%rbp),%xmm0
cvtsi2sdl -0x20(%rbp),%xmm1
mulsd  %xmm1,%xmm0
call   1030 <sin@plt>
movaps %xmm0,%xmm1
movsd  0x90c(%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  0x8e5(%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  0x8a1(%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  0x86f(%rip),%xmm0
subsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x20(%rbp),%eax
mov    %eax,-0x1c(%rbp)
jmp    12a8 <mp_mul_rcmul_nt_out+0x188>
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mp_mul_rcmul_nt_out>:
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),%xmm13
mulsd  %xmm0,%xmm13
mulsd  %xmm0,%xmm0
movapd %xmm0,%xmm1
addsd  %xmm0,%xmm1
movsd  0xe8a(%rip),%xmm2
subsd  %xmm1,%xmm2
movsd  %xmm2,0x38(%rsp)
movapd %xmm13,%xmm1
addsd  %xmm13,%xmm1
movsd  %xmm1,0x30(%rsp)
movapd %xmm1,%xmm14
addsd  %xmm1,%xmm14
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),%xmm15
movapd 0xe1e(%rip),%xmm10
xorpd  %xmm4,%xmm4
movsd  %xmm14,0x28(%rsp)
nopl   (%rax)
cmp    $0x103,%eax
mov    $0x102,%ecx
cmovge %eax,%ecx
lea    -0x100(%rcx),%ebp
add    $0xffffff02,%ecx
cmp    %ecx,%eax
jl     13c4 <mp_mul_rcmul_nt_out+0x2a4>
cltq
mov    %ebp,%ecx
mov    %r15,%rdx
sub    %rax,%rdx
add    $0xfffffffffffffffe,%rax
nop
movapd %xmm14,%xmm8
mulsd  %xmm13,%xmm8
addsd  %xmm4,%xmm8
movapd %xmm15,%xmm9
subsd  %xmm0,%xmm9
mulsd  %xmm14,%xmm9
addsd  %xmm1,%xmm9
movupd (%r14,%rax,8),%xmm11
movupd (%r14,%rdx,8),%xmm1
movapd %xmm11,%xmm2
subpd  %xmm1,%xmm2
movapd %xmm11,%xmm3
addpd  %xmm1,%xmm3
movapd %xmm3,%xmm6
movsd  %xmm2,%xmm6
movapd %xmm13,%xmm7
xorpd  %xmm10,%xmm7
shufpd $0x1,%xmm13,%xmm3
movapd %xmm7,%xmm5
unpcklpd %xmm2,%xmm5
mulpd  %xmm3,%xmm5
movapd %xmm0,%xmm10
unpcklpd %xmm0,%xmm10
mulpd  %xmm10,%xmm6
addpd  %xmm5,%xmm6
subpd  %xmm6,%xmm11
movapd %xmm1,%xmm12
addpd  %xmm6,%xmm12
subpd  %xmm6,%xmm1
movapd %xmm1,%xmm2
movsd  %xmm12,%xmm2
movupd %xmm11,(%r14,%rax,8)
movupd %xmm2,(%r14,%rdx,8)
movupd (%rbx,%rax,8),%xmm4
movupd (%rbx,%rdx,8),%xmm6
movapd %xmm4,%xmm5
subpd  %xmm6,%xmm5
movapd %xmm4,%xmm3
addpd  %xmm6,%xmm3
movapd %xmm3,%xmm2
movsd  %xmm5,%xmm2
unpcklpd %xmm5,%xmm7
shufpd $0x1,%xmm13,%xmm3
mulpd  %xmm3,%xmm7
mulpd  %xmm10,%xmm2
movapd 0xd02(%rip),%xmm10
addpd  %xmm7,%xmm2
subpd  %xmm2,%xmm4
movapd %xmm4,%xmm3
unpckhpd %xmm4,%xmm3
movapd %xmm6,%xmm5
addpd  %xmm2,%xmm5
subpd  %xmm2,%xmm6
movapd %xmm3,%xmm2
movapd %xmm11,%xmm7
mulsd  %xmm11,%xmm3
unpckhpd %xmm11,%xmm11
mulsd  %xmm11,%xmm2
mulsd  %xmm4,%xmm7
subsd  %xmm2,%xmm7
movsd  %xmm7,(%rbx,%rax,8)
mulsd  %xmm11,%xmm4
addsd  %xmm4,%xmm3
movsd  %xmm3,0x8(%rbx,%rax,8)
movapd %xmm6,%xmm2
movsd  %xmm5,%xmm2
unpckhpd %xmm1,%xmm6
unpckhpd %xmm1,%xmm1
xorpd  %xmm10,%xmm1
unpcklpd %xmm5,%xmm1
mulpd  %xmm6,%xmm1
unpcklpd %xmm12,%xmm12
mulpd  %xmm2,%xmm12
addpd  %xmm1,%xmm12
movupd %xmm12,(%rbx,%rdx,8)
movapd %xmm0,%xmm4
add    $0xfffffffffffffffe,%rax
add    $0x2,%rdx
movapd %xmm13,%xmm1
movapd %xmm9,%xmm13
movapd %xmm8,%xmm0
cmp    %rcx,%rax
jge    1240 <mp_mul_rcmul_nt_out+0x120>
cmp    $0x2,%ebp
je     1474 <mp_mul_rcmul_nt_out+0x354>
xorps  %xmm0,%xmm0
cvtsi2sd %ebp,%xmm0
mulsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x40(%rsp)
call   1030 <sin@plt>
mulsd  0xc23(%rip),%xmm0
movapd %xmm0,0x10(%rsp)
movsd  0x40(%rsp),%xmm0
call   1040 <cos@plt>
movapd 0xc19(%rip),%xmm10
movsd  0xc00(%rip),%xmm15
movsd  0x28(%rsp),%xmm14
movapd 0x10(%rsp),%xmm13
movapd %xmm0,%xmm1
mulsd  %xmm15,%xmm1
movsd  0x30(%rsp),%xmm5
movapd %xmm5,%xmm0
mulsd  %xmm1,%xmm0
movapd %xmm13,%xmm2
movsd  0x38(%rsp),%xmm3
mulsd  %xmm3,%xmm2
subsd  %xmm0,%xmm2
movapd %xmm15,%xmm0
subsd  %xmm2,%xmm0
movapd %xmm3,%xmm2
mulsd  %xmm1,%xmm2
movapd %xmm15,%xmm4
subsd  %xmm13,%xmm4
mulsd  %xmm5,%xmm13
addsd  %xmm2,%xmm13
mov    %ebp,%eax
jmp    1210 <mp_mul_rcmul_nt_out+0xf0>
add    $0x48,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @mp_mul_rcmul_nt_out(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* %23
%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* %24
%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* %25
%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* %26
%189 = load double, double* %23
%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* %24
%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* %25
%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* %26
%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** %6
%217 = load i32, i32* %10
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds double, double* %216, i64 %218
%220 = load double, double* %219
%221 = fsub double %215, %220
store double %221, double* %19
%222 = load double*, double** %6
%223 = load i32, i32* %9
%224 = add nsw i32 %223, 1
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds double, double* %222, i64 %225
%227 = load double, double* %226
%228 = load double*, double** %6
%229 = load i32, i32* %10
%230 = add nsw i32 %229, 1
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds double, double* %228, i64 %231
%233 = load double, double* %232
%234 = fadd double %227, %233
store double %234, double* %20
%235 = load double, double* %14
%236 = load double, double* %19
%237 = load double, double* %15
%238 = load double, double* %20
%239 = fmul double %237, %238
%240 = fneg double %239
%241 = call double @llvm.fmuladd.f64(double %235, double %236, double %240)
store double %241, double* %21
%242 = load double, double* %14
%243 = load double, double* %20
%244 = load double, double* %15
%245 = load double, double* %19
%246 = fmul double %244, %245
%247 = call double @llvm.fmuladd.f64(double %242, double %243, double %246)
store double %247, double* %22
%248 = load double*, double** %6
%249 = load i32, i32* %9
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds double, double* %248, i64 %250
%252 = load double, double* %251
%253 = load double, double* %21
%254 = fsub double %252, %253
store double %254, double* %19
%255 = load double*, double** %6
%256 = load i32, i32* %9
%257 = add nsw i32 %256, 1
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds double, double* %255, i64 %258
%260 = load double, double* %259
%261 = load double, double* %22
%262 = fsub double %260, %261
store double %262, double* %20
%263 = load double*, double** %6
%264 = load i32, i32* %10
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds double, double* %263, i64 %265
%267 = load double, double* %266
%268 = load double, double* %21
%269 = fadd double %267, %268
store double %269, double* %21
%270 = load double*, double** %6
%271 = load i32, i32* %10
%272 = add nsw i32 %271, 1
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds double, double* %270, i64 %273
%275 = load double, double* %274
%276 = load double, double* %22
%277 = fsub double %275, %276
store double %277, double* %22
%278 = load double, double* %23
%279 = load double, double* %19
%280 = load double, double* %24
%281 = load double, double* %20
%282 = fmul double %280, %281
%283 = fneg double %282
%284 = call double @llvm.fmuladd.f64(double %278, double %279, double %283)
%285 = load double*, double** %6
%286 = load i32, i32* %9
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds double, double* %285, i64 %287
store double %284, double* %288
%289 = load double, double* %23
%290 = load double, double* %20
%291 = load double, double* %24
%292 = load double, double* %19
%293 = fmul double %291, %292
%294 = call double @llvm.fmuladd.f64(double %289, double %290, double %293)
%295 = load double*, double** %6
%296 = load i32, i32* %9
%297 = add nsw i32 %296, 1
%298 = sext i32 %297 to i64
%299 = getelementptr inbounds double, double* %295, i64 %298
store double %294, double* %299
%300 = load double, double* %25
%301 = load double, double* %21
%302 = load double, double* %26
%303 = load double, double* %22
%304 = fmul double %302, %303
%305 = fneg double %304
%306 = call double @llvm.fmuladd.f64(double %300, double %301, double %305)
%307 = load double*, double** %6
%308 = load i32, i32* %10
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds double, double* %307, i64 %309
store double %306, double* %310
%311 = load double, double* %25
%312 = load double, double* %22
%313 = load double, double* %26
%314 = load double, double* %21
%315 = fmul double %313, %314
%316 = call double @llvm.fmuladd.f64(double %311, double %312, double %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_out(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 = %131, %3
%35 = phi double [ %9, %3 ], [ %141, %131 ]
%36 = phi double [ %8, %3 ], [ %143, %131 ]
%37 = phi double [ 0.000000e+00, %3 ], [ %137, %131 ]
%38 = phi double [ 0.000000e+00, %3 ], [ %144, %131 ]
%39 = phi i32 [ %13, %3 ], [ %42, %131 ]
%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 %129, 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 ], [ %127, %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 = bitcast double* %62 to <2 x double>*
%68 = load <2 x double>, <2 x double>* %67
%69 = fsub <2 x double> %66, %68
%70 = fadd <2 x double> %66, %68
%71 = shufflevector <2 x double> %69, <2 x double> %70, <2 x i32> <i32 0, i32 3>
%72 = fneg double %54
%73 = extractelement <2 x double> %70, i64 1
%74 = insertelement <2 x double> poison, double %73, i64 0
%75 = insertelement <2 x double> %74, double %54, i64 1
%76 = insertelement <2 x double> poison, double %72, i64 0
%77 = shufflevector <2 x double> %76, <2 x double> %69, <2 x i32> <i32 0, i32 2>
%78 = fmul <2 x double> %75, %77
%79 = insertelement <2 x double> poison, double %55, i64 0
%80 = shufflevector <2 x double> %79, <2 x double> poison, <2 x i32> zeroinitializer
%81 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %80, <2 x double> %71, <2 x double> %78)
%82 = fsub <2 x double> %66, %81
%83 = extractelement <2 x double> %82, i64 0
%84 = fsub <2 x double> %66, %81
%85 = extractelement <2 x double> %84, i64 1
%86 = fadd <2 x double> %68, %81
%87 = fsub <2 x double> %68, %81
%88 = shufflevector <2 x double> %86, <2 x double> %87, <2 x i32> <i32 0, i32 3>
store double %83, double* %61
store double %85, double* %64
%89 = bitcast double* %62 to <2 x double>*
store <2 x double> %88, <2 x double>* %89
%90 = getelementptr inbounds double, double* %2, i64 %51
%91 = getelementptr inbounds double, double* %2, i64 %57
%92 = getelementptr inbounds double, double* %2, i64 %63
%93 = bitcast double* %90 to <2 x double>*
%94 = load <2 x double>, <2 x double>* %93
%95 = bitcast double* %91 to <2 x double>*
%96 = load <2 x double>, <2 x double>* %95
%97 = fsub <2 x double> %94, %96
%98 = fadd <2 x double> %94, %96
%99 = shufflevector <2 x double> %97, <2 x double> %98, <2 x i32> <i32 0, i32 3>
%100 = extractelement <2 x double> %98, i64 1
%101 = insertelement <2 x double> poison, double %100, i64 0
%102 = insertelement <2 x double> %101, double %54, i64 1
%103 = shufflevector <2 x double> %76, <2 x double> %97, <2 x i32> <i32 0, i32 2>
%104 = fmul <2 x double> %102, %103
%105 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %80, <2 x double> %99, <2 x double> %104)
%106 = fsub <2 x double> %94, %105
%107 = extractelement <2 x double> %106, i64 0
%108 = fsub <2 x double> %94, %105
%109 = extractelement <2 x double> %108, i64 1
%110 = fadd <2 x double> %96, %105
%111 = fsub <2 x double> %96, %105
%112 = shufflevector <2 x double> %110, <2 x double> %111, <2 x i32> <i32 0, i32 3>
%113 = fneg double %85
%114 = fmul double %109, %113
%115 = tail call double @llvm.fmuladd.f64(double %83, double %107, double %114)
store double %115, double* %90
%116 = fmul double %85, %107
%117 = tail call double @llvm.fmuladd.f64(double %83, double %109, double %116)
store double %117, double* %92
%118 = extractelement <2 x double> %87, i64 1
%119 = fneg double %118
%120 = shufflevector <2 x double> %111, <2 x double> %87, <2 x i32> <i32 1, i32 3>
%121 = insertelement <2 x double> poison, double %119, i64 0
%122 = shufflevector <2 x double> %121, <2 x double> %110, <2 x i32> <i32 0, i32 2>
%123 = fmul <2 x double> %120, %122
%124 = shufflevector <2 x double> %86, <2 x double> undef, <2 x i32> zeroinitializer
%125 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %124, <2 x double> %112, <2 x double> %123)
%126 = bitcast double* %91 to <2 x double>*
store <2 x double> %125, <2 x double>* %126
%127 = add nsw i64 %51, -2
%128 = icmp slt i64 %127, %48
br i1 %128, label %129, label %49
129: ; preds = %49, %34
%130 = icmp eq i32 %42, 2
br i1 %130, label %145, label %131
131: ; preds = %129
%132 = sitofp i32 %42 to double
%133 = fmul double %5, %132
%134 = tail call double @sin(double %133)
%135 = fmul double %134, 5.000000e-01
%136 = tail call double @cos(double %133)
%137 = fmul double %136, 5.000000e-01
%138 = fneg double %137
%139 = fmul double %11, %138
%140 = tail call double @llvm.fmuladd.f64(double %135, double %10, double %139)
%141 = fsub double 5.000000e-01, %140
%142 = fmul double %10, %137
%143 = tail call double @llvm.fmuladd.f64(double %135, double %11, double %142)
%144 = fsub double 5.000000e-01, %135
br label %34
145: ; preds = %129
ret void
}