; LLVM IR from NishkarshRaj/Computer-Graphics :: Logistics/Clipping Algorithms/Cohen Sutherland (CohenSutherland)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [33 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.1 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca [4 x i32], align 16
  %3 = alloca [4 x i32], align 16
  %4 = alloca [4 x i32], align 16
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %18 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 4 dereferenceable(4) %15)
  %21 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 4 dereferenceable(4) %17)
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %26 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %29 = load float, ptr %14, align 4, !tbaa !9
  %30 = load float, ptr %10, align 4, !tbaa !9
  %31 = fcmp ogt float %29, %30
  br i1 %31, label %32, label %45

32:                                               ; preds = %0
  %33 = load float, ptr %14, align 4, !tbaa !9
  %34 = load float, ptr %11, align 4, !tbaa !9
  %35 = fcmp olt float %33, %34
  br i1 %35, label %36, label %45

36:                                               ; preds = %32
  %37 = load float, ptr %15, align 4, !tbaa !9
  %38 = load float, ptr %12, align 4, !tbaa !9
  %39 = fcmp ogt float %37, %38
  br i1 %39, label %40, label %45

40:                                               ; preds = %36
  %41 = load float, ptr %15, align 4, !tbaa !9
  %42 = load float, ptr %13, align 4, !tbaa !9
  %43 = fcmp olt float %41, %42
  br i1 %43, label %44, label %45

44:                                               ; preds = %40
  br label %201

45:                                               ; preds = %40, %36, %32, %0
  %46 = load float, ptr %14, align 4, !tbaa !9
  %47 = load float, ptr %10, align 4, !tbaa !9
  %48 = fcmp olt float %46, %47
  br i1 %48, label %49, label %63

49:                                               ; preds = %45
  %50 = load float, ptr %14, align 4, !tbaa !9
  %51 = load float, ptr %11, align 4, !tbaa !9
  %52 = fcmp olt float %50, %51
  br i1 %52, label %53, label %63

53:                                               ; preds = %49
  %54 = load float, ptr %15, align 4, !tbaa !9
  %55 = load float, ptr %12, align 4, !tbaa !9
  %56 = fcmp ogt float %54, %55
  br i1 %56, label %57, label %63

57:                                               ; preds = %53
  %58 = load float, ptr %15, align 4, !tbaa !9
  %59 = load float, ptr %13, align 4, !tbaa !9
  %60 = fcmp olt float %58, %59
  br i1 %60, label %61, label %63

61:                                               ; preds = %57
  %62 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 3
  store i32 1, ptr %62, align 4, !tbaa !5
  br label %200

63:                                               ; preds = %57, %53, %49, %45
  %64 = load float, ptr %14, align 4, !tbaa !9
  %65 = load float, ptr %10, align 4, !tbaa !9
  %66 = fcmp ogt float %64, %65
  br i1 %66, label %67, label %81

67:                                               ; preds = %63
  %68 = load float, ptr %14, align 4, !tbaa !9
  %69 = load float, ptr %11, align 4, !tbaa !9
  %70 = fcmp ogt float %68, %69
  br i1 %70, label %71, label %81

71:                                               ; preds = %67
  %72 = load float, ptr %15, align 4, !tbaa !9
  %73 = load float, ptr %12, align 4, !tbaa !9
  %74 = fcmp ogt float %72, %73
  br i1 %74, label %75, label %81

75:                                               ; preds = %71
  %76 = load float, ptr %15, align 4, !tbaa !9
  %77 = load float, ptr %13, align 4, !tbaa !9
  %78 = fcmp olt float %76, %77
  br i1 %78, label %79, label %81

79:                                               ; preds = %75
  %80 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 2
  store i32 1, ptr %80, align 8, !tbaa !5
  br label %199

81:                                               ; preds = %75, %71, %67, %63
  %82 = load float, ptr %14, align 4, !tbaa !9
  %83 = load float, ptr %10, align 4, !tbaa !9
  %84 = fcmp ogt float %82, %83
  br i1 %84, label %85, label %99

85:                                               ; preds = %81
  %86 = load float, ptr %14, align 4, !tbaa !9
  %87 = load float, ptr %11, align 4, !tbaa !9
  %88 = fcmp olt float %86, %87
  br i1 %88, label %89, label %99

89:                                               ; preds = %85
  %90 = load float, ptr %15, align 4, !tbaa !9
  %91 = load float, ptr %12, align 4, !tbaa !9
  %92 = fcmp ogt float %90, %91
  br i1 %92, label %93, label %99

