#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 */
int /*<<< orphan*/ MR1calccoulomb_tree(double *, int, double *, double, int,
                                       double, int, int, double *);
void(mr1calccoulomb_tree__)(double *x, int *n, double *chg, double *rscale,
                            int *tblno, double *xmax, int *periodicflag,
                            int *natchangeflag, double *force) {
  MR1calccoulomb_tree(x, *n, chg, *rscale, *tblno, *xmax, *periodicflag,
                      *natchangeflag, force);
}


x86 assembly (clang, -O0):
<mr1calccoulomb_tree__>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rax
mov    (%rax),%esi
mov    -0x18(%rbp),%rdx
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x28(%rbp),%rax
mov    (%rax),%ecx
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm1
mov    0x10(%rbp),%rax
mov    (%rax),%r8d
mov    0x18(%rbp),%rax
mov    (%rax),%r9d
mov    0x20(%rbp),%rax
mov    %rax,(%rsp)
call   1030 <MR1calccoulomb_tree@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mr1calccoulomb_tree__>:
push   %rax
mov    0x20(%rsp),%r10
mov    0x18(%rsp),%r11
mov    0x10(%rsp),%rax
mov    (%rsi),%esi
movsd  (%rcx),%xmm0
mov    (%r8),%ecx
movsd  (%r9),%xmm1
mov    (%rax),%r8d
mov    (%r11),%r9d
mov    %r10,(%rsp)
call   1030 <MR1calccoulomb_tree@plt>
pop    %rax
ret

LLVM IR (-O0):
define void @mr1calccoulomb_tree__(double* %0, i32* %1, double* %2, double* %3, i32* %4, double* %5, i32* %6, i32* %7, double* %8) {
%10 = alloca double*
%11 = alloca i32*
%12 = alloca double*
%13 = alloca double*
%14 = alloca i32*
%15 = alloca double*
%16 = alloca i32*
%17 = alloca i32*
%18 = alloca double*
store double* %0, double** %10
store i32* %1, i32** %11
store double* %2, double** %12
store double* %3, double** %13
store i32* %4, i32** %14
store double* %5, double** %15
store i32* %6, i32** %16
store i32* %7, i32** %17
store double* %8, double** %18
%19 = load double*, double** %10
%20 = load i32*, i32** %11
%21 = load i32, i32* %20
%22 = load double*, double** %12
%23 = load double*, double** %13
%24 = load double, double* %23
%25 = load i32*, i32** %14
%26 = load i32, i32* %25
%27 = load double*, double** %15
%28 = load double, double* %27
%29 = load i32*, i32** %16
%30 = load i32, i32* %29
%31 = load i32*, i32** %17
%32 = load i32, i32* %31
%33 = load double*, double** %18
%34 = call i32 @MR1calccoulomb_tree(double* %19, i32 %21, double* %22, double %24, i32 %26, double %28, i32 %30, i32 %32, double* %33)
ret void
}

LLVM IR (-O2):
define void @mr1calccoulomb_tree__(double* %0, i32* nocapture %1, double* %2, double* nocapture %3, i32* nocapture %4, double* nocapture %5, i32* nocapture %6, i32* nocapture %7, double* %8) {
%10 = load i32, i32* %1
%11 = load double, double* %3
%12 = load i32, i32* %4
%13 = load double, double* %5
%14 = load i32, i32* %6
%15 = load i32, i32* %7
%16 = tail call i32 @MR1calccoulomb_tree(double* %0, i32 %10, double* %2, double %11, i32 %12, double %13, i32 %14, i32 %15, double* %8)
ret void
}