#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 max(double, double);
double miabs(double, double);
int /*<<< orphan*/ printf(char *, ...);
main() {
  double A[4][4] = {
      {2, -1, 0, 0},
      {-1, 2, -1, 0},
      {0, -1, 2, -1},
      {0, 0, -1, 2},
  };
  double b[4] = {19, 19, -3, -12};
  double sm = 1.0, w = 1.5, s1, su, xi;
  double x[4] = {0, 0, 0, 0};
  int i, j, n = 4, k;
  double t1, t2;
  k = 9;
  while (sm > 0.0000001) {
    s1 = 0.0;
    sm = 0.0;
    for (i = 0; i < n; i++) {
      su = b[i];
      for (j = 0; j <= i - 1; j++)
        su = su - A[i][j] * x[j];
      for (j = i + 1; j < n; j++)
        su = su - A[i][j] * x[j];
      xi = (1 - w) * x[i] + w * su / A[i][i];
      sm = max(miabs(x[i], xi), sm);
      x[i] = xi;
      s1 = max(s1, miabs(x[i], 0));
      printf("%f  ", x[i]);
    }
    printf("\n");
    printf("\n");
    sm = sm / s1;
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x90(%rbp),%rdi
lea    0xeb0(%rip),%rsi
mov    $0x80,%edx
call   1070 <memcpy@plt>
mov    0xf1f(%rip),%rax
mov    %rax,-0xb0(%rbp)
mov    0xf19(%rip),%rax
mov    %rax,-0xa8(%rbp)
mov    0xf13(%rip),%rax
mov    %rax,-0xa0(%rbp)
mov    0xf0d(%rip),%rax
mov    %rax,-0x98(%rbp)
movsd  0xe4e(%rip),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  0xe36(%rip),%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
lea    -0x100(%rbp),%rdi
xor    %esi,%esi
mov    $0x20,%edx
call   1060 <memset@plt>
movl   $0x4,-0x10c(%rbp)
movl   $0x9,-0x110(%rbp)
movsd  -0xb8(%rbp),%xmm0
movsd  0xe07(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    14dd <main+0x38d>
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movl   $0x0,-0x104(%rbp)
mov    -0x104(%rbp),%eax
cmp    -0x10c(%rbp),%eax
jge    14a4 <main+0x354>
movslq -0x104(%rbp),%rax
movsd  -0xb0(%rbp,%rax,8),%xmm0
ff ff
movsd  %xmm0,-0xd0(%rbp)
ff
movl   $0x0,-0x108(%rbp)
mov    -0x108(%rbp),%eax
mov    -0x104(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jg     12f2 <main+0x1a2>
movsd  -0xd0(%rbp),%xmm1
ff
movslq -0x104(%rbp),%rcx
lea    -0x90(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x108(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0x108(%rbp),%rax
movsd  -0x100(%rbp,%rax,8),%xmm2
ff ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
mov    -0x108(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x108(%rbp)
jmp    1267 <main+0x117>
mov    -0x104(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x108(%rbp)
mov    -0x108(%rbp),%eax
cmp    -0x10c(%rbp),%eax
jge    1387 <main+0x237>
movsd  -0xd0(%rbp),%xmm1
ff
movslq -0x104(%rbp),%rcx
lea    -0x90(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x108(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0x108(%rbp),%rax
movsd  -0x100(%rbp,%rax,8),%xmm2
ff ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
mov    -0x108(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x108(%rbp)
jmp    1301 <main+0x1b1>
movsd  0xc79(%rip),%xmm0
subsd  -0xc0(%rbp),%xmm0
ff
movslq -0x104(%rbp),%rax
movsd  -0x100(%rbp,%rax,8),%xmm2
ff ff
movsd  -0xc0(%rbp),%xmm1
ff
mulsd  -0xd0(%rbp),%xmm1
ff
movslq -0x104(%rbp),%rcx
lea    -0x90(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x104(%rbp),%rcx
divsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
movslq -0x104(%rbp),%rax
movsd  -0x100(%rbp,%rax,8),%xmm0
ff ff
movsd  -0xd8(%rbp),%xmm1
ff
call   1030 <miabs@plt>
movsd  -0xb8(%rbp),%xmm1
ff
call   1050 <max@plt>
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0xd8(%rbp),%xmm0
ff
movslq -0x104(%rbp),%rax
movsd  %xmm0,-0x100(%rbp,%rax,8)
ff ff
movsd  -0xc8(%rbp),%xmm0
ff
movsd  %xmm0,-0x128(%rbp)
ff
movslq -0x104(%rbp),%rax
movsd  -0x100(%rbp,%rax,8),%xmm0
ff ff
xorps  %xmm1,%xmm1
call   1030 <miabs@plt>
movaps %xmm0,%xmm1
movsd  -0x128(%rbp),%xmm0
ff
call   1050 <max@plt>
movsd  %xmm0,-0xc8(%rbp)
ff
movslq -0x104(%rbp),%rax
movsd  -0x100(%rbp,%rax,8),%xmm0
ff ff
lea    0xc37(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
mov    -0x104(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x104(%rbp)
jmp    1233 <main+0xe3>
lea    0xc1a(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xc0c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movsd  -0xb8(%rbp),%xmm0
ff
divsd  -0xc8(%rbp),%xmm0
ff
movsd  %xmm0,-0xb8(%rbp)
ff
jmp    11f9 <main+0xa9>
mov    -0x4(%rbp),%eax
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
xorpd  %xmm0,%xmm0
movapd %xmm0,0x30(%rsp)
movapd %xmm0,0x20(%rsp)
xorpd  %xmm0,%xmm0
mov    $0x1,%r13d
xor    %ebx,%ebx
lea    0xf2f(%rip),%r14
lea    0xea8(%rip),%r12
lea    0xf41(%rip),%r15
xorps  %xmm1,%xmm1
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  %xmm1,0x8(%rsp)
movsd  %xmm0,0x10(%rsp)
movsd  (%r14,%rbx,8),%xmm3
test   %rbx,%rbx
je     11c0 <main+0x80>
cmp    $0x1,%rbx
jne    11d0 <main+0x90>
xor    %eax,%eax
jmp    1218 <main+0xd8>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    $0x1,%ebp
jmp    1244 <main+0x104>
nopw   0x0(%rax,%rax,1)
mov    %rbx,%rcx
and    $0xfffffffffffffffe,%rcx
mov    %rbx,%rax
shl    $0x5,%rax
lea    (%rax,%r12,1),%rdx
add    $0x8,%rdx
xor    %eax,%eax
nopl   0x0(%rax,%rax,1)
movsd  -0x8(%rdx,%rax,8),%xmm0
movsd  (%rdx,%rax,8),%xmm2
mulsd  0x20(%rsp,%rax,8),%xmm0
mulsd  0x28(%rsp,%rax,8),%xmm2
subsd  %xmm0,%xmm3
subsd  %xmm2,%xmm3
add    $0x2,%rax
cmp    %rax,%rcx
jne    11f0 <main+0xb0>
test   $0x1,%bl
je     1236 <main+0xf6>
mov    %rbx,%rcx
shl    $0x5,%rcx
add    %r12,%rcx
movsd  (%rcx,%rax,8),%xmm0
mulsd  0x20(%rsp,%rax,8),%xmm0
subsd  %xmm0,%xmm3
lea    0x1(%rbx),%rbp
cmp    $0x2,%rbx
ja     12c9 <main+0x189>
test   $0x1,%r13b
jne    1260 <main+0x120>
mov    %r13,%rax
cmp    $0x3,%r13
jne    1285 <main+0x145>
jmp    12c9 <main+0x189>
cs nopw 0x0(%rax,%rax,1)
nop
mov    %rbx,%rax
shl    $0x5,%rax
add    %r12,%rax
movsd  (%rax,%r13,8),%xmm0
mulsd  0x20(%rsp,%r13,8),%xmm0
subsd  %xmm0,%xmm3
lea    0x1(%r13),%rax
cmp    $0x3,%r13
je     12c9 <main+0x189>
mov    %rbx,%rcx
shl    $0x5,%rcx
add    %r12,%rcx
add    $0x8,%rcx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsd  -0x8(%rcx,%rax,8),%xmm0
movsd  (%rcx,%rax,8),%xmm2
mulsd  0x20(%rsp,%rax,8),%xmm0
mulsd  0x28(%rsp,%rax,8),%xmm2
subsd  %xmm0,%xmm3
subsd  %xmm2,%xmm3
add    $0x2,%rax
cmp    $0x4,%rax
jne    12a0 <main+0x160>
movsd  0x20(%rsp,%rbx,8),%xmm0
mulsd  0xd29(%rip),%xmm3
mov    %rbx,%rax
shl    $0x5,%rax
add    %r12,%rax
divsd  (%rax,%rbx,8),%xmm3
movapd %xmm0,%xmm1
mulsd  0xd16(%rip),%xmm1
addsd  %xmm3,%xmm1
movsd  %xmm1,0x18(%rsp)
call   1040 <miabs@plt>
movsd  0x10(%rsp),%xmm1
call   1060 <max@plt>
movsd  %xmm0,0x10(%rsp)
movsd  0x18(%rsp),%xmm0
movsd  %xmm0,0x20(%rsp,%rbx,8)
xorps  %xmm1,%xmm1
call   1040 <miabs@plt>
movaps %xmm0,%xmm1
movsd  0x8(%rsp),%xmm0
call   1060 <max@plt>
movsd  %xmm0,0x8(%rsp)
mov    %r15,%rdi
movsd  0x18(%rsp),%xmm0
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x8(%rsp),%xmm1
movsd  0x10(%rsp),%xmm0
add    $0x1,%r13
mov    %rbp,%rbx
cmp    $0x4,%rbp
jne    1190 <main+0x50>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movsd  0x10(%rsp),%xmm0
divsd  0x8(%rsp),%xmm0
ucomisd 0xc81(%rip),%xmm0
mov    $0x0,%ebx
mov    $0x1,%r13d
xorpd  %xmm0,%xmm0
xorps  %xmm1,%xmm1
ja     1190 <main+0x50>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@__const.main.A = [4 x [4 x double]] [[4 x double] [double 2.000000e+00, double -1.000000e+00, double 0.000000e+00, double 0.000000e+00], [4 x double] [double -1.000000e+00, double 2.000000e+00, double -1.000000e+00, double 0.000000e+00], [4 x double] [double 0.000000e+00, double -1.000000e+00, double 2.000000e+00, double -1.000000e+00], [4 x double] [double 0.000000e+00, double 0.000000e+00, double -1.000000e+00, double 2.000000e+00]]
@__const.main.b = [4 x double] [double 1.900000e+01, double 1.900000e+01, double -3.000000e+00, double -1.200000e+01]
@.str = [5 x i8] c"%f \00"
define i32 @main() {
%1 = alloca [4 x double]
%2 = bitcast [4 x double]* %1 to i8*
br label %3
3: ; preds = %105, %0
%4 = phi i64 [ 0, %0 ], [ %106, %105 ]
%5 = phi i64 [ 1, %0 ], [ %107, %105 ]
%6 = phi double [ 0.000000e+00, %0 ], [ %108, %105 ]
%7 = phi double [ 0.000000e+00, %0 ], [ %109, %105 ]
%8 = getelementptr inbounds [4 x double], [4 x double]* @__const.main.b, i64 0, i64 %4
%9 = load double, double* %8
%10 = icmp eq i64 %4, 0
br i1 %10, label %52, label %11
11: ; preds = %3
%12 = and i64 %4, 1
%13 = icmp eq i64 %4, 1
br i1 %13, label %36, label %14
14: ; preds = %11
%15 = and i64 %4, -2
br label %16
16: ; preds = %16, %14
%17 = phi i64 [ 0, %14 ], [ %33, %16 ]
%18 = phi double [ %9, %14 ], [ %32, %16 ]
%19 = phi i64 [ 0, %14 ], [ %34, %16 ]
%20 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* @__const.main.A, i64 0, i64 %4, i64 %17
%21 = load double, double* %20
%22 = getelementptr inbounds [4 x double], [4 x double]* %1, i64 0, i64 %17
%23 = load double, double* %22
%24 = fneg double %21
%25 = tail call double @llvm.fmuladd.f64(double %24, double %23, double %18)
%26 = or i64 %17, 1
%27 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* @__const.main.A, i64 0, i64 %4, i64 %26
%28 = load double, double* %27
%29 = getelementptr inbounds [4 x double], [4 x double]* %1, i64 0, i64 %26
%30 = load double, double* %29
%31 = fneg double %28
%32 = tail call double @llvm.fmuladd.f64(double %31, double %30, double %25)
%33 = add nuw nsw i64 %17, 2
%34 = add i64 %19, 2
%35 = icmp eq i64 %34, %15
br i1 %35, label %36, label %16
36: ; preds = %16, %11
%37 = phi double [ undef, %11 ], [ %32, %16 ]
%38 = phi i64 [ 0, %11 ], [ %33, %16 ]
%39 = phi double [ %9, %11 ], [ %32, %16 ]
%40 = icmp eq i64 %12, 0
br i1 %40, label %48, label %41
41: ; preds = %36
%42 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* @__const.main.A, i64 0, i64 %4, i64 %38
%43 = load double, double* %42
%44 = getelementptr inbounds [4 x double], [4 x double]* %1, i64 0, i64 %38
%45 = load double, double* %44
%46 = fneg double %43
%47 = tail call double @llvm.fmuladd.f64(double %46, double %45, double %39)
br label %48
48: ; preds = %36, %41
%49 = phi double [ %37, %36 ], [ %47, %41 ]
%50 = add nuw nsw i64 %4, 1
%51 = icmp ult i64 %4, 3
br i1 %51, label %52, label %88
52: ; preds = %3, %48
%53 = phi i64 [ %50, %48 ], [ 1, %3 ]
%54 = phi double [ %49, %48 ], [ %9, %3 ]
%55 = and i64 %5, 1
%56 = icmp eq i64 %55, 0
br i1 %56, label %65, label %57
57: ; preds = %52
%58 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* @__const.main.A, i64 0, i64 %4, i64 %5
%59 = load double, double* %58
%60 = getelementptr inbounds [4 x double], [4 x double]* %1, i64 0, i64 %5
%61 = load double, double* %60
%62 = fneg double %59
%63 = tail call double @llvm.fmuladd.f64(double %62, double %61, double %54)
%64 = add nuw nsw i64 %5, 1
br label %65
65: ; preds = %57, %52
%66 = phi double [ undef, %52 ], [ %63, %57 ]
%67 = phi i64 [ %5, %52 ], [ %64, %57 ]
%68 = phi double [ %54, %52 ], [ %63, %57 ]
%69 = icmp eq i64 %5, 3
br i1 %69, label %88, label %70
70: ; preds = %65, %70
%71 = phi i64 [ %86, %70 ], [ %67, %65 ]
%72 = phi double [ %85, %70 ], [ %68, %65 ]
%73 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* @__const.main.A, i64 0, i64 %4, i64 %71
%74 = load double, double* %73
%75 = getelementptr inbounds [4 x double], [4 x double]* %1, i64 0, i64 %71
%76 = load double, double* %75
%77 = fneg double %74
%78 = tail call double @llvm.fmuladd.f64(double %77, double %76, double %72)
%79 = add nuw nsw i64 %71, 1
%80 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* @__const.main.A, i64 0, i64 %4, i64 %79
%81 = load double, double* %80
%82 = getelementptr inbounds [4 x double], [4 x double]* %1, i64 0, i64 %79
%83 = load double, double* %82
%84 = fneg double %81
%85 = tail call double @llvm.fmuladd.f64(double %84, double %83, double %78)
%86 = add nuw nsw i64 %71, 2
%87 = icmp eq i64 %86, 4
br i1 %87, label %88, label %70
88: ; preds = %65, %70, %48
%89 = phi i64 [ %50, %48 ], [ %53, %70 ], [ %53, %65 ]
%90 = phi double [ %49, %48 ], [ %66, %65 ], [ %85, %70 ]
%91 = getelementptr inbounds [4 x double], [4 x double]* %1, i64 0, i64 %4
%92 = load double, double* %91
%93 = fmul double %90, 1.500000e+00
%94 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* @__const.main.A, i64 0, i64 %4, i64 %4
%95 = load double, double* %94
%96 = fdiv double %93, %95
%97 = tail call double @llvm.fmuladd.f64(double %92, double -5.000000e-01, double %96)
%98 = tail call double @miabs(double %92, double %97)
%99 = tail call double @max(double %98, double %6)
store double %97, double* %91
%100 = tail call double @miabs(double %97, double 0.000000e+00)
%101 = tail call double @max(double %7, double %100)
%102 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), double %97)
%103 = add nuw nsw i64 %5, 1
%104 = icmp eq i64 %89, 4
br i1 %104, label %110, label %105
105: ; preds = %88, %110
%106 = phi i64 [ %89, %88 ], [ 0, %110 ]
%107 = phi i64 [ %103, %88 ], [ 1, %110 ]
%108 = phi double [ %99, %88 ], [ 0.000000e+00, %110 ]
%109 = phi double [ %101, %88 ], [ 0.000000e+00, %110 ]
br label %3
110: ; preds = %88
%111 = tail call i32 @putchar(i32 10)
%112 = tail call i32 @putchar(i32 10)
%113 = fdiv double %99, %101
%114 = fcmp ogt double %113, 0x3E7AD7F29ABCAF48
br i1 %114, label %105, label %115
115: ; preds = %110
ret i32 0
}