#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 */
scalar_t__ malloc(int);
double *nlopt_compute_rescaling(unsigned n, const double *dx) {
  double *s = (double *)malloc(sizeof(double) * n);
  unsigned i;
  if (!s)
    return NULL;
  for (i = 0; i < n; ++i)
    s[i] = 1.0;
  if (n == 1)
    return s;
  for (i = 1; i < n && dx[i] == dx[i - 1]; ++i)
    ;
  if (i < n) {
    for (i = 1; i < n; ++i)
      s[i] = dx[i] / dx[0];
  }
  return s;
}


x86 assembly (clang, -O0):
<nlopt_compute_rescaling>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %edi,-0xc(%rbp)
mov    %rsi,-0x18(%rbp)
mov    -0xc(%rbp),%eax
shl    $0x3,%rax
mov    %eax,%edi
call   1030 <malloc@plt>
mov    %rax,-0x20(%rbp)
cmpq   $0x0,-0x20(%rbp)
jne    1149 <nlopt_compute_rescaling+0x39>
movq   $0x0,-0x8(%rbp)
jmp    1252 <nlopt_compute_rescaling+0x142>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0xc(%rbp),%eax
jae    117e <nlopt_compute_rescaling+0x6e>
mov    -0x20(%rbp),%rax
mov    -0x24(%rbp),%ecx
movsd  0xe95(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1150 <nlopt_compute_rescaling+0x40>
cmpl   $0x1,-0xc(%rbp)
jne    1195 <nlopt_compute_rescaling+0x85>
mov    -0x20(%rbp),%rax
mov    %rax,-0x8(%rbp)
jmp    1252 <nlopt_compute_rescaling+0x142>
movl   $0x1,-0x24(%rbp)
mov    -0x24(%rbp),%ecx
xor    %eax,%eax
cmp    -0xc(%rbp),%ecx
mov    %al,-0x25(%rbp)
jae    11d5 <nlopt_compute_rescaling+0xc5>
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
sub    $0x1,%ecx
mov    %ecx,%ecx
ucomisd (%rax,%rcx,8),%xmm0
sete   %al
setnp  %cl
and    %cl,%al
mov    %al,-0x25(%rbp)
mov    -0x25(%rbp),%al
test   $0x1,%al
jne    11e5 <nlopt_compute_rescaling+0xd5>
jmp    11f8 <nlopt_compute_rescaling+0xe8>
jmp    11ea <nlopt_compute_rescaling+0xda>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    119c <nlopt_compute_rescaling+0x8c>
mov    -0x24(%rbp),%eax
cmp    -0xc(%rbp),%eax
jae    124a <nlopt_compute_rescaling+0x13a>
movl   $0x1,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0xc(%rbp),%eax
jae    1245 <nlopt_compute_rescaling+0x135>
mov    -0x18(%rbp),%rax
mov    -0x24(%rbp),%ecx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
divsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x24(%rbp),%ecx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    120b <nlopt_compute_rescaling+0xfb>
jmp    124a <nlopt_compute_rescaling+0x13a>
mov    -0x20(%rbp),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<nlopt_compute_rescaling>:
push   %r15
push   %r14
push   %rbx
mov    %rsi,%r15
mov    %edi,%r14d
lea    0x0(,%r14,8),%edi
call   1030 <malloc@plt>
test   %rax,%rax
je     1146 <nlopt_compute_rescaling+0x36>
test   %r14d,%r14d
je     1414 <nlopt_compute_rescaling+0x304>
mov    %r14d,%ecx
cmp    $0x4,%r14d
jae    114d <nlopt_compute_rescaling+0x3d>
xor    %edx,%edx
jmp    1249 <nlopt_compute_rescaling+0x139>
xor    %eax,%eax
jmp    1414 <nlopt_compute_rescaling+0x304>
mov    %ecx,%edx
and    $0xfffffffc,%edx
lea    -0x4(%rdx),%rbx
mov    %rbx,%rdi
shr    $0x2,%rdi
add    $0x1,%rdi
mov    %edi,%esi
and    $0x7,%esi
cmp    $0x1c,%rbx
jae    1173 <nlopt_compute_rescaling+0x63>
xor    %ebx,%ebx
jmp    1215 <nlopt_compute_rescaling+0x105>
and    $0xfffffffffffffff8,%rdi
xor    %ebx,%ebx
movapd 0xe7f(%rip),%xmm0
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movupd %xmm0,(%rax,%rbx,8)
movupd %xmm0,0x10(%rax,%rbx,8)
movupd %xmm0,0x20(%rax,%rbx,8)
movupd %xmm0,0x30(%rax,%rbx,8)
movupd %xmm0,0x40(%rax,%rbx,8)
movupd %xmm0,0x50(%rax,%rbx,8)
movupd %xmm0,0x60(%rax,%rbx,8)
movupd %xmm0,0x70(%rax,%rbx,8)
movupd %xmm0,0x80(%rax,%rbx,8)
movupd %xmm0,0x90(%rax,%rbx,8)
movupd %xmm0,0xa0(%rax,%rbx,8)
movupd %xmm0,0xb0(%rax,%rbx,8)
movupd %xmm0,0xc0(%rax,%rbx,8)
movupd %xmm0,0xd0(%rax,%rbx,8)
movupd %xmm0,0xe0(%rax,%rbx,8)
movupd %xmm0,0xf0(%rax,%rbx,8)
add    $0x20,%rbx
add    $0xfffffffffffffff8,%rdi
jne    1190 <nlopt_compute_rescaling+0x80>
test   %rsi,%rsi
je     1244 <nlopt_compute_rescaling+0x134>
lea    (%rax,%rbx,8),%rdi
add    $0x10,%rdi
shl    $0x5,%rsi
xor    %ebx,%ebx
movapd 0xdd0(%rip),%xmm0
movupd %xmm0,-0x10(%rdi,%rbx,1)
movupd %xmm0,(%rdi,%rbx,1)
add    $0x20,%rbx
cmp    %rbx,%rsi
jne    1230 <nlopt_compute_rescaling+0x120>
cmp    %rcx,%rdx
je     126d <nlopt_compute_rescaling+0x15d>
movabs $0x3ff0000000000000,%rsi
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %rsi,(%rax,%rdx,8)
add    $0x1,%rdx
cmp    %rdx,%rcx
jne    1260 <nlopt_compute_rescaling+0x150>
cmp    $0x2,%r14d
jb     1414 <nlopt_compute_rescaling+0x304>
movsd  (%r15),%xmm0
mov    $0x1,%edx
movapd %xmm0,%xmm1
cs nopw 0x0(%rax,%rax,1)
nop
movapd %xmm1,%xmm2
movsd  (%r15,%rdx,8),%xmm1
ucomisd %xmm2,%xmm1
jne    12b0 <nlopt_compute_rescaling+0x1a0>
jp     12b0 <nlopt_compute_rescaling+0x1a0>
add    $0x1,%rdx
cmp    %rdx,%rcx
jne    1290 <nlopt_compute_rescaling+0x180>
jmp    1414 <nlopt_compute_rescaling+0x304>
movsd  0x8(%r15),%xmm1
divsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rax)
cmp    $0x2,%r14d
je     1414 <nlopt_compute_rescaling+0x304>
lea    -0x2(%rcx),%r8
mov    $0x2,%edx
cmp    $0x2,%r8
jae    1340 <nlopt_compute_rescaling+0x230>
mov    %ecx,%edi
sub    %edx,%edi
mov    %rdx,%rsi
not    %rsi
test   $0x1,%dil
je     12fc <nlopt_compute_rescaling+0x1ec>
movsd  (%r15,%rdx,8),%xmm0
divsd  (%r15),%xmm0
movsd  %xmm0,(%rax,%rdx,8)
add    $0x1,%rdx
add    %rcx,%rsi
je     1414 <nlopt_compute_rescaling+0x304>
cs nopw 0x0(%rax,%rax,1)
nop
movsd  (%r15,%rdx,8),%xmm0
divsd  (%r15),%xmm0
movsd  %xmm0,(%rax,%rdx,8)
movsd  0x8(%r15,%rdx,8),%xmm0
divsd  (%r15),%xmm0
movsd  %xmm0,0x8(%rax,%rdx,8)
add    $0x2,%rdx
cmp    %rdx,%rcx
jne    1310 <nlopt_compute_rescaling+0x200>
jmp    1414 <nlopt_compute_rescaling+0x304>
lea    (%rax,%rcx,8),%rsi
mov    %rax,%rdi
add    $0x10,%rdi
lea    0x10(%r15),%r9
lea    (%r15,%rcx,8),%rbx
lea    0x8(%r15),%r10
cmp    %rbx,%rdi
setb   %r11b
cmp    %rsi,%r9
setb   %r9b
cmp    %r10,%rdi
setb   %bl
cmp    %r15,%rsi
seta   %sil
test   %r9b,%r11b
jne    12d8 <nlopt_compute_rescaling+0x1c8>
and    %sil,%bl
jne    12d8 <nlopt_compute_rescaling+0x1c8>
mov    %r8,%rdx
and    $0xfffffffffffffffe,%rdx
lea    -0x2(%rdx),%rdi
mov    %rdi,%rsi
shr    %rsi
add    $0x1,%rsi
test   %rdi,%rdi
je     13ec <nlopt_compute_rescaling+0x2dc>
mov    %rsi,%rdi
and    $0xfffffffffffffffe,%rdi
movsd  (%r15),%xmm0
unpcklpd %xmm0,%xmm0
mov    $0x2,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movupd (%r15,%rbx,8),%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,(%rax,%rbx,8)
movupd 0x10(%r15,%rbx,8),%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,0x10(%rax,%rbx,8)
add    $0x4,%rbx
add    $0xfffffffffffffffe,%rdi
jne    13c0 <nlopt_compute_rescaling+0x2b0>
jmp    13f1 <nlopt_compute_rescaling+0x2e1>
mov    $0x2,%ebx
test   $0x1,%sil
je     140f <nlopt_compute_rescaling+0x2ff>
movsd  (%r15),%xmm0
unpcklpd %xmm0,%xmm0
movupd (%r15,%rbx,8),%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,(%rax,%rbx,8)
cmp    %rdx,%r8
jne    141a <nlopt_compute_rescaling+0x30a>
pop    %rbx
pop    %r14
pop    %r15
ret
add    $0x2,%rdx
jmp    12d8 <nlopt_compute_rescaling+0x1c8>

LLVM IR (-O0):
define double* @nlopt_compute_rescaling(i32 %0, double* %1) {
%3 = alloca double*
%4 = alloca i32
%5 = alloca double*
%6 = alloca double*
%7 = alloca i32
store i32 %0, i32* %4
store double* %1, double** %5
%8 = load i32, i32* %4
%9 = zext i32 %8 to i64
%10 = mul i64 8, %9
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 %11)
%13 = inttoptr i64 %12 to double*
store double* %13, double** %6
%14 = load double*, double** %6
%15 = icmp ne double* %14, null
br i1 %15, label %17, label %16
16: ; preds = %2
store double* null, double** %3
br label %88
17: ; preds = %2
store i32 0, i32* %7
br label %18
18: ; preds = %27, %17
%19 = load i32, i32* %7
%20 = load i32, i32* %4
%21 = icmp ult i32 %19, %20
br i1 %21, label %22, label %30
22: ; preds = %18
%23 = load double*, double** %6
%24 = load i32, i32* %7
%25 = zext i32 %24 to i64
%26 = getelementptr inbounds double, double* %23, i64 %25
store double 1.000000e+00, double* %26
br label %27
27: ; preds = %22
%28 = load i32, i32* %7
%29 = add i32 %28, 1
store i32 %29, i32* %7
br label %18
30: ; preds = %18
%31 = load i32, i32* %4
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = load double*, double** %6
store double* %34, double** %3
br label %88
35: ; preds = %30
store i32 1, i32* %7
br label %36
36: ; preds = %56, %35
%37 = load i32, i32* %7
%38 = load i32, i32* %4
%39 = icmp ult i32 %37, %38
br i1 %39, label %40, label %53
40: ; preds = %36
%41 = load double*, double** %5
%42 = load i32, i32* %7
%43 = zext i32 %42 to i64
%44 = getelementptr inbounds double, double* %41, i64 %43
%45 = load double, double* %44
%46 = load double*, double** %5
%47 = load i32, i32* %7
%48 = sub i32 %47, 1
%49 = zext i32 %48 to i64
%50 = getelementptr inbounds double, double* %46, i64 %49
%51 = load double, double* %50
%52 = fcmp oeq double %45, %51
br label %53
53: ; preds = %40, %36
%54 = phi i1 [ false, %36 ], [ %52, %40 ]
br i1 %54, label %55, label %59
55: ; preds = %53
br label %56
56: ; preds = %55
%57 = load i32, i32* %7
%58 = add i32 %57, 1
store i32 %58, i32* %7
br label %36
59: ; preds = %53
%60 = load i32, i32* %7
%61 = load i32, i32* %4
%62 = icmp ult i32 %60, %61
br i1 %62, label %63, label %86
63: ; preds = %59
store i32 1, i32* %7
br label %64
64: ; preds = %82, %63
%65 = load i32, i32* %7
%66 = load i32, i32* %4
%67 = icmp ult i32 %65, %66
br i1 %67, label %68, label %85
68: ; preds = %64
%69 = load double*, double** %5
%70 = load i32, i32* %7
%71 = zext i32 %70 to i64
%72 = getelementptr inbounds double, double* %69, i64 %71
%73 = load double, double* %72
%74 = load double*, double** %5
%75 = getelementptr inbounds double, double* %74, i64 0
%76 = load double, double* %75
%77 = fdiv double %73, %76
%78 = load double*, double** %6
%79 = load i32, i32* %7
%80 = zext i32 %79 to i64
%81 = getelementptr inbounds double, double* %78, i64 %80
store double %77, double* %81
br label %82
82: ; preds = %68
%83 = load i32, i32* %7
%84 = add i32 %83, 1
store i32 %84, i32* %7
br label %64
85: ; preds = %64
br label %86
86: ; preds = %85, %59
%87 = load double*, double** %6
store double* %87, double** %3
br label %88
88: ; preds = %86, %33, %16
%89 = load double*, double** %3
ret double* %89
}

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