#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 computeOutCode(double, double, double, double, double, double);
int clip(double *x0, double *y0, double *x1, double *y1, double xmin,
         double ymin, double xmax, double ymax) {
  int outcode0 = computeOutCode(*x0, *y0, xmin, ymin, xmax, ymax);
  int outcode1 = computeOutCode(*x1, *y1, xmin, ymin, xmax, ymax);
  int accept = 0;
  while (1) {
    if (!(outcode0 | outcode1)) {
      accept = 1;
      break;
    } else if (outcode0 & outcode1) {
      break;
    } else {
      double x = *x0, y = *y0;
      int outcodeOut = outcode0 ? outcode0 : outcode1;
      if (outcodeOut & 8) {
        x = *x0 + (*x1 - *x0) * (ymax - *y0) / (*y1 - *y0);
        y = ymax;
      } else if (outcodeOut & 4) {
        x = *x0 + (*x1 - *x0) * (ymin - *y0) / (*y1 - *y0);
        y = ymin;
      } else if (outcodeOut & 2) {
        y = *y0 + (*y1 - *y0) * (xmax - *x0) / (*x1 - *x0);
        x = xmax;
      } else if (outcodeOut & 1) {
        y = *y0 + (*y1 - *y0) * (xmin - *x0) / (*x1 - *x0);
        x = xmin;
      }
      if (outcodeOut == outcode0) {
        *x0 = x;
        *y0 = y;
        outcode0 = computeOutCode(*x0, *y0, xmin, ymin, xmax, ymax);
      } else {
        *x1 = x;
        *y1 = y;
        outcode1 = computeOutCode(*x1, *y1, xmin, ymin, xmax, ymax);
      }
    }
  }
  return accept;
}


x86 assembly (clang, -O0):
<clip>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
movsd  %xmm0,-0x28(%rbp)
movsd  %xmm1,-0x30(%rbp)
movsd  %xmm2,-0x38(%rbp)
movsd  %xmm3,-0x40(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm1
movsd  -0x28(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm3
movsd  -0x38(%rbp),%xmm4
movsd  -0x40(%rbp),%xmm5
call   1030 <computeOutCode@plt>
mov    %eax,-0x44(%rbp)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm1
movsd  -0x28(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm3
movsd  -0x38(%rbp),%xmm4
movsd  -0x40(%rbp),%xmm5
call   1030 <computeOutCode@plt>
mov    %eax,-0x48(%rbp)
movl   $0x0,-0x4c(%rbp)
mov    -0x44(%rbp),%eax
or     -0x48(%rbp),%eax
cmp    $0x0,%eax
jne    11b6 <clip+0xa6>
movl   $0x1,-0x4c(%rbp)
jmp    144b <clip+0x33b>
mov    -0x44(%rbp),%eax
and    -0x48(%rbp),%eax
cmp    $0x0,%eax
je     11ca <clip+0xba>
jmp    144b <clip+0x33b>
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
cmpl   $0x0,-0x44(%rbp)
je     11f9 <clip+0xe9>
mov    -0x44(%rbp),%eax
mov    %eax,-0x68(%rbp)
jmp    11ff <clip+0xef>
mov    -0x48(%rbp),%eax
mov    %eax,-0x68(%rbp)
mov    -0x68(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x64(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     1269 <clip+0x159>
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x8(%rbp),%rax
subsd  (%rax),%xmm1
movsd  -0x40(%rbp),%xmm2
mov    -0x10(%rbp),%rax
subsd  (%rax),%xmm2
mulsd  %xmm2,%xmm1
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x10(%rbp),%rax
subsd  (%rax),%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
jmp    139f <clip+0x28f>
mov    -0x64(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     12cd <clip+0x1bd>
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x8(%rbp),%rax
subsd  (%rax),%xmm1
movsd  -0x30(%rbp),%xmm2
mov    -0x10(%rbp),%rax
subsd  (%rax),%xmm2
mulsd  %xmm2,%xmm1
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x10(%rbp),%rax
subsd  (%rax),%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
jmp    139a <clip+0x28a>
mov    -0x64(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     1331 <clip+0x221>
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x10(%rbp),%rax
subsd  (%rax),%xmm1
movsd  -0x38(%rbp),%xmm2
mov    -0x8(%rbp),%rax
subsd  (%rax),%xmm2
mulsd  %xmm2,%xmm1
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x8(%rbp),%rax
subsd  (%rax),%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
jmp    1395 <clip+0x285>
mov    -0x64(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     1390 <clip+0x280>
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x10(%rbp),%rax
subsd  (%rax),%xmm1
movsd  -0x28(%rbp),%xmm2
mov    -0x8(%rbp),%rax
subsd  (%rax),%xmm2
mulsd  %xmm2,%xmm1
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x8(%rbp),%rax
subsd  (%rax),%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x28(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
jmp    1395 <clip+0x285>
jmp    139a <clip+0x28a>
jmp    139f <clip+0x28f>
mov    -0x64(%rbp),%eax
cmp    -0x44(%rbp),%eax
jne    13f6 <clip+0x2e6>
movsd  -0x58(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm1
movsd  -0x28(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm3
movsd  -0x38(%rbp),%xmm4
movsd  -0x40(%rbp),%xmm5
call   1030 <computeOutCode@plt>
mov    %eax,-0x44(%rbp)
jmp    143c <clip+0x32c>
movsd  -0x58(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x60(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x18(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm1
movsd  -0x28(%rbp),%xmm2
movsd  -0x30(%rbp),%xmm3
movsd  -0x38(%rbp),%xmm4
movsd  -0x40(%rbp),%xmm5
call   1030 <computeOutCode@plt>
mov    %eax,-0x48(%rbp)
jmp    1441 <clip+0x331>
jmp    1446 <clip+0x336>
jmp    119b <clip+0x8b>
mov    -0x4c(%rbp),%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<clip>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
movaps %xmm3,%xmm5
movsd  %xmm3,0x20(%rsp)
movapd %xmm2,%xmm4
movsd  %xmm2,0x10(%rsp)
movapd %xmm1,%xmm3
movsd  %xmm1,0x18(%rsp)
movapd %xmm0,%xmm2
movsd  %xmm0,0x8(%rsp)
mov    %rcx,%r14
mov    %rdx,%r12
mov    %rsi,%r15
mov    %rdi,%rbx
movsd  (%rdi),%xmm0
movsd  (%rsi),%xmm1
call   1030 <computeOutCode@plt>
mov    %eax,%ebp
movsd  (%r12),%xmm0
movsd  (%r14),%xmm1
jmp    1181 <clip+0x71>
nopl   (%rax)
movsd  %xmm0,(%r12)
movsd  %xmm1,(%r14)
movsd  (%r12),%xmm0
movsd  0x8(%rsp),%xmm2
movsd  0x18(%rsp),%xmm3
movsd  0x10(%rsp),%xmm4
movsd  0x20(%rsp),%xmm5
call   1030 <computeOutCode@plt>
mov    %eax,%r13d
mov    %ebp,%eax
or     %r13d,%eax
je     12b5 <clip+0x1a5>
test   %r13d,%ebp
jne    12bc <clip+0x1ac>
movsd  (%rbx),%xmm0
movsd  (%r15),%xmm1
test   %ebp,%ebp
mov    %ebp,%eax
cmove  %r13d,%eax
test   $0x8,%al
jne    11f0 <clip+0xe0>
test   $0x4,%al
jne    1210 <clip+0x100>
test   $0x2,%al
jne    127a <clip+0x16a>
test   $0x1,%al
je     1241 <clip+0x131>
movsd  (%r14),%xmm2
subsd  %xmm1,%xmm2
movsd  0x8(%rsp),%xmm4
jmp    1289 <clip+0x179>
xchg   %ax,%ax
movsd  (%r12),%xmm2
subsd  %xmm0,%xmm2
movsd  0x20(%rsp),%xmm4
jmp    1220 <clip+0x110>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  (%r12),%xmm2
subsd  %xmm0,%xmm2
movsd  0x18(%rsp),%xmm4
movapd %xmm4,%xmm3
subsd  %xmm1,%xmm3
mulsd  %xmm2,%xmm3
movsd  (%r14),%xmm2
subsd  %xmm1,%xmm2
divsd  %xmm2,%xmm3
addsd  %xmm3,%xmm0
movapd %xmm4,%xmm1
cmp    %ebp,%eax
jne    1170 <clip+0x60>
movsd  %xmm0,(%rbx)
movsd  %xmm1,(%r15)
movsd  (%rbx),%xmm0
movsd  0x8(%rsp),%xmm2
movsd  0x18(%rsp),%xmm3
movsd  0x10(%rsp),%xmm4
movsd  0x20(%rsp),%xmm5
call   1030 <computeOutCode@plt>
mov    %eax,%ebp
jmp    11a1 <clip+0x91>
movsd  (%r14),%xmm2
subsd  %xmm1,%xmm2
movsd  0x10(%rsp),%xmm4
movapd %xmm4,%xmm3
subsd  %xmm0,%xmm3
mulsd  %xmm2,%xmm3
movsd  (%r12),%xmm2
subsd  %xmm0,%xmm2
divsd  %xmm2,%xmm3
addsd  %xmm3,%xmm1
movapd %xmm4,%xmm0
cmp    %ebp,%eax
jne    1170 <clip+0x60>
jmp    1249 <clip+0x139>
mov    $0x1,%eax
jmp    12be <clip+0x1ae>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define i32 @clip(double* nocapture %0, double* nocapture %1, double* nocapture %2, double* nocapture %3, double %4, double %5, double %6, double %7) {
%9 = load double, double* %0
%10 = load double, double* %1
%11 = tail call i32 @computeOutCode(double %9, double %10, double %4, double %5, double %6, double %7)
%12 = load double, double* %2
%13 = load double, double* %3
%14 = tail call i32 @computeOutCode(double %12, double %13, double %4, double %5, double %6, double %7)
%15 = or i32 %11, %14
%16 = icmp eq i32 %15, 0
br i1 %16, label %89, label %17
17: ; preds = %8, %84
%18 = phi i32 [ %86, %84 ], [ %11, %8 ]
%19 = phi i32 [ %85, %84 ], [ %14, %8 ]
%20 = and i32 %18, %19
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %89
22: ; preds = %17
%23 = load double, double* %0
%24 = load double, double* %1
%25 = icmp eq i32 %18, 0
%26 = select i1 %25, i32 %19, i32 %18
%27 = and i32 %26, 8
%28 = icmp eq i32 %27, 0
br i1 %28, label %38, label %29
29: ; preds = %22
%30 = load double, double* %2
%31 = fsub double %30, %23
%32 = fsub double %7, %24
%33 = fmul double %32, %31
%34 = load double, double* %3
%35 = fsub double %34, %24
%36 = fdiv double %33, %35
%37 = fadd double %23, %36
br label %74
38: ; preds = %22
%39 = and i32 %26, 4
%40 = icmp eq i32 %39, 0
br i1 %40, label %50, label %41
41: ; preds = %38
%42 = load double, double* %2
%43 = fsub double %42, %23
%44 = fsub double %5, %24
%45 = fmul double %44, %43
%46 = load double, double* %3
%47 = fsub double %46, %24
%48 = fdiv double %45, %47
%49 = fadd double %23, %48
br label %74
50: ; preds = %38
%51 = and i32 %26, 2
%52 = icmp eq i32 %51, 0
br i1 %52, label %62, label %53
53: ; preds = %50
%54 = load double, double* %3
%55 = fsub double %54, %24
%56 = fsub double %6, %23
%57 = fmul double %56, %55
%58 = load double, double* %2
%59 = fsub double %58, %23
%60 = fdiv double %57, %59
%61 = fadd double %24, %60
br label %74
62: ; preds = %50
%63 = and i32 %26, 1
%64 = icmp eq i32 %63, 0
br i1 %64, label %74, label %65
65: ; preds = %62
%66 = load double, double* %3
%67 = fsub double %66, %24
%68 = fsub double %4, %23
%69 = fmul double %68, %67
%70 = load double, double* %2
%71 = fsub double %70, %23
%72 = fdiv double %69, %71
%73 = fadd double %24, %72
br label %74
74: ; preds = %41, %62, %65, %53, %29
%75 = phi double [ %37, %29 ], [ %49, %41 ], [ %6, %53 ], [ %4, %65 ], [ %23, %62 ]
%76 = phi double [ %7, %29 ], [ %5, %41 ], [ %61, %53 ], [ %73, %65 ], [ %24, %62 ]
%77 = icmp eq i32 %26, %18
br i1 %77, label %78, label %81
78: ; preds = %74
store double %75, double* %0
store double %76, double* %1
%79 = load double, double* %0
%80 = tail call i32 @computeOutCode(double %79, double %76, double %4, double %5, double %6, double %7)
br label %84
81: ; preds = %74
store double %75, double* %2
store double %76, double* %3
%82 = load double, double* %2
%83 = tail call i32 @computeOutCode(double %82, double %76, double %4, double %5, double %6, double %7)
br label %84
84: ; preds = %81, %78
%85 = phi i32 [ %19, %78 ], [ %83, %81 ]
%86 = phi i32 [ %80, %78 ], [ %18, %81 ]
%87 = or i32 %86, %85
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %17
89: ; preds = %17, %84, %8
%90 = phi i32 [ 1, %8 ], [ 1, %84 ], [ 0, %17 ]
ret i32 %90
}