; LLVM IR from jrl-umi3218/mc_rtc :: 3rd-party/qhull/src/libqhull_r (merge_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.vertexT = type { ptr, ptr, ptr, ptr, i32, i32, i8 }
%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.facetT = type { double, double, double, ptr, %union.anon, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32 }
%union.anon = type { double }

@.str.201 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.202 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.203 = external hidden unnamed_addr constant [124 x i8], align 1
@.str.204 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.205 = external hidden unnamed_addr constant [133 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 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 i32 @qh_setsize(ptr noundef, ptr noundef) #1

declare void @qh_errexit(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1

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

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

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

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

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

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

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

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

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

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

35:                                               ; preds = %4
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.vertexT, ptr %36, i32 0, i32 4
  %38 = load i32, ptr %37, align 8, !tbaa !20
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.qhT, ptr %39, i32 0, i32 173
  %41 = load i32, ptr %40, align 8, !tbaa !21
  %42 = icmp eq i32 %38, %41
  br i1 %42, label %51, label %43

43:                                               ; preds = %35
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.vertexT, ptr %44, i32 0, i32 4
  %46 = load i32, ptr %45, align 8, !tbaa !20
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.qhT, ptr %47, i32 0, i32 173
  %49 = load i32, ptr %48, align 8, !tbaa !21
  %50 = icmp eq i32 %46, %49
  br i1 %50, label %51, label %52

51:                                               ; preds = %43, %35, %4
  store i32 1, ptr %15, align 4, !tbaa !11
  br label %52

52:                                               ; preds = %51, %43
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.qhT, ptr %53, i32 0, i32 258
  %55 = getelementptr inbounds %struct.qhstatT, ptr %54, i32 0, i32 0
  %56 = getelementptr inbounds [249 x %union.intrealT], ptr %55, i64 0, i64 216
  %57 = load i32, ptr %56, align 8, !tbaa !22
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %56, align 8, !tbaa !22
  %59 = load i32, ptr %15, align 4, !tbaa !11
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %61, label %80

61:                                               ; preds = %52
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.qhT, ptr %63, i32 0, i32 158
  %65 = load ptr, ptr %64, align 8, !tbaa !23
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.qhT, ptr %66, i32 0, i32 258
  %68 = getelementptr inbounds %struct.qhstatT, ptr %67, i32 0, i32 0
  %69 = getelementptr inbounds [249 x %union.intrealT], ptr %68, i64 0, i64 216
  %70 = load i32, ptr %69, align 8, !tbaa !22
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.vertexT, ptr %71, i32 0, i32 4
  %73 = load i32, ptr %72, align 8, !tbaa !20
  %74 = load i32, ptr %16, align 4, !tbaa !11
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.vertexT, ptr %75, i32 0, i32 4
  %77 = load i32, ptr %76, align 8, !tbaa !20
  %78 = load i32, ptr %17, align 4, !tbaa !11
  %79 = load double, ptr %8, align 8, !tbaa !9
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %62, ptr noundef %65, i32 noundef 2071, ptr noundef @.str.201, i32 noundef %70, i32 noundef %73, i32 noundef %74, i32 noundef %77, i32 noundef %78, double noundef %79)
  br label %80

80:                                               ; preds = %61, %52
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.vertexT, ptr %81, i32 0, i32 6
  %83 = load i8, ptr %82, align 8
  %84 = lshr i8 %83, 2
  %85 = and i8 %84, 1
  %86 = zext i8 %85 to i32
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %96, label %88

88:                                               ; preds = %80
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.vertexT, ptr %89, i32 0, i32 6
  %91 = load i8, ptr %90, align 8
  %92 = lshr i8 %91, 2
  %93 = and i8 %92, 1
  %94 = zext i8 %93 to i32
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %128

96:                                               ; preds = %88, %80
  %97 = load i32, ptr %15, align 4, !tbaa !11
  %98 = icmp ne i32 %97, 0
  br i1 %98, label %104, label %99

99:                                               ; preds = %96
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.qhT, ptr %100, i32 0, i32 29
  %102 = load i32, ptr %101, align 8, !tbaa !15
  %103 = icmp sge i32 %102, 2
  br i1 %103, label %104, label %127

104:                                              ; preds = %99, %96
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.qhT, ptr %106, i32 0, i32 158
  %108 = load ptr, ptr %107, align 8, !tbaa !23
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.vertexT, ptr %109, i32 0, i32 4
  %111 = load i32, ptr %110, align 8, !tbaa !20
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.vertexT, ptr %112, i32 0, i32 6
  %114 = load i8, ptr %113, align 8
  %115 = lshr i8 %114, 2
  %116 = and i8 %115, 1
  %117 = zext i8 %116 to i32
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.vertexT, ptr %118, i32 0, i32 4
  %120 = load i32, ptr %119, align 8, !tbaa !20
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.vertexT, ptr %121, i32 0, i32 6
  %123 = load i8, ptr %122, align 8
  %124 = lshr i8 %123, 2
  %125 = and i8 %124, 1
  %126 = zext i8 %125 to i32
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %105, ptr noundef %108, i32 noundef 2072, ptr noundef @.str.202, i32 noundef %111, i32 noundef %117, i32 noundef %120, i32 noundef %126)
  br label %127

127:                                              ; preds = %104, %99
  store i32 1, ptr %20, align 4
  br label %396

128:                                              ; preds = %88
  %129 = load i32, ptr %16, align 4, !tbaa !11
  %130 = icmp eq i32 %129, 0
  br i1 %130, label %134, label %131

131:                                              ; preds = %128
  %132 = load i32, ptr %17, align 4, !tbaa !11
  %133 = icmp eq i32 %132, 0
  br i1 %133, label %134, label %148

134:                                              ; preds = %131, %128
  %135 = load ptr, ptr %5, align 8, !tbaa !5
  %136 = load ptr, ptr %5, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.qhT, ptr %136, i32 0, i32 158
  %138 = load ptr, ptr %137, align 8, !tbaa !23
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.vertexT, ptr %139, i32 0, i32 4
  %141 = load i32, ptr %140, align 8, !tbaa !20
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.vertexT, ptr %142, i32 0, i32 4
  %144 = load i32, ptr %143, align 8, !tbaa !20
  %145 = load i32, ptr %16, align 4, !tbaa !11
  %146 = load i32, ptr %17, align 4, !tbaa !11
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %135, ptr noundef %138, i32 noundef 2072, ptr noundef @.str.203, i32 noundef %141, i32 noundef %144, i32 noundef %145, i32 noundef %146)
  %147 = load ptr, ptr %5, align 8, !tbaa !5
  call void @qh_errexit(ptr noundef %147, i32 noundef 5, ptr noundef null, ptr noundef null)
  br label %148

148:                                              ; preds = %134, %131
  store ptr null, ptr %10, align 8, !tbaa !5
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.vertexT, ptr %149, i32 0, i32 3
  %151 = load ptr, ptr %150, align 8, !tbaa !13
  %152 = icmp ne ptr %151, null
  br i1 %152, label %153, label %220

153:                                              ; preds = %148
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.vertexT, ptr %154, i32 0, i32 3
  %156 = load ptr, ptr %155, align 8, !tbaa !13
  %157 = getelementptr inbounds %struct.setT, ptr %156, i32 0, i32 1
  %158 = getelementptr inbounds [1 x %union.setelemT], ptr %157, i64 0, i64 0
  store ptr %158, ptr %11, align 8, !tbaa !5
  br label %159

159:                                              ; preds = %218, %153
  %160 = load ptr, ptr %11, align 8, !tbaa !5
  %161 = getelementptr inbounds ptr, ptr %160, i32 1
  store ptr %161, ptr %11, align 8, !tbaa !5
  %162 = load ptr, ptr %160, align 8, !tbaa !5
  store ptr %162, ptr %10, align 8, !tbaa !5
  %163 = icmp ne ptr %162, null
  br i1 %163, label %164, label %219

164:                                              ; preds = %159
  %165 = load ptr, ptr %10, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.facetT, ptr %165, i32 0, i32 15
  %167 = load i32, ptr %166, align 8
  %168 = lshr i32 %167, 13
  %169 = and i32 %168, 1
  %170 = icmp ne i32 %169, 0
  br i1 %170, label %171, label %218

171:                                              ; preds = %164
  %172 = load ptr, ptr %10, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.facetT, ptr %172, i32 0, i32 8
  %174 = load ptr, ptr %173, align 8, !tbaa !24
  %175 = load ptr, ptr %7, align 8, !tbaa !5
  %176 = call i32 @qh_setin(ptr noundef %174, ptr noundef %175)
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %203

178:                                              ; preds = %171
  %179 = load i32, ptr %15, align 4, !tbaa !11
  %180 = icmp ne i32 %179, 0
  br i1 %180, label %186, label %181

181:                                              ; preds = %178
  %182 = load ptr, ptr %5, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.qhT, ptr %182, i32 0, i32 29
  %184 = load i32, ptr %183, align 8, !tbaa !15
  %185 = icmp sge i32 %184, 2
  br i1 %185, label %186, label %200

186:                                              ; preds = %181, %178
  %187 = load ptr, ptr %5, align 8, !tbaa !5
  %188 = load ptr, ptr %5, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.qhT, ptr %188, i32 0, i32 158
  %190 = load ptr, ptr %189, align 8, !tbaa !23
  %191 = load ptr, ptr %10, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.facetT, ptr %191, i32 0, i32 14
  %193 = load i32, ptr %192, align 4, !tbaa !26
  %194 = load ptr, ptr %6, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.vertexT, ptr %194, i32 0, i32 4
  %196 = load i32, ptr %195, align 8, !tbaa !20
  %197 = load ptr, ptr %7, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.vertexT, ptr %197, i32 0, i32 4
  %199 = load i32, ptr %198, align 8, !tbaa !20
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %187, ptr noundef %190, i32 noundef 2070, ptr noundef @.str.204, i32 noundef %193, i32 noundef %196, i32 noundef %199)
  br label %200

200:                                              ; preds = %186, %181
  %201 = load ptr, ptr %5, align 8, !tbaa !5
  %202 = load ptr, ptr %10, align 8, !tbaa !5
  call void @qh_makeridges(ptr noundef %201, ptr noundef %202)
  br label %217

203:                                              ; preds = %171
  %204 = load ptr, ptr %5, align 8, !tbaa !5
  %205 = load ptr, ptr %10, align 8, !tbaa !5
  %206 = load ptr, ptr %6, align 8, !tbaa !5
  %207 = load ptr, ptr %7, align 8, !tbaa !5
  call void @qh_replacefacetvertex(ptr noundef %204, ptr noundef %205, ptr noundef %206, ptr noundef %207)
  %208 = load ptr, ptr %5, align 8, !tbaa !5
  %209 = load ptr, ptr %7, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.vertexT, ptr %209, i32 0, i32 3
  %211 = load ptr, ptr %10, align 8, !tbaa !5
  %212 = call i32 @qh_setunique(ptr noundef %208, ptr noundef %210, ptr noundef %211)
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = load ptr, ptr %10, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.facetT, ptr %214, i32 0, i32 8
  %216 = load ptr, ptr %215, align 8, !tbaa !24
  call void @qh_newvertices(ptr noundef %213, ptr noundef %216)
  br label %217

217:                                              ; preds = %203, %200
  br label %218

218:                                              ; preds = %217, %164
  br label %159, !llvm.loop !27

219:                                              ; preds = %159
  br label %220

220:                                              ; preds = %219, %148
  %221 = load ptr, ptr %5, align 8, !tbaa !5
  %222 = load ptr, ptr %6, align 8, !tbaa !5
  %223 = call ptr @qh_vertexridges(ptr noundef %221, ptr noundef %222, i32 noundef 1)
  store ptr %223, ptr %9, align 8, !tbaa !5
  %224 = load i32, ptr %15, align 4, !tbaa !11
  %225 = icmp ne i32 %224, 0
  br i1 %225, label %226, label %246

226:                                              ; preds = %220
  store ptr null, ptr %13, align 8, !tbaa !5
  %227 = load ptr, ptr %9, align 8, !tbaa !5
  %228 = icmp ne ptr %227, null
  br i1 %228, label %229, label %245

229:                                              ; preds = %226
  %230 = load ptr, ptr %9, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.setT, ptr %230, i32 0, i32 1
  %232 = getelementptr inbounds [1 x %union.setelemT], ptr %231, i64 0, i64 0
  store ptr %232, ptr %14, align 8, !tbaa !5
  br label %233

233:                                              ; preds = %238, %229
  %234 = load ptr, ptr %14, align 8, !tbaa !5
  %235 = getelementptr inbounds ptr, ptr %234, i32 1
  store ptr %235, ptr %14, align 8, !tbaa !5
  %236 = load ptr, ptr %234, align 8, !tbaa !5
  store ptr %236, ptr %13, align 8, !tbaa !5
  %237 = icmp ne ptr %236, null
  br i1 %237, label %238, label %244

238:                                              ; preds = %233
  %239 = load ptr, ptr %5, align 8, !tbaa !5
  %240 = load ptr, ptr %5, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.qhT, ptr %240, i32 0, i32 158
  %242 = load ptr, ptr %241, align 8, !tbaa !23
  %243 = load ptr, ptr %13, align 8, !tbaa !5
  call void @qh_printridge(ptr noundef %239, ptr noundef %242, ptr noundef %243)
  br label %233, !llvm.loop !29

244:                                              ; preds = %233
  br label %245

245:                                              ; preds = %244, %226
  br label %246

246:                                              ; preds = %245, %220
  store ptr null, ptr %10, align 8, !tbaa !5
  %247 = load ptr, ptr %6, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.vertexT, ptr %247, i32 0, i32 3
  %249 = load ptr, ptr %248, align 8, !tbaa !13
  %250 = icmp ne ptr %249, null
  br i1 %250, label %251, label %303

251:                                              ; preds = %246
  %252 = load ptr, ptr %6, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.vertexT, ptr %252, i32 0, i32 3
  %254 = load ptr, ptr %253, align 8, !tbaa !13
  %255 = getelementptr inbounds %struct.setT, ptr %254, i32 0, i32 1
  %256 = getelementptr inbounds [1 x %union.setelemT], ptr %255, i64 0, i64 0
  store ptr %256, ptr %11, align 8, !tbaa !5
  br label %257

257:                                              ; preds = %301, %251
  %258 = load ptr, ptr %11, align 8, !tbaa !5
  %259 = getelementptr inbounds ptr, ptr %258, i32 1
  store ptr %259, ptr %11, align 8, !tbaa !5
  %260 = load ptr, ptr %258, align 8, !tbaa !5
  store ptr %260, ptr %10, align 8, !tbaa !5
  %261 = icmp ne ptr %260, null
  br i1 %261, label %262, label %302

262:                                              ; preds = %257
  %263 = load ptr, ptr %10, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.facetT, ptr %263, i32 0, i32 15
  %265 = load i32, ptr %264, align 8
  %266 = lshr i32 %265, 13
  %267 = and i32 %266, 1
  %268 = icmp ne i32 %267, 0
  br i1 %268, label %301, label %269

269:                                              ; preds = %262
  %270 = load ptr, ptr %5, align 8, !tbaa !5
  %271 = load ptr, ptr %10, align 8, !tbaa !5
  %272 = load ptr, ptr %7, align 8, !tbaa !5
  %273 = call i32 @qh_addfacetvertex(ptr noundef %270, ptr noundef %271, ptr noundef %272)
  %274 = load ptr, ptr %5, align 8, !tbaa !5
  %275 = load ptr, ptr %7, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.vertexT, ptr %275, i32 0, i32 3
  %277 = load ptr, ptr %10, align 8, !tbaa !5
  %278 = call i32 @qh_setunique(ptr noundef %274, ptr noundef %276, ptr noundef %277)
  %279 = load ptr, ptr %5, align 8, !tbaa !5
  %280 = load ptr, ptr %10, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.facetT, ptr %280, i32 0, i32 8
  %282 = load ptr, ptr %281, align 8, !tbaa !24
  call void @qh_newvertices(ptr noundef %279, ptr noundef %282)
  %283 = load ptr, ptr %5, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.qhT, ptr %283, i32 0, i32 166
  %285 = load ptr, ptr %284, align 8, !tbaa !30
  %286 = load ptr, ptr %5, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.qhT, ptr %286, i32 0, i32 164
  %288 = load ptr, ptr %287, align 8, !tbaa !31
  %289 = icmp eq ptr %285, %288
  br i1 %289, label %290, label %300

290:                                              ; preds = %269
  %291 = load ptr, ptr %5, align 8, !tbaa !5
  %292 = load ptr, ptr %10, align 8, !tbaa !5
  call void @qh_removefacet(ptr noundef %291, ptr noundef %292)
  %293 = load ptr, ptr %5, align 8, !tbaa !5
  %294 = load ptr, ptr %10, align 8, !tbaa !5
  call void @qh_appendfacet(ptr noundef %293, ptr noundef %294)
  %295 = load ptr, ptr %10, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.facetT, ptr %295, i32 0, i32 15
  %297 = load i32, ptr %296, align 8
  %298 = and i32 %297, -1025
  %299 = or i32 %298, 1024
  store i32 %299, ptr %296, align 8
  br label %300

