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

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

@qh_qh = external global %struct.qhT, align 8
@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.193 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [32 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 i32 @qh_setsize(ptr noundef) #1

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 void @qh_settempfree(ptr noundef) #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_printvoronoi(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #2 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %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
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  store i32 0, ptr %13, align 4, !tbaa !9
  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
  store i32 1, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #3
  %27 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 178), align 8, !tbaa !11
  store i32 %27, ptr %26, align 4, !tbaa !9
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = load i32, ptr %10, align 4, !tbaa !9
  %31 = call ptr @qh_markvoronoi(ptr noundef %28, ptr noundef %29, i32 noundef %30, ptr noundef %25, ptr noundef %12)
  store ptr %31, ptr %23, align 8, !tbaa !5
  store ptr null, ptr %24, align 8, !tbaa !5
  %32 = load ptr, ptr %23, align 8, !tbaa !5
  %33 = icmp ne ptr %32, null
  br i1 %33, label %34, label %109

34:                                               ; preds = %5
  store i32 0, ptr %17, align 4, !tbaa !9
  %35 = load ptr, ptr %23, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.setT, ptr %35, i32 0, i32 1
  %37 = getelementptr inbounds [1 x %union.setelemT], ptr %36, i64 0, i64 0
  %38 = load ptr, ptr %37, align 8, !tbaa !15
  store ptr %38, ptr %24, align 8, !tbaa !5
  %39 = load ptr, ptr %23, align 8, !tbaa !5
  %40 = call i32 @qh_setsize(ptr noundef %39)
  store i32 %40, ptr %18, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %100, %34
  %42 = load i32, ptr %17, align 4, !tbaa !9
  %43 = load i32, ptr %18, align 4, !tbaa !9
  %44 = icmp slt i32 %42, %43
  br i1 %44, label %45, label %108

45:                                               ; preds = %41
  %46 = load ptr, ptr %24, align 8, !tbaa !5
  %47 = icmp ne ptr %46, null
  br i1 %47, label %48, label %99

48:                                               ; preds = %45
  %49 = load i32, ptr %13, align 4, !tbaa !9
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  store ptr null, ptr %21, align 8, !tbaa !5
  %51 = load ptr, ptr %24, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.vertexT, ptr %51, i32 0, i32 3
  %53 = load ptr, ptr %52, align 8, !tbaa !16
  %54 = icmp ne ptr %53, null
  br i1 %54, label %55, label %84

55:                                               ; preds = %48
  %56 = load ptr, ptr %24, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.vertexT, ptr %56, i32 0, i32 3
  %58 = load ptr, ptr %57, align 8, !tbaa !16
  %59 = getelementptr inbounds %struct.setT, ptr %58, i32 0, i32 1
  %60 = getelementptr inbounds [1 x %union.setelemT], ptr %59, i64 0, i64 0
  store ptr %60, ptr %22, align 8, !tbaa !5
  br label %61

61:                                               ; preds = %82, %55
  %62 = load ptr, ptr %22, align 8, !tbaa !5
  %63 = getelementptr inbounds ptr, ptr %62, i32 1
  store ptr %63, ptr %22, align 8, !tbaa !5
  %64 = load ptr, ptr %62, align 8, !tbaa !5
  store ptr %64, ptr %21, align 8, !tbaa !5
  %65 = icmp ne ptr %64, null
  br i1 %65, label %66, label %83

66:                                               ; preds = %61
  %67 = load ptr, ptr %21, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.facetT, ptr %67, i32 0, i32 13
  %69 = load i32, ptr %68, align 8, !tbaa !18
  %70 = icmp eq i32 %69, 0
  br i1 %70, label %71, label %72

71:                                               ; preds = %66
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %82

72:                                               ; preds = %66
  %73 = load ptr, ptr %21, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.facetT, ptr %73, i32 0, i32 13
  %75 = load i32, ptr %74, align 8, !tbaa !18
  %76 = load i32, ptr %26, align 4, !tbaa !9
  %77 = icmp ult i32 %75, %76
  br i1 %77, label %78, label %81

78:                                               ; preds = %72
  %79 = load i32, ptr %14, align 4, !tbaa !9
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %14, align 4, !tbaa !9
  br label %81

81:                                               ; preds = %78, %72
  br label %82

82:                                               ; preds = %81, %71
  br label %61, !llvm.loop !20

83:                                               ; preds = %61
  br label %84

84:                                               ; preds = %83, %48
  %85 = load i32, ptr %15, align 4, !tbaa !9
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %87, label %98

87:                                               ; preds = %84
  %88 = load i32, ptr %14, align 4, !tbaa !9
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %98, label %90

90:                                               ; preds = %87
  %91 = load ptr, ptr %23, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.setT, ptr %91, i32 0, i32 1
  %93 = load i32, ptr %17, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [1 x %union.setelemT], ptr %92, i64 0, i64 %94
  store ptr null, ptr %95, align 8, !tbaa !15
  %96 = load i32, ptr %13, align 4, !tbaa !9
  %97 = add nsw i32 %96, -1
  store i32 %97, ptr %13, align 4, !tbaa !9
  br label %98

98:                                               ; preds = %90, %87, %84
  br label %99

99:                                               ; preds = %98, %45
  br label %100

100:                                              ; preds = %99
  %101 = load ptr, ptr %23, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.setT, ptr %101, i32 0, i32 1
  %103 = load i32, ptr %17, align 4, !tbaa !9
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %17, align 4, !tbaa !9
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [1 x %union.setelemT], ptr %102, i64 0, i64 %105
  %107 = load ptr, ptr %106, align 8, !tbaa !15
  store ptr %107, ptr %24, align 8, !tbaa !5
  br label %41, !llvm.loop !22

108:                                              ; preds = %41
  br label %109

109:                                              ; preds = %108, %5
  %110 = load i32, ptr %7, align 4, !tbaa !9
  %111 = icmp eq i32 %110, 7
  br i1 %111, label %112, label %116

112:                                              ; preds = %109
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = load i32, ptr %12, align 4, !tbaa !9
  %115 = load i32, ptr %13, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %113, i32 noundef 9254, ptr noundef @.str.192, i32 noundef %114, i32 noundef %115)
  br label %123

116:                                              ; preds = %109
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !23
  %119 = sub nsw i32 %118, 1
  %120 = load i32, ptr %12, align 4, !tbaa !9
  %121 = load ptr, ptr %23, align 8, !tbaa !5
  %122 = call i32 @qh_setsize(ptr noundef %121)
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %117, i32 noundef 9255, ptr noundef @.str.193, i32 noundef %119, i32 noundef %120, i32 noundef %122)
  br label %123

