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

; 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, ptr, i32 }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%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.vertexT = type { ptr, ptr, ptr, ptr, i32, i32, i8 }
%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 }

@qh_qh = external global %struct.qhT, align 8
@qh_qhstat = external global %struct.qhstatT, align 8
@.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, 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) #1

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

declare void @qh_removefacet(ptr noundef) #1

declare void @qh_appendfacet(ptr noundef) #1

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

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

declare void @qh_settempfree(ptr noundef) #1

declare i32 @qh_pointid(ptr noundef) #1

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

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

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

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

29:                                               ; preds = %3
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.vertexT, ptr %30, i32 0, i32 4
  %32 = load i32, ptr %31, align 8, !tbaa !18
  %33 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 173), align 8, !tbaa !19
  %34 = icmp eq i32 %32, %33
  br i1 %34, label %41, label %35

35:                                               ; preds = %29
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.vertexT, ptr %36, i32 0, i32 4
  %38 = load i32, ptr %37, align 8, !tbaa !18
  %39 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 173), align 8, !tbaa !19
  %40 = icmp eq i32 %38, %39
  br i1 %40, label %41, label %42

41:                                               ; preds = %35, %29, %3
  store i32 1, ptr %13, align 4, !tbaa !11
  br label %42

42:                                               ; preds = %41, %35
  %43 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 216), align 8, !tbaa !20
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 216), align 8, !tbaa !20
  %45 = load i32, ptr %13, align 4, !tbaa !11
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %47, label %59

47:                                               ; preds = %42
  %48 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !21
  %49 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 216), align 8, !tbaa !20
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.vertexT, ptr %50, i32 0, i32 4
  %52 = load i32, ptr %51, align 8, !tbaa !18
  %53 = load i32, ptr %14, align 4, !tbaa !11
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.vertexT, ptr %54, i32 0, i32 4
  %56 = load i32, ptr %55, align 8, !tbaa !18
  %57 = load i32, ptr %15, align 4, !tbaa !11
  %58 = load double, ptr %6, align 8, !tbaa !9
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %48, i32 noundef 2071, ptr noundef @.str.201, i32 noundef %49, i32 noundef %52, i32 noundef %53, i32 noundef %56, i32 noundef %57, double noundef %58)
  br label %59

59:                                               ; preds = %47, %42
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.vertexT, ptr %60, i32 0, i32 6
  %62 = load i8, ptr %61, align 8
  %63 = lshr i8 %62, 2
  %64 = and i8 %63, 1
  %65 = zext i8 %64 to i32
  %66 = icmp ne i32 %65, 0
  br i1 %66, label %75, label %67

67:                                               ; preds = %59
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.vertexT, ptr %68, i32 0, i32 6
  %70 = load i8, ptr %69, align 8
  %71 = lshr i8 %70, 2
  %72 = and i8 %71, 1
  %73 = zext i8 %72 to i32
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %102

75:                                               ; preds = %67, %59
  %76 = load i32, ptr %13, align 4, !tbaa !11
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %81, label %78

78:                                               ; preds = %75
  %79 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !15
  %80 = icmp sge i32 %79, 2
  br i1 %80, label %81, label %101

81:                                               ; preds = %78, %75
  %82 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !21
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.vertexT, ptr %83, i32 0, i32 4
  %85 = load i32, ptr %84, align 8, !tbaa !18
  %86 = load ptr, ptr %4, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.vertexT, ptr %86, i32 0, i32 6
  %88 = load i8, ptr %87, align 8
  %89 = lshr i8 %88, 2
  %90 = and i8 %89, 1
  %91 = zext i8 %90 to i32
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.vertexT, ptr %92, i32 0, i32 4
  %94 = load i32, ptr %93, align 8, !tbaa !18
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.vertexT, ptr %95, i32 0, i32 6
  %97 = load i8, ptr %96, align 8
  %98 = lshr i8 %97, 2
  %99 = and i8 %98, 1
  %100 = zext i8 %99 to i32
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %82, i32 noundef 2072, ptr noundef @.str.202, i32 noundef %85, i32 noundef %91, i32 noundef %94, i32 noundef %100)
  br label %101

101:                                              ; preds = %81, %78
  store i32 1, ptr %18, align 4
  br label %334

102:                                              ; preds = %67
  %103 = load i32, ptr %14, align 4, !tbaa !11
  %104 = icmp eq i32 %103, 0
  br i1 %104, label %108, label %105

105:                                              ; preds = %102
  %106 = load i32, ptr %15, align 4, !tbaa !11
  %107 = icmp eq i32 %106, 0
  br i1 %107, label %108, label %118

108:                                              ; preds = %105, %102
  %109 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !21
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.vertexT, ptr %110, i32 0, i32 4
  %112 = load i32, ptr %111, align 8, !tbaa !18
  %113 = load ptr, ptr %5, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.vertexT, ptr %113, i32 0, i32 4
  %115 = load i32, ptr %114, align 8, !tbaa !18
  %116 = load i32, ptr %14, align 4, !tbaa !11
  %117 = load i32, ptr %15, align 4, !tbaa !11
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %109, i32 noundef 2072, ptr noundef @.str.203, i32 noundef %112, i32 noundef %115, i32 noundef %116, i32 noundef %117)
  call void @qh_errexit(i32 noundef 5, ptr noundef null, ptr noundef null)
  br label %118

118:                                              ; preds = %108, %105
  store ptr null, ptr %8, align 8, !tbaa !5
  %119 = load ptr, ptr %4, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.vertexT, ptr %119, i32 0, i32 3
  %121 = load ptr, ptr %120, align 8, !tbaa !13
  %122 = icmp ne ptr %121, null
  br i1 %122, label %123, label %181

123:                                              ; preds = %118
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.vertexT, ptr %124, i32 0, i32 3
  %126 = load ptr, ptr %125, align 8, !tbaa !13
  %127 = getelementptr inbounds %struct.setT, ptr %126, i32 0, i32 1
  %128 = getelementptr inbounds [1 x %union.setelemT], ptr %127, i64 0, i64 0
  store ptr %128, ptr %9, align 8, !tbaa !5
  br label %129

129:                                              ; preds = %179, %123
  %130 = load ptr, ptr %9, align 8, !tbaa !5
  %131 = getelementptr inbounds ptr, ptr %130, i32 1
  store ptr %131, ptr %9, align 8, !tbaa !5
  %132 = load ptr, ptr %130, align 8, !tbaa !5
  store ptr %132, ptr %8, align 8, !tbaa !5
  %133 = icmp ne ptr %132, null
  br i1 %133, label %134, label %180

134:                                              ; preds = %129
  %135 = load ptr, ptr %8, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.facetT, ptr %135, i32 0, i32 15
  %137 = load i32, ptr %136, align 8
  %138 = lshr i32 %137, 13
  %139 = and i32 %138, 1
  %140 = icmp ne i32 %139, 0
  br i1 %140, label %141, label %179

141:                                              ; preds = %134
  %142 = load ptr, ptr %8, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.facetT, ptr %142, i32 0, i32 8
  %144 = load ptr, ptr %143, align 8, !tbaa !22
  %145 = load ptr, ptr %5, align 8, !tbaa !5
  %146 = call i32 @qh_setin(ptr noundef %144, ptr noundef %145)
  %147 = icmp ne i32 %146, 0
  br i1 %147, label %148, label %167

148:                                              ; preds = %141
  %149 = load i32, ptr %13, align 4, !tbaa !11
  %150 = icmp ne i32 %149, 0
  br i1 %150, label %154, label %151

151:                                              ; preds = %148
  %152 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !15
  %153 = icmp sge i32 %152, 2
  br i1 %153, label %154, label %165

154:                                              ; preds = %151, %148
  %155 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !21
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.facetT, ptr %156, i32 0, i32 14
  %158 = load i32, ptr %157, align 4, !tbaa !24
  %159 = load ptr, ptr %4, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.vertexT, ptr %159, i32 0, i32 4
  %161 = load i32, ptr %160, align 8, !tbaa !18
  %162 = load ptr, ptr %5, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.vertexT, ptr %162, i32 0, i32 4
  %164 = load i32, ptr %163, align 8, !tbaa !18
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %155, i32 noundef 2070, ptr noundef @.str.204, i32 noundef %158, i32 noundef %161, i32 noundef %164)
  br label %165

165:                                              ; preds = %154, %151
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  call void @qh_makeridges(ptr noundef %166)
  br label %178

167:                                              ; preds = %141
  %168 = load ptr, ptr %8, align 8, !tbaa !5
  %169 = load ptr, ptr %4, align 8, !tbaa !5
  %170 = load ptr, ptr %5, align 8, !tbaa !5
  call void @qh_replacefacetvertex(ptr noundef %168, ptr noundef %169, ptr noundef %170)
  %171 = load ptr, ptr %5, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.vertexT, ptr %171, i32 0, i32 3
  %173 = load ptr, ptr %8, align 8, !tbaa !5
  %174 = call i32 @qh_setunique(ptr noundef %172, ptr noundef %173)
  %175 = load ptr, ptr %8, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.facetT, ptr %175, i32 0, i32 8
  %177 = load ptr, ptr %176, align 8, !tbaa !22
  call void @qh_newvertices(ptr noundef %177)
  br label %178

178:                                              ; preds = %167, %165
  br label %179

179:                                              ; preds = %178, %134
  br label %129, !llvm.loop !25

180:                                              ; preds = %129
  br label %181

181:                                              ; preds = %180, %118
  %182 = load ptr, ptr %4, align 8, !tbaa !5
  %183 = call ptr @qh_vertexridges(ptr noundef %182, i32 noundef 1)
  store ptr %183, ptr %7, align 8, !tbaa !5
  %184 = load i32, ptr %13, align 4, !tbaa !11
  %185 = icmp ne i32 %184, 0
  br i1 %185, label %186, label %203

186:                                              ; preds = %181
  store ptr null, ptr %11, align 8, !tbaa !5
  %187 = load ptr, ptr %7, align 8, !tbaa !5
  %188 = icmp ne ptr %187, null
  br i1 %188, label %189, label %202

189:                                              ; preds = %186
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.setT, ptr %190, i32 0, i32 1
  %192 = getelementptr inbounds [1 x %union.setelemT], ptr %191, i64 0, i64 0
  store ptr %192, ptr %12, align 8, !tbaa !5
  br label %193

193:                                              ; preds = %198, %189
  %194 = load ptr, ptr %12, align 8, !tbaa !5
  %195 = getelementptr inbounds ptr, ptr %194, i32 1
  store ptr %195, ptr %12, align 8, !tbaa !5
  %196 = load ptr, ptr %194, align 8, !tbaa !5
  store ptr %196, ptr %11, align 8, !tbaa !5
  %197 = icmp ne ptr %196, null
  br i1 %197, label %198, label %201

198:                                              ; preds = %193
  %199 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !21
  %200 = load ptr, ptr %11, align 8, !tbaa !5
  call void @qh_printridge(ptr noundef %199, ptr noundef %200)
  br label %193, !llvm.loop !27

201:                                              ; preds = %193
  br label %202

202:                                              ; preds = %201, %186
  br label %203

203:                                              ; preds = %202, %181
  store ptr null, ptr %8, align 8, !tbaa !5
  %204 = load ptr, ptr %4, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.vertexT, ptr %204, i32 0, i32 3
  %206 = load ptr, ptr %205, align 8, !tbaa !13
  %207 = icmp ne ptr %206, null
  br i1 %207, label %208, label %251

208:                                              ; preds = %203
  %209 = load ptr, ptr %4, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.vertexT, ptr %209, i32 0, i32 3
  %211 = load ptr, ptr %210, align 8, !tbaa !13
  %212 = getelementptr inbounds %struct.setT, ptr %211, i32 0, i32 1
  %213 = getelementptr inbounds [1 x %union.setelemT], ptr %212, i64 0, i64 0
  store ptr %213, ptr %9, align 8, !tbaa !5
  br label %214

214:                                              ; preds = %249, %208
  %215 = load ptr, ptr %9, align 8, !tbaa !5
  %216 = getelementptr inbounds ptr, ptr %215, i32 1
  store ptr %216, ptr %9, align 8, !tbaa !5
  %217 = load ptr, ptr %215, align 8, !tbaa !5
  store ptr %217, ptr %8, align 8, !tbaa !5
  %218 = icmp ne ptr %217, null
  br i1 %218, label %219, label %250

219:                                              ; preds = %214
  %220 = load ptr, ptr %8, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.facetT, ptr %220, i32 0, i32 15
  %222 = load i32, ptr %221, align 8
  %223 = lshr i32 %222, 13
  %224 = and i32 %223, 1
  %225 = icmp ne i32 %224, 0
  br i1 %225, label %249, label %226

226:                                              ; preds = %219
  %227 = load ptr, ptr %8, align 8, !tbaa !5
  %228 = load ptr, ptr %5, align 8, !tbaa !5
  %229 = call i32 @qh_addfacetvertex(ptr noundef %227, ptr noundef %228)
  %230 = load ptr, ptr %5, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.vertexT, ptr %230, i32 0, i32 3
  %232 = load ptr, ptr %8, align 8, !tbaa !5
  %233 = call i32 @qh_setunique(ptr noundef %231, ptr noundef %232)
  %234 = load ptr, ptr %8, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.facetT, ptr %234, i32 0, i32 8
  %236 = load ptr, ptr %235, align 8, !tbaa !22
  call void @qh_newvertices(ptr noundef %236)
  %237 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 166), align 8, !tbaa !28
  %238 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 164), align 8, !tbaa !29
  %239 = icmp eq ptr %237, %238
  br i1 %239, label %240, label %248

240:                                              ; preds = %226
  %241 = load ptr, ptr %8, align 8, !tbaa !5
  call void @qh_removefacet(ptr noundef %241)
  %242 = load ptr, ptr %8, align 8, !tbaa !5
  call void @qh_appendfacet(ptr noundef %242)
  %243 = load ptr, ptr %8, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.facetT, ptr %243, i32 0, i32 15
  %245 = load i32, ptr %244, align 8
  %246 = and i32 %245, -1025
  %247 = or i32 %246, 1024
  store i32 %247, ptr %244, align 8
  br label %248

248:                                              ; preds = %240, %226
  br label %249

249:                                              ; preds = %248, %219
  br label %214, !llvm.loop !30

250:                                              ; preds = %214
  br label %251

251:                                              ; preds = %250, %203
  %252 = load ptr, ptr %4, align 8, !tbaa !5
  %253 = load ptr, ptr %5, align 8, !tbaa !5
  %254 = load ptr, ptr %7, align 8, !tbaa !5
  call void @qh_renamevertex(ptr noundef %252, ptr noundef %253, ptr noundef %254, ptr noundef null, ptr noundef null)
  %255 = load ptr, ptr %4, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.vertexT, ptr %255, i32 0, i32 6
  %257 = load i8, ptr %256, align 8
  %258 = lshr i8 %257, 2
  %259 = and i8 %258, 1
  %260 = zext i8 %259 to i32
  %261 = icmp ne i32 %260, 0
  br i1 %261, label %262, label %333

262:                                              ; preds = %251
  %263 = load ptr, ptr %4, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.vertexT, ptr %263, i32 0, i32 6
  %265 = load i8, ptr %264, align 8
  %266 = lshr i8 %265, 5
  %267 = and i8 %266, 1
  %268 = zext i8 %267 to i32
  %269 = icmp ne i32 %268, 0
  br i1 %269, label %333, label %270

270:                                              ; preds = %262
  store ptr null, ptr %8, align 8, !tbaa !5
  %271 = load ptr, ptr %5, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.vertexT, ptr %271, i32 0, i32 3
  %273 = load ptr, ptr %272, align 8, !tbaa !13
  %274 = icmp ne ptr %273, null
  br i1 %274, label %275, label %307

275:                                              ; preds = %270
  %276 = load ptr, ptr %5, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.vertexT, ptr %276, i32 0, i32 3
  %278 = load ptr, ptr %277, align 8, !tbaa !13
  %279 = getelementptr inbounds %struct.setT, ptr %278, i32 0, i32 1
  %280 = getelementptr inbounds [1 x %union.setelemT], ptr %279, i64 0, i64 0
  store ptr %280, ptr %9, align 8, !tbaa !5
  br label %281

281:                                              ; preds = %305, %275
  %282 = load ptr, ptr %9, align 8, !tbaa !5
  %283 = getelementptr inbounds ptr, ptr %282, i32 1
  store ptr %283, ptr %9, align 8, !tbaa !5
  %284 = load ptr, ptr %282, align 8, !tbaa !5
  store ptr %284, ptr %8, align 8, !tbaa !5
  %285 = icmp ne ptr %284, null
  br i1 %285, label %286, label %306

286:                                              ; preds = %281
  %287 = load ptr, ptr %8, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.facetT, ptr %287, i32 0, i32 15
  %289 = load i32, ptr %288, align 8
  %290 = lshr i32 %289, 11
  %291 = and i32 %290, 1
  %292 = icmp ne i32 %291, 0
  br i1 %292, label %305, label %293

293:                                              ; preds = %286
  %294 = load ptr, ptr %4, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.vertexT, ptr %294, i32 0, i32 2
  %296 = load ptr, ptr %295, align 8, !tbaa !31
  %297 = load ptr, ptr %8, align 8, !tbaa !5
  call void @qh_distplane(ptr noundef %296, ptr noundef %297, ptr noundef %17)
  %298 = load double, ptr %17, align 8, !tbaa !9
  %299 = load double, ptr %16, align 8, !tbaa !9
  %300 = fcmp ogt double %298, %299
  br i1 %300, label %301, label %304

301:                                              ; preds = %293
  %302 = load double, ptr %17, align 8, !tbaa !9
  store double %302, ptr %16, align 8, !tbaa !9
  %303 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %303, ptr %10, align 8, !tbaa !5
  br label %304

304:                                              ; preds = %301, %293
  br label %305

305:                                              ; preds = %304, %286
  br label %281, !llvm.loop !32

306:                                              ; preds = %281
  br label %307

307:                                              ; preds = %306, %270
  %308 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !15
  %309 = icmp sge i32 %308, 2
  br i1 %309, label %310, label %323

310:                                              ; preds = %307
  %311 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !21
  %312 = load ptr, ptr %4, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.vertexT, ptr %312, i32 0, i32 2
  %314 = load ptr, ptr %313, align 8, !tbaa !31
  %315 = call i32 @qh_pointid(ptr noundef %314)
  %316 = load ptr, ptr %4, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.vertexT, ptr %316, i32 0, i32 4
  %318 = load i32, ptr %317, align 8, !tbaa !18
  %319 = load ptr, ptr %10, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.facetT, ptr %319, i32 0, i32 14
  %321 = load i32, ptr %320, align 4, !tbaa !24
  %322 = load double, ptr %16, align 8, !tbaa !9
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %311, i32 noundef 2096, ptr noundef @.str.205, i32 noundef %315, i32 noundef %318, i32 noundef %321, double noundef %322)
  br label %323

323:                                              ; preds = %310, %307
  %324 = load ptr, ptr %4, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.vertexT, ptr %324, i32 0, i32 2
  %326 = load ptr, ptr %325, align 8, !tbaa !31
  %327 = load ptr, ptr %10, align 8, !tbaa !5
  call void @qh_partitioncoplanar(ptr noundef %326, ptr noundef %327, ptr noundef null, i32 noundef 0)
  %328 = load ptr, ptr %4, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.vertexT, ptr %328, i32 0, i32 6
  %330 = load i8, ptr %329, align 8
  %331 = and i8 %330, -33
  %332 = or i8 %331, 32
  store i8 %332, ptr %329, align 8
  br label %333

333:                                              ; preds = %323, %262, %251
  call void @qh_settempfree(ptr noundef %7)
  store i32 0, ptr %18, align 4
  br label %334

334:                                              ; preds = %333, %101
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, 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
  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
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  %335 = load i32, ptr %18, align 4
  switch i32 %335, label %337 [
    i32 0, label %336
    i32 1, label %336
  ]

336:                                              ; preds = %334, %334
  ret void

337:                                              ; preds = %334
  unreachable
}

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

declare i32 @qh_addfacetvertex(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) #2

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

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

declare void @qh_partitioncoplanar(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, !6, i64 2984, !12, i64 2992}
!17 = !{!"long", !7, i64 0}
!18 = !{!14, !12, i64 32}
!19 = !{!16, !12, i64 2528}
!20 = !{!7, !7, i64 0}
!21 = !{!16, !6, i64 2424}
!22 = !{!23, !6, i64 64}
!23 = !{!"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}
!24 = !{!23, !12, i64 108}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = !{!16, !6, i64 2480}
!29 = !{!16, !6, i64 2464}
!30 = distinct !{!30, !26}
!31 = !{!14, !6, i64 16}
!32 = distinct !{!32, !26}


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

%struct.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, ptr, i32 }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%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 }

@qh_qh = external local_unnamed_addr global %struct.qhT, align 8
@qh_qhstat = external local_unnamed_addr global %struct.qhstatT, align 8
@.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, 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) local_unnamed_addr #1

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

declare void @qh_removefacet(ptr noundef) local_unnamed_addr #1

declare void @qh_appendfacet(ptr noundef) local_unnamed_addr #1

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

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

declare void @qh_settempfree(ptr noundef) local_unnamed_addr #1

declare i32 @qh_pointid(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) local_unnamed_addr #2

declare i32 @qh_setunique(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, double noundef %2) local_unnamed_addr #2 {
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = tail call i32 @qh_setsize(ptr noundef %7) #3
  %9 = getelementptr inbounds i8, ptr %1, i64 24
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %11 = tail call i32 @qh_setsize(ptr noundef %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  %12 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !11
  %13 = icmp sgt i32 %12, 3
  br i1 %13, label %26, label %14

14:                                               ; preds = %3
  %15 = getelementptr inbounds i8, ptr %0, i64 32
  %16 = load i32, ptr %15, align 8, !tbaa !15
  %17 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2528), align 8, !tbaa !16
  %18 = icmp eq i32 %16, %17
  br i1 %18, label %26, label %19

19:                                               ; preds = %14
  %20 = getelementptr inbounds i8, ptr %1, i64 32
  %21 = load i32, ptr %20, align 8, !tbaa !15
  %22 = icmp eq i32 %21, %17
  br i1 %22, label %26, label %23

23:                                               ; preds = %19
  %24 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1728), align 8, !tbaa !17
  %25 = add nsw i32 %24, 1
  store i32 %25, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1728), align 8, !tbaa !17
  br label %34

26:                                               ; preds = %3, %14, %19
  %27 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1728), align 8, !tbaa !17
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1728), align 8, !tbaa !17
  %29 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !18
  %30 = getelementptr inbounds i8, ptr %0, i64 32
  %31 = load i32, ptr %30, align 8, !tbaa !15
  %32 = getelementptr inbounds i8, ptr %1, i64 32
  %33 = load i32, ptr %32, align 8, !tbaa !15
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %29, i32 noundef 2071, ptr noundef nonnull @.str.201, i32 noundef %28, i32 noundef %31, i32 noundef %8, i32 noundef %33, i32 noundef %11, double noundef %2) #3
  br label %34

34:                                               ; preds = %23, %26
  %35 = phi i1 [ true, %26 ], [ false, %23 ]
  %36 = getelementptr inbounds i8, ptr %0, i64 40
  %37 = load i8, ptr %36, align 8
  %38 = and i8 %37, 4
  %.not = icmp eq i8 %38, 0
  br i1 %.not, label %39, label %43

39:                                               ; preds = %34
  %40 = getelementptr inbounds i8, ptr %1, i64 40
  %41 = load i8, ptr %40, align 8
  %42 = and i8 %41, 4
  %.not97 = icmp eq i8 %42, 0
  br i1 %.not97, label %60, label %43

43:                                               ; preds = %39, %34
  %44 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8
  %45 = icmp sgt i32 %44, 1
  %or.cond = select i1 %35, i1 true, i1 %45
  br i1 %or.cond, label %46, label %157

46:                                               ; preds = %43
  %47 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !18
  %48 = getelementptr inbounds i8, ptr %0, i64 32
  %49 = load i32, ptr %48, align 8, !tbaa !15
  %50 = lshr i8 %37, 2
  %51 = and i8 %50, 1
  %52 = zext nneg i8 %51 to i32
  %53 = getelementptr inbounds i8, ptr %1, i64 32
  %54 = load i32, ptr %53, align 8, !tbaa !15
  %55 = getelementptr inbounds i8, ptr %1, i64 40
  %56 = load i8, ptr %55, align 8
  %57 = lshr i8 %56, 2
  %58 = and i8 %57, 1
  %59 = zext nneg i8 %58 to i32
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %47, i32 noundef 2072, ptr noundef nonnull @.str.202, i32 noundef %49, i32 noundef %52, i32 noundef %54, i32 noundef %59) #3
  br label %157

60:                                               ; preds = %39
  %61 = icmp eq i32 %8, 0
  %62 = icmp eq i32 %11, 0
  %or.cond3 = select i1 %61, i1 true, i1 %62
  br i1 %or.cond3, label %63, label %69

63:                                               ; preds = %60
  %64 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !18
  %65 = getelementptr inbounds i8, ptr %0, i64 32
  %66 = load i32, ptr %65, align 8, !tbaa !15
  %67 = getelementptr inbounds i8, ptr %1, i64 32
  %68 = load i32, ptr %67, align 8, !tbaa !15
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %64, i32 noundef 2072, ptr noundef nonnull @.str.203, i32 noundef %66, i32 noundef %68, i32 noundef %8, i32 noundef %11) #3
  tail call void @qh_errexit(i32 noundef 5, ptr noundef null, ptr noundef null) #3
  br label %69

69:                                               ; preds = %60, %63
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %.not98 = icmp eq ptr %70, null
  br i1 %.not98, label %.loopexit123, label %.preheader122

.preheader122:                                    ; preds = %69
  %.079124 = getelementptr inbounds i8, ptr %70, i64 8
  %71 = load ptr, ptr %.079124, align 8, !tbaa !19
  %.not99125 = icmp eq ptr %71, null
  br i1 %.not99125, label %.loopexit123, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader122
  %72 = getelementptr inbounds i8, ptr %0, i64 32
  %73 = getelementptr inbounds i8, ptr %1, i64 32
  br label %74

74:                                               ; preds = %.lr.ph, %96
  %75 = phi ptr [ %71, %.lr.ph ], [ %97, %96 ]
  %.079126 = phi ptr [ %.079124, %.lr.ph ], [ %.079, %96 ]
  %76 = getelementptr inbounds i8, ptr %75, i64 112
  %77 = load i32, ptr %76, align 8
  %78 = and i32 %77, 8192
  %.not113 = icmp eq i32 %78, 0
  br i1 %.not113, label %96, label %79

79:                                               ; preds = %74
  %80 = getelementptr inbounds i8, ptr %75, i64 64
  %81 = load ptr, ptr %80, align 8, !tbaa !20
  %82 = tail call i32 @qh_setin(ptr noundef %81, ptr noundef %1) #3
  %.not114 = icmp eq i32 %82, 0
  br i1 %.not114, label %93, label %83

83:                                               ; preds = %79
  %84 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8
  %85 = icmp sgt i32 %84, 1
  %or.cond5 = select i1 %35, i1 true, i1 %85
  br i1 %or.cond5, label %86, label %92

86:                                               ; preds = %83
  %87 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !18
  %88 = getelementptr inbounds i8, ptr %75, i64 108
  %89 = load i32, ptr %88, align 4, !tbaa !22
  %90 = load i32, ptr %72, align 8, !tbaa !15
  %91 = load i32, ptr %73, align 8, !tbaa !15
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %87, i32 noundef 2070, ptr noundef nonnull @.str.204, i32 noundef %89, i32 noundef %90, i32 noundef %91) #3
  br label %92

92:                                               ; preds = %83, %86
  tail call void @qh_makeridges(ptr noundef nonnull %75)
  br label %96

93:                                               ; preds = %79
  tail call void @qh_replacefacetvertex(ptr noundef nonnull %75, ptr noundef %0, ptr noundef %1) #3
  %94 = tail call i32 @qh_setunique(ptr noundef nonnull %9, ptr noundef nonnull %75) #3
  %95 = load ptr, ptr %80, align 8, !tbaa !20
  tail call void @qh_newvertices(ptr noundef %95)
  br label %96

96:                                               ; preds = %92, %93, %74
  %.079 = getelementptr inbounds i8, ptr %.079126, i64 8
  %97 = load ptr, ptr %.079, align 8, !tbaa !19
  %.not99 = icmp eq ptr %97, null
  br i1 %.not99, label %.loopexit123, label %74, !llvm.loop !23

.loopexit123:                                     ; preds = %96, %.preheader122, %69
  %98 = tail call ptr @qh_vertexridges(ptr noundef %0, i32 noundef 1)
  store ptr %98, ptr %4, align 8, !tbaa !19
  %.not100 = icmp ne ptr %98, null
  %or.cond116.not = select i1 %35, i1 %.not100, i1 false
  br i1 %or.cond116.not, label %.preheader120, label %.loopexit121

.preheader120:                                    ; preds = %.loopexit123
  %.083127 = getelementptr inbounds i8, ptr %98, i64 8
  %99 = load ptr, ptr %.083127, align 8, !tbaa !19
  %.not102128 = icmp eq ptr %99, null
  br i1 %.not102128, label %.loopexit121, label %.lr.ph130

.lr.ph130:                                        ; preds = %.preheader120, %.lr.ph130
  %100 = phi ptr [ %102, %.lr.ph130 ], [ %99, %.preheader120 ]
  %.083129 = phi ptr [ %.083, %.lr.ph130 ], [ %.083127, %.preheader120 ]
  %101 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !18
  tail call void @qh_printridge(ptr noundef %101, ptr noundef nonnull %100) #3
  %.083 = getelementptr inbounds i8, ptr %.083129, i64 8
  %102 = load ptr, ptr %.083, align 8, !tbaa !19
  %.not102 = icmp eq ptr %102, null
  br i1 %.not102, label %.loopexit121, label %.lr.ph130, !llvm.loop !25

.loopexit121:                                     ; preds = %.lr.ph130, %.preheader120, %.loopexit123
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %.not103 = icmp eq ptr %103, null
  br i1 %.not103, label %.loopexit119, label %.preheader118

.preheader118:                                    ; preds = %.loopexit121
  %.180131 = getelementptr inbounds i8, ptr %103, i64 8
  %104 = load ptr, ptr %.180131, align 8, !tbaa !19
  %.not105132 = icmp eq ptr %104, null
  br i1 %.not105132, label %.loopexit119, label %.lr.ph134

.lr.ph134:                                        ; preds = %.preheader118, %120
  %105 = phi ptr [ %121, %120 ], [ %104, %.preheader118 ]
  %.180133 = phi ptr [ %.180, %120 ], [ %.180131, %.preheader118 ]
  %106 = getelementptr inbounds i8, ptr %105, i64 112
  %107 = load i32, ptr %106, align 8
  %108 = and i32 %107, 8192
  %.not112 = icmp eq i32 %108, 0
  br i1 %.not112, label %109, label %120

109:                                              ; preds = %.lr.ph134
  %110 = tail call i32 @qh_addfacetvertex(ptr noundef nonnull %105, ptr noundef %1) #3
  %111 = tail call i32 @qh_setunique(ptr noundef nonnull %9, ptr noundef nonnull %105) #3
  %112 = getelementptr inbounds i8, ptr %105, i64 64
  %113 = load ptr, ptr %112, align 8, !tbaa !20
  tail call void @qh_newvertices(ptr noundef %113)
  %114 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2480), align 8, !tbaa !26
  %115 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2464), align 8, !tbaa !27
  %116 = icmp eq ptr %114, %115
  br i1 %116, label %117, label %120

117:                                              ; preds = %109
  tail call void @qh_removefacet(ptr noundef nonnull %105) #3
  tail call void @qh_appendfacet(ptr noundef nonnull %105) #3
  %118 = load i32, ptr %106, align 8
  %119 = or i32 %118, 1024
  store i32 %119, ptr %106, align 8
  br label %120

120:                                              ; preds = %109, %117, %.lr.ph134
  %.180 = getelementptr inbounds i8, ptr %.180133, i64 8
  %121 = load ptr, ptr %.180, align 8, !tbaa !19
  %.not105 = icmp eq ptr %121, null
  br i1 %.not105, label %.loopexit119, label %.lr.ph134, !llvm.loop !28

.loopexit119:                                     ; preds = %120, %.preheader118, %.loopexit121
  tail call void @qh_renamevertex(ptr noundef %0, ptr noundef %1, ptr noundef %98, ptr noundef null, ptr noundef null)
  %122 = load i8, ptr %36, align 8
  %123 = and i8 %122, 36
  %or.cond117 = icmp eq i8 %123, 4
  br i1 %or.cond117, label %124, label %156

124:                                              ; preds = %.loopexit119
  %125 = load ptr, ptr %9, align 8, !tbaa !5
  %.not108 = icmp eq ptr %125, null
  br i1 %.not108, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %124
  %.281135 = getelementptr inbounds i8, ptr %125, i64 8
  %126 = load ptr, ptr %.281135, align 8, !tbaa !19
  %.not110136 = icmp eq ptr %126, null
  br i1 %.not110136, label %.loopexit, label %.lr.ph140

.lr.ph140:                                        ; preds = %.preheader
  %127 = getelementptr inbounds i8, ptr %0, i64 16
  br label %128

128:                                              ; preds = %.lr.ph140, %138
  %129 = phi ptr [ %126, %.lr.ph140 ], [ %139, %138 ]
  %.281139 = phi ptr [ %.281135, %.lr.ph140 ], [ %.281, %138 ]
  %.0138 = phi double [ 0xFFEFFFFFFFFFFFFF, %.lr.ph140 ], [ %.1, %138 ]
  %.084137 = phi ptr [ null, %.lr.ph140 ], [ %.185, %138 ]
  %130 = getelementptr inbounds i8, ptr %129, i64 112
  %131 = load i32, ptr %130, align 8
  %132 = and i32 %131, 2048
  %.not111 = icmp eq i32 %132, 0
  br i1 %.not111, label %133, label %138

133:                                              ; preds = %128
  %134 = load ptr, ptr %127, align 8, !tbaa !29
  call void @qh_distplane(ptr noundef %134, ptr noundef nonnull %129, ptr noundef nonnull %5) #3
  %135 = load double, ptr %5, align 8, !tbaa !30
  %136 = fcmp ogt double %135, %.0138
  br i1 %136, label %137, label %138

137:                                              ; preds = %133
  br label %138

138:                                              ; preds = %133, %137, %128
  %.185 = phi ptr [ %.084137, %128 ], [ %129, %137 ], [ %.084137, %133 ]
  %.1 = phi double [ %.0138, %128 ], [ %135, %137 ], [ %.0138, %133 ]
  %.281 = getelementptr inbounds i8, ptr %.281139, i64 8
  %139 = load ptr, ptr %.281, align 8, !tbaa !19
  %.not110 = icmp eq ptr %139, null
  br i1 %.not110, label %.loopexit, label %128, !llvm.loop !31

.loopexit:                                        ; preds = %138, %.preheader, %124
  %.286 = phi ptr [ null, %124 ], [ null, %.preheader ], [ %.185, %138 ]
  %.2 = phi double [ 0xFFEFFFFFFFFFFFFF, %124 ], [ 0xFFEFFFFFFFFFFFFF, %.preheader ], [ %.1, %138 ]
  %140 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !11
  %141 = icmp sgt i32 %140, 1
  br i1 %141, label %142, label %151

142:                                              ; preds = %.loopexit
  %143 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !18
  %144 = getelementptr inbounds i8, ptr %0, i64 16
  %145 = load ptr, ptr %144, align 8, !tbaa !29
  %146 = call i32 @qh_pointid(ptr noundef %145) #3
  %147 = getelementptr inbounds i8, ptr %0, i64 32
  %148 = load i32, ptr %147, align 8, !tbaa !15
  %149 = getelementptr inbounds i8, ptr %.286, i64 108
  %150 = load i32, ptr %149, align 4, !tbaa !22
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %143, i32 noundef 2096, ptr noundef nonnull @.str.205, i32 noundef %146, i32 noundef %148, i32 noundef %150, double noundef %.2) #3
  br label %151

151:                                              ; preds = %142, %.loopexit
  %152 = getelementptr inbounds i8, ptr %0, i64 16
  %153 = load ptr, ptr %152, align 8, !tbaa !29
  call void @qh_partitioncoplanar(ptr noundef %153, ptr noundef %.286, ptr noundef null, i32 noundef 0) #3
  %154 = load i8, ptr %36, align 8
  %155 = or i8 %154, 32
  store i8 %155, ptr %36, align 8
  br label %156

156:                                              ; preds = %151, %.loopexit119
  call void @qh_settempfree(ptr noundef nonnull %4) #3
  br label %157

157:                                              ; preds = %46, %43, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  ret void
}

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

declare i32 @qh_addfacetvertex(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) local_unnamed_addr #2

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

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

declare void @qh_partitioncoplanar(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, !7, i64 2984, !10, i64 2992}
!13 = !{!"double", !8, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!6, !10, i64 32}
!16 = !{!12, !10, i64 2528}
!17 = !{!8, !8, i64 0}
!18 = !{!12, !7, i64 2424}
!19 = !{!7, !7, i64 0}
!20 = !{!21, !7, i64 64}
!21 = !{!"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}
!22 = !{!21, !10, i64 108}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = !{!12, !7, i64 2480}
!27 = !{!12, !7, i64 2464}
!28 = distinct !{!28, !24}
!29 = !{!6, !7, i64 16}
!30 = !{!13, !13, i64 0}
!31 = distinct !{!31, !24}


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