300:                                              ; preds = %290, %269
  br label %301

301:                                              ; preds = %300, %262
  br label %257, !llvm.loop !32

302:                                              ; preds = %257
  br label %303

303:                                              ; preds = %302, %246
  %304 = load ptr, ptr %5, align 8, !tbaa !5
  %305 = load ptr, ptr %6, align 8, !tbaa !5
  %306 = load ptr, ptr %7, align 8, !tbaa !5
  %307 = load ptr, ptr %9, align 8, !tbaa !5
  call void @qh_renamevertex(ptr noundef %304, ptr noundef %305, ptr noundef %306, ptr noundef %307, ptr noundef null, ptr noundef null)
  %308 = load ptr, ptr %6, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.vertexT, ptr %308, i32 0, i32 6
  %310 = load i8, ptr %309, align 8
  %311 = lshr i8 %310, 2
  %312 = and i8 %311, 1
  %313 = zext i8 %312 to i32
  %314 = icmp ne i32 %313, 0
  br i1 %314, label %315, label %394

315:                                              ; preds = %303
  %316 = load ptr, ptr %6, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.vertexT, ptr %316, i32 0, i32 6
  %318 = load i8, ptr %317, align 8
  %319 = lshr i8 %318, 5
  %320 = and i8 %319, 1
  %321 = zext i8 %320 to i32
  %322 = icmp ne i32 %321, 0
  br i1 %322, label %394, label %323

323:                                              ; preds = %315
  store ptr null, ptr %10, align 8, !tbaa !5
  %324 = load ptr, ptr %7, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.vertexT, ptr %324, i32 0, i32 3
  %326 = load ptr, ptr %325, align 8, !tbaa !13
  %327 = icmp ne ptr %326, null
  br i1 %327, label %328, label %361

328:                                              ; preds = %323
  %329 = load ptr, ptr %7, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.vertexT, ptr %329, i32 0, i32 3
  %331 = load ptr, ptr %330, align 8, !tbaa !13
  %332 = getelementptr inbounds %struct.setT, ptr %331, i32 0, i32 1
  %333 = getelementptr inbounds [1 x %union.setelemT], ptr %332, i64 0, i64 0
  store ptr %333, ptr %11, align 8, !tbaa !5
  br label %334

334:                                              ; preds = %359, %328
  %335 = load ptr, ptr %11, align 8, !tbaa !5
  %336 = getelementptr inbounds ptr, ptr %335, i32 1
  store ptr %336, ptr %11, align 8, !tbaa !5
  %337 = load ptr, ptr %335, align 8, !tbaa !5
  store ptr %337, ptr %10, align 8, !tbaa !5
  %338 = icmp ne ptr %337, null
  br i1 %338, label %339, label %360

339:                                              ; preds = %334
  %340 = load ptr, ptr %10, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.facetT, ptr %340, i32 0, i32 15
  %342 = load i32, ptr %341, align 8
  %343 = lshr i32 %342, 11
  %344 = and i32 %343, 1
  %345 = icmp ne i32 %344, 0
  br i1 %345, label %359, label %346

346:                                              ; preds = %339
  %347 = load ptr, ptr %5, align 8, !tbaa !5
  %348 = load ptr, ptr %6, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.vertexT, ptr %348, i32 0, i32 2
  %350 = load ptr, ptr %349, align 8, !tbaa !33
  %351 = load ptr, ptr %10, align 8, !tbaa !5
  call void @qh_distplane(ptr noundef %347, ptr noundef %350, ptr noundef %351, ptr noundef %19)
  %352 = load double, ptr %19, align 8, !tbaa !9
  %353 = load double, ptr %18, align 8, !tbaa !9
  %354 = fcmp ogt double %352, %353
  br i1 %354, label %355, label %358

355:                                              ; preds = %346
  %356 = load double, ptr %19, align 8, !tbaa !9
  store double %356, ptr %18, align 8, !tbaa !9
  %357 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %357, ptr %12, align 8, !tbaa !5
  br label %358

358:                                              ; preds = %355, %346
  br label %359

359:                                              ; preds = %358, %339
  br label %334, !llvm.loop !34

360:                                              ; preds = %334
  br label %361

361:                                              ; preds = %360, %323
  %362 = load ptr, ptr %5, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.qhT, ptr %362, i32 0, i32 29
  %364 = load i32, ptr %363, align 8, !tbaa !15
  %365 = icmp sge i32 %364, 2
  br i1 %365, label %366, label %383

366:                                              ; preds = %361
  %367 = load ptr, ptr %5, align 8, !tbaa !5
  %368 = load ptr, ptr %5, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.qhT, ptr %368, i32 0, i32 158
  %370 = load ptr, ptr %369, align 8, !tbaa !23
  %371 = load ptr, ptr %5, align 8, !tbaa !5
  %372 = load ptr, ptr %6, align 8, !tbaa !5
  %373 = getelementptr inbounds %struct.vertexT, ptr %372, i32 0, i32 2
  %374 = load ptr, ptr %373, align 8, !tbaa !33
  %375 = call i32 @qh_pointid(ptr noundef %371, ptr noundef %374)
  %376 = load ptr, ptr %6, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.vertexT, ptr %376, i32 0, i32 4
  %378 = load i32, ptr %377, align 8, !tbaa !20
  %379 = load ptr, ptr %12, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct.facetT, ptr %379, i32 0, i32 14
  %381 = load i32, ptr %380, align 4, !tbaa !26
  %382 = load double, ptr %18, align 8, !tbaa !9
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %367, ptr noundef %370, i32 noundef 2096, ptr noundef @.str.205, i32 noundef %375, i32 noundef %378, i32 noundef %381, double noundef %382)
  br label %383

383:                                              ; preds = %366, %361
  %384 = load ptr, ptr %5, align 8, !tbaa !5
  %385 = load ptr, ptr %6, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.vertexT, ptr %385, i32 0, i32 2
  %387 = load ptr, ptr %386, align 8, !tbaa !33
  %388 = load ptr, ptr %12, align 8, !tbaa !5
  call void @qh_partitioncoplanar(ptr noundef %384, ptr noundef %387, ptr noundef %388, ptr noundef null, i32 noundef 0)
  %389 = load ptr, ptr %6, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.vertexT, ptr %389, i32 0, i32 6
  %391 = load i8, ptr %390, align 8
  %392 = and i8 %391, -33
  %393 = or i8 %392, 32
  store i8 %393, ptr %390, align 8
  br label %394

394:                                              ; preds = %383, %315, %303
  %395 = load ptr, ptr %5, align 8, !tbaa !5
  call void @qh_settempfree(ptr noundef %395, ptr noundef %9)
  store i32 0, ptr %20, align 4
  br label %396

396:                                              ; preds = %394, %127
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  %397 = load i32, ptr %20, align 4
  switch i32 %397, label %399 [
    i32 0, label %398
    i32 1, label %398
  ]

398:                                              ; preds = %396, %396
  ret void

399:                                              ; preds = %396
  unreachable
}

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

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

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

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

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

declare void @qh_partitioncoplanar(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1

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


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

@.str.201 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.202 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.203 = external hidden unnamed_addr constant [124 x i8], align 1
@.str.204 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.205 = external hidden unnamed_addr constant [133 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 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 i32 @qh_setsize(ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_rename_adjacentvertex(ptr noundef %0, ptr noundef %1, ptr noundef %2, double noundef %3) local_unnamed_addr #2 {
  %5 = alloca ptr, align 8
  %6 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  %7 = getelementptr inbounds i8, ptr %1, i64 24
  %8 = load ptr, ptr %7, align 8, !tbaa !5
  %9 = tail call i32 @qh_setsize(ptr noundef %0, ptr noundef %8) #3
  %10 = getelementptr inbounds i8, ptr %2, i64 24
  %11 = load ptr, ptr %10, align 8, !tbaa !5
  %12 = tail call i32 @qh_setsize(ptr noundef %0, ptr noundef %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  %13 = getelementptr inbounds i8, ptr %0, i64 136
  %14 = load i32, ptr %13, align 8, !tbaa !11
  %15 = icmp sgt i32 %14, 3
  br i1 %15, label %29, label %16

16:                                               ; preds = %4
  %17 = getelementptr inbounds i8, ptr %1, i64 32
  %18 = load i32, ptr %17, align 8, !tbaa !17
  %19 = getelementptr inbounds i8, ptr %0, i64 2528
  %20 = load i32, ptr %19, align 8, !tbaa !18
  %21 = icmp eq i32 %18, %20
  br i1 %21, label %29, label %22

22:                                               ; preds = %16
  %23 = getelementptr inbounds i8, ptr %2, i64 32
  %24 = load i32, ptr %23, align 8, !tbaa !17
  %25 = icmp eq i32 %24, %20
  br i1 %25, label %29, label %.thread

.thread:                                          ; preds = %22
  %26 = getelementptr inbounds i8, ptr %0, i64 5152
  %27 = load i32, ptr %26, align 8, !tbaa !19
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr %26, align 8, !tbaa !19
  br label %39

29:                                               ; preds = %22, %16, %4
  %30 = getelementptr inbounds i8, ptr %0, i64 5152
  %31 = load i32, ptr %30, align 8, !tbaa !19
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %30, align 8, !tbaa !19
  %33 = getelementptr inbounds i8, ptr %0, i64 2424
  %34 = load ptr, ptr %33, align 8, !tbaa !20
  %35 = getelementptr inbounds i8, ptr %1, i64 32
  %36 = load i32, ptr %35, align 8, !tbaa !17
  %37 = getelementptr inbounds i8, ptr %2, i64 32
  %38 = load i32, ptr %37, align 8, !tbaa !17
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %34, i32 noundef 2071, ptr noundef nonnull @.str.201, i32 noundef %32, i32 noundef %36, i32 noundef %9, i32 noundef %38, i32 noundef %12, double noundef %3) #3
  br label %39

39:                                               ; preds = %.thread, %29
  %.not155 = phi i1 [ true, %.thread ], [ false, %29 ]
  %40 = getelementptr inbounds i8, ptr %1, i64 40
  %41 = load i8, ptr %40, align 8
  %42 = and i8 %41, 4
  %.not133 = icmp eq i8 %42, 0
  br i1 %.not133, label %43, label %47

43:                                               ; preds = %39
  %44 = getelementptr inbounds i8, ptr %2, i64 40
  %45 = load i8, ptr %44, align 8
  %46 = and i8 %45, 4
  %.not134 = icmp eq i8 %46, 0
  br i1 %.not134, label %66, label %47

47:                                               ; preds = %43, %39
  br i1 %.not155, label %48, label %51

48:                                               ; preds = %47
  %49 = load i32, ptr %13, align 8, !tbaa !11
  %50 = icmp sgt i32 %49, 1
  br i1 %50, label %51, label %172

51:                                               ; preds = %48, %47
  %52 = getelementptr inbounds i8, ptr %0, i64 2424
  %53 = load ptr, ptr %52, align 8, !tbaa !20
  %54 = getelementptr inbounds i8, ptr %1, i64 32
  %55 = load i32, ptr %54, align 8, !tbaa !17
  %56 = lshr i8 %41, 2
  %57 = and i8 %56, 1
  %58 = zext nneg i8 %57 to i32
  %59 = getelementptr inbounds i8, ptr %2, i64 32
  %60 = load i32, ptr %59, align 8, !tbaa !17
  %61 = getelementptr inbounds i8, ptr %2, i64 40
  %62 = load i8, ptr %61, align 8
  %63 = lshr i8 %62, 2
  %64 = and i8 %63, 1
  %65 = zext nneg i8 %64 to i32
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %53, i32 noundef 2072, ptr noundef nonnull @.str.202, i32 noundef %55, i32 noundef %58, i32 noundef %60, i32 noundef %65) #3
  br label %172

66:                                               ; preds = %43
  %67 = icmp eq i32 %9, 0
  %68 = icmp eq i32 %12, 0
  %or.cond = select i1 %67, i1 true, i1 %68
  br i1 %or.cond, label %69, label %76

69:                                               ; preds = %66
  %70 = getelementptr inbounds i8, ptr %0, i64 2424
  %71 = load ptr, ptr %70, align 8, !tbaa !20
  %72 = getelementptr inbounds i8, ptr %1, i64 32
  %73 = load i32, ptr %72, align 8, !tbaa !17
  %74 = getelementptr inbounds i8, ptr %2, i64 32
  %75 = load i32, ptr %74, align 8, !tbaa !17
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %71, i32 noundef 2072, ptr noundef nonnull @.str.203, i32 noundef %73, i32 noundef %75, i32 noundef %9, i32 noundef %12) #3
  tail call void @qh_errexit(ptr noundef nonnull %0, i32 noundef 5, ptr noundef null, ptr noundef null) #3
  br label %76

76:                                               ; preds = %66, %69
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %.not135 = icmp eq ptr %77, null
  br i1 %.not135, label %.loopexit161, label %.preheader160

.preheader160:                                    ; preds = %76
  %.0115162 = getelementptr inbounds i8, ptr %77, i64 8
  %78 = load ptr, ptr %.0115162, align 8, !tbaa !21
  %.not136163 = icmp eq ptr %78, null
  br i1 %.not136163, label %.loopexit161, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader160
  %79 = getelementptr inbounds i8, ptr %0, i64 2424
  %80 = getelementptr inbounds i8, ptr %1, i64 32
  %81 = getelementptr inbounds i8, ptr %2, i64 32
  br label %82

82:                                               ; preds = %.lr.ph, %105
  %83 = phi ptr [ %78, %.lr.ph ], [ %106, %105 ]
  %.0115164 = phi ptr [ %.0115162, %.lr.ph ], [ %.0115, %105 ]
  %84 = getelementptr inbounds i8, ptr %83, i64 112
  %85 = load i32, ptr %84, align 8
  %86 = and i32 %85, 8192
  %.not150 = icmp eq i32 %86, 0
  br i1 %.not150, label %105, label %87

87:                                               ; preds = %82
  %88 = getelementptr inbounds i8, ptr %83, i64 64
  %89 = load ptr, ptr %88, align 8, !tbaa !22
  %90 = tail call i32 @qh_setin(ptr noundef %89, ptr noundef %2) #3
  %.not151 = icmp eq i32 %90, 0
  br i1 %.not151, label %102, label %91

91:                                               ; preds = %87
  br i1 %.not155, label %92, label %95

92:                                               ; preds = %91
  %93 = load i32, ptr %13, align 8, !tbaa !11
  %94 = icmp sgt i32 %93, 1
  br i1 %94, label %95, label %101

95:                                               ; preds = %92, %91
  %96 = load ptr, ptr %79, align 8, !tbaa !20
  %97 = getelementptr inbounds i8, ptr %83, i64 108
  %98 = load i32, ptr %97, align 4, !tbaa !24
  %99 = load i32, ptr %80, align 8, !tbaa !17
  %100 = load i32, ptr %81, align 8, !tbaa !17
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %96, i32 noundef 2070, ptr noundef nonnull @.str.204, i32 noundef %98, i32 noundef %99, i32 noundef %100) #3
  br label %101

101:                                              ; preds = %95, %92
  tail call void @qh_makeridges(ptr noundef nonnull %0, ptr noundef nonnull %83)
  br label %105

102:                                              ; preds = %87
  tail call void @qh_replacefacetvertex(ptr noundef %0, ptr noundef nonnull %83, ptr noundef %1, ptr noundef %2) #3
  %103 = tail call i32 @qh_setunique(ptr noundef %0, ptr noundef nonnull %10, ptr noundef nonnull %83) #3
  %104 = load ptr, ptr %88, align 8, !tbaa !22
  tail call void @qh_newvertices(ptr noundef %0, ptr noundef %104)
  br label %105

105:                                              ; preds = %101, %102, %82
  %.0115 = getelementptr inbounds i8, ptr %.0115164, i64 8
  %106 = load ptr, ptr %.0115, align 8, !tbaa !21
  %.not136 = icmp eq ptr %106, null
  br i1 %.not136, label %.loopexit161, label %82, !llvm.loop !25

.loopexit161:                                     ; preds = %105, %.preheader160, %76
  %107 = tail call ptr @qh_vertexridges(ptr noundef %0, ptr noundef %1, i32 noundef 1)
  store ptr %107, ptr %5, align 8, !tbaa !21
  %.not137 = icmp eq ptr %107, null
  %or.cond152 = select i1 %.not155, i1 true, i1 %.not137
  br i1 %or.cond152, label %.loopexit159, label %.preheader158

.preheader158:                                    ; preds = %.loopexit161
  %.0119165 = getelementptr inbounds i8, ptr %107, i64 8
  %108 = load ptr, ptr %.0119165, align 8, !tbaa !21
  %.not139166 = icmp eq ptr %108, null
  br i1 %.not139166, label %.loopexit159, label %.lr.ph168

.lr.ph168:                                        ; preds = %.preheader158
  %109 = getelementptr inbounds i8, ptr %0, i64 2424
  br label %110

110:                                              ; preds = %.lr.ph168, %110
  %111 = phi ptr [ %108, %.lr.ph168 ], [ %113, %110 ]
  %.0119167 = phi ptr [ %.0119165, %.lr.ph168 ], [ %.0119, %110 ]
  %112 = load ptr, ptr %109, align 8, !tbaa !20
  tail call void @qh_printridge(ptr noundef %0, ptr noundef %112, ptr noundef nonnull %111) #3
  %.0119 = getelementptr inbounds i8, ptr %.0119167, i64 8
  %113 = load ptr, ptr %.0119, align 8, !tbaa !21
  %.not139 = icmp eq ptr %113, null
  br i1 %.not139, label %.loopexit159, label %110, !llvm.loop !27

.loopexit159:                                     ; preds = %110, %.preheader158, %.loopexit161
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %.not140 = icmp eq ptr %114, null
  br i1 %.not140, label %.loopexit157, label %.preheader156

.preheader156:                                    ; preds = %.loopexit159
  %.1116169 = getelementptr inbounds i8, ptr %114, i64 8
  %115 = load ptr, ptr %.1116169, align 8, !tbaa !21
  %.not142170 = icmp eq ptr %115, null
  br i1 %.not142170, label %.loopexit157, label %.lr.ph172

.lr.ph172:                                        ; preds = %.preheader156
  %116 = getelementptr inbounds i8, ptr %0, i64 2480
  %117 = getelementptr inbounds i8, ptr %0, i64 2464
  br label %118

118:                                              ; preds = %.lr.ph172, %134
  %119 = phi ptr [ %115, %.lr.ph172 ], [ %135, %134 ]
  %.1116171 = phi ptr [ %.1116169, %.lr.ph172 ], [ %.1116, %134 ]
  %120 = getelementptr inbounds i8, ptr %119, i64 112
  %121 = load i32, ptr %120, align 8
  %122 = and i32 %121, 8192
  %.not149 = icmp eq i32 %122, 0
  br i1 %.not149, label %123, label %134

123:                                              ; preds = %118
  %124 = tail call i32 @qh_addfacetvertex(ptr noundef %0, ptr noundef nonnull %119, ptr noundef %2) #3
  %125 = tail call i32 @qh_setunique(ptr noundef %0, ptr noundef nonnull %10, ptr noundef nonnull %119) #3
  %126 = getelementptr inbounds i8, ptr %119, i64 64
  %127 = load ptr, ptr %126, align 8, !tbaa !22
  tail call void @qh_newvertices(ptr noundef %0, ptr noundef %127)
  %128 = load ptr, ptr %116, align 8, !tbaa !28
  %129 = load ptr, ptr %117, align 8, !tbaa !29
  %130 = icmp eq ptr %128, %129
  br i1 %130, label %131, label %134

131:                                              ; preds = %123
  tail call void @qh_removefacet(ptr noundef nonnull %0, ptr noundef nonnull %119) #3
  tail call void @qh_appendfacet(ptr noundef nonnull %0, ptr noundef nonnull %119) #3
  %132 = load i32, ptr %120, align 8
  %133 = or i32 %132, 1024
  store i32 %133, ptr %120, align 8
  br label %134

134:                                              ; preds = %123, %131, %118
  %.1116 = getelementptr inbounds i8, ptr %.1116171, i64 8
  %135 = load ptr, ptr %.1116, align 8, !tbaa !21
  %.not142 = icmp eq ptr %135, null
  br i1 %.not142, label %.loopexit157, label %118, !llvm.loop !30

.loopexit157:                                     ; preds = %134, %.preheader156, %.loopexit159
  tail call void @qh_renamevertex(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %107, ptr noundef null, ptr noundef null)
  %136 = load i8, ptr %40, align 8
  %137 = and i8 %136, 36
  %or.cond153 = icmp eq i8 %137, 4
  br i1 %or.cond153, label %138, label %171

138:                                              ; preds = %.loopexit157
  %139 = load ptr, ptr %10, align 8, !tbaa !5
  %.not145 = icmp eq ptr %139, null
  br i1 %.not145, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %138
  %.2117173 = getelementptr inbounds i8, ptr %139, i64 8
  %140 = load ptr, ptr %.2117173, align 8, !tbaa !21
  %.not147174 = icmp eq ptr %140, null
  br i1 %.not147174, label %.loopexit, label %.lr.ph178

.lr.ph178:                                        ; preds = %.preheader
  %141 = getelementptr inbounds i8, ptr %1, i64 16
  br label %142

142:                                              ; preds = %.lr.ph178, %152
  %143 = phi ptr [ %140, %.lr.ph178 ], [ %153, %152 ]
  %.2117177 = phi ptr [ %.2117173, %.lr.ph178 ], [ %.2117, %152 ]
  %.0176 = phi double [ 0xFFEFFFFFFFFFFFFF, %.lr.ph178 ], [ %.1, %152 ]
  %.0120175 = phi ptr [ null, %.lr.ph178 ], [ %.1121, %152 ]
  %144 = getelementptr inbounds i8, ptr %143, i64 112
  %145 = load i32, ptr %144, align 8
  %146 = and i32 %145, 2048
  %.not148 = icmp eq i32 %146, 0
  br i1 %.not148, label %147, label %152

147:                                              ; preds = %142
  %148 = load ptr, ptr %141, align 8, !tbaa !31
  call void @qh_distplane(ptr noundef %0, ptr noundef %148, ptr noundef nonnull %143, ptr noundef nonnull %6) #3
  %149 = load double, ptr %6, align 8, !tbaa !32
  %150 = fcmp ogt double %149, %.0176
  br i1 %150, label %151, label %152

151:                                              ; preds = %147
  br label %152

152:                                              ; preds = %147, %151, %142
  %.1121 = phi ptr [ %.0120175, %142 ], [ %143, %151 ], [ %.0120175, %147 ]
  %.1 = phi double [ %.0176, %142 ], [ %149, %151 ], [ %.0176, %147 ]
  %.2117 = getelementptr inbounds i8, ptr %.2117177, i64 8
  %153 = load ptr, ptr %.2117, align 8, !tbaa !21
  %.not147 = icmp eq ptr %153, null
  br i1 %.not147, label %.loopexit, label %142, !llvm.loop !33

.loopexit:                                        ; preds = %152, %.preheader, %138
  %.2122 = phi ptr [ null, %138 ], [ null, %.preheader ], [ %.1121, %152 ]
  %.2 = phi double [ 0xFFEFFFFFFFFFFFFF, %138 ], [ 0xFFEFFFFFFFFFFFFF, %.preheader ], [ %.1, %152 ]
  %154 = load i32, ptr %13, align 8, !tbaa !11
  %155 = icmp sgt i32 %154, 1
  br i1 %155, label %156, label %166

156:                                              ; preds = %.loopexit
  %157 = getelementptr inbounds i8, ptr %0, i64 2424
  %158 = load ptr, ptr %157, align 8, !tbaa !20
  %159 = getelementptr inbounds i8, ptr %1, i64 16
  %160 = load ptr, ptr %159, align 8, !tbaa !31
  %161 = call i32 @qh_pointid(ptr noundef nonnull %0, ptr noundef %160) #3
  %162 = getelementptr inbounds i8, ptr %1, i64 32
  %163 = load i32, ptr %162, align 8, !tbaa !17
  %164 = getelementptr inbounds i8, ptr %.2122, i64 108
  %165 = load i32, ptr %164, align 4, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %158, i32 noundef 2096, ptr noundef nonnull @.str.205, i32 noundef %161, i32 noundef %163, i32 noundef %165, double noundef %.2) #3
  br label %166

166:                                              ; preds = %156, %.loopexit
  %167 = getelementptr inbounds i8, ptr %1, i64 16
  %168 = load ptr, ptr %167, align 8, !tbaa !31
  call void @qh_partitioncoplanar(ptr noundef nonnull %0, ptr noundef %168, ptr noundef %.2122, ptr noundef null, i32 noundef 0) #3
  %169 = load i8, ptr %40, align 8
  %170 = or i8 %169, 32
  store i8 %170, ptr %40, align 8
  br label %171

171:                                              ; preds = %166, %.loopexit157
  call void @qh_settempfree(ptr noundef %0, ptr noundef nonnull %5) #3
  br label %172

172:                                              ; preds = %48, %51, %171
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  ret void
}

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

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

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

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

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

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

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 24}
!6 = !{!"vertexT", !7, i64 0, !7, i64 8, !7, i64 16, !7, 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}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !10, i64 136}
!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, !7, i64 104, !10, i64 112, !10, i64 116, !7, 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, !8, 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, !7, i64 608, !7, i64 616, !10, i64 624, !10, i64 628, !10, i64 632, !10, i64 636, !10, i64 640, !7, i64 648, !10, i64 656, !7, i64 664, !10, i64 672, !8, i64 676, !10, i64 932, !8, i64 936, !8, i64 1192, !10, i64 1704, !10, i64 1708, !10, i64 1712, !10, i64 1716, !10, i64 1720, !10, i64 1724, !7, i64 1728, !7, i64 1736, !7, i64 1744, !7, 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, !7, i64 1872, !13, i64 1880, !13, i64 1888, !13, i64 1896, !13, i64 1904, !10, i64 1912, !8, i64 1916, !8, i64 1928, !8, i64 2128, !8, i64 2168, !8, i64 2368, !7, i64 2408, !7, i64 2416, !7, i64 2424, !7, i64 2432, !10, i64 2440, !10, i64 2444, !10, i64 2448, !7, i64 2456, !7, i64 2464, !7, i64 2472, !7, i64 2480, !7, i64 2488, !10, i64 2496, !10, i64 2500, !7, i64 2504, !10, i64 2512, !7, i64 2520, !10, i64 2528, !7, i64 2536, !7, i64 2544, !7, i64 2552, !7, 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, !7, i64 2632, !7, 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, !7, i64 2800, !7, i64 2808, !7, i64 2816, !7, i64 2824, !7, i64 2832, !7, i64 2840, !7, i64 2848, !7, i64 2856, !7, i64 2864, !10, i64 2872, !7, i64 2880, !7, i64 2888, !10, i64 2896, !10, i64 2900, !10, i64 2904, !7, 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, !7, i64 2976, !10, i64 2984, !10, i64 2988, !8, i64 2992, !8, i64 3192, !10, i64 3232, !13, i64 3240, !7, i64 3248, !7, i64 3256, !7, i64 3264, !15, i64 3272, !16, i64 3424}
!13 = !{!"double", !8, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!"qhmemT", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !10, i64 64, !7, i64 72, !7, 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", !8, i64 0, !8, i64 1992, !8, i64 2256, !8, i64 4248, !8, i64 4746, !8, i64 4995, !8, i64 5248, !10, i64 5320, !10, i64 5324, !10, i64 5328, !10, i64 5332, !13, i64 5336}
!17 = !{!6, !10, i64 32}
!18 = !{!12, !10, i64 2528}
!19 = !{!8, !8, i64 0}
!20 = !{!12, !7, i64 2424}
!21 = !{!7, !7, i64 0}
!22 = !{!23, !7, i64 64}
!23 = !{!"facetT", !13, i64 0, !13, i64 8, !13, i64 16, !7, i64 24, !8, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, 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}
!24 = !{!23, !10, i64 108}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = !{!12, !7, i64 2480}
!29 = !{!12, !7, i64 2464}
!30 = distinct !{!30, !26}
!31 = !{!6, !7, i64 16}
!32 = !{!13, !13, i64 0}
!33 = distinct !{!33, !26}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass