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

; 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.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.ridgeT = type { ptr, ptr, ptr, i32, i8 }

@qh_qh = external global %struct.qhT, align 8
@.str.2 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [115 x i8], align 1
@qh_qhstat = external global %struct.qhstatT, align 8

; 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

; Function Attrs: nounwind uwtable
define dso_local void @qh_attachnewfacets() #2 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #3
  store ptr null, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %8 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !9
  %9 = icmp sge i32 %8, 3
  br i1 %9, label %10, label %12

10:                                               ; preds = %0
  %11 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !14
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %11, i32 noundef 3012, ptr noundef @.str.2)
  br label %12

12:                                               ; preds = %10, %0
  %13 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 14), align 4, !tbaa !15
  %14 = icmp ne i32 %13, 0
  br i1 %14, label %15, label %16

15:                                               ; preds = %12
  call void @qh_checkdelridge()
  br label %16

16:                                               ; preds = %15, %12
  %17 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 217), align 8, !tbaa !16
  %18 = add i32 %17, 1
  store i32 %18, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 217), align 8, !tbaa !16
  %19 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 167), align 8, !tbaa !17
  store ptr %19, ptr %5, align 8, !tbaa !5
  br label %20

20:                                               ; preds = %110, %16
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %30

23:                                               ; preds = %20
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.facetT, ptr %24, i32 0, i32 15
  %26 = load i32, ptr %25, align 8
  %27 = lshr i32 %26, 11
  %28 = and i32 %27, 1
  %29 = icmp ne i32 %28, 0
  br label %30

30:                                               ; preds = %23, %20
  %31 = phi i1 [ false, %20 ], [ %29, %23 ]
  br i1 %31, label %32, label %114

32:                                               ; preds = %30
  %33 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 217), align 8, !tbaa !16
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.facetT, ptr %34, i32 0, i32 13
  store i32 %33, ptr %35, align 8, !tbaa !18
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.facetT, ptr %36, i32 0, i32 9
  %38 = load ptr, ptr %37, align 8, !tbaa !20
  %39 = icmp ne ptr %38, null
  br i1 %39, label %40, label %109

40:                                               ; preds = %32
  store ptr null, ptr %6, align 8, !tbaa !5
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.facetT, ptr %41, i32 0, i32 9
  %43 = load ptr, ptr %42, align 8, !tbaa !20
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %108

45:                                               ; preds = %40
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.facetT, ptr %46, i32 0, i32 9
  %48 = load ptr, ptr %47, align 8, !tbaa !20
  %49 = getelementptr inbounds %struct.setT, ptr %48, i32 0, i32 1
  %50 = getelementptr inbounds [1 x %union.setelemT], ptr %49, i64 0, i64 0
  store ptr %50, ptr %7, align 8, !tbaa !5
  br label %51

51:                                               ; preds = %106, %45
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = getelementptr inbounds ptr, ptr %52, i32 1
  store ptr %53, ptr %7, align 8, !tbaa !5
  %54 = load ptr, ptr %52, align 8, !tbaa !5
  store ptr %54, ptr %6, align 8, !tbaa !5
  %55 = icmp ne ptr %54, null
  br i1 %55, label %56, label %107

56:                                               ; preds = %51
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ridgeT, ptr %57, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8, !tbaa !21
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = icmp eq ptr %59, %60
  br i1 %61, label %62, label %66

62:                                               ; preds = %56
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ridgeT, ptr %63, i32 0, i32 2
  %65 = load ptr, ptr %64, align 8, !tbaa !23
  br label %70

66:                                               ; preds = %56
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ridgeT, ptr %67, i32 0, i32 1
  %69 = load ptr, ptr %68, align 8, !tbaa !21
  br label %70

70:                                               ; preds = %66, %62
  %71 = phi ptr [ %65, %62 ], [ %69, %66 ]
  store ptr %71, ptr %2, align 8, !tbaa !5
  %72 = load ptr, ptr %2, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.facetT, ptr %72, i32 0, i32 13
  %74 = load i32, ptr %73, align 8, !tbaa !18
  %75 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 217), align 8, !tbaa !16
  %76 = icmp eq i32 %74, %75
  br i1 %76, label %91, label %77

77:                                               ; preds = %70
  %78 = load ptr, ptr %2, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.facetT, ptr %78, i32 0, i32 15
  %80 = load i32, ptr %79, align 8
  %81 = lshr i32 %80, 11
  %82 = and i32 %81, 1
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %106, label %84

84:                                               ; preds = %77
  %85 = load ptr, ptr %2, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.facetT, ptr %85, i32 0, i32 15
  %87 = load i32, ptr %86, align 8
  %88 = lshr i32 %87, 13
  %89 = and i32 %88, 1
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %106

91:                                               ; preds = %84, %70
  %92 = load ptr, ptr %2, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.facetT, ptr %92, i32 0, i32 15
  %94 = load i32, ptr %93, align 8
  %95 = lshr i32 %94, 11
  %96 = and i32 %95, 1
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %104, label %98

98:                                               ; preds = %91
  %99 = load ptr, ptr %2, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.facetT, ptr %99, i32 0, i32 9
  %101 = load ptr, ptr %100, align 8, !tbaa !20
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = call ptr @qh_setdel(ptr noundef %101, ptr noundef %102)
  br label %104

104:                                              ; preds = %98, %91
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  call void @qh_delridge(ptr noundef %105)
  br label %106

106:                                              ; preds = %104, %84, %77
  br label %51, !llvm.loop !24

107:                                              ; preds = %51
  br label %108

108:                                              ; preds = %107, %40
  br label %109

109:                                              ; preds = %108, %32
  br label %110

110:                                              ; preds = %109
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.facetT, ptr %111, i32 0, i32 7
  %113 = load ptr, ptr %112, align 8, !tbaa !26
  store ptr %113, ptr %5, align 8, !tbaa !5
  br label %20, !llvm.loop !27

114:                                              ; preds = %30
  %115 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !9
  %116 = icmp sge i32 %115, 1
  br i1 %116, label %117, label %119

117:                                              ; preds = %114
  %118 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !14
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %118, i32 noundef 1017, ptr noundef @.str.3)
  br label %119

119:                                              ; preds = %117, %114
  %120 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 166), align 8, !tbaa !28
  store ptr %120, ptr %1, align 8, !tbaa !5
  br label %121

121:                                              ; preds = %302, %119
  %122 = load ptr, ptr %1, align 8, !tbaa !5
  %123 = icmp ne ptr %122, null
  br i1 %123, label %124, label %129

124:                                              ; preds = %121
  %125 = load ptr, ptr %1, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.facetT, ptr %125, i32 0, i32 7
  %127 = load ptr, ptr %126, align 8, !tbaa !26
  %128 = icmp ne ptr %127, null
  br label %129

129:                                              ; preds = %124, %121
  %130 = phi i1 [ false, %121 ], [ %128, %124 ]
  br i1 %130, label %131, label %306

131:                                              ; preds = %129
  %132 = load ptr, ptr %1, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.facetT, ptr %132, i32 0, i32 10
  %134 = load ptr, ptr %133, align 8, !tbaa !29
  %135 = getelementptr inbounds %struct.setT, ptr %134, i32 0, i32 1
  %136 = getelementptr inbounds [1 x %union.setelemT], ptr %135, i64 0, i64 0
  %137 = load ptr, ptr %136, align 8, !tbaa !30
  store ptr %137, ptr %4, align 8, !tbaa !5
  %138 = load ptr, ptr %4, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.facetT, ptr %138, i32 0, i32 15
  %140 = load i32, ptr %139, align 8
  %141 = lshr i32 %140, 13
  %142 = and i32 %141, 1
  %143 = icmp ne i32 %142, 0
  br i1 %143, label %144, label %221

144:                                              ; preds = %131
  store ptr null, ptr %5, align 8, !tbaa !5
  store ptr null, ptr %2, align 8, !tbaa !5
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.facetT, ptr %145, i32 0, i32 10
  %147 = load ptr, ptr %146, align 8, !tbaa !29
  %148 = icmp ne ptr %147, null
  br i1 %148, label %149, label %198

149:                                              ; preds = %144
  %150 = load ptr, ptr %4, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.facetT, ptr %150, i32 0, i32 10
  %152 = load ptr, ptr %151, align 8, !tbaa !29
  %153 = getelementptr inbounds %struct.setT, ptr %152, i32 0, i32 1
  %154 = getelementptr inbounds [1 x %union.setelemT], ptr %153, i64 0, i64 0
  store ptr %154, ptr %3, align 8, !tbaa !5
  br label %155

155:                                              ; preds = %196, %149
  %156 = load ptr, ptr %3, align 8, !tbaa !5
  %157 = getelementptr inbounds ptr, ptr %156, i32 1
  store ptr %157, ptr %3, align 8, !tbaa !5
  %158 = load ptr, ptr %156, align 8, !tbaa !5
  store ptr %158, ptr %2, align 8, !tbaa !5
  %159 = icmp ne ptr %158, null
  br i1 %159, label %160, label %197

160:                                              ; preds = %155
  %161 = load ptr, ptr %2, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.facetT, ptr %161, i32 0, i32 15
  %163 = load i32, ptr %162, align 8
  %164 = lshr i32 %163, 11
  %165 = and i32 %164, 1
  %166 = icmp ne i32 %165, 0
  br i1 %166, label %167, label %196

167:                                              ; preds = %160
  %168 = load ptr, ptr %5, align 8, !tbaa !5
  %169 = icmp ne ptr %168, null
  br i1 %169, label %170, label %193

170:                                              ; preds = %167
  %171 = load ptr, ptr %1, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.facetT, ptr %171, i32 0, i32 8
  %173 = load ptr, ptr %172, align 8, !tbaa !31
  %174 = load ptr, ptr %4, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.facetT, ptr %174, i32 0, i32 8
  %176 = load ptr, ptr %175, align 8, !tbaa !31
  %177 = load ptr, ptr %3, align 8, !tbaa !5
  %178 = load ptr, ptr %4, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.facetT, ptr %178, i32 0, i32 10
  %180 = load ptr, ptr %179, align 8, !tbaa !29
  %181 = getelementptr inbounds %struct.setT, ptr %180, i32 0, i32 1
  %182 = getelementptr inbounds [1 x %union.setelemT], ptr %181, i64 0, i64 1
  %183 = ptrtoint ptr %177 to i64
  %184 = ptrtoint ptr %182 to i64
  %185 = sub i64 %183, %184
  %186 = sdiv exact i64 %185, 8
  %187 = trunc i64 %186 to i32
  %188 = call i32 @qh_setequal_skip(ptr noundef %173, i32 noundef 0, ptr noundef %176, i32 noundef %187)
  %189 = icmp ne i32 %188, 0
  br i1 %189, label %190, label %192

190:                                              ; preds = %170
  %191 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %191, ptr %5, align 8, !tbaa !5
  br label %197

192:                                              ; preds = %170
  br label %195

193:                                              ; preds = %167
  %194 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %194, ptr %5, align 8, !tbaa !5
  br label %195

195:                                              ; preds = %193, %192
  br label %196

196:                                              ; preds = %195, %160
  br label %155, !llvm.loop !32

197:                                              ; preds = %190, %155
  br label %198

198:                                              ; preds = %197, %144
  %199 = load ptr, ptr %5, align 8, !tbaa !5
  %200 = icmp ne ptr %199, null
  br i1 %200, label %201, label %210

201:                                              ; preds = %198
  %202 = load ptr, ptr %1, align 8, !tbaa !5
  %203 = load ptr, ptr %5, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.facetT, ptr %203, i32 0, i32 4
  store ptr %202, ptr %204, align 8, !tbaa !30
  %205 = load ptr, ptr %4, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.facetT, ptr %205, i32 0, i32 10
  %207 = load ptr, ptr %206, align 8, !tbaa !29
  %208 = load ptr, ptr %5, align 8, !tbaa !5
  %209 = load ptr, ptr %1, align 8, !tbaa !5
  call void @qh_setreplace(ptr noundef %207, ptr noundef %208, ptr noundef %209)
  br label %220

210:                                              ; preds = %198
  %211 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !14
  %212 = load ptr, ptr %4, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.facetT, ptr %212, i32 0, i32 14
  %214 = load i32, ptr %213, align 4, !tbaa !33
  %215 = load ptr, ptr %1, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.facetT, ptr %215, i32 0, i32 14
  %217 = load i32, ptr %216, align 4, !tbaa !33
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %211, i32 noundef 6102, ptr noundef @.str.4, i32 noundef %214, i32 noundef %217)
  %218 = load ptr, ptr %4, align 8, !tbaa !5
  %219 = load ptr, ptr %1, align 8, !tbaa !5
  call void @qh_errexit2(i32 noundef 5, ptr noundef %218, ptr noundef %219)
  br label %220

220:                                              ; preds = %210, %201
  br label %301

221:                                              ; preds = %131
  store ptr null, ptr %2, align 8, !tbaa !5
  %222 = load ptr, ptr %4, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.facetT, ptr %222, i32 0, i32 10
  %224 = load ptr, ptr %223, align 8, !tbaa !29
  %225 = icmp ne ptr %224, null
  br i1 %225, label %226, label %267

226:                                              ; preds = %221
  %227 = load ptr, ptr %4, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.facetT, ptr %227, i32 0, i32 10
  %229 = load ptr, ptr %228, align 8, !tbaa !29
  %230 = getelementptr inbounds %struct.setT, ptr %229, i32 0, i32 1
  %231 = getelementptr inbounds [1 x %union.setelemT], ptr %230, i64 0, i64 0
  store ptr %231, ptr %3, align 8, !tbaa !5
  br label %232

232:                                              ; preds = %265, %226
  %233 = load ptr, ptr %3, align 8, !tbaa !5
  %234 = getelementptr inbounds ptr, ptr %233, i32 1
  store ptr %234, ptr %3, align 8, !tbaa !5
  %235 = load ptr, ptr %233, align 8, !tbaa !5
  store ptr %235, ptr %2, align 8, !tbaa !5
  %236 = icmp ne ptr %235, null
  br i1 %236, label %237, label %266

237:                                              ; preds = %232
  %238 = load ptr, ptr %2, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.facetT, ptr %238, i32 0, i32 15
  %240 = load i32, ptr %239, align 8
  %241 = lshr i32 %240, 11
  %242 = and i32 %241, 1
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %244, label %265

244:                                              ; preds = %237
  %245 = load ptr, ptr %1, align 8, !tbaa !5
  %246 = load ptr, ptr %2, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.facetT, ptr %246, i32 0, i32 4
  store ptr %245, ptr %247, align 8, !tbaa !30
  %248 = load ptr, ptr %4, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.facetT, ptr %248, i32 0, i32 10
  %250 = load ptr, ptr %249, align 8, !tbaa !29
  %251 = load ptr, ptr %3, align 8, !tbaa !5
  %252 = load ptr, ptr %4, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.facetT, ptr %252, i32 0, i32 10
  %254 = load ptr, ptr %253, align 8, !tbaa !29
  %255 = getelementptr inbounds %struct.setT, ptr %254, i32 0, i32 1
  %256 = getelementptr inbounds [1 x %union.setelemT], ptr %255, i64 0, i64 1
  %257 = ptrtoint ptr %251 to i64
  %258 = ptrtoint ptr %256 to i64
  %259 = sub i64 %257, %258
  %260 = sdiv exact i64 %259, 8
  %261 = trunc i64 %260 to i32
  %262 = call ptr @qh_setdelnth(ptr noundef %250, i32 noundef %261)
  %263 = load ptr, ptr %3, align 8, !tbaa !5
  %264 = getelementptr inbounds ptr, ptr %263, i32 -1
  store ptr %264, ptr %3, align 8, !tbaa !5
  br label %265

265:                                              ; preds = %244, %237
  br label %232, !llvm.loop !34

266:                                              ; preds = %232
  br label %267

267:                                              ; preds = %266, %221
  %268 = load ptr, ptr %4, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.facetT, ptr %268, i32 0, i32 10
  %270 = load ptr, ptr %1, align 8, !tbaa !5
  call void @qh_setappend(ptr noundef %269, ptr noundef %270)
  %271 = load ptr, ptr %1, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.facetT, ptr %271, i32 0, i32 9
  %273 = load ptr, ptr %272, align 8, !tbaa !20
  %274 = getelementptr inbounds %struct.setT, ptr %273, i32 0, i32 1
  %275 = getelementptr inbounds [1 x %union.setelemT], ptr %274, i64 0, i64 0
  %276 = load ptr, ptr %275, align 8, !tbaa !30
  store ptr %276, ptr %6, align 8, !tbaa !5
  %277 = load ptr, ptr %6, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.ridgeT, ptr %277, i32 0, i32 1
  %279 = load ptr, ptr %278, align 8, !tbaa !21
  %280 = load ptr, ptr %4, align 8, !tbaa !5
  %281 = icmp eq ptr %279, %280
  br i1 %281, label %282, label %291

282:                                              ; preds = %267
  %283 = load ptr, ptr %1, align 8, !tbaa !5
  %284 = load ptr, ptr %6, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.ridgeT, ptr %284, i32 0, i32 2
  store ptr %283, ptr %285, align 8, !tbaa !23
  %286 = load ptr, ptr %6, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.ridgeT, ptr %286, i32 0, i32 4
  %288 = load i8, ptr %287, align 4
  %289 = and i8 %288, -65
  %290 = or i8 %289, 64
  store i8 %290, ptr %287, align 4
  br label %300

291:                                              ; preds = %267
  %292 = load ptr, ptr %1, align 8, !tbaa !5
  %293 = load ptr, ptr %6, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.ridgeT, ptr %293, i32 0, i32 1
  store ptr %292, ptr %294, align 8, !tbaa !21
  %295 = load ptr, ptr %6, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.ridgeT, ptr %295, i32 0, i32 4
  %297 = load i8, ptr %296, align 4
  %298 = and i8 %297, -33
  %299 = or i8 %298, 32
  store i8 %299, ptr %296, align 4
  br label %300

300:                                              ; preds = %291, %282
  br label %301

301:                                              ; preds = %300, %220
  br label %302

302:                                              ; preds = %301
  %303 = load ptr, ptr %1, align 8, !tbaa !5
  %304 = getelementptr inbounds %struct.facetT, ptr %303, i32 0, i32 7
  %305 = load ptr, ptr %304, align 8, !tbaa !26
  store ptr %305, ptr %1, align 8, !tbaa !5
  br label %121, !llvm.loop !35

306:                                              ; preds = %129
  %307 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !9
  %308 = icmp sge i32 %307, 4
  br i1 %308, label %309, label %311

309:                                              ; preds = %306
  %310 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !14
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %310, i32 noundef 4094, ptr noundef @.str.5)
  br label %311

311:                                              ; preds = %309, %306
  %312 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 167), align 8, !tbaa !17
  store ptr %312, ptr %5, align 8, !tbaa !5
  br label %313

313:                                              ; preds = %342, %311
  %314 = load ptr, ptr %5, align 8, !tbaa !5
  %315 = icmp ne ptr %314, null
  br i1 %315, label %316, label %323

316:                                              ; preds = %313
  %317 = load ptr, ptr %5, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.facetT, ptr %317, i32 0, i32 15
  %319 = load i32, ptr %318, align 8
  %320 = lshr i32 %319, 11
  %321 = and i32 %320, 1
  %322 = icmp ne i32 %321, 0
  br label %323

323:                                              ; preds = %316, %313
  %324 = phi i1 [ false, %313 ], [ %322, %316 ]
  br i1 %324, label %325, label %346

325:                                              ; preds = %323
  %326 = load ptr, ptr %5, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.facetT, ptr %326, i32 0, i32 9
  %328 = load ptr, ptr %327, align 8, !tbaa !20
  %329 = icmp ne ptr %328, null
  br i1 %329, label %330, label %336

330:                                              ; preds = %325
  %331 = load ptr, ptr %5, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.facetT, ptr %331, i32 0, i32 9
  %333 = load ptr, ptr %332, align 8, !tbaa !20
  %334 = getelementptr inbounds %struct.setT, ptr %333, i32 0, i32 1
  %335 = getelementptr inbounds [1 x %union.setelemT], ptr %334, i64 0, i64 0
  store ptr null, ptr %335, align 8, !tbaa !30
  br label %336

336:                                              ; preds = %330, %325
  %337 = load ptr, ptr %5, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.facetT, ptr %337, i32 0, i32 10
  %339 = load ptr, ptr %338, align 8, !tbaa !29
  %340 = getelementptr inbounds %struct.setT, ptr %339, i32 0, i32 1
  %341 = getelementptr inbounds [1 x %union.setelemT], ptr %340, i64 0, i64 0
  store ptr null, ptr %341, align 8, !tbaa !30
  br label %342

342:                                              ; preds = %336
  %343 = load ptr, ptr %5, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.facetT, ptr %343, i32 0, i32 7
  %345 = load ptr, ptr %344, align 8, !tbaa !26
  store ptr %345, ptr %5, align 8, !tbaa !5
  br label %313, !llvm.loop !36

346:                                              ; preds = %323
  store i32 0, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 203), align 4, !tbaa !37
  store i32 1, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 202), align 8, !tbaa !38
  %347 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 67), align 8, !tbaa !39
  %348 = icmp ne i32 %347, 0
  br i1 %348, label %349, label %377

349:                                              ; preds = %346
  %350 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 167), align 8, !tbaa !17
  store ptr %350, ptr %5, align 8, !tbaa !5
  br label %351

351:                                              ; preds = %372, %349
  %352 = load ptr, ptr %5, align 8, !tbaa !5
  %353 = icmp ne ptr %352, null
  br i1 %353, label %354, label %361

354:                                              ; preds = %351
  %355 = load ptr, ptr %5, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.facetT, ptr %355, i32 0, i32 15
  %357 = load i32, ptr %356, align 8
  %358 = lshr i32 %357, 11
  %359 = and i32 %358, 1
  %360 = icmp ne i32 %359, 0
  br label %361

361:                                              ; preds = %354, %351
  %362 = phi i1 [ false, %351 ], [ %360, %354 ]
  br i1 %362, label %363, label %376

363:                                              ; preds = %361
  %364 = load ptr, ptr %5, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.facetT, ptr %364, i32 0, i32 4
  %366 = load ptr, ptr %365, align 8, !tbaa !30
  %367 = icmp ne ptr %366, null
  br i1 %367, label %371, label %368

368:                                              ; preds = %363
  %369 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 110), align 8, !tbaa !30
  %370 = add nsw i32 %369, 1
  store i32 %370, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 110), align 8, !tbaa !30
  br label %371

371:                                              ; preds = %368, %363
  br label %372

372:                                              ; preds = %371
  %373 = load ptr, ptr %5, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.facetT, ptr %373, i32 0, i32 7
  %375 = load ptr, ptr %374, align 8, !tbaa !26
  store ptr %375, ptr %5, align 8, !tbaa !5
  br label %351, !llvm.loop !40

376:                                              ; preds = %361
  br label %377

377:                                              ; preds = %376, %346
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #3
  ret void
}

declare void @qh_checkdelridge() #1

declare ptr @qh_setdel(ptr noundef, ptr noundef) #1

declare void @qh_delridge(ptr noundef) #1

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

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

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

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

declare void @qh_setappend(ptr noundef, ptr 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, !11, i64 136}
!10 = !{!"qhT", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !12, 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, !12, i64 64, !12, i64 72, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !6, i64 104, !11, i64 112, !11, i64 116, !6, i64 120, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !12, i64 160, !12, i64 168, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !12, i64 192, !12, i64 200, !11, i64 208, !11, i64 212, !12, 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, !7, 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, !12, i64 448, !12, i64 456, !12, 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, !12, 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, !12, i64 592, !11, i64 600, !6, i64 608, !6, i64 616, !11, i64 624, !11, i64 628, !11, i64 632, !11, i64 636, !11, i64 640, !6, i64 648, !11, i64 656, !6, i64 664, !11, i64 672, !7, i64 676, !11, i64 932, !7, i64 936, !7, i64 1192, !11, i64 1704, !11, i64 1708, !11, i64 1712, !11, i64 1716, !11, i64 1720, !11, i64 1724, !6, i64 1728, !6, i64 1736, !6, i64 1744, !6, i64 1752, !12, i64 1760, !12, i64 1768, !12, i64 1776, !12, i64 1784, !12, i64 1792, !12, i64 1800, !12, i64 1808, !12, i64 1816, !12, i64 1824, !12, i64 1832, !12, i64 1840, !12, i64 1848, !12, i64 1856, !12, i64 1864, !6, i64 1872, !12, i64 1880, !12, i64 1888, !12, i64 1896, !12, i64 1904, !11, 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, !11, i64 2440, !11, i64 2444, !11, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !6, i64 2480, !6, i64 2488, !11, i64 2496, !11, i64 2500, !6, i64 2504, !11, i64 2512, !6, i64 2520, !11, i64 2528, !6, i64 2536, !6, i64 2544, !6, i64 2552, !6, 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, !13, i64 2600, !11, i64 2608, !11, i64 2612, !11, i64 2616, !11, i64 2620, !11, i64 2624, !6, i64 2632, !6, i64 2640, !11, i64 2648, !11, i64 2652, !11, i64 2656, !12, i64 2664, !11, i64 2672, !12, i64 2680, !12, i64 2688, !12, i64 2696, !11, i64 2704, !11, i64 2708, !11, i64 2712, !11, i64 2716, !11, i64 2720, !12, i64 2728, !12, i64 2736, !11, i64 2744, !11, i64 2748, !11, i64 2752, !11, i64 2756, !11, i64 2760, !11, i64 2764, !12, i64 2768, !12, i64 2776, !11, i64 2784, !11, i64 2788, !11, i64 2792, !11, 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, !11, i64 2872, !6, i64 2880, !6, i64 2888, !11, i64 2896, !11, i64 2900, !11, i64 2904, !6, i64 2912, !12, i64 2920, !12, i64 2928, !12, i64 2936, !12, i64 2944, !11, i64 2952, !11, i64 2956, !11, i64 2960, !11, i64 2964, !11, i64 2968, !11, i64 2972, !6, i64 2976, !6, i64 2984, !11, i64 2992}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!10, !6, i64 2424}
!15 = !{!10, !11, i64 60}
!16 = !{!10, !11, i64 2784}
!17 = !{!10, !6, i64 2488}
!18 = !{!19, !11, i64 104}
!19 = !{!"facetT", !12, i64 0, !12, i64 8, !12, 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, !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}
!20 = !{!19, !6, i64 72}
!21 = !{!22, !6, i64 8}
!22 = !{!"ridgeT", !6, i64 0, !6, i64 8, !6, 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}
!23 = !{!22, !6, i64 16}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!19, !6, i64 56}
!27 = distinct !{!27, !25}
!28 = !{!10, !6, i64 2480}
!29 = !{!19, !6, i64 80}
!30 = !{!7, !7, i64 0}
!31 = !{!19, !6, i64 64}
!32 = distinct !{!32, !25}
!33 = !{!19, !11, i64 108}
!34 = distinct !{!34, !25}
!35 = distinct !{!35, !25}
!36 = distinct !{!36, !25}
!37 = !{!10, !11, i64 2708}
!38 = !{!10, !11, i64 2704}
!39 = !{!10, !11, i64 424}
!40 = distinct !{!40, !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"

%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
@.str.2 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [105 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [115 x i8], align 1
@qh_qhstat = external local_unnamed_addr global %struct.qhstatT, align 8

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_attachnewfacets() local_unnamed_addr #1 {
  %1 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !5
  %2 = icmp sgt i32 %1, 2
  br i1 %2, label %3, label %5

3:                                                ; preds = %0
  %4 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !13
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %4, i32 noundef 3012, ptr noundef nonnull @.str.2) #2
  br label %5

5:                                                ; preds = %3, %0
  %6 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 60), align 4, !tbaa !14
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %8, label %7

7:                                                ; preds = %5
  tail call void @qh_checkdelridge() #2
  br label %8

8:                                                ; preds = %7, %5
  %9 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2784), align 8, !tbaa !15
  %10 = add i32 %9, 1
  store i32 %10, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2784), align 8, !tbaa !15
  %.082134 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2488), align 8, !tbaa !16
  %.not95135 = icmp eq ptr %.082134, null
  br i1 %.not95135, label %.critedge, label %.lr.ph137

.lr.ph137:                                        ; preds = %8, %.loopexit128
  %.082136 = phi ptr [ %.082, %.loopexit128 ], [ %.082134, %8 ]
  %11 = getelementptr inbounds i8, ptr %.082136, i64 112
  %12 = load i32, ptr %11, align 8
  %13 = and i32 %12, 2048
  %.not96 = icmp eq i32 %13, 0
  br i1 %.not96, label %.critedge, label %14

14:                                               ; preds = %.lr.ph137
  %15 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2784), align 8, !tbaa !15
  %16 = getelementptr inbounds i8, ptr %.082136, i64 104
  store i32 %15, ptr %16, align 8, !tbaa !17
  %17 = getelementptr inbounds i8, ptr %.082136, i64 72
  %18 = load ptr, ptr %17, align 8, !tbaa !19
  %.not116 = icmp eq ptr %18, null
  br i1 %.not116, label %.loopexit128, label %.preheader127

.preheader127:                                    ; preds = %14
  %.0131 = getelementptr inbounds i8, ptr %18, i64 8
  %19 = load ptr, ptr %.0131, align 8, !tbaa !16
  %.not117132 = icmp eq ptr %19, null
  br i1 %.not117132, label %.loopexit128, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader127, %40
  %20 = phi ptr [ %41, %40 ], [ %19, %.preheader127 ]
  %.0133 = phi ptr [ %.0, %40 ], [ %.0131, %.preheader127 ]
  %21 = getelementptr inbounds i8, ptr %20, i64 8
  %22 = load ptr, ptr %21, align 8, !tbaa !20
  %23 = icmp eq ptr %22, %.082136
  br i1 %23, label %24, label %27

24:                                               ; preds = %.lr.ph
  %25 = getelementptr inbounds i8, ptr %20, i64 16
  %26 = load ptr, ptr %25, align 8, !tbaa !22
  br label %27

27:                                               ; preds = %.lr.ph, %24
  %28 = phi ptr [ %26, %24 ], [ %22, %.lr.ph ]
  %29 = getelementptr inbounds i8, ptr %28, i64 104
  %30 = load i32, ptr %29, align 8, !tbaa !17
  %31 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2784), align 8, !tbaa !15
  %32 = icmp eq i32 %30, %31
  %.phi.trans.insert = getelementptr inbounds i8, ptr %28, i64 112
  %.pre = load i32, ptr %.phi.trans.insert, align 8
  %33 = and i32 %.pre, 10240
  %or.cond.not = icmp eq i32 %33, 8192
  %or.cond = select i1 %32, i1 true, i1 %or.cond.not
  br i1 %or.cond, label %._crit_edge164, label %40

._crit_edge164:                                   ; preds = %27
  %34 = and i32 %.pre, 2048
  %.not120 = icmp eq i32 %34, 0
  br i1 %.not120, label %35, label %39

35:                                               ; preds = %._crit_edge164
  %36 = getelementptr inbounds i8, ptr %28, i64 72
  %37 = load ptr, ptr %36, align 8, !tbaa !19
  %38 = tail call ptr @qh_setdel(ptr noundef %37, ptr noundef nonnull %20) #2
  br label %39

39:                                               ; preds = %35, %._crit_edge164
  tail call void @qh_delridge(ptr noundef nonnull %20) #2
  br label %40

40:                                               ; preds = %27, %39
  %.0 = getelementptr inbounds i8, ptr %.0133, i64 8
  %41 = load ptr, ptr %.0, align 8, !tbaa !16
  %.not117 = icmp eq ptr %41, null
  br i1 %.not117, label %.loopexit128, label %.lr.ph, !llvm.loop !23

.loopexit128:                                     ; preds = %40, %.preheader127, %14
  %42 = getelementptr inbounds i8, ptr %.082136, i64 56
  %.082 = load ptr, ptr %42, align 8, !tbaa !16
  %.not95 = icmp eq ptr %.082, null
  br i1 %.not95, label %.critedge, label %.lr.ph137, !llvm.loop !25

.critedge:                                        ; preds = %.lr.ph137, %.loopexit128, %8
  %43 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !5
  %44 = icmp sgt i32 %43, 0
  br i1 %44, label %45, label %47

45:                                               ; preds = %.critedge
  %46 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !13
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %46, i32 noundef 1017, ptr noundef nonnull @.str.3) #2
  br label %47

47:                                               ; preds = %45, %.critedge
  %.083146 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2480), align 8, !tbaa !16
  %.not97147 = icmp eq ptr %.083146, null
  br i1 %.not97147, label %.critedge2, label %.lr.ph150

.lr.ph150:                                        ; preds = %47, %134
  %.083148 = phi ptr [ %.083, %134 ], [ %.083146, %47 ]
  %48 = getelementptr inbounds i8, ptr %.083148, i64 56
  %49 = load ptr, ptr %48, align 8, !tbaa !26
  %.not98 = icmp eq ptr %49, null
  br i1 %.not98, label %.critedge2, label %50

50:                                               ; preds = %.lr.ph150
  %51 = getelementptr inbounds i8, ptr %.083148, i64 80
  %52 = load ptr, ptr %51, align 8, !tbaa !27
  %53 = getelementptr inbounds i8, ptr %52, i64 8
  %54 = load ptr, ptr %53, align 8, !tbaa !28
  %55 = getelementptr inbounds i8, ptr %54, i64 112
  %56 = load i32, ptr %55, align 8
  %57 = and i32 %56, 8192
  %.not106 = icmp eq i32 %57, 0
  %58 = getelementptr inbounds i8, ptr %54, i64 80
  %59 = load ptr, ptr %58, align 8, !tbaa !27
  %.not107 = icmp eq ptr %59, null
  br i1 %.not106, label %95, label %60

60:                                               ; preds = %50
  br i1 %.not107, label %.thread, label %61

61:                                               ; preds = %60
  %62 = getelementptr inbounds i8, ptr %59, i64 8
  %63 = load ptr, ptr %62, align 8, !tbaa !16
  %.not111139 = icmp eq ptr %63, null
  br i1 %.not111139, label %.thread, label %.lr.ph141

.lr.ph141:                                        ; preds = %61
  %64 = getelementptr inbounds i8, ptr %59, i64 16
  %65 = getelementptr inbounds i8, ptr %.083148, i64 64
  %66 = getelementptr inbounds i8, ptr %54, i64 64
  br label %67

67:                                               ; preds = %.lr.ph141, %85
  %68 = phi ptr [ %63, %.lr.ph141 ], [ %87, %85 ]
  %69 = phi ptr [ %64, %.lr.ph141 ], [ %86, %85 ]
  %.1140 = phi ptr [ null, %.lr.ph141 ], [ %.2, %85 ]
  %70 = getelementptr inbounds i8, ptr %68, i64 112
  %71 = load i32, ptr %70, align 8
  %72 = and i32 %71, 2048
  %.not112 = icmp eq i32 %72, 0
  br i1 %.not112, label %85, label %73

73:                                               ; preds = %67
  %.not113 = icmp eq ptr %.1140, null
  br i1 %.not113, label %85, label %74

74:                                               ; preds = %73
  %75 = load ptr, ptr %65, align 8, !tbaa !29
  %76 = load ptr, ptr %66, align 8, !tbaa !29
  %77 = load ptr, ptr %58, align 8, !tbaa !27
  %78 = getelementptr inbounds i8, ptr %77, i64 16
  %79 = ptrtoint ptr %69 to i64
  %80 = ptrtoint ptr %78 to i64
  %81 = sub i64 %79, %80
  %82 = lshr exact i64 %81, 3
  %83 = trunc i64 %82 to i32
  %84 = tail call i32 @qh_setequal_skip(ptr noundef %75, i32 noundef 0, ptr noundef %76, i32 noundef %83) #2
  %.not114 = icmp eq i32 %84, 0
  br i1 %.not114, label %85, label %.thread123

85:                                               ; preds = %73, %74, %67
  %.2 = phi ptr [ %.1140, %74 ], [ %.1140, %67 ], [ %68, %73 ]
  %86 = getelementptr inbounds i8, ptr %69, i64 8
  %87 = load ptr, ptr %69, align 8, !tbaa !16
  %.not111 = icmp eq ptr %87, null
  br i1 %.not111, label %._crit_edge, label %67, !llvm.loop !30

._crit_edge:                                      ; preds = %85
  %.not115 = icmp eq ptr %.2, null
  br i1 %.not115, label %.thread, label %.thread123

.thread123:                                       ; preds = %74, %._crit_edge
  %.3126 = phi ptr [ %.2, %._crit_edge ], [ %68, %74 ]
  %88 = getelementptr inbounds i8, ptr %.3126, i64 32
  store ptr %.083148, ptr %88, align 8, !tbaa !28
  %89 = load ptr, ptr %58, align 8, !tbaa !27
  tail call void @qh_setreplace(ptr noundef %89, ptr noundef nonnull %.3126, ptr noundef nonnull %.083148) #2
  br label %134

.thread:                                          ; preds = %61, %60, %._crit_edge
  %90 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !13
  %91 = getelementptr inbounds i8, ptr %54, i64 108
  %92 = load i32, ptr %91, align 4, !tbaa !31
  %93 = getelementptr inbounds i8, ptr %.083148, i64 108
  %94 = load i32, ptr %93, align 4, !tbaa !31
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %90, i32 noundef 6102, ptr noundef nonnull @.str.4, i32 noundef %92, i32 noundef %94) #2
  tail call void @qh_errexit2(i32 noundef 5, ptr noundef %54, ptr noundef nonnull %.083148) #2
  br label %134

95:                                               ; preds = %50
  br i1 %.not107, label %.loopexit, label %96

96:                                               ; preds = %95
  %97 = getelementptr inbounds i8, ptr %59, i64 8
  %98 = load ptr, ptr %97, align 8, !tbaa !16
  %.not108142 = icmp eq ptr %98, null
  br i1 %.not108142, label %.loopexit, label %.lr.ph145.preheader

.lr.ph145.preheader:                              ; preds = %96
  %99 = getelementptr inbounds i8, ptr %59, i64 16
  br label %.lr.ph145

.lr.ph145:                                        ; preds = %.lr.ph145.preheader, %115
  %100 = phi ptr [ %117, %115 ], [ %98, %.lr.ph145.preheader ]
  %101 = phi ptr [ %116, %115 ], [ %99, %.lr.ph145.preheader ]
  %.185143 = phi ptr [ %.286, %115 ], [ %97, %.lr.ph145.preheader ]
  %102 = getelementptr inbounds i8, ptr %100, i64 112
  %103 = load i32, ptr %102, align 8
  %104 = and i32 %103, 2048
  %.not109 = icmp eq i32 %104, 0
  br i1 %.not109, label %115, label %105

105:                                              ; preds = %.lr.ph145
  %106 = getelementptr inbounds i8, ptr %100, i64 32
  store ptr %.083148, ptr %106, align 8, !tbaa !28
  %107 = load ptr, ptr %58, align 8, !tbaa !27
  %108 = getelementptr inbounds i8, ptr %107, i64 16
  %109 = ptrtoint ptr %101 to i64
  %110 = ptrtoint ptr %108 to i64
  %111 = sub i64 %109, %110
  %112 = lshr exact i64 %111, 3
  %113 = trunc i64 %112 to i32
  %114 = tail call ptr @qh_setdelnth(ptr noundef %107, i32 noundef %113) #2
  br label %115

115:                                              ; preds = %105, %.lr.ph145
  %.286 = phi ptr [ %.185143, %105 ], [ %101, %.lr.ph145 ]
  %116 = getelementptr inbounds i8, ptr %.286, i64 8
  %117 = load ptr, ptr %.286, align 8, !tbaa !16
  %.not108 = icmp eq ptr %117, null
  br i1 %.not108, label %.loopexit, label %.lr.ph145, !llvm.loop !32

.loopexit:                                        ; preds = %115, %96, %95
  tail call void @qh_setappend(ptr noundef nonnull %58, ptr noundef nonnull %.083148) #2
  %118 = getelementptr inbounds i8, ptr %.083148, i64 72
  %119 = load ptr, ptr %118, align 8, !tbaa !19
  %120 = getelementptr inbounds i8, ptr %119, i64 8
  %121 = load ptr, ptr %120, align 8, !tbaa !28
  %122 = getelementptr inbounds i8, ptr %121, i64 8
  %123 = load ptr, ptr %122, align 8, !tbaa !20
  %124 = icmp eq ptr %123, %54
  br i1 %124, label %125, label %130

125:                                              ; preds = %.loopexit
  %126 = getelementptr inbounds i8, ptr %121, i64 16
  store ptr %.083148, ptr %126, align 8, !tbaa !22
  %127 = getelementptr inbounds i8, ptr %121, i64 28
  %128 = load i8, ptr %127, align 4
  %129 = or i8 %128, 64
  store i8 %129, ptr %127, align 4
  br label %134

130:                                              ; preds = %.loopexit
  store ptr %.083148, ptr %122, align 8, !tbaa !20
  %131 = getelementptr inbounds i8, ptr %121, i64 28
  %132 = load i8, ptr %131, align 4
  %133 = or i8 %132, 32
  store i8 %133, ptr %131, align 4
  br label %134

134:                                              ; preds = %.thread, %.thread123, %130, %125
  %.083 = load ptr, ptr %48, align 8, !tbaa !16
  %.not97 = icmp eq ptr %.083, null
  br i1 %.not97, label %.critedge2, label %.lr.ph150, !llvm.loop !33

.critedge2:                                       ; preds = %.lr.ph150, %134, %47
  %135 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !5
  %136 = icmp sgt i32 %135, 3
  br i1 %136, label %137, label %139

137:                                              ; preds = %.critedge2
  %138 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !13
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %138, i32 noundef 4094, ptr noundef nonnull @.str.5) #2
  br label %139

139:                                              ; preds = %137, %.critedge2
  %.4152 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2488), align 8, !tbaa !16
  %.not99153 = icmp eq ptr %.4152, null
  br i1 %.not99153, label %.critedge4, label %.lr.ph156

.lr.ph156:                                        ; preds = %139, %148
  %.4154 = phi ptr [ %.4, %148 ], [ %.4152, %139 ]
  %140 = getelementptr inbounds i8, ptr %.4154, i64 112
  %141 = load i32, ptr %140, align 8
  %142 = and i32 %141, 2048
  %.not100 = icmp eq i32 %142, 0
  br i1 %.not100, label %.critedge4, label %143

143:                                              ; preds = %.lr.ph156
  %144 = getelementptr inbounds i8, ptr %.4154, i64 72
  %145 = load ptr, ptr %144, align 8, !tbaa !19
  %.not105 = icmp eq ptr %145, null
  br i1 %.not105, label %148, label %146

146:                                              ; preds = %143
  %147 = getelementptr inbounds i8, ptr %145, i64 8
  store ptr null, ptr %147, align 8, !tbaa !28
  br label %148

148:                                              ; preds = %146, %143
  %149 = getelementptr inbounds i8, ptr %.4154, i64 80
  %150 = load ptr, ptr %149, align 8, !tbaa !27
  %151 = getelementptr inbounds i8, ptr %150, i64 8
  store ptr null, ptr %151, align 8, !tbaa !28
  %152 = getelementptr inbounds i8, ptr %.4154, i64 56
  %.4 = load ptr, ptr %152, align 8, !tbaa !16
  %.not99 = icmp eq ptr %.4, null
  br i1 %.not99, label %.critedge4, label %.lr.ph156, !llvm.loop !34

.critedge4:                                       ; preds = %.lr.ph156, %148, %139
  store i32 0, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2708), align 4, !tbaa !35
  store i32 1, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2704), align 8, !tbaa !36
  %153 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 424), align 8, !tbaa !37
  %.not101 = icmp eq i32 %153, 0
  br i1 %.not101, label %.critedge6, label %.preheader

.preheader:                                       ; preds = %.critedge4
  %.5158 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2488), align 8, !tbaa !16
  %.not102159 = icmp eq ptr %.5158, null
  br i1 %.not102159, label %.critedge6, label %.lr.ph161.preheader

.lr.ph161.preheader:                              ; preds = %.preheader
  %.promoted = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 880), align 8, !tbaa !28
  br label %.lr.ph161

.lr.ph161:                                        ; preds = %.lr.ph161.preheader, %163
  %.5160 = phi ptr [ %.5, %163 ], [ %.5158, %.lr.ph161.preheader ]
  %154 = phi i32 [ %164, %163 ], [ %.promoted, %.lr.ph161.preheader ]
  %155 = getelementptr inbounds i8, ptr %.5160, i64 112
  %156 = load i32, ptr %155, align 8
  %157 = and i32 %156, 2048
  %.not103 = icmp eq i32 %157, 0
  br i1 %.not103, label %.critedge6, label %158

158:                                              ; preds = %.lr.ph161
  %159 = getelementptr inbounds i8, ptr %.5160, i64 32
  %160 = load ptr, ptr %159, align 8, !tbaa !28
  %.not104 = icmp eq ptr %160, null
  br i1 %.not104, label %161, label %163

161:                                              ; preds = %158
  %162 = add nsw i32 %154, 1
  store i32 %162, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 880), align 8, !tbaa !28
  br label %163

163:                                              ; preds = %158, %161
  %164 = phi i32 [ %154, %158 ], [ %162, %161 ]
  %165 = getelementptr inbounds i8, ptr %.5160, i64 56
  %.5 = load ptr, ptr %165, align 8, !tbaa !16
  %.not102 = icmp eq ptr %.5, null
  br i1 %.not102, label %.critedge6, label %.lr.ph161, !llvm.loop !38

.critedge6:                                       ; preds = %163, %.lr.ph161, %.preheader, %.critedge4
  ret void
}

declare void @qh_checkdelridge() local_unnamed_addr #0

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

declare void @qh_delridge(ptr noundef) local_unnamed_addr #0

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

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

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

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

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

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


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