void cradau5(
    int n, void fcn(int *, double *, double *, double *, double *, int *),
    double x, double *y, double xend, double h, double rtol, double atol,
    void jac(int *, double *, double *, double *, int *, double *, double *),
    int ijac, int mljac, int mujac,
    void mas(int *n, double *am, int *lmas, double *rpar, int *ipar), int imas,
    int mlmas, int mumas,
    void solout(int *, double *, double *, double *, double *, int *, int *,
                double *, int *, int *),
    int iout, double *work, int *iwork, double *rpar, int *ipar, int *idid) {
  int N = n;
  double X = x;
  double XEND = xend;
  double H = h;
  int ITOL = 0;
  double RTOL = rtol;
  double ATOL = atol;
  int IJAC = ijac;
  int MLJAC = mljac;
  int MUJAC = mujac;
  int IMAS = imas;
  int MLMAS = mlmas;
  int MUMAS = mumas;
  int IOUT = iout;
  double *WORK;
  int LWORK;
  int *IWORK;
  int LIWORK = 1;
  int ljac, lmas, le;
  if (mljac == n) {
    ljac = n;
    le = n;
  } else {
    ljac = mljac + mujac + 1;
    le = 2 * mljac + mujac + 1;
  }
  if (imas == 0)
    lmas = 0;
  else if (mlmas = n)
    lmas = n;
  else
    lmas = mlmas + mumas + 1;
  LWORK = n * (ljac + lmas + 3 * le + 12) + 20;
  LIWORK = 3 * n + 20;
  WORK = malloc(LWORK * sizeof(double));
  IWORK = malloc(LIWORK * sizeof(int));
  for (le = 0; le < 20; ++le) {
    WORK[le] = work[le];
    IWORK[le] = iwork[le];
  }
  radau5_(&N, fcn, &X, y, &XEND, &H, &RTOL, &ATOL, &ITOL, jac, &IJAC, &MLJAC,
          &MUJAC, mas, &IMAS, &MLMAS, &MUMAS, solout, &IOUT, WORK, &LWORK,
          IWORK, &LIWORK, rpar, ipar, idid);
  for (le = 0; le < 20; ++le) {
    work[le] = WORK[le];
    iwork[le] = IWORK[le];
  }
  free(WORK);
  free(IWORK);
}


x86 assembly (clang, -O0):
<cradau5>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1d8,%rsp
mov    0x68(%rbp),%rax
mov    0x60(%rbp),%rax
mov    0x58(%rbp),%rax
mov    0x50(%rbp),%rax
mov    0x48(%rbp),%rax
mov    0x40(%rbp),%eax
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%eax
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%eax
mov    %edi,-0x2c(%rbp)
mov    %rsi,-0x38(%rbp)
movsd  %xmm0,-0x40(%rbp)
mov    %rdx,-0x48(%rbp)
movsd  %xmm1,-0x50(%rbp)
movsd  %xmm2,-0x58(%rbp)
movsd  %xmm3,-0x60(%rbp)
movsd  %xmm4,-0x68(%rbp)
mov    %rcx,-0x70(%rbp)
mov    %r8d,-0x74(%rbp)
mov    %r9d,-0x78(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x7c(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movl   $0x0,-0x9c(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
mov    -0x74(%rbp),%eax
mov    %eax,-0xb4(%rbp)
mov    -0x78(%rbp),%eax
mov    %eax,-0xb8(%rbp)
mov    0x10(%rbp),%eax
mov    %eax,-0xbc(%rbp)
mov    0x20(%rbp),%eax
mov    %eax,-0xc0(%rbp)
mov    0x28(%rbp),%eax
mov    %eax,-0xc4(%rbp)
mov    0x30(%rbp),%eax
mov    %eax,-0xc8(%rbp)
mov    0x40(%rbp),%eax
mov    %eax,-0xcc(%rbp)
movl   $0x1,-0xec(%rbp)
mov    -0x78(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jne    125c <cradau5+0x12c>
mov    -0x2c(%rbp),%eax
mov    %eax,-0xf0(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0xf8(%rbp)
jmp    127d <cradau5+0x14d>
mov    -0x78(%rbp),%eax
add    0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xf0(%rbp)
mov    -0x78(%rbp),%eax
shl    $0x1,%eax
add    0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xf8(%rbp)
cmpl   $0x0,0x20(%rbp)
jne    1296 <cradau5+0x166>
movl   $0x0,-0xf4(%rbp)
jmp    12c7 <cradau5+0x197>
mov    -0x2c(%rbp),%eax
mov    %eax,0x28(%rbp)
cmp    $0x0,%eax
je     12b3 <cradau5+0x183>
mov    -0x2c(%rbp),%eax
mov    %eax,-0xf4(%rbp)
jmp    12c2 <cradau5+0x192>
mov    0x28(%rbp),%eax
add    0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xf4(%rbp)
jmp    12c7 <cradau5+0x197>
mov    -0x2c(%rbp),%eax
mov    -0xf0(%rbp),%ecx
add    -0xf4(%rbp),%ecx
imul   $0x3,-0xf8(%rbp),%edx
add    %edx,%ecx
add    $0xc,%ecx
imul   %ecx,%eax
add    $0x14,%eax
mov    %eax,-0xdc(%rbp)
imul   $0x3,-0x2c(%rbp),%eax
add    $0x14,%eax
mov    %eax,-0xec(%rbp)
movslq -0xdc(%rbp),%rdi
shl    $0x3,%rdi
call   1050 <malloc@plt>
mov    %rax,-0xd8(%rbp)
movslq -0xec(%rbp),%rdi
shl    $0x2,%rdi
call   1050 <malloc@plt>
mov    %rax,-0xe8(%rbp)
movl   $0x0,-0xf8(%rbp)
cmpl   $0x14,-0xf8(%rbp)
jge    1396 <cradau5+0x266>
mov    0x48(%rbp),%rax
movslq -0xf8(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0xd8(%rbp),%rax
movslq -0xf8(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    0x50(%rbp),%rax
movslq -0xf8(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    -0xe8(%rbp),%rax
movslq -0xf8(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0xf8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xf8(%rbp)
jmp    1333 <cradau5+0x203>
mov    -0x38(%rbp),%rsi
mov    -0x48(%rbp),%rcx
mov    -0x70(%rbp),%rax
mov    %rax,-0x148(%rbp)
mov    0x18(%rbp),%rax
mov    %rax,-0x128(%rbp)
mov    0x38(%rbp),%rax
mov    %rax,-0x108(%rbp)
mov    -0xd8(%rbp),%r12
mov    -0xe8(%rbp),%r14
mov    0x58(%rbp),%r11
mov    0x60(%rbp),%r10
mov    0x68(%rbp),%rax
mov    %rax,-0x100(%rbp)
lea    -0x7c(%rbp),%rdi
lea    -0x88(%rbp),%rdx
lea    -0x90(%rbp),%r8
lea    -0x98(%rbp),%r9
lea    -0xa8(%rbp),%rax
lea    -0xb0(%rbp),%rbx
mov    %rbx,-0x158(%rbp)
lea    -0x9c(%rbp),%rbx
mov    %rbx,-0x150(%rbp)
lea    -0xb4(%rbp),%rbx
mov    %rbx,-0x140(%rbp)
lea    -0xb8(%rbp),%rbx
mov    %rbx,-0x138(%rbp)
lea    -0xbc(%rbp),%rbx
mov    %rbx,-0x130(%rbp)
lea    -0xc0(%rbp),%rbx
mov    %rbx,-0x120(%rbp)
lea    -0xc4(%rbp),%rbx
mov    %rbx,-0x118(%rbp)
lea    -0xc8(%rbp),%rbx
mov    %rbx,-0x110(%rbp)
lea    -0xcc(%rbp),%r13
lea    -0xdc(%rbp),%r15
lea    -0xec(%rbp),%rbx
mov    %rax,(%rsp)
mov    -0x158(%rbp),%rax
mov    %rax,0x8(%rsp)
mov    -0x150(%rbp),%rax
mov    %rax,0x10(%rsp)
mov    -0x148(%rbp),%rax
mov    %rax,0x18(%rsp)
mov    -0x140(%rbp),%rax
mov    %rax,0x20(%rsp)
mov    -0x138(%rbp),%rax
mov    %rax,0x28(%rsp)
mov    -0x130(%rbp),%rax
mov    %rax,0x30(%rsp)
mov    -0x128(%rbp),%rax
mov    %rax,0x38(%rsp)
mov    -0x120(%rbp),%rax
mov    %rax,0x40(%rsp)
mov    -0x118(%rbp),%rax
mov    %rax,0x48(%rsp)
mov    -0x110(%rbp),%rax
mov    %rax,0x50(%rsp)
mov    -0x108(%rbp),%rax
mov    %rax,0x58(%rsp)
mov    -0x100(%rbp),%rax
mov    %r13,0x60(%rsp)
mov    %r12,0x68(%rsp)
mov    %r15,0x70(%rsp)
mov    %r14,0x78(%rsp)
mov    %rbx,0x80(%rsp)
mov    %r11,0x88(%rsp)
mov    %r10,0x90(%rsp)
mov    %rax,0x98(%rsp)
mov    $0x0,%al
call   1040 <radau5_@plt>
movl   $0x0,-0xf8(%rbp)
cmpl   $0x14,-0xf8(%rbp)
jge    15bc <cradau5+0x48c>
mov    -0xd8(%rbp),%rax
movslq -0xf8(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x48(%rbp),%rax
movslq -0xf8(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0xe8(%rbp),%rax
movslq -0xf8(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
mov    0x50(%rbp),%rax
movslq -0xf8(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0xf8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xf8(%rbp)
jmp    1559 <cradau5+0x429>
mov    -0xd8(%rbp),%rdi
call   1030 <free@plt>
mov    -0xe8(%rbp),%rdi
call   1030 <free@plt>
add    $0x1d8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

x86 assembly (clang, -O2):
<cradau5>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x108,%rsp
mov    %rcx,%r12
mov    %rdx,0xd8(%rsp)
mov    %rsi,0xd0(%rsp)
mov    0x170(%rsp),%eax
mov    0x158(%rsp),%ecx
mov    %r8d,0xc4(%rsp)
mov    0x140(%rsp),%edx
mov    %ecx,0xb4(%rsp)
mov    %eax,0xac(%rsp)
lea    0x1(%rdx),%eax
xor    %ecx,%ecx
cmp    %edi,%r9d
cmove  %ecx,%eax
mov    0x160(%rsp),%ecx
mov    %r9d,0xc0(%rsp)
mov    %edx,0xbc(%rsp)
lea    0x1(%rdx,%r9,2),%edx
cmove  %r9d,%edx
add    %r9d,%eax
mov    0x150(%rsp),%esi
mov    %esi,0xb8(%rsp)
mov    %ecx,0xb0(%rsp)
add    $0x1,%ecx
test   %edi,%edi
cmovne %edi,%ecx
add    $0xc,%ecx
test   %esi,%esi
mov    $0xc,%esi
cmovne %ecx,%esi
mov    0x198(%rsp),%r15
add    %eax,%esi
mov    0x180(%rsp),%r14
lea    (%rdx,%rdx,2),%eax
add    %eax,%esi
imul   %edi,%esi
lea    0x14(%rsi),%eax
mov    %eax,0xa8(%rsp)
lea    (%rdi,%rdi,2),%eax
add    $0x14,%eax
mov    %eax,0xa4(%rsp)
mov    0x178(%rsp),%r13
mov    %edi,0xcc(%rsp)
movsd  %xmm0,0x100(%rsp)
movsd  %xmm1,0xf8(%rsp)
movsd  %xmm2,0xf0(%rsp)
movl   $0x0,0xc8(%rsp)
movsd  %xmm3,0xe8(%rsp)
movsd  %xmm4,0xe0(%rsp)
lea    (%rdi,%rdi,2),%ebp
movslq %esi,%rax
lea    0xa0(,%rax,8),%rdi
call   1060 <malloc@plt>
mov    %rax,%rbx
movslq %ebp,%rax
lea    0x50(,%rax,4),%rdi
call   1060 <malloc@plt>
mov    %rax,%rbp
mov    $0xa0,%edx
mov    %rbx,%rdi
mov    %r13,%rsi
call   1050 <memcpy@plt>
movups (%r14),%xmm0
movups 0x10(%r14),%xmm1
movups 0x20(%r14),%xmm2
movups 0x30(%r14),%xmm3
movups %xmm0,0x0(%rbp)
movups %xmm1,0x10(%rbp)
movups %xmm2,0x20(%rbp)
movups %xmm3,0x30(%rbp)
movups 0x40(%r14),%xmm0
movups %xmm0,0x40(%rbp)
mov    %r15,0x98(%rsp)
movups 0x188(%rsp),%xmm0
movups %xmm0,0x88(%rsp)
lea    0xa4(%rsp),%rax
mov    %rax,0x80(%rsp)
mov    %rbp,0x78(%rsp)
lea    0xa8(%rsp),%rax
mov    %rax,0x70(%rsp)
mov    %rbx,0x68(%rsp)
lea    0xac(%rsp),%rax
mov    %rax,0x60(%rsp)
mov    0x168(%rsp),%rax
mov    %rax,0x58(%rsp)
lea    0xb0(%rsp),%rax
mov    %rax,0x50(%rsp)
lea    0xb4(%rsp),%rax
mov    %rax,0x48(%rsp)
lea    0xb8(%rsp),%rax
mov    %rax,0x40(%rsp)
mov    0x148(%rsp),%rax
mov    %rax,0x38(%rsp)
lea    0xbc(%rsp),%rax
mov    %rax,0x30(%rsp)
lea    0xc0(%rsp),%rax
mov    %rax,0x28(%rsp)
lea    0xc4(%rsp),%rax
mov    %rax,0x20(%rsp)
mov    %r12,0x18(%rsp)
lea    0xc8(%rsp),%rax
mov    %rax,0x10(%rsp)
lea    0xe0(%rsp),%rax
mov    %rax,0x8(%rsp)
lea    0xe8(%rsp),%rax
mov    %rax,(%rsp)
lea    0xcc(%rsp),%rdi
lea    0x100(%rsp),%rdx
lea    0xf8(%rsp),%r8
lea    0xf0(%rsp),%r9
mov    0xd0(%rsp),%rsi
mov    0xd8(%rsp),%rcx
xor    %eax,%eax
call   1040 <radau5_@plt>
movups (%rbx),%xmm0
movups %xmm0,0x0(%r13)
movups 0x10(%rbx),%xmm0
movups %xmm0,0x10(%r13)
movups 0x0(%rbp),%xmm0
movups %xmm0,(%r14)
movups 0x20(%rbx),%xmm0
movups %xmm0,0x20(%r13)
movups 0x30(%rbx),%xmm0
movups %xmm0,0x30(%r13)
movups 0x10(%rbp),%xmm0
movups %xmm0,0x10(%r14)
movups 0x40(%rbx),%xmm0
movups %xmm0,0x40(%r13)
movups 0x50(%rbx),%xmm0
movups %xmm0,0x50(%r13)
movups 0x20(%rbp),%xmm0
movups %xmm0,0x20(%r14)
movups 0x60(%rbx),%xmm0
movups %xmm0,0x60(%r13)
movups 0x70(%rbx),%xmm0
movups %xmm0,0x70(%r13)
movups 0x30(%rbp),%xmm0
movups %xmm0,0x30(%r14)
movups 0x80(%rbx),%xmm0
movups %xmm0,0x80(%r13)
movups 0x90(%rbx),%xmm0
movups %xmm0,0x90(%r13)
movups 0x40(%rbp),%xmm0
movups %xmm0,0x40(%r14)
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %rbp,%rdi
call   1030 <free@plt>
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @cradau5(i32 %0, void (i32*, double*, double*, double*, double*, i32*)* %1, double %2, double* %3, double %4, double %5, double %6, double %7, void (i32*, double*, double*, double*, i32*, double*, double*)* %8, i32 %9, i32 %10, i32 %11, void (i32*, double*, i32*, double*, i32*)* %12, i32 %13, i32 %14, i32 %15, void (i32*, double*, double*, double*, double*, i32*, i32*, double*, i32*, i32*)* %16, i32 %17, double* nocapture %18, i32* nocapture %19, double* %20, i32* %21, i32* %22) {
%24 = alloca i32
%25 = alloca double
%26 = alloca double
%27 = alloca double
%28 = alloca i32
%29 = alloca double
%30 = alloca double
%31 = alloca i32
%32 = alloca i32
%33 = alloca i32
%34 = alloca i32
%35 = alloca i32
%36 = alloca i32
%37 = alloca i32
%38 = alloca i32
%39 = alloca i32
%40 = bitcast i32* %24 to i8*
store i32 %0, i32* %24
%41 = bitcast double* %25 to i8*
store double %2, double* %25
%42 = bitcast double* %26 to i8*
store double %4, double* %26
%43 = bitcast double* %27 to i8*
store double %5, double* %27
%44 = bitcast i32* %28 to i8*
store i32 0, i32* %28
%45 = bitcast double* %29 to i8*
store double %6, double* %29
%46 = bitcast double* %30 to i8*
store double %7, double* %30
%47 = bitcast i32* %31 to i8*
store i32 %9, i32* %31
%48 = bitcast i32* %32 to i8*
store i32 %10, i32* %32
%49 = bitcast i32* %33 to i8*
store i32 %11, i32* %33
%50 = bitcast i32* %34 to i8*
store i32 %13, i32* %34
%51 = bitcast i32* %35 to i8*
store i32 %14, i32* %35
%52 = bitcast i32* %36 to i8*
store i32 %15, i32* %36
%53 = bitcast i32* %37 to i8*
store i32 %17, i32* %37
%54 = bitcast i32* %38 to i8*
%55 = bitcast i32* %39 to i8*
%56 = icmp eq i32 %10, %0
%57 = add i32 %11, 1
%58 = shl nsw i32 %10, 1
%59 = add i32 %57, %58
%60 = select i1 %56, i32 0, i32 %57
%61 = add i32 %60, %10
%62 = select i1 %56, i32 %10, i32 %59
%63 = bitcast i32* %19 to i8*
%64 = bitcast double* %18 to i8*
%65 = icmp eq i32 %13, 0
%66 = icmp eq i32 %0, 0
%67 = add nsw i32 %15, 1
%68 = select i1 %66, i32 %67, i32 %0
%69 = mul nsw i32 %62, 3
%70 = add i32 %68, 12
%71 = select i1 %65, i32 12, i32 %70
%72 = add i32 %71, %61
%73 = add i32 %72, %69
%74 = mul nsw i32 %73, %0
%75 = add nsw i32 %74, 20
store i32 %75, i32* %38
%76 = mul nsw i32 %0, 3
%77 = add nsw i32 %76, 20
store i32 %77, i32* %39
%78 = sext i32 %75 to i64
%79 = shl nsw i64 %78, 3
%80 = tail call i8* @malloc(i64 %79)
%81 = sext i32 %77 to i64
%82 = shl nsw i64 %81, 2
%83 = tail call i8* @malloc(i64 %82)
%84 = bitcast i8* %80 to double*
%85 = bitcast i8* %83 to i32*
%86 = call i32 (i32*, void (i32*, double*, double*, double*, double*, i32*)*, double*, double*, double*, double*, double*, double*, i32*, void (i32*, double*, double*, double*, i32*, double*, double*)*, i32*, i32*, i32*, void (i32*, double*, i32*, double*, i32*)*, i32*, i32*, i32*, void (i32*, double*, double*, double*, double*, i32*, i32*, double*, i32*, i32*)*, i32*, double*, i32*, i32*, i32*, double*, i32*, i32*, ...) bitcast (i32 (...)* @radau5_ to i32 (i32*, void (i32*, double*, double*, double*, double*, i32*)*, double*, double*, double*, double*, double*, double*, i32*, void (i32*, double*, double*, double*, i32*, double*, double*)*, i32*, i32*, i32*, void (i32*, double*, i32*, double*, i32*)*, i32*, i32*, i32*, void (i32*, double*, double*, double*, double*, i32*, i32*, double*, i32*, i32*)*, i32*, double*, i32*, i32*, i32*, double*, i32*, i32*, ...)*)(i32* %24, void (i32*, double*, double*, double*, double*, i32*)* %1, double* %25, double* %3, double* %26, double* %27, double* %29, double* %30, i32* %28, void (i32*, double*, double*, double*, i32*, double*, double*)* %8, i32* %31, i32* %32, i32* %33, void (i32*, double*, i32*, double*, i32*)* %12, i32* %34, i32* %35, i32* %36, void (i32*, double*, double*, double*, double*, i32*, i32*, double*, i32*, i32*)* %16, i32* %37, double* %84, i32* %38, i32* %85, i32* %39, double* %20, i32* %21, i32* %22)
%87 = bitcast i8* %80 to <2 x double>*
%88 = load <2 x double>, <2 x double>* %87
%89 = bitcast double* %18 to <2 x double>*
store <2 x double> %88, <2 x double>* %89
%90 = getelementptr inbounds double, double* %84, i64 2
%91 = getelementptr inbounds double, double* %18, i64 2
%92 = bitcast double* %90 to <2 x double>*
%93 = load <2 x double>, <2 x double>* %92
%94 = bitcast double* %91 to <2 x double>*
store <2 x double> %93, <2 x double>* %94
%95 = bitcast i8* %83 to <4 x i32>*
%96 = load <4 x i32>, <4 x i32>* %95
%97 = bitcast i32* %19 to <4 x i32>*
store <4 x i32> %96, <4 x i32>* %97
%98 = getelementptr inbounds double, double* %84, i64 4
%99 = getelementptr inbounds double, double* %18, i64 4
%100 = getelementptr inbounds i32, i32* %85, i64 4
%101 = getelementptr inbounds i32, i32* %19, i64 4
%102 = bitcast double* %98 to <2 x double>*
%103 = load <2 x double>, <2 x double>* %102
%104 = bitcast double* %99 to <2 x double>*
store <2 x double> %103, <2 x double>* %104
%105 = getelementptr inbounds double, double* %84, i64 6
%106 = getelementptr inbounds double, double* %18, i64 6
%107 = bitcast double* %105 to <2 x double>*
%108 = load <2 x double>, <2 x double>* %107
%109 = bitcast double* %106 to <2 x double>*
store <2 x double> %108, <2 x double>* %109
%110 = bitcast i32* %100 to <4 x i32>*
%111 = load <4 x i32>, <4 x i32>* %110
%112 = bitcast i32* %101 to <4 x i32>*
store <4 x i32> %111, <4 x i32>* %112
%113 = getelementptr inbounds double, double* %84, i64 8
%114 = getelementptr inbounds double, double* %18, i64 8
%115 = getelementptr inbounds i32, i32* %85, i64 8
%116 = getelementptr inbounds i32, i32* %19, i64 8
%117 = bitcast double* %113 to <2 x double>*
%118 = load <2 x double>, <2 x double>* %117
%119 = bitcast double* %114 to <2 x double>*
store <2 x double> %118, <2 x double>* %119
%120 = getelementptr inbounds double, double* %84, i64 10
%121 = getelementptr inbounds double, double* %18, i64 10
%122 = bitcast double* %120 to <2 x double>*
%123 = load <2 x double>, <2 x double>* %122
%124 = bitcast double* %121 to <2 x double>*
store <2 x double> %123, <2 x double>* %124
%125 = bitcast i32* %115 to <4 x i32>*
%126 = load <4 x i32>, <4 x i32>* %125
%127 = bitcast i32* %116 to <4 x i32>*
store <4 x i32> %126, <4 x i32>* %127
%128 = getelementptr inbounds double, double* %84, i64 12
%129 = getelementptr inbounds double, double* %18, i64 12
%130 = getelementptr inbounds i32, i32* %85, i64 12
%131 = getelementptr inbounds i32, i32* %19, i64 12
%132 = bitcast double* %128 to <2 x double>*
%133 = load <2 x double>, <2 x double>* %132
%134 = bitcast double* %129 to <2 x double>*
store <2 x double> %133, <2 x double>* %134
%135 = getelementptr inbounds double, double* %84, i64 14
%136 = getelementptr inbounds double, double* %18, i64 14
%137 = bitcast double* %135 to <2 x double>*
%138 = load <2 x double>, <2 x double>* %137
%139 = bitcast double* %136 to <2 x double>*
store <2 x double> %138, <2 x double>* %139
%140 = bitcast i32* %130 to <4 x i32>*
%141 = load <4 x i32>, <4 x i32>* %140
%142 = bitcast i32* %131 to <4 x i32>*
store <4 x i32> %141, <4 x i32>* %142
%143 = getelementptr inbounds double, double* %84, i64 16
%144 = getelementptr inbounds double, double* %18, i64 16
%145 = getelementptr inbounds i32, i32* %85, i64 16
%146 = getelementptr inbounds i32, i32* %19, i64 16
%147 = bitcast double* %143 to <2 x double>*
%148 = load <2 x double>, <2 x double>* %147
%149 = bitcast double* %144 to <2 x double>*
store <2 x double> %148, <2 x double>* %149
%150 = getelementptr inbounds double, double* %84, i64 18
%151 = getelementptr inbounds double, double* %18, i64 18
%152 = bitcast double* %150 to <2 x double>*
%153 = load <2 x double>, <2 x double>* %152
%154 = bitcast double* %151 to <2 x double>*
store <2 x double> %153, <2 x double>* %154
%155 = bitcast i32* %145 to <4 x i32>*
%156 = load <4 x i32>, <4 x i32>* %155
%157 = bitcast i32* %146 to <4 x i32>*
store <4 x i32> %156, <4 x i32>* %157
ret void
}