123:                                              ; preds = %116, %112
  %124 = load i32, ptr %7, align 4, !tbaa !9
  %125 = icmp eq i32 %124, 7
  br i1 %125, label %126, label %137

126:                                              ; preds = %123
  %127 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !23
  %128 = sub nsw i32 %127, 1
  store i32 %128, ptr %11, align 4, !tbaa !9
  br label %129

129:                                              ; preds = %133, %126
  %130 = load i32, ptr %11, align 4, !tbaa !9
  %131 = add nsw i32 %130, -1
  store i32 %131, ptr %11, align 4, !tbaa !9
  %132 = icmp ne i32 %130, 0
  br i1 %132, label %133, label %135

133:                                              ; preds = %129
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %134, i32 noundef 9256, ptr noundef @.str.17, double noundef 0.000000e+00)
  br label %129, !llvm.loop !24

135:                                              ; preds = %129
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %136, i32 noundef 9257, ptr noundef @.str.194)
  br label %148

137:                                              ; preds = %123
  %138 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !23
  %139 = sub nsw i32 %138, 1
  store i32 %139, ptr %11, align 4, !tbaa !9
  br label %140

140:                                              ; preds = %144, %137
  %141 = load i32, ptr %11, align 4, !tbaa !9
  %142 = add nsw i32 %141, -1
  store i32 %142, ptr %11, align 4, !tbaa !9
  %143 = icmp ne i32 %141, 0
  br i1 %143, label %144, label %146

144:                                              ; preds = %140
  %145 = load ptr, ptr %6, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %145, i32 noundef 9258, ptr noundef @.str.17, double noundef -1.010100e+01)
  br label %140, !llvm.loop !25

146:                                              ; preds = %140
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %147, i32 noundef 9259, ptr noundef @.str.18)
  br label %148

148:                                              ; preds = %146, %135
  %149 = load ptr, ptr %8, align 8, !tbaa !5
  %150 = icmp ne ptr %149, null
  br i1 %150, label %151, label %194

151:                                              ; preds = %148
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %152, ptr %19, align 8, !tbaa !5
  br label %153

153:                                              ; preds = %189, %151
  %154 = load ptr, ptr %19, align 8, !tbaa !5
  %155 = icmp ne ptr %154, null
  br i1 %155, label %156, label %161

156:                                              ; preds = %153
  %157 = load ptr, ptr %19, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.facetT, ptr %157, i32 0, i32 7
  %159 = load ptr, ptr %158, align 8, !tbaa !26
  %160 = icmp ne ptr %159, null
  br label %161

161:                                              ; preds = %156, %153
  %162 = phi i1 [ false, %153 ], [ %160, %156 ]
  br i1 %162, label %163, label %193

163:                                              ; preds = %161
  %164 = load ptr, ptr %19, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.facetT, ptr %164, i32 0, i32 13
  %166 = load i32, ptr %165, align 8, !tbaa !18
  %167 = icmp ne i32 %166, 0
  br i1 %167, label %168, label %188

168:                                              ; preds = %163
  %169 = load ptr, ptr %19, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.facetT, ptr %169, i32 0, i32 13
  %171 = load i32, ptr %170, align 8, !tbaa !18
  %172 = load i32, ptr %26, align 4, !tbaa !9
  %173 = icmp ult i32 %171, %172
  br i1 %173, label %174, label %188

174:                                              ; preds = %168
  %175 = load i32, ptr %7, align 4, !tbaa !9
  %176 = icmp eq i32 %175, 7
  br i1 %176, label %177, label %184

177:                                              ; preds = %174
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  %179 = load i32, ptr %16, align 4, !tbaa !9
  %180 = add nsw i32 %179, 1
  store i32 %180, ptr %16, align 4, !tbaa !9
  %181 = load ptr, ptr %19, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.facetT, ptr %181, i32 0, i32 14
  %183 = load i32, ptr %182, align 4, !tbaa !27
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %178, i32 noundef 9260, ptr noundef @.str.195, i32 noundef %179, i32 noundef %183)
  br label %184

184:                                              ; preds = %177, %174
  %185 = load ptr, ptr %6, align 8, !tbaa !5
  %186 = load i32, ptr %7, align 4, !tbaa !9
  %187 = load ptr, ptr %19, align 8, !tbaa !5
  call void @qh_printcenter(ptr noundef %185, i32 noundef %186, ptr noundef null, ptr noundef %187)
  br label %188

188:                                              ; preds = %184, %168, %163
  br label %189

189:                                              ; preds = %188
  %190 = load ptr, ptr %19, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.facetT, ptr %190, i32 0, i32 7
  %192 = load ptr, ptr %191, align 8, !tbaa !26
  store ptr %192, ptr %19, align 8, !tbaa !5
  br label %153, !llvm.loop !28

193:                                              ; preds = %161
  br label %194

194:                                              ; preds = %193, %148
  store ptr null, ptr %19, align 8, !tbaa !5
  %195 = load ptr, ptr %9, align 8, !tbaa !5
  %196 = icmp ne ptr %195, null
  br i1 %196, label %197, label %233

197:                                              ; preds = %194
  %198 = load ptr, ptr %9, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.setT, ptr %198, i32 0, i32 1
  %200 = getelementptr inbounds [1 x %union.setelemT], ptr %199, i64 0, i64 0
  store ptr %200, ptr %20, align 8, !tbaa !5
  br label %201

201:                                              ; preds = %231, %197
  %202 = load ptr, ptr %20, align 8, !tbaa !5
  %203 = getelementptr inbounds ptr, ptr %202, i32 1
  store ptr %203, ptr %20, align 8, !tbaa !5
  %204 = load ptr, ptr %202, align 8, !tbaa !5
  store ptr %204, ptr %19, align 8, !tbaa !5
  %205 = icmp ne ptr %204, null
  br i1 %205, label %206, label %232

206:                                              ; preds = %201
  %207 = load ptr, ptr %19, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.facetT, ptr %207, i32 0, i32 13
  %209 = load i32, ptr %208, align 8, !tbaa !18
  %210 = icmp ne i32 %209, 0
  br i1 %210, label %211, label %231

211:                                              ; preds = %206
  %212 = load ptr, ptr %19, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.facetT, ptr %212, i32 0, i32 13
  %214 = load i32, ptr %213, align 8, !tbaa !18
  %215 = load i32, ptr %26, align 4, !tbaa !9
  %216 = icmp ult i32 %214, %215
  br i1 %216, label %217, label %231

