#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 coulomb_repulsion(double, double, double, double, int, int, int, double,
                         double, double, double, double, int, int, int, double,
                         double, double, double, double, int, int, int, double,
                         double, double, double, double, int, int, int, double);
double contr_coulomb(int lena, double *aexps, double *acoefs, double *anorms,
                     double xa, double ya, double za, int la, int ma, int na,
                     int lenb, double *bexps, double *bcoefs, double *bnorms,
                     double xb, double yb, double zb, int lb, int mb, int nb,
                     int lenc, double *cexps, double *ccoefs, double *cnorms,
                     double xc, double yc, double zc, int lc, int mc, int nc,
                     int lend, double *dexps, double *dcoefs, double *dnorms,
                     double xd, double yd, double zd, int ld, int md, int nd) {
  double val = 0.;
  int i, j, k, l;
  for (i = 0; i < lena; i++)
    for (j = 0; j < lenb; j++)
      for (k = 0; k < lenc; k++)
        for (l = 0; l < lend; l++)
          val += acoefs[i] * bcoefs[j] * ccoefs[k] * dcoefs[l] *
                 coulomb_repulsion(xa, ya, za, anorms[i], la, ma, na, aexps[i],
                                   xb, yb, zb, bnorms[j], lb, mb, nb, bexps[j],
                                   xc, yc, zc, cnorms[k], lc, mc, nc, cexps[k],
                                   xd, yd, zd, dnorms[l], ld, md, nd, dexps[l]);
  return val;
}


x86 assembly (clang, -O0):
<contr_coulomb>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x148,%rsp
mov    0xd8(%rbp),%eax
mov    0xd0(%rbp),%eax
mov    0xc8(%rbp),%eax
movsd  0xc0(%rbp),%xmm8
movsd  0xb8(%rbp),%xmm8
movsd  0xb0(%rbp),%xmm8
mov    0xa8(%rbp),%rax
mov    0xa0(%rbp),%rax
mov    0x98(%rbp),%rax
mov    0x90(%rbp),%eax
mov    0x88(%rbp),%eax
mov    0x80(%rbp),%eax
mov    0x78(%rbp),%eax
movsd  0x70(%rbp),%xmm8
mov    0x68(%rbp),%rax
mov    0x60(%rbp),%rax
mov    0x58(%rbp),%rax
mov    0x50(%rbp),%eax
mov    0x48(%rbp),%eax
mov    0x40(%rbp),%eax
mov    0x38(%rbp),%eax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%eax
mov    0x10(%rbp),%eax
mov    %edi,-0x2c(%rbp)
mov    %rsi,-0x38(%rbp)
mov    %rdx,-0x40(%rbp)
mov    %rcx,-0x48(%rbp)
movsd  %xmm0,-0x50(%rbp)
movsd  %xmm1,-0x58(%rbp)
movsd  %xmm2,-0x60(%rbp)
mov    %r8d,-0x64(%rbp)
mov    %r9d,-0x68(%rbp)
movsd  %xmm3,-0x70(%rbp)
movsd  %xmm4,-0x78(%rbp)
movsd  %xmm5,-0x80(%rbp)
movsd  %xmm6,-0x88(%rbp)
ff
movsd  %xmm7,-0x90(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movl   $0x0,-0x9c(%rbp)
mov    -0x9c(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jge    1511 <contr_coulomb+0x401>
movl   $0x0,-0xa0(%rbp)
mov    -0xa0(%rbp),%eax
cmp    0x18(%rbp),%eax
jge    14f8 <contr_coulomb+0x3e8>
movl   $0x0,-0xa4(%rbp)
mov    -0xa4(%rbp),%eax
cmp    0x50(%rbp),%eax
jge    14df <contr_coulomb+0x3cf>
movl   $0x0,-0xa8(%rbp)
mov    -0xa8(%rbp),%eax
cmp    0x90(%rbp),%eax
jge    14c6 <contr_coulomb+0x3b6>
mov    -0x40(%rbp),%rax
movslq -0x9c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x28(%rbp),%rax
movslq -0xa0(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
mov    0x60(%rbp),%rax
movslq -0xa4(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
mov    0xa0(%rbp),%rax
movslq -0xa8(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0x58(%rbp),%xmm1
movsd  -0x60(%rbp),%xmm2
mov    -0x48(%rbp),%rax
movslq -0x9c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm3
mov    -0x64(%rbp),%edi
mov    -0x68(%rbp),%esi
mov    0x10(%rbp),%edx
mov    -0x38(%rbp),%rax
movslq -0x9c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm4
movsd  -0x70(%rbp),%xmm5
movsd  -0x78(%rbp),%xmm6
movsd  -0x80(%rbp),%xmm7
mov    0x30(%rbp),%rax
movslq -0xa0(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm8
mov    0x38(%rbp),%ecx
mov    0x40(%rbp),%r8d
mov    0x48(%rbp),%r9d
mov    0x20(%rbp),%rax
movslq -0xa0(%rbp),%r10
movsd  (%rax,%r10,8),%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  0x70(%rbp),%xmm15
mov    0x68(%rbp),%rax
movslq -0xa4(%rbp),%r10
movsd  (%rax,%r10,8),%xmm14
mov    0x78(%rbp),%r15d
mov    0x80(%rbp),%r14d
mov    0x88(%rbp),%ebx
mov    0x58(%rbp),%rax
movslq -0xa4(%rbp),%r10
movsd  (%rax,%r10,8),%xmm13
movsd  0xb0(%rbp),%xmm12
movsd  0xb8(%rbp),%xmm11
movsd  0xc0(%rbp),%xmm10
mov    0xa8(%rbp),%rax
movslq -0xa8(%rbp),%r10
movsd  (%rax,%r10,8),%xmm9
mov    0xc8(%rbp),%r11d
mov    0xd0(%rbp),%r10d
mov    0xd8(%rbp),%eax
mov    0x98(%rbp),%r12
movslq -0xa8(%rbp),%r13
movsd  (%r12,%r13,8),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0xd8(%rbp),%xmm0
ff
movsd  %xmm8,(%rsp)
movsd  -0xd0(%rbp),%xmm8
ff ff
movsd  %xmm8,0x8(%rsp)
movsd  -0xc8(%rbp),%xmm8
ff ff
movsd  %xmm8,0x10(%rsp)
movsd  -0xc0(%rbp),%xmm8
ff ff
movsd  %xmm8,0x18(%rsp)
movsd  -0xb8(%rbp),%xmm8
ff ff
movsd  %xmm15,0x20(%rsp)
movsd  %xmm14,0x28(%rsp)
mov    %r15d,0x30(%rsp)
mov    %r14d,0x38(%rsp)
mov    %ebx,0x40(%rsp)
movsd  %xmm13,0x48(%rsp)
movsd  %xmm12,0x50(%rsp)
movsd  %xmm11,0x58(%rsp)
movsd  %xmm10,0x60(%rsp)
movsd  %xmm9,0x68(%rsp)
mov    %r11d,0x70(%rsp)
mov    %r10d,0x78(%rsp)
mov    %eax,0x80(%rsp)
movsd  %xmm8,0x88(%rsp)
call   1030 <coulomb_repulsion@plt>
movaps %xmm0,%xmm2
movsd  -0xb0(%rbp),%xmm0
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    -0xa8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa8(%rbp)
jmp    1250 <contr_coulomb+0x140>
jmp    14cb <contr_coulomb+0x3bb>
mov    -0xa4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa4(%rbp)
jmp    1237 <contr_coulomb+0x127>
jmp    14e4 <contr_coulomb+0x3d4>
mov    -0xa0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xa0(%rbp)
jmp    121e <contr_coulomb+0x10e>
jmp    14fd <contr_coulomb+0x3ed>
mov    -0x9c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x9c(%rbp)
jmp    1205 <contr_coulomb+0xf5>
movsd  -0x98(%rbp),%xmm0
ff
add    $0x148,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<contr_coulomb>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x128,%rsp
mov    %r9d,0xa4(%rsp)
test   %edi,%edi
jle    14d9 <contr_coulomb+0x3c9>
movaps %xmm5,%xmm10
movaps %xmm4,%xmm11
movapd %xmm3,%xmm5
movapd %xmm0,%xmm15
mov    %rsi,%r15
mov    0x218(%rsp),%r14d
mov    0x1f8(%rsp),%r13
mov    0x1f0(%rsp),%rsi
mov    0x1e8(%rsp),%r10
mov    0x1d8(%rsp),%r11d
mov    0x1d0(%rsp),%ebx
mov    %edi,%edi
mov    %rdi,0xb8(%rsp)
xorpd  %xmm3,%xmm3
xor    %ebp,%ebp
movsd  %xmm7,0x110(%rsp)
movsd  %xmm6,0x108(%rsp)
movsd  %xmm10,0x100(%rsp)
movsd  %xmm4,0xf8(%rsp)
movsd  %xmm5,0xf0(%rsp)
movsd  %xmm2,0xe8(%rsp)
movsd  %xmm1,0xe0(%rsp)
movsd  %xmm0,0xd8(%rsp)
mov    %r15,0xd0(%rsp)
mov    %rdx,0xc8(%rsp)
mov    %rcx,0xc0(%rsp)
mov    %r8d,0xa0(%rsp)
jmp    1202 <contr_coulomb+0xf2>
nop
add    $0x1,%rbp
cmp    0xb8(%rsp),%rbp
je     14dd <contr_coulomb+0x3cd>
cmpl   $0x0,0x168(%rsp)
jle    11f0 <contr_coulomb+0xe0>
xor    %edi,%edi
mov    %rdi,0x98(%rsp)
mov    %rbp,0xa8(%rsp)
jmp    124e <contr_coulomb+0x13e>
mov    0x98(%rsp),%rbp
add    $0x1,%rbp
mov    %rbp,%rax
mov    0x168(%rsp),%ebp
mov    %rax,%rdi
mov    %rax,0x98(%rsp)
cmp    %rbp,%rax
mov    0xa8(%rsp),%rbp
je     11f0 <contr_coulomb+0xe0>
cmpl   $0x0,0x1a0(%rsp)
jle    1220 <contr_coulomb+0x110>
xor    %edi,%edi
jmp    127e <contr_coulomb+0x16e>
nopl   0x0(%rax)
add    $0x1,%rdi
mov    %rdi,%rbp
mov    0x1a0(%rsp),%edi
cmp    %rdi,%rbp
mov    %rbp,%rdi
mov    0x98(%rsp),%rbp
je     1228 <contr_coulomb+0x118>
cmpl   $0x0,0x1e0(%rsp)
jle    1260 <contr_coulomb+0x150>
xor    %ebp,%ebp
mov    %rdi,0xb0(%rsp)
mov    0xb0(%rsp),%rdi
nopw   0x0(%rax,%rax,1)
movsd  %xmm3,0x120(%rsp)
mov    0xa8(%rsp),%r12
movsd  (%rdx,%r12,8),%xmm0
mov    0x98(%rsp),%rdx
mov    0x178(%rsp),%rax
mulsd  (%rax,%rdx,8),%xmm0
mov    0x1b0(%rsp),%r9
mulsd  (%r9,%rdi,8),%xmm0
mulsd  (%rsi,%rbp,8),%xmm0
movsd  %xmm0,0x118(%rsp)
movsd  (%rcx,%r12,8),%xmm3
movsd  (%r15,%r12,8),%xmm4
mov    0x180(%rsp),%rax
movsd  (%rax,%rdx,8),%xmm8
mov    0x170(%rsp),%rax
movsd  (%rax,%rdx,8),%xmm9
mov    0x1b8(%rsp),%rax
movsd  (%rax,%rdi,8),%xmm12
mov    0x1a8(%rsp),%rax
movsd  (%rax,%rdi,8),%xmm13
movsd  0x0(%r13,%rbp,8),%xmm14
movsd  (%r10,%rbp,8),%xmm0
movsd  %xmm0,0x88(%rsp)
mov    0x228(%rsp),%eax
mov    %eax,0x80(%rsp)
mov    0x220(%rsp),%eax
mov    %eax,0x78(%rsp)
mov    %r14d,0x70(%rsp)
movsd  %xmm14,0x68(%rsp)
movsd  0x210(%rsp),%xmm0
movsd  %xmm0,0x60(%rsp)
movsd  0x208(%rsp),%xmm0
movsd  %xmm0,0x58(%rsp)
movsd  0x200(%rsp),%xmm0
movsd  %xmm0,0x50(%rsp)
movsd  %xmm13,0x48(%rsp)
mov    %r11d,0x40(%rsp)
mov    %ebx,0x38(%rsp)
mov    0x1c8(%rsp),%eax
mov    %eax,0x30(%rsp)
movsd  %xmm12,0x28(%rsp)
movsd  0x1c0(%rsp),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  %xmm7,0x18(%rsp)
movsd  %xmm6,0x10(%rsp)
movsd  %xmm9,0x8(%rsp)
movsd  %xmm8,(%rsp)
movapd %xmm15,%xmm0
mov    %r8d,%edi
mov    0xa4(%rsp),%esi
mov    0x160(%rsp),%edx
movaps %xmm11,%xmm6
movaps %xmm10,%xmm7
mov    0x188(%rsp),%ecx
mov    0x190(%rsp),%r8d
mov    0x198(%rsp),%r9d
call   1030 <coulomb_repulsion@plt>
mov    0xb0(%rsp),%rdi
movsd  0x120(%rsp),%xmm3
mov    0x1d8(%rsp),%r11d
mov    0x1e8(%rsp),%r10
mov    0x1f0(%rsp),%rsi
mov    0xd0(%rsp),%r15
mov    0xc8(%rsp),%rdx
mov    0xc0(%rsp),%rcx
movsd  0xd8(%rsp),%xmm15
movsd  0xe0(%rsp),%xmm1
movsd  0xe8(%rsp),%xmm2
mov    0xa0(%rsp),%r8d
mov    0x1d0(%rsp),%ebx
movsd  0xf0(%rsp),%xmm5
movsd  0xf8(%rsp),%xmm11
movsd  0x100(%rsp),%xmm10
movsd  0x108(%rsp),%xmm6
movsd  0x110(%rsp),%xmm7
mulsd  0x118(%rsp),%xmm0
addsd  %xmm0,%xmm3
add    $0x1,%rbp
mov    0x1e0(%rsp),%eax
cmp    %rbp,%rax
jne    12a0 <contr_coulomb+0x190>
jmp    1260 <contr_coulomb+0x150>
xorpd  %xmm3,%xmm3
movapd %xmm3,%xmm0
add    $0x128,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define double @contr_coulomb(i32 %0, double* %1, double* %2, double* %3, double %4, double %5, double %6, i32 %7, i32 %8, i32 %9, i32 %10, double* %11, double* %12, double* %13, double %14, double %15, double %16, i32 %17, i32 %18, i32 %19, i32 %20, double* %21, double* %22, double* %23, double %24, double %25, double %26, i32 %27, i32 %28, i32 %29, i32 %30, double* %31, double* %32, double* %33, double %34, double %35, double %36, i32 %37, i32 %38, i32 %39) {
%41 = alloca i32
%42 = alloca double*
%43 = alloca double*
%44 = alloca double*
%45 = alloca double
%46 = alloca double
%47 = alloca double
%48 = alloca i32
%49 = alloca i32
%50 = alloca i32
%51 = alloca i32
%52 = alloca double*
%53 = alloca double*
%54 = alloca double*
%55 = alloca double
%56 = alloca double
%57 = alloca double
%58 = alloca i32
%59 = alloca i32
%60 = alloca i32
%61 = alloca i32
%62 = alloca double*
%63 = alloca double*
%64 = alloca double*
%65 = alloca double
%66 = alloca double
%67 = alloca double
%68 = alloca i32
%69 = alloca i32
%70 = alloca i32
%71 = alloca i32
%72 = alloca double*
%73 = alloca double*
%74 = alloca double*
%75 = alloca double
%76 = alloca double
%77 = alloca double
%78 = alloca i32
%79 = alloca i32
%80 = alloca i32
%81 = alloca double
%82 = alloca i32
%83 = alloca i32
%84 = alloca i32
%85 = alloca i32
store i32 %0, i32* %41
store double* %1, double** %42
store double* %2, double** %43
store double* %3, double** %44
store double %4, double* %45
store double %5, double* %46
store double %6, double* %47
store i32 %7, i32* %48
store i32 %8, i32* %49
store i32 %9, i32* %50
store i32 %10, i32* %51
store double* %11, double** %52
store double* %12, double** %53
store double* %13, double** %54
store double %14, double* %55
store double %15, double* %56
store double %16, double* %57
store i32 %17, i32* %58
store i32 %18, i32* %59
store i32 %19, i32* %60
store i32 %20, i32* %61
store double* %21, double** %62
store double* %22, double** %63
store double* %23, double** %64
store double %24, double* %65
store double %25, double* %66
store double %26, double* %67
store i32 %27, i32* %68
store i32 %28, i32* %69
store i32 %29, i32* %70
store i32 %30, i32* %71
store double* %31, double** %72
store double* %32, double** %73
store double* %33, double** %74
store double %34, double* %75
store double %35, double* %76
store double %36, double* %77
store i32 %37, i32* %78
store i32 %38, i32* %79
store i32 %39, i32* %80
store double 0.000000e+00, double* %81
store i32 0, i32* %82
br label %86
86: ; preds = %208, %40
%87 = load i32, i32* %82
%88 = load i32, i32* %41
%89 = icmp slt i32 %87, %88
br i1 %89, label %90, label %211
90: ; preds = %86
store i32 0, i32* %83
br label %91
91: ; preds = %204, %90
%92 = load i32, i32* %83
%93 = load i32, i32* %51
%94 = icmp slt i32 %92, %93
br i1 %94, label %95, label %207
95: ; preds = %91
store i32 0, i32* %84
br label %96
96: ; preds = %200, %95
%97 = load i32, i32* %84
%98 = load i32, i32* %61
%99 = icmp slt i32 %97, %98
br i1 %99, label %100, label %203
100: ; preds = %96
store i32 0, i32* %85
br label %101
101: ; preds = %196, %100
%102 = load i32, i32* %85
%103 = load i32, i32* %71
%104 = icmp slt i32 %102, %103
br i1 %104, label %105, label %199
105: ; preds = %101
%106 = load double*, double** %43
%107 = load i32, i32* %82
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds double, double* %106, i64 %108
%110 = load double, double* %109
%111 = load double*, double** %53
%112 = load i32, i32* %83
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds double, double* %111, i64 %113
%115 = load double, double* %114
%116 = fmul double %110, %115
%117 = load double*, double** %63
%118 = load i32, i32* %84
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, double* %117, i64 %119
%121 = load double, double* %120
%122 = fmul double %116, %121
%123 = load double*, double** %73
%124 = load i32, i32* %85
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds double, double* %123, i64 %125
%127 = load double, double* %126
%128 = fmul double %122, %127
%129 = load double, double* %45
%130 = load double, double* %46
%131 = load double, double* %47
%132 = load double*, double** %44
%133 = load i32, i32* %82
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds double, double* %132, i64 %134
%136 = load double, double* %135
%137 = load i32, i32* %48
%138 = load i32, i32* %49
%139 = load i32, i32* %50
%140 = load double*, double** %42
%141 = load i32, i32* %82
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds double, double* %140, i64 %142
%144 = load double, double* %143
%145 = load double, double* %55
%146 = load double, double* %56
%147 = load double, double* %57
%148 = load double*, double** %54
%149 = load i32, i32* %83
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds double, double* %148, i64 %150
%152 = load double, double* %151
%153 = load i32, i32* %58
%154 = load i32, i32* %59
%155 = load i32, i32* %60
%156 = load double*, double** %52
%157 = load i32, i32* %83
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds double, double* %156, i64 %158
%160 = load double, double* %159
%161 = load double, double* %65
%162 = load double, double* %66
%163 = load double, double* %67
%164 = load double*, double** %64
%165 = load i32, i32* %84
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds double, double* %164, i64 %166
%168 = load double, double* %167
%169 = load i32, i32* %68
%170 = load i32, i32* %69
%171 = load i32, i32* %70
%172 = load double*, double** %62
%173 = load i32, i32* %84
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds double, double* %172, i64 %174
%176 = load double, double* %175
%177 = load double, double* %75
%178 = load double, double* %76
%179 = load double, double* %77
%180 = load double*, double** %74
%181 = load i32, i32* %85
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds double, double* %180, i64 %182
%184 = load double, double* %183
%185 = load i32, i32* %78
%186 = load i32, i32* %79
%187 = load i32, i32* %80
%188 = load double*, double** %72
%189 = load i32, i32* %85
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds double, double* %188, i64 %190
%192 = load double, double* %191
%193 = call double @coulomb_repulsion(double %129, double %130, double %131, double %136, i32 %137, i32 %138, i32 %139, double %144, double %145, double %146, double %147, double %152, i32 %153, i32 %154, i32 %155, double %160, double %161, double %162, double %163, double %168, i32 %169, i32 %170, i32 %171, double %176, double %177, double %178, double %179, double %184, i32 %185, i32 %186, i32 %187, double %192)
%194 = load double, double* %81
%195 = call double @llvm.fmuladd.f64(double %128, double %193, double %194)
store double %195, double* %81
br label %196
196: ; preds = %105
%197 = load i32, i32* %85
%198 = add nsw i32 %197, 1
store i32 %198, i32* %85
br label %101
199: ; preds = %101
br label %200
200: ; preds = %199
%201 = load i32, i32* %84
%202 = add nsw i32 %201, 1
store i32 %202, i32* %84
br label %96
203: ; preds = %96
br label %204
204: ; preds = %203
%205 = load i32, i32* %83
%206 = add nsw i32 %205, 1
store i32 %206, i32* %83
br label %91
207: ; preds = %91
br label %208
208: ; preds = %207
%209 = load i32, i32* %82
%210 = add nsw i32 %209, 1
store i32 %210, i32* %82
br label %86
211: ; preds = %86
%212 = load double, double* %81
ret double %212
}

LLVM IR (-O2):
define double @contr_coulomb(i32 %0, double* nocapture %1, double* nocapture %2, double* nocapture %3, double %4, double %5, double %6, i32 %7, i32 %8, i32 %9, i32 %10, double* nocapture %11, double* nocapture %12, double* nocapture %13, double %14, double %15, double %16, i32 %17, i32 %18, i32 %19, i32 %20, double* nocapture %21, double* nocapture %22, double* nocapture %23, double %24, double %25, double %26, i32 %27, i32 %28, i32 %29, i32 %30, double* nocapture %31, double* nocapture %32, double* nocapture %33, double %34, double %35, double %36, i32 %37, i32 %38, i32 %39) {
%41 = icmp sgt i32 %0, 0
br i1 %41, label %42, label %108
42: ; preds = %40
%43 = icmp sgt i32 %10, 0
%44 = icmp sgt i32 %20, 0
%45 = icmp sgt i32 %30, 0
%46 = zext i32 %0 to i64
%47 = zext i32 %10 to i64
%48 = zext i32 %20 to i64
%49 = zext i32 %30 to i64
br label %50
50: ; preds = %42, %104
%51 = phi i64 [ 0, %42 ], [ %106, %104 ]
%52 = phi double [ 0.000000e+00, %42 ], [ %105, %104 ]
br i1 %43, label %53, label %104
53: ; preds = %50
%54 = getelementptr inbounds double, double* %2, i64 %51
%55 = getelementptr inbounds double, double* %3, i64 %51
%56 = getelementptr inbounds double, double* %1, i64 %51
br label %57
57: ; preds = %53, %100
%58 = phi i64 [ 0, %53 ], [ %102, %100 ]
%59 = phi double [ %52, %53 ], [ %101, %100 ]
br i1 %44, label %60, label %100
60: ; preds = %57
%61 = getelementptr inbounds double, double* %12, i64 %58
%62 = getelementptr inbounds double, double* %13, i64 %58
%63 = getelementptr inbounds double, double* %11, i64 %58
br label %64
64: ; preds = %60, %96
%65 = phi i64 [ 0, %60 ], [ %98, %96 ]
%66 = phi double [ %59, %60 ], [ %97, %96 ]
br i1 %45, label %67, label %96
67: ; preds = %64
%68 = getelementptr inbounds double, double* %22, i64 %65
%69 = getelementptr inbounds double, double* %23, i64 %65
%70 = getelementptr inbounds double, double* %21, i64 %65
br label %71
71: ; preds = %67, %71
%72 = phi i64 [ 0, %67 ], [ %94, %71 ]
%73 = phi double [ %66, %67 ], [ %93, %71 ]
%74 = load double, double* %54
%75 = load double, double* %61
%76 = fmul double %74, %75
%77 = load double, double* %68
%78 = fmul double %76, %77
%79 = getelementptr inbounds double, double* %32, i64 %72
%80 = load double, double* %79
%81 = fmul double %78, %80
%82 = load double, double* %55
%83 = load double, double* %56
%84 = load double, double* %62
%85 = load double, double* %63
%86 = load double, double* %69
%87 = load double, double* %70
%88 = getelementptr inbounds double, double* %33, i64 %72
%89 = load double, double* %88
%90 = getelementptr inbounds double, double* %31, i64 %72
%91 = load double, double* %90
%92 = tail call double @coulomb_repulsion(double %4, double %5, double %6, double %82, i32 %7, i32 %8, i32 %9, double %83, double %14, double %15, double %16, double %84, i32 %17, i32 %18, i32 %19, double %85, double %24, double %25, double %26, double %86, i32 %27, i32 %28, i32 %29, double %87, double %34, double %35, double %36, double %89, i32 %37, i32 %38, i32 %39, double %91)
%93 = tail call double @llvm.fmuladd.f64(double %81, double %92, double %73)
%94 = add nuw nsw i64 %72, 1
%95 = icmp eq i64 %94, %49
br i1 %95, label %96, label %71
96: ; preds = %71, %64
%97 = phi double [ %66, %64 ], [ %93, %71 ]
%98 = add nuw nsw i64 %65, 1
%99 = icmp eq i64 %98, %48
br i1 %99, label %100, label %64
100: ; preds = %96, %57
%101 = phi double [ %59, %57 ], [ %97, %96 ]
%102 = add nuw nsw i64 %58, 1
%103 = icmp eq i64 %102, %47
br i1 %103, label %104, label %57
104: ; preds = %100, %50
%105 = phi double [ %52, %50 ], [ %101, %100 ]
%106 = add nuw nsw i64 %51, 1
%107 = icmp eq i64 %106, %46
br i1 %107, label %108, label %50
108: ; preds = %104, %40
%109 = phi double [ 0.000000e+00, %40 ], [ %105, %104 ]
ret double %109
}