#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 */
typedef scalar_t__ tmp;

/* Variables and functions */
int /*<<< orphan*/ chealpix_get_ring_info2(int, int, int *, int *, double *,
                                           int *);
int chealpix_nside2order(int);
int chealpix_ring_above(int, double);
double cos(double);
void chealpix_get_interpolation(int nside, double phi, double theta, int *pix,
                                double *wgt) {
  int order_ = chealpix_nside2order(nside);
  int nside_ = nside;
  int npface_ = nside_ << order_;
  int npix_ = 12 * npface_;
  double z = cos(theta);
  int ir1 = chealpix_ring_above(nside, z);
  int ir2 = ir1 + 1;
  double theta1, theta2, w1, tmp, dphi;
  int sp, nr;
  int shift;
  int i1, i2;
  if (ir1 > 0) {
    chealpix_get_ring_info2(nside, ir1, &sp, &nr, &theta1, &shift);
    dphi = 2 * (3.14159265) / nr;
    tmp = (phi / dphi - .5 * shift);
    i1 = (tmp < 0) ? (int)(tmp)-1 : (int)(tmp);
    w1 = (phi - (i1 + .5 * shift) * dphi) / dphi;
    i2 = i1 + 1;
    if (i1 < 0)
      i1 += nr;
    if (i2 >= nr)
      i2 -= nr;
    pix[0] = sp + i1;
    pix[1] = sp + i2;
    wgt[0] = 1 - w1;
    wgt[1] = w1;
  }
  if (ir2 < (4 * nside_)) {
    chealpix_get_ring_info2(nside, ir2, &sp, &nr, &theta2, &shift);
    dphi = 2 * (3.14159265) / nr;
    tmp = (phi / dphi - .5 * shift);
    i1 = (tmp < 0) ? (int)(tmp)-1 : (int)(tmp);
    w1 = (phi - (i1 + .5 * shift) * dphi) / dphi;
    i2 = i1 + 1;
    if (i1 < 0)
      i1 += nr;
    if (i2 >= nr)
      i2 -= nr;
    pix[2] = sp + i1;
    pix[3] = sp + i2;
    wgt[2] = 1 - w1;
    wgt[3] = w1;
  }
  if (ir1 == 0) {
    double wtheta = theta / theta2;
    double fac = (1 - wtheta) * 0.25;
    wgt[2] *= wtheta;
    wgt[3] *= wtheta;
    wgt[0] = fac;
    wgt[1] = fac;
    wgt[2] += fac;
    wgt[3] += fac;
    pix[0] = (pix[2] + 2) & 3;
    pix[1] = (pix[3] + 2) & 3;
  } else if (ir2 == 4 * nside_) {
    double wtheta = (theta - theta1) / ((3.14159265) - theta1);
    double fac = wtheta * 0.25;
    wgt[0] *= (1 - wtheta);
    wgt[1] *= (1 - wtheta);
    wgt[0] += fac;
    wgt[1] += fac;
    wgt[2] = fac;
    wgt[3] = fac;
    pix[2] = ((pix[0] + 2) & 3) + npix_ - 4;
    pix[3] = ((pix[1] + 2) & 3) + npix_ - 4;
  } else {
    double wtheta = (theta - theta1) / (theta2 - theta1);
    wgt[0] *= (1 - wtheta);
    wgt[1] *= (1 - wtheta);
    wgt[2] *= wtheta;
    wgt[3] *= wtheta;
  }
}


x86 assembly (clang, -O0):
<chealpix_get_interpolation>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    %edi,-0x4(%rbp)
movsd  %xmm0,-0x10(%rbp)
movsd  %xmm1,-0x18(%rbp)
mov    %rsi,-0x20(%rbp)
mov    %rdx,-0x28(%rbp)
mov    -0x4(%rbp),%edi
call   1060 <chealpix_nside2order@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x4(%rbp),%eax
mov    %eax,-0x30(%rbp)
mov    -0x30(%rbp),%eax
mov    -0x2c(%rbp),%ecx
shl    %cl,%eax
mov    %eax,-0x34(%rbp)
imul   $0xc,-0x34(%rbp),%eax
mov    %eax,-0x38(%rbp)
movsd  -0x18(%rbp),%xmm0
call   1050 <cos@plt>
movsd  %xmm0,-0x40(%rbp)
mov    -0x4(%rbp),%edi
movsd  -0x40(%rbp),%xmm0
call   1030 <chealpix_ring_above@plt>
mov    %eax,-0x44(%rbp)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
cmpl   $0x0,-0x44(%rbp)
jle    130a <chealpix_get_interpolation+0x1ca>
mov    -0x4(%rbp),%edi
mov    -0x44(%rbp),%esi
lea    -0x74(%rbp),%rdx
lea    -0x78(%rbp),%rcx
lea    -0x50(%rbp),%r8
lea    -0x7c(%rbp),%r9
call   1040 <chealpix_get_ring_info2@plt>
cvtsi2sdl -0x78(%rbp),%xmm1
movsd  0xe2b(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x10(%rbp),%xmm1
divsd  -0x70(%rbp),%xmm1
cvtsi2sdl -0x7c(%rbp),%xmm0
movsd  0xe03(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
xorps  %xmm0,%xmm0
ucomisd -0x68(%rbp),%xmm0
jbe    122b <chealpix_get_interpolation+0xeb>
cvttsd2si -0x68(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0xb4(%rbp)
jmp    1236 <chealpix_get_interpolation+0xf6>
cvttsd2si -0x68(%rbp),%eax
mov    %eax,-0xb4(%rbp)
mov    -0xb4(%rbp),%eax
mov    %eax,-0x80(%rbp)
movsd  -0x10(%rbp),%xmm1
cvtsi2sdl -0x80(%rbp),%xmm2
cvtsi2sdl -0x7c(%rbp),%xmm0
movsd  0xdba(%rip),%xmm3
mulsd  %xmm3,%xmm0
addsd  %xmm2,%xmm0
movsd  -0x70(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x80(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x84(%rbp)
cmpl   $0x0,-0x80(%rbp)
jge    12ab <chealpix_get_interpolation+0x16b>
mov    -0x78(%rbp),%eax
add    -0x80(%rbp),%eax
mov    %eax,-0x80(%rbp)
mov    -0x84(%rbp),%eax
cmp    -0x78(%rbp),%eax
jl     12cb <chealpix_get_interpolation+0x18b>
mov    -0x78(%rbp),%ecx
mov    -0x84(%rbp),%eax
sub    %ecx,%eax
mov    %eax,-0x84(%rbp)
mov    -0x74(%rbp),%ecx
add    -0x80(%rbp),%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x74(%rbp),%ecx
add    -0x84(%rbp),%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,0x4(%rax)
movsd  0xd29(%rip),%xmm0
subsd  -0x60(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x48(%rbp),%eax
mov    -0x30(%rbp),%ecx
shl    $0x2,%ecx
cmp    %ecx,%eax
jge    1472 <chealpix_get_interpolation+0x332>
mov    -0x4(%rbp),%edi
mov    -0x48(%rbp),%esi
lea    -0x74(%rbp),%rdx
lea    -0x78(%rbp),%rcx
lea    -0x58(%rbp),%r8
lea    -0x7c(%rbp),%r9
call   1040 <chealpix_get_ring_info2@plt>
cvtsi2sdl -0x78(%rbp),%xmm1
movsd  0xcc5(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x10(%rbp),%xmm1
divsd  -0x70(%rbp),%xmm1
cvtsi2sdl -0x7c(%rbp),%xmm0
movsd  0xc9d(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
xorps  %xmm0,%xmm0
ucomisd -0x68(%rbp),%xmm0
jbe    1391 <chealpix_get_interpolation+0x251>
cvttsd2si -0x68(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0xb8(%rbp)
jmp    139c <chealpix_get_interpolation+0x25c>
cvttsd2si -0x68(%rbp),%eax
mov    %eax,-0xb8(%rbp)
mov    -0xb8(%rbp),%eax
mov    %eax,-0x80(%rbp)
movsd  -0x10(%rbp),%xmm1
cvtsi2sdl -0x80(%rbp),%xmm2
cvtsi2sdl -0x7c(%rbp),%xmm0
movsd  0xc54(%rip),%xmm3
mulsd  %xmm3,%xmm0
addsd  %xmm2,%xmm0
movsd  -0x70(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0x70(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x80(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x84(%rbp)
cmpl   $0x0,-0x80(%rbp)
jge    1411 <chealpix_get_interpolation+0x2d1>
mov    -0x78(%rbp),%eax
add    -0x80(%rbp),%eax
mov    %eax,-0x80(%rbp)
mov    -0x84(%rbp),%eax
cmp    -0x78(%rbp),%eax
jl     1431 <chealpix_get_interpolation+0x2f1>
mov    -0x78(%rbp),%ecx
mov    -0x84(%rbp),%eax
sub    %ecx,%eax
mov    %eax,-0x84(%rbp)
mov    -0x74(%rbp),%ecx
add    -0x80(%rbp),%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x74(%rbp),%ecx
add    -0x84(%rbp),%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,0xc(%rax)
movsd  0xbc2(%rip),%xmm0
subsd  -0x60(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x10(%rax)
movsd  -0x60(%rbp),%xmm0
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x18(%rax)
cmpl   $0x0,-0x44(%rbp)
jne    1557 <chealpix_get_interpolation+0x417>
movsd  -0x18(%rbp),%xmm0
divsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0xb82(%rip),%xmm0
subsd  -0x90(%rbp),%xmm0
ff
movsd  0xb7a(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
mulsd  0x10(%rax),%xmm0
movsd  %xmm0,0x10(%rax)
movsd  -0x90(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
mulsd  0x18(%rax),%xmm0
movsd  %xmm0,0x18(%rax)
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
addsd  0x10(%rax),%xmm0
movsd  %xmm0,0x10(%rax)
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
addsd  0x18(%rax),%xmm0
movsd  %xmm0,0x18(%rax)
mov    -0x20(%rbp),%rax
mov    0x8(%rax),%ecx
add    $0x2,%ecx
and    $0x3,%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x20(%rbp),%rax
mov    0xc(%rax),%ecx
add    $0x2,%ecx
and    $0x3,%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,0x4(%rax)
jmp    16ec <chealpix_get_interpolation+0x5ac>
mov    -0x48(%rbp),%eax
mov    -0x30(%rbp),%ecx
shl    $0x2,%ecx
cmp    %ecx,%eax
jne    1661 <chealpix_get_interpolation+0x521>
movsd  -0x18(%rbp),%xmm0
subsd  -0x50(%rbp),%xmm0
movsd  0xaae(%rip),%xmm1
subsd  -0x50(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  0xa8d(%rip),%xmm0
mulsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  0xa6d(%rip),%xmm0
subsd  -0xa0(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
mulsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
movsd  0xa51(%rip),%xmm0
subsd  -0xa0(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
mulsd  0x8(%rax),%xmm0
movsd  %xmm0,0x8(%rax)
movsd  -0xa8(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
addsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
movsd  -0xa8(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
addsd  0x8(%rax),%xmm0
movsd  %xmm0,0x8(%rax)
movsd  -0xa8(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x10(%rax)
movsd  -0xa8(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x20(%rbp),%rax
mov    (%rax),%ecx
add    $0x2,%ecx
and    $0x3,%ecx
add    -0x38(%rbp),%ecx
sub    $0x4,%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,0x8(%rax)
mov    -0x20(%rbp),%rax
mov    0x4(%rax),%ecx
add    $0x2,%ecx
and    $0x3,%ecx
add    -0x38(%rbp),%ecx
sub    $0x4,%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,0xc(%rax)
jmp    16e7 <chealpix_get_interpolation+0x5a7>
movsd  -0x18(%rbp),%xmm0
subsd  -0x50(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm1
subsd  -0x50(%rbp),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  0x98f(%rip),%xmm0
subsd  -0xb0(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
mulsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
movsd  0x973(%rip),%xmm0
subsd  -0xb0(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
mulsd  0x8(%rax),%xmm0
movsd  %xmm0,0x8(%rax)
movsd  -0xb0(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
mulsd  0x10(%rax),%xmm0
movsd  %xmm0,0x10(%rax)
movsd  -0xb0(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
mulsd  0x18(%rax),%xmm0
movsd  %xmm0,0x18(%rax)
jmp    16ec <chealpix_get_interpolation+0x5ac>
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<chealpix_get_interpolation>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %rdx,%r13
mov    %rsi,%r14
movapd %xmm1,0x20(%rsp)
movsd  %xmm0,0x10(%rsp)
mov    %edi,%ebp
call   1060 <chealpix_nside2order@plt>
mov    %ebp,%ebx
mov    %eax,%ecx
shl    %cl,%ebx
movapd 0x20(%rsp),%xmm0
call   1050 <cos@plt>
mov    %ebp,%edi
call   1030 <chealpix_ring_above@plt>
mov    %eax,%r12d
lea    0x1(%r12),%eax
test   %r12d,%r12d
jle    126b <chealpix_get_interpolation+0x12b>
lea    0x8(%rsp),%rdx
lea    0x4(%rsp),%rcx
lea    0x30(%rsp),%r8
mov    %rsp,%r9
mov    %ebp,%edi
mov    %eax,%r15d
mov    %r12d,%esi
call   1040 <chealpix_get_ring_info2@plt>
mov    0x4(%rsp),%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  0xe3e(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  0x10(%rsp),%xmm4
movapd %xmm4,%xmm2
xorps  %xmm1,%xmm1
cvtsi2sdl (%rsp),%xmm1
divsd  %xmm0,%xmm2
movsd  0xe24(%rip),%xmm3
mulsd  %xmm1,%xmm3
addsd  %xmm2,%xmm3
xorpd  %xmm2,%xmm2
xor    %edx,%edx
ucomisd %xmm3,%xmm2
seta   %dl
cvttsd2si %xmm3,%ecx
sub    %edx,%ecx
xorps  %xmm2,%xmm2
cvtsi2sd %ecx,%xmm2
lea    0x1(%rcx),%r8d
mov    0x8(%rsp),%esi
lea    (%rcx,%rsi,1),%edi
add    %ecx,%esi
add    $0x1,%esi
sar    $0x1f,%ecx
and    %eax,%ecx
mov    %rbx,%rdx
xor    %ebx,%ebx
cmp    %eax,%r8d
mulsd  0xde5(%rip),%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm0,%xmm1
movapd %xmm4,%xmm2
subsd  %xmm1,%xmm2
divsd  %xmm0,%xmm2
cmovge %eax,%ebx
add    %edi,%ecx
mov    %ecx,(%r14)
sub    %ebx,%esi
mov    %rdx,%rbx
mov    %esi,0x4(%r14)
mov    %r15d,%eax
movsd  0xdbd(%rip),%xmm0
subsd  %xmm2,%xmm0
movsd  %xmm0,0x0(%r13)
movsd  %xmm2,0x8(%r13)
lea    0x0(,%rbp,4),%r15d
cmp    %r15d,%eax
movapd 0x20(%rsp),%xmm2
jge    135b <chealpix_get_interpolation+0x21b>
lea    0x8(%rsp),%rdx
lea    0x4(%rsp),%rcx
lea    0x18(%rsp),%r8
mov    %rsp,%r9
mov    %ebp,%edi
mov    %eax,0xc(%rsp)
mov    0xc(%rsp),%esi
call   1040 <chealpix_get_ring_info2@plt>
mov    0x4(%rsp),%eax
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  0xd4a(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  0x10(%rsp),%xmm4
movapd %xmm4,%xmm2
xorps  %xmm1,%xmm1
cvtsi2sdl (%rsp),%xmm1
divsd  %xmm0,%xmm2
movsd  0xd30(%rip),%xmm3
mulsd  %xmm1,%xmm3
addsd  %xmm2,%xmm3
xorpd  %xmm2,%xmm2
xor    %edx,%edx
ucomisd %xmm3,%xmm2
seta   %dl
cvttsd2si %xmm3,%ecx
sub    %edx,%ecx
xorps  %xmm2,%xmm2
cvtsi2sd %ecx,%xmm2
lea    0x1(%rcx),%edx
mov    0x8(%rsp),%esi
lea    (%rcx,%rsi,1),%edi
add    %ecx,%esi
add    $0x1,%esi
sar    $0x1f,%ecx
and    %eax,%ecx
xor    %ebp,%ebp
cmp    %eax,%edx
mulsd  0xcf6(%rip),%xmm1
addsd  %xmm2,%xmm1
movapd 0x20(%rsp),%xmm2
mulsd  %xmm0,%xmm1
subsd  %xmm1,%xmm4
divsd  %xmm0,%xmm4
cmovge %eax,%ebp
add    %edi,%ecx
mov    %ecx,0x8(%r14)
sub    %ebp,%esi
mov    %esi,0xc(%r14)
mov    0xc(%rsp),%eax
movsd  0xccd(%rip),%xmm0
subsd  %xmm4,%xmm0
movsd  %xmm0,0x10(%r13)
movsd  %xmm4,0x18(%r13)
test   %r12d,%r12d
je     13f8 <chealpix_get_interpolation+0x2b8>
movsd  0x30(%rsp),%xmm0
subsd  %xmm0,%xmm2
cmp    %r15d,%eax
jne    1457 <chealpix_get_interpolation+0x317>
shl    $0x2,%ebx
lea    (%rbx,%rbx,2),%eax
movsd  0xc9b(%rip),%xmm1
subsd  %xmm0,%xmm1
divsd  %xmm1,%xmm2
movsd  0xc93(%rip),%xmm0
mulsd  %xmm2,%xmm0
movsd  0xc77(%rip),%xmm1
subsd  %xmm2,%xmm1
movupd 0x0(%r13),%xmm2
unpcklpd %xmm1,%xmm1
mulpd  %xmm2,%xmm1
movapd %xmm0,%xmm2
unpcklpd %xmm0,%xmm2
addpd  %xmm1,%xmm2
movupd %xmm2,0x0(%r13)
movsd  %xmm0,0x10(%r13)
movsd  %xmm0,0x18(%r13)
mov    (%r14),%ecx
mov    0x4(%r14),%edx
add    $0x2,%ecx
and    $0x3,%ecx
add    $0xfffffffc,%eax
or     %eax,%ecx
mov    %ecx,0x8(%r14)
add    $0x2,%edx
and    $0x3,%edx
or     %eax,%edx
mov    %edx,0xc(%r14)
jmp    1499 <chealpix_get_interpolation+0x359>
divsd  0x18(%rsp),%xmm2
movsd  0xc12(%rip),%xmm0
subsd  %xmm2,%xmm0
mulsd  0xc16(%rip),%xmm0
movupd 0x10(%r13),%xmm1
unpcklpd %xmm2,%xmm2
mulpd  %xmm1,%xmm2
movsd  %xmm0,0x0(%r13)
movsd  %xmm0,0x8(%r13)
unpcklpd %xmm0,%xmm0
addpd  %xmm2,%xmm0
movupd %xmm0,0x10(%r13)
mov    0x8(%r14),%eax
mov    0xc(%r14),%ecx
add    $0x2,%eax
and    $0x3,%eax
mov    %eax,(%r14)
add    $0x2,%ecx
and    $0x3,%ecx
mov    %ecx,0x4(%r14)
jmp    1499 <chealpix_get_interpolation+0x359>
movsd  0x18(%rsp),%xmm1
subsd  %xmm0,%xmm1
divsd  %xmm1,%xmm2
movsd  0xbab(%rip),%xmm0
subsd  %xmm2,%xmm0
unpcklpd %xmm0,%xmm0
movupd 0x0(%r13),%xmm1
mulpd  %xmm0,%xmm1
movupd 0x10(%r13),%xmm0
movupd %xmm1,0x0(%r13)
unpcklpd %xmm2,%xmm2
mulpd  %xmm0,%xmm2
movupd %xmm2,0x10(%r13)
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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