217:                                              ; preds = %211
  %218 = load i32, ptr %7, align 4, !tbaa !9
  %219 = icmp eq i32 %218, 7
  br i1 %219, label %220, label %227

220:                                              ; preds = %217
  %221 = load ptr, ptr %6, align 8, !tbaa !5
  %222 = load i32, ptr %16, align 4, !tbaa !9
  %223 = add nsw i32 %222, 1
  store i32 %223, ptr %16, align 4, !tbaa !9
  %224 = load ptr, ptr %19, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.facetT, ptr %224, i32 0, i32 14
  %226 = load i32, ptr %225, align 4, !tbaa !27
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %221, i32 noundef 9261, ptr noundef @.str.195, i32 noundef %222, i32 noundef %226)
  br label %227

227:                                              ; preds = %220, %217
  %228 = load ptr, ptr %6, align 8, !tbaa !5
  %229 = load i32, ptr %7, align 4, !tbaa !9
  %230 = load ptr, ptr %19, align 8, !tbaa !5
  call void @qh_printcenter(ptr noundef %228, i32 noundef %229, ptr noundef null, ptr noundef %230)
  br label %231

231:                                              ; preds = %227, %211, %206
  br label %201, !llvm.loop !29

232:                                              ; preds = %201
  br label %233

233:                                              ; preds = %232, %194
  store ptr null, ptr %24, align 8, !tbaa !5
  %234 = load ptr, ptr %23, align 8, !tbaa !5
  %235 = icmp ne ptr %234, null
  br i1 %235, label %236, label %406

236:                                              ; preds = %233
  store i32 0, ptr %17, align 4, !tbaa !9
  %237 = load ptr, ptr %23, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.setT, ptr %237, i32 0, i32 1
  %239 = getelementptr inbounds [1 x %union.setelemT], ptr %238, i64 0, i64 0
  %240 = load ptr, ptr %239, align 8, !tbaa !15
  store ptr %240, ptr %24, align 8, !tbaa !5
  %241 = load ptr, ptr %23, align 8, !tbaa !5
  %242 = call i32 @qh_setsize(ptr noundef %241)
  store i32 %242, ptr %18, align 4, !tbaa !9
  br label %243

243:                                              ; preds = %397, %236
  %244 = load i32, ptr %17, align 4, !tbaa !9
  %245 = load i32, ptr %18, align 4, !tbaa !9
  %246 = icmp slt i32 %244, %245
  br i1 %246, label %247, label %405

247:                                              ; preds = %243
  store i32 0, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %15, align 4, !tbaa !9
  %248 = load ptr, ptr %24, align 8, !tbaa !5
  %249 = icmp ne ptr %248, null
  br i1 %249, label %250, label %286

250:                                              ; preds = %247
  %251 = load ptr, ptr %24, align 8, !tbaa !5
  call void @qh_order_vertexneighbors(ptr noundef %251)
  store ptr null, ptr %21, align 8, !tbaa !5
  %252 = load ptr, ptr %24, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.vertexT, ptr %252, i32 0, i32 3
  %254 = load ptr, ptr %253, align 8, !tbaa !16
  %255 = icmp ne ptr %254, null
  br i1 %255, label %256, label %285

256:                                              ; preds = %250
  %257 = load ptr, ptr %24, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.vertexT, ptr %257, i32 0, i32 3
  %259 = load ptr, ptr %258, align 8, !tbaa !16
  %260 = getelementptr inbounds %struct.setT, ptr %259, i32 0, i32 1
  %261 = getelementptr inbounds [1 x %union.setelemT], ptr %260, i64 0, i64 0
  store ptr %261, ptr %22, align 8, !tbaa !5
  br label %262

262:                                              ; preds = %283, %256
  %263 = load ptr, ptr %22, align 8, !tbaa !5
  %264 = getelementptr inbounds ptr, ptr %263, i32 1
  store ptr %264, ptr %22, align 8, !tbaa !5
  %265 = load ptr, ptr %263, align 8, !tbaa !5
  store ptr %265, ptr %21, align 8, !tbaa !5
  %266 = icmp ne ptr %265, null
  br i1 %266, label %267, label %284

267:                                              ; preds = %262
  %268 = load ptr, ptr %21, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.facetT, ptr %268, i32 0, i32 13
  %270 = load i32, ptr %269, align 8, !tbaa !18
  %271 = icmp eq i32 %270, 0
  br i1 %271, label %272, label %273

272:                                              ; preds = %267
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %283

273:                                              ; preds = %267
  %274 = load ptr, ptr %21, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.facetT, ptr %274, i32 0, i32 13
  %276 = load i32, ptr %275, align 8, !tbaa !18
  %277 = load i32, ptr %26, align 4, !tbaa !9
  %278 = icmp ult i32 %276, %277
  br i1 %278, label %279, label %282

279:                                              ; preds = %273
  %280 = load i32, ptr %14, align 4, !tbaa !9
  %281 = add nsw i32 %280, 1
  store i32 %281, ptr %14, align 4, !tbaa !9
  br label %282

282:                                              ; preds = %279, %273
  br label %283

283:                                              ; preds = %282, %272
  br label %262, !llvm.loop !30

284:                                              ; preds = %262
  br label %285

285:                                              ; preds = %284, %250
  br label %286

286:                                              ; preds = %285, %247
  %287 = load i32, ptr %7, align 4, !tbaa !9
  %288 = icmp eq i32 %287, 7
  br i1 %288, label %289, label %338

289:                                              ; preds = %286
  %290 = load ptr, ptr %24, align 8, !tbaa !5
  %291 = icmp ne ptr %290, null
  br i1 %291, label %292, label %334

292:                                              ; preds = %289
  %293 = load ptr, ptr %6, align 8, !tbaa !5
  %294 = load i32, ptr %14, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %293, i32 noundef 9262, ptr noundef @.str.20, i32 noundef %294)
  store ptr null, ptr %21, align 8, !tbaa !5
  %295 = load ptr, ptr %24, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.vertexT, ptr %295, i32 0, i32 3
  %297 = load ptr, ptr %296, align 8, !tbaa !16
  %298 = icmp ne ptr %297, null
  br i1 %298, label %299, label %328

299:                                              ; preds = %292
  %300 = load ptr, ptr %24, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.vertexT, ptr %300, i32 0, i32 3
  %302 = load ptr, ptr %301, align 8, !tbaa !16
  %303 = getelementptr inbounds %struct.setT, ptr %302, i32 0, i32 1
  %304 = getelementptr inbounds [1 x %union.setelemT], ptr %303, i64 0, i64 0
  store ptr %304, ptr %22, align 8, !tbaa !5
  br label %305

305:                                              ; preds = %326, %299
  %306 = load ptr, ptr %22, align 8, !tbaa !5
  %307 = getelementptr inbounds ptr, ptr %306, i32 1
  store ptr %307, ptr %22, align 8, !tbaa !5
  %308 = load ptr, ptr %306, align 8, !tbaa !5
  store ptr %308, ptr %21, align 8, !tbaa !5
  %309 = icmp ne ptr %308, null
  br i1 %309, label %310, label %327

310:                                              ; preds = %305
  %311 = load ptr, ptr %21, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.facetT, ptr %311, i32 0, i32 13
  %313 = load i32, ptr %312, align 8, !tbaa !18
  %314 = icmp ne i32 %313, 0
  br i1 %314, label %315, label %326

315:                                              ; preds = %310
  %316 = load ptr, ptr %21, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.facetT, ptr %316, i32 0, i32 13
  %318 = load i32, ptr %317, align 8, !tbaa !18
  %319 = load i32, ptr %26, align 4, !tbaa !9
  %320 = icmp ult i32 %318, %319
  br i1 %320, label %321, label %326

321:                                              ; preds = %315
  %322 = load ptr, ptr %6, align 8, !tbaa !5
  %323 = load ptr, ptr %21, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.facetT, ptr %323, i32 0, i32 13
  %325 = load i32, ptr %324, align 8, !tbaa !18
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %322, i32 noundef 9263, ptr noundef @.str.21, i32 noundef %325)
  br label %326

326:                                              ; preds = %321, %315, %310
  br label %305, !llvm.loop !31

327:                                              ; preds = %305
  br label %328

328:                                              ; preds = %327, %292
  %329 = load ptr, ptr %6, align 8, !tbaa !5
  %330 = load i32, ptr %17, align 4, !tbaa !9
  %331 = load ptr, ptr %24, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.vertexT, ptr %331, i32 0, i32 4
  %333 = load i32, ptr %332, align 8, !tbaa !32
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %329, i32 noundef 9264, ptr noundef @.str.196, i32 noundef %330, i32 noundef %333)
  br label %337

334:                                              ; preds = %289
  %335 = load ptr, ptr %6, align 8, !tbaa !5
  %336 = load i32, ptr %17, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %335, i32 noundef 9265, ptr noundef @.str.197, i32 noundef %336)
  br label %337

337:                                              ; preds = %334, %328
  br label %396

338:                                              ; preds = %286
  %339 = load i32, ptr %15, align 4, !tbaa !9
  %340 = icmp ne i32 %339, 0
  br i1 %340, label %341, label %344

341:                                              ; preds = %338
  %342 = load i32, ptr %14, align 4, !tbaa !9
  %343 = add nsw i32 %342, 1
  store i32 %343, ptr %14, align 4, !tbaa !9
  br label %344

344:                                              ; preds = %341, %338
  %345 = load ptr, ptr %6, align 8, !tbaa !5
  %346 = load i32, ptr %14, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %345, i32 noundef 9266, ptr noundef @.str.20, i32 noundef %346)
  %347 = load ptr, ptr %24, align 8, !tbaa !5
  %348 = icmp ne ptr %347, null
  br i1 %348, label %349, label %394

349:                                              ; preds = %344
  store ptr null, ptr %21, align 8, !tbaa !5
  %350 = load ptr, ptr %24, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.vertexT, ptr %350, i32 0, i32 3
  %352 = load ptr, ptr %351, align 8, !tbaa !16
  %353 = icmp ne ptr %352, null
  br i1 %353, label %354, label %393

354:                                              ; preds = %349
  %355 = load ptr, ptr %24, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.vertexT, ptr %355, i32 0, i32 3
  %357 = load ptr, ptr %356, align 8, !tbaa !16
  %358 = getelementptr inbounds %struct.setT, ptr %357, i32 0, i32 1
  %359 = getelementptr inbounds [1 x %union.setelemT], ptr %358, i64 0, i64 0
  store ptr %359, ptr %22, align 8, !tbaa !5
  br label %360

360:                                              ; preds = %391, %354
  %361 = load ptr, ptr %22, align 8, !tbaa !5
  %362 = getelementptr inbounds ptr, ptr %361, i32 1
  store ptr %362, ptr %22, align 8, !tbaa !5
  %363 = load ptr, ptr %361, align 8, !tbaa !5
  store ptr %363, ptr %21, align 8, !tbaa !5
  %364 = icmp ne ptr %363, null
  br i1 %364, label %365, label %392

365:                                              ; preds = %360
  %366 = load ptr, ptr %21, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.facetT, ptr %366, i32 0, i32 13
  %368 = load i32, ptr %367, align 8, !tbaa !18
  %369 = icmp eq i32 %368, 0
  br i1 %369, label %370, label %379

370:                                              ; preds = %365
  %371 = load i32, ptr %15, align 4, !tbaa !9
  %372 = icmp ne i32 %371, 0
  br i1 %372, label %373, label %378

373:                                              ; preds = %370
  store i32 0, ptr %15, align 4, !tbaa !9
  %374 = load ptr, ptr %6, align 8, !tbaa !5
  %375 = load ptr, ptr %21, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.facetT, ptr %375, i32 0, i32 13
  %377 = load i32, ptr %376, align 8, !tbaa !18
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %374, i32 noundef 9267, ptr noundef @.str.21, i32 noundef %377)
  br label %378

378:                                              ; preds = %373, %370
  br label %391

379:                                              ; preds = %365
  %380 = load ptr, ptr %21, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.facetT, ptr %380, i32 0, i32 13
  %382 = load i32, ptr %381, align 8, !tbaa !18
  %383 = load i32, ptr %26, align 4, !tbaa !9
  %384 = icmp ult i32 %382, %383
  br i1 %384, label %385, label %390

385:                                              ; preds = %379
  %386 = load ptr, ptr %6, align 8, !tbaa !5
  %387 = load ptr, ptr %21, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.facetT, ptr %387, i32 0, i32 13
  %389 = load i32, ptr %388, align 8, !tbaa !18
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %386, i32 noundef 9268, ptr noundef @.str.21, i32 noundef %389)
  br label %390

390:                                              ; preds = %385, %379
  br label %391

391:                                              ; preds = %390, %378
  br label %360, !llvm.loop !33

392:                                              ; preds = %360
  br label %393

393:                                              ; preds = %392, %349
  br label %394

394:                                              ; preds = %393, %344
  %395 = load ptr, ptr %6, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %395, i32 noundef 9269, ptr noundef @.str.18)
  br label %396

396:                                              ; preds = %394, %337
  br label %397

397:                                              ; preds = %396
  %398 = load ptr, ptr %23, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.setT, ptr %398, i32 0, i32 1
  %400 = load i32, ptr %17, align 4, !tbaa !9
  %401 = add nsw i32 %400, 1
  store i32 %401, ptr %17, align 4, !tbaa !9
  %402 = sext i32 %401 to i64
  %403 = getelementptr inbounds [1 x %union.setelemT], ptr %399, i64 0, i64 %402
  %404 = load ptr, ptr %403, align 8, !tbaa !15
  store ptr %404, ptr %24, align 8, !tbaa !5
  br label %243, !llvm.loop !34

405:                                              ; preds = %243
  br label %406

406:                                              ; preds = %405, %233
  %407 = load i32, ptr %7, align 4, !tbaa !9
  %408 = icmp eq i32 %407, 7
  br i1 %408, label %409, label %411

409:                                              ; preds = %406
  %410 = load ptr, ptr %6, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %410, i32 noundef 9270, ptr noundef @.str.60)
  br label %411

411:                                              ; preds = %409, %406
  call void @qh_settempfree(ptr noundef %23)
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  ret void
}

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

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

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


; 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] }
%union.setelemT = type { ptr }

@qh_qh = external local_unnamed_addr global %struct.qhT, align 8
@.str.17 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.192 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.193 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.194 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.195 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.196 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [32 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 i32 @qh_setsize(ptr noundef) local_unnamed_addr #1

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 void @qh_settempfree(ptr noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_printvoronoi(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #2 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
  %9 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2568), align 8, !tbaa !5
  %10 = call ptr @qh_markvoronoi(ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef nonnull %8, ptr noundef nonnull %6)
  store ptr %10, ptr %7, align 8, !tbaa !13
  %.not = icmp eq ptr %10, null
  br i1 %.not, label %.loopexit227, label %11

11:                                               ; preds = %5
  %12 = getelementptr inbounds i8, ptr %10, i64 8
  %13 = load ptr, ptr %12, align 8, !tbaa !14
  %14 = call i32 @qh_setsize(ptr noundef nonnull %10) #3
  %15 = icmp sgt i32 %14, 0
  br i1 %15, label %.lr.ph238.preheader, label %.loopexit227

.lr.ph238.preheader:                              ; preds = %11
  %wide.trip.count = zext nneg i32 %14 to i64
  br label %.lr.ph238

.lr.ph238:                                        ; preds = %.lr.ph238.preheader, %.thread
  %indvars.iv = phi i64 [ 0, %.lr.ph238.preheader ], [ %indvars.iv.next, %.thread ]
  %.0106236 = phi ptr [ %13, %.lr.ph238.preheader ], [ %32, %.thread ]
  %.0132234 = phi i32 [ 0, %.lr.ph238.preheader ], [ %.1133, %.thread ]
  %.not178 = icmp eq ptr %.0106236, null
  br i1 %.not178, label %.thread, label %16

16:                                               ; preds = %.lr.ph238
  %17 = add nsw i32 %.0132234, 1
  %18 = getelementptr inbounds i8, ptr %.0106236, i64 24
  %19 = load ptr, ptr %18, align 8, !tbaa !15
  %.not179 = icmp eq ptr %19, null
  br i1 %.not179, label %.thread, label %.preheader226

.preheader226:                                    ; preds = %16
  %.0108228 = getelementptr inbounds i8, ptr %19, i64 8
  %20 = load ptr, ptr %.0108228, align 8, !tbaa !13
  %.not181229 = icmp eq ptr %20, null
  br i1 %.not181229, label %.thread, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader226, %.lr.ph
  %21 = phi ptr [ %26, %.lr.ph ], [ %20, %.preheader226 ]
  %.0108232 = phi ptr [ %.0108, %.lr.ph ], [ %.0108228, %.preheader226 ]
  %.0118231 = phi i32 [ %.1119, %.lr.ph ], [ 0, %.preheader226 ]
  %.0125230 = phi i32 [ %.1126, %.lr.ph ], [ 0, %.preheader226 ]
  %22 = getelementptr inbounds i8, ptr %21, i64 104
  %23 = load i32, ptr %22, align 8, !tbaa !17
  %24 = icmp ne i32 %23, 0
  %25 = icmp ult i32 %23, %9
  %narrow = select i1 %24, i1 %25, i1 false
  %spec.select = zext i1 %narrow to i32
  %.1126 = add nuw nsw i32 %.0125230, %spec.select
  %.1119 = select i1 %24, i32 %.0118231, i32 1
  %.0108 = getelementptr inbounds i8, ptr %.0108232, i64 8
  %26 = load ptr, ptr %.0108, align 8, !tbaa !13
  %.not181 = icmp eq ptr %26, null
  br i1 %.not181, label %._crit_edge, label %.lr.ph, !llvm.loop !19

._crit_edge:                                      ; preds = %.lr.ph
  %27 = icmp eq i32 %.1119, 0
  %28 = icmp ne i32 %.1126, 0
  %or.cond = select i1 %27, i1 true, i1 %28
  br i1 %or.cond, label %.thread, label %29

29:                                               ; preds = %._crit_edge
  %30 = getelementptr inbounds [1 x %union.setelemT], ptr %12, i64 0, i64 %indvars.iv
  store ptr null, ptr %30, align 8, !tbaa !14
  br label %.thread

.thread:                                          ; preds = %.preheader226, %16, %.lr.ph238, %29, %._crit_edge
  %.1133 = phi i32 [ %17, %._crit_edge ], [ %.0132234, %29 ], [ %.0132234, %.lr.ph238 ], [ %17, %16 ], [ %17, %.preheader226 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %31 = getelementptr inbounds [1 x %union.setelemT], ptr %12, i64 0, i64 %indvars.iv.next
  %32 = load ptr, ptr %31, align 8, !tbaa !14
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit227, label %.lr.ph238, !llvm.loop !21

.loopexit227:                                     ; preds = %.thread, %11, %5
  %.2134 = phi i32 [ 0, %5 ], [ 0, %11 ], [ %.1133, %.thread ]
  %33 = icmp eq i32 %1, 7
  br i1 %33, label %34, label %37

34:                                               ; preds = %.loopexit227
  %35 = load i32, ptr %6, align 4, !tbaa !22
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9254, ptr noundef nonnull @.str.192, i32 noundef %35, i32 noundef %.2134) #3
  %36 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 632), align 8, !tbaa !23
  %.0246 = add nsw i32 %36, -1
  %.not156247 = icmp eq i32 %.0246, 0
  br i1 %.not156247, label %._crit_edge251, label %.lr.ph250

.lr.ph250:                                        ; preds = %34, %.lr.ph250
  %.0248 = phi i32 [ %.0, %.lr.ph250 ], [ %.0246, %34 ]
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9256, ptr noundef nonnull @.str.17, double noundef 0.000000e+00) #3
  %.0 = add nsw i32 %.0248, -1
  %.not156 = icmp eq i32 %.0, 0
  br i1 %.not156, label %._crit_edge251, label %.lr.ph250, !llvm.loop !24

._crit_edge251:                                   ; preds = %.lr.ph250, %34
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9257, ptr noundef nonnull @.str.194) #3
  br label %43

37:                                               ; preds = %.loopexit227
  %38 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 632), align 8, !tbaa !23
  %39 = add nsw i32 %38, -1
  %40 = load i32, ptr %6, align 4, !tbaa !22
  %41 = call i32 @qh_setsize(ptr noundef %10) #3
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9255, ptr noundef nonnull @.str.193, i32 noundef %39, i32 noundef %40, i32 noundef %41) #3
  %42 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 632), align 8, !tbaa !23
  %.1240 = add nsw i32 %42, -1
  %.not155241 = icmp eq i32 %.1240, 0
  br i1 %.not155241, label %._crit_edge245, label %.lr.ph244

.lr.ph244:                                        ; preds = %37, %.lr.ph244
  %.1242 = phi i32 [ %.1, %.lr.ph244 ], [ %.1240, %37 ]
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9258, ptr noundef nonnull @.str.17, double noundef -1.010100e+01) #3
  %.1 = add nsw i32 %.1242, -1
  %.not155 = icmp eq i32 %.1, 0
  br i1 %.not155, label %._crit_edge245, label %.lr.ph244, !llvm.loop !25

._crit_edge245:                                   ; preds = %.lr.ph244, %37
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9259, ptr noundef nonnull @.str.18) #3
  br label %43

43:                                               ; preds = %._crit_edge245, %._crit_edge251
  %.not157 = icmp eq ptr %2, null
  br i1 %.not157, label %.critedge, label %.preheader225

.preheader225:                                    ; preds = %43, %56
  %.0111253 = phi ptr [ %57, %56 ], [ %2, %43 ]
  %.0114252 = phi i32 [ %.2116, %56 ], [ 1, %43 ]
  %44 = getelementptr inbounds i8, ptr %.0111253, i64 56
  %45 = load ptr, ptr %44, align 8, !tbaa !26
  %.not159 = icmp eq ptr %45, null
  br i1 %.not159, label %.critedge, label %46

46:                                               ; preds = %.preheader225
  %47 = getelementptr inbounds i8, ptr %.0111253, i64 104
  %48 = load i32, ptr %47, align 8, !tbaa !17
  %.not177 = icmp ne i32 %48, 0
  %49 = icmp ult i32 %48, %9
  %or.cond182 = select i1 %.not177, i1 %49, i1 false
  br i1 %or.cond182, label %50, label %56

50:                                               ; preds = %46
  br i1 %33, label %51, label %55

51:                                               ; preds = %50
  %52 = add nsw i32 %.0114252, 1
  %53 = getelementptr inbounds i8, ptr %.0111253, i64 108
  %54 = load i32, ptr %53, align 4, !tbaa !27
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9260, ptr noundef nonnull @.str.195, i32 noundef %.0114252, i32 noundef %54) #3
  br label %55

55:                                               ; preds = %51, %50
  %.1115 = phi i32 [ %52, %51 ], [ %.0114252, %50 ]
  call void @qh_printcenter(ptr noundef %0, i32 noundef %1, ptr noundef null, ptr noundef nonnull %.0111253)
  %.pre = load ptr, ptr %44, align 8, !tbaa !26
  br label %56

56:                                               ; preds = %46, %55
  %57 = phi ptr [ %.pre, %55 ], [ %45, %46 ]
  %.2116 = phi i32 [ %.1115, %55 ], [ %.0114252, %46 ]
  %.not158 = icmp eq ptr %57, null
  br i1 %.not158, label %.critedge, label %.preheader225, !llvm.loop !28

.critedge:                                        ; preds = %.preheader225, %56, %43
  %.3117 = phi i32 [ 1, %43 ], [ %.2116, %56 ], [ %.0114252, %.preheader225 ]
  %.not160 = icmp eq ptr %3, null
  br i1 %.not160, label %.loopexit224, label %.preheader223

.preheader223:                                    ; preds = %.critedge
  %.0110254 = getelementptr inbounds i8, ptr %3, i64 8
  %58 = load ptr, ptr %.0110254, align 8, !tbaa !13
  %.not161255 = icmp eq ptr %58, null
  br i1 %.not161255, label %.loopexit224, label %.lr.ph258

.lr.ph258:                                        ; preds = %.preheader223
  br i1 %33, label %.lr.ph258.split.us, label %.lr.ph258.split

.lr.ph258.split.us:                               ; preds = %.lr.ph258, %67
  %59 = phi ptr [ %68, %67 ], [ %58, %.lr.ph258 ]
  %.0110257.us = phi ptr [ %.0110.us, %67 ], [ %.0110254, %.lr.ph258 ]
  %.4256.us = phi i32 [ %.6.us, %67 ], [ %.3117, %.lr.ph258 ]
  %60 = getelementptr inbounds i8, ptr %59, i64 104
  %61 = load i32, ptr %60, align 8, !tbaa !17
  %.not176.us = icmp ne i32 %61, 0
  %62 = icmp ult i32 %61, %9
  %or.cond183.us = select i1 %.not176.us, i1 %62, i1 false
  br i1 %or.cond183.us, label %63, label %67

63:                                               ; preds = %.lr.ph258.split.us
  %64 = add nsw i32 %.4256.us, 1
  %65 = getelementptr inbounds i8, ptr %59, i64 108
  %66 = load i32, ptr %65, align 4, !tbaa !27
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9261, ptr noundef nonnull @.str.195, i32 noundef %.4256.us, i32 noundef %66) #3
  call void @qh_printcenter(ptr noundef %0, i32 noundef 7, ptr noundef null, ptr noundef nonnull %59)
  br label %67

67:                                               ; preds = %63, %.lr.ph258.split.us
  %.6.us = phi i32 [ %64, %63 ], [ %.4256.us, %.lr.ph258.split.us ]
  %.0110.us = getelementptr inbounds i8, ptr %.0110257.us, i64 8
  %68 = load ptr, ptr %.0110.us, align 8, !tbaa !13
  %.not161.us = icmp eq ptr %68, null
  br i1 %.not161.us, label %.loopexit224, label %.lr.ph258.split.us, !llvm.loop !29

.lr.ph258.split:                                  ; preds = %.lr.ph258, %74
  %69 = phi ptr [ %75, %74 ], [ %58, %.lr.ph258 ]
  %.0110257 = phi ptr [ %.0110, %74 ], [ %.0110254, %.lr.ph258 ]
  %70 = getelementptr inbounds i8, ptr %69, i64 104
  %71 = load i32, ptr %70, align 8, !tbaa !17
  %.not176 = icmp ne i32 %71, 0
  %72 = icmp ult i32 %71, %9
  %or.cond183 = select i1 %.not176, i1 %72, i1 false
  br i1 %or.cond183, label %73, label %74

73:                                               ; preds = %.lr.ph258.split
  call void @qh_printcenter(ptr noundef %0, i32 noundef %1, ptr noundef null, ptr noundef nonnull %69)
  br label %74

74:                                               ; preds = %73, %.lr.ph258.split
  %.0110 = getelementptr inbounds i8, ptr %.0110257, i64 8
  %75 = load ptr, ptr %.0110, align 8, !tbaa !13
  %.not161 = icmp eq ptr %75, null
  br i1 %.not161, label %.loopexit224, label %.lr.ph258.split, !llvm.loop !29

.loopexit224:                                     ; preds = %74, %67, %.preheader223, %.critedge
  %76 = load ptr, ptr %7, align 8, !tbaa !13
  %.not162 = icmp eq ptr %76, null
  br i1 %.not162, label %.loopexit222, label %77

77:                                               ; preds = %.loopexit224
  %78 = getelementptr inbounds i8, ptr %76, i64 8
  %79 = load ptr, ptr %78, align 8, !tbaa !14
  %80 = call i32 @qh_setsize(ptr noundef nonnull %76) #3
  %81 = icmp sgt i32 %80, 0
  br i1 %81, label %.lr.ph282.preheader, label %.loopexit222

.lr.ph282.preheader:                              ; preds = %77
  %wide.trip.count289 = zext nneg i32 %80 to i64
  br label %.lr.ph282

.lr.ph282:                                        ; preds = %.lr.ph282.preheader, %119
  %indvars.iv286 = phi i64 [ 0, %.lr.ph282.preheader ], [ %indvars.iv.next287, %119 ]
  %.1107280 = phi ptr [ %79, %.lr.ph282.preheader ], [ %121, %119 ]
  %.not163 = icmp eq ptr %.1107280, null
  br i1 %.not163, label %.thread200, label %82

82:                                               ; preds = %.lr.ph282
  call void @qh_order_vertexneighbors(ptr noundef nonnull %.1107280)
  %83 = getelementptr inbounds i8, ptr %.1107280, i64 24
  %84 = load ptr, ptr %83, align 8, !tbaa !15
  %.not164 = icmp eq ptr %84, null
  br i1 %.not164, label %.thread191, label %.preheader221

.preheader221:                                    ; preds = %82
  %.1109259 = getelementptr inbounds i8, ptr %84, i64 8
  %85 = load ptr, ptr %.1109259, align 8, !tbaa !13
  %.not166260 = icmp eq ptr %85, null
  br i1 %.not166260, label %._crit_edge265, label %.lr.ph264

.lr.ph264:                                        ; preds = %.preheader221, %.lr.ph264
  %86 = phi ptr [ %91, %.lr.ph264 ], [ %85, %.preheader221 ]
  %.1109263 = phi ptr [ %.1109, %.lr.ph264 ], [ %.1109259, %.preheader221 ]
  %.3121.fr262 = phi i32 [ %.4122, %.lr.ph264 ], [ 0, %.preheader221 ]
  %.3128261 = phi i32 [ %.4129, %.lr.ph264 ], [ 0, %.preheader221 ]
  %87 = getelementptr inbounds i8, ptr %86, i64 104
  %88 = load i32, ptr %87, align 8, !tbaa !17
  %.fr283 = freeze i32 %88
  %89 = icmp ne i32 %.fr283, 0
  %90 = icmp ult i32 %.fr283, %9
  %narrow218 = select i1 %89, i1 %90, i1 false
  %spec.select184 = zext i1 %narrow218 to i32
  %.4129 = add nuw nsw i32 %.3128261, %spec.select184
  %.4122 = select i1 %89, i32 %.3121.fr262, i32 1
  %.1109 = getelementptr inbounds i8, ptr %.1109263, i64 8
  %91 = load ptr, ptr %.1109, align 8, !tbaa !13
  %.not166 = icmp eq ptr %91, null
  br i1 %.not166, label %._crit_edge265, label %.lr.ph264, !llvm.loop !30

._crit_edge265:                                   ; preds = %.lr.ph264, %.preheader221
  %.3128.lcssa = phi i32 [ 0, %.preheader221 ], [ %.4129, %.lr.ph264 ]
  %.3121.fr.lcssa = phi i32 [ 0, %.preheader221 ], [ %.4122, %.lr.ph264 ]
  br i1 %33, label %.thread197, label %.thread205

.thread200:                                       ; preds = %.lr.ph282
  br i1 %33, label %.thread203, label %.thread205.thread

.thread205.thread:                                ; preds = %.thread200
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9266, ptr noundef nonnull @.str.20, i32 noundef 0) #3
  br label %.loopexit220

.thread191:                                       ; preds = %82
  br i1 %33, label %.thread197, label %.thread205.thread214

.thread197:                                       ; preds = %._crit_edge265, %.thread191
  %.5130194199 = phi i32 [ 0, %.thread191 ], [ %.3128.lcssa, %._crit_edge265 ]
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9262, ptr noundef nonnull @.str.20, i32 noundef %.5130194199) #3
  %92 = load ptr, ptr %83, align 8, !tbaa !15
  %.not172 = icmp eq ptr %92, null
  br i1 %.not172, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.thread197
  %.2273 = getelementptr inbounds i8, ptr %92, i64 8
  %93 = load ptr, ptr %.2273, align 8, !tbaa !13
  %.not174274 = icmp eq ptr %93, null
  br i1 %.not174274, label %.loopexit, label %.lr.ph276

.lr.ph276:                                        ; preds = %.preheader, %99
  %94 = phi ptr [ %100, %99 ], [ %93, %.preheader ]
  %.2275 = phi ptr [ %.2, %99 ], [ %.2273, %.preheader ]
  %95 = getelementptr inbounds i8, ptr %94, i64 104
  %96 = load i32, ptr %95, align 8, !tbaa !17
  %.not175 = icmp ne i32 %96, 0
  %97 = icmp ult i32 %96, %9
  %or.cond185 = select i1 %.not175, i1 %97, i1 false
  br i1 %or.cond185, label %98, label %99

98:                                               ; preds = %.lr.ph276
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9263, ptr noundef nonnull @.str.21, i32 noundef %96) #3
  br label %99

99:                                               ; preds = %98, %.lr.ph276
  %.2 = getelementptr inbounds i8, ptr %.2275, i64 8
  %100 = load ptr, ptr %.2, align 8, !tbaa !13
  %.not174 = icmp eq ptr %100, null
  br i1 %.not174, label %.loopexit, label %.lr.ph276, !llvm.loop !31

.loopexit:                                        ; preds = %99, %.preheader, %.thread197
  %101 = getelementptr inbounds i8, ptr %.1107280, i64 32
  %102 = load i32, ptr %101, align 8, !tbaa !32
  %103 = trunc nuw nsw i64 %indvars.iv286 to i32
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9264, ptr noundef nonnull @.str.196, i32 noundef %103, i32 noundef %102) #3
  br label %119

.thread203:                                       ; preds = %.thread200
  %104 = trunc nuw nsw i64 %indvars.iv286 to i32
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9265, ptr noundef nonnull @.str.197, i32 noundef %104) #3
  br label %119

.thread205:                                       ; preds = %._crit_edge265
  %.not167 = icmp ne i32 %.3121.fr.lcssa, 0
  %105 = zext i1 %.not167 to i32
  %spec.select217 = add nuw nsw i32 %.3128.lcssa, %105
  br label %.thread205.thread214

.thread205.thread214:                             ; preds = %.thread191, %.thread205
  %spec.select217.sink = phi i32 [ %spec.select217, %.thread205 ], [ 0, %.thread191 ]
  %.5123196210216 = phi i32 [ %.3121.fr.lcssa, %.thread205 ], [ 0, %.thread191 ]
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9266, ptr noundef nonnull @.str.20, i32 noundef %spec.select217.sink) #3
  %106 = load ptr, ptr %83, align 8, !tbaa !15
  %.not168 = icmp eq ptr %106, null
  br i1 %.not168, label %.loopexit220, label %.preheader219

.preheader219:                                    ; preds = %.thread205.thread214
  %.3268 = getelementptr inbounds i8, ptr %106, i64 8
  %107 = load ptr, ptr %.3268, align 8, !tbaa !13
  %.not170269 = icmp eq ptr %107, null
  br i1 %.not170269, label %.loopexit220, label %.lr.ph272

.lr.ph272:                                        ; preds = %.preheader219, %117
  %108 = phi ptr [ %118, %117 ], [ %107, %.preheader219 ]
  %.3271 = phi ptr [ %.3, %117 ], [ %.3268, %.preheader219 ]
  %.6124270 = phi i32 [ %.7, %117 ], [ %.5123196210216, %.preheader219 ]
  %109 = getelementptr inbounds i8, ptr %108, i64 104
  %110 = load i32, ptr %109, align 8, !tbaa !17
  %111 = icmp eq i32 %110, 0
  br i1 %111, label %112, label %114

112:                                              ; preds = %.lr.ph272
  %.not171 = icmp eq i32 %.6124270, 0
  br i1 %.not171, label %117, label %113

113:                                              ; preds = %112
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9267, ptr noundef nonnull @.str.21, i32 noundef 0) #3
  br label %117

114:                                              ; preds = %.lr.ph272
  %115 = icmp ult i32 %110, %9
  br i1 %115, label %116, label %117

116:                                              ; preds = %114
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9268, ptr noundef nonnull @.str.21, i32 noundef %110) #3
  br label %117

117:                                              ; preds = %114, %116, %112, %113
  %.7 = phi i32 [ 0, %113 ], [ 0, %112 ], [ %.6124270, %116 ], [ %.6124270, %114 ]
  %.3 = getelementptr inbounds i8, ptr %.3271, i64 8
  %118 = load ptr, ptr %.3, align 8, !tbaa !13
  %.not170 = icmp eq ptr %118, null
  br i1 %.not170, label %.loopexit220, label %.lr.ph272, !llvm.loop !33

.loopexit220:                                     ; preds = %117, %.preheader219, %.thread205.thread, %.thread205.thread214
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9269, ptr noundef nonnull @.str.18) #3
  br label %119

119:                                              ; preds = %.loopexit220, %.thread203, %.loopexit
  %indvars.iv.next287 = add nuw nsw i64 %indvars.iv286, 1
  %120 = getelementptr inbounds [1 x %union.setelemT], ptr %78, i64 0, i64 %indvars.iv.next287
  %121 = load ptr, ptr %120, align 8, !tbaa !14
  %exitcond290.not = icmp eq i64 %indvars.iv.next287, %wide.trip.count289
  br i1 %exitcond290.not, label %.loopexit222, label %.lr.ph282, !llvm.loop !34

.loopexit222:                                     ; preds = %119, %77, %.loopexit224
  br i1 %33, label %122, label %123

122:                                              ; preds = %.loopexit222
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9270, ptr noundef nonnull @.str.60) #3
  br label %123

123:                                              ; preds = %122, %.loopexit222
  call void @qh_settempfree(ptr noundef nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3
  ret void
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 2568}
!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 = !{!11, !11, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !11, i64 24}
!16 = !{!"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}
!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 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{!7, !7, i64 0}
!23 = !{!6, !7, i64 632}
!24 = distinct !{!24, !20}
!25 = distinct !{!25, !20}
!26 = !{!18, !11, i64 56}
!27 = !{!18, !7, i64 108}
!28 = distinct !{!28, !20}
!29 = distinct !{!29, !20}
!30 = distinct !{!30, !20}
!31 = distinct !{!31, !20}
!32 = !{!16, !7, i64 32}
!33 = distinct !{!33, !20}
!34 = distinct !{!34, !20}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass