; LLVM IR from jrl-umi3218/mc_rtc :: 3rd-party/qhull/src/libqhull_r (io_r)

; 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.qhT = type { i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, double, double, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [29 x i32], i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, ptr, i32, [256 x i8], i32, [256 x i8], [512 x i8], i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, ptr, double, double, double, double, i32, [6 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, ptr, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, ptr, ptr, i32, i32, i32, double, i32, double, double, double, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, ptr, double, double, double, double, i32, i32, i32, i32, i32, i32, ptr, i32, i32, [1 x %struct.__jmp_buf_tag], [40 x i8], i32, double, ptr, ptr, ptr, %struct.qhmemT, %struct.qhstatT }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%struct.qhmemT = type { i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.qhstatT = type { [249 x %union.intrealT], [259 x i8], [249 x ptr], [249 x i16], [249 x i8], [249 x i8], [9 x %union.intrealT], i32, i32, i32, i32, double }
%union.intrealT = type { double }
%struct.setT = type { i32, [1 x %union.setelemT] }
%union.setelemT = type { ptr }
%struct.vertexT = type { ptr, ptr, ptr, ptr, i32, i32, i8 }
%struct.facetT = type { double, double, double, ptr, %union.anon, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32 }
%union.anon = type { double }

@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.193 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [32 x i8], align 1

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

declare i32 @qh_setsize(ptr noundef, ptr noundef) #1

declare void @qh_fprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1

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

declare void @qh_settempfree(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @qh_markvoronoi(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @qh_order_vertexneighbors(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @qh_printcenter(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local void @qh_printvoronoi(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) #2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store i32 %5, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  store i32 1, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #3
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.qhT, ptr %29, i32 0, i32 178
  %31 = load i32, ptr %30, align 8, !tbaa !11
  store i32 %31, ptr %28, align 4, !tbaa !9
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  %34 = load ptr, ptr %11, align 8, !tbaa !5
  %35 = load i32, ptr %12, align 4, !tbaa !9
  %36 = call ptr @qh_markvoronoi(ptr noundef %32, ptr noundef %33, ptr noundef %34, i32 noundef %35, ptr noundef %27, ptr noundef %14)
  store ptr %36, ptr %25, align 8, !tbaa !5
  store ptr null, ptr %26, align 8, !tbaa !5
  %37 = load ptr, ptr %25, align 8, !tbaa !5
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %115

39:                                               ; preds = %6
  store i32 0, ptr %19, align 4, !tbaa !9
  %40 = load ptr, ptr %25, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.setT, ptr %40, i32 0, i32 1
  %42 = getelementptr inbounds [1 x %union.setelemT], ptr %41, i64 0, i64 0
  %43 = load ptr, ptr %42, align 8, !tbaa !17
  store ptr %43, ptr %26, align 8, !tbaa !5
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = load ptr, ptr %25, align 8, !tbaa !5
  %46 = call i32 @qh_setsize(ptr noundef %44, ptr noundef %45)
  store i32 %46, ptr %20, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %106, %39
  %48 = load i32, ptr %19, align 4, !tbaa !9
  %49 = load i32, ptr %20, align 4, !tbaa !9
  %50 = icmp slt i32 %48, %49
  br i1 %50, label %51, label %114

51:                                               ; preds = %47
  %52 = load ptr, ptr %26, align 8, !tbaa !5
  %53 = icmp ne ptr %52, null
  br i1 %53, label %54, label %105

54:                                               ; preds = %51
  %55 = load i32, ptr %15, align 4, !tbaa !9
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %16, align 4, !tbaa !9
  store ptr null, ptr %23, align 8, !tbaa !5
  %57 = load ptr, ptr %26, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.vertexT, ptr %57, i32 0, i32 3
  %59 = load ptr, ptr %58, align 8, !tbaa !18
  %60 = icmp ne ptr %59, null
  br i1 %60, label %61, label %90

61:                                               ; preds = %54
  %62 = load ptr, ptr %26, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.vertexT, ptr %62, i32 0, i32 3
  %64 = load ptr, ptr %63, align 8, !tbaa !18
  %65 = getelementptr inbounds %struct.setT, ptr %64, i32 0, i32 1
  %66 = getelementptr inbounds [1 x %union.setelemT], ptr %65, i64 0, i64 0
  store ptr %66, ptr %24, align 8, !tbaa !5
  br label %67

67:                                               ; preds = %88, %61
  %68 = load ptr, ptr %24, align 8, !tbaa !5
  %69 = getelementptr inbounds ptr, ptr %68, i32 1
  store ptr %69, ptr %24, align 8, !tbaa !5
  %70 = load ptr, ptr %68, align 8, !tbaa !5
  store ptr %70, ptr %23, align 8, !tbaa !5
  %71 = icmp ne ptr %70, null
  br i1 %71, label %72, label %89

72:                                               ; preds = %67
  %73 = load ptr, ptr %23, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.facetT, ptr %73, i32 0, i32 13
  %75 = load i32, ptr %74, align 8, !tbaa !20
  %76 = icmp eq i32 %75, 0
  br i1 %76, label %77, label %78

77:                                               ; preds = %72
  store i32 1, ptr %17, align 4, !tbaa !9
  br label %88

78:                                               ; preds = %72
  %79 = load ptr, ptr %23, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.facetT, ptr %79, i32 0, i32 13
  %81 = load i32, ptr %80, align 8, !tbaa !20
  %82 = load i32, ptr %28, align 4, !tbaa !9
  %83 = icmp ult i32 %81, %82
  br i1 %83, label %84, label %87

84:                                               ; preds = %78
  %85 = load i32, ptr %16, align 4, !tbaa !9
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %16, align 4, !tbaa !9
  br label %87

87:                                               ; preds = %84, %78
  br label %88

88:                                               ; preds = %87, %77
  br label %67, !llvm.loop !22

89:                                               ; preds = %67
  br label %90

90:                                               ; preds = %89, %54
  %91 = load i32, ptr %17, align 4, !tbaa !9
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %93, label %104

93:                                               ; preds = %90
  %94 = load i32, ptr %16, align 4, !tbaa !9
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %104, label %96

96:                                               ; preds = %93
  %97 = load ptr, ptr %25, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.setT, ptr %97, i32 0, i32 1
  %99 = load i32, ptr %19, align 4, !tbaa !9
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [1 x %union.setelemT], ptr %98, i64 0, i64 %100
  store ptr null, ptr %101, align 8, !tbaa !17
  %102 = load i32, ptr %15, align 4, !tbaa !9
  %103 = add nsw i32 %102, -1
  store i32 %103, ptr %15, align 4, !tbaa !9
  br label %104

104:                                              ; preds = %96, %93, %90
  br label %105

105:                                              ; preds = %104, %51
  br label %106

106:                                              ; preds = %105
  %107 = load ptr, ptr %25, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.setT, ptr %107, i32 0, i32 1
  %109 = load i32, ptr %19, align 4, !tbaa !9
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %19, align 4, !tbaa !9
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [1 x %union.setelemT], ptr %108, i64 0, i64 %111
  %113 = load ptr, ptr %112, align 8, !tbaa !17
  store ptr %113, ptr %26, align 8, !tbaa !5
  br label %47, !llvm.loop !24

114:                                              ; preds = %47
  br label %115

115:                                              ; preds = %114, %6
  %116 = load i32, ptr %9, align 4, !tbaa !9
  %117 = icmp eq i32 %116, 7
  br i1 %117, label %118, label %123

118:                                              ; preds = %115
  %119 = load ptr, ptr %7, align 8, !tbaa !5
  %120 = load ptr, ptr %8, align 8, !tbaa !5
  %121 = load i32, ptr %14, align 4, !tbaa !9
  %122 = load i32, ptr %15, align 4, !tbaa !9
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %119, ptr noundef %120, i32 noundef 9254, ptr noundef @.str.192, i32 noundef %121, i32 noundef %122)
  br label %134

123:                                              ; preds = %115
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  %125 = load ptr, ptr %8, align 8, !tbaa !5
  %126 = load ptr, ptr %7, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.qhT, ptr %126, i32 0, i32 110
  %128 = load i32, ptr %127, align 8, !tbaa !25
  %129 = sub nsw i32 %128, 1
  %130 = load i32, ptr %14, align 4, !tbaa !9
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  %132 = load ptr, ptr %25, align 8, !tbaa !5
  %133 = call i32 @qh_setsize(ptr noundef %131, ptr noundef %132)
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %124, ptr noundef %125, i32 noundef 9255, ptr noundef @.str.193, i32 noundef %129, i32 noundef %130, i32 noundef %133)
  br label %134

134:                                              ; preds = %123, %118
  %135 = load i32, ptr %9, align 4, !tbaa !9
  %136 = icmp eq i32 %135, 7
  br i1 %136, label %137, label %152

137:                                              ; preds = %134
  %138 = load ptr, ptr %7, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.qhT, ptr %138, i32 0, i32 110
  %140 = load i32, ptr %139, align 8, !tbaa !25
  %141 = sub nsw i32 %140, 1
  store i32 %141, ptr %13, align 4, !tbaa !9
  br label %142

142:                                              ; preds = %146, %137
  %143 = load i32, ptr %13, align 4, !tbaa !9
  %144 = add nsw i32 %143, -1
  store i32 %144, ptr %13, align 4, !tbaa !9
  %145 = icmp ne i32 %143, 0
  br i1 %145, label %146, label %149

146:                                              ; preds = %142
  %147 = load ptr, ptr %7, align 8, !tbaa !5
  %148 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %147, ptr noundef %148, i32 noundef 9256, ptr noundef @.str.17, double noundef 0.000000e+00)
  br label %142, !llvm.loop !26

149:                                              ; preds = %142
  %150 = load ptr, ptr %7, align 8, !tbaa !5
  %151 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %150, ptr noundef %151, i32 noundef 9257, ptr noundef @.str.194)
  br label %167

152:                                              ; preds = %134
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.qhT, ptr %153, i32 0, i32 110
  %155 = load i32, ptr %154, align 8, !tbaa !25
  %156 = sub nsw i32 %155, 1
  store i32 %156, ptr %13, align 4, !tbaa !9
  br label %157

157:                                              ; preds = %161, %152
  %158 = load i32, ptr %13, align 4, !tbaa !9
  %159 = add nsw i32 %158, -1
  store i32 %159, ptr %13, align 4, !tbaa !9
  %160 = icmp ne i32 %158, 0
  br i1 %160, label %161, label %164

161:                                              ; preds = %157
  %162 = load ptr, ptr %7, align 8, !tbaa !5
  %163 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %162, ptr noundef %163, i32 noundef 9258, ptr noundef @.str.17, double noundef -1.010100e+01)
  br label %157, !llvm.loop !27

164:                                              ; preds = %157
  %165 = load ptr, ptr %7, align 8, !tbaa !5
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %165, ptr noundef %166, i32 noundef 9259, ptr noundef @.str.18)
  br label %167

167:                                              ; preds = %164, %149
  %168 = load ptr, ptr %10, align 8, !tbaa !5
  %169 = icmp ne ptr %168, null
  br i1 %169, label %170, label %215

170:                                              ; preds = %167
  %171 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %171, ptr %21, align 8, !tbaa !5
  br label %172

172:                                              ; preds = %210, %170
  %173 = load ptr, ptr %21, align 8, !tbaa !5
  %174 = icmp ne ptr %173, null
  br i1 %174, label %175, label %180

175:                                              ; preds = %172
  %176 = load ptr, ptr %21, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.facetT, ptr %176, i32 0, i32 7
  %178 = load ptr, ptr %177, align 8, !tbaa !28
  %179 = icmp ne ptr %178, null
  br label %180

180:                                              ; preds = %175, %172
  %181 = phi i1 [ false, %172 ], [ %179, %175 ]
  br i1 %181, label %182, label %214

182:                                              ; preds = %180
  %183 = load ptr, ptr %21, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.facetT, ptr %183, i32 0, i32 13
  %185 = load i32, ptr %184, align 8, !tbaa !20
  %186 = icmp ne i32 %185, 0
  br i1 %186, label %187, label %209

187:                                              ; preds = %182
  %188 = load ptr, ptr %21, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.facetT, ptr %188, i32 0, i32 13
  %190 = load i32, ptr %189, align 8, !tbaa !20
  %191 = load i32, ptr %28, align 4, !tbaa !9
  %192 = icmp ult i32 %190, %191
  br i1 %192, label %193, label %209

193:                                              ; preds = %187
  %194 = load i32, ptr %9, align 4, !tbaa !9
  %195 = icmp eq i32 %194, 7
  br i1 %195, label %196, label %204

196:                                              ; preds = %193
  %197 = load ptr, ptr %7, align 8, !tbaa !5
  %198 = load ptr, ptr %8, align 8, !tbaa !5
  %199 = load i32, ptr %18, align 4, !tbaa !9
  %200 = add nsw i32 %199, 1
  store i32 %200, ptr %18, align 4, !tbaa !9
  %201 = load ptr, ptr %21, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.facetT, ptr %201, i32 0, i32 14
  %203 = load i32, ptr %202, align 4, !tbaa !29
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %197, ptr noundef %198, i32 noundef 9260, ptr noundef @.str.195, i32 noundef %199, i32 noundef %203)
  br label %204

204:                                              ; preds = %196, %193
  %205 = load ptr, ptr %7, align 8, !tbaa !5
  %206 = load ptr, ptr %8, align 8, !tbaa !5
  %207 = load i32, ptr %9, align 4, !tbaa !9
  %208 = load ptr, ptr %21, align 8, !tbaa !5
  call void @qh_printcenter(ptr noundef %205, ptr noundef %206, i32 noundef %207, ptr noundef null, ptr noundef %208)
  br label %209

209:                                              ; preds = %204, %187, %182
  br label %210

210:                                              ; preds = %209
  %211 = load ptr, ptr %21, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.facetT, ptr %211, i32 0, i32 7
  %213 = load ptr, ptr %212, align 8, !tbaa !28
  store ptr %213, ptr %21, align 8, !tbaa !5
  br label %172, !llvm.loop !30

214:                                              ; preds = %180
  br label %215

215:                                              ; preds = %214, %167
  store ptr null, ptr %21, align 8, !tbaa !5
  %216 = load ptr, ptr %11, align 8, !tbaa !5
  %217 = icmp ne ptr %216, null
  br i1 %217, label %218, label %256

218:                                              ; preds = %215
  %219 = load ptr, ptr %11, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.setT, ptr %219, i32 0, i32 1
  %221 = getelementptr inbounds [1 x %union.setelemT], ptr %220, i64 0, i64 0
  store ptr %221, ptr %22, align 8, !tbaa !5
  br label %222

222:                                              ; preds = %254, %218
  %223 = load ptr, ptr %22, align 8, !tbaa !5
  %224 = getelementptr inbounds ptr, ptr %223, i32 1
  store ptr %224, ptr %22, align 8, !tbaa !5
  %225 = load ptr, ptr %223, align 8, !tbaa !5
  store ptr %225, ptr %21, align 8, !tbaa !5
  %226 = icmp ne ptr %225, null
  br i1 %226, label %227, label %255

227:                                              ; preds = %222
  %228 = load ptr, ptr %21, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.facetT, ptr %228, i32 0, i32 13
  %230 = load i32, ptr %229, align 8, !tbaa !20
  %231 = icmp ne i32 %230, 0
  br i1 %231, label %232, label %254

232:                                              ; preds = %227
  %233 = load ptr, ptr %21, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.facetT, ptr %233, i32 0, i32 13
  %235 = load i32, ptr %234, align 8, !tbaa !20
  %236 = load i32, ptr %28, align 4, !tbaa !9
  %237 = icmp ult i32 %235, %236
  br i1 %237, label %238, label %254

238:                                              ; preds = %232
  %239 = load i32, ptr %9, align 4, !tbaa !9
  %240 = icmp eq i32 %239, 7
  br i1 %240, label %241, label %249

241:                                              ; preds = %238
  %242 = load ptr, ptr %7, align 8, !tbaa !5
  %243 = load ptr, ptr %8, align 8, !tbaa !5
  %244 = load i32, ptr %18, align 4, !tbaa !9
  %245 = add nsw i32 %244, 1
  store i32 %245, ptr %18, align 4, !tbaa !9
  %246 = load ptr, ptr %21, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.facetT, ptr %246, i32 0, i32 14
  %248 = load i32, ptr %247, align 4, !tbaa !29
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %242, ptr noundef %243, i32 noundef 9261, ptr noundef @.str.195, i32 noundef %244, i32 noundef %248)
  br label %249

249:                                              ; preds = %241, %238
  %250 = load ptr, ptr %7, align 8, !tbaa !5
  %251 = load ptr, ptr %8, align 8, !tbaa !5
  %252 = load i32, ptr %9, align 4, !tbaa !9
  %253 = load ptr, ptr %21, align 8, !tbaa !5
  call void @qh_printcenter(ptr noundef %250, ptr noundef %251, i32 noundef %252, ptr noundef null, ptr noundef %253)
  br label %254

254:                                              ; preds = %249, %232, %227
  br label %222, !llvm.loop !31

255:                                              ; preds = %222
  br label %256

256:                                              ; preds = %255, %215
  store ptr null, ptr %26, align 8, !tbaa !5
  %257 = load ptr, ptr %25, align 8, !tbaa !5
  %258 = icmp ne ptr %257, null
  br i1 %258, label %259, label %439

259:                                              ; preds = %256
  store i32 0, ptr %19, align 4, !tbaa !9
  %260 = load ptr, ptr %25, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.setT, ptr %260, i32 0, i32 1
  %262 = getelementptr inbounds [1 x %union.setelemT], ptr %261, i64 0, i64 0
  %263 = load ptr, ptr %262, align 8, !tbaa !17
  store ptr %263, ptr %26, align 8, !tbaa !5
  %264 = load ptr, ptr %7, align 8, !tbaa !5
  %265 = load ptr, ptr %25, align 8, !tbaa !5
  %266 = call i32 @qh_setsize(ptr noundef %264, ptr noundef %265)
  store i32 %266, ptr %20, align 4, !tbaa !9
  br label %267

267:                                              ; preds = %430, %259
  %268 = load i32, ptr %19, align 4, !tbaa !9
  %269 = load i32, ptr %20, align 4, !tbaa !9
  %270 = icmp slt i32 %268, %269
  br i1 %270, label %271, label %438

271:                                              ; preds = %267
  store i32 0, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !9
  %272 = load ptr, ptr %26, align 8, !tbaa !5
  %273 = icmp ne ptr %272, null
  br i1 %273, label %274, label %311

274:                                              ; preds = %271
  %275 = load ptr, ptr %7, align 8, !tbaa !5
  %276 = load ptr, ptr %26, align 8, !tbaa !5
  call void @qh_order_vertexneighbors(ptr noundef %275, ptr noundef %276)
  store ptr null, ptr %23, align 8, !tbaa !5
  %277 = load ptr, ptr %26, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.vertexT, ptr %277, i32 0, i32 3
  %279 = load ptr, ptr %278, align 8, !tbaa !18
  %280 = icmp ne ptr %279, null
  br i1 %280, label %281, label %310

281:                                              ; preds = %274
  %282 = load ptr, ptr %26, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.vertexT, ptr %282, i32 0, i32 3
  %284 = load ptr, ptr %283, align 8, !tbaa !18
  %285 = getelementptr inbounds %struct.setT, ptr %284, i32 0, i32 1
  %286 = getelementptr inbounds [1 x %union.setelemT], ptr %285, i64 0, i64 0
  store ptr %286, ptr %24, align 8, !tbaa !5
  br label %287

287:                                              ; preds = %308, %281
  %288 = load ptr, ptr %24, align 8, !tbaa !5
  %289 = getelementptr inbounds ptr, ptr %288, i32 1
  store ptr %289, ptr %24, align 8, !tbaa !5
  %290 = load ptr, ptr %288, align 8, !tbaa !5
  store ptr %290, ptr %23, align 8, !tbaa !5
  %291 = icmp ne ptr %290, null
  br i1 %291, label %292, label %309

292:                                              ; preds = %287
  %293 = load ptr, ptr %23, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.facetT, ptr %293, i32 0, i32 13
  %295 = load i32, ptr %294, align 8, !tbaa !20
  %296 = icmp eq i32 %295, 0
  br i1 %296, label %297, label %298

297:                                              ; preds = %292
  store i32 1, ptr %17, align 4, !tbaa !9
  br label %308

298:                                              ; preds = %292
  %299 = load ptr, ptr %23, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.facetT, ptr %299, i32 0, i32 13
  %301 = load i32, ptr %300, align 8, !tbaa !20
  %302 = load i32, ptr %28, align 4, !tbaa !9
  %303 = icmp ult i32 %301, %302
  br i1 %303, label %304, label %307

304:                                              ; preds = %298
  %305 = load i32, ptr %16, align 4, !tbaa !9
  %306 = add nsw i32 %305, 1
  store i32 %306, ptr %16, align 4, !tbaa !9
  br label %307

307:                                              ; preds = %304, %298
  br label %308

308:                                              ; preds = %307, %297
  br label %287, !llvm.loop !32

309:                                              ; preds = %287
  br label %310

310:                                              ; preds = %309, %274
  br label %311

311:                                              ; preds = %310, %271
  %312 = load i32, ptr %9, align 4, !tbaa !9
  %313 = icmp eq i32 %312, 7
  br i1 %313, label %314, label %367

314:                                              ; preds = %311
  %315 = load ptr, ptr %26, align 8, !tbaa !5
  %316 = icmp ne ptr %315, null
  br i1 %316, label %317, label %362

317:                                              ; preds = %314
  %318 = load ptr, ptr %7, align 8, !tbaa !5
  %319 = load ptr, ptr %8, align 8, !tbaa !5
  %320 = load i32, ptr %16, align 4, !tbaa !9
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %318, ptr noundef %319, i32 noundef 9262, ptr noundef @.str.20, i32 noundef %320)
  store ptr null, ptr %23, align 8, !tbaa !5
  %321 = load ptr, ptr %26, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.vertexT, ptr %321, i32 0, i32 3
  %323 = load ptr, ptr %322, align 8, !tbaa !18
  %324 = icmp ne ptr %323, null
  br i1 %324, label %325, label %355

325:                                              ; preds = %317
  %326 = load ptr, ptr %26, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.vertexT, ptr %326, i32 0, i32 3
  %328 = load ptr, ptr %327, align 8, !tbaa !18
  %329 = getelementptr inbounds %struct.setT, ptr %328, i32 0, i32 1
  %330 = getelementptr inbounds [1 x %union.setelemT], ptr %329, i64 0, i64 0
  store ptr %330, ptr %24, align 8, !tbaa !5
  br label %331

331:                                              ; preds = %353, %325
  %332 = load ptr, ptr %24, align 8, !tbaa !5
  %333 = getelementptr inbounds ptr, ptr %332, i32 1
  store ptr %333, ptr %24, align 8, !tbaa !5
  %334 = load ptr, ptr %332, align 8, !tbaa !5
  store ptr %334, ptr %23, align 8, !tbaa !5
  %335 = icmp ne ptr %334, null
  br i1 %335, label %336, label %354

336:                                              ; preds = %331
  %337 = load ptr, ptr %23, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.facetT, ptr %337, i32 0, i32 13
  %339 = load i32, ptr %338, align 8, !tbaa !20
  %340 = icmp ne i32 %339, 0
  br i1 %340, label %341, label %353

341:                                              ; preds = %336
  %342 = load ptr, ptr %23, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.facetT, ptr %342, i32 0, i32 13
  %344 = load i32, ptr %343, align 8, !tbaa !20
  %345 = load i32, ptr %28, align 4, !tbaa !9
  %346 = icmp ult i32 %344, %345
  br i1 %346, label %347, label %353

347:                                              ; preds = %341
  %348 = load ptr, ptr %7, align 8, !tbaa !5
  %349 = load ptr, ptr %8, align 8, !tbaa !5
  %350 = load ptr, ptr %23, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.facetT, ptr %350, i32 0, i32 13
  %352 = load i32, ptr %351, align 8, !tbaa !20
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %348, ptr noundef %349, i32 noundef 9263, ptr noundef @.str.21, i32 noundef %352)
  br label %353

353:                                              ; preds = %347, %341, %336
  br label %331, !llvm.loop !33

354:                                              ; preds = %331
  br label %355

355:                                              ; preds = %354, %317
  %356 = load ptr, ptr %7, align 8, !tbaa !5
  %357 = load ptr, ptr %8, align 8, !tbaa !5
  %358 = load i32, ptr %19, align 4, !tbaa !9
  %359 = load ptr, ptr %26, align 8, !tbaa !5
  %360 = getelementptr inbounds %struct.vertexT, ptr %359, i32 0, i32 4
  %361 = load i32, ptr %360, align 8, !tbaa !34
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %356, ptr noundef %357, i32 noundef 9264, ptr noundef @.str.196, i32 noundef %358, i32 noundef %361)
  br label %366

362:                                              ; preds = %314
  %363 = load ptr, ptr %7, align 8, !tbaa !5
  %364 = load ptr, ptr %8, align 8, !tbaa !5
  %365 = load i32, ptr %19, align 4, !tbaa !9
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %363, ptr noundef %364, i32 noundef 9265, ptr noundef @.str.197, i32 noundef %365)
  br label %366

366:                                              ; preds = %362, %355
  br label %429

367:                                              ; preds = %311
  %368 = load i32, ptr %17, align 4, !tbaa !9
  %369 = icmp ne i32 %368, 0
  br i1 %369, label %370, label %373

370:                                              ; preds = %367
  %371 = load i32, ptr %16, align 4, !tbaa !9
  %372 = add nsw i32 %371, 1
  store i32 %372, ptr %16, align 4, !tbaa !9
  br label %373

373:                                              ; preds = %370, %367
  %374 = load ptr, ptr %7, align 8, !tbaa !5
  %375 = load ptr, ptr %8, align 8, !tbaa !5
  %376 = load i32, ptr %16, align 4, !tbaa !9
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %374, ptr noundef %375, i32 noundef 9266, ptr noundef @.str.20, i32 noundef %376)
  %377 = load ptr, ptr %26, align 8, !tbaa !5
  %378 = icmp ne ptr %377, null
  br i1 %378, label %379, label %426

379:                                              ; preds = %373
  store ptr null, ptr %23, align 8, !tbaa !5
  %380 = load ptr, ptr %26, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.vertexT, ptr %380, i32 0, i32 3
  %382 = load ptr, ptr %381, align 8, !tbaa !18
  %383 = icmp ne ptr %382, null
  br i1 %383, label %384, label %425

384:                                              ; preds = %379
  %385 = load ptr, ptr %26, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.vertexT, ptr %385, i32 0, i32 3
  %387 = load ptr, ptr %386, align 8, !tbaa !18
  %388 = getelementptr inbounds %struct.setT, ptr %387, i32 0, i32 1
  %389 = getelementptr inbounds [1 x %union.setelemT], ptr %388, i64 0, i64 0
  store ptr %389, ptr %24, align 8, !tbaa !5
  br label %390

390:                                              ; preds = %423, %384
  %391 = load ptr, ptr %24, align 8, !tbaa !5
  %392 = getelementptr inbounds ptr, ptr %391, i32 1
  store ptr %392, ptr %24, align 8, !tbaa !5
  %393 = load ptr, ptr %391, align 8, !tbaa !5
  store ptr %393, ptr %23, align 8, !tbaa !5
  %394 = icmp ne ptr %393, null
  br i1 %394, label %395, label %424

395:                                              ; preds = %390
  %396 = load ptr, ptr %23, align 8, !tbaa !5
  %397 = getelementptr inbounds %struct.facetT, ptr %396, i32 0, i32 13
  %398 = load i32, ptr %397, align 8, !tbaa !20
  %399 = icmp eq i32 %398, 0
  br i1 %399, label %400, label %410

400:                                              ; preds = %395
  %401 = load i32, ptr %17, align 4, !tbaa !9
  %402 = icmp ne i32 %401, 0
  br i1 %402, label %403, label %409

403:                                              ; preds = %400
  store i32 0, ptr %17, align 4, !tbaa !9
  %404 = load ptr, ptr %7, align 8, !tbaa !5
  %405 = load ptr, ptr %8, align 8, !tbaa !5
  %406 = load ptr, ptr %23, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct.facetT, ptr %406, i32 0, i32 13
  %408 = load i32, ptr %407, align 8, !tbaa !20
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %404, ptr noundef %405, i32 noundef 9267, ptr noundef @.str.21, i32 noundef %408)
  br label %409

409:                                              ; preds = %403, %400
  br label %423

410:                                              ; preds = %395
  %411 = load ptr, ptr %23, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.facetT, ptr %411, i32 0, i32 13
  %413 = load i32, ptr %412, align 8, !tbaa !20
  %414 = load i32, ptr %28, align 4, !tbaa !9
  %415 = icmp ult i32 %413, %414
  br i1 %415, label %416, label %422

416:                                              ; preds = %410
  %417 = load ptr, ptr %7, align 8, !tbaa !5
  %418 = load ptr, ptr %8, align 8, !tbaa !5
  %419 = load ptr, ptr %23, align 8, !tbaa !5
  %420 = getelementptr inbounds %struct.facetT, ptr %419, i32 0, i32 13
  %421 = load i32, ptr %420, align 8, !tbaa !20
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %417, ptr noundef %418, i32 noundef 9268, ptr noundef @.str.21, i32 noundef %421)
  br label %422

422:                                              ; preds = %416, %410
  br label %423

423:                                              ; preds = %422, %409
  br label %390, !llvm.loop !35

424:                                              ; preds = %390
  br label %425

425:                                              ; preds = %424, %379
  br label %426

426:                                              ; preds = %425, %373
  %427 = load ptr, ptr %7, align 8, !tbaa !5
  %428 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %427, ptr noundef %428, i32 noundef 9269, ptr noundef @.str.18)
  br label %429

429:                                              ; preds = %426, %366
  br label %430

430:                                              ; preds = %429
  %431 = load ptr, ptr %25, align 8, !tbaa !5
  %432 = getelementptr inbounds %struct.setT, ptr %431, i32 0, i32 1
  %433 = load i32, ptr %19, align 4, !tbaa !9
  %434 = add nsw i32 %433, 1
  store i32 %434, ptr %19, align 4, !tbaa !9
  %435 = sext i32 %434 to i64
  %436 = getelementptr inbounds [1 x %union.setelemT], ptr %432, i64 0, i64 %435
  %437 = load ptr, ptr %436, align 8, !tbaa !17
  store ptr %437, ptr %26, align 8, !tbaa !5
  br label %267, !llvm.loop !36

438:                                              ; preds = %267
  br label %439

439:                                              ; preds = %438, %256
  %440 = load i32, ptr %9, align 4, !tbaa !9
  %441 = icmp eq i32 %440, 7
  br i1 %441, label %442, label %445

442:                                              ; preds = %439
  %443 = load ptr, ptr %7, align 8, !tbaa !5
  %444 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %443, ptr noundef %444, i32 noundef 9270, ptr noundef @.str.60)
  br label %445

445:                                              ; preds = %442, %439
  %446 = load ptr, ptr %7, align 8, !tbaa !5
  call void @qh_settempfree(ptr noundef %446, ptr noundef %25)
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 #2 = { 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 #3 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 2568}
!12 = !{!"qhT", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !13, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !13, i64 64, !13, i64 72, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !6, i64 104, !10, i64 112, !10, i64 116, !6, i64 120, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !13, i64 160, !13, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !13, i64 192, !13, i64 200, !10, i64 208, !10, i64 212, !13, i64 216, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !7, i64 300, !10, i64 416, !10, i64 420, !10, i64 424, !10, i64 428, !10, i64 432, !10, i64 436, !10, i64 440, !10, i64 444, !13, i64 448, !13, i64 456, !13, i64 464, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !10, i64 512, !10, i64 516, !10, i64 520, !10, i64 524, !10, i64 528, !10, i64 532, !10, i64 536, !10, i64 540, !10, i64 544, !13, i64 552, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !10, i64 588, !13, i64 592, !10, i64 600, !6, i64 608, !6, i64 616, !10, i64 624, !10, i64 628, !10, i64 632, !10, i64 636, !10, i64 640, !6, i64 648, !10, i64 656, !6, i64 664, !10, i64 672, !7, i64 676, !10, i64 932, !7, i64 936, !7, i64 1192, !10, i64 1704, !10, i64 1708, !10, i64 1712, !10, i64 1716, !10, i64 1720, !10, i64 1724, !6, i64 1728, !6, i64 1736, !6, i64 1744, !6, i64 1752, !13, i64 1760, !13, i64 1768, !13, i64 1776, !13, i64 1784, !13, i64 1792, !13, i64 1800, !13, i64 1808, !13, i64 1816, !13, i64 1824, !13, i64 1832, !13, i64 1840, !13, i64 1848, !13, i64 1856, !13, i64 1864, !6, i64 1872, !13, i64 1880, !13, i64 1888, !13, i64 1896, !13, i64 1904, !10, i64 1912, !7, i64 1916, !7, i64 1928, !7, i64 2128, !7, i64 2168, !7, i64 2368, !6, i64 2408, !6, i64 2416, !6, i64 2424, !6, i64 2432, !10, i64 2440, !10, i64 2444, !10, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !6, i64 2480, !6, i64 2488, !10, i64 2496, !10, i64 2500, !6, i64 2504, !10, i64 2512, !6, i64 2520, !10, i64 2528, !6, i64 2536, !6, i64 2544, !6, i64 2552, !6, i64 2560, !10, i64 2568, !10, i64 2572, !10, i64 2576, !10, i64 2580, !10, i64 2584, !10, i64 2588, !10, i64 2592, !10, i64 2596, !14, i64 2600, !10, i64 2608, !10, i64 2612, !10, i64 2616, !10, i64 2620, !10, i64 2624, !6, i64 2632, !6, i64 2640, !10, i64 2648, !10, i64 2652, !10, i64 2656, !13, i64 2664, !10, i64 2672, !13, i64 2680, !13, i64 2688, !13, i64 2696, !10, i64 2704, !10, i64 2708, !10, i64 2712, !10, i64 2716, !10, i64 2720, !13, i64 2728, !13, i64 2736, !10, i64 2744, !10, i64 2748, !10, i64 2752, !10, i64 2756, !10, i64 2760, !10, i64 2764, !13, i64 2768, !13, i64 2776, !10, i64 2784, !10, i64 2788, !10, i64 2792, !10, i64 2796, !6, i64 2800, !6, i64 2808, !6, i64 2816, !6, i64 2824, !6, i64 2832, !6, i64 2840, !6, i64 2848, !6, i64 2856, !6, i64 2864, !10, i64 2872, !6, i64 2880, !6, i64 2888, !10, i64 2896, !10, i64 2900, !10, i64 2904, !6, i64 2912, !13, i64 2920, !13, i64 2928, !13, i64 2936, !13, i64 2944, !10, i64 2952, !10, i64 2956, !10, i64 2960, !10, i64 2964, !10, i64 2968, !10, i64 2972, !6, i64 2976, !10, i64 2984, !10, i64 2988, !7, i64 2992, !7, i64 3192, !10, i64 3232, !13, i64 3240, !6, i64 3248, !6, i64 3256, !6, i64 3264, !15, i64 3272, !16, i64 3424}
!13 = !{!"double", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"qhmemT", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !10, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144}
!16 = !{!"qhstatT", !7, i64 0, !7, i64 1992, !7, i64 2256, !7, i64 4248, !7, i64 4746, !7, i64 4995, !7, i64 5248, !10, i64 5320, !10, i64 5324, !10, i64 5328, !10, i64 5332, !13, i64 5336}
!17 = !{!7, !7, i64 0}
!18 = !{!19, !6, i64 24}
!19 = !{!"vertexT", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 40, !10, i64 40, !10, i64 40, !10, i64 40, !10, i64 40}
!20 = !{!21, !10, i64 104}
!21 = !{!"facetT", !13, i64 0, !13, i64 8, !13, i64 16, !6, i64 24, !7, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 113, !10, i64 113, !10, i64 113, !10, i64 113, !10, i64 113, !10, i64 113, !10, i64 113, !10, i64 114, !10, i64 114, !10, i64 114, !10, i64 114, !10, i64 114, !10, i64 114, !10, i64 114, !10, i64 114, !10, i64 115, !10, i64 115, !10, i64 115, !10, i64 115, !10, i64 115, !10, i64 115, !10, i64 115, !10, i64 115}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = !{!12, !10, i64 632}
!26 = distinct !{!26, !23}
!27 = distinct !{!27, !23}
!28 = !{!21, !6, i64 56}
!29 = !{!21, !10, i64 108}
!30 = distinct !{!30, !23}
!31 = distinct !{!31, !23}
!32 = distinct !{!32, !23}
!33 = distinct !{!33, !23}
!34 = !{!19, !10, i64 32}
!35 = distinct !{!35, !23}
!36 = distinct !{!36, !23}


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

%union.setelemT = type { ptr }

@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.193 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [32 x i8], align 1

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

declare i32 @qh_setsize(ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @qh_fprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1

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

declare void @qh_settempfree(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @qh_markvoronoi(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @qh_order_vertexneighbors(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @qh_printcenter(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @qh_printvoronoi(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5) local_unnamed_addr #2 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #3
  %10 = getelementptr inbounds i8, ptr %0, i64 2568
  %11 = load i32, ptr %10, align 8, !tbaa !5
  %12 = call ptr @qh_markvoronoi(ptr noundef %0, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef nonnull %9, ptr noundef nonnull %7)
  store ptr %12, ptr %8, align 8, !tbaa !15
  %.not = icmp eq ptr %12, null
  br i1 %.not, label %.loopexit256, label %13

13:                                               ; preds = %6
  %14 = getelementptr inbounds i8, ptr %12, i64 8
  %15 = load ptr, ptr %14, align 8, !tbaa !16
  %16 = call i32 @qh_setsize(ptr noundef nonnull %0, ptr noundef nonnull %12) #3
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %.lr.ph267.preheader, label %.loopexit256

.lr.ph267.preheader:                              ; preds = %13
  %wide.trip.count = zext nneg i32 %16 to i64
  br label %.lr.ph267

.lr.ph267:                                        ; preds = %.lr.ph267.preheader, %.thread
  %indvars.iv = phi i64 [ 0, %.lr.ph267.preheader ], [ %indvars.iv.next, %.thread ]
  %.0135265 = phi ptr [ %15, %.lr.ph267.preheader ], [ %34, %.thread ]
  %.0161263 = phi i32 [ 0, %.lr.ph267.preheader ], [ %.1162, %.thread ]
  %.not207 = icmp eq ptr %.0135265, null
  br i1 %.not207, label %.thread, label %18

18:                                               ; preds = %.lr.ph267
  %19 = add nsw i32 %.0161263, 1
  %20 = getelementptr inbounds i8, ptr %.0135265, i64 24
  %21 = load ptr, ptr %20, align 8, !tbaa !17
  %.not208 = icmp eq ptr %21, null
  br i1 %.not208, label %.thread, label %.preheader255

.preheader255:                                    ; preds = %18
  %.0137257 = getelementptr inbounds i8, ptr %21, i64 8
  %22 = load ptr, ptr %.0137257, align 8, !tbaa !15
  %.not210258 = icmp eq ptr %22, null
  br i1 %.not210258, label %.thread, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader255, %.lr.ph
  %23 = phi ptr [ %28, %.lr.ph ], [ %22, %.preheader255 ]
  %.0137261 = phi ptr [ %.0137, %.lr.ph ], [ %.0137257, %.preheader255 ]
  %.0147260 = phi i32 [ %.1148, %.lr.ph ], [ 0, %.preheader255 ]
  %.0154259 = phi i32 [ %.1155, %.lr.ph ], [ 0, %.preheader255 ]
  %24 = getelementptr inbounds i8, ptr %23, i64 104
  %25 = load i32, ptr %24, align 8, !tbaa !19
  %26 = icmp ne i32 %25, 0
  %27 = icmp ult i32 %25, %11
  %narrow = select i1 %26, i1 %27, i1 false
  %spec.select = zext i1 %narrow to i32
  %.1155 = add nuw nsw i32 %.0154259, %spec.select
  %.1148 = select i1 %26, i32 %.0147260, i32 1
  %.0137 = getelementptr inbounds i8, ptr %.0137261, i64 8
  %28 = load ptr, ptr %.0137, align 8, !tbaa !15
  %.not210 = icmp eq ptr %28, null
  br i1 %.not210, label %._crit_edge, label %.lr.ph, !llvm.loop !21

._crit_edge:                                      ; preds = %.lr.ph
  %29 = icmp eq i32 %.1148, 0
  %30 = icmp ne i32 %.1155, 0
  %or.cond = select i1 %29, i1 true, i1 %30
  br i1 %or.cond, label %.thread, label %31

31:                                               ; preds = %._crit_edge
  %32 = getelementptr inbounds [1 x %union.setelemT], ptr %14, i64 0, i64 %indvars.iv
  store ptr null, ptr %32, align 8, !tbaa !16
  br label %.thread

.thread:                                          ; preds = %.preheader255, %18, %.lr.ph267, %31, %._crit_edge
  %.1162 = phi i32 [ %19, %._crit_edge ], [ %.0161263, %31 ], [ %.0161263, %.lr.ph267 ], [ %19, %18 ], [ %19, %.preheader255 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %33 = getelementptr inbounds [1 x %union.setelemT], ptr %14, i64 0, i64 %indvars.iv.next
  %34 = load ptr, ptr %33, align 8, !tbaa !16
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit256, label %.lr.ph267, !llvm.loop !23

.loopexit256:                                     ; preds = %.thread, %13, %6
  %.2163 = phi i32 [ 0, %6 ], [ 0, %13 ], [ %.1162, %.thread ]
  %35 = icmp eq i32 %2, 7
  br i1 %35, label %36, label %40

36:                                               ; preds = %.loopexit256
  %37 = load i32, ptr %7, align 4, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9254, ptr noundef nonnull @.str.192, i32 noundef %37, i32 noundef %.2163) #3
  %38 = getelementptr inbounds i8, ptr %0, i64 632
  %39 = load i32, ptr %38, align 8, !tbaa !25
  %.0275 = add nsw i32 %39, -1
  %.not185276 = icmp eq i32 %.0275, 0
  br i1 %.not185276, label %._crit_edge280, label %.lr.ph279

.lr.ph279:                                        ; preds = %36, %.lr.ph279
  %.0277 = phi i32 [ %.0, %.lr.ph279 ], [ %.0275, %36 ]
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9256, ptr noundef nonnull @.str.17, double noundef 0.000000e+00) #3
  %.0 = add nsw i32 %.0277, -1
  %.not185 = icmp eq i32 %.0, 0
  br i1 %.not185, label %._crit_edge280, label %.lr.ph279, !llvm.loop !26

._crit_edge280:                                   ; preds = %.lr.ph279, %36
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9257, ptr noundef nonnull @.str.194) #3
  br label %47

40:                                               ; preds = %.loopexit256
  %41 = getelementptr inbounds i8, ptr %0, i64 632
  %42 = load i32, ptr %41, align 8, !tbaa !25
  %43 = add nsw i32 %42, -1
  %44 = load i32, ptr %7, align 4, !tbaa !24
  %45 = call i32 @qh_setsize(ptr noundef %0, ptr noundef %12) #3
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9255, ptr noundef nonnull @.str.193, i32 noundef %43, i32 noundef %44, i32 noundef %45) #3
  %46 = load i32, ptr %41, align 8, !tbaa !25
  %.1269 = add nsw i32 %46, -1
  %.not184270 = icmp eq i32 %.1269, 0
  br i1 %.not184270, label %._crit_edge274, label %.lr.ph273

.lr.ph273:                                        ; preds = %40, %.lr.ph273
  %.1271 = phi i32 [ %.1, %.lr.ph273 ], [ %.1269, %40 ]
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9258, ptr noundef nonnull @.str.17, double noundef -1.010100e+01) #3
  %.1 = add nsw i32 %.1271, -1
  %.not184 = icmp eq i32 %.1, 0
  br i1 %.not184, label %._crit_edge274, label %.lr.ph273, !llvm.loop !27

._crit_edge274:                                   ; preds = %.lr.ph273, %40
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9259, ptr noundef nonnull @.str.18) #3
  br label %47

47:                                               ; preds = %._crit_edge274, %._crit_edge280
  %.not186 = icmp eq ptr %3, null
  br i1 %.not186, label %.critedge, label %.preheader254

.preheader254:                                    ; preds = %47, %60
  %.0140282 = phi ptr [ %61, %60 ], [ %3, %47 ]
  %.0143281 = phi i32 [ %.2145, %60 ], [ 1, %47 ]
  %48 = getelementptr inbounds i8, ptr %.0140282, i64 56
  %49 = load ptr, ptr %48, align 8, !tbaa !28
  %.not188 = icmp eq ptr %49, null
  br i1 %.not188, label %.critedge, label %50

50:                                               ; preds = %.preheader254
  %51 = getelementptr inbounds i8, ptr %.0140282, i64 104
  %52 = load i32, ptr %51, align 8, !tbaa !19
  %.not206 = icmp ne i32 %52, 0
  %53 = icmp ult i32 %52, %11
  %or.cond211 = select i1 %.not206, i1 %53, i1 false
  br i1 %or.cond211, label %54, label %60

54:                                               ; preds = %50
  br i1 %35, label %55, label %59

55:                                               ; preds = %54
  %56 = add nsw i32 %.0143281, 1
  %57 = getelementptr inbounds i8, ptr %.0140282, i64 108
  %58 = load i32, ptr %57, align 4, !tbaa !29
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9260, ptr noundef nonnull @.str.195, i32 noundef %.0143281, i32 noundef %58) #3
  br label %59

59:                                               ; preds = %55, %54
  %.1144 = phi i32 [ %56, %55 ], [ %.0143281, %54 ]
  call void @qh_printcenter(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef null, ptr noundef nonnull %.0140282)
  %.pre = load ptr, ptr %48, align 8, !tbaa !28
  br label %60

60:                                               ; preds = %50, %59
  %61 = phi ptr [ %.pre, %59 ], [ %49, %50 ]
  %.2145 = phi i32 [ %.1144, %59 ], [ %.0143281, %50 ]
  %.not187 = icmp eq ptr %61, null
  br i1 %.not187, label %.critedge, label %.preheader254, !llvm.loop !30

.critedge:                                        ; preds = %.preheader254, %60, %47
  %.3146 = phi i32 [ 1, %47 ], [ %.2145, %60 ], [ %.0143281, %.preheader254 ]
  %.not189 = icmp eq ptr %4, null
  br i1 %.not189, label %.loopexit253, label %.preheader252

.preheader252:                                    ; preds = %.critedge
  %.0139283 = getelementptr inbounds i8, ptr %4, i64 8
  %62 = load ptr, ptr %.0139283, align 8, !tbaa !15
  %.not190284 = icmp eq ptr %62, null
  br i1 %.not190284, label %.loopexit253, label %.lr.ph287

.lr.ph287:                                        ; preds = %.preheader252
  br i1 %35, label %.lr.ph287.split.us, label %.lr.ph287.split

.lr.ph287.split.us:                               ; preds = %.lr.ph287, %71
  %63 = phi ptr [ %72, %71 ], [ %62, %.lr.ph287 ]
  %.0139286.us = phi ptr [ %.0139.us, %71 ], [ %.0139283, %.lr.ph287 ]
  %.4285.us = phi i32 [ %.6.us, %71 ], [ %.3146, %.lr.ph287 ]
  %64 = getelementptr inbounds i8, ptr %63, i64 104
  %65 = load i32, ptr %64, align 8, !tbaa !19
  %.not205.us = icmp ne i32 %65, 0
  %66 = icmp ult i32 %65, %11
  %or.cond212.us = select i1 %.not205.us, i1 %66, i1 false
  br i1 %or.cond212.us, label %67, label %71

67:                                               ; preds = %.lr.ph287.split.us
  %68 = add nsw i32 %.4285.us, 1
  %69 = getelementptr inbounds i8, ptr %63, i64 108
  %70 = load i32, ptr %69, align 4, !tbaa !29
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9261, ptr noundef nonnull @.str.195, i32 noundef %.4285.us, i32 noundef %70) #3
  call void @qh_printcenter(ptr noundef %0, ptr noundef %1, i32 noundef 7, ptr noundef null, ptr noundef nonnull %63)
  br label %71

71:                                               ; preds = %67, %.lr.ph287.split.us
  %.6.us = phi i32 [ %68, %67 ], [ %.4285.us, %.lr.ph287.split.us ]
  %.0139.us = getelementptr inbounds i8, ptr %.0139286.us, i64 8
  %72 = load ptr, ptr %.0139.us, align 8, !tbaa !15
  %.not190.us = icmp eq ptr %72, null
  br i1 %.not190.us, label %.loopexit253, label %.lr.ph287.split.us, !llvm.loop !31

.lr.ph287.split:                                  ; preds = %.lr.ph287, %78
  %73 = phi ptr [ %79, %78 ], [ %62, %.lr.ph287 ]
  %.0139286 = phi ptr [ %.0139, %78 ], [ %.0139283, %.lr.ph287 ]
  %74 = getelementptr inbounds i8, ptr %73, i64 104
  %75 = load i32, ptr %74, align 8, !tbaa !19
  %.not205 = icmp ne i32 %75, 0
  %76 = icmp ult i32 %75, %11
  %or.cond212 = select i1 %.not205, i1 %76, i1 false
  br i1 %or.cond212, label %77, label %78

77:                                               ; preds = %.lr.ph287.split
  call void @qh_printcenter(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef null, ptr noundef nonnull %73)
  br label %78

78:                                               ; preds = %77, %.lr.ph287.split
  %.0139 = getelementptr inbounds i8, ptr %.0139286, i64 8
  %79 = load ptr, ptr %.0139, align 8, !tbaa !15
  %.not190 = icmp eq ptr %79, null
  br i1 %.not190, label %.loopexit253, label %.lr.ph287.split, !llvm.loop !31

.loopexit253:                                     ; preds = %78, %71, %.preheader252, %.critedge
  %80 = load ptr, ptr %8, align 8, !tbaa !15
  %.not191 = icmp eq ptr %80, null
  br i1 %.not191, label %.loopexit251, label %81

81:                                               ; preds = %.loopexit253
  %82 = getelementptr inbounds i8, ptr %80, i64 8
  %83 = load ptr, ptr %82, align 8, !tbaa !16
  %84 = call i32 @qh_setsize(ptr noundef %0, ptr noundef nonnull %80) #3
  %85 = icmp sgt i32 %84, 0
  br i1 %85, label %.lr.ph311.preheader, label %.loopexit251

.lr.ph311.preheader:                              ; preds = %81
  %wide.trip.count318 = zext nneg i32 %84 to i64
  br label %.lr.ph311

.lr.ph311:                                        ; preds = %.lr.ph311.preheader, %123
  %indvars.iv315 = phi i64 [ 0, %.lr.ph311.preheader ], [ %indvars.iv.next316, %123 ]
  %.1136309 = phi ptr [ %83, %.lr.ph311.preheader ], [ %125, %123 ]
  %.not192 = icmp eq ptr %.1136309, null
  br i1 %.not192, label %.thread229, label %86

86:                                               ; preds = %.lr.ph311
  call void @qh_order_vertexneighbors(ptr noundef %0, ptr noundef nonnull %.1136309)
  %87 = getelementptr inbounds i8, ptr %.1136309, i64 24
  %88 = load ptr, ptr %87, align 8, !tbaa !17
  %.not193 = icmp eq ptr %88, null
  br i1 %.not193, label %.thread220, label %.preheader250

.preheader250:                                    ; preds = %86
  %.1138288 = getelementptr inbounds i8, ptr %88, i64 8
  %89 = load ptr, ptr %.1138288, align 8, !tbaa !15
  %.not195289 = icmp eq ptr %89, null
  br i1 %.not195289, label %._crit_edge294, label %.lr.ph293

.lr.ph293:                                        ; preds = %.preheader250, %.lr.ph293
  %90 = phi ptr [ %95, %.lr.ph293 ], [ %89, %.preheader250 ]
  %.1138292 = phi ptr [ %.1138, %.lr.ph293 ], [ %.1138288, %.preheader250 ]
  %.3150.fr291 = phi i32 [ %.4151, %.lr.ph293 ], [ 0, %.preheader250 ]
  %.3157290 = phi i32 [ %.4158, %.lr.ph293 ], [ 0, %.preheader250 ]
  %91 = getelementptr inbounds i8, ptr %90, i64 104
  %92 = load i32, ptr %91, align 8, !tbaa !19
  %.fr312 = freeze i32 %92
  %93 = icmp ne i32 %.fr312, 0
  %94 = icmp ult i32 %.fr312, %11
  %narrow247 = select i1 %93, i1 %94, i1 false
  %spec.select213 = zext i1 %narrow247 to i32
  %.4158 = add nuw nsw i32 %.3157290, %spec.select213
  %.4151 = select i1 %93, i32 %.3150.fr291, i32 1
  %.1138 = getelementptr inbounds i8, ptr %.1138292, i64 8
  %95 = load ptr, ptr %.1138, align 8, !tbaa !15
  %.not195 = icmp eq ptr %95, null
  br i1 %.not195, label %._crit_edge294, label %.lr.ph293, !llvm.loop !32

._crit_edge294:                                   ; preds = %.lr.ph293, %.preheader250
  %.3157.lcssa = phi i32 [ 0, %.preheader250 ], [ %.4158, %.lr.ph293 ]
  %.3150.fr.lcssa = phi i32 [ 0, %.preheader250 ], [ %.4151, %.lr.ph293 ]
  br i1 %35, label %.thread226, label %.thread234

.thread229:                                       ; preds = %.lr.ph311
  br i1 %35, label %.thread232, label %.thread234.thread

.thread234.thread:                                ; preds = %.thread229
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9266, ptr noundef nonnull @.str.20, i32 noundef 0) #3
  br label %.loopexit249

.thread220:                                       ; preds = %86
  br i1 %35, label %.thread226, label %.thread234.thread243

.thread226:                                       ; preds = %._crit_edge294, %.thread220
  %.5159223228 = phi i32 [ 0, %.thread220 ], [ %.3157.lcssa, %._crit_edge294 ]
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9262, ptr noundef nonnull @.str.20, i32 noundef %.5159223228) #3
  %96 = load ptr, ptr %87, align 8, !tbaa !17
  %.not201 = icmp eq ptr %96, null
  br i1 %.not201, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.thread226
  %.2302 = getelementptr inbounds i8, ptr %96, i64 8
  %97 = load ptr, ptr %.2302, align 8, !tbaa !15
  %.not203303 = icmp eq ptr %97, null
  br i1 %.not203303, label %.loopexit, label %.lr.ph305

.lr.ph305:                                        ; preds = %.preheader, %103
  %98 = phi ptr [ %104, %103 ], [ %97, %.preheader ]
  %.2304 = phi ptr [ %.2, %103 ], [ %.2302, %.preheader ]
  %99 = getelementptr inbounds i8, ptr %98, i64 104
  %100 = load i32, ptr %99, align 8, !tbaa !19
  %.not204 = icmp ne i32 %100, 0
  %101 = icmp ult i32 %100, %11
  %or.cond214 = select i1 %.not204, i1 %101, i1 false
  br i1 %or.cond214, label %102, label %103

102:                                              ; preds = %.lr.ph305
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9263, ptr noundef nonnull @.str.21, i32 noundef %100) #3
  br label %103

103:                                              ; preds = %102, %.lr.ph305
  %.2 = getelementptr inbounds i8, ptr %.2304, i64 8
  %104 = load ptr, ptr %.2, align 8, !tbaa !15
  %.not203 = icmp eq ptr %104, null
  br i1 %.not203, label %.loopexit, label %.lr.ph305, !llvm.loop !33

.loopexit:                                        ; preds = %103, %.preheader, %.thread226
  %105 = getelementptr inbounds i8, ptr %.1136309, i64 32
  %106 = load i32, ptr %105, align 8, !tbaa !34
  %107 = trunc nuw nsw i64 %indvars.iv315 to i32
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9264, ptr noundef nonnull @.str.196, i32 noundef %107, i32 noundef %106) #3
  br label %123

.thread232:                                       ; preds = %.thread229
  %108 = trunc nuw nsw i64 %indvars.iv315 to i32
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9265, ptr noundef nonnull @.str.197, i32 noundef %108) #3
  br label %123

.thread234:                                       ; preds = %._crit_edge294
  %.not196 = icmp ne i32 %.3150.fr.lcssa, 0
  %109 = zext i1 %.not196 to i32
  %spec.select246 = add nuw nsw i32 %.3157.lcssa, %109
  br label %.thread234.thread243

.thread234.thread243:                             ; preds = %.thread220, %.thread234
  %spec.select246.sink = phi i32 [ %spec.select246, %.thread234 ], [ 0, %.thread220 ]
  %.5152225239245 = phi i32 [ %.3150.fr.lcssa, %.thread234 ], [ 0, %.thread220 ]
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9266, ptr noundef nonnull @.str.20, i32 noundef %spec.select246.sink) #3
  %110 = load ptr, ptr %87, align 8, !tbaa !17
  %.not197 = icmp eq ptr %110, null
  br i1 %.not197, label %.loopexit249, label %.preheader248

.preheader248:                                    ; preds = %.thread234.thread243
  %.3297 = getelementptr inbounds i8, ptr %110, i64 8
  %111 = load ptr, ptr %.3297, align 8, !tbaa !15
  %.not199298 = icmp eq ptr %111, null
  br i1 %.not199298, label %.loopexit249, label %.lr.ph301

.lr.ph301:                                        ; preds = %.preheader248, %121
  %112 = phi ptr [ %122, %121 ], [ %111, %.preheader248 ]
  %.3300 = phi ptr [ %.3, %121 ], [ %.3297, %.preheader248 ]
  %.6153299 = phi i32 [ %.7, %121 ], [ %.5152225239245, %.preheader248 ]
  %113 = getelementptr inbounds i8, ptr %112, i64 104
  %114 = load i32, ptr %113, align 8, !tbaa !19
  %115 = icmp eq i32 %114, 0
  br i1 %115, label %116, label %118

116:                                              ; preds = %.lr.ph301
  %.not200 = icmp eq i32 %.6153299, 0
  br i1 %.not200, label %121, label %117

117:                                              ; preds = %116
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9267, ptr noundef nonnull @.str.21, i32 noundef 0) #3
  br label %121

118:                                              ; preds = %.lr.ph301
  %119 = icmp ult i32 %114, %11
  br i1 %119, label %120, label %121

120:                                              ; preds = %118
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9268, ptr noundef nonnull @.str.21, i32 noundef %114) #3
  br label %121

121:                                              ; preds = %118, %120, %116, %117
  %.7 = phi i32 [ 0, %117 ], [ 0, %116 ], [ %.6153299, %120 ], [ %.6153299, %118 ]
  %.3 = getelementptr inbounds i8, ptr %.3300, i64 8
  %122 = load ptr, ptr %.3, align 8, !tbaa !15
  %.not199 = icmp eq ptr %122, null
  br i1 %.not199, label %.loopexit249, label %.lr.ph301, !llvm.loop !35

.loopexit249:                                     ; preds = %121, %.preheader248, %.thread234.thread, %.thread234.thread243
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9269, ptr noundef nonnull @.str.18) #3
  br label %123

123:                                              ; preds = %.loopexit249, %.thread232, %.loopexit
  %indvars.iv.next316 = add nuw nsw i64 %indvars.iv315, 1
  %124 = getelementptr inbounds [1 x %union.setelemT], ptr %82, i64 0, i64 %indvars.iv.next316
  %125 = load ptr, ptr %124, align 8, !tbaa !16
  %exitcond319.not = icmp eq i64 %indvars.iv.next316, %wide.trip.count318
  br i1 %exitcond319.not, label %.loopexit251, label %.lr.ph311, !llvm.loop !36

.loopexit251:                                     ; preds = %123, %81, %.loopexit253
  br i1 %35, label %126, label %127

126:                                              ; preds = %.loopexit251
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %1, i32 noundef 9270, ptr noundef nonnull @.str.60) #3
  br label %127

127:                                              ; preds = %126, %.loopexit251
  call void @qh_settempfree(ptr noundef %0, ptr noundef nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 #2 = { 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 #3 = { 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, !7, i64 2568}
!6 = !{!"qhT", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !10, i64 64, !10, i64 72, !7, i64 80, !7, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !11, i64 104, !7, i64 112, !7, i64 116, !11, i64 120, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !10, i64 160, !10, i64 168, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !10, i64 192, !10, i64 200, !7, i64 208, !7, i64 212, !10, i64 216, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !7, i64 240, !7, i64 244, !7, i64 248, !7, i64 252, !7, i64 256, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296, !8, i64 300, !7, i64 416, !7, i64 420, !7, i64 424, !7, i64 428, !7, i64 432, !7, i64 436, !7, i64 440, !7, i64 444, !10, i64 448, !10, i64 456, !10, i64 464, !7, i64 472, !7, i64 476, !7, i64 480, !7, i64 484, !7, i64 488, !7, i64 492, !7, i64 496, !7, i64 500, !7, i64 504, !7, i64 508, !7, i64 512, !7, i64 516, !7, i64 520, !7, i64 524, !7, i64 528, !7, i64 532, !7, i64 536, !7, i64 540, !7, i64 544, !10, i64 552, !7, i64 560, !7, i64 564, !7, i64 568, !7, i64 572, !7, i64 576, !7, i64 580, !7, i64 584, !7, i64 588, !10, i64 592, !7, i64 600, !11, i64 608, !11, i64 616, !7, i64 624, !7, i64 628, !7, i64 632, !7, i64 636, !7, i64 640, !11, i64 648, !7, i64 656, !11, i64 664, !7, i64 672, !8, i64 676, !7, i64 932, !8, i64 936, !8, i64 1192, !7, i64 1704, !7, i64 1708, !7, i64 1712, !7, i64 1716, !7, i64 1720, !7, i64 1724, !11, i64 1728, !11, i64 1736, !11, i64 1744, !11, i64 1752, !10, i64 1760, !10, i64 1768, !10, i64 1776, !10, i64 1784, !10, i64 1792, !10, i64 1800, !10, i64 1808, !10, i64 1816, !10, i64 1824, !10, i64 1832, !10, i64 1840, !10, i64 1848, !10, i64 1856, !10, i64 1864, !11, i64 1872, !10, i64 1880, !10, i64 1888, !10, i64 1896, !10, i64 1904, !7, i64 1912, !8, i64 1916, !8, i64 1928, !8, i64 2128, !8, i64 2168, !8, i64 2368, !11, i64 2408, !11, i64 2416, !11, i64 2424, !11, i64 2432, !7, i64 2440, !7, i64 2444, !7, i64 2448, !11, i64 2456, !11, i64 2464, !11, i64 2472, !11, i64 2480, !11, i64 2488, !7, i64 2496, !7, i64 2500, !11, i64 2504, !7, i64 2512, !11, i64 2520, !7, i64 2528, !11, i64 2536, !11, i64 2544, !11, i64 2552, !11, i64 2560, !7, i64 2568, !7, i64 2572, !7, i64 2576, !7, i64 2580, !7, i64 2584, !7, i64 2588, !7, i64 2592, !7, i64 2596, !12, i64 2600, !7, i64 2608, !7, i64 2612, !7, i64 2616, !7, i64 2620, !7, i64 2624, !11, i64 2632, !11, i64 2640, !7, i64 2648, !7, i64 2652, !7, i64 2656, !10, i64 2664, !7, i64 2672, !10, i64 2680, !10, i64 2688, !10, i64 2696, !7, i64 2704, !7, i64 2708, !7, i64 2712, !7, i64 2716, !7, i64 2720, !10, i64 2728, !10, i64 2736, !7, i64 2744, !7, i64 2748, !7, i64 2752, !7, i64 2756, !7, i64 2760, !7, i64 2764, !10, i64 2768, !10, i64 2776, !7, i64 2784, !7, i64 2788, !7, i64 2792, !7, i64 2796, !11, i64 2800, !11, i64 2808, !11, i64 2816, !11, i64 2824, !11, i64 2832, !11, i64 2840, !11, i64 2848, !11, i64 2856, !11, i64 2864, !7, i64 2872, !11, i64 2880, !11, i64 2888, !7, i64 2896, !7, i64 2900, !7, i64 2904, !11, i64 2912, !10, i64 2920, !10, i64 2928, !10, i64 2936, !10, i64 2944, !7, i64 2952, !7, i64 2956, !7, i64 2960, !7, i64 2964, !7, i64 2968, !7, i64 2972, !11, i64 2976, !7, i64 2984, !7, i64 2988, !8, i64 2992, !8, i64 3192, !7, i64 3232, !10, i64 3240, !11, i64 3248, !11, i64 3256, !11, i64 3264, !13, i64 3272, !14, i64 3424}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!"qhmemT", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !7, i64 64, !11, i64 72, !11, i64 80, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144}
!14 = !{!"qhstatT", !8, i64 0, !8, i64 1992, !8, i64 2256, !8, i64 4248, !8, i64 4746, !8, i64 4995, !8, i64 5248, !7, i64 5320, !7, i64 5324, !7, i64 5328, !7, i64 5332, !10, i64 5336}
!15 = !{!11, !11, i64 0}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !11, i64 24}
!18 = !{!"vertexT", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 40, !7, i64 40, !7, i64 40, !7, i64 40, !7, i64 40}
!19 = !{!20, !7, i64 104}
!20 = !{!"facetT", !10, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !8, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 114, !7, i64 115, !7, i64 115, !7, i64 115, !7, i64 115, !7, i64 115, !7, i64 115, !7, i64 115, !7, i64 115}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!7, !7, i64 0}
!25 = !{!6, !7, i64 632}
!26 = distinct !{!26, !22}
!27 = distinct !{!27, !22}
!28 = !{!20, !11, i64 56}
!29 = !{!20, !7, i64 108}
!30 = distinct !{!30, !22}
!31 = distinct !{!31, !22}
!32 = distinct !{!32, !22}
!33 = distinct !{!33, !22}
!34 = !{!18, !7, i64 32}
!35 = distinct !{!35, !22}
!36 = distinct !{!36, !22}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass