#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 fabs(double);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, int);
int /*<<< orphan*/ stderr;
scalar_t__ vrna_alloc(int);
double *Newton_Conc(double KAB, double KAA, double KBB, double concA,
                    double concB, double *ConcVec) {
  double TOL, EPS, xn, yn, det, cA, cB;
  int i;
  i = 0;
  cA = concA;
  cB = concB;
  TOL = 1e-6;
  ConcVec = (double *)vrna_alloc(5 * sizeof(double));
  do {
    det = 1 + 16. * KAA * KBB * cA * cB + KAB * (cA + cB) + 4. * KAA * cA +
          4. * KBB * cB + 4. * KAB * (KBB * cB * cB + KAA * cA * cA);
    xn = ((2.0 * KBB * cB * cB + cB - concB) * (KAB * cA) -
          KAB * cA * cB * (4. * KBB * cB + 1.) -
          (2.0 * KAA * cA * cA + cA - concA) *
              (4.0 * KBB * cB + KAB * cA + 1.0)) /
         det;
    yn = ((2.0 * KAA * cA * cA + cA - concA) * (KAB * cB) -
          KAB * cA * cB * (4. * KAA * cA + 1.) -
          (2.0 * KBB * cB * cB + cB - concB) *
              (4.0 * KAA * cA + KAB * cB + 1.0)) /
         det;
    EPS = fabs(xn / cA) + fabs(yn / cB);
    cA += xn;
    cB += yn;
    i++;
    if (i > 10000) {
      fprintf(stderr, "Newton did not converge after %d steps!!\n", i);
      break;
    }
  } while (EPS > TOL);
  ConcVec[0] = cA * cB * KAB;
  ConcVec[1] = cA * cA * KAA;
  ConcVec[2] = cB * cB * KBB;
  ConcVec[3] = cA;
  ConcVec[4] = cB;
  return ConcVec;
}


x86 assembly (clang, -O0):
<Newton_Conc>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  %xmm3,-0x20(%rbp)
movsd  %xmm4,-0x28(%rbp)
mov    %rdi,-0x30(%rbp)
movl   $0x0,-0x6c(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  0xe98(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    $0x28,%edi
call   1040 <vrna_alloc@plt>
mov    %rax,-0x30(%rbp)
movsd  0xe9d(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x18(%rbp),%xmm0
mulsd  -0x60(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe65(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  -0x8(%rbp),%xmm1
movsd  -0x60(%rbp),%xmm2
addsd  -0x68(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xe4a(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xe30(%rip),%xmm1
mulsd  -0x18(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xe16(%rip),%xmm0
mulsd  -0x8(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm2
mulsd  -0x68(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm4
movsd  -0x10(%rbp),%xmm3
mulsd  -0x60(%rbp),%xmm3
mulsd  -0x60(%rbp),%xmm3
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xdde(%rip),%xmm1
mulsd  -0x18(%rbp),%xmm1
mulsd  -0x68(%rbp),%xmm1
movsd  -0x68(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
subsd  -0x28(%rbp),%xmm1
movsd  -0x8(%rbp),%xmm2
mulsd  -0x60(%rbp),%xmm2
movsd  -0x8(%rbp),%xmm0
mulsd  -0x60(%rbp),%xmm0
mulsd  -0x68(%rbp),%xmm0
movsd  0xd94(%rip),%xmm3
mulsd  -0x18(%rbp),%xmm3
movsd  -0x68(%rbp),%xmm4
mulsd  %xmm4,%xmm3
movsd  0xd76(%rip),%xmm4
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xd57(%rip),%xmm0
mulsd  -0x10(%rbp),%xmm0
mulsd  -0x60(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm3
movsd  -0x60(%rbp),%xmm2
mulsd  %xmm3,%xmm0
addsd  %xmm2,%xmm0
subsd  -0x20(%rbp),%xmm0
movsd  0xd26(%rip),%xmm2
mulsd  -0x18(%rbp),%xmm2
movsd  -0x68(%rbp),%xmm4
movsd  -0x8(%rbp),%xmm3
mulsd  -0x60(%rbp),%xmm3
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
movsd  0xcfa(%rip),%xmm3
addsd  %xmm3,%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  0xcd5(%rip),%xmm1
mulsd  -0x10(%rbp),%xmm1
mulsd  -0x60(%rbp),%xmm1
movsd  -0x60(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
subsd  -0x20(%rbp),%xmm1
movsd  -0x8(%rbp),%xmm2
mulsd  -0x68(%rbp),%xmm2
movsd  -0x8(%rbp),%xmm0
mulsd  -0x60(%rbp),%xmm0
mulsd  -0x68(%rbp),%xmm0
movsd  0xc8b(%rip),%xmm3
mulsd  -0x10(%rbp),%xmm3
movsd  -0x60(%rbp),%xmm4
mulsd  %xmm4,%xmm3
movsd  0xc6d(%rip),%xmm4
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xc4e(%rip),%xmm0
mulsd  -0x18(%rbp),%xmm0
mulsd  -0x68(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm3
movsd  -0x68(%rbp),%xmm2
mulsd  %xmm3,%xmm0
addsd  %xmm2,%xmm0
subsd  -0x28(%rbp),%xmm0
movsd  0xc1d(%rip),%xmm2
mulsd  -0x10(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm4
movsd  -0x8(%rbp),%xmm3
mulsd  -0x68(%rbp),%xmm3
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
movsd  0xbf1(%rip),%xmm3
addsd  %xmm3,%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
divsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x48(%rbp),%xmm0
divsd  -0x60(%rbp),%xmm0
movaps 0xbdb(%rip),%xmm1
pand   %xmm1,%xmm0
movsd  -0x50(%rbp),%xmm1
divsd  -0x68(%rbp),%xmm1
movaps 0xbc6(%rip),%xmm2
pand   %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x48(%rbp),%xmm0
addsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x50(%rbp),%xmm0
addsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x6c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6c(%rbp)
cmpl   $0x2710,-0x6c(%rbp)
jle    14c8 <Newton_Conc+0x3a8>
mov    0x2b2e(%rip),%rax
mov    (%rax),%edi
mov    -0x6c(%rbp),%edx
lea    0xb82(%rip),%rsi
call   1030 <fprintf@plt>
jmp    14dd <Newton_Conc+0x3bd>
jmp    14cd <Newton_Conc+0x3ad>
movsd  -0x40(%rbp),%xmm0
ucomisd -0x38(%rbp),%xmm0
ja     117b <Newton_Conc+0x5b>
movsd  -0x60(%rbp),%xmm0
mulsd  -0x68(%rbp),%xmm0
mulsd  -0x8(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mulsd  -0x60(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x68(%rbp),%xmm0
mulsd  -0x68(%rbp),%xmm0
mulsd  -0x18(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x10(%rax)
movsd  -0x60(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x18(%rax)
movsd  -0x68(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x20(%rax)
mov    -0x30(%rbp),%rax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Newton_Conc>:
push   %rbx
sub    $0x50,%rsp
movapd %xmm4,(%rsp)
movaps %xmm3,0x40(%rsp)
movaps %xmm2,0x30(%rsp)
movaps %xmm1,0x10(%rsp)
movaps %xmm0,0x20(%rsp)
mov    $0x28,%edi
call   1040 <vrna_alloc@plt>
mov    %rax,%rbx
movsd  0xeac(%rip),%xmm14
movapd 0x10(%rsp),%xmm3
mulsd  %xmm3,%xmm14
movapd 0x30(%rsp),%xmm0
mulsd  %xmm0,%xmm14
movapd %xmm0,%xmm1
unpcklpd %xmm3,%xmm1
mulpd  0xea6(%rip),%xmm1
movsd  0xe85(%rip),%xmm13
movapd 0x20(%rsp),%xmm15
mulsd  %xmm15,%xmm13
unpcklpd %xmm0,%xmm3
addpd  %xmm3,%xmm3
movapd 0x40(%rsp),%xmm2
unpcklpd (%rsp),%xmm2
unpcklpd %xmm15,%xmm15
movapd %xmm1,%xmm5
unpckhpd %xmm1,%xmm5
mov    $0x2711,%eax
movapd 0xe83(%rip),%xmm12
movapd %xmm2,%xmm10
movapd %xmm2,%xmm11
nopw   0x0(%rax,%rax,1)
movapd %xmm14,%xmm0
mulsd  %xmm2,%xmm0
movapd %xmm2,%xmm9
unpckhpd %xmm2,%xmm9
mulsd  %xmm9,%xmm0
addsd  0xe20(%rip),%xmm0
movapd %xmm2,%xmm4
addsd  %xmm9,%xmm4
mulsd  0x20(%rsp),%xmm4
addsd  %xmm0,%xmm4
movapd %xmm5,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm4,%xmm0
movapd %xmm1,%xmm4
mulsd  %xmm9,%xmm4
addsd  %xmm0,%xmm4
movapd %xmm9,%xmm6
mulsd  0x30(%rsp),%xmm6
movapd %xmm2,%xmm0
mulsd  0x10(%rsp),%xmm0
mulsd  %xmm2,%xmm0
mulsd  %xmm9,%xmm6
addsd  %xmm0,%xmm6
mulsd  %xmm13,%xmm6
addsd  %xmm4,%xmm6
movapd %xmm2,%xmm0
mulpd  %xmm15,%xmm0
movapd %xmm3,%xmm4
mulpd  %xmm2,%xmm4
mulpd  %xmm2,%xmm4
addpd  %xmm2,%xmm4
subpd  %xmm10,%xmm4
movapd %xmm2,%xmm7
shufpd $0x1,%xmm2,%xmm7
mulpd  %xmm1,%xmm7
movapd %xmm7,%xmm8
addpd  %xmm0,%xmm7
addpd  %xmm12,%xmm7
mulpd  %xmm4,%xmm7
shufpd $0x1,%xmm4,%xmm4
mulpd  %xmm0,%xmm4
xorpd  0xd9b(%rip),%xmm0
mulsd  %xmm9,%xmm0
addpd  %xmm12,%xmm8
unpcklpd %xmm0,%xmm0
mulpd  %xmm8,%xmm0
addpd  %xmm0,%xmm4
subpd  %xmm7,%xmm4
unpcklpd %xmm6,%xmm6
divpd  %xmm6,%xmm4
addpd  %xmm4,%xmm11
add    $0xffffffff,%eax
je     12ec <Newton_Conc+0x1cc>
divpd  %xmm2,%xmm4
andpd  0xd82(%rip),%xmm4
pshufd $0xee,%xmm4,%xmm0
addsd  %xmm4,%xmm0
ucomisd 0xd39(%rip),%xmm0
movapd %xmm11,%xmm2
ja     11d0 <Newton_Conc+0xb0>
jmp    1312 <Newton_Conc+0x1f2>
mov    0x2ced(%rip),%rax
mov    (%rax),%edi
lea    0xd64(%rip),%rsi
mov    $0x2711,%edx
movapd %xmm11,(%rsp)
call   1030 <fprintf@plt>
movapd (%rsp),%xmm11
movapd %xmm11,%xmm0
unpcklpd %xmm11,%xmm0
movapd 0x20(%rsp),%xmm2
unpcklpd 0x10(%rsp),%xmm2
movapd %xmm11,%xmm1
shufpd $0x1,%xmm11,%xmm1
mulpd  %xmm0,%xmm1
mulpd  %xmm2,%xmm1
movupd %xmm1,(%rbx)
movapd %xmm11,%xmm0
mulpd  %xmm11,%xmm0
unpckhpd %xmm0,%xmm0
mulsd  0x30(%rsp),%xmm0
movsd  %xmm0,0x10(%rbx)
movupd %xmm11,0x18(%rbx)
mov    %rbx,%rax
add    $0x50,%rsp
pop    %rbx
ret

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

LLVM IR (-O2):
@stderr = global i32 0
@.str = [42 x i8] c"Newton did not converge after %d steps!!\0A\00"
define double* @Newton_Conc(double %0, double %1, double %2, double %3, double %4, double* nocapture readnone %5) {
%7 = tail call i64 @vrna_alloc(i32 40)
%8 = inttoptr i64 %7 to double*
%9 = fmul double %1, 1.600000e+01
%10 = fmul double %9, %2
%11 = insertelement <2 x double> poison, double %2, i64 0
%12 = insertelement <2 x double> %11, double %1, i64 1
%13 = fmul <2 x double> %12, <double 4.000000e+00, double 4.000000e+00>
%14 = fmul double %0, 4.000000e+00
%15 = insertelement <2 x double> poison, double %1, i64 0
%16 = insertelement <2 x double> %15, double %2, i64 1
%17 = fmul <2 x double> %16, <double 2.000000e+00, double 2.000000e+00>
%18 = insertelement <2 x double> poison, double %3, i64 0
%19 = insertelement <2 x double> %18, double %4, i64 1
%20 = insertelement <2 x double> poison, double %0, i64 0
%21 = shufflevector <2 x double> %20, <2 x double> poison, <2 x i32> zeroinitializer
%22 = extractelement <2 x double> %13, i64 1
%23 = extractelement <2 x double> %13, i64 0
br label %24
24: ; preds = %66, %6
%25 = phi i32 [ 0, %6 ], [ %67, %66 ]
%26 = phi <2 x double> [ %19, %6 ], [ %61, %66 ]
%27 = extractelement <2 x double> %26, i64 0
%28 = fmul double %10, %27
%29 = extractelement <2 x double> %26, i64 1
%30 = tail call double @llvm.fmuladd.f64(double %28, double %29, double 1.000000e+00)
%31 = fadd double %27, %29
%32 = tail call double @llvm.fmuladd.f64(double %0, double %31, double %30)
%33 = tail call double @llvm.fmuladd.f64(double %22, double %27, double %32)
%34 = tail call double @llvm.fmuladd.f64(double %23, double %29, double %33)
%35 = fmul double %29, %2
%36 = fmul double %27, %1
%37 = fmul double %27, %36
%38 = tail call double @llvm.fmuladd.f64(double %35, double %29, double %37)
%39 = tail call double @llvm.fmuladd.f64(double %14, double %38, double %34)
%40 = fmul <2 x double> %26, %21
%41 = extractelement <2 x double> %40, i64 0
%42 = fneg double %41
%43 = fmul double %29, %42
%44 = fmul <2 x double> %17, %26
%45 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %44, <2 x double> %26, <2 x double> %26)
%46 = fsub <2 x double> %45, %19
%47 = shufflevector <2 x double> %26, <2 x double> undef, <2 x i32> <i32 1, i32 0>
%48 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %13, <2 x double> %47, <2 x double> <double 1.000000e+00, double 1.000000e+00>)
%49 = insertelement <2 x double> poison, double %43, i64 0
%50 = shufflevector <2 x double> %49, <2 x double> poison, <2 x i32> zeroinitializer
%51 = fmul <2 x double> %48, %50
%52 = shufflevector <2 x double> %46, <2 x double> undef, <2 x i32> <i32 1, i32 0>
%53 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %52, <2 x double> %40, <2 x double> %51)
%54 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %13, <2 x double> %47, <2 x double> %40)
%55 = fadd <2 x double> %54, <double 1.000000e+00, double 1.000000e+00>
%56 = fneg <2 x double> %46
%57 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %56, <2 x double> %55, <2 x double> %53)
%58 = insertelement <2 x double> poison, double %39, i64 0
%59 = shufflevector <2 x double> %58, <2 x double> poison, <2 x i32> zeroinitializer
%60 = fdiv <2 x double> %57, %59
%61 = fadd <2 x double> %26, %60
%62 = icmp eq i32 %25, 10000
br i1 %62, label %63, label %66
63: ; preds = %24
%64 = load i32, i32* @stderr
%65 = tail call i32 @fprintf(i32 %64, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str, i64 0, i64 0), i32 10001)
br label %74
66: ; preds = %24
%67 = add nuw nsw i32 %25, 1
%68 = fdiv <2 x double> %60, %26
%69 = call <2 x double> @llvm.fabs.v2f64(<2 x double> %68)
%70 = shufflevector <2 x double> %69, <2 x double> poison, <2 x i32> <i32 1, i32 undef>
%71 = fadd <2 x double> %69, %70
%72 = extractelement <2 x double> %71, i64 0
%73 = fcmp ogt double %72, 0x3EB0C6F7A0B5ED8D
br i1 %73, label %24, label %74
74: ; preds = %66, %63
%75 = shufflevector <2 x double> %61, <2 x double> undef, <2 x i32> zeroinitializer
%76 = fmul <2 x double> %75, %61
%77 = insertelement <2 x double> %15, double %0, i64 1
%78 = fmul <2 x double> %76, %77
%79 = shufflevector <2 x double> %78, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%80 = inttoptr i64 %7 to <2 x double>*
store <2 x double> %79, <2 x double>* %80
%81 = fmul <2 x double> %61, %61
%82 = extractelement <2 x double> %81, i64 1
%83 = fmul double %82, %2
%84 = getelementptr inbounds double, double* %8, i64 2
store double %83, double* %84
%85 = getelementptr inbounds double, double* %8, i64 3
%86 = bitcast double* %85 to <2 x double>*
store <2 x double> %61, <2 x double>* %86
ret double* %8
}