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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.qhT = type { i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, double, double, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [29 x i32], i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, ptr, i32, [256 x i8], i32, [256 x i8], [512 x i8], i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, ptr, double, double, double, double, i32, [6 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, ptr, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, ptr, ptr, i32, i32, i32, double, i32, double, double, double, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, ptr, double, double, double, double, i32, i32, i32, i32, i32, i32, ptr, ptr, i32 }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%struct.qhstatT = type { [249 x %union.intrealT], [259 x i8], [249 x ptr], [249 x i16], [249 x i8], [249 x i8], [9 x %union.intrealT], i32, i32, i32, i32, double }
%union.intrealT = type { double }
%struct.vertexT = type { ptr, ptr, ptr, ptr, i32, i32, i8 }
%struct.setT = type { i32, [1 x %union.setelemT] }
%union.setelemT = type { ptr }
%struct.ridgeT = type { ptr, ptr, ptr, i32, i8 }

@qh_qh = external global %struct.qhT, align 8
@qh_qhstat = external global %struct.qhstatT, align 8
@.str.64 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [82 x i8], align 1

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

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

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

declare i32 @qh_setsize(ptr noundef) #1

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @qh_find_newvertex(ptr noundef %0, ptr noundef %1, ptr noundef %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  %18 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !9
  %19 = icmp sge i32 %18, 4
  br i1 %19, label %20, label %62

20:                                               ; preds = %3
  %21 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !14
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.vertexT, ptr %22, i32 0, i32 4
  %24 = load i32, ptr %23, align 8, !tbaa !15
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %21, i32 noundef 8063, ptr noundef @.str.64, i32 noundef %24)
  store ptr null, ptr %8, align 8, !tbaa !5
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = icmp ne ptr %25, null
  br i1 %26, label %27, label %42

27:                                               ; preds = %20
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.setT, ptr %28, i32 0, i32 1
  %30 = getelementptr inbounds [1 x %union.setelemT], ptr %29, i64 0, i64 0
  store ptr %30, ptr %9, align 8, !tbaa !5
  br label %31

31:                                               ; preds = %36, %27
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  %33 = getelementptr inbounds ptr, ptr %32, i32 1
  store ptr %33, ptr %9, align 8, !tbaa !5
  %34 = load ptr, ptr %32, align 8, !tbaa !5
  store ptr %34, ptr %8, align 8, !tbaa !5
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %41

36:                                               ; preds = %31
  %37 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !14
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.vertexT, ptr %38, i32 0, i32 4
  %40 = load i32, ptr %39, align 8, !tbaa !15
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %37, i32 noundef 8064, ptr noundef @.str.65, i32 noundef %40)
  br label %31, !llvm.loop !17

41:                                               ; preds = %31
  br label %42

42:                                               ; preds = %41, %20
  store ptr null, ptr %11, align 8, !tbaa !5
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %60

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

49:                                               ; preds = %54, %45
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = getelementptr inbounds ptr, ptr %50, i32 1
  store ptr %51, ptr %12, align 8, !tbaa !5
  %52 = load ptr, ptr %50, align 8, !tbaa !5
  store ptr %52, ptr %11, align 8, !tbaa !5
  %53 = icmp ne ptr %52, null
  br i1 %53, label %54, label %59

54:                                               ; preds = %49
  %55 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !14
  %56 = load ptr, ptr %11, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ridgeT, ptr %56, i32 0, i32 3
  %58 = load i32, ptr %57, align 8, !tbaa !19
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %55, i32 noundef 8065, ptr noundef @.str.66, i32 noundef %58)
  br label %49, !llvm.loop !21

59:                                               ; preds = %49
  br label %60

60:                                               ; preds = %59, %42
  %61 = 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 %61, i32 noundef 8066, ptr noundef @.str.67)
  br label %62

62:                                               ; preds = %60, %3
  store ptr null, ptr %11, align 8, !tbaa !5
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = icmp ne ptr %63, null
  br i1 %64, label %65, label %99

65:                                               ; preds = %62
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.setT, ptr %66, i32 0, i32 1
  %68 = getelementptr inbounds [1 x %union.setelemT], ptr %67, i64 0, i64 0
  store ptr %68, ptr %12, align 8, !tbaa !5
  br label %69

69:                                               ; preds = %97, %65
  %70 = load ptr, ptr %12, align 8, !tbaa !5
  %71 = getelementptr inbounds ptr, ptr %70, i32 1
  store ptr %71, ptr %12, align 8, !tbaa !5
  %72 = load ptr, ptr %70, align 8, !tbaa !5
  store ptr %72, ptr %11, align 8, !tbaa !5
  %73 = icmp ne ptr %72, null
  br i1 %73, label %74, label %98

74:                                               ; preds = %69
  store ptr null, ptr %8, align 8, !tbaa !5
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.ridgeT, ptr %75, i32 0, i32 0
  %77 = load ptr, ptr %76, align 8, !tbaa !22
  %78 = icmp ne ptr %77, null
  br i1 %78, label %79, label %97

79:                                               ; preds = %74
  %80 = load ptr, ptr %11, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.ridgeT, ptr %80, i32 0, i32 0
  %82 = load ptr, ptr %81, align 8, !tbaa !22
  %83 = getelementptr inbounds %struct.setT, ptr %82, i32 0, i32 1
  %84 = getelementptr inbounds [1 x %union.setelemT], ptr %83, i64 0, i64 0
  store ptr %84, ptr %9, align 8, !tbaa !5
  br label %85

85:                                               ; preds = %90, %79
  %86 = load ptr, ptr %9, align 8, !tbaa !5
  %87 = getelementptr inbounds ptr, ptr %86, i32 1
  store ptr %87, ptr %9, align 8, !tbaa !5
  %88 = load ptr, ptr %86, align 8, !tbaa !5
  store ptr %88, ptr %8, align 8, !tbaa !5
  %89 = icmp ne ptr %88, null
  br i1 %89, label %90, label %96

90:                                               ; preds = %85
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.vertexT, ptr %91, i32 0, i32 6
  %93 = load i8, ptr %92, align 8
  %94 = and i8 %93, -2
  %95 = or i8 %94, 0
  store i8 %95, ptr %92, align 8
  br label %85, !llvm.loop !23

96:                                               ; preds = %85
  br label %97

97:                                               ; preds = %96, %74
  br label %69, !llvm.loop !24

98:                                               ; preds = %69
  br label %99

99:                                               ; preds = %98, %62
  store ptr null, ptr %8, align 8, !tbaa !5
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = icmp ne ptr %100, null
  br i1 %101, label %102, label %120

102:                                              ; preds = %99
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.setT, ptr %103, i32 0, i32 1
  %105 = getelementptr inbounds [1 x %union.setelemT], ptr %104, i64 0, i64 0
  store ptr %105, ptr %9, align 8, !tbaa !5
  br label %106

106:                                              ; preds = %111, %102
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = getelementptr inbounds ptr, ptr %107, i32 1
  store ptr %108, ptr %9, align 8, !tbaa !5
  %109 = load ptr, ptr %107, align 8, !tbaa !5
  store ptr %109, ptr %8, align 8, !tbaa !5
  %110 = icmp ne ptr %109, null
  br i1 %110, label %111, label %119

111:                                              ; preds = %106
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.vertexT, ptr %112, i32 0, i32 5
  store i32 0, ptr %113, align 4, !tbaa !25
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.vertexT, ptr %114, i32 0, i32 6
  %116 = load i8, ptr %115, align 8
  %117 = and i8 %116, -2
  %118 = or i8 %117, 1
  store i8 %118, ptr %115, align 8
  br label %106, !llvm.loop !26

119:                                              ; preds = %106
  br label %120

120:                                              ; preds = %119, %99
  store ptr null, ptr %11, align 8, !tbaa !5
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = icmp ne ptr %121, null
  br i1 %122, label %123, label %164

123:                                              ; preds = %120
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.setT, ptr %124, i32 0, i32 1
  %126 = getelementptr inbounds [1 x %union.setelemT], ptr %125, i64 0, i64 0
  store ptr %126, ptr %12, align 8, !tbaa !5
  br label %127

127:                                              ; preds = %162, %123
  %128 = load ptr, ptr %12, align 8, !tbaa !5
  %129 = getelementptr inbounds ptr, ptr %128, i32 1
  store ptr %129, ptr %12, align 8, !tbaa !5
  %130 = load ptr, ptr %128, align 8, !tbaa !5
  store ptr %130, ptr %11, align 8, !tbaa !5
  %131 = icmp ne ptr %130, null
  br i1 %131, label %132, label %163

132:                                              ; preds = %127
  store ptr null, ptr %8, align 8, !tbaa !5
  %133 = load ptr, ptr %11, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.ridgeT, ptr %133, i32 0, i32 0
  %135 = load ptr, ptr %134, align 8, !tbaa !22
  %136 = icmp ne ptr %135, null
  br i1 %136, label %137, label %162

137:                                              ; preds = %132
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.ridgeT, ptr %138, i32 0, i32 0
  %140 = load ptr, ptr %139, align 8, !tbaa !22
  %141 = getelementptr inbounds %struct.setT, ptr %140, i32 0, i32 1
  %142 = getelementptr inbounds [1 x %union.setelemT], ptr %141, i64 0, i64 0
  store ptr %142, ptr %9, align 8, !tbaa !5
  br label %143

143:                                              ; preds = %160, %137
  %144 = load ptr, ptr %9, align 8, !tbaa !5
  %145 = getelementptr inbounds ptr, ptr %144, i32 1
  store ptr %145, ptr %9, align 8, !tbaa !5
  %146 = load ptr, ptr %144, align 8, !tbaa !5
  store ptr %146, ptr %8, align 8, !tbaa !5
  %147 = icmp ne ptr %146, null
  br i1 %147, label %148, label %161

148:                                              ; preds = %143
  %149 = load ptr, ptr %8, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.vertexT, ptr %149, i32 0, i32 6
  %151 = load i8, ptr %150, align 8
  %152 = and i8 %151, 1
  %153 = zext i8 %152 to i32
  %154 = icmp ne i32 %153, 0
  br i1 %154, label %155, label %160

155:                                              ; preds = %148
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.vertexT, ptr %156, i32 0, i32 5
  %158 = load i32, ptr %157, align 4, !tbaa !25
  %159 = add i32 %158, 1
  store i32 %159, ptr %157, align 4, !tbaa !25
  br label %160

160:                                              ; preds = %155, %148
  br label %143, !llvm.loop !27

161:                                              ; preds = %143
  br label %162

162:                                              ; preds = %161, %132
  br label %127, !llvm.loop !28

163:                                              ; preds = %127
  br label %164

164:                                              ; preds = %163, %120
  store ptr null, ptr %8, align 8, !tbaa !5
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = icmp ne ptr %165, null
  br i1 %166, label %167, label %197

167:                                              ; preds = %164
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.setT, ptr %168, i32 0, i32 1
  %170 = getelementptr inbounds [1 x %union.setelemT], ptr %169, i64 0, i64 0
  store ptr %170, ptr %9, align 8, !tbaa !5
  br label %171

171:                                              ; preds = %195, %167
  %172 = load ptr, ptr %9, align 8, !tbaa !5
  %173 = getelementptr inbounds ptr, ptr %172, i32 1
  store ptr %173, ptr %9, align 8, !tbaa !5
  %174 = load ptr, ptr %172, align 8, !tbaa !5
  store ptr %174, ptr %8, align 8, !tbaa !5
  %175 = icmp ne ptr %174, null
  br i1 %175, label %176, label %196

176:                                              ; preds = %171
  %177 = load ptr, ptr %8, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.vertexT, ptr %177, i32 0, i32 5
  %179 = load i32, ptr %178, align 4, !tbaa !25
  %180 = icmp ne i32 %179, 0
  br i1 %180, label %195, label %181

181:                                              ; preds = %176
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = load ptr, ptr %9, align 8, !tbaa !5
  %184 = load ptr, ptr %6, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.setT, ptr %184, i32 0, i32 1
  %186 = getelementptr inbounds [1 x %union.setelemT], ptr %185, i64 0, i64 1
  %187 = ptrtoint ptr %183 to i64
  %188 = ptrtoint ptr %186 to i64
  %189 = sub i64 %187, %188
  %190 = sdiv exact i64 %189, 8
  %191 = trunc i64 %190 to i32
  %192 = call ptr @qh_setdelnth(ptr noundef %182, i32 noundef %191)
  %193 = load ptr, ptr %9, align 8, !tbaa !5
  %194 = getelementptr inbounds ptr, ptr %193, i32 -1
  store ptr %194, ptr %9, align 8, !tbaa !5
  br label %195

195:                                              ; preds = %181, %176
  br label %171, !llvm.loop !29

196:                                              ; preds = %171
  br label %197

197:                                              ; preds = %196, %164
  %198 = load ptr, ptr %7, align 8, !tbaa !5
  %199 = call i32 @qh_setsize(ptr noundef %198)
  store i32 %199, ptr %16, align 4, !tbaa !30
  %200 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 218), align 4, !tbaa !31
  %201 = load i32, ptr %16, align 4, !tbaa !30
  %202 = icmp ult i32 %200, %201
  br i1 %202, label %203, label %205

203:                                              ; preds = %197
  %204 = load i32, ptr %16, align 4, !tbaa !30
  store i32 %204, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 218), align 4, !tbaa !31
  br label %205

205:                                              ; preds = %203, %197
  %206 = load ptr, ptr %6, align 8, !tbaa !5
  %207 = call i32 @qh_setsize(ptr noundef %206)
  %208 = icmp ne i32 %207, 0
  br i1 %208, label %218, label %209

209:                                              ; preds = %205
  %210 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !9
  %211 = icmp sge i32 %210, 4
  br i1 %211, label %212, label %217

212:                                              ; preds = %209
  %213 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !14
  %214 = load ptr, ptr %5, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.vertexT, ptr %214, i32 0, i32 4
  %216 = load i32, ptr %215, align 8, !tbaa !15
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %213, i32 noundef 4023, ptr noundef @.str.68, i32 noundef %216)
  br label %217

217:                                              ; preds = %212, %209
  store ptr null, ptr %4, align 8
  store i32 1, ptr %17, align 4
  br label %340

218:                                              ; preds = %205
  %219 = load ptr, ptr %6, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.setT, ptr %219, i32 0, i32 1
  %221 = getelementptr inbounds [1 x %union.setelemT], ptr %220, i64 0, i64 0
  %222 = load ptr, ptr %6, align 8, !tbaa !5
  %223 = call i32 @qh_setsize(ptr noundef %222)
  %224 = sext i32 %223 to i64
  call void @qsort(ptr noundef %221, i64 noundef %224, i64 noundef 8, ptr noundef @qh_comparevisit)
  %225 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 67), align 8, !tbaa !32
  %226 = icmp ne i32 %225, 0
  br i1 %226, label %227, label %241

227:                                              ; preds = %218
  %228 = load ptr, ptr %6, align 8, !tbaa !5
  %229 = call i32 @qh_setsize(ptr noundef %228)
  store i32 %229, ptr %13, align 4, !tbaa !30
  %230 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 111), align 8, !tbaa !33
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 111), align 8, !tbaa !33
  %232 = load i32, ptr %13, align 4, !tbaa !30
  %233 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 115), align 8, !tbaa !33
  %234 = add nsw i32 %233, %232
  store i32 %234, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 115), align 8, !tbaa !33
  %235 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 113), align 8, !tbaa !33
  %236 = load i32, ptr %13, align 4, !tbaa !30
  %237 = icmp slt i32 %235, %236
  br i1 %237, label %238, label %240

238:                                              ; preds = %227
  %239 = load i32, ptr %13, align 4, !tbaa !30
  store i32 %239, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 113), align 8, !tbaa !33
  br label %240

240:                                              ; preds = %238, %227
  br label %241

241:                                              ; preds = %240, %218
  %242 = load ptr, ptr %7, align 8, !tbaa !5
  %243 = call i32 @qh_setsize(ptr noundef %242)
  %244 = call i32 @qh_newhashtable(i32 noundef %243)
  store i32 %244, ptr %14, align 4, !tbaa !30
  store ptr null, ptr %11, align 8, !tbaa !5
  %245 = load ptr, ptr %7, align 8, !tbaa !5
  %246 = icmp ne ptr %245, null
  br i1 %246, label %247, label %262

247:                                              ; preds = %241
  %248 = load ptr, ptr %7, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.setT, ptr %248, i32 0, i32 1
  %250 = getelementptr inbounds [1 x %union.setelemT], ptr %249, i64 0, i64 0
  store ptr %250, ptr %12, align 8, !tbaa !5
  br label %251

251:                                              ; preds = %256, %247
  %252 = load ptr, ptr %12, align 8, !tbaa !5
  %253 = getelementptr inbounds ptr, ptr %252, i32 1
  store ptr %253, ptr %12, align 8, !tbaa !5
  %254 = load ptr, ptr %252, align 8, !tbaa !5
  store ptr %254, ptr %11, align 8, !tbaa !5
  %255 = icmp ne ptr %254, null
  br i1 %255, label %256, label %261

256:                                              ; preds = %251
  %257 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 224), align 8, !tbaa !34
  %258 = load i32, ptr %14, align 4, !tbaa !30
  %259 = load ptr, ptr %11, align 8, !tbaa !5
  %260 = load ptr, ptr %5, align 8, !tbaa !5
  call void @qh_hashridge(ptr noundef %257, i32 noundef %258, ptr noundef %259, ptr noundef %260)
  br label %251, !llvm.loop !35

261:                                              ; preds = %251
  br label %262

262:                                              ; preds = %261, %241
  store ptr null, ptr %8, align 8, !tbaa !5
  %263 = load ptr, ptr %6, align 8, !tbaa !5
  %264 = icmp ne ptr %263, null
  br i1 %264, label %265, label %307

265:                                              ; preds = %262
  %266 = load ptr, ptr %6, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.setT, ptr %266, i32 0, i32 1
  %268 = getelementptr inbounds [1 x %union.setelemT], ptr %267, i64 0, i64 0
  store ptr %268, ptr %9, align 8, !tbaa !5
  br label %269

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

274:                                              ; preds = %269
  %275 = load ptr, ptr %8, align 8, !tbaa !5
  %276 = call ptr @qh_vertexridges(ptr noundef %275, i32 noundef 0)
  store ptr %276, ptr %10, align 8, !tbaa !5
  store ptr null, ptr %11, align 8, !tbaa !5
  %277 = load ptr, ptr %10, align 8, !tbaa !5
  %278 = icmp ne ptr %277, null
  br i1 %278, label %279, label %301

279:                                              ; preds = %274
  %280 = load ptr, ptr %10, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.setT, ptr %280, i32 0, i32 1
  %282 = getelementptr inbounds [1 x %union.setelemT], ptr %281, i64 0, i64 0
  store ptr %282, ptr %12, align 8, !tbaa !5
  br label %283

283:                                              ; preds = %299, %279
  %284 = load ptr, ptr %12, align 8, !tbaa !5
  %285 = getelementptr inbounds ptr, ptr %284, i32 1
  store ptr %285, ptr %12, align 8, !tbaa !5
  %286 = load ptr, ptr %284, align 8, !tbaa !5
  store ptr %286, ptr %11, align 8, !tbaa !5
  %287 = icmp ne ptr %286, null
  br i1 %287, label %288, label %300

288:                                              ; preds = %283
  %289 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 224), align 8, !tbaa !34
  %290 = load i32, ptr %14, align 4, !tbaa !30
  %291 = load ptr, ptr %11, align 8, !tbaa !5
  %292 = load ptr, ptr %8, align 8, !tbaa !5
  %293 = load ptr, ptr %5, align 8, !tbaa !5
  %294 = call ptr @qh_hashridge_find(ptr noundef %289, i32 noundef %290, ptr noundef %291, ptr noundef %292, ptr noundef %293, ptr noundef %15)
  %295 = icmp ne ptr %294, null
  br i1 %295, label %296, label %299

296:                                              ; preds = %288
  %297 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 235), align 8, !tbaa !33
  %298 = add nsw i32 %297, 1
  store i32 %298, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 235), align 8, !tbaa !33
  br label %300

299:                                              ; preds = %288
  br label %283, !llvm.loop !36

300:                                              ; preds = %296, %283
  br label %301

301:                                              ; preds = %300, %274
  call void @qh_settempfree(ptr noundef %10)
  %302 = load ptr, ptr %11, align 8, !tbaa !5
  %303 = icmp ne ptr %302, null
  br i1 %303, label %305, label %304

304:                                              ; preds = %301
  br label %306

305:                                              ; preds = %301
  br label %269, !llvm.loop !37

306:                                              ; preds = %304, %269
  br label %307

307:                                              ; preds = %306, %262
  %308 = load ptr, ptr %8, align 8, !tbaa !5
  %309 = icmp ne ptr %308, null
  br i1 %309, label %310, label %326

310:                                              ; preds = %307
  %311 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !9
  %312 = icmp sge i32 %311, 2
  br i1 %312, label %313, label %325

313:                                              ; preds = %310
  %314 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !14
  %315 = load ptr, ptr %8, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.vertexT, ptr %315, i32 0, i32 4
  %317 = load i32, ptr %316, align 8, !tbaa !15
  %318 = load ptr, ptr %5, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.vertexT, ptr %318, i32 0, i32 4
  %320 = load i32, ptr %319, align 8, !tbaa !15
  %321 = load ptr, ptr %6, align 8, !tbaa !5
  %322 = call i32 @qh_setsize(ptr noundef %321)
  %323 = load ptr, ptr %7, align 8, !tbaa !5
  %324 = call i32 @qh_setsize(ptr noundef %323)
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %314, i32 noundef 2020, ptr noundef @.str.69, i32 noundef %317, i32 noundef %320, i32 noundef %322, i32 noundef %324)
  br label %325

325:                                              ; preds = %313, %310
  br label %338

326:                                              ; preds = %307
  %327 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 94), align 8, !tbaa !33
  %328 = add nsw i32 %327, 1
  store i32 %328, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 94), align 8, !tbaa !33
  %329 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 29), align 8, !tbaa !9
  %330 = icmp ne i32 %329, 0
  br i1 %330, label %331, label %337

331:                                              ; preds = %326
  %332 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !14
  %333 = load ptr, ptr %5, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.vertexT, ptr %333, i32 0, i32 4
  %335 = load i32, ptr %334, align 8, !tbaa !15
  %336 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 190), align 4, !tbaa !38
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %332, i32 noundef 14, ptr noundef @.str.70, i32 noundef %335, i32 noundef %336)
  br label %337

337:                                              ; preds = %331, %326
  br label %338

338:                                              ; preds = %337, %325
  call void @qh_setfree(ptr noundef getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 224))
  %339 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %339, ptr %4, align 8
  store i32 1, ptr %17, align 4
  br label %340

340:                                              ; preds = %338, %217
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %341 = load ptr, ptr %4, align 8
  ret ptr %341
}

declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #1

declare i32 @qh_newhashtable(i32 noundef) #1

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

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

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

declare void @qh_settempfree(ptr noundef) #1

declare void @qh_setfree(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 = !{!16, !11, i64 32}
!16 = !{!"vertexT", !6, i64 0, !6, i64 8, !6, i64 16, !6, 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}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !11, i64 24}
!20 = !{!"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}
!21 = distinct !{!21, !18}
!22 = !{!20, !6, i64 0}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}
!25 = !{!16, !11, i64 36}
!26 = distinct !{!26, !18}
!27 = distinct !{!27, !18}
!28 = distinct !{!28, !18}
!29 = distinct !{!29, !18}
!30 = !{!11, !11, i64 0}
!31 = !{!10, !11, i64 2788}
!32 = !{!10, !11, i64 424}
!33 = !{!7, !7, i64 0}
!34 = !{!10, !6, i64 2824}
!35 = distinct !{!35, !18}
!36 = distinct !{!36, !18}
!37 = distinct !{!37, !18}
!38 = !{!10, !11, i64 2620}


; 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 global %struct.qhT, align 8
@qh_qhstat = external local_unnamed_addr global %struct.qhstatT, align 8
@.str.64 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [82 x i8], align 1

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

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

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

declare i32 @qh_setsize(ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @qh_find_newvertex(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #2 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %6 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !5
  %7 = icmp sgt i32 %6, 3
  br i1 %7, label %8, label %25

8:                                                ; preds = %3
  %9 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !13
  %10 = getelementptr inbounds i8, ptr %0, i64 32
  %11 = load i32, ptr %10, align 8, !tbaa !14
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %9, i32 noundef 8063, ptr noundef nonnull @.str.64, i32 noundef %11) #4
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %.loopexit160, label %.preheader159

.preheader159:                                    ; preds = %8
  %.073163 = getelementptr inbounds i8, ptr %1, i64 8
  %12 = load ptr, ptr %.073163, align 8, !tbaa !16
  %.not105164 = icmp eq ptr %12, null
  br i1 %.not105164, label %.loopexit160, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader159, %.lr.ph
  %13 = phi ptr [ %17, %.lr.ph ], [ %12, %.preheader159 ]
  %.073165 = phi ptr [ %.073, %.lr.ph ], [ %.073163, %.preheader159 ]
  %14 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !13
  %15 = getelementptr inbounds i8, ptr %13, i64 32
  %16 = load i32, ptr %15, align 8, !tbaa !14
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %14, i32 noundef 8064, ptr noundef nonnull @.str.65, i32 noundef %16) #4
  %.073 = getelementptr inbounds i8, ptr %.073165, i64 8
  %17 = load ptr, ptr %.073, align 8, !tbaa !16
  %.not105 = icmp eq ptr %17, null
  br i1 %.not105, label %.loopexit160, label %.lr.ph, !llvm.loop !17

.loopexit160:                                     ; preds = %.lr.ph, %.preheader159, %8
  %.not106 = icmp eq ptr %2, null
  br i1 %.not106, label %.loopexit158, label %.preheader157

.preheader157:                                    ; preds = %.loopexit160
  %.074166 = getelementptr inbounds i8, ptr %2, i64 8
  %18 = load ptr, ptr %.074166, align 8, !tbaa !16
  %.not108167 = icmp eq ptr %18, null
  br i1 %.not108167, label %.loopexit158, label %.lr.ph169

.lr.ph169:                                        ; preds = %.preheader157, %.lr.ph169
  %19 = phi ptr [ %23, %.lr.ph169 ], [ %18, %.preheader157 ]
  %.074168 = phi ptr [ %.074, %.lr.ph169 ], [ %.074166, %.preheader157 ]
  %20 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !13
  %21 = getelementptr inbounds i8, ptr %19, i64 24
  %22 = load i32, ptr %21, align 8, !tbaa !19
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %20, i32 noundef 8065, ptr noundef nonnull @.str.66, i32 noundef %22) #4
  %.074 = getelementptr inbounds i8, ptr %.074168, i64 8
  %23 = load ptr, ptr %.074, align 8, !tbaa !16
  %.not108 = icmp eq ptr %23, null
  br i1 %.not108, label %.loopexit158, label %.lr.ph169, !llvm.loop !21

.loopexit158:                                     ; preds = %.lr.ph169, %.preheader157, %.loopexit160
  %24 = 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 %24, i32 noundef 8066, ptr noundef nonnull @.str.67) #4
  br label %25

25:                                               ; preds = %.loopexit158, %3
  %.not109 = icmp eq ptr %2, null
  br i1 %.not109, label %.loopexit156, label %.preheader155

.preheader155:                                    ; preds = %25
  %.175174 = getelementptr inbounds i8, ptr %2, i64 8
  %26 = load ptr, ptr %.175174, align 8, !tbaa !16
  %.not111175 = icmp eq ptr %26, null
  br i1 %.not111175, label %.loopexit156, label %.lr.ph177

.lr.ph177:                                        ; preds = %.preheader155, %.loopexit154
  %27 = phi ptr [ %35, %.loopexit154 ], [ %26, %.preheader155 ]
  %.175176 = phi ptr [ %.175, %.loopexit154 ], [ %.175174, %.preheader155 ]
  %28 = load ptr, ptr %27, align 8, !tbaa !22
  %.not135 = icmp eq ptr %28, null
  br i1 %.not135, label %.loopexit154, label %.preheader153

.preheader153:                                    ; preds = %.lr.ph177
  %.1170 = getelementptr inbounds i8, ptr %28, i64 8
  %29 = load ptr, ptr %.1170, align 8, !tbaa !16
  %.not137171 = icmp eq ptr %29, null
  br i1 %.not137171, label %.loopexit154, label %.lr.ph173

.lr.ph173:                                        ; preds = %.preheader153, %.lr.ph173
  %30 = phi ptr [ %34, %.lr.ph173 ], [ %29, %.preheader153 ]
  %.1172 = phi ptr [ %.1, %.lr.ph173 ], [ %.1170, %.preheader153 ]
  %31 = getelementptr inbounds i8, ptr %30, i64 40
  %32 = load i8, ptr %31, align 8
  %33 = and i8 %32, -2
  store i8 %33, ptr %31, align 8
  %.1 = getelementptr inbounds i8, ptr %.1172, i64 8
  %34 = load ptr, ptr %.1, align 8, !tbaa !16
  %.not137 = icmp eq ptr %34, null
  br i1 %.not137, label %.loopexit154, label %.lr.ph173, !llvm.loop !23

.loopexit154:                                     ; preds = %.lr.ph173, %.preheader153, %.lr.ph177
  %.175 = getelementptr inbounds i8, ptr %.175176, i64 8
  %35 = load ptr, ptr %.175, align 8, !tbaa !16
  %.not111 = icmp eq ptr %35, null
  br i1 %.not111, label %.loopexit156, label %.lr.ph177, !llvm.loop !24

.loopexit156:                                     ; preds = %.loopexit154, %.preheader155, %25
  %.not112 = icmp eq ptr %1, null
  br i1 %.not112, label %.loopexit152, label %.preheader151

.preheader151:                                    ; preds = %.loopexit156
  %.2178 = getelementptr inbounds i8, ptr %1, i64 8
  %36 = load ptr, ptr %.2178, align 8, !tbaa !16
  %.not114179 = icmp eq ptr %36, null
  br i1 %.not114179, label %.loopexit152, label %.lr.ph181

.lr.ph181:                                        ; preds = %.preheader151, %.lr.ph181
  %37 = phi ptr [ %42, %.lr.ph181 ], [ %36, %.preheader151 ]
  %.2180 = phi ptr [ %.2, %.lr.ph181 ], [ %.2178, %.preheader151 ]
  %38 = getelementptr inbounds i8, ptr %37, i64 36
  store i32 0, ptr %38, align 4, !tbaa !25
  %39 = getelementptr inbounds i8, ptr %37, i64 40
  %40 = load i8, ptr %39, align 8
  %41 = or i8 %40, 1
  store i8 %41, ptr %39, align 8
  %.2 = getelementptr inbounds i8, ptr %.2180, i64 8
  %42 = load ptr, ptr %.2, align 8, !tbaa !16
  %.not114 = icmp eq ptr %42, null
  br i1 %.not114, label %.loopexit152, label %.lr.ph181, !llvm.loop !26

.loopexit152:                                     ; preds = %.lr.ph181, %.preheader151, %.loopexit156
  br i1 %.not109, label %.loopexit150, label %.preheader149

.preheader149:                                    ; preds = %.loopexit152
  %.276186 = getelementptr inbounds i8, ptr %2, i64 8
  %43 = load ptr, ptr %.276186, align 8, !tbaa !16
  %.not116187 = icmp eq ptr %43, null
  br i1 %.not116187, label %.loopexit150, label %.lr.ph189

.lr.ph189:                                        ; preds = %.preheader149, %.loopexit148
  %44 = phi ptr [ %57, %.loopexit148 ], [ %43, %.preheader149 ]
  %.276188 = phi ptr [ %.276, %.loopexit148 ], [ %.276186, %.preheader149 ]
  %45 = load ptr, ptr %44, align 8, !tbaa !22
  %.not131 = icmp eq ptr %45, null
  br i1 %.not131, label %.loopexit148, label %.preheader147

.preheader147:                                    ; preds = %.lr.ph189
  %.3182 = getelementptr inbounds i8, ptr %45, i64 8
  %46 = load ptr, ptr %.3182, align 8, !tbaa !16
  %.not133183 = icmp eq ptr %46, null
  br i1 %.not133183, label %.loopexit148, label %.lr.ph185

.lr.ph185:                                        ; preds = %.preheader147, %55
  %47 = phi ptr [ %56, %55 ], [ %46, %.preheader147 ]
  %.3184 = phi ptr [ %.3, %55 ], [ %.3182, %.preheader147 ]
  %48 = getelementptr inbounds i8, ptr %47, i64 40
  %49 = load i8, ptr %48, align 8
  %50 = and i8 %49, 1
  %.not134 = icmp eq i8 %50, 0
  br i1 %.not134, label %55, label %51

51:                                               ; preds = %.lr.ph185
  %52 = getelementptr inbounds i8, ptr %47, i64 36
  %53 = load i32, ptr %52, align 4, !tbaa !25
  %54 = add i32 %53, 1
  store i32 %54, ptr %52, align 4, !tbaa !25
  br label %55

55:                                               ; preds = %51, %.lr.ph185
  %.3 = getelementptr inbounds i8, ptr %.3184, i64 8
  %56 = load ptr, ptr %.3, align 8, !tbaa !16
  %.not133 = icmp eq ptr %56, null
  br i1 %.not133, label %.loopexit148, label %.lr.ph185, !llvm.loop !27

.loopexit148:                                     ; preds = %55, %.preheader147, %.lr.ph189
  %.276 = getelementptr inbounds i8, ptr %.276188, i64 8
  %57 = load ptr, ptr %.276, align 8, !tbaa !16
  %.not116 = icmp eq ptr %57, null
  br i1 %.not116, label %.loopexit150, label %.lr.ph189, !llvm.loop !28

.loopexit150:                                     ; preds = %.loopexit148, %.preheader149, %.loopexit152
  br i1 %.not112, label %.loopexit146, label %58

58:                                               ; preds = %.loopexit150
  %59 = getelementptr inbounds i8, ptr %1, i64 8
  %60 = load ptr, ptr %59, align 8, !tbaa !16
  %.not117190 = icmp eq ptr %60, null
  br i1 %.not117190, label %.loopexit146, label %.lr.ph192

.lr.ph192:                                        ; preds = %58
  %61 = getelementptr inbounds i8, ptr %1, i64 16
  %62 = ptrtoint ptr %61 to i64
  br label %63

63:                                               ; preds = %.lr.ph192, %74
  %64 = phi ptr [ %60, %.lr.ph192 ], [ %76, %74 ]
  %65 = phi ptr [ %61, %.lr.ph192 ], [ %75, %74 ]
  %.4191 = phi ptr [ %59, %.lr.ph192 ], [ %.5, %74 ]
  %66 = getelementptr inbounds i8, ptr %64, i64 36
  %67 = load i32, ptr %66, align 4, !tbaa !25
  %.not130 = icmp eq i32 %67, 0
  br i1 %.not130, label %68, label %74

68:                                               ; preds = %63
  %69 = ptrtoint ptr %65 to i64
  %70 = sub i64 %69, %62
  %71 = lshr exact i64 %70, 3
  %72 = trunc i64 %71 to i32
  %73 = tail call ptr @qh_setdelnth(ptr noundef nonnull %1, i32 noundef %72) #4
  br label %74

74:                                               ; preds = %68, %63
  %.5 = phi ptr [ %65, %63 ], [ %.4191, %68 ]
  %75 = getelementptr inbounds i8, ptr %.5, i64 8
  %76 = load ptr, ptr %.5, align 8, !tbaa !16
  %.not117 = icmp eq ptr %76, null
  br i1 %.not117, label %.loopexit146, label %63, !llvm.loop !29

.loopexit146:                                     ; preds = %74, %58, %.loopexit150
  %77 = tail call i32 @qh_setsize(ptr noundef %2) #4
  %78 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2788), align 4, !tbaa !30
  %79 = icmp ult i32 %78, %77
  br i1 %79, label %80, label %81

80:                                               ; preds = %.loopexit146
  store i32 %77, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2788), align 4, !tbaa !30
  br label %81

81:                                               ; preds = %80, %.loopexit146
  %82 = tail call i32 @qh_setsize(ptr noundef %1) #4
  %.not118 = icmp eq i32 %82, 0
  br i1 %.not118, label %83, label %90

83:                                               ; preds = %81
  %84 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !5
  %85 = icmp sgt i32 %84, 3
  br i1 %85, label %86, label %143

86:                                               ; preds = %83
  %87 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !13
  %88 = getelementptr inbounds i8, ptr %0, i64 32
  %89 = load i32, ptr %88, align 8, !tbaa !14
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %87, i32 noundef 4023, ptr noundef nonnull @.str.68, i32 noundef %89) #4
  br label %143

90:                                               ; preds = %81
  %91 = getelementptr inbounds i8, ptr %1, i64 8
  %92 = tail call i32 @qh_setsize(ptr noundef %1) #4
  %93 = sext i32 %92 to i64
  tail call void @qsort(ptr noundef nonnull %91, i64 noundef %93, i64 noundef 8, ptr noundef nonnull @qh_comparevisit) #4
  %94 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 424), align 8, !tbaa !31
  %.not119 = icmp eq i32 %94, 0
  br i1 %.not119, label %104, label %95

95:                                               ; preds = %90
  %96 = tail call i32 @qh_setsize(ptr noundef %1) #4
  %97 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 888), align 8, !tbaa !32
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 888), align 8, !tbaa !32
  %99 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 920), align 8, !tbaa !32
  %100 = add nsw i32 %99, %96
  store i32 %100, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 920), align 8, !tbaa !32
  %101 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 904), align 8, !tbaa !32
  %102 = icmp slt i32 %101, %96
  br i1 %102, label %103, label %104

103:                                              ; preds = %95
  store i32 %96, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 904), align 8, !tbaa !32
  br label %104

104:                                              ; preds = %95, %103, %90
  %105 = tail call i32 @qh_setsize(ptr noundef %2) #4
  %106 = tail call i32 @qh_newhashtable(i32 noundef %105) #4
  br i1 %.not109, label %.loopexit, label %.preheader145

.preheader145:                                    ; preds = %104
  %.377193 = getelementptr inbounds i8, ptr %2, i64 8
  %107 = load ptr, ptr %.377193, align 8, !tbaa !16
  %.not121194 = icmp eq ptr %107, null
  br i1 %.not121194, label %.loopexit, label %.lr.ph196

.lr.ph196:                                        ; preds = %.preheader145, %.lr.ph196
  %108 = phi ptr [ %110, %.lr.ph196 ], [ %107, %.preheader145 ]
  %.377195 = phi ptr [ %.377, %.lr.ph196 ], [ %.377193, %.preheader145 ]
  %109 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2824), align 8, !tbaa !33
  tail call void @qh_hashridge(ptr noundef %109, i32 noundef %106, ptr noundef nonnull %108, ptr noundef %0)
  %.377 = getelementptr inbounds i8, ptr %.377195, i64 8
  %110 = load ptr, ptr %.377, align 8, !tbaa !16
  %.not121 = icmp eq ptr %110, null
  br i1 %.not121, label %.loopexit, label %.lr.ph196, !llvm.loop !34

.loopexit:                                        ; preds = %.lr.ph196, %.preheader145, %104
  br i1 %.not112, label %.thread, label %.preheader144

.preheader144:                                    ; preds = %.loopexit
  %111 = load ptr, ptr %91, align 8, !tbaa !16
  %.not122197 = icmp eq ptr %111, null
  br i1 %.not122197, label %.thread, label %.lr.ph198.preheader

.lr.ph198.preheader:                              ; preds = %.preheader144
  %112 = getelementptr inbounds i8, ptr %1, i64 16
  br label %.lr.ph198

.lr.ph198:                                        ; preds = %.lr.ph198.preheader, %.critedge
  %113 = phi ptr [ %123, %.critedge ], [ %111, %.lr.ph198.preheader ]
  %114 = phi ptr [ %122, %.critedge ], [ %112, %.lr.ph198.preheader ]
  %115 = call ptr @qh_vertexridges(ptr noundef nonnull %113, i32 noundef 0)
  store ptr %115, ptr %4, align 8, !tbaa !16
  %.not123 = icmp eq ptr %115, null
  br i1 %.not123, label %.thread142, label %.preheader

.preheader:                                       ; preds = %.lr.ph198, %117
  %.pn124 = phi ptr [ %.478, %117 ], [ %115, %.lr.ph198 ]
  %.478 = getelementptr inbounds i8, ptr %.pn124, i64 8
  %116 = load ptr, ptr %.478, align 8, !tbaa !16
  %.not125 = icmp eq ptr %116, null
  br i1 %.not125, label %.thread142, label %117

117:                                              ; preds = %.preheader
  %118 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2824), align 8, !tbaa !33
  %119 = call ptr @qh_hashridge_find(ptr noundef %118, i32 noundef %106, ptr noundef nonnull %116, ptr noundef nonnull %113, ptr noundef %0, ptr noundef nonnull %5)
  %.not126 = icmp eq ptr %119, null
  br i1 %.not126, label %.preheader, label %.critedge, !llvm.loop !35

.critedge:                                        ; preds = %117
  %120 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1880), align 8, !tbaa !32
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1880), align 8, !tbaa !32
  call void @qh_settempfree(ptr noundef nonnull %4) #4
  %122 = getelementptr inbounds i8, ptr %114, i64 8
  %123 = load ptr, ptr %114, align 8, !tbaa !16
  %.not122 = icmp eq ptr %123, null
  br i1 %.not122, label %.thread, label %.lr.ph198

.thread142:                                       ; preds = %.lr.ph198, %.preheader
  call void @qh_settempfree(ptr noundef nonnull %4) #4
  %124 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !5
  %125 = icmp sgt i32 %124, 1
  br i1 %125, label %126, label %142

126:                                              ; preds = %.thread142
  %127 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !13
  %128 = getelementptr inbounds i8, ptr %113, i64 32
  %129 = load i32, ptr %128, align 8, !tbaa !14
  %130 = getelementptr inbounds i8, ptr %0, i64 32
  %131 = load i32, ptr %130, align 8, !tbaa !14
  %132 = call i32 @qh_setsize(ptr noundef nonnull %1) #4
  %133 = call i32 @qh_setsize(ptr noundef %2) #4
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %127, i32 noundef 2020, ptr noundef nonnull @.str.69, i32 noundef %129, i32 noundef %131, i32 noundef %132, i32 noundef %133) #4
  br label %142

.thread:                                          ; preds = %.critedge, %.preheader144, %.loopexit
  %134 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 752), align 8, !tbaa !32
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 752), align 8, !tbaa !32
  %136 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 136), align 8, !tbaa !5
  %.not129 = icmp eq i32 %136, 0
  br i1 %.not129, label %142, label %137

137:                                              ; preds = %.thread
  %138 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !13
  %139 = getelementptr inbounds i8, ptr %0, i64 32
  %140 = load i32, ptr %139, align 8, !tbaa !14
  %141 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2620), align 4, !tbaa !36
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %138, i32 noundef 14, ptr noundef nonnull @.str.70, i32 noundef %140, i32 noundef %141) #4
  br label %142

142:                                              ; preds = %.thread, %137, %.thread142, %126
  %.072140 = phi ptr [ null, %.thread ], [ null, %137 ], [ %113, %.thread142 ], [ %113, %126 ]
  call void @qh_setfree(ptr noundef nonnull getelementptr inbounds (i8, ptr @qh_qh, i64 2824)) #4
  br label %143

143:                                              ; preds = %83, %86, %142
  %.0 = phi ptr [ %.072140, %142 ], [ null, %86 ], [ null, %83 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  ret ptr %.0
}

; Function Attrs: nofree
declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #3

declare i32 @qh_newhashtable(i32 noundef) local_unnamed_addr #1

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

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

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

declare void @qh_settempfree(ptr noundef) local_unnamed_addr #1

declare void @qh_setfree(ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree "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 #4 = { 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 = !{!15, !7, i64 32}
!15 = !{!"vertexT", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 40, !7, i64 40, !7, i64 40, !7, i64 40, !7, i64 40}
!16 = !{!11, !11, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !7, i64 24}
!20 = !{!"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}
!21 = distinct !{!21, !18}
!22 = !{!20, !11, i64 0}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}
!25 = !{!15, !7, i64 36}
!26 = distinct !{!26, !18}
!27 = distinct !{!27, !18}
!28 = distinct !{!28, !18}
!29 = distinct !{!29, !18}
!30 = !{!6, !7, i64 2788}
!31 = !{!6, !7, i64 424}
!32 = !{!8, !8, i64 0}
!33 = !{!6, !11, i64 2824}
!34 = distinct !{!34, !18}
!35 = distinct !{!35, !18}
!36 = !{!6, !7, i64 2620}


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