#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 int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
scalar_t__ feof(int /*<<< orphan*/ *);
int /*<<< orphan*/ fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fscanf(int /*<<< orphan*/ *, char *, int *, ...);
int /*<<< orphan*/ nrerror(char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ sphbes(int, float, float *, float *, float *, float *);
scalar_t__ strncmp(char *, char *, int);
int main(void) {
  char txt[80];
  int i, n, nval;
  float sj, sy, sjp, syp, x, xsj, xsy, xsjp, xsyp;
  FILE *fp;
  if ((fp = fopen("fncval.dat", "r")) == NULL)
    nrerror("Data file fncval.dat not found\n");
  fgets(txt, 80, fp);
  while (strncmp(txt, "Spherical Bessel Functions", 26)) {
    fgets(txt, 80, fp);
    if (feof(fp))
      nrerror("Data not found in fncval.dat\n");
  }
  fscanf(fp, "%d %*s", &nval);
  printf("\n%s\n", txt);
  for (i = 1; i <= nval; i++) {
    fscanf(fp, "%d %f %f %f %f %f", &n, &x, &sj, &sy, &sjp, &syp);
    printf("%5s %4s\n%14s %16s %17s %16s\n%14s %16s %17s %16s\n", "n", "x",
           "sj", "sy", "sjp", "syp", "xsj", "xsy", "xsjp", "xsyp");
    sphbes(n, x, &xsj, &xsy, &xsjp, &xsyp);
    printf("%5d %5.2f\n\t%16.6e %16.6e %16.6e %16.6e\n", n, x, sj, sy, sjp,
           syp);
    printf("\t%16.6e %16.6e %16.6e %16.6e\n", xsj, xsy, xsjp, xsyp);
  }
  fclose(fp);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r14
push   %rbx
sub    $0xc0,%rsp
movl   $0x0,-0x14(%rbp)
lea    0xe54(%rip),%rdi
lea    0xe58(%rip),%rsi
call   10b0 <fopen@plt>
mov    %rax,-0xa8(%rbp)
cmp    $0x0,%rax
jne    11d5 <main+0x45>
lea    0xe3d(%rip),%rdi
call   1040 <nrerror@plt>
lea    -0x70(%rbp),%rdi
mov    -0xa8(%rbp),%rdx
mov    $0x50,%esi
call   1080 <fgets@plt>
lea    -0x70(%rbp),%rdi
lea    0xe38(%rip),%rsi
mov    $0x1a,%edx
call   1030 <strncmp@plt>
cmp    $0x0,%rax
je     1245 <main+0xb5>
lea    -0x70(%rbp),%rdi
mov    -0xa8(%rbp),%rdx
mov    $0x50,%esi
call   1080 <fgets@plt>
mov    -0xa8(%rbp),%rdi
call   1090 <feof@plt>
cmp    $0x0,%rax
je     1240 <main+0xb0>
lea    0xe0d(%rip),%rdi
call   1040 <nrerror@plt>
jmp    11ea <main+0x5a>
mov    -0xa8(%rbp),%rdi
lea    0xe13(%rip),%rsi
lea    -0x7c(%rbp),%rdx
mov    $0x0,%al
call   1070 <fscanf@plt>
lea    -0x70(%rbp),%rsi
lea    0xe04(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movl   $0x1,-0x74(%rbp)
mov    -0x74(%rbp),%eax
cmp    -0x7c(%rbp),%eax
jg     13f3 <main+0x263>
mov    -0xa8(%rbp),%rdi
lea    0xde1(%rip),%rsi
lea    -0x78(%rbp),%rdx
lea    -0x90(%rbp),%rcx
lea    -0x80(%rbp),%r8
lea    -0x84(%rbp),%r9
lea    -0x88(%rbp),%r10
lea    -0x8c(%rbp),%rax
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
mov    $0x0,%al
call   1070 <fscanf@plt>
lea    0xdb8(%rip),%rdi
lea    0xde2(%rip),%rsi
lea    0xddd(%rip),%rdx
lea    0xdd9(%rip),%rcx
lea    0xdd6(%rip),%r8
lea    0xdd3(%rip),%r9
lea    0xdd1(%rip),%r14
lea    0xdbc(%rip),%rbx
lea    0xdb9(%rip),%r11
lea    0xdb6(%rip),%r10
lea    0xdb4(%rip),%rax
mov    %r14,(%rsp)
mov    %rbx,0x8(%rsp)
mov    %r11,0x10(%rsp)
mov    %r10,0x18(%rsp)
mov    %rax,0x20(%rsp)
mov    $0x0,%al
call   1060 <printf@plt>
mov    -0x78(%rbp),%edi
movss  -0x90(%rbp),%xmm0
ff
lea    -0x94(%rbp),%rsi
lea    -0x98(%rbp),%rdx
lea    -0x9c(%rbp),%rcx
lea    -0xa0(%rbp),%r8
call   10a0 <sphbes@plt>
mov    -0x78(%rbp),%esi
movss  -0x90(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movss  -0x80(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  -0x84(%rbp),%xmm2
ff
cvtss2sd %xmm2,%xmm2
movss  -0x88(%rbp),%xmm3
ff
cvtss2sd %xmm3,%xmm3
movss  -0x8c(%rbp),%xmm4
ff
cvtss2sd %xmm4,%xmm4
lea    0xd2b(%rip),%rdi
mov    $0x5,%al
call   1060 <printf@plt>
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movss  -0x98(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movss  -0x9c(%rbp),%xmm2
ff
cvtss2sd %xmm2,%xmm2
movss  -0xa0(%rbp),%xmm3
ff
cvtss2sd %xmm3,%xmm3
lea    0xcf7(%rip),%rdi
mov    $0x4,%al
call   1060 <printf@plt>
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    1277 <main+0xe7>
mov    -0xa8(%rbp),%rdi
call   1050 <fclose@plt>
xor    %eax,%eax
add    $0xc0,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x88,%rsp
lea    0xe58(%rip),%rdi
lea    0xe5c(%rip),%rsi
call   10b0 <fopen@plt>
mov    %rax,%rbx
test   %rax,%rax
jne    11c8 <main+0x38>
lea    0xe4a(%rip),%rdi
call   1040 <nrerror@plt>
lea    0x30(%rsp),%rbp
mov    %rbp,%rdi
mov    $0x50,%esi
mov    %rbx,%rdx
call   1080 <fgets@plt>
lea    0xe49(%rip),%rsi
mov    %rbp,%rdi
mov    $0x1a,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     124c <main+0xbc>
lea    0x30(%rsp),%rbp
lea    0xe2b(%rip),%r14
lea    0xe3f(%rip),%r15
jmp    1225 <main+0x95>
nopl   0x0(%rax,%rax,1)
mov    %rbp,%rdi
mov    %r14,%rsi
mov    $0x1a,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     124c <main+0xbc>
mov    %rbp,%rdi
mov    $0x50,%esi
mov    %rbx,%rdx
call   1080 <fgets@plt>
mov    %rbx,%rdi
call   1090 <feof@plt>
test   %rax,%rax
je     1210 <main+0x80>
mov    %r15,%rdi
call   1040 <nrerror@plt>
jmp    1210 <main+0x80>
lea    0xe13(%rip),%rsi
lea    0x8(%rsp),%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <fscanf@plt>
lea    0xe04(%rip),%rdi
lea    0x30(%rsp),%rsi
xor    %eax,%eax
call   1060 <printf@plt>
cmpl   $0x0,0x8(%rsp)
jle    13d4 <main+0x244>
lea    0x10(%rsp),%r13
lea    0xe3f(%rip),%r14
lea    0xe42(%rip),%r15
xor    %r12d,%r12d
cs nopw 0x0(%rax,%rax,1)
mov    %rbx,%rdi
lea    0xdc8(%rip),%rsi
lea    0xc(%rsp),%rdx
lea    0x4(%rsp),%rcx
lea    0x2c(%rsp),%r8
lea    0x28(%rsp),%r9
xor    %eax,%eax
lea    0x20(%rsp),%rbp
push   %rbp
lea    0x2c(%rsp),%rbp
push   %rbp
call   1070 <fscanf@plt>
add    $0x8,%rsp
lea    0xda8(%rip),%rdi
lea    0xdd2(%rip),%rsi
lea    0xdcd(%rip),%rdx
lea    0xdc9(%rip),%rcx
lea    0xdc6(%rip),%r8
lea    0xdc3(%rip),%r9
xor    %eax,%eax
lea    0xdbe(%rip),%rbp
push   %rbp
lea    0xdb1(%rip),%rbp
push   %rbp
lea    0xda5(%rip),%rbp
push   %rbp
lea    0xd99(%rip),%rbp
push   %rbp
lea    0xd9f(%rip),%rbp
push   %rbp
call   1060 <printf@plt>
add    $0x30,%rsp
mov    0xc(%rsp),%edi
movss  0x4(%rsp),%xmm0
lea    0x1c(%rsp),%rsi
lea    0x18(%rsp),%rdx
lea    0x14(%rsp),%rcx
mov    %r13,%r8
call   10a0 <sphbes@plt>
mov    0xc(%rsp),%esi
movss  0x4(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x2c(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  0x28(%rsp),%xmm2
cvtss2sd %xmm2,%xmm2
movss  0x24(%rsp),%xmm3
cvtss2sd %xmm3,%xmm3
movss  0x20(%rsp),%xmm4
cvtss2sd %xmm4,%xmm4
mov    %r14,%rdi
mov    $0x5,%al
call   1060 <printf@plt>
movss  0x1c(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0x18(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  0x14(%rsp),%xmm2
cvtss2sd %xmm2,%xmm2
movss  0x10(%rsp),%xmm3
cvtss2sd %xmm3,%xmm3
mov    %r15,%rdi
mov    $0x4,%al
call   1060 <printf@plt>
add    $0x1,%r12d
cmp    0x8(%rsp),%r12d
jl     12a0 <main+0x110>
mov    %rbx,%rdi
call   1050 <fclose@plt>
xor    %eax,%eax
add    $0x88,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [11 x i8] c"fncval.dat\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [32 x i8] c"Data file fncval.dat not found\0A\00"
@.str.3 = [27 x i8] c"Spherical Bessel Functions\00"
@.str.4 = [30 x i8] c"Data not found in fncval.dat\0A\00"
@.str.5 = [7 x i8] c"%d %*s\00"
@.str.6 = [5 x i8] c"\0A%s\0A\00"
@.str.7 = [18 x i8] c"%d %f %f %f %f %f\00"
@.str.8 = [49 x i8] c"%5s %4s\0A%14s %16s %17s %16s\0A%14s %16s %17s %16s\0A\00"
@.str.9 = [2 x i8] c"n\00"
@.str.10 = [2 x i8] c"x\00"
@.str.11 = [3 x i8] c"sj\00"
@.str.12 = [3 x i8] c"sy\00"
@.str.13 = [4 x i8] c"sjp\00"
@.str.14 = [4 x i8] c"syp\00"
@.str.15 = [4 x i8] c"xsj\00"
@.str.16 = [4 x i8] c"xsy\00"
@.str.17 = [5 x i8] c"xsjp\00"
@.str.18 = [5 x i8] c"xsyp\00"
@.str.19 = [40 x i8] c"%5d %5.2f\0A\09%16.6e %16.6e %16.6e %16.6e\0A\00"
@.str.20 = [30 x i8] c"\09%16.6e %16.6e %16.6e %16.6e\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [80 x i8]
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca float
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca float
%11 = alloca float
%12 = alloca float
%13 = alloca float
%14 = alloca float
%15 = alloca i32*
store i32 0, i32* %1
%16 = call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %16, i32** %15
%17 = icmp eq i32* %16, null
br i1 %17, label %18, label %20
18: ; preds = %0
%19 = call i32 @nrerror(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0))
br label %20
20: ; preds = %18, %0
%21 = getelementptr inbounds [80 x i8], [80 x i8]* %2, i64 0, i64 0
%22 = load i32*, i32** %15
%23 = call i32 @fgets(i8* %21, i32 80, i32* %22)
br label %24
24: ; preds = %37, %20
%25 = getelementptr inbounds [80 x i8], [80 x i8]* %2, i64 0, i64 0
%26 = call i64 @strncmp(i8* %25, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 26)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %38
28: ; preds = %24
%29 = getelementptr inbounds [80 x i8], [80 x i8]* %2, i64 0, i64 0
%30 = load i32*, i32** %15
%31 = call i32 @fgets(i8* %29, i32 80, i32* %30)
%32 = load i32*, i32** %15
%33 = call i64 @feof(i32* %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %28
%36 = call i32 @nrerror(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0))
br label %37
37: ; preds = %35, %28
br label %24
38: ; preds = %24
%39 = load i32*, i32** %15
%40 = call i32 (i32*, i8*, i32*, ...) @fscanf(i32* %39, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i32* %5)
%41 = getelementptr inbounds [80 x i8], [80 x i8]* %2, i64 0, i64 0
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* %41)
store i32 1, i32* %3
br label %43
43: ; preds = %75, %38
%44 = load i32, i32* %3
%45 = load i32, i32* %5
%46 = icmp sle i32 %44, %45
br i1 %46, label %47, label %78
47: ; preds = %43
%48 = load i32*, i32** %15
%49 = call i32 (i32*, i8*, i32*, ...) @fscanf(i32* %48, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0), i32* %4, float* %10, float* %6, float* %7, float* %8, float* %9)
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%51 = load i32, i32* %4
%52 = load float, float* %10
%53 = call i32 @sphbes(i32 %51, float %52, float* %11, float* %12, float* %13, float* %14)
%54 = load i32, i32* %4
%55 = load float, float* %10
%56 = fpext float %55 to double
%57 = load float, float* %6
%58 = fpext float %57 to double
%59 = load float, float* %7
%60 = fpext float %59 to double
%61 = load float, float* %8
%62 = fpext float %61 to double
%63 = load float, float* %9
%64 = fpext float %63 to double
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.19, i64 0, i64 0), i32 %54, double %56, double %58, double %60, double %62, double %64)
%66 = load float, float* %11
%67 = fpext float %66 to double
%68 = load float, float* %12
%69 = fpext float %68 to double
%70 = load float, float* %13
%71 = fpext float %70 to double
%72 = load float, float* %14
%73 = fpext float %72 to double
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.20, i64 0, i64 0), double %67, double %69, double %71, double %73)
br label %75
75: ; preds = %47
%76 = load i32, i32* %3
%77 = add nsw i32 %76, 1
store i32 %77, i32* %3
br label %43
78: ; preds = %43
%79 = load i32*, i32** %15
%80 = call i32 @fclose(i32* %79)
ret i32 0
}

LLVM IR (-O2):
@.str = [11 x i8] c"fncval.dat\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [32 x i8] c"Data file fncval.dat not found\0A\00"
@.str.3 = [27 x i8] c"Spherical Bessel Functions\00"
@.str.4 = [30 x i8] c"Data not found in fncval.dat\0A\00"
@.str.5 = [7 x i8] c"%d %*s\00"
@.str.6 = [5 x i8] c"\0A%s\0A\00"
@.str.7 = [18 x i8] c"%d %f %f %f %f %f\00"
@.str.8 = [49 x i8] c"%5s %4s\0A%14s %16s %17s %16s\0A%14s %16s %17s %16s\0A\00"
@.str.9 = [2 x i8] c"n\00"
@.str.10 = [2 x i8] c"x\00"
@.str.11 = [3 x i8] c"sj\00"
@.str.12 = [3 x i8] c"sy\00"
@.str.13 = [4 x i8] c"sjp\00"
@.str.14 = [4 x i8] c"syp\00"
@.str.15 = [4 x i8] c"xsj\00"
@.str.16 = [4 x i8] c"xsy\00"
@.str.17 = [5 x i8] c"xsjp\00"
@.str.18 = [5 x i8] c"xsyp\00"
@.str.19 = [40 x i8] c"%5d %5.2f\0A\09%16.6e %16.6e %16.6e %16.6e\0A\00"
@.str.20 = [30 x i8] c"\09%16.6e %16.6e %16.6e %16.6e\0A\00"
define i32 @main() {
%1 = alloca [80 x i8]
%2 = alloca i32
%3 = alloca i32
%4 = alloca float
%5 = alloca float
%6 = alloca float
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca float
%11 = alloca float
%12 = alloca float
%13 = getelementptr inbounds [80 x i8], [80 x i8]* %1, i64 0, i64 0
%14 = bitcast i32* %2 to i8*
%15 = bitcast i32* %3 to i8*
%16 = bitcast float* %4 to i8*
%17 = bitcast float* %5 to i8*
%18 = bitcast float* %6 to i8*
%19 = bitcast float* %7 to i8*
%20 = bitcast float* %8 to i8*
%21 = bitcast float* %9 to i8*
%22 = bitcast float* %10 to i8*
%23 = bitcast float* %11 to i8*
%24 = bitcast float* %12 to i8*
%25 = tail call i32* @fopen(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%26 = icmp eq i32* %25, null
br i1 %26, label %27, label %29
27: ; preds = %0
%28 = tail call i32 @nrerror(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0))
br label %29
29: ; preds = %27, %0
%30 = call i32 @fgets(i8* %13, i32 80, i32* %25)
%31 = call i64 @strncmp(i8* %13, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 26)
%32 = icmp eq i64 %31, 0
br i1 %32, label %42, label %33
33: ; preds = %29, %39
%34 = call i32 @fgets(i8* %13, i32 80, i32* %25)
%35 = call i64 @feof(i32* %25)
%36 = icmp eq i64 %35, 0
br i1 %36, label %39, label %37
37: ; preds = %33
%38 = call i32 @nrerror(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.4, i64 0, i64 0))
br label %39
39: ; preds = %37, %33
%40 = call i64 @strncmp(i8* %13, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0), i32 26)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %33
42: ; preds = %39, %29
%43 = call i32 (i32*, i8*, i32*, ...) @fscanf(i32* %25, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i32* %3)
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* %13)
%45 = load i32, i32* %3
%46 = icmp slt i32 %45, 1
br i1 %46, label %78, label %47
47: ; preds = %42, %47
%48 = phi i32 [ %75, %47 ], [ 1, %42 ]
%49 = call i32 (i32*, i8*, i32*, ...) @fscanf(i32* %25, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.7, i64 0, i64 0), i32* %2, float* %8, float* %4, float* %5, float* %6, float* %7)
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.18, i64 0, i64 0))
%51 = load i32, i32* %2
%52 = load float, float* %8
%53 = call i32 @sphbes(i32 %51, float %52, float* %9, float* %10, float* %11, float* %12)
%54 = load i32, i32* %2
%55 = load float, float* %8
%56 = fpext float %55 to double
%57 = load float, float* %4
%58 = fpext float %57 to double
%59 = load float, float* %5
%60 = fpext float %59 to double
%61 = load float, float* %6
%62 = fpext float %61 to double
%63 = load float, float* %7
%64 = fpext float %63 to double
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.19, i64 0, i64 0), i32 %54, double %56, double %58, double %60, double %62, double %64)
%66 = load float, float* %9
%67 = fpext float %66 to double
%68 = load float, float* %10
%69 = fpext float %68 to double
%70 = load float, float* %11
%71 = fpext float %70 to double
%72 = load float, float* %12
%73 = fpext float %72 to double
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.20, i64 0, i64 0), double %67, double %69, double %71, double %73)
%75 = add nuw nsw i32 %48, 1
%76 = load i32, i32* %3
%77 = icmp slt i32 %48, %76
br i1 %77, label %47, label %78
78: ; preds = %47, %42
%79 = call i32 @fclose(i32* %25)
ret i32 0
}