#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 */
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ printf(char *);
double lupp(int n, double **A) {
  int i = 0;
  int j = 0;
  int k = 0;
  double detA = 1;
  double mult = 0;
  for (k = 0; k < n - 1; k++) {
    detA *= A[k][k];
    if (detA == 0) {
      printf("La matriu A és singular.\n");
      exit(1);
    }
    for (i = k + 1; i < n; i++) {
      mult = A[i][k] / A[k][k];
      for (j = k + 1; j < n; j++) {
        A[i][j] -= mult * A[k][j];
      }
      A[i][k] = mult;
    }
  }
  detA *= A[n - 1][n - 1];
  if (detA == 0) {
    printf("La matriu A és singular.\n");
    exit(1);
  }
  return detA;
}


x86 assembly (clang, -O0):
<lupp>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
movsd  0xeb4(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x30(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
mov    -0x4(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    12b3 <lupp+0x193>
mov    -0x10(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    11be <lupp+0x9e>
jp     11be <lupp+0x9e>
lea    0xe59(%rip),%rdi
call   1030 <printf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    12a0 <lupp+0x180>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
divsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1278 <lupp+0x158>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x1c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x18(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x18(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movq   %xmm0,%rdx
movabs $0x8000000000000000,%rsi
xor    %rsi,%rdx
movq   %rdx,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    120b <lupp+0xeb>
movsd  -0x30(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x1c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11c7 <lupp+0xa7>
jmp    12a5 <lupp+0x185>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1160 <lupp+0x40>
mov    -0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,8),%rax
mov    -0x4(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mulsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    130a <lupp+0x1ea>
jp     130a <lupp+0x1ea>
lea    0xd0d(%rip),%rdi
call   1030 <printf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>
movsd  -0x28(%rbp),%xmm0
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<lupp>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
lea    -0x1(%rdi),%eax
cmp    $0x2,%edi
mov    %eax,0xc(%rsp)
jl     1403 <lupp+0x2e3>
mov    %edi,%r12d
mov    %eax,%eax
mov    %rax,0x18(%rsp)
mov    %r12,%r9
neg    %r9
lea    -0x5(%r12),%rax
mov    %rax,0x10(%rsp)
movsd  0xea0(%rip),%xmm0
mov    $0x1,%r10d
mov    $0x7,%eax
mov    %rax,(%rsp)
xor    %ebx,%ebx
xorpd  %xmm8,%xmm8
movapd 0xe91(%rip),%xmm9
jmp    11af <lupp+0x8f>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
add    $0x1,%r10
addq   $0x1,(%rsp)
addq   $0xffffffffffffffff,0x10(%rsp)
mov    0x20(%rsp),%rbx
cmp    0x18(%rsp),%rbx
je     140b <lupp+0x2eb>
mov    (%rsi,%rbx,8),%rax
movsd  (%rax,%rbx,8),%xmm4
mulsd  %xmm4,%xmm0
ucomisd %xmm8,%xmm0
jne    11c9 <lupp+0xa9>
jnp    1434 <lupp+0x314>
lea    0x1(%rbx),%rcx
mov    %rcx,0x20(%rsp)
cmp    %r12,%rcx
jae    1190 <lupp+0x70>
mov    0x10(%rsp),%rcx
shr    $0x2,%rcx
add    $0x1,%rcx
and    $0xfffffffffffffffe,%rcx
mov    %rcx,0x28(%rsp)
mov    %rbx,%r14
not    %r14
lea    (%r14,%r12,1),%rcx
add    $0xfffffffffffffffc,%rcx
add    %r12,%r14
mov    %rcx,0x48(%rsp)
shr    $0x2,%rcx
add    $0x1,%rcx
mov    %rcx,0x40(%rsp)
lea    (%rax,%r10,8),%rcx
mov    %rcx,0x50(%rsp)
lea    (%rax,%r12,8),%r8
mov    %r14,%rcx
and    $0xfffffffffffffffc,%rcx
mov    %rcx,0x38(%rsp)
add    %r10,%rcx
mov    %rcx,0x30(%rsp)
mov    (%rsp),%rcx
lea    (%rax,%rcx,8),%r13
mov    %r10,%rdx
nopl   0x0(%rax)
mov    (%rsi,%rdx,8),%r15
movsd  (%r15,%rbx,8),%xmm10
divsd  %xmm4,%xmm10
movapd %xmm10,%xmm4
xorpd  %xmm9,%xmm4
mov    %r10,%rdi
cmp    $0x4,%r14
jb     1380 <lupp+0x260>
lea    (%r15,%r10,8),%rdi
cmp    %r8,%rdi
jae    1281 <lupp+0x161>
lea    (%r15,%r12,8),%rbp
mov    %r10,%rdi
cmp    %rbp,0x50(%rsp)
jb     1380 <lupp+0x260>
mov    %r8,%rdi
movapd %xmm4,%xmm5
unpcklpd %xmm4,%xmm5
cmpq   $0x4,0x48(%rsp)
jae    129c <lupp+0x17c>
xor    %r11d,%r11d
jmp    132e <lupp+0x20e>
mov    (%rsp),%rcx
lea    (%r15,%rcx,8),%rbp
mov    0x28(%rsp),%r8
xor    %r11d,%r11d
nopl   0x0(%rax)
movupd -0x30(%r13,%r11,8),%xmm6
movupd -0x20(%r13,%r11,8),%xmm7
mulpd  %xmm5,%xmm6
movupd -0x30(%rbp,%r11,8),%xmm1
addpd  %xmm6,%xmm1
movupd -0x20(%rbp,%r11,8),%xmm6
movupd -0x10(%rbp,%r11,8),%xmm2
movupd 0x0(%rbp,%r11,8),%xmm3
mulpd  %xmm5,%xmm7
addpd  %xmm6,%xmm7
movupd %xmm1,-0x30(%rbp,%r11,8)
movupd %xmm7,-0x20(%rbp,%r11,8)
movupd -0x10(%r13,%r11,8),%xmm1
movupd 0x0(%r13,%r11,8),%xmm6
mulpd  %xmm5,%xmm1
addpd  %xmm2,%xmm1
mulpd  %xmm5,%xmm6
addpd  %xmm3,%xmm6
movupd %xmm1,-0x10(%rbp,%r11,8)
movupd %xmm6,0x0(%rbp,%r11,8)
add    $0x8,%r11
add    $0xfffffffffffffffe,%r8
jne    12b0 <lupp+0x190>
testb  $0x1,0x40(%rsp)
mov    %rdi,%r8
je     1372 <lupp+0x252>
add    %r10,%r11
movupd (%rax,%r11,8),%xmm1
movupd 0x10(%rax,%r11,8),%xmm2
movupd (%r15,%r11,8),%xmm3
movupd 0x10(%r15,%r11,8),%xmm6
mulpd  %xmm5,%xmm1
addpd  %xmm3,%xmm1
mulpd  %xmm5,%xmm2
addpd  %xmm6,%xmm2
movupd %xmm1,(%r15,%r11,8)
movupd %xmm2,0x10(%r15,%r11,8)
mov    0x30(%rsp),%rdi
cmp    0x38(%rsp),%r14
je     13e6 <lupp+0x2c6>
xchg   %ax,%ax
mov    %r12d,%ecx
sub    %edi,%ecx
mov    %rdi,%rbp
test   $0x1,%cl
je     13a6 <lupp+0x286>
movsd  (%rax,%rdi,8),%xmm1
mulsd  %xmm4,%xmm1
addsd  (%r15,%rdi,8),%xmm1
movsd  %xmm1,(%r15,%rdi,8)
lea    0x1(%rdi),%rbp
not    %rdi
cmp    %r9,%rdi
je     13e6 <lupp+0x2c6>
xchg   %ax,%ax
movsd  (%rax,%rbp,8),%xmm1
mulsd  %xmm4,%xmm1
addsd  (%r15,%rbp,8),%xmm1
movsd  %xmm1,(%r15,%rbp,8)
movsd  0x8(%rax,%rbp,8),%xmm1
mulsd  %xmm4,%xmm1
addsd  0x8(%r15,%rbp,8),%xmm1
movsd  %xmm1,0x8(%r15,%rbp,8)
add    $0x2,%rbp
cmp    %rbp,%r12
jne    13b0 <lupp+0x290>
movsd  %xmm10,(%r15,%rbx,8)
add    $0x1,%rdx
cmp    %r12,%rdx
je     1190 <lupp+0x70>
movsd  (%rax,%rbx,8),%xmm4
jmp    1240 <lupp+0x120>
movsd  0xbf5(%rip),%xmm0
movslq 0xc(%rsp),%rax
mov    (%rsi,%rax,8),%rcx
mulsd  (%rcx,%rax,8),%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    1425 <lupp+0x305>
jnp    1434 <lupp+0x314>
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xbe5(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [27 x i8] c"La matriu A \C3\A9s singular.\0A\00"
define double @lupp(i32 %0, double** %1) {
%3 = alloca i32
%4 = alloca double**
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca double
%9 = alloca double
store i32 %0, i32* %3
store double** %1, double*** %4
store i32 0, i32* %5
store i32 0, i32* %6
store i32 0, i32* %7
store double 1.000000e+00, double* %8
store double 0.000000e+00, double* %9
store i32 0, i32* %7
br label %10
10: ; preds = %104, %2
%11 = load i32, i32* %7
%12 = load i32, i32* %3
%13 = sub nsw i32 %12, 1
%14 = icmp slt i32 %11, %13
br i1 %14, label %15, label %107
15: ; preds = %10
%16 = load double**, double*** %4
%17 = load i32, i32* %7
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double*, double** %16, i64 %18
%20 = load double*, double** %19
%21 = load i32, i32* %7
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, double* %20, i64 %22
%24 = load double, double* %23
%25 = load double, double* %8
%26 = fmul double %25, %24
store double %26, double* %8
%27 = load double, double* %8
%28 = fcmp oeq double %27, 0.000000e+00
br i1 %28, label %29, label %32
29: ; preds = %15
%30 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%31 = call i32 @exit(i32 1)
unreachable
32: ; preds = %15
%33 = load i32, i32* %7
%34 = add nsw i32 %33, 1
store i32 %34, i32* %5
br label %35
35: ; preds = %100, %32
%36 = load i32, i32* %5
%37 = load i32, i32* %3
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %103
39: ; preds = %35
%40 = load double**, double*** %4
%41 = load i32, i32* %5
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds double*, double** %40, i64 %42
%44 = load double*, double** %43
%45 = load i32, i32* %7
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, double* %44, i64 %46
%48 = load double, double* %47
%49 = load double**, double*** %4
%50 = load i32, i32* %7
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double*, double** %49, i64 %51
%53 = load double*, double** %52
%54 = load i32, i32* %7
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds double, double* %53, i64 %55
%57 = load double, double* %56
%58 = fdiv double %48, %57
store double %58, double* %9
%59 = load i32, i32* %7
%60 = add nsw i32 %59, 1
store i32 %60, i32* %6
br label %61
61: ; preds = %87, %39
%62 = load i32, i32* %6
%63 = load i32, i32* %3
%64 = icmp slt i32 %62, %63
br i1 %64, label %65, label %90
65: ; preds = %61
%66 = load double, double* %9
%67 = load double**, double*** %4
%68 = load i32, i32* %7
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds double*, double** %67, i64 %69
%71 = load double*, double** %70
%72 = load i32, i32* %6
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, double* %71, i64 %73
%75 = load double, double* %74
%76 = load double**, double*** %4
%77 = load i32, i32* %5
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double*, double** %76, i64 %78
%80 = load double*, double** %79
%81 = load i32, i32* %6
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, double* %80, i64 %82
%84 = load double, double* %83
%85 = fneg double %66
%86 = call double @llvm.fmuladd.f64(double %85, double %75, double %84)
store double %86, double* %83
br label %87
87: ; preds = %65
%88 = load i32, i32* %6
%89 = add nsw i32 %88, 1
store i32 %89, i32* %6
br label %61
90: ; preds = %61
%91 = load double, double* %9
%92 = load double**, double*** %4
%93 = load i32, i32* %5
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds double*, double** %92, i64 %94
%96 = load double*, double** %95
%97 = load i32, i32* %7
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds double, double* %96, i64 %98
store double %91, double* %99
br label %100
100: ; preds = %90
%101 = load i32, i32* %5
%102 = add nsw i32 %101, 1
store i32 %102, i32* %5
br label %35
103: ; preds = %35
br label %104
104: ; preds = %103
%105 = load i32, i32* %7
%106 = add nsw i32 %105, 1
store i32 %106, i32* %7
br label %10
107: ; preds = %10
%108 = load double**, double*** %4
%109 = load i32, i32* %3
%110 = sub nsw i32 %109, 1
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds double*, double** %108, i64 %111
%113 = load double*, double** %112
%114 = load i32, i32* %3
%115 = sub nsw i32 %114, 1
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds double, double* %113, i64 %116
%118 = load double, double* %117
%119 = load double, double* %8
%120 = fmul double %119, %118
store double %120, double* %8
%121 = load double, double* %8
%122 = fcmp oeq double %121, 0.000000e+00
br i1 %122, label %123, label %126
123: ; preds = %107
%124 = call i32 @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%125 = call i32 @exit(i32 1)
unreachable
126: ; preds = %107
%127 = load double, double* %8
ret double %127
}

LLVM IR (-O2):
@str.1 = [26 x i8] c"La matriu A \C3\A9s singular.\00"
define double @lupp(i32 %0, double** nocapture %1) {
%3 = add i32 %0, -1
%4 = icmp sgt i32 %0, 1
br i1 %4, label %5, label %165
5: ; preds = %2
%6 = zext i32 %0 to i64
%7 = zext i32 %3 to i64
%8 = zext i32 %0 to i64
%9 = sub nsw i64 0, %8
br label %13
10: ; preds = %160, %33
%11 = add nuw nsw i64 %15, 1
%12 = icmp eq i64 %34, %7
br i1 %12, label %165, label %13
13: ; preds = %5, %10
%14 = phi i64 [ 0, %5 ], [ %34, %10 ]
%15 = phi i64 [ 1, %5 ], [ %11, %10 ]
%16 = phi double [ 1.000000e+00, %5 ], [ %28, %10 ]
%17 = xor i64 %14, -1
%18 = add nsw i64 %17, %8
%19 = add i64 %18, -4
%20 = lshr i64 %19, 2
%21 = add nuw nsw i64 %20, 1
%22 = xor i64 %14, -1
%23 = add nsw i64 %22, %8
%24 = getelementptr inbounds double*, double** %1, i64 %14
%25 = load double*, double** %24
%26 = getelementptr inbounds double, double* %25, i64 %14
%27 = load double, double* %26
%28 = fmul double %16, %27
%29 = fcmp oeq double %28, 0.000000e+00
br i1 %29, label %30, label %33
30: ; preds = %13
%31 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.1, i64 0, i64 0))
%32 = tail call i32 @exit(i32 1)
unreachable
33: ; preds = %13
%34 = add nuw nsw i64 %14, 1
%35 = icmp ult i64 %34, %6
br i1 %35, label %36, label %10
36: ; preds = %33
%37 = getelementptr double, double* %25, i64 %15
%38 = getelementptr double, double* %25, i64 %8
%39 = icmp ult i64 %23, 4
%40 = and i64 %23, -4
%41 = add i64 %15, %40
%42 = and i64 %21, 1
%43 = icmp ult i64 %19, 4
%44 = and i64 %21, 9223372036854775806
%45 = icmp eq i64 %42, 0
%46 = icmp eq i64 %23, %40
br label %47
47: ; preds = %36, %163
%48 = phi double [ %164, %163 ], [ %27, %36 ]
%49 = phi i64 [ %161, %163 ], [ %15, %36 ]
%50 = getelementptr inbounds double*, double** %1, i64 %49
%51 = load double*, double** %50
%52 = getelementptr inbounds double, double* %51, i64 %14
%53 = load double, double* %52
%54 = fdiv double %53, %48
%55 = fneg double %54
br i1 %39, label %129, label %56
56: ; preds = %47
%57 = getelementptr double, double* %51, i64 %15
%58 = getelementptr double, double* %51, i64 %8
%59 = icmp ult double* %57, %38
%60 = icmp ult double* %37, %58
%61 = and i1 %59, %60
br i1 %61, label %129, label %62
62: ; preds = %56
%63 = insertelement <2 x double> poison, double %55, i64 0
%64 = shufflevector <2 x double> %63, <2 x double> poison, <2 x i32> zeroinitializer
%65 = insertelement <2 x double> poison, double %55, i64 0
%66 = shufflevector <2 x double> %65, <2 x double> poison, <2 x i32> zeroinitializer
br i1 %43, label %108, label %67
67: ; preds = %62, %67
%68 = phi i64 [ %105, %67 ], [ 0, %62 ]
%69 = phi i64 [ %106, %67 ], [ 0, %62 ]
%70 = add i64 %15, %68
%71 = getelementptr inbounds double, double* %25, i64 %70
%72 = bitcast double* %71 to <2 x double>*
%73 = load <2 x double>, <2 x double>* %72
%74 = getelementptr inbounds double, double* %71, i64 2
%75 = bitcast double* %74 to <2 x double>*
%76 = load <2 x double>, <2 x double>* %75
%77 = getelementptr inbounds double, double* %51, i64 %70
%78 = bitcast double* %77 to <2 x double>*
%79 = load <2 x double>, <2 x double>* %78
%80 = getelementptr inbounds double, double* %77, i64 2
%81 = bitcast double* %80 to <2 x double>*
%82 = load <2 x double>, <2 x double>* %81
%83 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %64, <2 x double> %73, <2 x double> %79)
%84 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %66, <2 x double> %76, <2 x double> %82)
%85 = bitcast double* %77 to <2 x double>*
store <2 x double> %83, <2 x double>* %85
%86 = bitcast double* %80 to <2 x double>*
store <2 x double> %84, <2 x double>* %86
%87 = or i64 %68, 4
%88 = add i64 %15, %87
%89 = getelementptr inbounds double, double* %25, i64 %88
%90 = bitcast double* %89 to <2 x double>*
%91 = load <2 x double>, <2 x double>* %90
%92 = getelementptr inbounds double, double* %89, i64 2
%93 = bitcast double* %92 to <2 x double>*
%94 = load <2 x double>, <2 x double>* %93
%95 = getelementptr inbounds double, double* %51, i64 %88
%96 = bitcast double* %95 to <2 x double>*
%97 = load <2 x double>, <2 x double>* %96
%98 = getelementptr inbounds double, double* %95, i64 2
%99 = bitcast double* %98 to <2 x double>*
%100 = load <2 x double>, <2 x double>* %99
%101 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %64, <2 x double> %91, <2 x double> %97)
%102 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %66, <2 x double> %94, <2 x double> %100)
%103 = bitcast double* %95 to <2 x double>*
store <2 x double> %101, <2 x double>* %103
%104 = bitcast double* %98 to <2 x double>*
store <2 x double> %102, <2 x double>* %104
%105 = add nuw i64 %68, 8
%106 = add i64 %69, 2
%107 = icmp eq i64 %106, %44
br i1 %107, label %108, label %67
108: ; preds = %67, %62
%109 = phi i64 [ 0, %62 ], [ %105, %67 ]
br i1 %45, label %128, label %110
110: ; preds = %108
%111 = add i64 %15, %109
%112 = getelementptr inbounds double, double* %25, i64 %111
%113 = bitcast double* %112 to <2 x double>*
%114 = load <2 x double>, <2 x double>* %113
%115 = getelementptr inbounds double, double* %112, i64 2
%116 = bitcast double* %115 to <2 x double>*
%117 = load <2 x double>, <2 x double>* %116
%118 = getelementptr inbounds double, double* %51, i64 %111
%119 = bitcast double* %118 to <2 x double>*
%120 = load <2 x double>, <2 x double>* %119
%121 = getelementptr inbounds double, double* %118, i64 2
%122 = bitcast double* %121 to <2 x double>*
%123 = load <2 x double>, <2 x double>* %122
%124 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %64, <2 x double> %114, <2 x double> %120)
%125 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %66, <2 x double> %117, <2 x double> %123)
%126 = bitcast double* %118 to <2 x double>*
store <2 x double> %124, <2 x double>* %126
%127 = bitcast double* %121 to <2 x double>*
store <2 x double> %125, <2 x double>* %127
br label %128
128: ; preds = %108, %110
br i1 %46, label %160, label %129
129: ; preds = %56, %47, %128
%130 = phi i64 [ %15, %56 ], [ %15, %47 ], [ %41, %128 ]
%131 = sub i64 %8, %130
%132 = xor i64 %130, -1
%133 = and i64 %131, 1
%134 = icmp eq i64 %133, 0
br i1 %134, label %142, label %135
135: ; preds = %129
%136 = getelementptr inbounds double, double* %25, i64 %130
%137 = load double, double* %136
%138 = getelementptr inbounds double, double* %51, i64 %130
%139 = load double, double* %138
%140 = tail call double @llvm.fmuladd.f64(double %55, double %137, double %139)
store double %140, double* %138
%141 = add nuw nsw i64 %130, 1
br label %142
142: ; preds = %135, %129
%143 = phi i64 [ %130, %129 ], [ %141, %135 ]
%144 = icmp eq i64 %132, %9
br i1 %144, label %160, label %145
145: ; preds = %142, %145
%146 = phi i64 [ %158, %145 ], [ %143, %142 ]
%147 = getelementptr inbounds double, double* %25, i64 %146
%148 = load double, double* %147
%149 = getelementptr inbounds double, double* %51, i64 %146
%150 = load double, double* %149
%151 = tail call double @llvm.fmuladd.f64(double %55, double %148, double %150)
store double %151, double* %149
%152 = add nuw nsw i64 %146, 1
%153 = getelementptr inbounds double, double* %25, i64 %152
%154 = load double, double* %153
%155 = getelementptr inbounds double, double* %51, i64 %152
%156 = load double, double* %155
%157 = tail call double @llvm.fmuladd.f64(double %55, double %154, double %156)
store double %157, double* %155
%158 = add nuw nsw i64 %146, 2
%159 = icmp eq i64 %158, %8
br i1 %159, label %160, label %145
160: ; preds = %142, %145, %128
store double %54, double* %52
%161 = add nuw nsw i64 %49, 1
%162 = icmp eq i64 %161, %8
br i1 %162, label %10, label %163
163: ; preds = %160
%164 = load double, double* %26
br label %47
165: ; preds = %10, %2
%166 = phi double [ 1.000000e+00, %2 ], [ %28, %10 ]
%167 = sext i32 %3 to i64
%168 = getelementptr inbounds double*, double** %1, i64 %167
%169 = load double*, double** %168
%170 = getelementptr inbounds double, double* %169, i64 %167
%171 = load double, double* %170
%172 = fmul double %166, %171
%173 = fcmp oeq double %172, 0.000000e+00
br i1 %173, label %174, label %177
174: ; preds = %165
%175 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.1, i64 0, i64 0))
%176 = tail call i32 @exit(i32 1)
unreachable
177: ; preds = %165
ret double %172
}