93:                                               ; preds = %89
  %94 = load float, ptr %15, align 4, !tbaa !9
  %95 = load float, ptr %13, align 4, !tbaa !9
  %96 = fcmp ogt float %94, %95
  br i1 %96, label %97, label %99

97:                                               ; preds = %93
  %98 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0
  store i32 1, ptr %98, align 16, !tbaa !5
  br label %198

99:                                               ; preds = %93, %89, %85, %81
  %100 = load float, ptr %14, align 4, !tbaa !9
  %101 = load float, ptr %10, align 4, !tbaa !9
  %102 = fcmp ogt float %100, %101
  br i1 %102, label %103, label %117

103:                                              ; preds = %99
  %104 = load float, ptr %14, align 4, !tbaa !9
  %105 = load float, ptr %11, align 4, !tbaa !9
  %106 = fcmp olt float %104, %105
  br i1 %106, label %107, label %117

107:                                              ; preds = %103
  %108 = load float, ptr %15, align 4, !tbaa !9
  %109 = load float, ptr %12, align 4, !tbaa !9
  %110 = fcmp olt float %108, %109
  br i1 %110, label %111, label %117

111:                                              ; preds = %107
  %112 = load float, ptr %15, align 4, !tbaa !9
  %113 = load float, ptr %13, align 4, !tbaa !9
  %114 = fcmp olt float %112, %113
  br i1 %114, label %115, label %117

115:                                              ; preds = %111
  %116 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 1
  store i32 1, ptr %116, align 4, !tbaa !5
  br label %197

117:                                              ; preds = %111, %107, %103, %99
  %118 = load float, ptr %14, align 4, !tbaa !9
  %119 = load float, ptr %10, align 4, !tbaa !9
  %120 = fcmp olt float %118, %119
  br i1 %120, label %121, label %136

121:                                              ; preds = %117
  %122 = load float, ptr %14, align 4, !tbaa !9
  %123 = load float, ptr %11, align 4, !tbaa !9
  %124 = fcmp olt float %122, %123
  br i1 %124, label %125, label %136

125:                                              ; preds = %121
  %126 = load float, ptr %15, align 4, !tbaa !9
  %127 = load float, ptr %12, align 4, !tbaa !9
  %128 = fcmp ogt float %126, %127
  br i1 %128, label %129, label %136

129:                                              ; preds = %125
  %130 = load float, ptr %15, align 4, !tbaa !9
  %131 = load float, ptr %13, align 4, !tbaa !9
  %132 = fcmp ogt float %130, %131
  br i1 %132, label %133, label %136

133:                                              ; preds = %129
  %134 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0
  store i32 1, ptr %134, align 16, !tbaa !5
  %135 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 3
  store i32 1, ptr %135, align 4, !tbaa !5
  br label %196

136:                                              ; preds = %129, %125, %121, %117
  %137 = load float, ptr %14, align 4, !tbaa !9
  %138 = load float, ptr %10, align 4, !tbaa !9
  %139 = fcmp ogt float %137, %138
  br i1 %139, label %140, label %155

140:                                              ; preds = %136
  %141 = load float, ptr %14, align 4, !tbaa !9
  %142 = load float, ptr %11, align 4, !tbaa !9
  %143 = fcmp ogt float %141, %142
  br i1 %143, label %144, label %155

144:                                              ; preds = %140
  %145 = load float, ptr %15, align 4, !tbaa !9
  %146 = load float, ptr %12, align 4, !tbaa !9
  %147 = fcmp ogt float %145, %146
  br i1 %147, label %148, label %155

148:                                              ; preds = %144
  %149 = load float, ptr %15, align 4, !tbaa !9
  %150 = load float, ptr %13, align 4, !tbaa !9
  %151 = fcmp ogt float %149, %150
  br i1 %151, label %152, label %155

152:                                              ; preds = %148
  %153 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0
  store i32 1, ptr %153, align 16, !tbaa !5
  %154 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 2
  store i32 1, ptr %154, align 8, !tbaa !5
  br label %195

155:                                              ; preds = %148, %144, %140, %136
  %156 = load float, ptr %14, align 4, !tbaa !9
  %157 = load float, ptr %10, align 4, !tbaa !9
  %158 = fcmp olt float %156, %157
  br i1 %158, label %159, label %174

