; 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.facetT = type { double, double, double, ptr, %union.anon, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32 }
%union.anon = type { double }
%struct.setT = type { i32, [1 x %union.setelemT] }
%union.setelemT = type { ptr }
%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.vertexT = type { ptr, ptr, ptr, ptr, i32, i32, i8 }
%struct.ridgeT = type { ptr, ptr, ptr, i32, i8 }

@.str.172 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [56 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 void @qh_errexit2(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1

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

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

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

declare ptr @qh_setdel(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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_mergesimplex(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %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 i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  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 i32 %3, ptr %8, align 4, !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
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %18 = load i32, ptr %8, align 4, !tbaa !9
  %19 = icmp ne i32 %18, 0
  br i1 %19, label %20, label %72

20:                                               ; preds = %4
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.facetT, ptr %21, i32 0, i32 8
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = getelementptr inbounds %struct.setT, ptr %23, i32 0, i32 1
  %25 = getelementptr inbounds [1 x %union.setelemT], ptr %24, i64 0, i64 0
  %26 = load ptr, ptr %25, align 8, !tbaa !14
  store ptr %26, ptr %11, align 8, !tbaa !5
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.qhT, ptr %27, i32 0, i32 29
  %29 = load i32, ptr %28, align 8, !tbaa !15
  %30 = icmp sge i32 %29, 4
  br i1 %30, label %31, label %45

31:                                               ; preds = %20
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.qhT, ptr %33, i32 0, i32 158
  %35 = load ptr, ptr %34, align 8, !tbaa !20
  %36 = load ptr, ptr %11, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.vertexT, ptr %36, i32 0, i32 4
  %38 = load i32, ptr %37, align 8, !tbaa !21
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.facetT, ptr %39, i32 0, i32 14
  %41 = load i32, ptr %40, align 4, !tbaa !23
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.facetT, ptr %42, i32 0, i32 14
  %44 = load i32, ptr %43, align 4, !tbaa !23
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %32, ptr noundef %35, i32 noundef 4086, ptr noundef @.str.172, i32 noundef %38, i32 noundef %41, i32 noundef %44)
  br label %45

45:                                               ; preds = %31, %20
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.facetT, ptr %46, i32 0, i32 15
  %48 = load i32, ptr %47, align 8
  %49 = lshr i32 %48, 10
  %50 = and i32 %49, 1
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %57, label %52

52:                                               ; preds = %45
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.facetT, ptr %54, i32 0, i32 8
  %56 = load ptr, ptr %55, align 8, !tbaa !11
  call void @qh_newvertices(ptr noundef %53, ptr noundef %56)
  br label %57

57:                                               ; preds = %52, %45
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.facetT, ptr %58, i32 0, i32 8
  %60 = load ptr, ptr %59, align 8, !tbaa !11
  %61 = getelementptr inbounds %struct.setT, ptr %60, i32 0, i32 1
  %62 = getelementptr inbounds [1 x %union.setelemT], ptr %61, i64 0, i64 0
  %63 = load ptr, ptr %62, align 8, !tbaa !14
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = icmp ne ptr %63, %64
  br i1 %65, label %66, label %71

66:                                               ; preds = %57
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.facetT, ptr %68, i32 0, i32 8
  %70 = load ptr, ptr %11, align 8, !tbaa !5
  call void @qh_setaddnth(ptr noundef %67, ptr noundef %69, i32 noundef 0, ptr noundef %70)
  store i32 1, ptr %14, align 4, !tbaa !9
  br label %71

71:                                               ; preds = %66, %57
  br label %243

72:                                               ; preds = %4
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.qhT, ptr %73, i32 0, i32 258
  %75 = getelementptr inbounds %struct.qhstatT, ptr %74, i32 0, i32 0
  %76 = getelementptr inbounds [249 x %union.intrealT], ptr %75, i64 0, i64 138
  %77 = load i32, ptr %76, align 8, !tbaa !14
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %76, align 8, !tbaa !14
  store ptr null, ptr %9, align 8, !tbaa !5
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.facetT, ptr %79, i32 0, i32 8
  %81 = load ptr, ptr %80, align 8, !tbaa !11
  %82 = icmp ne ptr %81, null
  br i1 %82, label %83, label %101

83:                                               ; preds = %72
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.facetT, ptr %84, i32 0, i32 8
  %86 = load ptr, ptr %85, align 8, !tbaa !11
  %87 = getelementptr inbounds %struct.setT, ptr %86, i32 0, i32 1
  %88 = getelementptr inbounds [1 x %union.setelemT], ptr %87, i64 0, i64 0
  store ptr %88, ptr %10, align 8, !tbaa !5
  br label %89

89:                                               ; preds = %94, %83
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = getelementptr inbounds ptr, ptr %90, i32 1
  store ptr %91, ptr %10, align 8, !tbaa !5
  %92 = load ptr, ptr %90, align 8, !tbaa !5
  store ptr %92, ptr %9, align 8, !tbaa !5
  %93 = icmp ne ptr %92, null
  br i1 %93, label %94, label %100

94:                                               ; preds = %89
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.vertexT, ptr %95, i32 0, i32 6
  %97 = load i8, ptr %96, align 8
  %98 = and i8 %97, -2
  %99 = or i8 %98, 0
  store i8 %99, ptr %96, align 8
  br label %89, !llvm.loop !24

100:                                              ; preds = %89
  br label %101

101:                                              ; preds = %100, %72
  store ptr null, ptr %12, align 8, !tbaa !5
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.facetT, ptr %102, i32 0, i32 9
  %104 = load ptr, ptr %103, align 8, !tbaa !26
  %105 = icmp ne ptr %104, null
  br i1 %105, label %106, label %166

106:                                              ; preds = %101
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.facetT, ptr %107, i32 0, i32 9
  %109 = load ptr, ptr %108, align 8, !tbaa !26
  %110 = getelementptr inbounds %struct.setT, ptr %109, i32 0, i32 1
  %111 = getelementptr inbounds [1 x %union.setelemT], ptr %110, i64 0, i64 0
  store ptr %111, ptr %13, align 8, !tbaa !5
  br label %112

112:                                              ; preds = %164, %106
  %113 = load ptr, ptr %13, align 8, !tbaa !5
  %114 = getelementptr inbounds ptr, ptr %113, i32 1
  store ptr %114, ptr %13, align 8, !tbaa !5
  %115 = load ptr, ptr %113, align 8, !tbaa !5
  store ptr %115, ptr %12, align 8, !tbaa !5
  %116 = icmp ne ptr %115, null
  br i1 %116, label %117, label %165

117:                                              ; preds = %112
  %118 = load ptr, ptr %12, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ridgeT, ptr %118, i32 0, i32 1
  %120 = load ptr, ptr %119, align 8, !tbaa !27
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = icmp eq ptr %120, %121
  br i1 %122, label %123, label %127

123:                                              ; preds = %117
  %124 = load ptr, ptr %12, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ridgeT, ptr %124, i32 0, i32 2
  %126 = load ptr, ptr %125, align 8, !tbaa !29
  br label %131

127:                                              ; preds = %117
  %128 = load ptr, ptr %12, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.ridgeT, ptr %128, i32 0, i32 1
  %130 = load ptr, ptr %129, align 8, !tbaa !27
  br label %131

131:                                              ; preds = %127, %123
  %132 = phi ptr [ %126, %123 ], [ %130, %127 ]
  %133 = load ptr, ptr %7, align 8, !tbaa !5
  %134 = icmp eq ptr %132, %133
  br i1 %134, label %135, label %164

135:                                              ; preds = %131
  store ptr null, ptr %9, align 8, !tbaa !5
  %136 = load ptr, ptr %12, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ridgeT, ptr %136, i32 0, i32 0
  %138 = load ptr, ptr %137, align 8, !tbaa !30
  %139 = icmp ne ptr %138, null
  br i1 %139, label %140, label %163

140:                                              ; preds = %135
  %141 = load ptr, ptr %12, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.ridgeT, ptr %141, i32 0, i32 0
  %143 = load ptr, ptr %142, align 8, !tbaa !30
  %144 = getelementptr inbounds %struct.setT, ptr %143, i32 0, i32 1
  %145 = getelementptr inbounds [1 x %union.setelemT], ptr %144, i64 0, i64 0
  store ptr %145, ptr %10, align 8, !tbaa !5
  br label %146

146:                                              ; preds = %151, %140
  %147 = load ptr, ptr %10, align 8, !tbaa !5
  %148 = getelementptr inbounds ptr, ptr %147, i32 1
  store ptr %148, ptr %10, align 8, !tbaa !5
  %149 = load ptr, ptr %147, align 8, !tbaa !5
  store ptr %149, ptr %9, align 8, !tbaa !5
  %150 = icmp ne ptr %149, null
  br i1 %150, label %151, label %162

151:                                              ; preds = %146
  %152 = load ptr, ptr %9, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.vertexT, ptr %152, i32 0, i32 6
  %154 = load i8, ptr %153, align 8
  %155 = and i8 %154, -2
  %156 = or i8 %155, 1
  store i8 %156, ptr %153, align 8
  %157 = load ptr, ptr %9, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.vertexT, ptr %157, i32 0, i32 6
  %159 = load i8, ptr %158, align 8
  %160 = and i8 %159, -9
  %161 = or i8 %160, 8
  store i8 %161, ptr %158, align 8
  br label %146, !llvm.loop !31

162:                                              ; preds = %146
  br label %163

163:                                              ; preds = %162, %135
  br label %165

164:                                              ; preds = %131
  br label %112, !llvm.loop !32

165:                                              ; preds = %163, %112
  br label %166

166:                                              ; preds = %165, %101
  store ptr null, ptr %9, align 8, !tbaa !5
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.facetT, ptr %167, i32 0, i32 8
  %169 = load ptr, ptr %168, align 8, !tbaa !11
  %170 = icmp ne ptr %169, null
  br i1 %170, label %171, label %192

171:                                              ; preds = %166
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.facetT, ptr %172, i32 0, i32 8
  %174 = load ptr, ptr %173, align 8, !tbaa !11
  %175 = getelementptr inbounds %struct.setT, ptr %174, i32 0, i32 1
  %176 = getelementptr inbounds [1 x %union.setelemT], ptr %175, i64 0, i64 0
  store ptr %176, ptr %10, align 8, !tbaa !5
  br label %177

177:                                              ; preds = %190, %171
  %178 = load ptr, ptr %10, align 8, !tbaa !5
  %179 = getelementptr inbounds ptr, ptr %178, i32 1
  store ptr %179, ptr %10, align 8, !tbaa !5
  %180 = load ptr, ptr %178, align 8, !tbaa !5
  store ptr %180, ptr %9, align 8, !tbaa !5
  %181 = icmp ne ptr %180, null
  br i1 %181, label %182, label %191

182:                                              ; preds = %177
  %183 = load ptr, ptr %9, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.vertexT, ptr %183, i32 0, i32 6
  %185 = load i8, ptr %184, align 8
  %186 = and i8 %185, 1
  %187 = zext i8 %186 to i32
  %188 = icmp ne i32 %187, 0
  br i1 %188, label %190, label %189

189:                                              ; preds = %182
  br label %191

190:                                              ; preds = %182
  br label %177, !llvm.loop !33

191:                                              ; preds = %189, %177
  br label %192

192:                                              ; preds = %191, %166
  %193 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %193, ptr %11, align 8, !tbaa !5
  %194 = load ptr, ptr %5, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.qhT, ptr %194, i32 0, i32 29
  %196 = load i32, ptr %195, align 8, !tbaa !15
  %197 = icmp sge i32 %196, 4
  br i1 %197, label %198, label %212

198:                                              ; preds = %192
  %199 = load ptr, ptr %5, align 8, !tbaa !5
  %200 = load ptr, ptr %5, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.qhT, ptr %200, i32 0, i32 158
  %202 = load ptr, ptr %201, align 8, !tbaa !20
  %203 = load ptr, ptr %11, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.vertexT, ptr %203, i32 0, i32 4
  %205 = load i32, ptr %204, align 8, !tbaa !21
  %206 = load ptr, ptr %6, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.facetT, ptr %206, i32 0, i32 14
  %208 = load i32, ptr %207, align 4, !tbaa !23
  %209 = load ptr, ptr %7, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.facetT, ptr %209, i32 0, i32 14
  %211 = load i32, ptr %210, align 4, !tbaa !23
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %199, ptr noundef %202, i32 noundef 4039, ptr noundef @.str.173, i32 noundef %205, i32 noundef %208, i32 noundef %211)
  br label %212

212:                                              ; preds = %198, %192
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = load ptr, ptr %7, align 8, !tbaa !5
  %215 = load ptr, ptr %11, align 8, !tbaa !5
  %216 = call i32 @qh_addfacetvertex(ptr noundef %213, ptr noundef %214, ptr noundef %215)
  store i32 %216, ptr %14, align 4, !tbaa !9
  %217 = load ptr, ptr %7, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.facetT, ptr %217, i32 0, i32 15
  %219 = load i32, ptr %218, align 8
  %220 = lshr i32 %219, 10
  %221 = and i32 %220, 1
  %222 = icmp ne i32 %221, 0
  br i1 %222, label %228, label %223

223:                                              ; preds = %212
  %224 = load ptr, ptr %5, align 8, !tbaa !5
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.facetT, ptr %225, i32 0, i32 8
  %227 = load ptr, ptr %226, align 8, !tbaa !11
  call void @qh_newvertices(ptr noundef %224, ptr noundef %227)
  br label %242

228:                                              ; preds = %212
  %229 = load ptr, ptr %11, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.vertexT, ptr %229, i32 0, i32 6
  %231 = load i8, ptr %230, align 8
  %232 = lshr i8 %231, 4
  %233 = and i8 %232, 1
  %234 = zext i8 %233 to i32
  %235 = icmp ne i32 %234, 0
  br i1 %235, label %241, label %236

236:                                              ; preds = %228
  %237 = load ptr, ptr %5, align 8, !tbaa !5
  %238 = load ptr, ptr %11, align 8, !tbaa !5
  call void @qh_removevertex(ptr noundef %237, ptr noundef %238)
  %239 = load ptr, ptr %5, align 8, !tbaa !5
  %240 = load ptr, ptr %11, align 8, !tbaa !5
  call void @qh_appendvertex(ptr noundef %239, ptr noundef %240)
  br label %241

241:                                              ; preds = %236, %228
  br label %242

242:                                              ; preds = %241, %223
  br label %243

243:                                              ; preds = %242, %71
  %244 = load ptr, ptr %5, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.qhT, ptr %244, i32 0, i32 29
  %246 = load i32, ptr %245, align 8, !tbaa !15
  %247 = icmp sge i32 %246, 4
  br i1 %247, label %248, label %256

248:                                              ; preds = %243
  %249 = load ptr, ptr %5, align 8, !tbaa !5
  %250 = load ptr, ptr %5, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.qhT, ptr %250, i32 0, i32 158
  %252 = load ptr, ptr %251, align 8, !tbaa !20
  %253 = load ptr, ptr %6, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.facetT, ptr %253, i32 0, i32 14
  %255 = load i32, ptr %254, align 4, !tbaa !23
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %249, ptr noundef %252, i32 noundef 4040, ptr noundef @.str.174, i32 noundef %255)
  br label %256

256:                                              ; preds = %248, %243
  store ptr null, ptr %9, align 8, !tbaa !5
  %257 = load ptr, ptr %6, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.facetT, ptr %257, i32 0, i32 8
  %259 = load ptr, ptr %258, align 8, !tbaa !11
  %260 = icmp ne ptr %259, null
  br i1 %260, label %261, label %307

261:                                              ; preds = %256
  %262 = load ptr, ptr %6, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.facetT, ptr %262, i32 0, i32 8
  %264 = load ptr, ptr %263, align 8, !tbaa !11
  %265 = getelementptr inbounds %struct.setT, ptr %264, i32 0, i32 1
  %266 = getelementptr inbounds [1 x %union.setelemT], ptr %265, i64 0, i64 0
  store ptr %266, ptr %10, align 8, !tbaa !5
  br label %267

267:                                              ; preds = %305, %261
  %268 = load ptr, ptr %10, align 8, !tbaa !5
  %269 = getelementptr inbounds ptr, ptr %268, i32 1
  store ptr %269, ptr %10, align 8, !tbaa !5
  %270 = load ptr, ptr %268, align 8, !tbaa !5
  store ptr %270, ptr %9, align 8, !tbaa !5
  %271 = icmp ne ptr %270, null
  br i1 %271, label %272, label %306

272:                                              ; preds = %267
  %273 = load ptr, ptr %9, align 8, !tbaa !5
  %274 = load ptr, ptr %11, align 8, !tbaa !5
  %275 = icmp eq ptr %273, %274
  br i1 %275, label %276, label %286

276:                                              ; preds = %272
  %277 = load i32, ptr %14, align 4, !tbaa !9
  %278 = icmp ne i32 %277, 0
  br i1 %278, label %279, label %286

279:                                              ; preds = %276
  %280 = load ptr, ptr %5, align 8, !tbaa !5
  %281 = load ptr, ptr %9, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.vertexT, ptr %281, i32 0, i32 3
  %283 = load ptr, ptr %282, align 8, !tbaa !34
  %284 = load ptr, ptr %6, align 8, !tbaa !5
  %285 = load ptr, ptr %7, align 8, !tbaa !5
  call void @qh_setreplace(ptr noundef %280, ptr noundef %283, ptr noundef %284, ptr noundef %285)
  br label %305

286:                                              ; preds = %276, %272
  %287 = load ptr, ptr %9, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.vertexT, ptr %287, i32 0, i32 3
  %289 = load ptr, ptr %288, align 8, !tbaa !34
  %290 = load ptr, ptr %6, align 8, !tbaa !5
  %291 = call ptr @qh_setdel(ptr noundef %289, ptr noundef %290)
  %292 = load ptr, ptr %9, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.vertexT, ptr %292, i32 0, i32 3
  %294 = load ptr, ptr %293, align 8, !tbaa !34
  %295 = getelementptr inbounds %struct.setT, ptr %294, i32 0, i32 1
  %296 = getelementptr inbounds [1 x %union.setelemT], ptr %295, i64 0, i64 1
  %297 = load ptr, ptr %296, align 8, !tbaa !14
  %298 = icmp ne ptr %297, null
  br i1 %298, label %304, label %299

299:                                              ; preds = %286
  %300 = load ptr, ptr %5, align 8, !tbaa !5
  %301 = load ptr, ptr %9, align 8, !tbaa !5
  %302 = load ptr, ptr %6, align 8, !tbaa !5
  %303 = load ptr, ptr %7, align 8, !tbaa !5
  call void @qh_mergevertex_del(ptr noundef %300, ptr noundef %301, ptr noundef %302, ptr noundef %303)
  br label %304

304:                                              ; preds = %299, %286
  br label %305

305:                                              ; preds = %304, %279
  br label %267, !llvm.loop !35

306:                                              ; preds = %267
  br label %307

307:                                              ; preds = %306, %256
  %308 = load ptr, ptr %5, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.qhT, ptr %308, i32 0, i32 29
  %310 = load i32, ptr %309, align 8, !tbaa !15
  %311 = icmp sge i32 %310, 4
  br i1 %311, label %312, label %323

312:                                              ; preds = %307
  %313 = load ptr, ptr %5, align 8, !tbaa !5
  %314 = load ptr, ptr %5, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.qhT, ptr %314, i32 0, i32 158
  %316 = load ptr, ptr %315, align 8, !tbaa !20
  %317 = load ptr, ptr %6, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.facetT, ptr %317, i32 0, i32 14
  %319 = load i32, ptr %318, align 4, !tbaa !23
  %320 = load ptr, ptr %7, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.facetT, ptr %320, i32 0, i32 14
  %322 = load i32, ptr %321, align 4, !tbaa !23
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %313, ptr noundef %316, i32 noundef 4041, ptr noundef @.str.175, i32 noundef %319, i32 noundef %322)
  br label %323

323:                                              ; preds = %312, %307
  %324 = load ptr, ptr %5, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.qhT, ptr %324, i32 0, i32 217
  %326 = load i32, ptr %325, align 8, !tbaa !36
  %327 = add i32 %326, 1
  store i32 %327, ptr %325, align 8, !tbaa !36
  store ptr null, ptr %15, align 8, !tbaa !5
  %328 = load ptr, ptr %7, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.facetT, ptr %328, i32 0, i32 10
  %330 = load ptr, ptr %329, align 8, !tbaa !37
  %331 = icmp ne ptr %330, null
  br i1 %331, label %332, label %350

332:                                              ; preds = %323
  %333 = load ptr, ptr %7, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.facetT, ptr %333, i32 0, i32 10
  %335 = load ptr, ptr %334, align 8, !tbaa !37
  %336 = getelementptr inbounds %struct.setT, ptr %335, i32 0, i32 1
  %337 = getelementptr inbounds [1 x %union.setelemT], ptr %336, i64 0, i64 0
  store ptr %337, ptr %16, align 8, !tbaa !5
  br label %338

338:                                              ; preds = %343, %332
  %339 = load ptr, ptr %16, align 8, !tbaa !5
  %340 = getelementptr inbounds ptr, ptr %339, i32 1
  store ptr %340, ptr %16, align 8, !tbaa !5
  %341 = load ptr, ptr %339, align 8, !tbaa !5
  store ptr %341, ptr %15, align 8, !tbaa !5
  %342 = icmp ne ptr %341, null
  br i1 %342, label %343, label %349

343:                                              ; preds = %338
  %344 = load ptr, ptr %5, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.qhT, ptr %344, i32 0, i32 217
  %346 = load i32, ptr %345, align 8, !tbaa !36
  %347 = load ptr, ptr %15, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.facetT, ptr %347, i32 0, i32 13
  store i32 %346, ptr %348, align 8, !tbaa !38
  br label %338, !llvm.loop !39

349:                                              ; preds = %338
  br label %350

350:                                              ; preds = %349, %323
  store ptr null, ptr %12, align 8, !tbaa !5
  %351 = load ptr, ptr %6, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.facetT, ptr %351, i32 0, i32 9
  %353 = load ptr, ptr %352, align 8, !tbaa !26
  %354 = icmp ne ptr %353, null
  br i1 %354, label %355, label %559

355:                                              ; preds = %350
  %356 = load ptr, ptr %6, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.facetT, ptr %356, i32 0, i32 9
  %358 = load ptr, ptr %357, align 8, !tbaa !26
  %359 = getelementptr inbounds %struct.setT, ptr %358, i32 0, i32 1
  %360 = getelementptr inbounds [1 x %union.setelemT], ptr %359, i64 0, i64 0
  store ptr %360, ptr %13, align 8, !tbaa !5
  br label %361

361:                                              ; preds = %557, %355
  %362 = load ptr, ptr %13, align 8, !tbaa !5
  %363 = getelementptr inbounds ptr, ptr %362, i32 1
  store ptr %363, ptr %13, align 8, !tbaa !5
  %364 = load ptr, ptr %362, align 8, !tbaa !5
  store ptr %364, ptr %12, align 8, !tbaa !5
  %365 = icmp ne ptr %364, null
  br i1 %365, label %366, label %558

366:                                              ; preds = %361
  %367 = load ptr, ptr %12, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.ridgeT, ptr %367, i32 0, i32 1
  %369 = load ptr, ptr %368, align 8, !tbaa !27
  %370 = load ptr, ptr %6, align 8, !tbaa !5
  %371 = icmp eq ptr %369, %370
  br i1 %371, label %372, label %376

372:                                              ; preds = %366
  %373 = load ptr, ptr %12, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.ridgeT, ptr %373, i32 0, i32 2
  %375 = load ptr, ptr %374, align 8, !tbaa !29
  br label %380

376:                                              ; preds = %366
  %377 = load ptr, ptr %12, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.ridgeT, ptr %377, i32 0, i32 1
  %379 = load ptr, ptr %378, align 8, !tbaa !27
  br label %380

380:                                              ; preds = %376, %372
  %381 = phi ptr [ %375, %372 ], [ %379, %376 ]
  store ptr %381, ptr %17, align 8, !tbaa !5
  %382 = load ptr, ptr %17, align 8, !tbaa !5
  %383 = load ptr, ptr %7, align 8, !tbaa !5
  %384 = icmp eq ptr %382, %383
  br i1 %384, label %385, label %395

385:                                              ; preds = %380
  %386 = load ptr, ptr %5, align 8, !tbaa !5
  %387 = load ptr, ptr %12, align 8, !tbaa !5
  call void @qh_delridge_merge(ptr noundef %386, ptr noundef %387)
  %388 = load ptr, ptr %13, align 8, !tbaa !5
  %389 = getelementptr inbounds ptr, ptr %388, i32 -1
  store ptr %389, ptr %13, align 8, !tbaa !5
  %390 = load ptr, ptr %7, align 8, !tbaa !5
  %391 = getelementptr inbounds %struct.facetT, ptr %390, i32 0, i32 10
  %392 = load ptr, ptr %391, align 8, !tbaa !37
  %393 = load ptr, ptr %6, align 8, !tbaa !5
  %394 = call ptr @qh_setdel(ptr noundef %392, ptr noundef %393)
  br label %557

395:                                              ; preds = %380
  %396 = load ptr, ptr %17, align 8, !tbaa !5
  %397 = getelementptr inbounds %struct.facetT, ptr %396, i32 0, i32 15
  %398 = load i32, ptr %397, align 8
  %399 = lshr i32 %398, 21
  %400 = and i32 %399, 1
  %401 = icmp ne i32 %400, 0
  br i1 %401, label %402, label %429

402:                                              ; preds = %395
  %403 = load ptr, ptr %17, align 8, !tbaa !5
  %404 = getelementptr inbounds %struct.facetT, ptr %403, i32 0, i32 10
  %405 = load ptr, ptr %404, align 8, !tbaa !37
  %406 = load ptr, ptr %6, align 8, !tbaa !5
  %407 = call i32 @qh_setin(ptr noundef %405, ptr noundef %406)
  %408 = icmp ne i32 %407, 0
  br i1 %408, label %429, label %409

409:                                              ; preds = %402
  %410 = load ptr, ptr %5, align 8, !tbaa !5
  %411 = load ptr, ptr %5, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.qhT, ptr %411, i32 0, i32 158
  %413 = load ptr, ptr %412, align 8, !tbaa !20
  %414 = load ptr, ptr %6, align 8, !tbaa !5
  %415 = getelementptr inbounds %struct.facetT, ptr %414, i32 0, i32 14
  %416 = load i32, ptr %415, align 4, !tbaa !23
  %417 = load ptr, ptr %17, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.facetT, ptr %417, i32 0, i32 14
  %419 = load i32, ptr %418, align 4, !tbaa !23
  %420 = load ptr, ptr %6, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.facetT, ptr %420, i32 0, i32 14
  %422 = load i32, ptr %421, align 4, !tbaa !23
  %423 = load ptr, ptr %7, align 8, !tbaa !5
  %424 = getelementptr inbounds %struct.facetT, ptr %423, i32 0, i32 14
  %425 = load i32, ptr %424, align 4, !tbaa !23
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %410, ptr noundef %413, i32 noundef 6356, ptr noundef @.str.176, i32 noundef %416, i32 noundef %419, i32 noundef %422, i32 noundef %425)
  %426 = load ptr, ptr %5, align 8, !tbaa !5
  %427 = load ptr, ptr %6, align 8, !tbaa !5
  %428 = load ptr, ptr %17, align 8, !tbaa !5
  call void @qh_errexit2(ptr noundef %426, i32 noundef 5, ptr noundef %427, ptr noundef %428)
  br label %556

429:                                              ; preds = %402, %395
  %430 = load ptr, ptr %5, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.qhT, ptr %430, i32 0, i32 29
  %432 = load i32, ptr %431, align 8, !tbaa !15
  %433 = icmp sge i32 %432, 4
  br i1 %433, label %434, label %465

434:                                              ; preds = %429
  %435 = load ptr, ptr %5, align 8, !tbaa !5
  %436 = load ptr, ptr %5, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.qhT, ptr %436, i32 0, i32 158
  %438 = load ptr, ptr %437, align 8, !tbaa !20
  %439 = load ptr, ptr %12, align 8, !tbaa !5
  %440 = getelementptr inbounds %struct.ridgeT, ptr %439, i32 0, i32 3
  %441 = load i32, ptr %440, align 8, !tbaa !40
  %442 = load ptr, ptr %17, align 8, !tbaa !5
  %443 = getelementptr inbounds %struct.facetT, ptr %442, i32 0, i32 14
  %444 = load i32, ptr %443, align 4, !tbaa !23
  %445 = load ptr, ptr %7, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.facetT, ptr %445, i32 0, i32 14
  %447 = load i32, ptr %446, align 4, !tbaa !23
  %448 = load ptr, ptr %17, align 8, !tbaa !5
  %449 = getelementptr inbounds %struct.facetT, ptr %448, i32 0, i32 13
  %450 = load i32, ptr %449, align 8, !tbaa !38
  %451 = load ptr, ptr %5, align 8, !tbaa !5
  %452 = getelementptr inbounds %struct.qhT, ptr %451, i32 0, i32 217
  %453 = load i32, ptr %452, align 8, !tbaa !36
  %454 = icmp ne i32 %450, %453
  %455 = zext i1 %454 to i32
  %456 = load ptr, ptr %17, align 8, !tbaa !5
  %457 = getelementptr inbounds %struct.facetT, ptr %456, i32 0, i32 10
  %458 = load ptr, ptr %457, align 8, !tbaa !37
  %459 = getelementptr inbounds %struct.setT, ptr %458, i32 0, i32 1
  %460 = getelementptr inbounds [1 x %union.setelemT], ptr %459, i64 0, i64 0
  %461 = load ptr, ptr %460, align 8, !tbaa !14
  %462 = load ptr, ptr %6, align 8, !tbaa !5
  %463 = icmp eq ptr %461, %462
  %464 = zext i1 %463 to i32
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %435, ptr noundef %438, i32 noundef 4059, ptr noundef @.str.177, i32 noundef %441, i32 noundef %444, i32 noundef %447, i32 noundef %455, i32 noundef %464)
  br label %465

465:                                              ; preds = %434, %429
  %466 = load ptr, ptr %5, align 8, !tbaa !5
  %467 = load ptr, ptr %7, align 8, !tbaa !5
  %468 = getelementptr inbounds %struct.facetT, ptr %467, i32 0, i32 9
  %469 = load ptr, ptr %12, align 8, !tbaa !5
  call void @qh_setappend(ptr noundef %466, ptr noundef %468, ptr noundef %469)
  %470 = load ptr, ptr %17, align 8, !tbaa !5
  %471 = getelementptr inbounds %struct.facetT, ptr %470, i32 0, i32 13
  %472 = load i32, ptr %471, align 8, !tbaa !38
  %473 = load ptr, ptr %5, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.qhT, ptr %473, i32 0, i32 217
  %475 = load i32, ptr %474, align 8, !tbaa !36
  %476 = icmp ne i32 %472, %475
  br i1 %476, label %477, label %493

477:                                              ; preds = %465
  %478 = load ptr, ptr %5, align 8, !tbaa !5
  %479 = load ptr, ptr %7, align 8, !tbaa !5
  %480 = getelementptr inbounds %struct.facetT, ptr %479, i32 0, i32 10
  %481 = load ptr, ptr %17, align 8, !tbaa !5
  call void @qh_setappend(ptr noundef %478, ptr noundef %480, ptr noundef %481)
  %482 = load ptr, ptr %5, align 8, !tbaa !5
  %483 = load ptr, ptr %17, align 8, !tbaa !5
  %484 = getelementptr inbounds %struct.facetT, ptr %483, i32 0, i32 10
  %485 = load ptr, ptr %484, align 8, !tbaa !37
  %486 = load ptr, ptr %6, align 8, !tbaa !5
  %487 = load ptr, ptr %7, align 8, !tbaa !5
  call void @qh_setreplace(ptr noundef %482, ptr noundef %485, ptr noundef %486, ptr noundef %487)
  %488 = load ptr, ptr %5, align 8, !tbaa !5
  %489 = getelementptr inbounds %struct.qhT, ptr %488, i32 0, i32 217
  %490 = load i32, ptr %489, align 8, !tbaa !36
  %491 = load ptr, ptr %17, align 8, !tbaa !5
  %492 = getelementptr inbounds %struct.facetT, ptr %491, i32 0, i32 13
  store i32 %490, ptr %492, align 8, !tbaa !38
  br label %531

493:                                              ; preds = %465
  %494 = load ptr, ptr %17, align 8, !tbaa !5
  %495 = getelementptr inbounds %struct.facetT, ptr %494, i32 0, i32 15
  %496 = load i32, ptr %495, align 8
  %497 = lshr i32 %496, 13
  %498 = and i32 %497, 1
  %499 = icmp ne i32 %498, 0
  br i1 %499, label %500, label %503

500:                                              ; preds = %493
  %501 = load ptr, ptr %5, align 8, !tbaa !5
  %502 = load ptr, ptr %17, align 8, !tbaa !5
  call void @qh_makeridges(ptr noundef %501, ptr noundef %502)
  br label %503

503:                                              ; preds = %500, %493
  %504 = load ptr, ptr %17, align 8, !tbaa !5
  %505 = getelementptr inbounds %struct.facetT, ptr %504, i32 0, i32 10
  %506 = load ptr, ptr %505, align 8, !tbaa !37
  %507 = getelementptr inbounds %struct.setT, ptr %506, i32 0, i32 1
  %508 = getelementptr inbounds [1 x %union.setelemT], ptr %507, i64 0, i64 0
  %509 = load ptr, ptr %508, align 8, !tbaa !14
  %510 = load ptr, ptr %6, align 8, !tbaa !5
  %511 = icmp eq ptr %509, %510
  br i1 %511, label %512, label %524

512:                                              ; preds = %503
  %513 = load ptr, ptr %17, align 8, !tbaa !5
  %514 = getelementptr inbounds %struct.facetT, ptr %513, i32 0, i32 10
  %515 = load ptr, ptr %514, align 8, !tbaa !37
  %516 = load ptr, ptr %7, align 8, !tbaa !5
  %517 = call ptr @qh_setdel(ptr noundef %515, ptr noundef %516)
  %518 = load ptr, ptr %5, align 8, !tbaa !5
  %519 = load ptr, ptr %17, align 8, !tbaa !5
  %520 = getelementptr inbounds %struct.facetT, ptr %519, i32 0, i32 10
  %521 = load ptr, ptr %520, align 8, !tbaa !37
  %522 = load ptr, ptr %6, align 8, !tbaa !5
  %523 = load ptr, ptr %7, align 8, !tbaa !5
  call void @qh_setreplace(ptr noundef %518, ptr noundef %521, ptr noundef %522, ptr noundef %523)
  br label %530

524:                                              ; preds = %503
  %525 = load ptr, ptr %17, align 8, !tbaa !5
  %526 = getelementptr inbounds %struct.facetT, ptr %525, i32 0, i32 10
  %527 = load ptr, ptr %526, align 8, !tbaa !37
  %528 = load ptr, ptr %6, align 8, !tbaa !5
  %529 = call ptr @qh_setdel(ptr noundef %527, ptr noundef %528)
  br label %530

530:                                              ; preds = %524, %512
  br label %531

531:                                              ; preds = %530, %477
  %532 = load ptr, ptr %12, align 8, !tbaa !5
  %533 = getelementptr inbounds %struct.ridgeT, ptr %532, i32 0, i32 1
  %534 = load ptr, ptr %533, align 8, !tbaa !27
  %535 = load ptr, ptr %6, align 8, !tbaa !5
  %536 = icmp eq ptr %534, %535
  br i1 %536, label %537, label %546

537:                                              ; preds = %531
  %538 = load ptr, ptr %7, align 8, !tbaa !5
  %539 = load ptr, ptr %12, align 8, !tbaa !5
  %540 = getelementptr inbounds %struct.ridgeT, ptr %539, i32 0, i32 1
  store ptr %538, ptr %540, align 8, !tbaa !27
  %541 = load ptr, ptr %12, align 8, !tbaa !5
  %542 = getelementptr inbounds %struct.ridgeT, ptr %541, i32 0, i32 4
  %543 = load i8, ptr %542, align 4
  %544 = and i8 %543, -33
  %545 = or i8 %544, 0
  store i8 %545, ptr %542, align 4
  br label %555

546:                                              ; preds = %531
  %547 = load ptr, ptr %7, align 8, !tbaa !5
  %548 = load ptr, ptr %12, align 8, !tbaa !5
  %549 = getelementptr inbounds %struct.ridgeT, ptr %548, i32 0, i32 2
  store ptr %547, ptr %549, align 8, !tbaa !29
  %550 = load ptr, ptr %12, align 8, !tbaa !5
  %551 = getelementptr inbounds %struct.ridgeT, ptr %550, i32 0, i32 4
  %552 = load i8, ptr %551, align 4
  %553 = and i8 %552, -65
  %554 = or i8 %553, 0
  store i8 %554, ptr %551, align 4
  br label %555

555:                                              ; preds = %546, %537
  br label %556

556:                                              ; preds = %555, %409
  br label %557

557:                                              ; preds = %556, %385
  br label %361, !llvm.loop !41

558:                                              ; preds = %361
  br label %559

559:                                              ; preds = %558, %350
  %560 = load ptr, ptr %5, align 8, !tbaa !5
  %561 = getelementptr inbounds %struct.qhT, ptr %560, i32 0, i32 29
  %562 = load i32, ptr %561, align 8, !tbaa !15
  %563 = icmp sge i32 %562, 3
  br i1 %563, label %564, label %578

564:                                              ; preds = %559
  %565 = load ptr, ptr %5, align 8, !tbaa !5
  %566 = load ptr, ptr %5, align 8, !tbaa !5
  %567 = getelementptr inbounds %struct.qhT, ptr %566, i32 0, i32 158
  %568 = load ptr, ptr %567, align 8, !tbaa !20
  %569 = load ptr, ptr %6, align 8, !tbaa !5
  %570 = getelementptr inbounds %struct.facetT, ptr %569, i32 0, i32 14
  %571 = load i32, ptr %570, align 4, !tbaa !23
  %572 = load ptr, ptr %11, align 8, !tbaa !5
  %573 = getelementptr inbounds %struct.vertexT, ptr %572, i32 0, i32 4
  %574 = load i32, ptr %573, align 8, !tbaa !21
  %575 = load ptr, ptr %7, align 8, !tbaa !5
  %576 = getelementptr inbounds %struct.facetT, ptr %575, i32 0, i32 14
  %577 = load i32, ptr %576, align 4, !tbaa !23
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %565, ptr noundef %568, i32 noundef 3006, ptr noundef @.str.178, i32 noundef %571, i32 noundef %574, i32 noundef %577)
  br label %578

578:                                              ; preds = %564, %559
  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 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, 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
  ret void
}

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

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

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

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

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

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

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


; 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.172 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.173 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.174 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [93 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [56 x i8], align 1

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

declare void @qh_errexit2(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @qh_setappend(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @qh_setaddnth(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

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

declare ptr @qh_setdel(ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

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

declare void @qh_setreplace(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @qh_mergesimplex(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #1 {
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %35, label %5

5:                                                ; preds = %4
  %6 = getelementptr inbounds i8, ptr %1, i64 64
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %7, i64 8
  %9 = load ptr, ptr %8, align 8, !tbaa !12
  %10 = getelementptr inbounds i8, ptr %0, i64 136
  %11 = load i32, ptr %10, align 8, !tbaa !13
  %12 = icmp sgt i32 %11, 3
  br i1 %12, label %13, label %22

13:                                               ; preds = %5
  %14 = getelementptr inbounds i8, ptr %0, i64 2424
  %15 = load ptr, ptr %14, align 8, !tbaa !18
  %16 = getelementptr inbounds i8, ptr %9, i64 32
  %17 = load i32, ptr %16, align 8, !tbaa !19
  %18 = getelementptr inbounds i8, ptr %1, i64 108
  %19 = load i32, ptr %18, align 4, !tbaa !21
  %20 = getelementptr inbounds i8, ptr %2, i64 108
  %21 = load i32, ptr %20, align 4, !tbaa !21
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %15, i32 noundef 4086, ptr noundef nonnull @.str.172, i32 noundef %17, i32 noundef %19, i32 noundef %21) #2
  br label %22

22:                                               ; preds = %13, %5
  %23 = getelementptr inbounds i8, ptr %2, i64 112
  %24 = load i32, ptr %23, align 8
  %25 = and i32 %24, 1024
  %.not209 = icmp eq i32 %25, 0
  br i1 %.not209, label %26, label %29

26:                                               ; preds = %22
  %27 = getelementptr inbounds i8, ptr %2, i64 64
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  tail call void @qh_newvertices(ptr noundef nonnull %0, ptr noundef %28)
  br label %29

29:                                               ; preds = %26, %22
  %30 = getelementptr inbounds i8, ptr %2, i64 64
  %31 = load ptr, ptr %30, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  %33 = load ptr, ptr %32, align 8, !tbaa !12
  %.not210 = icmp eq ptr %33, %9
  br i1 %.not210, label %99, label %34

34:                                               ; preds = %29
  tail call void @qh_setaddnth(ptr noundef nonnull %0, ptr noundef nonnull %30, i32 noundef 0, ptr noundef %9) #2
  br label %99

35:                                               ; preds = %4
  %36 = getelementptr inbounds i8, ptr %0, i64 4528
  %37 = load i32, ptr %36, align 8, !tbaa !12
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %36, align 8, !tbaa !12
  %39 = getelementptr inbounds i8, ptr %1, i64 64
  %40 = load ptr, ptr %39, align 8, !tbaa !5
  %.not195 = icmp eq ptr %40, null
  br i1 %.not195, label %.loopexit234, label %.preheader233

.preheader233:                                    ; preds = %35
  %.0169236 = getelementptr inbounds i8, ptr %40, i64 8
  %41 = load ptr, ptr %.0169236, align 8, !tbaa !22
  %.not196237 = icmp eq ptr %41, null
  br i1 %.not196237, label %.loopexit234, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader233, %.lr.ph
  %42 = phi ptr [ %46, %.lr.ph ], [ %41, %.preheader233 ]
  %.0169238 = phi ptr [ %.0169, %.lr.ph ], [ %.0169236, %.preheader233 ]
  %43 = getelementptr inbounds i8, ptr %42, i64 40
  %44 = load i8, ptr %43, align 8
  %45 = and i8 %44, -2
  store i8 %45, ptr %43, align 8
  %.0169 = getelementptr inbounds i8, ptr %.0169238, i64 8
  %46 = load ptr, ptr %.0169, align 8, !tbaa !22
  %.not196 = icmp eq ptr %46, null
  br i1 %.not196, label %.loopexit234, label %.lr.ph, !llvm.loop !23

.loopexit234:                                     ; preds = %.lr.ph, %.preheader233, %35
  %47 = getelementptr inbounds i8, ptr %1, i64 72
  %48 = load ptr, ptr %47, align 8, !tbaa !25
  %.not197 = icmp eq ptr %48, null
  br i1 %.not197, label %.loopexit230, label %.preheader231

.preheader231:                                    ; preds = %.loopexit234, %57
  %.pn198 = phi ptr [ %.0167, %57 ], [ %48, %.loopexit234 ]
  %.0167 = getelementptr inbounds i8, ptr %.pn198, i64 8
  %49 = load ptr, ptr %.0167, align 8, !tbaa !22
  %.not199 = icmp eq ptr %49, null
  br i1 %.not199, label %.loopexit230, label %50

50:                                               ; preds = %.preheader231
  %51 = getelementptr inbounds i8, ptr %49, i64 8
  %52 = load ptr, ptr %51, align 8, !tbaa !26
  %53 = icmp eq ptr %52, %1
  br i1 %53, label %54, label %57

54:                                               ; preds = %50
  %55 = getelementptr inbounds i8, ptr %49, i64 16
  %56 = load ptr, ptr %55, align 8, !tbaa !28
  br label %57

57:                                               ; preds = %50, %54
  %58 = phi ptr [ %56, %54 ], [ %52, %50 ]
  %59 = icmp eq ptr %58, %2
  br i1 %59, label %60, label %.preheader231, !llvm.loop !29

60:                                               ; preds = %57
  %61 = load ptr, ptr %49, align 8, !tbaa !30
  %.not200 = icmp eq ptr %61, null
  br i1 %.not200, label %.loopexit230, label %.preheader229

.preheader229:                                    ; preds = %60
  %.1170239 = getelementptr inbounds i8, ptr %61, i64 8
  %62 = load ptr, ptr %.1170239, align 8, !tbaa !22
  %.not202240 = icmp eq ptr %62, null
  br i1 %.not202240, label %.loopexit230, label %.lr.ph242

.lr.ph242:                                        ; preds = %.preheader229, %.lr.ph242
  %63 = phi ptr [ %67, %.lr.ph242 ], [ %62, %.preheader229 ]
  %.1170241 = phi ptr [ %.1170, %.lr.ph242 ], [ %.1170239, %.preheader229 ]
  %64 = getelementptr inbounds i8, ptr %63, i64 40
  %65 = load i8, ptr %64, align 8
  %66 = or i8 %65, 9
  store i8 %66, ptr %64, align 8
  %.1170 = getelementptr inbounds i8, ptr %.1170241, i64 8
  %67 = load ptr, ptr %.1170, align 8, !tbaa !22
  %.not202 = icmp eq ptr %67, null
  br i1 %.not202, label %.loopexit230, label %.lr.ph242, !llvm.loop !31

.loopexit230:                                     ; preds = %.preheader231, %.lr.ph242, %.preheader229, %60, %.loopexit234
  %68 = load ptr, ptr %39, align 8, !tbaa !5
  %.not203 = icmp eq ptr %68, null
  br i1 %.not203, label %.loopexit228, label %.preheader227

.preheader227:                                    ; preds = %.loopexit230, %70
  %.pn204 = phi ptr [ %.2171, %70 ], [ %68, %.loopexit230 ]
  %.2171 = getelementptr inbounds i8, ptr %.pn204, i64 8
  %69 = load ptr, ptr %.2171, align 8, !tbaa !22
  %.not205 = icmp eq ptr %69, null
  br i1 %.not205, label %.loopexit228, label %70

70:                                               ; preds = %.preheader227
  %71 = getelementptr inbounds i8, ptr %69, i64 40
  %72 = load i8, ptr %71, align 8
  %73 = and i8 %72, 1
  %.not206 = icmp eq i8 %73, 0
  br i1 %.not206, label %.loopexit228, label %.preheader227, !llvm.loop !32

.loopexit228:                                     ; preds = %.preheader227, %70, %.loopexit230
  %.0 = phi ptr [ null, %.loopexit230 ], [ null, %.preheader227 ], [ %69, %70 ]
  %74 = getelementptr inbounds i8, ptr %0, i64 136
  %75 = load i32, ptr %74, align 8, !tbaa !13
  %76 = icmp sgt i32 %75, 3
  br i1 %76, label %77, label %86

77:                                               ; preds = %.loopexit228
  %78 = getelementptr inbounds i8, ptr %0, i64 2424
  %79 = load ptr, ptr %78, align 8, !tbaa !18
  %80 = getelementptr inbounds i8, ptr %.0, i64 32
  %81 = load i32, ptr %80, align 8, !tbaa !19
  %82 = getelementptr inbounds i8, ptr %1, i64 108
  %83 = load i32, ptr %82, align 4, !tbaa !21
  %84 = getelementptr inbounds i8, ptr %2, i64 108
  %85 = load i32, ptr %84, align 4, !tbaa !21
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %79, i32 noundef 4039, ptr noundef nonnull @.str.173, i32 noundef %81, i32 noundef %83, i32 noundef %85) #2
  br label %86

86:                                               ; preds = %77, %.loopexit228
  %87 = tail call i32 @qh_addfacetvertex(ptr noundef nonnull %0, ptr noundef %2, ptr noundef %.0) #2
  %88 = getelementptr inbounds i8, ptr %2, i64 112
  %89 = load i32, ptr %88, align 8
  %90 = and i32 %89, 1024
  %.not207 = icmp eq i32 %90, 0
  br i1 %.not207, label %91, label %94

91:                                               ; preds = %86
  %92 = getelementptr inbounds i8, ptr %2, i64 64
  %93 = load ptr, ptr %92, align 8, !tbaa !5
  tail call void @qh_newvertices(ptr noundef nonnull %0, ptr noundef %93)
  br label %99

94:                                               ; preds = %86
  %95 = getelementptr inbounds i8, ptr %.0, i64 40
  %96 = load i8, ptr %95, align 8
  %97 = and i8 %96, 16
  %.not208 = icmp eq i8 %97, 0
  br i1 %.not208, label %98, label %99

98:                                               ; preds = %94
  tail call void @qh_removevertex(ptr noundef nonnull %0, ptr noundef nonnull %.0) #2
  tail call void @qh_appendvertex(ptr noundef nonnull %0, ptr noundef nonnull %.0) #2
  br label %99

99:                                               ; preds = %91, %98, %94, %29, %34
  %.0168 = phi ptr [ %9, %34 ], [ %9, %29 ], [ %.0, %94 ], [ %.0, %98 ], [ %.0, %91 ]
  %.0166 = phi i32 [ 1, %34 ], [ 0, %29 ], [ %87, %94 ], [ %87, %98 ], [ %87, %91 ]
  %100 = getelementptr inbounds i8, ptr %0, i64 136
  %101 = load i32, ptr %100, align 8, !tbaa !13
  %102 = icmp sgt i32 %101, 3
  br i1 %102, label %103, label %108

103:                                              ; preds = %99
  %104 = getelementptr inbounds i8, ptr %0, i64 2424
  %105 = load ptr, ptr %104, align 8, !tbaa !18
  %106 = getelementptr inbounds i8, ptr %1, i64 108
  %107 = load i32, ptr %106, align 4, !tbaa !21
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %105, i32 noundef 4040, ptr noundef nonnull @.str.174, i32 noundef %107) #2
  br label %108

108:                                              ; preds = %103, %99
  %109 = getelementptr inbounds i8, ptr %1, i64 64
  %110 = load ptr, ptr %109, align 8, !tbaa !5
  %.not211 = icmp eq ptr %110, null
  br i1 %.not211, label %.loopexit226, label %.preheader225

.preheader225:                                    ; preds = %108
  %.3243 = getelementptr inbounds i8, ptr %110, i64 8
  %111 = load ptr, ptr %.3243, align 8, !tbaa !22
  %.not213244 = icmp eq ptr %111, null
  br i1 %.not213244, label %.loopexit226, label %.lr.ph246

.lr.ph246:                                        ; preds = %.preheader225
  %112 = icmp ne i32 %.0166, 0
  br label %113

113:                                              ; preds = %.lr.ph246, %125
  %114 = phi ptr [ %111, %.lr.ph246 ], [ %126, %125 ]
  %.3245 = phi ptr [ %.3243, %.lr.ph246 ], [ %.3, %125 ]
  %115 = icmp eq ptr %114, %.0168
  %or.cond = select i1 %115, i1 %112, i1 false
  %116 = getelementptr inbounds i8, ptr %114, i64 24
  %117 = load ptr, ptr %116, align 8, !tbaa !33
  br i1 %or.cond, label %118, label %119

118:                                              ; preds = %113
  tail call void @qh_setreplace(ptr noundef %0, ptr noundef %117, ptr noundef %1, ptr noundef %2) #2
  br label %125

119:                                              ; preds = %113
  %120 = tail call ptr @qh_setdel(ptr noundef %117, ptr noundef %1) #2
  %121 = load ptr, ptr %116, align 8, !tbaa !33
  %122 = getelementptr inbounds i8, ptr %121, i64 16
  %123 = load ptr, ptr %122, align 8, !tbaa !12
  %.not223 = icmp eq ptr %123, null
  br i1 %.not223, label %124, label %125

124:                                              ; preds = %119
  tail call void @qh_mergevertex_del(ptr noundef %0, ptr noundef nonnull %114, ptr noundef %1, ptr noundef %2)
  br label %125

125:                                              ; preds = %119, %124, %118
  %.3 = getelementptr inbounds i8, ptr %.3245, i64 8
  %126 = load ptr, ptr %.3, align 8, !tbaa !22
  %.not213 = icmp eq ptr %126, null
  br i1 %.not213, label %.loopexit226, label %113, !llvm.loop !34

.loopexit226:                                     ; preds = %125, %.preheader225, %108
  %127 = load i32, ptr %100, align 8, !tbaa !13
  %128 = icmp sgt i32 %127, 3
  br i1 %128, label %129, label %136

129:                                              ; preds = %.loopexit226
  %130 = getelementptr inbounds i8, ptr %0, i64 2424
  %131 = load ptr, ptr %130, align 8, !tbaa !18
  %132 = getelementptr inbounds i8, ptr %1, i64 108
  %133 = load i32, ptr %132, align 4, !tbaa !21
  %134 = getelementptr inbounds i8, ptr %2, i64 108
  %135 = load i32, ptr %134, align 4, !tbaa !21
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %131, i32 noundef 4041, ptr noundef nonnull @.str.175, i32 noundef %133, i32 noundef %135) #2
  br label %136

136:                                              ; preds = %129, %.loopexit226
  %137 = getelementptr inbounds i8, ptr %0, i64 2784
  %138 = load i32, ptr %137, align 8, !tbaa !35
  %139 = add i32 %138, 1
  store i32 %139, ptr %137, align 8, !tbaa !35
  %140 = getelementptr inbounds i8, ptr %2, i64 80
  %141 = load ptr, ptr %140, align 8, !tbaa !36
  %.not214 = icmp eq ptr %141, null
  br i1 %.not214, label %.loopexit224, label %.preheader

.preheader:                                       ; preds = %136
  %.0165247 = getelementptr inbounds i8, ptr %141, i64 8
  %142 = load ptr, ptr %.0165247, align 8, !tbaa !22
  %.not216248 = icmp eq ptr %142, null
  br i1 %.not216248, label %.loopexit224, label %.lr.ph250

.lr.ph250:                                        ; preds = %.preheader, %.lr.ph250
  %143 = phi ptr [ %145, %.lr.ph250 ], [ %142, %.preheader ]
  %.0165249 = phi ptr [ %.0165, %.lr.ph250 ], [ %.0165247, %.preheader ]
  %144 = getelementptr inbounds i8, ptr %143, i64 104
  store i32 %139, ptr %144, align 8, !tbaa !37
  %.0165 = getelementptr inbounds i8, ptr %.0165249, i64 8
  %145 = load ptr, ptr %.0165, align 8, !tbaa !22
  %.not216 = icmp eq ptr %145, null
  br i1 %.not216, label %.loopexit224, label %.lr.ph250, !llvm.loop !38

.loopexit224:                                     ; preds = %.lr.ph250, %.preheader, %136
  %146 = getelementptr inbounds i8, ptr %1, i64 72
  %147 = load ptr, ptr %146, align 8, !tbaa !25
  %.not217 = icmp eq ptr %147, null
  br i1 %.not217, label %.loopexit, label %148

148:                                              ; preds = %.loopexit224
  %149 = getelementptr inbounds i8, ptr %147, i64 8
  %150 = load ptr, ptr %149, align 8, !tbaa !22
  %.not218251 = icmp eq ptr %150, null
  br i1 %.not218251, label %.loopexit, label %.lr.ph253

.lr.ph253:                                        ; preds = %148
  %151 = getelementptr inbounds i8, ptr %147, i64 16
  %152 = getelementptr inbounds i8, ptr %0, i64 2424
  %153 = getelementptr inbounds i8, ptr %1, i64 108
  %154 = getelementptr inbounds i8, ptr %2, i64 108
  %155 = getelementptr inbounds i8, ptr %2, i64 72
  br label %156

156:                                              ; preds = %.lr.ph253, %241
  %157 = phi ptr [ %150, %.lr.ph253 ], [ %243, %241 ]
  %158 = phi ptr [ %151, %.lr.ph253 ], [ %242, %241 ]
  %.1252 = phi ptr [ %149, %.lr.ph253 ], [ %.2, %241 ]
  %159 = getelementptr inbounds i8, ptr %157, i64 8
  %160 = load ptr, ptr %159, align 8, !tbaa !26
  %161 = icmp eq ptr %160, %1
  br i1 %161, label %162, label %165

162:                                              ; preds = %156
  %163 = getelementptr inbounds i8, ptr %157, i64 16
  %164 = load ptr, ptr %163, align 8, !tbaa !28
  br label %165

165:                                              ; preds = %156, %162
  %166 = phi ptr [ %164, %162 ], [ %160, %156 ]
  %167 = icmp eq ptr %166, %2
  br i1 %167, label %168, label %171

168:                                              ; preds = %165
  tail call void @qh_delridge_merge(ptr noundef %0, ptr noundef nonnull %157)
  %169 = load ptr, ptr %140, align 8, !tbaa !36
  %170 = tail call ptr @qh_setdel(ptr noundef %169, ptr noundef %1) #2
  br label %241

171:                                              ; preds = %165
  %172 = getelementptr inbounds i8, ptr %166, i64 112
  %173 = load i32, ptr %172, align 8
  %174 = and i32 %173, 2097152
  %.not219 = icmp eq i32 %174, 0
  br i1 %.not219, label %185, label %175

175:                                              ; preds = %171
  %176 = getelementptr inbounds i8, ptr %166, i64 80
  %177 = load ptr, ptr %176, align 8, !tbaa !36
  %178 = tail call i32 @qh_setin(ptr noundef %177, ptr noundef %1) #2
  %.not220 = icmp eq i32 %178, 0
  br i1 %.not220, label %179, label %185

179:                                              ; preds = %175
  %180 = load ptr, ptr %152, align 8, !tbaa !18
  %181 = load i32, ptr %153, align 4, !tbaa !21
  %182 = getelementptr inbounds i8, ptr %166, i64 108
  %183 = load i32, ptr %182, align 4, !tbaa !21
  %184 = load i32, ptr %154, align 4, !tbaa !21
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %180, i32 noundef 6356, ptr noundef nonnull @.str.176, i32 noundef %181, i32 noundef %183, i32 noundef %181, i32 noundef %184) #2
  tail call void @qh_errexit2(ptr noundef %0, i32 noundef 5, ptr noundef %1, ptr noundef nonnull %166) #2
  br label %241

185:                                              ; preds = %175, %171
  %186 = load i32, ptr %100, align 8, !tbaa !13
  %187 = icmp sgt i32 %186, 3
  br i1 %187, label %188, label %206

188:                                              ; preds = %185
  %189 = load ptr, ptr %152, align 8, !tbaa !18
  %190 = getelementptr inbounds i8, ptr %157, i64 24
  %191 = load i32, ptr %190, align 8, !tbaa !39
  %192 = getelementptr inbounds i8, ptr %166, i64 108
  %193 = load i32, ptr %192, align 4, !tbaa !21
  %194 = load i32, ptr %154, align 4, !tbaa !21
  %195 = getelementptr inbounds i8, ptr %166, i64 104
  %196 = load i32, ptr %195, align 8, !tbaa !37
  %197 = load i32, ptr %137, align 8, !tbaa !35
  %198 = icmp ne i32 %196, %197
  %199 = zext i1 %198 to i32
  %200 = getelementptr inbounds i8, ptr %166, i64 80
  %201 = load ptr, ptr %200, align 8, !tbaa !36
  %202 = getelementptr inbounds i8, ptr %201, i64 8
  %203 = load ptr, ptr %202, align 8, !tbaa !12
  %204 = icmp eq ptr %203, %1
  %205 = zext i1 %204 to i32
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %189, i32 noundef 4059, ptr noundef nonnull @.str.177, i32 noundef %191, i32 noundef %193, i32 noundef %194, i32 noundef %199, i32 noundef %205) #2
  br label %206

206:                                              ; preds = %188, %185
  tail call void @qh_setappend(ptr noundef nonnull %0, ptr noundef nonnull %155, ptr noundef nonnull %157) #2
  %207 = getelementptr inbounds i8, ptr %166, i64 104
  %208 = load i32, ptr %207, align 8, !tbaa !37
  %209 = load i32, ptr %137, align 8, !tbaa !35
  %.not221 = icmp eq i32 %208, %209
  br i1 %.not221, label %214, label %210

210:                                              ; preds = %206
  tail call void @qh_setappend(ptr noundef nonnull %0, ptr noundef nonnull %140, ptr noundef nonnull %166) #2
  %211 = getelementptr inbounds i8, ptr %166, i64 80
  %212 = load ptr, ptr %211, align 8, !tbaa !36
  tail call void @qh_setreplace(ptr noundef nonnull %0, ptr noundef %212, ptr noundef %1, ptr noundef %2) #2
  %213 = load i32, ptr %137, align 8, !tbaa !35
  store i32 %213, ptr %207, align 8, !tbaa !37
  br label %229

214:                                              ; preds = %206
  %215 = load i32, ptr %172, align 8
  %216 = and i32 %215, 8192
  %.not222 = icmp eq i32 %216, 0
  br i1 %.not222, label %218, label %217

217:                                              ; preds = %214
  tail call void @qh_makeridges(ptr noundef nonnull %0, ptr noundef nonnull %166)
  br label %218

218:                                              ; preds = %217, %214
  %219 = getelementptr inbounds i8, ptr %166, i64 80
  %220 = load ptr, ptr %219, align 8, !tbaa !36
  %221 = getelementptr inbounds i8, ptr %220, i64 8
  %222 = load ptr, ptr %221, align 8, !tbaa !12
  %223 = icmp eq ptr %222, %1
  br i1 %223, label %224, label %227

224:                                              ; preds = %218
  %225 = tail call ptr @qh_setdel(ptr noundef nonnull %220, ptr noundef %2) #2
  %226 = load ptr, ptr %219, align 8, !tbaa !36
  tail call void @qh_setreplace(ptr noundef nonnull %0, ptr noundef %226, ptr noundef %1, ptr noundef %2) #2
  br label %229

227:                                              ; preds = %218
  %228 = tail call ptr @qh_setdel(ptr noundef nonnull %220, ptr noundef %1) #2
  br label %229

229:                                              ; preds = %224, %227, %210
  %230 = load ptr, ptr %159, align 8, !tbaa !26
  %231 = icmp eq ptr %230, %1
  br i1 %231, label %232, label %236

232:                                              ; preds = %229
  store ptr %2, ptr %159, align 8, !tbaa !26
  %233 = getelementptr inbounds i8, ptr %157, i64 28
  %234 = load i8, ptr %233, align 4
  %235 = and i8 %234, -33
  store i8 %235, ptr %233, align 4
  br label %241

236:                                              ; preds = %229
  %237 = getelementptr inbounds i8, ptr %157, i64 16
  store ptr %2, ptr %237, align 8, !tbaa !28
  %238 = getelementptr inbounds i8, ptr %157, i64 28
  %239 = load i8, ptr %238, align 4
  %240 = and i8 %239, -65
  store i8 %240, ptr %238, align 4
  br label %241

241:                                              ; preds = %179, %236, %232, %168
  %.2 = phi ptr [ %.1252, %168 ], [ %158, %232 ], [ %158, %236 ], [ %158, %179 ]
  %242 = getelementptr inbounds i8, ptr %.2, i64 8
  %243 = load ptr, ptr %.2, align 8, !tbaa !22
  %.not218 = icmp eq ptr %243, null
  br i1 %.not218, label %.loopexit, label %156, !llvm.loop !40

.loopexit:                                        ; preds = %241, %148, %.loopexit224
  %244 = load i32, ptr %100, align 8, !tbaa !13
  %245 = icmp sgt i32 %244, 2
  br i1 %245, label %246, label %255

246:                                              ; preds = %.loopexit
  %247 = getelementptr inbounds i8, ptr %0, i64 2424
  %248 = load ptr, ptr %247, align 8, !tbaa !18
  %249 = getelementptr inbounds i8, ptr %1, i64 108
  %250 = load i32, ptr %249, align 4, !tbaa !21
  %251 = getelementptr inbounds i8, ptr %.0168, i64 32
  %252 = load i32, ptr %251, align 8, !tbaa !19
  %253 = getelementptr inbounds i8, ptr %2, i64 108
  %254 = load i32, ptr %253, align 4, !tbaa !21
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %248, i32 noundef 3006, ptr noundef nonnull @.str.178, i32 noundef %250, i32 noundef %252, i32 noundef %254) #2
  br label %255

255:                                              ; preds = %246, %.loopexit
  ret void
}

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

declare void @qh_removevertex(ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @qh_appendvertex(ptr noundef, ptr noundef) local_unnamed_addr #0

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

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


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