#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 */
float d2y1(float);
float d2y2(float);
int /*<<< orphan*/ derivs(double, float *, float *);
int /*<<< orphan*/ free_vector(float *, int, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stoerm(float *, float *, int, double, double, int, float *,
                          int /*<<< orphan*/ (*)(double, float *, float *));
float *vector(int, int);
int main(void) {
  int i;
  float a1, a2, xf, *y, *yout, *d2y;
  y = vector(1, 4);
  yout = vector(1, 4);
  d2y = vector(1, 4);
  y[1] = 0.0;
  y[2] = -1.0;
  y[3] = 2.0;
  y[4] = 0.0;
  derivs(0.0, y, d2y);
  xf = 0.0 + 1.570796;
  a1 = d2y1(xf);
  a2 = d2y2(xf);
  printf("Stoermer's Rule:\n");
  for (i = 5; i <= 45; i += 10) {
    stoerm(y, d2y, 4, 0.0, 1.570796, i, yout, derivs);
    printf("\n%s %5.2f %s %5.2f %s %2d %s \n", "x=", 0.0, " to ",
           0.0 + 1.570796, " in ", i, " steps");
    printf("%14s %9s\n", "integration", "answers");
    printf("%12.6f %12.6f\n", yout[1], a1);
    printf("%12.6f %12.6f\n", yout[2], a2);
  }
  free_vector(d2y, 1, 4);
  free_vector(yout, 1, 4);
  free_vector(y, 1, 4);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x1,%edi
mov    $0x4,%esi
call   1070 <vector@plt>
mov    %rax,-0x20(%rbp)
mov    $0x1,%edi
mov    $0x4,%esi
call   1070 <vector@plt>
mov    %rax,-0x28(%rbp)
mov    $0x1,%edi
mov    $0x4,%esi
call   1070 <vector@plt>
mov    %rax,-0x30(%rbp)
mov    -0x20(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x4(%rax)
mov    -0x20(%rbp),%rax
movss  0xe48(%rip),%xmm0
movss  %xmm0,0x8(%rax)
mov    -0x20(%rbp),%rax
movss  0xe33(%rip),%xmm0
movss  %xmm0,0xc(%rax)
mov    -0x20(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x10(%rax)
mov    -0x20(%rbp),%rdi
mov    -0x30(%rbp),%rsi
xorps  %xmm0,%xmm0
call   1090 <derivs@plt>
movss  0xe06(%rip),%xmm0
movss  %xmm0,-0x14(%rbp)
movss  -0x14(%rbp),%xmm0
call   1080 <d2y1@plt>
movss  %xmm0,-0xc(%rbp)
movss  -0x14(%rbp),%xmm0
call   1040 <d2y2@plt>
movss  %xmm0,-0x10(%rbp)
lea    0xdf4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x5,-0x8(%rbp)
cmpl   $0x2d,-0x8(%rbp)
jg     1312 <main+0x1b2>
mov    -0x20(%rbp),%rdi
mov    -0x30(%rbp),%rsi
mov    -0x8(%rbp),%ecx
mov    -0x28(%rbp),%r8
mov    $0x4,%edx
xorps  %xmm0,%xmm0
movsd  0xdb5(%rip),%xmm1
mov    0x2d86(%rip),%r9
call   1030 <stoerm@plt>
mov    -0x8(%rbp),%r8d
lea    0xdb8(%rip),%rdi
lea    0xdd0(%rip),%rsi
xorps  %xmm0,%xmm0
lea    0xdc9(%rip),%rdx
movsd  0xd85(%rip),%xmm1
lea    0xdbf(%rip),%rcx
lea    0xdbd(%rip),%r9
mov    $0x2,%al
call   1050 <printf@plt>
lea    0xdb6(%rip),%rdi
lea    0xdb9(%rip),%rsi
lea    0xdbe(%rip),%rdx
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x28(%rbp),%rax
movss  0x4(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0xc(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xda2(%rip),%rdi
mov    $0x2,%al
call   1050 <printf@plt>
mov    -0x28(%rbp),%rax
movss  0x8(%rax),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x10(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xd7e(%rip),%rdi
mov    $0x2,%al
call   1050 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0xa,%eax
mov    %eax,-0x8(%rbp)
jmp    1232 <main+0xd2>
mov    -0x30(%rbp),%rdi
mov    $0x1,%esi
mov    $0x4,%edx
call   1060 <free_vector@plt>
mov    -0x28(%rbp),%rdi
mov    $0x1,%esi
mov    $0x4,%edx
call   1060 <free_vector@plt>
mov    -0x20(%rbp),%rdi
mov    $0x1,%esi
mov    $0x4,%edx
call   1060 <free_vector@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    $0x1,%edi
mov    $0x4,%esi
call   1080 <vector@plt>
mov    %rax,%r14
mov    $0x1,%edi
mov    $0x4,%esi
call   1080 <vector@plt>
mov    %rax,%rbx
mov    $0x1,%edi
mov    $0x4,%esi
call   1080 <vector@plt>
mov    %rax,%r15
movaps 0xe45(%rip),%xmm0
movups %xmm0,0x4(%r14)
xorps  %xmm0,%xmm0
mov    %r14,%rdi
mov    %rax,%rsi
call   10a0 <derivs@plt>
mov    0x2e13(%rip),%rbp
movss  0xe33(%rip),%xmm0
call   1090 <d2y1@plt>
movss  %xmm0,(%rsp)
movss  0xe21(%rip),%xmm0
call   1050 <d2y2@plt>
movss  %xmm0,0x14(%rsp)
lea    0xe7f(%rip),%rdi
call   1030 <puts@plt>
movss  (%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x8(%rsp)
movss  0x14(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,(%rsp)
movsd  0xdec(%rip),%xmm1
xorps  %xmm0,%xmm0
mov    %r14,%rdi
mov    %r15,%rsi
mov    $0x4,%edx
mov    $0x5,%ecx
mov    %rbx,%r8
mov    %rbp,%r9
call   1040 <stoerm@plt>
lea    0xdcf(%rip),%rdi
lea    0xde7(%rip),%rsi
lea    0xde3(%rip),%rdx
lea    0xde1(%rip),%rcx
lea    0xddf(%rip),%r13
xorps  %xmm0,%xmm0
movsd  0xda0(%rip),%xmm1
mov    $0x5,%r8d
mov    %r13,%r9
mov    $0x2,%al
call   1060 <printf@plt>
lea    0xdc4(%rip),%rdi
lea    0xdc7(%rip),%rsi
lea    0xdcc(%rip),%rdx
xor    %eax,%eax
call   1060 <printf@plt>
movss  0x4(%rbx),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdbd(%rip),%r12
mov    %r12,%rdi
movsd  0x8(%rsp),%xmm1
mov    $0x2,%al
call   1060 <printf@plt>
movss  0x8(%rbx),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
movsd  (%rsp),%xmm1
mov    $0x2,%al
call   1060 <printf@plt>
xorps  %xmm0,%xmm0
mov    %r14,%rdi
mov    %r15,%rsi
mov    $0x4,%edx
movsd  0xd26(%rip),%xmm1
mov    $0xf,%ecx
mov    %rbx,%r8
mov    %rbp,%r9
call   1040 <stoerm@plt>
xorps  %xmm0,%xmm0
lea    0xd14(%rip),%rdi
lea    0xd2c(%rip),%rsi
lea    0xd28(%rip),%rdx
movsd  0xcf6(%rip),%xmm1
lea    0xd1e(%rip),%rcx
mov    $0xf,%r8d
mov    %r13,%r9
mov    $0x2,%al
call   1060 <printf@plt>
lea    0xd13(%rip),%rdi
lea    0xd16(%rip),%rsi
lea    0xd1b(%rip),%rdx
xor    %eax,%eax
call   1060 <printf@plt>
movss  0x4(%rbx),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
movsd  0x8(%rsp),%xmm1
mov    $0x2,%al
call   1060 <printf@plt>
movss  0x8(%rbx),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
movsd  (%rsp),%xmm1
mov    $0x2,%al
call   1060 <printf@plt>
xorps  %xmm0,%xmm0
mov    %r14,%rdi
mov    %r15,%rsi
mov    $0x4,%edx
movsd  0xc7c(%rip),%xmm1
mov    $0x19,%ecx
mov    %rbx,%r8
mov    %rbp,%r9
call   1040 <stoerm@plt>
xorps  %xmm0,%xmm0
lea    0xc6a(%rip),%rdi
lea    0xc82(%rip),%rsi
lea    0xc7e(%rip),%rdx
movsd  0xc4c(%rip),%xmm1
lea    0xc74(%rip),%rcx
mov    $0x19,%r8d
mov    %r13,%r9
mov    $0x2,%al
call   1060 <printf@plt>
lea    0xc69(%rip),%rdi
lea    0xc6c(%rip),%rsi
mov    %rsi,%r13
lea    0xc6e(%rip),%rdx
xor    %eax,%eax
call   1060 <printf@plt>
movss  0x4(%rbx),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
movsd  0x8(%rsp),%xmm1
mov    $0x2,%al
call   1060 <printf@plt>
movss  0x8(%rbx),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
movsd  (%rsp),%xmm1
mov    $0x2,%al
call   1060 <printf@plt>
xorps  %xmm0,%xmm0
mov    %r14,%rdi
mov    %r15,%rsi
mov    $0x4,%edx
movsd  0xbcf(%rip),%xmm1
mov    $0x23,%ecx
mov    %rbx,%r8
mov    %rbp,%r9
call   1040 <stoerm@plt>
xorps  %xmm0,%xmm0
lea    0xbbd(%rip),%rdi
lea    0xbd5(%rip),%rsi
lea    0xbd1(%rip),%rdx
movsd  0xb9f(%rip),%xmm1
lea    0xbc7(%rip),%rcx
mov    $0x23,%r8d
lea    0xbbf(%rip),%r9
mov    $0x2,%al
call   1060 <printf@plt>
lea    0xbb8(%rip),%rdi
mov    %r13,%rsi
lea    0xbc4(%rip),%rdx
xor    %eax,%eax
call   1060 <printf@plt>
movss  0x4(%rbx),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
movsd  0x8(%rsp),%xmm1
mov    $0x2,%al
call   1060 <printf@plt>
movss  0x8(%rbx),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
movsd  (%rsp),%xmm1
mov    $0x2,%al
call   1060 <printf@plt>
xorps  %xmm0,%xmm0
mov    %r14,%rdi
mov    %r15,%rsi
mov    $0x4,%edx
movsd  0xb25(%rip),%xmm1
mov    $0x2d,%ecx
mov    %rbx,%r8
mov    %rbp,%r9
call   1040 <stoerm@plt>
xorps  %xmm0,%xmm0
lea    0xb13(%rip),%rdi
lea    0xb2b(%rip),%rsi
lea    0xb27(%rip),%rdx
movsd  0xaf5(%rip),%xmm1
lea    0xb1d(%rip),%rcx
mov    $0x2d,%r8d
lea    0xb15(%rip),%r9
mov    $0x2,%al
call   1060 <printf@plt>
lea    0xb0e(%rip),%rdi
mov    %r13,%rsi
lea    0xb1a(%rip),%rdx
xor    %eax,%eax
call   1060 <printf@plt>
movss  0x4(%rbx),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
movsd  0x8(%rsp),%xmm1
mov    $0x2,%al
call   1060 <printf@plt>
movss  0x8(%rbx),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r12,%rdi
movsd  (%rsp),%xmm1
mov    $0x2,%al
call   1060 <printf@plt>
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x4,%edx
call   1070 <free_vector@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
mov    $0x4,%edx
call   1070 <free_vector@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x4,%edx
call   1070 <free_vector@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [18 x i8] c"Stoermer's Rule:\0A\00"
@.str.1 = [31 x i8] c"\0A%s %5.2f %s %5.2f %s %2d %s \0A\00"
@.str.2 = [3 x i8] c"x=\00"
@.str.3 = [5 x i8] c" to \00"
@.str.4 = [5 x i8] c" in \00"
@.str.5 = [7 x i8] c" steps\00"
@.str.6 = [10 x i8] c"%14s %9s\0A\00"
@.str.7 = [12 x i8] c"integration\00"
@.str.8 = [8 x i8] c"answers\00"
@.str.9 = [15 x i8] c"%12.6f %12.6f\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca float
%4 = alloca float
%5 = alloca float
%6 = alloca float*
%7 = alloca float*
%8 = alloca float*
store i32 0, i32* %1
%9 = call float* @vector(i32 1, i32 4)
store float* %9, float** %6
%10 = call float* @vector(i32 1, i32 4)
store float* %10, float** %7
%11 = call float* @vector(i32 1, i32 4)
store float* %11, float** %8
%12 = load float*, float** %6
%13 = getelementptr inbounds float, float* %12, i64 1
store float 0.000000e+00, float* %13
%14 = load float*, float** %6
%15 = getelementptr inbounds float, float* %14, i64 2
store float -1.000000e+00, float* %15
%16 = load float*, float** %6
%17 = getelementptr inbounds float, float* %16, i64 3
store float 2.000000e+00, float* %17
%18 = load float*, float** %6
%19 = getelementptr inbounds float, float* %18, i64 4
store float 0.000000e+00, float* %19
%20 = load float*, float** %6
%21 = load float*, float** %8
%22 = call i32 @derivs(double 0.000000e+00, float* %20, float* %21)
store float 0x3FF921FB00000000, float* %5
%23 = load float, float* %5
%24 = call float @d2y1(float %23)
store float %24, float* %3
%25 = load float, float* %5
%26 = call float @d2y2(float %25)
store float %26, float* %4
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
store i32 5, i32* %2
br label %28
28: ; preds = %54, %0
%29 = load i32, i32* %2
%30 = icmp sle i32 %29, 45
br i1 %30, label %31, label %57
31: ; preds = %28
%32 = load float*, float** %6
%33 = load float*, float** %8
%34 = load i32, i32* %2
%35 = load float*, float** %7
%36 = call i32 @stoerm(float* %32, float* %33, i32 4, double 0.000000e+00, double 0x3FF921FAFC8B007A, i32 %34, float* %35, i32 (double, float*, float*)* @derivs)
%37 = load i32, i32* %2
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), double 0.000000e+00, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double 0x3FF921FAFC8B007A, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %37, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
%40 = load float*, float** %7
%41 = getelementptr inbounds float, float* %40, i64 1
%42 = load float, float* %41
%43 = fpext float %42 to double
%44 = load float, float* %3
%45 = fpext float %44 to double
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), double %43, double %45)
%47 = load float*, float** %7
%48 = getelementptr inbounds float, float* %47, i64 2
%49 = load float, float* %48
%50 = fpext float %49 to double
%51 = load float, float* %4
%52 = fpext float %51 to double
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), double %50, double %52)
br label %54
54: ; preds = %31
%55 = load i32, i32* %2
%56 = add nsw i32 %55, 10
store i32 %56, i32* %2
br label %28
57: ; preds = %28
%58 = load float*, float** %8
%59 = call i32 @free_vector(float* %58, i32 1, i32 4)
%60 = load float*, float** %7
%61 = call i32 @free_vector(float* %60, i32 1, i32 4)
%62 = load float*, float** %6
%63 = call i32 @free_vector(float* %62, i32 1, i32 4)
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [31 x i8] c"\0A%s %5.2f %s %5.2f %s %2d %s \0A\00"
@.str.2 = [3 x i8] c"x=\00"
@.str.3 = [5 x i8] c" to \00"
@.str.4 = [5 x i8] c" in \00"
@.str.5 = [7 x i8] c" steps\00"
@.str.6 = [10 x i8] c"%14s %9s\0A\00"
@.str.7 = [12 x i8] c"integration\00"
@.str.8 = [8 x i8] c"answers\00"
@.str.9 = [15 x i8] c"%12.6f %12.6f\0A\00"
@str = [17 x i8] c"Stoermer's Rule:\00"
define i32 @main() {
%1 = tail call float* @vector(i32 1, i32 4)
%2 = tail call float* @vector(i32 1, i32 4)
%3 = tail call float* @vector(i32 1, i32 4)
%4 = getelementptr inbounds float, float* %1, i64 1
%5 = bitcast float* %4 to <4 x float>*
store <4 x float> <float 0.000000e+00, float -1.000000e+00, float 2.000000e+00, float 0.000000e+00>, <4 x float>* %5
%6 = tail call i32 @derivs(double 0.000000e+00, float* %1, float* %3)
%7 = tail call float @d2y1(float 0x3FF921FB00000000)
%8 = tail call float @d2y2(float 0x3FF921FB00000000)
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str, i64 0, i64 0))
%10 = getelementptr inbounds float, float* %2, i64 1
%11 = fpext float %7 to double
%12 = getelementptr inbounds float, float* %2, i64 2
%13 = fpext float %8 to double
%14 = tail call i32 @stoerm(float* %1, float* %3, i32 4, double 0.000000e+00, double 0x3FF921FAFC8B007A, i32 5, float* %2, i32 (double, float*, float*)* @derivs)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), double 0.000000e+00, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double 0x3FF921FAFC8B007A, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
%17 = load float, float* %10
%18 = fpext float %17 to double
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), double %18, double %11)
%20 = load float, float* %12
%21 = fpext float %20 to double
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), double %21, double %13)
%23 = tail call i32 @stoerm(float* %1, float* %3, i32 4, double 0.000000e+00, double 0x3FF921FAFC8B007A, i32 15, float* %2, i32 (double, float*, float*)* @derivs)
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), double 0.000000e+00, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double 0x3FF921FAFC8B007A, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 15, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
%26 = load float, float* %10
%27 = fpext float %26 to double
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), double %27, double %11)
%29 = load float, float* %12
%30 = fpext float %29 to double
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), double %30, double %13)
%32 = tail call i32 @stoerm(float* %1, float* %3, i32 4, double 0.000000e+00, double 0x3FF921FAFC8B007A, i32 25, float* %2, i32 (double, float*, float*)* @derivs)
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), double 0.000000e+00, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double 0x3FF921FAFC8B007A, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 25, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
%35 = load float, float* %10
%36 = fpext float %35 to double
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), double %36, double %11)
%38 = load float, float* %12
%39 = fpext float %38 to double
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), double %39, double %13)
%41 = tail call i32 @stoerm(float* %1, float* %3, i32 4, double 0.000000e+00, double 0x3FF921FAFC8B007A, i32 35, float* %2, i32 (double, float*, float*)* @derivs)
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), double 0.000000e+00, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double 0x3FF921FAFC8B007A, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 35, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
%44 = load float, float* %10
%45 = fpext float %44 to double
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), double %45, double %11)
%47 = load float, float* %12
%48 = fpext float %47 to double
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), double %48, double %13)
%50 = tail call i32 @stoerm(float* %1, float* %3, i32 4, double 0.000000e+00, double 0x3FF921FAFC8B007A, i32 45, float* %2, i32 (double, float*, float*)* @derivs)
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), double 0.000000e+00, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), double 0x3FF921FAFC8B007A, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 45, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0))
%53 = load float, float* %10
%54 = fpext float %53 to double
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), double %54, double %11)
%56 = load float, float* %12
%57 = fpext float %56 to double
%58 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.9, i64 0, i64 0), double %57, double %13)
%59 = tail call i32 @free_vector(float* %3, i32 1, i32 4)
%60 = tail call i32 @free_vector(float* %2, i32 1, i32 4)
%61 = tail call i32 @free_vector(float* %1, i32 1, i32 4)
ret i32 0
}