159:                                              ; preds = %155
  %160 = load float, ptr %14, align 4, !tbaa !9
  %161 = load float, ptr %11, align 4, !tbaa !9
  %162 = fcmp olt float %160, %161
  br i1 %162, label %163, label %174

163:                                              ; preds = %159
  %164 = load float, ptr %15, align 4, !tbaa !9
  %165 = load float, ptr %12, align 4, !tbaa !9
  %166 = fcmp olt float %164, %165
  br i1 %166, label %167, label %174

167:                                              ; preds = %163
  %168 = load float, ptr %15, align 4, !tbaa !9
  %169 = load float, ptr %13, align 4, !tbaa !9
  %170 = fcmp olt float %168, %169
  br i1 %170, label %171, label %174

171:                                              ; preds = %167
  %172 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 1
  store i32 1, ptr %172, align 4, !tbaa !5
  %173 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 3
  store i32 1, ptr %173, align 4, !tbaa !5
  br label %194

174:                                              ; preds = %167, %163, %159, %155
  %175 = load float, ptr %14, align 4, !tbaa !9
  %176 = load float, ptr %10, align 4, !tbaa !9
  %177 = fcmp ogt float %175, %176
  br i1 %177, label %178, label %193

178:                                              ; preds = %174
  %179 = load float, ptr %14, align 4, !tbaa !9
  %180 = load float, ptr %11, align 4, !tbaa !9
  %181 = fcmp ogt float %179, %180
  br i1 %181, label %182, label %193

182:                                              ; preds = %178
  %183 = load float, ptr %15, align 4, !tbaa !9
  %184 = load float, ptr %12, align 4, !tbaa !9
  %185 = fcmp olt float %183, %184
  br i1 %185, label %186, label %193

186:                                              ; preds = %182
  %187 = load float, ptr %15, align 4, !tbaa !9
  %188 = load float, ptr %13, align 4, !tbaa !9
  %189 = fcmp olt float %187, %188
  br i1 %189, label %190, label %193

190:                                              ; preds = %186
  %191 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 1
  store i32 1, ptr %191, align 4, !tbaa !5
  %192 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 2
  store i32 1, ptr %192, align 8, !tbaa !5
  br label %193

193:                                              ; preds = %190, %186, %182, %178, %174
  br label %194

194:                                              ; preds = %193, %171
  br label %195

195:                                              ; preds = %194, %152
  br label %196

196:                                              ; preds = %195, %133
  br label %197

197:                                              ; preds = %196, %115
  br label %198

198:                                              ; preds = %197, %97
  br label %199

199:                                              ; preds = %198, %79
  br label %200

200:                                              ; preds = %199, %61
  br label %201

201:                                              ; preds = %200, %44
  %202 = load float, ptr %14, align 4, !tbaa !9
  %203 = load float, ptr %10, align 4, !tbaa !9
  %204 = fcmp ogt float %202, %203
  br i1 %204, label %205, label %218

205:                                              ; preds = %201
  %206 = load float, ptr %14, align 4, !tbaa !9
  %207 = load float, ptr %11, align 4, !tbaa !9
  %208 = fcmp olt float %206, %207
  br i1 %208, label %209, label %218

209:                                              ; preds = %205
  %210 = load float, ptr %15, align 4, !tbaa !9
  %211 = load float, ptr %12, align 4, !tbaa !9
  %212 = fcmp ogt float %210, %211
  br i1 %212, label %213, label %218

213:                                              ; preds = %209
  %214 = load float, ptr %15, align 4, !tbaa !9
  %215 = load float, ptr %13, align 4, !tbaa !9
  %216 = fcmp olt float %214, %215
  br i1 %216, label %217, label %218

217:                                              ; preds = %213
  br label %374

218:                                              ; preds = %213, %209, %205, %201
  %219 = load float, ptr %16, align 4, !tbaa !9
  %220 = load float, ptr %10, align 4, !tbaa !9
  %221 = fcmp olt float %219, %220
  br i1 %221, label %222, label %236

222:                                              ; preds = %218
  %223 = load float, ptr %16, align 4, !tbaa !9
  %224 = load float, ptr %11, align 4, !tbaa !9
  %225 = fcmp olt float %223, %224
  br i1 %225, label %226, label %236

226:                                              ; preds = %222
  %227 = load float, ptr %17, align 4, !tbaa !9
  %228 = load float, ptr %12, align 4, !tbaa !9
  %229 = fcmp ogt float %227, %228
  br i1 %229, label %230, label %236

230:                                              ; preds = %226
  %231 = load float, ptr %17, align 4, !tbaa !9
  %232 = load float, ptr %13, align 4, !tbaa !9
  %233 = fcmp olt float %231, %232
  br i1 %233, label %234, label %236

234:                                              ; preds = %230
  %235 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 3
  store i32 1, ptr %235, align 4, !tbaa !5
  br label %373

236:                                              ; preds = %230, %226, %222, %218
  %237 = load float, ptr %16, align 4, !tbaa !9
  %238 = load float, ptr %10, align 4, !tbaa !9
  %239 = fcmp ogt float %237, %238
  br i1 %239, label %240, label %254

240:                                              ; preds = %236
  %241 = load float, ptr %16, align 4, !tbaa !9
  %242 = load float, ptr %11, align 4, !tbaa !9
  %243 = fcmp ogt float %241, %242
  br i1 %243, label %244, label %254

244:                                              ; preds = %240
  %245 = load float, ptr %17, align 4, !tbaa !9
  %246 = load float, ptr %12, align 4, !tbaa !9
  %247 = fcmp ogt float %245, %246
  br i1 %247, label %248, label %254

248:                                              ; preds = %244
  %249 = load float, ptr %17, align 4, !tbaa !9
  %250 = load float, ptr %13, align 4, !tbaa !9
  %251 = fcmp olt float %249, %250
  br i1 %251, label %252, label %254

252:                                              ; preds = %248
  %253 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 2
  store i32 1, ptr %253, align 8, !tbaa !5
  br label %372

254:                                              ; preds = %248, %244, %240, %236
  %255 = load float, ptr %16, align 4, !tbaa !9
  %256 = load float, ptr %10, align 4, !tbaa !9
  %257 = fcmp ogt float %255, %256
  br i1 %257, label %258, label %272

258:                                              ; preds = %254
  %259 = load float, ptr %16, align 4, !tbaa !9
  %260 = load float, ptr %11, align 4, !tbaa !9
  %261 = fcmp olt float %259, %260
  br i1 %261, label %262, label %272

262:                                              ; preds = %258
  %263 = load float, ptr %17, align 4, !tbaa !9
  %264 = load float, ptr %12, align 4, !tbaa !9
  %265 = fcmp ogt float %263, %264
  br i1 %265, label %266, label %272

266:                                              ; preds = %262
  %267 = load float, ptr %17, align 4, !tbaa !9
  %268 = load float, ptr %13, align 4, !tbaa !9
  %269 = fcmp ogt float %267, %268
  br i1 %269, label %270, label %272

270:                                              ; preds = %266
  %271 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0
  store i32 1, ptr %271, align 16, !tbaa !5
  br label %371

272:                                              ; preds = %266, %262, %258, %254
  %273 = load float, ptr %16, align 4, !tbaa !9
  %274 = load float, ptr %10, align 4, !tbaa !9
  %275 = fcmp ogt float %273, %274
  br i1 %275, label %276, label %290

276:                                              ; preds = %272
  %277 = load float, ptr %16, align 4, !tbaa !9
  %278 = load float, ptr %11, align 4, !tbaa !9
  %279 = fcmp olt float %277, %278
  br i1 %279, label %280, label %290

280:                                              ; preds = %276
  %281 = load float, ptr %17, align 4, !tbaa !9
  %282 = load float, ptr %12, align 4, !tbaa !9
  %283 = fcmp olt float %281, %282
  br i1 %283, label %284, label %290

284:                                              ; preds = %280
  %285 = load float, ptr %17, align 4, !tbaa !9
  %286 = load float, ptr %13, align 4, !tbaa !9
  %287 = fcmp olt float %285, %286
  br i1 %287, label %288, label %290

288:                                              ; preds = %284
  %289 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 1
  store i32 1, ptr %289, align 4, !tbaa !5
  br label %370

290:                                              ; preds = %284, %280, %276, %272
  %291 = load float, ptr %16, align 4, !tbaa !9
  %292 = load float, ptr %10, align 4, !tbaa !9
  %293 = fcmp olt float %291, %292
  br i1 %293, label %294, label %309

294:                                              ; preds = %290
  %295 = load float, ptr %16, align 4, !tbaa !9
  %296 = load float, ptr %11, align 4, !tbaa !9
  %297 = fcmp olt float %295, %296
  br i1 %297, label %298, label %309

298:                                              ; preds = %294
  %299 = load float, ptr %17, align 4, !tbaa !9
  %300 = load float, ptr %12, align 4, !tbaa !9
  %301 = fcmp ogt float %299, %300
  br i1 %301, label %302, label %309

302:                                              ; preds = %298
  %303 = load float, ptr %17, align 4, !tbaa !9
  %304 = load float, ptr %13, align 4, !tbaa !9
  %305 = fcmp ogt float %303, %304
  br i1 %305, label %306, label %309

306:                                              ; preds = %302
  %307 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0
  store i32 1, ptr %307, align 16, !tbaa !5
  %308 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 3
  store i32 1, ptr %308, align 4, !tbaa !5
  br label %369

309:                                              ; preds = %302, %298, %294, %290
  %310 = load float, ptr %16, align 4, !tbaa !9
  %311 = load float, ptr %10, align 4, !tbaa !9
  %312 = fcmp ogt float %310, %311
  br i1 %312, label %313, label %328

313:                                              ; preds = %309
  %314 = load float, ptr %16, align 4, !tbaa !9
  %315 = load float, ptr %11, align 4, !tbaa !9
  %316 = fcmp ogt float %314, %315
  br i1 %316, label %317, label %328

317:                                              ; preds = %313
  %318 = load float, ptr %17, align 4, !tbaa !9
  %319 = load float, ptr %12, align 4, !tbaa !9
  %320 = fcmp ogt float %318, %319
  br i1 %320, label %321, label %328

321:                                              ; preds = %317
  %322 = load float, ptr %17, align 4, !tbaa !9
  %323 = load float, ptr %13, align 4, !tbaa !9
  %324 = fcmp ogt float %322, %323
  br i1 %324, label %325, label %328

325:                                              ; preds = %321
  %326 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0
  store i32 1, ptr %326, align 16, !tbaa !5
  %327 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 2
  store i32 1, ptr %327, align 8, !tbaa !5
  br label %368

328:                                              ; preds = %321, %317, %313, %309
  %329 = load float, ptr %16, align 4, !tbaa !9
  %330 = load float, ptr %10, align 4, !tbaa !9
  %331 = fcmp olt float %329, %330
  br i1 %331, label %332, label %347

332:                                              ; preds = %328
  %333 = load float, ptr %16, align 4, !tbaa !9
  %334 = load float, ptr %11, align 4, !tbaa !9
  %335 = fcmp olt float %333, %334
  br i1 %335, label %336, label %347

336:                                              ; preds = %332
  %337 = load float, ptr %17, align 4, !tbaa !9
  %338 = load float, ptr %12, align 4, !tbaa !9
  %339 = fcmp olt float %337, %338
  br i1 %339, label %340, label %347

340:                                              ; preds = %336
  %341 = load float, ptr %17, align 4, !tbaa !9
  %342 = load float, ptr %13, align 4, !tbaa !9
  %343 = fcmp olt float %341, %342
  br i1 %343, label %344, label %347

344:                                              ; preds = %340
  %345 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 1
  store i32 1, ptr %345, align 4, !tbaa !5
  %346 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 3
  store i32 1, ptr %346, align 4, !tbaa !5
  br label %367

347:                                              ; preds = %340, %336, %332, %328
  %348 = load float, ptr %16, align 4, !tbaa !9
  %349 = load float, ptr %10, align 4, !tbaa !9
  %350 = fcmp ogt float %348, %349
  br i1 %350, label %351, label %366

351:                                              ; preds = %347
  %352 = load float, ptr %16, align 4, !tbaa !9
  %353 = load float, ptr %11, align 4, !tbaa !9
  %354 = fcmp ogt float %352, %353
  br i1 %354, label %355, label %366

355:                                              ; preds = %351
  %356 = load float, ptr %17, align 4, !tbaa !9
  %357 = load float, ptr %12, align 4, !tbaa !9
  %358 = fcmp olt float %356, %357
  br i1 %358, label %359, label %366

359:                                              ; preds = %355
  %360 = load float, ptr %17, align 4, !tbaa !9
  %361 = load float, ptr %13, align 4, !tbaa !9
  %362 = fcmp olt float %360, %361
  br i1 %362, label %363, label %366

363:                                              ; preds = %359
  %364 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 1
  store i32 1, ptr %364, align 4, !tbaa !5
  %365 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 2
  store i32 1, ptr %365, align 8, !tbaa !5
  br label %366

366:                                              ; preds = %363, %359, %355, %351, %347
  br label %367

367:                                              ; preds = %366, %344
  br label %368

368:                                              ; preds = %367, %325
  br label %369

369:                                              ; preds = %368, %306
  br label %370

370:                                              ; preds = %369, %288
  br label %371

371:                                              ; preds = %370, %270
  br label %372

372:                                              ; preds = %371, %252
  br label %373

373:                                              ; preds = %372, %234
  br label %374

374:                                              ; preds = %373, %217
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %375

375:                                              ; preds = %386, %374
  %376 = load i32, ptr %5, align 4, !tbaa !5
  %377 = icmp slt i32 %376, 4
  br i1 %377, label %378, label %389

378:                                              ; preds = %375
  %379 = load i32, ptr %5, align 4, !tbaa !5
  %380 = sext i32 %379 to i64
  %381 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %380
  %382 = load i32, ptr %381, align 4, !tbaa !5
  %383 = icmp ne i32 %382, 0
  br i1 %383, label %384, label %385

384:                                              ; preds = %378
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %385

385:                                              ; preds = %384, %378
  br label %386

386:                                              ; preds = %385
  %387 = load i32, ptr %5, align 4, !tbaa !5
  %388 = add nsw i32 %387, 1
  store i32 %388, ptr %5, align 4, !tbaa !5
  br label %375, !llvm.loop !11

389:                                              ; preds = %375
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %390

390:                                              ; preds = %401, %389
  %391 = load i32, ptr %5, align 4, !tbaa !5
  %392 = icmp slt i32 %391, 4
  br i1 %392, label %393, label %404

393:                                              ; preds = %390
  %394 = load i32, ptr %5, align 4, !tbaa !5
  %395 = sext i32 %394 to i64
  %396 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %395
  %397 = load i32, ptr %396, align 4, !tbaa !5
  %398 = icmp ne i32 %397, 0
  br i1 %398, label %399, label %400

399:                                              ; preds = %393
  store i32 1, ptr %7, align 4, !tbaa !5
  br label %400

400:                                              ; preds = %399, %393
  br label %401

401:                                              ; preds = %400
  %402 = load i32, ptr %5, align 4, !tbaa !5
  %403 = add nsw i32 %402, 1
  store i32 %403, ptr %5, align 4, !tbaa !5
  br label %390, !llvm.loop !13

404:                                              ; preds = %390
  %405 = load i32, ptr %6, align 4, !tbaa !5
  %406 = icmp eq i32 %405, 0
  br i1 %406, label %407, label %425

407:                                              ; preds = %404
  %408 = load i32, ptr %7, align 4, !tbaa !5
  %409 = icmp eq i32 %408, 0
  br i1 %409, label %410, label %425

410:                                              ; preds = %407
  %411 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %412 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %411, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %413 = load float, ptr %14, align 4, !tbaa !9
  %414 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %413)
  %415 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %414, ptr noundef @.str.4)
  %416 = load float, ptr %15, align 4, !tbaa !9
  %417 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %415, float noundef %416)
  %418 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %417, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %419 = load float, ptr %16, align 4, !tbaa !9
  %420 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %419)
  %421 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %420, ptr noundef @.str.4)
  %422 = load float, ptr %17, align 4, !tbaa !9
  %423 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %421, float noundef %422)
  %424 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %423, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %572

425:                                              ; preds = %407, %404
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %426

426:                                              ; preds = %443, %425
  %427 = load i32, ptr %5, align 4, !tbaa !5
  %428 = icmp slt i32 %427, 4
  br i1 %428, label %429, label %446

429:                                              ; preds = %426
  %430 = load i32, ptr %5, align 4, !tbaa !5
  %431 = sext i32 %430 to i64
  %432 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 %431
  %433 = load i32, ptr %432, align 4, !tbaa !5
  %434 = icmp eq i32 %433, 1
  br i1 %434, label %435, label %442

435:                                              ; preds = %429
  %436 = load i32, ptr %5, align 4, !tbaa !5
  %437 = sext i32 %436 to i64
  %438 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 %437
  %439 = load i32, ptr %438, align 4, !tbaa !5
  %440 = icmp eq i32 %439, 1
  br i1 %440, label %441, label %442

441:                                              ; preds = %435
  store i32 1, ptr %8, align 4, !tbaa !5
  br label %442

442:                                              ; preds = %441, %435, %429
  br label %443

443:                                              ; preds = %442
  %444 = load i32, ptr %5, align 4, !tbaa !5
  %445 = add nsw i32 %444, 1
  store i32 %445, ptr %5, align 4, !tbaa !5
  br label %426, !llvm.loop !14

446:                                              ; preds = %426
  %447 = load i32, ptr %8, align 4, !tbaa !5
  %448 = icmp eq i32 %447, 0
  br i1 %448, label %449, label %568

449:                                              ; preds = %446
  %450 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
  %451 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %450, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %452 = load float, ptr %17, align 4, !tbaa !9
  %453 = load float, ptr %15, align 4, !tbaa !9
  %454 = fsub float %452, %453
  %455 = load float, ptr %16, align 4, !tbaa !9
  %456 = load float, ptr %14, align 4, !tbaa !9
  %457 = fsub float %455, %456
  %458 = fdiv float %454, %457
  store float %458, ptr %9, align 4, !tbaa !9
  %459 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 0
  %460 = load i32, ptr %459, align 16, !tbaa !5
  %461 = icmp eq i32 %460, 1
  br i1 %461, label %462, label %470

462:                                              ; preds = %449
  %463 = load float, ptr %14, align 4, !tbaa !9
  %464 = load float, ptr %13, align 4, !tbaa !9
  %465 = load float, ptr %15, align 4, !tbaa !9
  %466 = fsub float %464, %465
  %467 = load float, ptr %9, align 4, !tbaa !9
  %468 = call float @llvm.fmuladd.f32(float %466, float %467, float %463)
  store float %468, ptr %14, align 4, !tbaa !9
  %469 = load float, ptr %13, align 4, !tbaa !9
  store float %469, ptr %15, align 4, !tbaa !9
  br label %470

470:                                              ; preds = %462, %449
  %471 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 1
  %472 = load i32, ptr %471, align 4, !tbaa !5
  %473 = icmp eq i32 %472, 1
  br i1 %473, label %474, label %482

474:                                              ; preds = %470
  %475 = load float, ptr %14, align 4, !tbaa !9
  %476 = load float, ptr %12, align 4, !tbaa !9
  %477 = load float, ptr %15, align 4, !tbaa !9
  %478 = fsub float %476, %477
  %479 = load float, ptr %9, align 4, !tbaa !9
  %480 = call float @llvm.fmuladd.f32(float %478, float %479, float %475)
  store float %480, ptr %14, align 4, !tbaa !9
  %481 = load float, ptr %12, align 4, !tbaa !9
  store float %481, ptr %15, align 4, !tbaa !9
  br label %482

482:                                              ; preds = %474, %470
  %483 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 2
  %484 = load i32, ptr %483, align 8, !tbaa !5
  %485 = icmp eq i32 %484, 1
  br i1 %485, label %486, label %494

486:                                              ; preds = %482
  %487 = load float, ptr %15, align 4, !tbaa !9
  %488 = load float, ptr %11, align 4, !tbaa !9
  %489 = load float, ptr %14, align 4, !tbaa !9
  %490 = fsub float %488, %489
  %491 = load float, ptr %9, align 4, !tbaa !9
  %492 = call float @llvm.fmuladd.f32(float %490, float %491, float %487)
  store float %492, ptr %15, align 4, !tbaa !9
  %493 = load float, ptr %11, align 4, !tbaa !9
  store float %493, ptr %14, align 4, !tbaa !9
  br label %494

494:                                              ; preds = %486, %482
  %495 = getelementptr inbounds [4 x i32], ptr %2, i64 0, i64 3
  %496 = load i32, ptr %495, align 4, !tbaa !5
  %497 = icmp eq i32 %496, 1
  br i1 %497, label %498, label %506

498:                                              ; preds = %494
  %499 = load float, ptr %15, align 4, !tbaa !9
  %500 = load float, ptr %10, align 4, !tbaa !9
  %501 = load float, ptr %14, align 4, !tbaa !9
  %502 = fsub float %500, %501
  %503 = load float, ptr %9, align 4, !tbaa !9
  %504 = call float @llvm.fmuladd.f32(float %502, float %503, float %499)
  store float %504, ptr %15, align 4, !tbaa !9
  %505 = load float, ptr %10, align 4, !tbaa !9
  store float %505, ptr %14, align 4, !tbaa !9
  br label %506

506:                                              ; preds = %498, %494
  %507 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 0
  %508 = load i32, ptr %507, align 16, !tbaa !5
  %509 = icmp eq i32 %508, 1
  br i1 %509, label %510, label %518

510:                                              ; preds = %506
  %511 = load float, ptr %16, align 4, !tbaa !9
  %512 = load float, ptr %13, align 4, !tbaa !9
  %513 = load float, ptr %17, align 4, !tbaa !9
  %514 = fsub float %512, %513
  %515 = load float, ptr %9, align 4, !tbaa !9
  %516 = call float @llvm.fmuladd.f32(float %514, float %515, float %511)
  store float %516, ptr %16, align 4, !tbaa !9
  %517 = load float, ptr %13, align 4, !tbaa !9
  store float %517, ptr %17, align 4, !tbaa !9
  br label %518

518:                                              ; preds = %510, %506
  %519 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 1
  %520 = load i32, ptr %519, align 4, !tbaa !5
  %521 = icmp eq i32 %520, 1
  br i1 %521, label %522, label %530

522:                                              ; preds = %518
  %523 = load float, ptr %16, align 4, !tbaa !9
  %524 = load float, ptr %12, align 4, !tbaa !9
  %525 = load float, ptr %17, align 4, !tbaa !9
  %526 = fsub float %524, %525
  %527 = load float, ptr %9, align 4, !tbaa !9
  %528 = call float @llvm.fmuladd.f32(float %526, float %527, float %523)
  store float %528, ptr %16, align 4, !tbaa !9
  %529 = load float, ptr %12, align 4, !tbaa !9
  store float %529, ptr %17, align 4, !tbaa !9
  br label %530

530:                                              ; preds = %522, %518
  %531 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 2
  %532 = load i32, ptr %531, align 8, !tbaa !5
  %533 = icmp eq i32 %532, 1
  br i1 %533, label %534, label %542

534:                                              ; preds = %530
  %535 = load float, ptr %17, align 4, !tbaa !9
  %536 = load float, ptr %11, align 4, !tbaa !9
  %537 = load float, ptr %16, align 4, !tbaa !9
  %538 = fsub float %536, %537
  %539 = load float, ptr %9, align 4, !tbaa !9
  %540 = call float @llvm.fmuladd.f32(float %538, float %539, float %535)
  store float %540, ptr %17, align 4, !tbaa !9
  %541 = load float, ptr %11, align 4, !tbaa !9
  store float %541, ptr %16, align 4, !tbaa !9
  br label %542

542:                                              ; preds = %534, %530
  %543 = getelementptr inbounds [4 x i32], ptr %3, i64 0, i64 3
  %544 = load i32, ptr %543, align 4, !tbaa !5
  %545 = icmp eq i32 %544, 1
  br i1 %545, label %546, label %554

546:                                              ; preds = %542
  %547 = load float, ptr %17, align 4, !tbaa !9
  %548 = load float, ptr %10, align 4, !tbaa !9
  %549 = load float, ptr %16, align 4, !tbaa !9
  %550 = fsub float %548, %549
  %551 = load float, ptr %9, align 4, !tbaa !9
  %552 = call float @llvm.fmuladd.f32(float %550, float %551, float %547)
  store float %552, ptr %17, align 4, !tbaa !9
  %553 = load float, ptr %10, align 4, !tbaa !9
  store float %553, ptr %16, align 4, !tbaa !9
  br label %554

554:                                              ; preds = %546, %542
  %555 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %556 = load float, ptr %14, align 4, !tbaa !9
  %557 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %556)
  %558 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %557, ptr noundef @.str.4)
  %559 = load float, ptr %15, align 4, !tbaa !9
  %560 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %558, float noundef %559)
  %561 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %560, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %562 = load float, ptr %16, align 4, !tbaa !9
  %563 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %562)
  %564 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %563, ptr noundef @.str.4)
  %565 = load float, ptr %17, align 4, !tbaa !9
  %566 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %564, float noundef %565)
  %567 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %566, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %571

568:                                              ; preds = %446
  %569 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.6)
  %570 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %569, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %571

571:                                              ; preds = %568, %554
  br label %572

572:                                              ; preds = %571, %410
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #5
  %573 = load i32, ptr %1, align 4
  ret i32 %573
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) #3 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [33 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.1 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca float, align 4
  %2 = alloca float, align 4
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
  %9 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  %10 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %11 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %12 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %14 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %15 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
  %16 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.6)
  %21 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  ret i32 0
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: ADCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass