; LLVM IR from tangjz/acm-icpc :: codeforces/gym/101471A.ll (Z5solve4Line)

; 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"

%struct.Line = type { %struct.Point, %struct.Point }
%struct.Point = type { x86_fp80, x86_fp80 }
%struct.Node = type { i32, %struct.Point }

@n = external dso_local global i32, align 4
@tot = external dso_local global i32, align 4
@line = external dso_local global [201 x %struct.Line], align 16
@ins = external dso_local global [403 x %struct.Node], align 16
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@__PRETTY_FUNCTION__._Z5solve4Line = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef x86_fp80 @_Z5solve4Line(ptr noundef byval(%struct.Line) align 16 %0) #0 {
  %2 = alloca x86_fp80, align 16
  %3 = alloca x86_fp80, align 16
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %struct.Point, align 16
  %7 = alloca %struct.Node, align 16
  %8 = alloca %struct.Node, align 16
  %9 = alloca %struct.Node, align 16
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.Point, align 16
  %13 = alloca [4 x i32], align 16
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %struct.Point, align 16
  %19 = alloca %struct.Line, align 16
  %20 = alloca %struct.Point, align 16
  %21 = alloca %struct.Point, align 16
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %struct.Line, align 16
  %25 = alloca %struct.Point, align 16
  %26 = alloca %struct.Point, align 16
  call void @llvm.lifetime.start.p0(i64 16, ptr %2) #6
  store x86_fp80 0xK00000000000000000000, ptr %2, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  store x86_fp80 0xK00000000000000000000, ptr %3, align 16, !tbaa !5
  store i32 0, ptr @tot, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %27

27:                                               ; preds = %88, %1
  %28 = load i32, ptr %4, align 4, !tbaa !9
  %29 = load i32, ptr @n, align 4, !tbaa !9
  %30 = icmp slt i32 %28, %29
  br i1 %30, label %32, label %31

31:                                               ; preds = %27
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %91

32:                                               ; preds = %27
  %33 = load i32, ptr %4, align 4, !tbaa !9
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %34
  %36 = call noundef zeroext i1 @_ZNK4Line8parallelERKS_(ptr noundef nonnull align 16 dereferenceable(64) %0, ptr noundef nonnull align 16 dereferenceable(64) %35)
  br i1 %36, label %57, label %37

37:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #6
  %38 = load i32, ptr %4, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %39
  call void @_ZNK4Line9intersectERKS_(ptr dead_on_unwind writable sret(%struct.Point) align 16 %6, ptr noundef nonnull align 16 dereferenceable(64) %0, ptr noundef nonnull align 16 dereferenceable(64) %40)
  %41 = load i32, ptr %4, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %42
  %44 = call noundef zeroext i1 @_ZNK4Line6on_segERK5Point(ptr noundef nonnull align 16 dereferenceable(64) %43, ptr noundef nonnull align 16 dereferenceable(32) %6)
  br i1 %44, label %46, label %45

45:                                               ; preds = %37
  store i32 4, ptr %5, align 4
  br label %54

46:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 48, ptr %7) #6
  %47 = getelementptr inbounds %struct.Node, ptr %7, i32 0, i32 0
  %48 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %48, ptr %47, align 16, !tbaa !11
  %49 = getelementptr inbounds %struct.Node, ptr %7, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %49, ptr align 16 %6, i64 32, i1 false), !tbaa.struct !14
  %50 = load i32, ptr @tot, align 4, !tbaa !9
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr @tot, align 4, !tbaa !9
  %52 = sext i32 %50 to i64
  %53 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %52
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %53, ptr align 16 %7, i64 48, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #6
  store i32 0, ptr %5, align 4
  br label %54

54:                                               ; preds = %46, %45
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #6
  %55 = load i32, ptr %5, align 4
  switch i32 %55, label %408 [
    i32 0, label %56
    i32 4, label %88
  ]

56:                                               ; preds = %54
  br label %87

57:                                               ; preds = %32
  %58 = load i32, ptr %4, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %59
  %61 = getelementptr inbounds %struct.Line, ptr %60, i32 0, i32 0
  %62 = call noundef zeroext i1 @_ZNK4Line7on_lineERK5Point(ptr noundef nonnull align 16 dereferenceable(64) %0, ptr noundef nonnull align 16 dereferenceable(32) %61)
  br i1 %62, label %63, label %86

63:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 48, ptr %8) #6
  %64 = getelementptr inbounds %struct.Node, ptr %8, i32 0, i32 0
  %65 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %65, ptr %64, align 16, !tbaa !11
  %66 = getelementptr inbounds %struct.Node, ptr %8, i32 0, i32 1
  %67 = load i32, ptr %4, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %68
  %70 = getelementptr inbounds %struct.Line, ptr %69, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %66, ptr align 16 %70, i64 32, i1 false), !tbaa.struct !14
  %71 = load i32, ptr @tot, align 4, !tbaa !9
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr @tot, align 4, !tbaa !9
  %73 = sext i32 %71 to i64
  %74 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %73
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %74, ptr align 16 %8, i64 48, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 48, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #6
  %75 = getelementptr inbounds %struct.Node, ptr %9, i32 0, i32 0
  %76 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %76, ptr %75, align 16, !tbaa !11
  %77 = getelementptr inbounds %struct.Node, ptr %9, i32 0, i32 1
  %78 = load i32, ptr %4, align 4, !tbaa !9
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %79
  %81 = getelementptr inbounds %struct.Line, ptr %80, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %77, ptr align 16 %81, i64 32, i1 false), !tbaa.struct !14
  %82 = load i32, ptr @tot, align 4, !tbaa !9
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr @tot, align 4, !tbaa !9
  %84 = sext i32 %82 to i64
  %85 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %84
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %85, ptr align 16 %9, i64 48, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #6
  br label %86

86:                                               ; preds = %63, %57
  br label %87

87:                                               ; preds = %86, %56
  br label %88

88:                                               ; preds = %87, %54
  %89 = load i32, ptr %4, align 4, !tbaa !9
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %4, align 4, !tbaa !9
  br label %27, !llvm.loop !16

91:                                               ; preds = %31
  %92 = load i32, ptr @tot, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds %struct.Node, ptr @ins, i64 %93
  call void @_ZSt4sortIP4NodeEvT_S2_(ptr noundef @ins, ptr noundef %94)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %95

95:                                               ; preds = %397, %91
  %96 = load i32, ptr %10, align 4, !tbaa !9
  %97 = load i32, ptr @tot, align 4, !tbaa !9
  %98 = icmp slt i32 %96, %97
  br i1 %98, label %100, label %99

99:                                               ; preds = %95
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %400

100:                                              ; preds = %95
  %101 = load i32, ptr %11, align 4, !tbaa !9
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %116

103:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #6
  %104 = load i32, ptr %10, align 4, !tbaa !9
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %105
  %107 = getelementptr inbounds %struct.Node, ptr %106, i32 0, i32 1
  %108 = load i32, ptr %10, align 4, !tbaa !9
  %109 = sub nsw i32 %108, 1
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %110
  %112 = getelementptr inbounds %struct.Node, ptr %111, i32 0, i32 1
  call void @_ZNK5PointmiERKS_(ptr dead_on_unwind writable sret(%struct.Point) align 16 %12, ptr noundef nonnull align 16 dereferenceable(32) %107, ptr noundef nonnull align 16 dereferenceable(32) %112)
  %113 = call noundef x86_fp80 @_ZNK5Point4normEv(ptr noundef nonnull align 16 dereferenceable(32) %12)
  %114 = load x86_fp80, ptr %3, align 16, !tbaa !5
  %115 = fadd x86_fp80 %114, %113
  store x86_fp80 %115, ptr %3, align 16, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  br label %123

116:                                              ; preds = %100
  %117 = load x86_fp80, ptr %2, align 16, !tbaa !5
  %118 = load x86_fp80, ptr %3, align 16, !tbaa !5
  %119 = fcmp olt x86_fp80 %117, %118
  br i1 %119, label %120, label %122

120:                                              ; preds = %116
  %121 = load x86_fp80, ptr %3, align 16, !tbaa !5
  store x86_fp80 %121, ptr %2, align 16, !tbaa !5
  br label %122

122:                                              ; preds = %120, %116
  store x86_fp80 0xK00000000000000000000, ptr %3, align 16, !tbaa !5
  br label %123

123:                                              ; preds = %122, %103
  %124 = load i32, ptr %10, align 4, !tbaa !9
  %125 = add nsw i32 %124, 1
  %126 = load i32, ptr @tot, align 4, !tbaa !9
  %127 = icmp slt i32 %125, %126
  br i1 %127, label %128, label %394

128:                                              ; preds = %123
  %129 = load i32, ptr %10, align 4, !tbaa !9
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %130
  %132 = getelementptr inbounds %struct.Node, ptr %131, i32 0, i32 1
  %133 = load i32, ptr %10, align 4, !tbaa !9
  %134 = add nsw i32 %133, 1
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %135
  %137 = getelementptr inbounds %struct.Node, ptr %136, i32 0, i32 1
  %138 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 16 dereferenceable(32) %132, ptr noundef nonnull align 16 dereferenceable(32) %137)
  br i1 %138, label %139, label %394

139:                                              ; preds = %128
  %140 = load i32, ptr %10, align 4, !tbaa !9
  %141 = add nsw i32 %140, 3
  %142 = load i32, ptr @tot, align 4, !tbaa !9
  %143 = icmp slt i32 %141, %142
  br i1 %143, label %144, label %332

144:                                              ; preds = %139
  %145 = load i32, ptr %10, align 4, !tbaa !9
  %146 = add nsw i32 %145, 2
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %147
  %149 = getelementptr inbounds %struct.Node, ptr %148, i32 0, i32 1
  %150 = load i32, ptr %10, align 4, !tbaa !9
  %151 = add nsw i32 %150, 3
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %152
  %154 = getelementptr inbounds %struct.Node, ptr %153, i32 0, i32 1
  %155 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 16 dereferenceable(32) %149, ptr noundef nonnull align 16 dereferenceable(32) %154)
  br i1 %155, label %156, label %332

156:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  %157 = load i32, ptr %10, align 4, !tbaa !9
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %158
  %160 = getelementptr inbounds %struct.Node, ptr %159, i32 0, i32 0
  %161 = load i32, ptr %160, align 16, !tbaa !11
  store i32 %161, ptr %13, align 4, !tbaa !9
  %162 = getelementptr inbounds i32, ptr %13, i64 1
  %163 = load i32, ptr %10, align 4, !tbaa !9
  %164 = add nsw i32 %163, 1
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %165
  %167 = getelementptr inbounds %struct.Node, ptr %166, i32 0, i32 0
  %168 = load i32, ptr %167, align 16, !tbaa !11
  store i32 %168, ptr %162, align 4, !tbaa !9
  %169 = getelementptr inbounds i32, ptr %13, i64 2
  %170 = load i32, ptr %10, align 4, !tbaa !9
  %171 = add nsw i32 %170, 2
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %172
  %174 = getelementptr inbounds %struct.Node, ptr %173, i32 0, i32 0
  %175 = load i32, ptr %174, align 16, !tbaa !11
  store i32 %175, ptr %169, align 4, !tbaa !9
  %176 = getelementptr inbounds i32, ptr %13, i64 3
  %177 = load i32, ptr %10, align 4, !tbaa !9
  %178 = add nsw i32 %177, 3
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %179
  %181 = getelementptr inbounds %struct.Node, ptr %180, i32 0, i32 0
  %182 = load i32, ptr %181, align 16, !tbaa !11
  store i32 %182, ptr %176, align 4, !tbaa !9
  %183 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 0
  %184 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 0
  %185 = getelementptr inbounds i32, ptr %184, i64 4
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef %183, ptr noundef %185)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 -1, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %186

186:                                              ; preds = %213, %156
  %187 = load i32, ptr %15, align 4, !tbaa !9
  %188 = icmp slt i32 %187, 4
  br i1 %188, label %190, label %189

189:                                              ; preds = %186
  store i32 8, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %216

190:                                              ; preds = %186
  %191 = load i32, ptr %15, align 4, !tbaa !9
  %192 = sub nsw i32 %191, 1
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 %193
  %195 = load i32, ptr %194, align 4, !tbaa !9
  %196 = load i32, ptr %15, align 4, !tbaa !9
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 %197
  %199 = load i32, ptr %198, align 4, !tbaa !9
  %200 = icmp eq i32 %195, %199
  br i1 %200, label %201, label %212

201:                                              ; preds = %190
  %202 = load i32, ptr %14, align 4, !tbaa !9
  %203 = icmp eq i32 %202, -1
  br i1 %203, label %204, label %205

204:                                              ; preds = %201
  br label %207

205:                                              ; preds = %201
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 139, ptr noundef @__PRETTY_FUNCTION__._Z5solve4Line) #7
  unreachable

206:                                              ; No predecessors!
  br label %207

207:                                              ; preds = %206, %204
  %208 = load i32, ptr %15, align 4, !tbaa !9
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 %209
  %211 = load i32, ptr %210, align 4, !tbaa !9
  store i32 %211, ptr %14, align 4, !tbaa !9
  br label %212

212:                                              ; preds = %207, %190
  br label %213

213:                                              ; preds = %212
  %214 = load i32, ptr %15, align 4, !tbaa !9
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %15, align 4, !tbaa !9
  br label %186, !llvm.loop !18

216:                                              ; preds = %189
  %217 = load i32, ptr %14, align 4, !tbaa !9
  %218 = icmp sge i32 %217, 0
  br i1 %218, label %219, label %328

219:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %220 = load i32, ptr %10, align 4, !tbaa !9
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %221
  %223 = getelementptr inbounds %struct.Node, ptr %222, i32 0, i32 0
  %224 = load i32, ptr %223, align 16, !tbaa !11
  %225 = load i32, ptr %14, align 4, !tbaa !9
  %226 = icmp eq i32 %224, %225
  br i1 %226, label %227, label %234

227:                                              ; preds = %219
  %228 = load i32, ptr %10, align 4, !tbaa !9
  %229 = add nsw i32 %228, 1
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %230
  %232 = getelementptr inbounds %struct.Node, ptr %231, i32 0, i32 0
  %233 = load i32, ptr %232, align 16, !tbaa !11
  br label %240

234:                                              ; preds = %219
  %235 = load i32, ptr %10, align 4, !tbaa !9
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %236
  %238 = getelementptr inbounds %struct.Node, ptr %237, i32 0, i32 0
  %239 = load i32, ptr %238, align 16, !tbaa !11
  br label %240

240:                                              ; preds = %234, %227
  %241 = phi i32 [ %233, %227 ], [ %239, %234 ]
  store i32 %241, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %242 = load i32, ptr %10, align 4, !tbaa !9
  %243 = add nsw i32 %242, 2
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %244
  %246 = getelementptr inbounds %struct.Node, ptr %245, i32 0, i32 0
  %247 = load i32, ptr %246, align 16, !tbaa !11
  %248 = load i32, ptr %14, align 4, !tbaa !9
  %249 = icmp eq i32 %247, %248
  br i1 %249, label %250, label %257

250:                                              ; preds = %240
  %251 = load i32, ptr %10, align 4, !tbaa !9
  %252 = add nsw i32 %251, 3
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %253
  %255 = getelementptr inbounds %struct.Node, ptr %254, i32 0, i32 0
  %256 = load i32, ptr %255, align 16, !tbaa !11
  br label %264

257:                                              ; preds = %240
  %258 = load i32, ptr %10, align 4, !tbaa !9
  %259 = add nsw i32 %258, 2
  %260 = sext i32 %259 to i64
  %261 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %260
  %262 = getelementptr inbounds %struct.Node, ptr %261, i32 0, i32 0
  %263 = load i32, ptr %262, align 16, !tbaa !11
  br label %264

264:                                              ; preds = %257, %250
  %265 = phi i32 [ %256, %250 ], [ %263, %257 ]
  store i32 %265, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #6
  %266 = load i32, ptr %10, align 4, !tbaa !9
  %267 = add nsw i32 %266, 2
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %268
  %270 = getelementptr inbounds %struct.Node, ptr %269, i32 0, i32 1
  %271 = load i32, ptr %10, align 4, !tbaa !9
  %272 = sext i32 %271 to i64
  %273 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %272
  %274 = getelementptr inbounds %struct.Node, ptr %273, i32 0, i32 1
  call void @_ZNK5PointmiERKS_(ptr dead_on_unwind writable sret(%struct.Point) align 16 %18, ptr noundef nonnull align 16 dereferenceable(32) %270, ptr noundef nonnull align 16 dereferenceable(32) %274)
  %275 = call noundef x86_fp80 @_ZNK5Point4normEv(ptr noundef nonnull align 16 dereferenceable(32) %18)
  %276 = load x86_fp80, ptr %3, align 16, !tbaa !5
  %277 = fadd x86_fp80 %276, %275
  store x86_fp80 %277, ptr %3, align 16, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #6
  %278 = load i32, ptr %16, align 4, !tbaa !9
  %279 = sext i32 %278 to i64
  %280 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %279
  %281 = getelementptr inbounds %struct.Line, ptr %280, i32 0, i32 0
  %282 = load i32, ptr %10, align 4, !tbaa !9
  %283 = sext i32 %282 to i64
  %284 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %283
  %285 = getelementptr inbounds %struct.Node, ptr %284, i32 0, i32 1
  %286 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 16 dereferenceable(32) %281, ptr noundef nonnull align 16 dereferenceable(32) %285)
  br i1 %286, label %287, label %292

287:                                              ; preds = %264
  %288 = load i32, ptr %16, align 4, !tbaa !9
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %289
  %291 = getelementptr inbounds %struct.Line, ptr %290, i32 0, i32 1
  br label %297

292:                                              ; preds = %264
  %293 = load i32, ptr %16, align 4, !tbaa !9
  %294 = sext i32 %293 to i64
  %295 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %294
  %296 = getelementptr inbounds %struct.Line, ptr %295, i32 0, i32 0
  br label %297

297:                                              ; preds = %292, %287
  %298 = phi ptr [ %291, %287 ], [ %296, %292 ]
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %298, i64 32, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #6
  %299 = load i32, ptr %17, align 4, !tbaa !9
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %300
  %302 = getelementptr inbounds %struct.Line, ptr %301, i32 0, i32 0
  %303 = load i32, ptr %10, align 4, !tbaa !9
  %304 = add nsw i32 %303, 2
  %305 = sext i32 %304 to i64
  %306 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %305
  %307 = getelementptr inbounds %struct.Node, ptr %306, i32 0, i32 1
  %308 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 16 dereferenceable(32) %302, ptr noundef nonnull align 16 dereferenceable(32) %307)
  br i1 %308, label %309, label %314

309:                                              ; preds = %297
  %310 = load i32, ptr %17, align 4, !tbaa !9
  %311 = sext i32 %310 to i64
  %312 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %311
  %313 = getelementptr inbounds %struct.Line, ptr %312, i32 0, i32 1
  br label %319

314:                                              ; preds = %297
  %315 = load i32, ptr %17, align 4, !tbaa !9
  %316 = sext i32 %315 to i64
  %317 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %316
  %318 = getelementptr inbounds %struct.Line, ptr %317, i32 0, i32 0
  br label %319

319:                                              ; preds = %314, %309
  %320 = phi ptr [ %313, %309 ], [ %318, %314 ]
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %21, ptr align 16 %320, i64 32, i1 false), !tbaa.struct !14
  call void @_ZN4Line4initERK5PointS2_(ptr noundef nonnull align 16 dereferenceable(64) %19, ptr noundef nonnull align 16 dereferenceable(32) %20, ptr noundef nonnull align 16 dereferenceable(32) %21)
  %321 = call noundef zeroext i1 @_ZNK4Line13has_intersectERKS_(ptr noundef nonnull align 16 dereferenceable(64) %0, ptr noundef nonnull align 16 dereferenceable(64) %19)
  br i1 %321, label %322, label %325

322:                                              ; preds = %319
  %323 = load i32, ptr %11, align 4, !tbaa !9
  %324 = xor i32 %323, 1
  store i32 %324, ptr %11, align 4, !tbaa !9
  br label %325

325:                                              ; preds = %322, %319
  %326 = load i32, ptr %10, align 4, !tbaa !9
  %327 = add nsw i32 %326, 3
  store i32 %327, ptr %10, align 4, !tbaa !9
  store i32 7, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %329

328:                                              ; preds = %216
  store i32 0, ptr %5, align 4
  br label %329

329:                                              ; preds = %328, %325
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  %330 = load i32, ptr %5, align 4
  switch i32 %330, label %408 [
    i32 0, label %331
    i32 7, label %397
  ]

331:                                              ; preds = %329
  br label %332

332:                                              ; preds = %331, %144, %139
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %333 = load i32, ptr %10, align 4, !tbaa !9
  %334 = sext i32 %333 to i64
  %335 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %334
  %336 = getelementptr inbounds %struct.Node, ptr %335, i32 0, i32 0
  %337 = load i32, ptr %336, align 16, !tbaa !11
  store i32 %337, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %338 = load i32, ptr %10, align 4, !tbaa !9
  %339 = add nsw i32 %338, 1
  %340 = sext i32 %339 to i64
  %341 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %340
  %342 = getelementptr inbounds %struct.Node, ptr %341, i32 0, i32 0
  %343 = load i32, ptr %342, align 16, !tbaa !11
  store i32 %343, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #6
  %344 = load i32, ptr %22, align 4, !tbaa !9
  %345 = sext i32 %344 to i64
  %346 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %345
  %347 = getelementptr inbounds %struct.Line, ptr %346, i32 0, i32 0
  %348 = load i32, ptr %10, align 4, !tbaa !9
  %349 = sext i32 %348 to i64
  %350 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %349
  %351 = getelementptr inbounds %struct.Node, ptr %350, i32 0, i32 1
  %352 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 16 dereferenceable(32) %347, ptr noundef nonnull align 16 dereferenceable(32) %351)
  br i1 %352, label %353, label %358

353:                                              ; preds = %332
  %354 = load i32, ptr %22, align 4, !tbaa !9
  %355 = sext i32 %354 to i64
  %356 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %355
  %357 = getelementptr inbounds %struct.Line, ptr %356, i32 0, i32 1
  br label %363

358:                                              ; preds = %332
  %359 = load i32, ptr %22, align 4, !tbaa !9
  %360 = sext i32 %359 to i64
  %361 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %360
  %362 = getelementptr inbounds %struct.Line, ptr %361, i32 0, i32 0
  br label %363

363:                                              ; preds = %358, %353
  %364 = phi ptr [ %357, %353 ], [ %362, %358 ]
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 %364, i64 32, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #6
  %365 = load i32, ptr %23, align 4, !tbaa !9
  %366 = sext i32 %365 to i64
  %367 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %366
  %368 = getelementptr inbounds %struct.Line, ptr %367, i32 0, i32 0
  %369 = load i32, ptr %10, align 4, !tbaa !9
  %370 = add nsw i32 %369, 1
  %371 = sext i32 %370 to i64
  %372 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %371
  %373 = getelementptr inbounds %struct.Node, ptr %372, i32 0, i32 1
  %374 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 16 dereferenceable(32) %368, ptr noundef nonnull align 16 dereferenceable(32) %373)
  br i1 %374, label %375, label %380

375:                                              ; preds = %363
  %376 = load i32, ptr %23, align 4, !tbaa !9
  %377 = sext i32 %376 to i64
  %378 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %377
  %379 = getelementptr inbounds %struct.Line, ptr %378, i32 0, i32 1
  br label %385

380:                                              ; preds = %363
  %381 = load i32, ptr %23, align 4, !tbaa !9
  %382 = sext i32 %381 to i64
  %383 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %382
  %384 = getelementptr inbounds %struct.Line, ptr %383, i32 0, i32 0
  br label %385

385:                                              ; preds = %380, %375
  %386 = phi ptr [ %379, %375 ], [ %384, %380 ]
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %26, ptr align 16 %386, i64 32, i1 false), !tbaa.struct !14
  call void @_ZN4Line4initERK5PointS2_(ptr noundef nonnull align 16 dereferenceable(64) %24, ptr noundef nonnull align 16 dereferenceable(32) %25, ptr noundef nonnull align 16 dereferenceable(32) %26)
  %387 = call noundef zeroext i1 @_ZNK4Line13has_intersectERKS_(ptr noundef nonnull align 16 dereferenceable(64) %0, ptr noundef nonnull align 16 dereferenceable(64) %24)
  br i1 %387, label %388, label %391

388:                                              ; preds = %385
  %389 = load i32, ptr %11, align 4, !tbaa !9
  %390 = xor i32 %389, 1
  store i32 %390, ptr %11, align 4, !tbaa !9
  br label %391

391:                                              ; preds = %388, %385
  %392 = load i32, ptr %10, align 4, !tbaa !9
  %393 = add nsw i32 %392, 1
  store i32 %393, ptr %10, align 4, !tbaa !9
  store i32 7, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %397

394:                                              ; preds = %128, %123
  %395 = load i32, ptr %11, align 4, !tbaa !9
  %396 = xor i32 %395, 1
  store i32 %396, ptr %11, align 4, !tbaa !9
  br label %397

397:                                              ; preds = %394, %391, %329
  %398 = load i32, ptr %10, align 4, !tbaa !9
  %399 = add nsw i32 %398, 1
  store i32 %399, ptr %10, align 4, !tbaa !9
  br label %95, !llvm.loop !19

400:                                              ; preds = %99
  %401 = load x86_fp80, ptr %2, align 16, !tbaa !5
  %402 = load x86_fp80, ptr %3, align 16, !tbaa !5
  %403 = fcmp olt x86_fp80 %401, %402
  br i1 %403, label %404, label %406

404:                                              ; preds = %400
  %405 = load x86_fp80, ptr %3, align 16, !tbaa !5
  store x86_fp80 %405, ptr %2, align 16, !tbaa !5
  br label %406

406:                                              ; preds = %404, %400
  %407 = load x86_fp80, ptr %2, align 16, !tbaa !5
  store i32 1, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %2) #6
  ret x86_fp80 %407

408:                                              ; preds = %329, %54
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Line8parallelERKS_(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4Line9intersectERKS_(ptr dead_on_unwind noalias writable sret(%struct.Point) align 16, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Line6on_segERK5Point(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(32)) #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Line7on_lineERK5Point(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(32)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIP4NodeEvT_S2_(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK5PointmiERKS_(ptr dead_on_unwind noalias writable sret(%struct.Point) align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_ZNK5Point4normEv(ptr noundef nonnull align 16 dereferenceable(32)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiEvT_S1_(ptr noundef, ptr noundef) #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4Line4initERK5PointS2_(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Line13has_intersectERKS_(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) #0 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { mustprogress nounwind 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 #5 = { noreturn nounwind "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 #6 = { nounwind }
attributes #7 = { noreturn 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 = !{!"long double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS4Node", !10, i64 0, !13, i64 16}
!13 = !{!"_ZTS5Point", !6, i64 0, !6, i64 16}
!14 = !{i64 0, i64 16, !5, i64 16, i64 16, !5}
!15 = !{i64 0, i64 4, !9, i64 16, i64 16, !5, i64 32, i64 16, !5}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}


; 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"

%struct.Line = type { %struct.Point, %struct.Point }
%struct.Point = type { x86_fp80, x86_fp80 }
%struct.Node = type { i32, %struct.Point }

@n = external dso_local local_unnamed_addr global i32, align 4
@tot = external dso_local local_unnamed_addr global i32, align 4
@line = external dso_local global [201 x %struct.Line], align 16
@ins = external dso_local global [403 x %struct.Node], align 16
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@__PRETTY_FUNCTION__._Z5solve4Line = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef x86_fp80 @_Z5solve4Line(ptr noundef byval(%struct.Line) align 16 %0) local_unnamed_addr #0 {
  %2 = alloca %struct.Point, align 16
  %.sroa.458 = alloca [44 x i8], align 4
  %.sroa.456 = alloca [44 x i8], align 4
  %.sroa.4 = alloca [44 x i8], align 4
  %3 = alloca %struct.Point, align 16
  %4 = alloca [4 x i32], align 16
  %5 = alloca %struct.Point, align 16
  %6 = alloca %struct.Line, align 16
  %7 = alloca %struct.Point, align 16
  %8 = alloca %struct.Point, align 16
  %9 = alloca %struct.Line, align 16
  %10 = alloca %struct.Point, align 16
  %11 = alloca %struct.Point, align 16
  store i32 0, ptr @tot, align 4, !tbaa !5
  %12 = load i32, ptr @n, align 4, !tbaa !5
  %13 = icmp sgt i32 %12, 0
  br i1 %13, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1
  %.sroa.458.16.sroa_idx = getelementptr inbounds i8, ptr %.sroa.458, i64 12
  %.sroa.456.16.sroa_idx = getelementptr inbounds i8, ptr %.sroa.456, i64 12
  %.sroa.4.16.sroa_idx = getelementptr inbounds i8, ptr %.sroa.4, i64 12
  br label %23

._crit_edge.loopexit:                             ; preds = %47
  %.pre = load i32, ptr @tot, align 4, !tbaa !5
  %14 = sext i32 %.pre to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %1
  %15 = phi i64 [ %14, %._crit_edge.loopexit ], [ 0, %1 ]
  %16 = getelementptr inbounds %struct.Node, ptr @ins, i64 %15
  call void @_ZSt4sortIP4NodeEvT_S2_(ptr noundef nonnull @ins, ptr noundef nonnull %16)
  %17 = load i32, ptr @tot, align 4, !tbaa !5
  %18 = icmp sgt i32 %17, 0
  br i1 %18, label %.lr.ph122, label %._crit_edge123

.lr.ph122:                                        ; preds = %._crit_edge
  %19 = getelementptr inbounds i8, ptr %4, i64 4
  %20 = getelementptr inbounds i8, ptr %4, i64 8
  %21 = getelementptr inbounds i8, ptr %4, i64 12
  %22 = getelementptr inbounds i8, ptr %4, i64 16
  br label %52

23:                                               ; preds = %.lr.ph, %47
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %47 ]
  %24 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %indvars.iv
  %25 = call noundef zeroext i1 @_ZNK4Line8parallelERKS_(ptr noundef nonnull align 16 dereferenceable(64) %0, ptr noundef nonnull align 16 dereferenceable(64) %24)
  br i1 %25, label %35, label %26

26:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #6
  call void @_ZNK4Line9intersectERKS_(ptr dead_on_unwind nonnull writable sret(%struct.Point) align 16 %2, ptr noundef nonnull align 16 dereferenceable(64) %0, ptr noundef nonnull align 16 dereferenceable(64) %24)
  %27 = call noundef zeroext i1 @_ZNK4Line6on_segERK5Point(ptr noundef nonnull align 16 dereferenceable(64) %24, ptr noundef nonnull align 16 dereferenceable(32) %2)
  br i1 %27, label %28, label %34

28:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %.sroa.458)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(32) %.sroa.458.16.sroa_idx, ptr noundef nonnull align 16 dereferenceable(32) %2, i64 32, i1 false), !tbaa.struct !9
  %29 = load i32, ptr @tot, align 4, !tbaa !5
  %30 = add nsw i32 %29, 1
  store i32 %30, ptr @tot, align 4, !tbaa !5
  %31 = sext i32 %29 to i64
  %32 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %31
  %33 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %33, ptr %32, align 16, !tbaa !5
  %.sroa.458.0..sroa_idx = getelementptr inbounds i8, ptr %32, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(44) %.sroa.458.0..sroa_idx, ptr noundef nonnull align 4 dereferenceable(44) %.sroa.458, i64 44, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %.sroa.458)
  br label %34

34:                                               ; preds = %26, %28
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #6
  br label %47

35:                                               ; preds = %23
  %36 = call noundef zeroext i1 @_ZNK4Line7on_lineERK5Point(ptr noundef nonnull align 16 dereferenceable(64) %0, ptr noundef nonnull align 16 dereferenceable(32) %24)
  br i1 %36, label %37, label %47

37:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %.sroa.456)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(32) %.sroa.456.16.sroa_idx, ptr noundef nonnull align 16 dereferenceable(32) %24, i64 32, i1 false), !tbaa.struct !9
  %38 = load i32, ptr @tot, align 4, !tbaa !5
  %39 = add nsw i32 %38, 1
  %40 = sext i32 %38 to i64
  %41 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %40
  %42 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %42, ptr %41, align 16, !tbaa !5
  %.sroa.456.0..sroa_idx = getelementptr inbounds i8, ptr %41, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(44) %.sroa.456.0..sroa_idx, ptr noundef nonnull align 4 dereferenceable(44) %.sroa.456, i64 44, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %.sroa.456)
  call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %.sroa.4)
  %43 = getelementptr inbounds i8, ptr %24, i64 32
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(32) %.sroa.4.16.sroa_idx, ptr noundef nonnull align 16 dereferenceable(32) %43, i64 32, i1 false), !tbaa.struct !9
  %44 = add nsw i32 %38, 2
  store i32 %44, ptr @tot, align 4, !tbaa !5
  %45 = sext i32 %39 to i64
  %46 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %45
  store i32 %42, ptr %46, align 16, !tbaa !5
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %46, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(44) %.sroa.4.0..sroa_idx, ptr noundef nonnull align 4 dereferenceable(44) %.sroa.4, i64 44, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %.sroa.4)
  br label %47

47:                                               ; preds = %34, %37, %35
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %48 = load i32, ptr @n, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = icmp slt i64 %indvars.iv.next, %49
  br i1 %50, label %23, label %._crit_edge.loopexit, !llvm.loop !13

._crit_edge123:                                   ; preds = %145, %._crit_edge
  %.079.lcssa = phi x86_fp80 [ 0xK00000000000000000000, %._crit_edge ], [ %.4, %145 ]
  %.0.lcssa = phi x86_fp80 [ 0xK00000000000000000000, %._crit_edge ], [ %.2, %145 ]
  %51 = fcmp olt x86_fp80 %.0.lcssa, %.079.lcssa
  %.3 = select i1 %51, x86_fp80 %.079.lcssa, x86_fp80 %.0.lcssa
  ret x86_fp80 %.3

52:                                               ; preds = %.lr.ph122, %145
  %53 = phi i32 [ %17, %.lr.ph122 ], [ %147, %145 ]
  %.0120 = phi x86_fp80 [ 0xK00000000000000000000, %.lr.ph122 ], [ %.2, %145 ]
  %.079119 = phi x86_fp80 [ 0xK00000000000000000000, %.lr.ph122 ], [ %.4, %145 ]
  %.088118 = phi i32 [ 0, %.lr.ph122 ], [ %.5, %145 ]
  %.093117 = phi i32 [ 0, %.lr.ph122 ], [ %146, %145 ]
  %.not = icmp eq i32 %.088118, 0
  br i1 %.not, label %62, label %54

54:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  %55 = sext i32 %.093117 to i64
  %56 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %55, i32 1
  %57 = add nsw i32 %.093117, -1
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %58, i32 1
  call void @_ZNK5PointmiERKS_(ptr dead_on_unwind nonnull writable sret(%struct.Point) align 16 %3, ptr noundef nonnull align 16 dereferenceable(32) %56, ptr noundef nonnull align 16 dereferenceable(32) %59)
  %60 = call noundef x86_fp80 @_ZNK5Point4normEv(ptr noundef nonnull align 16 dereferenceable(32) %3)
  %61 = fadd x86_fp80 %.079119, %60
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  %.pre130 = load i32, ptr @tot, align 4, !tbaa !5
  br label %64

62:                                               ; preds = %52
  %63 = fcmp olt x86_fp80 %.0120, %.079119
  %.1 = select i1 %63, x86_fp80 %.079119, x86_fp80 %.0120
  br label %64

64:                                               ; preds = %62, %54
  %65 = phi i32 [ %.pre130, %54 ], [ %53, %62 ]
  %.180 = phi x86_fp80 [ %61, %54 ], [ 0xK00000000000000000000, %62 ]
  %.2 = phi x86_fp80 [ %.0120, %54 ], [ %.1, %62 ]
  %66 = add nsw i32 %.093117, 1
  %67 = icmp slt i32 %66, %65
  br i1 %67, label %68, label %145

68:                                               ; preds = %64
  %69 = sext i32 %.093117 to i64
  %70 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %69
  %71 = getelementptr inbounds i8, ptr %70, i64 16
  %72 = sext i32 %66 to i64
  %73 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %72
  %74 = getelementptr inbounds i8, ptr %73, i64 16
  %75 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 16 dereferenceable(32) %71, ptr noundef nonnull align 16 dereferenceable(32) %74)
  br i1 %75, label %76, label %145

76:                                               ; preds = %68
  %77 = add nsw i32 %.093117, 3
  %78 = load i32, ptr @tot, align 4, !tbaa !5
  %79 = icmp slt i32 %77, %78
  br i1 %79, label %80, label %133

80:                                               ; preds = %76
  %81 = add nsw i32 %.093117, 2
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %82
  %84 = getelementptr inbounds i8, ptr %83, i64 16
  %85 = sext i32 %77 to i64
  %86 = getelementptr inbounds [403 x %struct.Node], ptr @ins, i64 0, i64 %85
  %87 = getelementptr inbounds i8, ptr %86, i64 16
  %88 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 16 dereferenceable(32) %84, ptr noundef nonnull align 16 dereferenceable(32) %87)
  br i1 %88, label %89, label %133

89:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  %90 = load i32, ptr %70, align 16, !tbaa !15
  store i32 %90, ptr %4, align 16, !tbaa !5
  %91 = load i32, ptr %73, align 16, !tbaa !15
  store i32 %91, ptr %19, align 4, !tbaa !5
  %92 = load i32, ptr %83, align 16, !tbaa !15
  store i32 %92, ptr %20, align 8, !tbaa !5
  %93 = load i32, ptr %86, align 16, !tbaa !15
  store i32 %93, ptr %21, align 4, !tbaa !5
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull %4, ptr noundef nonnull %22)
  %94 = load i32, ptr %4, align 16, !tbaa !5
  %95 = load i32, ptr %19, align 4, !tbaa !5
  %96 = icmp eq i32 %94, %95
  %97 = load i32, ptr %20, align 8, !tbaa !5
  %98 = icmp eq i32 %95, %97
  br i1 %96, label %99, label %.thread132

.thread:                                          ; preds = %.thread137, %.thread140
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  br label %133

split:                                            ; preds = %106, %100
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 139, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5solve4Line) #7
  unreachable

99:                                               ; preds = %89
  br i1 %98, label %100, label %.thread135

.thread132:                                       ; preds = %89
  br i1 %98, label %.thread135, label %.thread137

100:                                              ; preds = %99
  %101 = icmp eq i32 %94, -1
  br i1 %101, label %.thread135, label %split

.thread135:                                       ; preds = %.thread132, %100, %99
  %.187.1 = phi i32 [ %94, %99 ], [ %95, %100 ], [ %95, %.thread132 ]
  %102 = load i32, ptr %21, align 4, !tbaa !5
  %103 = icmp eq i32 %97, %102
  br i1 %103, label %106, label %.thread140

.thread137:                                       ; preds = %.thread132
  %104 = load i32, ptr %21, align 4, !tbaa !5
  %105 = icmp eq i32 %97, %104
  br i1 %105, label %.thread140, label %.thread

106:                                              ; preds = %.thread135
  %107 = icmp eq i32 %.187.1, -1
  br i1 %107, label %.thread140, label %split

.thread140:                                       ; preds = %.thread137, %106, %.thread135
  %.187.2 = phi i32 [ %.187.1, %.thread135 ], [ %97, %106 ], [ %97, %.thread137 ]
  %108 = icmp sgt i32 %.187.2, -1
  br i1 %108, label %109, label %.thread

109:                                              ; preds = %.thread140
  %110 = load i32, ptr %70, align 16, !tbaa !15
  %111 = icmp eq i32 %110, %.187.2
  br i1 %111, label %112, label %114

112:                                              ; preds = %109
  %113 = load i32, ptr %73, align 16, !tbaa !15
  br label %114

114:                                              ; preds = %109, %112
  %115 = phi i32 [ %113, %112 ], [ %110, %109 ]
  %116 = load i32, ptr %83, align 16, !tbaa !15
  %117 = icmp eq i32 %116, %.187.2
  br i1 %117, label %118, label %120

118:                                              ; preds = %114
  %119 = load i32, ptr %86, align 16, !tbaa !15
  br label %120

120:                                              ; preds = %118, %114
  %121 = phi i32 [ %119, %118 ], [ %116, %114 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  call void @_ZNK5PointmiERKS_(ptr dead_on_unwind nonnull writable sret(%struct.Point) align 16 %5, ptr noundef nonnull align 16 dereferenceable(32) %84, ptr noundef nonnull align 16 dereferenceable(32) %71)
  %122 = call noundef x86_fp80 @_ZNK5Point4normEv(ptr noundef nonnull align 16 dereferenceable(32) %5)
  %123 = fadd x86_fp80 %.180, %122
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  %124 = sext i32 %115 to i64
  %125 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %124
  %126 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 16 dereferenceable(32) %125, ptr noundef nonnull align 16 dereferenceable(32) %71)
  %.idx = select i1 %126, i64 32, i64 0
  %127 = getelementptr inbounds i8, ptr %125, i64 %.idx
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %7, ptr noundef nonnull align 16 dereferenceable(32) %127, i64 32, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  %128 = sext i32 %121 to i64
  %129 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %128
  %130 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 16 dereferenceable(32) %129, ptr noundef nonnull align 16 dereferenceable(32) %84)
  %.idx102 = select i1 %130, i64 32, i64 0
  %131 = getelementptr inbounds i8, ptr %129, i64 %.idx102
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %8, ptr noundef nonnull align 16 dereferenceable(32) %131, i64 32, i1 false), !tbaa.struct !9
  call void @_ZN4Line4initERK5PointS2_(ptr noundef nonnull align 16 dereferenceable(64) %6, ptr noundef nonnull align 16 dereferenceable(32) %7, ptr noundef nonnull align 16 dereferenceable(32) %8)
  %132 = call noundef zeroext i1 @_ZNK4Line13has_intersectERKS_(ptr noundef nonnull align 16 dereferenceable(64) %0, ptr noundef nonnull align 16 dereferenceable(64) %6)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  br label %145

133:                                              ; preds = %.thread, %80, %76
  %134 = load i32, ptr %70, align 16, !tbaa !15
  %135 = load i32, ptr %73, align 16, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #6
  %136 = sext i32 %134 to i64
  %137 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %136
  %138 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 16 dereferenceable(32) %137, ptr noundef nonnull align 16 dereferenceable(32) %71)
  %.idx103 = select i1 %138, i64 32, i64 0
  %139 = getelementptr inbounds i8, ptr %137, i64 %.idx103
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %10, ptr noundef nonnull align 16 dereferenceable(32) %139, i64 32, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  %140 = sext i32 %135 to i64
  %141 = getelementptr inbounds [201 x %struct.Line], ptr @line, i64 0, i64 %140
  %142 = call noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 16 dereferenceable(32) %141, ptr noundef nonnull align 16 dereferenceable(32) %74)
  %.idx104 = select i1 %142, i64 32, i64 0
  %143 = getelementptr inbounds i8, ptr %141, i64 %.idx104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %11, ptr noundef nonnull align 16 dereferenceable(32) %143, i64 32, i1 false), !tbaa.struct !9
  call void @_ZN4Line4initERK5PointS2_(ptr noundef nonnull align 16 dereferenceable(64) %9, ptr noundef nonnull align 16 dereferenceable(32) %10, ptr noundef nonnull align 16 dereferenceable(32) %11)
  %144 = call noundef zeroext i1 @_ZNK4Line13has_intersectERKS_(ptr noundef nonnull align 16 dereferenceable(64) %0, ptr noundef nonnull align 16 dereferenceable(64) %9)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %9) #6
  br label %145

145:                                              ; preds = %64, %68, %120, %133
  %.396 = phi i32 [ %77, %120 ], [ %66, %133 ], [ %.093117, %68 ], [ %.093117, %64 ]
  %.pn.shrunk = phi i1 [ %132, %120 ], [ %144, %133 ], [ true, %68 ], [ true, %64 ]
  %.4 = phi x86_fp80 [ %123, %120 ], [ %.180, %133 ], [ %.180, %68 ], [ %.180, %64 ]
  %.pn = zext i1 %.pn.shrunk to i32
  %.5 = xor i32 %.088118, %.pn
  %146 = add nsw i32 %.396, 1
  %147 = load i32, ptr @tot, align 4, !tbaa !5
  %148 = icmp slt i32 %146, %147
  br i1 %148, label %52, label %._crit_edge123, !llvm.loop !18
}

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Line8parallelERKS_(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4Line9intersectERKS_(ptr dead_on_unwind noalias writable sret(%struct.Point) align 16, ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Line6on_segERK5Point(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Line7on_lineERK5Point(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIP4NodeEvT_S2_(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK5PointmiERKS_(ptr dead_on_unwind noalias writable sret(%struct.Point) align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef x86_fp80 @_ZNK5Point4normEv(ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK5PointeqERKS_(ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiEvT_S1_(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4Line4initERK5PointS2_(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(32), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4Line13has_intersectERKS_(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef nonnull align 16 dereferenceable(64)) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { mustprogress nounwind 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 #5 = { noreturn nounwind "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 #6 = { nounwind }
attributes #7 = { noreturn 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 = !{i64 0, i64 16, !10, i64 16, i64 16, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"long double", !7, i64 0}
!12 = !{i64 12, i64 16, !10, i64 28, i64 16, !10}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTS4Node", !6, i64 0, !17, i64 16}
!17 = !{!"_ZTS5Point", !11, i64 0, !11, i64 16}
!18 = distinct !{!18, !14}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass