#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 */
scalar_t__ SphGenOh(double *, int, double, double, double);
int MakeAngularGrid_770(double (*pOut)[4]) {
  double a = 0, b = 0, v;
  int N = 0;
  v = 0.2192942088181184e-3;
  N += SphGenOh(&pOut[N][0], 0, a, b, v);
  v = 0.1436433617319080e-2;
  N += SphGenOh(&pOut[N][0], 1, a, b, v);
  v = 0.1421940344335877e-2;
  N += SphGenOh(&pOut[N][0], 2, a, b, v);
  a = 0.5087204410502360e-1;
  v = 0.6798123511050502e-3;
  N += SphGenOh(&pOut[N][0], 3, a, b, v);
  a = 0.1228198790178831e+0;
  v = 0.9913184235294912e-3;
  N += SphGenOh(&pOut[N][0], 3, a, b, v);
  a = 0.2026890814408786e+0;
  v = 0.1180207833238949e-2;
  N += SphGenOh(&pOut[N][0], 3, a, b, v);
  a = 0.2847745156464294e+0;
  v = 0.1296599602080921e-2;
  N += SphGenOh(&pOut[N][0], 3, a, b, v);
  a = 0.3656719078978026e+0;
  v = 0.1365871427428316e-2;
  N += SphGenOh(&pOut[N][0], 3, a, b, v);
  a = 0.4428264886713469e+0;
  v = 0.1402988604775325e-2;
  N += SphGenOh(&pOut[N][0], 3, a, b, v);
  a = 0.5140619627249735e+0;
  v = 0.1418645563595609e-2;
  N += SphGenOh(&pOut[N][0], 3, a, b, v);
  a = 0.6306401219166803e+0;
  v = 0.1421376741851662e-2;
  N += SphGenOh(&pOut[N][0], 3, a, b, v);
  a = 0.6716883332022612e+0;
  v = 0.1423996475490962e-2;
  N += SphGenOh(&pOut[N][0], 3, a, b, v);
  a = 0.6979792685336881e+0;
  v = 0.1431554042178567e-2;
  N += SphGenOh(&pOut[N][0], 3, a, b, v);
  a = 0.1446865674195309e+0;
  v = 0.9254401499865368e-3;
  N += SphGenOh(&pOut[N][0], 4, a, b, v);
  a = 0.3390263475411216e+0;
  v = 0.1250239995053509e-2;
  N += SphGenOh(&pOut[N][0], 4, a, b, v);
  a = 0.5335804651263506e+0;
  v = 0.1394365843329230e-2;
  N += SphGenOh(&pOut[N][0], 4, a, b, v);
  a = 0.6944024393349413e-1;
  b = 0.2355187894242326e+0;
  v = 0.1127089094671749e-2;
  N += SphGenOh(&pOut[N][0], 5, a, b, v);
  a = 0.2269004109529460e+0;
  b = 0.4102182474045730e+0;
  v = 0.1345753760910670e-2;
  N += SphGenOh(&pOut[N][0], 5, a, b, v);
  a = 0.8025574607775339e-1;
  b = 0.6214302417481605e+0;
  v = 0.1424957283316783e-2;
  N += SphGenOh(&pOut[N][0], 5, a, b, v);
  a = 0.1467999527896572e+0;
  b = 0.3245284345717394e+0;
  v = 0.1261523341237750e-2;
  N += SphGenOh(&pOut[N][0], 5, a, b, v);
  a = 0.1571507769824727e+0;
  b = 0.5224482189696630e+0;
  v = 0.1392547106052696e-2;
  N += SphGenOh(&pOut[N][0], 5, a, b, v);
  a = 0.2365702993157246e+0;
  b = 0.6017546634089558e+0;
  v = 0.1418761677877656e-2;
  N += SphGenOh(&pOut[N][0], 5, a, b, v);
  a = 0.7714815866765732e-1;
  b = 0.4346575516141163e+0;
  v = 0.1338366684479554e-2;
  N += SphGenOh(&pOut[N][0], 5, a, b, v);
  a = 0.3062936666210730e+0;
  b = 0.4908826589037616e+0;
  v = 0.1393700862676131e-2;
  N += SphGenOh(&pOut[N][0], 5, a, b, v);
  a = 0.3822477379524787e+0;
  b = 0.5648768149099500e+0;
  v = 0.1415914757466932e-2;
  N += SphGenOh(&pOut[N][0], 5, a, b, v);
  return N;
}


x86 assembly (clang, -O0):
<MakeAngularGrid_770>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x10(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x18(%rbp)
movl   $0x0,-0x24(%rbp)
movsd  0x107d(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
xor    %esi,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0x1036(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x1,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xfec(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x2,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xfa2(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xf8d(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xf43(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xf2e(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xee4(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xecf(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xe85(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xe70(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xe26(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xe11(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xdc7(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xdb2(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xd68(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xd53(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xd09(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xcf4(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xcaa(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xc95(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xc4b(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xc36(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xbec(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xbd7(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x4,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xb8d(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xb78(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x4,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xb2e(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xb19(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x4,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xacf(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xaba(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xaa5(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0xa5b(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0xa46(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0xa31(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0x9e7(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0x9d2(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0x9bd(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0x973(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0x95e(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0x949(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0x8ff(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0x8ea(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0x8d5(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0x88b(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0x876(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0x861(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0x817(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0x802(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0x7ed(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0x7a3(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0x78e(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0x779(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
movsd  0x72f(%rip),%xmm0
movsd  %xmm0,-0x10(%rbp)
movsd  0x71a(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  0x705(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
mov    -0x8(%rbp),%rdi
movslq -0x24(%rbp),%rax
shl    $0x5,%rax
add    %rax,%rdi
movsd  -0x10(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
movsd  -0x20(%rbp),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rcx
movslq -0x24(%rbp),%rax
add    %rcx,%rax
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<MakeAngularGrid_770>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    %rdi,%r14
movsd  0xedd(%rip),%xmm2
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
xor    %esi,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%r15
movslq %r15d,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xec3(%rip),%xmm2
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
mov    $0x1,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rbx
add    %r15,%rbx
movslq %ebx,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xea3(%rip),%xmm2
xorps  %xmm0,%xmm0
xorps  %xmm1,%xmm1
mov    $0x2,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%r15
add    %rbx,%r15
movslq %r15d,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xe83(%rip),%xmm0
movsd  0xe83(%rip),%xmm2
xorps  %xmm1,%xmm1
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rbx
add    %r15,%rbx
movslq %ebx,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xe66(%rip),%xmm0
movsd  0xe66(%rip),%xmm2
xorps  %xmm1,%xmm1
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%r15
add    %rbx,%r15
movslq %r15d,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xe49(%rip),%xmm0
movsd  0xe49(%rip),%xmm2
xorps  %xmm1,%xmm1
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rbx
add    %r15,%rbx
movslq %ebx,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xe2c(%rip),%xmm0
movsd  0xe2c(%rip),%xmm2
xorps  %xmm1,%xmm1
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%r15
add    %rbx,%r15
movslq %r15d,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xe0f(%rip),%xmm0
movsd  0xe0f(%rip),%xmm2
xorps  %xmm1,%xmm1
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rbx
add    %r15,%rbx
movslq %ebx,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xdf2(%rip),%xmm0
movsd  0xdf2(%rip),%xmm2
xorps  %xmm1,%xmm1
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%r15
add    %rbx,%r15
movslq %r15d,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xdd5(%rip),%xmm0
movsd  0xdd5(%rip),%xmm2
xorps  %xmm1,%xmm1
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rbx
add    %r15,%rbx
movslq %ebx,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xdb8(%rip),%xmm0
movsd  0xdb8(%rip),%xmm2
xorps  %xmm1,%xmm1
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%r15
add    %rbx,%r15
movslq %r15d,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xd9b(%rip),%xmm0
movsd  0xd9b(%rip),%xmm2
xorps  %xmm1,%xmm1
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rbx
add    %r15,%rbx
movslq %ebx,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xd7e(%rip),%xmm0
movsd  0xd7e(%rip),%xmm2
xorps  %xmm1,%xmm1
mov    $0x3,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%r15
add    %rbx,%r15
movslq %r15d,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xd61(%rip),%xmm0
movsd  0xd61(%rip),%xmm2
xorps  %xmm1,%xmm1
mov    $0x4,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rbx
add    %r15,%rbx
movslq %ebx,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xd44(%rip),%xmm0
movsd  0xd44(%rip),%xmm2
xorps  %xmm1,%xmm1
mov    $0x4,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%r15
add    %rbx,%r15
movslq %r15d,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xd27(%rip),%xmm0
movsd  0xd27(%rip),%xmm2
xorps  %xmm1,%xmm1
mov    $0x4,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%r12
add    %r15,%r12
movslq %r12d,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xd0a(%rip),%xmm0
movsd  0xd0a(%rip),%xmm1
movsd  0xd0a(%rip),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rbx
add    %r12,%rbx
movslq %ebx,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xcf0(%rip),%xmm0
movsd  0xcf0(%rip),%xmm1
movsd  0xcf0(%rip),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%r15
add    %rbx,%r15
movslq %r15d,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xcd6(%rip),%xmm0
movsd  0xcd6(%rip),%xmm1
movsd  0xcd6(%rip),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rbx
add    %r15,%rbx
movslq %ebx,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xcbc(%rip),%xmm0
movsd  0xcbc(%rip),%xmm1
movsd  0xcbc(%rip),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%r15
add    %rbx,%r15
movslq %r15d,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xca2(%rip),%xmm0
movsd  0xca2(%rip),%xmm1
movsd  0xca2(%rip),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rbx
add    %r15,%rbx
movslq %ebx,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xc88(%rip),%xmm0
movsd  0xc88(%rip),%xmm1
movsd  0xc88(%rip),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%r15
add    %rbx,%r15
movslq %r15d,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xc6e(%rip),%xmm0
movsd  0xc6e(%rip),%xmm1
movsd  0xc6e(%rip),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
mov    %rax,%rbx
add    %r15,%rbx
movslq %ebx,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xc54(%rip),%xmm0
movsd  0xc54(%rip),%xmm1
movsd  0xc54(%rip),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
add    %rbx,%rax
movslq %eax,%rbx
mov    %rbx,%rdi
shl    $0x5,%rdi
add    %r14,%rdi
movsd  0xc3a(%rip),%xmm0
movsd  0xc3a(%rip),%xmm1
movsd  0xc3a(%rip),%xmm2
mov    $0x5,%esi
call   1030 <SphGenOh@plt>
add    %ebx,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define i32 @MakeAngularGrid_770([4 x double]* %0) {
%2 = alloca [4 x double]*
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca i32
store [4 x double]* %0, [4 x double]** %2
store double 0.000000e+00, double* %3
store double 0.000000e+00, double* %4
store i32 0, i32* %6
store double 0x3F2CBE4AE8FFB925, double* %5
%7 = load [4 x double]*, [4 x double]** %2
%8 = load i32, i32* %6
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [4 x double], [4 x double]* %7, i64 %9
%11 = getelementptr inbounds [4 x double], [4 x double]* %10, i64 0, i64 0
%12 = load double, double* %3
%13 = load double, double* %4
%14 = load double, double* %5
%15 = call i64 @SphGenOh(double* %11, i32 0, double %12, double %13, double %14)
%16 = load i32, i32* %6
%17 = sext i32 %16 to i64
%18 = add nsw i64 %17, %15
%19 = trunc i64 %18 to i32
store i32 %19, i32* %6
store double 0x3F5788D6DA3152A6, double* %5
%20 = load [4 x double]*, [4 x double]** %2
%21 = load i32, i32* %6
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 %22
%24 = getelementptr inbounds [4 x double], [4 x double]* %23, i64 0, i64 0
%25 = load double, double* %3
%26 = load double, double* %4
%27 = load double, double* %5
%28 = call i64 @SphGenOh(double* %24, i32 1, double %25, double %26, double %27)
%29 = load i32, i32* %6
%30 = sext i32 %29 to i64
%31 = add nsw i64 %30, %28
%32 = trunc i64 %31 to i32
store i32 %32, i32* %6
store double 0x3F574C0CD1A67886, double* %5
%33 = load [4 x double]*, [4 x double]** %2
%34 = load i32, i32* %6
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [4 x double], [4 x double]* %33, i64 %35
%37 = getelementptr inbounds [4 x double], [4 x double]* %36, i64 0, i64 0
%38 = load double, double* %3
%39 = load double, double* %4
%40 = load double, double* %5
%41 = call i64 @SphGenOh(double* %37, i32 2, double %38, double %39, double %40)
%42 = load i32, i32* %6
%43 = sext i32 %42 to i64
%44 = add nsw i64 %43, %41
%45 = trunc i64 %44 to i32
store i32 %45, i32* %6
store double 0x3FAA0BE68B6C69F7, double* %3
store double 0x3F4646ADE85F7485, double* %5
%46 = load [4 x double]*, [4 x double]** %2
%47 = load i32, i32* %6
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [4 x double], [4 x double]* %46, i64 %48
%50 = getelementptr inbounds [4 x double], [4 x double]* %49, i64 0, i64 0
%51 = load double, double* %3
%52 = load double, double* %4
%53 = load double, double* %5
%54 = call i64 @SphGenOh(double* %50, i32 3, double %51, double %52, double %53)
%55 = load i32, i32* %6
%56 = sext i32 %55 to i64
%57 = add nsw i64 %56, %54
%58 = trunc i64 %57 to i32
store i32 %58, i32* %6
store double 0x3FBF711FA3AE343C, double* %3
store double 0x3F503DE40D5FF3B2, double* %5
%59 = load [4 x double]*, [4 x double]** %2
%60 = load i32, i32* %6
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [4 x double], [4 x double]* %59, i64 %61
%63 = getelementptr inbounds [4 x double], [4 x double]* %62, i64 0, i64 0
%64 = load double, double* %3
%65 = load double, double* %4
%66 = load double, double* %5
%67 = call i64 @SphGenOh(double* %63, i32 3, double %64, double %65, double %66)
%68 = load i32, i32* %6
%69 = sext i32 %68 to i64
%70 = add nsw i64 %69, %67
%71 = trunc i64 %70 to i32
store i32 %71, i32* %6
store double 0x3FC9F1B74005BDC8, double* %3
store double 0x3F53562682F5AAAF, double* %5
%72 = load [4 x double]*, [4 x double]** %2
%73 = load i32, i32* %6
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [4 x double], [4 x double]* %72, i64 %74
%76 = getelementptr inbounds [4 x double], [4 x double]* %75, i64 0, i64 0
%77 = load double, double* %3
%78 = load double, double* %4
%79 = load double, double* %5
%80 = call i64 @SphGenOh(double* %76, i32 3, double %77, double %78, double %79)
%81 = load i32, i32* %6
%82 = sext i32 %81 to i64
%83 = add nsw i64 %82, %80
%84 = trunc i64 %83 to i32
store i32 %84, i32* %6
store double 0x3FD239BEE3DBE1C4, double* %3
store double 0x3F553E5538C3B17A, double* %5
%85 = load [4 x double]*, [4 x double]** %2
%86 = load i32, i32* %6
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [4 x double], [4 x double]* %85, i64 %87
%89 = getelementptr inbounds [4 x double], [4 x double]* %88, i64 0, i64 0
%90 = load double, double* %3
%91 = load double, double* %4
%92 = load double, double* %5
%93 = call i64 @SphGenOh(double* %89, i32 3, double %90, double %91, double %92)
%94 = load i32, i32* %6
%95 = sext i32 %94 to i64
%96 = add nsw i64 %95, %93
%97 = trunc i64 %96 to i32
store i32 %97, i32* %6
store double 0x3FD7672B255F2AC8, double* %3
store double 0x3F5660E1472048B0, double* %5
%98 = load [4 x double]*, [4 x double]** %2
%99 = load i32, i32* %6
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [4 x double], [4 x double]* %98, i64 %100
%102 = getelementptr inbounds [4 x double], [4 x double]* %101, i64 0, i64 0
%103 = load double, double* %3
%104 = load double, double* %4
%105 = load double, double* %5
%106 = call i64 @SphGenOh(double* %102, i32 3, double %103, double %104, double %105)
%107 = load i32, i32* %6
%108 = sext i32 %107 to i64
%109 = add nsw i64 %108, %106
%110 = trunc i64 %109 to i32
store i32 %110, i32* %6
store double 0x3FDC5744E9A9573C, double* %3
store double 0x3F56FC8F8B259CD3, double* %5
%111 = load [4 x double]*, [4 x double]** %2
%112 = load i32, i32* %6
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [4 x double], [4 x double]* %111, i64 %113
%115 = getelementptr inbounds [4 x double], [4 x double]* %114, i64 0, i64 0
%116 = load double, double* %3
%117 = load double, double* %4
%118 = load double, double* %5
%119 = call i64 @SphGenOh(double* %115, i32 3, double %116, double %117, double %118)
%120 = load i32, i32* %6
%121 = sext i32 %120 to i64
%122 = add nsw i64 %121, %119
%123 = trunc i64 %122 to i32
store i32 %123, i32* %6
store double 0x3FE0733212C0AEC1, double* %3
store double 0x3F573E3B13376FF8, double* %5
%124 = load [4 x double]*, [4 x double]** %2
%125 = load i32, i32* %6
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [4 x double], [4 x double]* %124, i64 %126
%128 = getelementptr inbounds [4 x double], [4 x double]* %127, i64 0, i64 0
%129 = load double, double* %3
%130 = load double, double* %4
%131 = load double, double* %5
%132 = call i64 @SphGenOh(double* %128, i32 3, double %129, double %130, double %131)
%133 = load i32, i32* %6
%134 = sext i32 %133 to i64
%135 = add nsw i64 %134, %132
%136 = trunc i64 %135 to i32
store i32 %136, i32* %6
store double 0x3FE42E343165AEDB, double* %3
store double 0x3F5749AFA7C770F0, double* %5
%137 = load [4 x double]*, [4 x double]** %2
%138 = load i32, i32* %6
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds [4 x double], [4 x double]* %137, i64 %139
%141 = getelementptr inbounds [4 x double], [4 x double]* %140, i64 0, i64 0
%142 = load double, double* %3
%143 = load double, double* %4
%144 = load double, double* %5
%145 = call i64 @SphGenOh(double* %141, i32 3, double %142, double %143, double %144)
%146 = load i32, i32* %6
%147 = sext i32 %146 to i64
%148 = add nsw i64 %147, %145
%149 = trunc i64 %148 to i32
store i32 %149, i32* %6
store double 0x3FE57E788806ABBA, double* %3
store double 0x3F5754AC92ADB7FC, double* %5
%150 = load [4 x double]*, [4 x double]** %2
%151 = load i32, i32* %6
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds [4 x double], [4 x double]* %150, i64 %152
%154 = getelementptr inbounds [4 x double], [4 x double]* %153, i64 0, i64 0
%155 = load double, double* %3
%156 = load double, double* %4
%157 = load double, double* %5
%158 = call i64 @SphGenOh(double* %154, i32 3, double %155, double %156, double %157)
%159 = load i32, i32* %6
%160 = sext i32 %159 to i64
%161 = add nsw i64 %160, %158
%162 = trunc i64 %161 to i32
store i32 %162, i32* %6
store double 0x3FE655D89E746C12, double* %3
store double 0x3F57745F72CA907D, double* %5
%163 = load [4 x double]*, [4 x double]** %2
%164 = load i32, i32* %6
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds [4 x double], [4 x double]* %163, i64 %165
%167 = getelementptr inbounds [4 x double], [4 x double]* %166, i64 0, i64 0
%168 = load double, double* %3
%169 = load double, double* %4
%170 = load double, double* %5
%171 = call i64 @SphGenOh(double* %167, i32 3, double %168, double %169, double %170)
%172 = load i32, i32* %6
%173 = sext i32 %172 to i64
%174 = add nsw i64 %173, %171
%175 = trunc i64 %174 to i32
store i32 %175, i32* %6
store double 0x3FC28516E59E629C, double* %3
store double 0x3F4E532796DC4881, double* %5
%176 = load [4 x double]*, [4 x double]** %2
%177 = load i32, i32* %6
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds [4 x double], [4 x double]* %176, i64 %178
%180 = getelementptr inbounds [4 x double], [4 x double]* %179, i64 0, i64 0
%181 = load double, double* %3
%182 = load double, double* %4
%183 = load double, double* %5
%184 = call i64 @SphGenOh(double* %180, i32 4, double %181, double %182, double %183)
%185 = load i32, i32* %6
%186 = sext i32 %185 to i64
%187 = add nsw i64 %186, %184
%188 = trunc i64 %187 to i32
store i32 %188, i32* %6
store double 0x3FD5B29B90CAF8FE, double* %3
store double 0x3F547BE2F9049AB2, double* %5
%189 = load [4 x double]*, [4 x double]** %2
%190 = load i32, i32* %6
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds [4 x double], [4 x double]* %189, i64 %191
%193 = getelementptr inbounds [4 x double], [4 x double]* %192, i64 0, i64 0
%194 = load double, double* %3
%195 = load double, double* %4
%196 = load double, double* %5
%197 = call i64 @SphGenOh(double* %193, i32 4, double %194, double %195, double %196)
%198 = load i32, i32* %6
%199 = sext i32 %198 to i64
%200 = add nsw i64 %199, %197
%201 = trunc i64 %200 to i32
store i32 %201, i32* %6
store double 0x3FE1131756F01191, double* %3
store double 0x3F56D864EC874EAC, double* %5
%202 = load [4 x double]*, [4 x double]** %2
%203 = load i32, i32* %6
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds [4 x double], [4 x double]* %202, i64 %204
%206 = getelementptr inbounds [4 x double], [4 x double]* %205, i64 0, i64 0
%207 = load double, double* %3
%208 = load double, double* %4
%209 = load double, double* %5
%210 = call i64 @SphGenOh(double* %206, i32 4, double %207, double %208, double %209)
%211 = load i32, i32* %6
%212 = sext i32 %211 to i64
%213 = add nsw i64 %212, %210
%214 = trunc i64 %213 to i32
store i32 %214, i32* %6
store double 0x3FB1C6D5F8B87A88, double* %3
store double 0x3FCE257ACD15D5E2, double* %4
store double 0x3F52775AB3486427, double* %5
%215 = load [4 x double]*, [4 x double]** %2
%216 = load i32, i32* %6
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds [4 x double], [4 x double]* %215, i64 %217
%219 = getelementptr inbounds [4 x double], [4 x double]* %218, i64 0, i64 0
%220 = load double, double* %3
%221 = load double, double* %4
%222 = load double, double* %5
%223 = call i64 @SphGenOh(double* %219, i32 5, double %220, double %221, double %222)
%224 = load i32, i32* %6
%225 = sext i32 %224 to i64
%226 = add nsw i64 %225, %223
%227 = trunc i64 %226 to i32
store i32 %227, i32* %6
store double 0x3FCD0B129A3EF560, double* %3
store double 0x3FDA41040934CE14, double* %4
store double 0x3F560C80190FA6F3, double* %5
%228 = load [4 x double]*, [4 x double]** %2
%229 = load i32, i32* %6
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds [4 x double], [4 x double]* %228, i64 %230
%232 = getelementptr inbounds [4 x double], [4 x double]* %231, i64 0, i64 0
%233 = load double, double* %3
%234 = load double, double* %4
%235 = load double, double* %5
%236 = call i64 @SphGenOh(double* %232, i32 5, double %233, double %234, double %235)
%237 = load i32, i32* %6
%238 = sext i32 %237 to i64
%239 = add nsw i64 %238, %236
%240 = trunc i64 %239 to i32
store i32 %240, i32* %6
store double 0x3FB48BA3FCB853F5, double* %3
store double 0x3FE3E2C1ACA1B81A, double* %4
store double 0x3F5758B43B85D15A, double* %5
%241 = load [4 x double]*, [4 x double]** %2
%242 = load i32, i32* %6
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds [4 x double], [4 x double]* %241, i64 %243
%245 = getelementptr inbounds [4 x double], [4 x double]* %244, i64 0, i64 0
%246 = load double, double* %3
%247 = load double, double* %4
%248 = load double, double* %5
%249 = call i64 @SphGenOh(double* %245, i32 5, double %246, double %247, double %248)
%250 = load i32, i32* %6
%251 = sext i32 %250 to i64
%252 = add nsw i64 %251, %249
%253 = trunc i64 %252 to i32
store i32 %253, i32* %6
store double 0x3FC2CA5742249915, double* %3
store double 0x3FD4C512E946E480, double* %4
store double 0x3F54AB365F99B60E, double* %5
%254 = load [4 x double]*, [4 x double]** %2
%255 = load i32, i32* %6
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds [4 x double], [4 x double]* %254, i64 %256
%258 = getelementptr inbounds [4 x double], [4 x double]* %257, i64 0, i64 0
%259 = load double, double* %3
%260 = load double, double* %4
%261 = load double, double* %5
%262 = call i64 @SphGenOh(double* %258, i32 5, double %259, double %260, double %261)
%263 = load i32, i32* %6
%264 = sext i32 %263 to i64
%265 = add nsw i64 %264, %262
%266 = trunc i64 %265 to i32
store i32 %266, i32* %6
store double 0x3FC41D8443D72180, double* %3
store double 0x3FE0B7E553CA8033, double* %4
store double 0x3F56D0C411D52B23, double* %5
%267 = load [4 x double]*, [4 x double]** %2
%268 = load i32, i32* %6
%269 = sext i32 %268 to i64
%270 = getelementptr inbounds [4 x double], [4 x double]* %267, i64 %269
%271 = getelementptr inbounds [4 x double], [4 x double]* %270, i64 0, i64 0
%272 = load double, double* %3
%273 = load double, double* %4
%274 = load double, double* %5
%275 = call i64 @SphGenOh(double* %271, i32 5, double %272, double %273, double %274)
%276 = load i32, i32* %6
%277 = sext i32 %276 to i64
%278 = add nsw i64 %277, %275
%279 = trunc i64 %278 to i32
store i32 %279, i32* %6
store double 0x3FCE47EF81620B40, double* %3
store double 0x3FE34192FEF1D28F, double* %4
store double 0x3F573EB7C077A568, double* %5
%280 = load [4 x double]*, [4 x double]** %2
%281 = load i32, i32* %6
%282 = sext i32 %281 to i64
%283 = getelementptr inbounds [4 x double], [4 x double]* %280, i64 %282
%284 = getelementptr inbounds [4 x double], [4 x double]* %283, i64 0, i64 0
%285 = load double, double* %3
%286 = load double, double* %4
%287 = load double, double* %5
%288 = call i64 @SphGenOh(double* %284, i32 5, double %285, double %286, double %287)
%289 = load i32, i32* %6
%290 = sext i32 %289 to i64
%291 = add nsw i64 %290, %288
%292 = trunc i64 %291 to i32
store i32 %292, i32* %6
store double 0x3FB3BFFB526C98D7, double* %3
store double 0x3FDBD16DE8491789, double* %4
store double 0x3F55ED8448F40CD3, double* %5
%293 = load [4 x double]*, [4 x double]** %2
%294 = load i32, i32* %6
%295 = sext i32 %294 to i64
%296 = getelementptr inbounds [4 x double], [4 x double]* %293, i64 %295
%297 = getelementptr inbounds [4 x double], [4 x double]* %296, i64 0, i64 0
%298 = load double, double* %3
%299 = load double, double* %4
%300 = load double, double* %5
%301 = call i64 @SphGenOh(double* %297, i32 5, double %298, double %299, double %300)
%302 = load i32, i32* %6
%303 = sext i32 %302 to i64
%304 = add nsw i64 %303, %301
%305 = trunc i64 %304 to i32
store i32 %305, i32* %6
store double 0x3FD39A50C04700FD, double* %3
store double 0x3FDF6A9F198A924C, double* %4
store double 0x3F56D59AE809D8A6, double* %5
%306 = load [4 x double]*, [4 x double]** %2
%307 = load i32, i32* %6
%308 = sext i32 %307 to i64
%309 = getelementptr inbounds [4 x double], [4 x double]* %306, i64 %308
%310 = getelementptr inbounds [4 x double], [4 x double]* %309, i64 0, i64 0
%311 = load double, double* %3
%312 = load double, double* %4
%313 = load double, double* %5
%314 = call i64 @SphGenOh(double* %310, i32 5, double %311, double %312, double %313)
%315 = load i32, i32* %6
%316 = sext i32 %315 to i64
%317 = add nsw i64 %316, %314
%318 = trunc i64 %317 to i32
store i32 %318, i32* %6
store double 0x3FD876BF375E74B8, double* %3
store double 0x3FE213788AC9D1F7, double* %4
store double 0x3F5732C6E4F191D8, double* %5
%319 = load [4 x double]*, [4 x double]** %2
%320 = load i32, i32* %6
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds [4 x double], [4 x double]* %319, i64 %321
%323 = getelementptr inbounds [4 x double], [4 x double]* %322, i64 0, i64 0
%324 = load double, double* %3
%325 = load double, double* %4
%326 = load double, double* %5
%327 = call i64 @SphGenOh(double* %323, i32 5, double %324, double %325, double %326)
%328 = load i32, i32* %6
%329 = sext i32 %328 to i64
%330 = add nsw i64 %329, %327
%331 = trunc i64 %330 to i32
store i32 %331, i32* %6
%332 = load i32, i32* %6
ret i32 %332
}

LLVM IR (-O2):
define i32 @MakeAngularGrid_770([4 x double]* %0) {
%2 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 0, i64 0
%3 = tail call i64 @SphGenOh(double* %2, i32 0, double 0.000000e+00, double 0.000000e+00, double 0x3F2CBE4AE8FFB925)
%4 = shl i64 %3, 32
%5 = ashr exact i64 %4, 32
%6 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %5, i64 0
%7 = tail call i64 @SphGenOh(double* %6, i32 1, double 0.000000e+00, double 0.000000e+00, double 0x3F5788D6DA3152A6)
%8 = add i64 %7, %3
%9 = shl i64 %8, 32
%10 = ashr exact i64 %9, 32
%11 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %10, i64 0
%12 = tail call i64 @SphGenOh(double* %11, i32 2, double 0.000000e+00, double 0.000000e+00, double 0x3F574C0CD1A67886)
%13 = add i64 %8, %12
%14 = shl i64 %13, 32
%15 = ashr exact i64 %14, 32
%16 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %15, i64 0
%17 = tail call i64 @SphGenOh(double* %16, i32 3, double 0x3FAA0BE68B6C69F7, double 0.000000e+00, double 0x3F4646ADE85F7485)
%18 = add i64 %13, %17
%19 = shl i64 %18, 32
%20 = ashr exact i64 %19, 32
%21 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %20, i64 0
%22 = tail call i64 @SphGenOh(double* %21, i32 3, double 0x3FBF711FA3AE343C, double 0.000000e+00, double 0x3F503DE40D5FF3B2)
%23 = add i64 %18, %22
%24 = shl i64 %23, 32
%25 = ashr exact i64 %24, 32
%26 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %25, i64 0
%27 = tail call i64 @SphGenOh(double* %26, i32 3, double 0x3FC9F1B74005BDC8, double 0.000000e+00, double 0x3F53562682F5AAAF)
%28 = add i64 %23, %27
%29 = shl i64 %28, 32
%30 = ashr exact i64 %29, 32
%31 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %30, i64 0
%32 = tail call i64 @SphGenOh(double* %31, i32 3, double 0x3FD239BEE3DBE1C4, double 0.000000e+00, double 0x3F553E5538C3B17A)
%33 = add i64 %28, %32
%34 = shl i64 %33, 32
%35 = ashr exact i64 %34, 32
%36 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %35, i64 0
%37 = tail call i64 @SphGenOh(double* %36, i32 3, double 0x3FD7672B255F2AC8, double 0.000000e+00, double 0x3F5660E1472048B0)
%38 = add i64 %33, %37
%39 = shl i64 %38, 32
%40 = ashr exact i64 %39, 32
%41 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %40, i64 0
%42 = tail call i64 @SphGenOh(double* %41, i32 3, double 0x3FDC5744E9A9573C, double 0.000000e+00, double 0x3F56FC8F8B259CD3)
%43 = add i64 %38, %42
%44 = shl i64 %43, 32
%45 = ashr exact i64 %44, 32
%46 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %45, i64 0
%47 = tail call i64 @SphGenOh(double* %46, i32 3, double 0x3FE0733212C0AEC1, double 0.000000e+00, double 0x3F573E3B13376FF8)
%48 = add i64 %43, %47
%49 = shl i64 %48, 32
%50 = ashr exact i64 %49, 32
%51 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %50, i64 0
%52 = tail call i64 @SphGenOh(double* %51, i32 3, double 0x3FE42E343165AEDB, double 0.000000e+00, double 0x3F5749AFA7C770F0)
%53 = add i64 %48, %52
%54 = shl i64 %53, 32
%55 = ashr exact i64 %54, 32
%56 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %55, i64 0
%57 = tail call i64 @SphGenOh(double* %56, i32 3, double 0x3FE57E788806ABBA, double 0.000000e+00, double 0x3F5754AC92ADB7FC)
%58 = add i64 %53, %57
%59 = shl i64 %58, 32
%60 = ashr exact i64 %59, 32
%61 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %60, i64 0
%62 = tail call i64 @SphGenOh(double* %61, i32 3, double 0x3FE655D89E746C12, double 0.000000e+00, double 0x3F57745F72CA907D)
%63 = add i64 %58, %62
%64 = shl i64 %63, 32
%65 = ashr exact i64 %64, 32
%66 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %65, i64 0
%67 = tail call i64 @SphGenOh(double* %66, i32 4, double 0x3FC28516E59E629C, double 0.000000e+00, double 0x3F4E532796DC4881)
%68 = add i64 %63, %67
%69 = shl i64 %68, 32
%70 = ashr exact i64 %69, 32
%71 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %70, i64 0
%72 = tail call i64 @SphGenOh(double* %71, i32 4, double 0x3FD5B29B90CAF8FE, double 0.000000e+00, double 0x3F547BE2F9049AB2)
%73 = add i64 %68, %72
%74 = shl i64 %73, 32
%75 = ashr exact i64 %74, 32
%76 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %75, i64 0
%77 = tail call i64 @SphGenOh(double* %76, i32 4, double 0x3FE1131756F01191, double 0.000000e+00, double 0x3F56D864EC874EAC)
%78 = add i64 %73, %77
%79 = shl i64 %78, 32
%80 = ashr exact i64 %79, 32
%81 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %80, i64 0
%82 = tail call i64 @SphGenOh(double* %81, i32 5, double 0x3FB1C6D5F8B87A88, double 0x3FCE257ACD15D5E2, double 0x3F52775AB3486427)
%83 = add i64 %78, %82
%84 = shl i64 %83, 32
%85 = ashr exact i64 %84, 32
%86 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %85, i64 0
%87 = tail call i64 @SphGenOh(double* %86, i32 5, double 0x3FCD0B129A3EF560, double 0x3FDA41040934CE14, double 0x3F560C80190FA6F3)
%88 = add i64 %83, %87
%89 = shl i64 %88, 32
%90 = ashr exact i64 %89, 32
%91 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %90, i64 0
%92 = tail call i64 @SphGenOh(double* %91, i32 5, double 0x3FB48BA3FCB853F5, double 0x3FE3E2C1ACA1B81A, double 0x3F5758B43B85D15A)
%93 = add i64 %88, %92
%94 = shl i64 %93, 32
%95 = ashr exact i64 %94, 32
%96 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %95, i64 0
%97 = tail call i64 @SphGenOh(double* %96, i32 5, double 0x3FC2CA5742249915, double 0x3FD4C512E946E480, double 0x3F54AB365F99B60E)
%98 = add i64 %93, %97
%99 = shl i64 %98, 32
%100 = ashr exact i64 %99, 32
%101 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %100, i64 0
%102 = tail call i64 @SphGenOh(double* %101, i32 5, double 0x3FC41D8443D72180, double 0x3FE0B7E553CA8033, double 0x3F56D0C411D52B23)
%103 = add i64 %98, %102
%104 = shl i64 %103, 32
%105 = ashr exact i64 %104, 32
%106 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %105, i64 0
%107 = tail call i64 @SphGenOh(double* %106, i32 5, double 0x3FCE47EF81620B40, double 0x3FE34192FEF1D28F, double 0x3F573EB7C077A568)
%108 = add i64 %103, %107
%109 = shl i64 %108, 32
%110 = ashr exact i64 %109, 32
%111 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %110, i64 0
%112 = tail call i64 @SphGenOh(double* %111, i32 5, double 0x3FB3BFFB526C98D7, double 0x3FDBD16DE8491789, double 0x3F55ED8448F40CD3)
%113 = add i64 %108, %112
%114 = shl i64 %113, 32
%115 = ashr exact i64 %114, 32
%116 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %115, i64 0
%117 = tail call i64 @SphGenOh(double* %116, i32 5, double 0x3FD39A50C04700FD, double 0x3FDF6A9F198A924C, double 0x3F56D59AE809D8A6)
%118 = add i64 %113, %117
%119 = shl i64 %118, 32
%120 = ashr exact i64 %119, 32
%121 = getelementptr inbounds [4 x double], [4 x double]* %0, i64 %120, i64 0
%122 = tail call i64 @SphGenOh(double* %121, i32 5, double 0x3FD876BF375E74B8, double 0x3FE213788AC9D1F7, double 0x3F5732C6E4F191D8)
%123 = add i64 %118, %122
%124 = trunc i64 %123 to i32
ret i32 %124
}