; LLVM IR from Discngine/fpocket :: src/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, double, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, double, double, i32, double, i32, 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, i32, double, double, double, 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, i32, ptr, double, double, double, double, [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, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, ptr, i32, i32, double, i32, double, double, double, i32, i32, i32, i32, double, double, i32, i32, i32, i32, double, double, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, ptr, double, double, double, 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.16 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.184 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.185 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.187 = 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

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

declare void @qh_settempfree(ptr noundef) #1

declare void @qsort(ptr noundef, i64 noundef, i64 noundef, 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 169), 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.182, 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 104), 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.183, 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 104), 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.16, 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.184)
  br label %148

137:                                              ; preds = %123
  %138 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 104), 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.16, 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.17)
  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.185, 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.185, 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 %425

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 = %416, %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 %424

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 %305

250:                                              ; preds = %247
  %251 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 104), align 8, !tbaa !23
  %252 = icmp eq i32 %251, 3
  br i1 %252, label %253, label %255

253:                                              ; preds = %250
  %254 = load ptr, ptr %24, align 8, !tbaa !5
  call void @qh_order_vertexneighbors(ptr noundef %254)
  br label %270

255:                                              ; preds = %250
  %256 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 104), align 8, !tbaa !23
  %257 = icmp sge i32 %256, 4
  br i1 %257, label %258, label %269

258:                                              ; preds = %255
  %259 = load ptr, ptr %24, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.vertexT, ptr %259, i32 0, i32 3
  %261 = load ptr, ptr %260, align 8, !tbaa !16
  %262 = getelementptr inbounds %struct.setT, ptr %261, i32 0, i32 1
  %263 = getelementptr inbounds [1 x %union.setelemT], ptr %262, i64 0, i64 0
  %264 = load ptr, ptr %24, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.vertexT, ptr %264, i32 0, i32 3
  %266 = load ptr, ptr %265, align 8, !tbaa !16
  %267 = call i32 @qh_setsize(ptr noundef %266)
  %268 = sext i32 %267 to i64
  call void @qsort(ptr noundef %263, i64 noundef %268, i64 noundef 8, ptr noundef @qh_compare_facetvisit)
  br label %269

269:                                              ; preds = %258, %255
  br label %270

270:                                              ; preds = %269, %253
  store ptr null, ptr %21, align 8, !tbaa !5
  %271 = load ptr, ptr %24, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.vertexT, ptr %271, i32 0, i32 3
  %273 = load ptr, ptr %272, align 8, !tbaa !16
  %274 = icmp ne ptr %273, null
  br i1 %274, label %275, label %304

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

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

286:                                              ; preds = %281
  %287 = load ptr, ptr %21, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.facetT, ptr %287, i32 0, i32 13
  %289 = load i32, ptr %288, align 8, !tbaa !18
  %290 = icmp eq i32 %289, 0
  br i1 %290, label %291, label %292

291:                                              ; preds = %286
  store i32 1, ptr %15, align 4, !tbaa !9
  br label %302

292:                                              ; preds = %286
  %293 = load ptr, ptr %21, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.facetT, ptr %293, i32 0, i32 13
  %295 = load i32, ptr %294, align 8, !tbaa !18
  %296 = load i32, ptr %26, align 4, !tbaa !9
  %297 = icmp ult i32 %295, %296
  br i1 %297, label %298, label %301

298:                                              ; preds = %292
  %299 = load i32, ptr %14, align 4, !tbaa !9
  %300 = add nsw i32 %299, 1
  store i32 %300, ptr %14, align 4, !tbaa !9
  br label %301

301:                                              ; preds = %298, %292
  br label %302

302:                                              ; preds = %301, %291
  br label %281, !llvm.loop !30

303:                                              ; preds = %281
  br label %304

304:                                              ; preds = %303, %270
  br label %305

305:                                              ; preds = %304, %247
  %306 = load i32, ptr %7, align 4, !tbaa !9
  %307 = icmp eq i32 %306, 7
  br i1 %307, label %308, label %357

308:                                              ; preds = %305
  %309 = load ptr, ptr %24, align 8, !tbaa !5
  %310 = icmp ne ptr %309, null
  br i1 %310, label %311, label %353

311:                                              ; preds = %308
  %312 = load ptr, ptr %6, align 8, !tbaa !5
  %313 = load i32, ptr %14, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %312, i32 noundef 9262, ptr noundef @.str.19, i32 noundef %313)
  store ptr null, ptr %21, align 8, !tbaa !5
  %314 = load ptr, ptr %24, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.vertexT, ptr %314, i32 0, i32 3
  %316 = load ptr, ptr %315, align 8, !tbaa !16
  %317 = icmp ne ptr %316, null
  br i1 %317, label %318, label %347

318:                                              ; preds = %311
  %319 = load ptr, ptr %24, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.vertexT, ptr %319, i32 0, i32 3
  %321 = load ptr, ptr %320, align 8, !tbaa !16
  %322 = getelementptr inbounds %struct.setT, ptr %321, i32 0, i32 1
  %323 = getelementptr inbounds [1 x %union.setelemT], ptr %322, i64 0, i64 0
  store ptr %323, ptr %22, align 8, !tbaa !5
  br label %324

324:                                              ; preds = %345, %318
  %325 = load ptr, ptr %22, align 8, !tbaa !5
  %326 = getelementptr inbounds ptr, ptr %325, i32 1
  store ptr %326, ptr %22, align 8, !tbaa !5
  %327 = load ptr, ptr %325, align 8, !tbaa !5
  store ptr %327, ptr %21, align 8, !tbaa !5
  %328 = icmp ne ptr %327, null
  br i1 %328, label %329, label %346

329:                                              ; preds = %324
  %330 = load ptr, ptr %21, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.facetT, ptr %330, i32 0, i32 13
  %332 = load i32, ptr %331, align 8, !tbaa !18
  %333 = icmp ne i32 %332, 0
  br i1 %333, label %334, label %345

334:                                              ; preds = %329
  %335 = load ptr, ptr %21, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.facetT, ptr %335, i32 0, i32 13
  %337 = load i32, ptr %336, align 8, !tbaa !18
  %338 = load i32, ptr %26, align 4, !tbaa !9
  %339 = icmp ult i32 %337, %338
  br i1 %339, label %340, label %345

340:                                              ; preds = %334
  %341 = load ptr, ptr %6, align 8, !tbaa !5
  %342 = load ptr, ptr %21, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.facetT, ptr %342, i32 0, i32 13
  %344 = load i32, ptr %343, align 8, !tbaa !18
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %341, i32 noundef 9263, ptr noundef @.str.20, i32 noundef %344)
  br label %345

345:                                              ; preds = %340, %334, %329
  br label %324, !llvm.loop !31

346:                                              ; preds = %324
  br label %347

347:                                              ; preds = %346, %311
  %348 = load ptr, ptr %6, align 8, !tbaa !5
  %349 = load i32, ptr %17, align 4, !tbaa !9
  %350 = load ptr, ptr %24, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.vertexT, ptr %350, i32 0, i32 4
  %352 = load i32, ptr %351, align 8, !tbaa !32
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %348, i32 noundef 9264, ptr noundef @.str.186, i32 noundef %349, i32 noundef %352)
  br label %356

353:                                              ; preds = %308
  %354 = load ptr, ptr %6, align 8, !tbaa !5
  %355 = load i32, ptr %17, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %354, i32 noundef 9265, ptr noundef @.str.187, i32 noundef %355)
  br label %356

356:                                              ; preds = %353, %347
  br label %415

357:                                              ; preds = %305
  %358 = load i32, ptr %15, align 4, !tbaa !9
  %359 = icmp ne i32 %358, 0
  br i1 %359, label %360, label %363

360:                                              ; preds = %357
  %361 = load i32, ptr %14, align 4, !tbaa !9
  %362 = add nsw i32 %361, 1
  store i32 %362, ptr %14, align 4, !tbaa !9
  br label %363

363:                                              ; preds = %360, %357
  %364 = load ptr, ptr %6, align 8, !tbaa !5
  %365 = load i32, ptr %14, align 4, !tbaa !9
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %364, i32 noundef 9266, ptr noundef @.str.19, i32 noundef %365)
  %366 = load ptr, ptr %24, align 8, !tbaa !5
  %367 = icmp ne ptr %366, null
  br i1 %367, label %368, label %413

368:                                              ; preds = %363
  store ptr null, ptr %21, align 8, !tbaa !5
  %369 = load ptr, ptr %24, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.vertexT, ptr %369, i32 0, i32 3
  %371 = load ptr, ptr %370, align 8, !tbaa !16
  %372 = icmp ne ptr %371, null
  br i1 %372, label %373, label %412

373:                                              ; preds = %368
  %374 = load ptr, ptr %24, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.vertexT, ptr %374, i32 0, i32 3
  %376 = load ptr, ptr %375, align 8, !tbaa !16
  %377 = getelementptr inbounds %struct.setT, ptr %376, i32 0, i32 1
  %378 = getelementptr inbounds [1 x %union.setelemT], ptr %377, i64 0, i64 0
  store ptr %378, ptr %22, align 8, !tbaa !5
  br label %379

379:                                              ; preds = %410, %373
  %380 = load ptr, ptr %22, align 8, !tbaa !5
  %381 = getelementptr inbounds ptr, ptr %380, i32 1
  store ptr %381, ptr %22, align 8, !tbaa !5
  %382 = load ptr, ptr %380, align 8, !tbaa !5
  store ptr %382, ptr %21, align 8, !tbaa !5
  %383 = icmp ne ptr %382, null
  br i1 %383, label %384, label %411

384:                                              ; preds = %379
  %385 = load ptr, ptr %21, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.facetT, ptr %385, i32 0, i32 13
  %387 = load i32, ptr %386, align 8, !tbaa !18
  %388 = icmp eq i32 %387, 0
  br i1 %388, label %389, label %398

389:                                              ; preds = %384
  %390 = load i32, ptr %15, align 4, !tbaa !9
  %391 = icmp ne i32 %390, 0
  br i1 %391, label %392, label %397

392:                                              ; preds = %389
  store i32 0, ptr %15, align 4, !tbaa !9
  %393 = load ptr, ptr %6, align 8, !tbaa !5
  %394 = load ptr, ptr %21, align 8, !tbaa !5
  %395 = getelementptr inbounds %struct.facetT, ptr %394, i32 0, i32 13
  %396 = load i32, ptr %395, align 8, !tbaa !18
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %393, i32 noundef 9267, ptr noundef @.str.20, i32 noundef %396)
  br label %397

397:                                              ; preds = %392, %389
  br label %410

398:                                              ; preds = %384
  %399 = load ptr, ptr %21, align 8, !tbaa !5
  %400 = getelementptr inbounds %struct.facetT, ptr %399, i32 0, i32 13
  %401 = load i32, ptr %400, align 8, !tbaa !18
  %402 = load i32, ptr %26, align 4, !tbaa !9
  %403 = icmp ult i32 %401, %402
  br i1 %403, label %404, label %409

404:                                              ; preds = %398
  %405 = load ptr, ptr %6, align 8, !tbaa !5
  %406 = load ptr, ptr %21, align 8, !tbaa !5
  %407 = getelementptr inbounds %struct.facetT, ptr %406, i32 0, i32 13
  %408 = load i32, ptr %407, align 8, !tbaa !18
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %405, i32 noundef 9268, ptr noundef @.str.20, i32 noundef %408)
  br label %409

409:                                              ; preds = %404, %398
  br label %410

410:                                              ; preds = %409, %397
  br label %379, !llvm.loop !33

411:                                              ; preds = %379
  br label %412

412:                                              ; preds = %411, %368
  br label %413

413:                                              ; preds = %412, %363
  %414 = load ptr, ptr %6, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %414, i32 noundef 9269, ptr noundef @.str.17)
  br label %415

415:                                              ; preds = %413, %356
  br label %416

416:                                              ; preds = %415
  %417 = load ptr, ptr %23, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.setT, ptr %417, i32 0, i32 1
  %419 = load i32, ptr %17, align 4, !tbaa !9
  %420 = add nsw i32 %419, 1
  store i32 %420, ptr %17, align 4, !tbaa !9
  %421 = sext i32 %420 to i64
  %422 = getelementptr inbounds [1 x %union.setelemT], ptr %418, i64 0, i64 %421
  %423 = load ptr, ptr %422, align 8, !tbaa !15
  store ptr %423, ptr %24, align 8, !tbaa !5
  br label %243, !llvm.loop !34

424:                                              ; preds = %243
  br label %425

425:                                              ; preds = %424, %233
  %426 = load i32, ptr %7, align 4, !tbaa !9
  %427 = icmp eq i32 %426, 7
  br i1 %427, label %428, label %430

428:                                              ; preds = %425
  %429 = load ptr, ptr %6, align 8, !tbaa !5
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %429, i32 noundef 9270, ptr noundef @.str.59)
  br label %430

430:                                              ; preds = %428, %425
  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 2536}
!12 = !{!"qhT", !10, i64 0, !10, i64 4, !10, i64 8, !13, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !13, i64 56, !13, i64 64, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !6, i64 96, !10, i64 104, !10, i64 108, !6, i64 112, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !13, i64 152, !13, i64 160, !10, i64 168, !10, i64 172, !10, i64 176, !13, i64 184, !13, i64 192, !10, i64 200, !13, i64 208, !10, i64 216, !10, i64 220, !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, !7, i64 296, !10, i64 412, !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, !13, i64 544, !10, i64 552, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !13, i64 584, !10, i64 592, !6, i64 600, !6, i64 608, !10, i64 616, !10, i64 620, !10, i64 624, !10, i64 628, !10, i64 632, !6, i64 640, !10, i64 648, !6, i64 656, !10, i64 664, !7, i64 668, !10, i64 924, !7, i64 928, !7, i64 1184, !10, i64 1696, !10, i64 1700, !10, i64 1704, !10, i64 1708, !10, i64 1712, !10, i64 1716, !6, i64 1720, !6, i64 1728, !6, i64 1736, !6, i64 1744, !13, 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, !10, i64 1856, !6, i64 1864, !13, i64 1872, !13, i64 1880, !13, i64 1888, !13, i64 1896, !7, i64 1904, !7, i64 1912, !7, i64 2112, !7, i64 2152, !7, i64 2352, !6, i64 2392, !6, i64 2400, !6, i64 2408, !6, i64 2416, !10, i64 2424, !10, i64 2428, !10, i64 2432, !6, i64 2440, !6, i64 2448, !6, i64 2456, !6, i64 2464, !6, i64 2472, !10, i64 2480, !10, i64 2484, !6, i64 2488, !10, i64 2496, !6, i64 2504, !6, i64 2512, !6, i64 2520, !6, i64 2528, !10, i64 2536, !10, i64 2540, !10, i64 2544, !10, i64 2548, !10, i64 2552, !10, i64 2556, !10, i64 2560, !14, i64 2568, !10, i64 2576, !10, i64 2580, !10, i64 2584, !10, i64 2588, !6, i64 2592, !10, i64 2600, !10, i64 2604, !13, i64 2608, !10, i64 2616, !13, i64 2624, !13, i64 2632, !13, i64 2640, !10, i64 2648, !10, i64 2652, !10, i64 2656, !10, i64 2660, !13, i64 2664, !13, i64 2672, !10, i64 2680, !10, i64 2684, !10, i64 2688, !10, i64 2692, !13, i64 2696, !13, i64 2704, !10, i64 2712, !10, i64 2716, !10, i64 2720, !10, i64 2724, !6, i64 2728, !6, i64 2736, !6, i64 2744, !6, i64 2752, !6, i64 2760, !6, i64 2768, !6, i64 2776, !6, i64 2784, !10, i64 2792, !6, i64 2800, !6, i64 2808, !10, i64 2816, !10, i64 2820, !10, i64 2824, !6, i64 2832, !13, i64 2840, !13, i64 2848, !13, i64 2856, !10, i64 2864, !10, i64 2868, !6, i64 2872, !6, i64 2880, !10, i64 2888}
!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}
!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 624}
!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, double, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, double, double, i32, double, i32, 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, i32, double, double, double, 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, i32, ptr, double, double, double, double, [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, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, ptr, i32, i32, double, i32, double, double, double, i32, i32, i32, i32, double, double, i32, i32, i32, i32, double, double, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, ptr, double, double, double, 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.16 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.183 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.184 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.185 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.187 = 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

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

declare void @qh_settempfree(ptr noundef) local_unnamed_addr #1

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

; 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) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
  %9 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2536), 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 %.loopexit230, 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) #4
  %15 = icmp sgt i32 %14, 0
  br i1 %15, label %.lr.ph241.preheader, label %.loopexit230

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

.lr.ph241:                                        ; preds = %.lr.ph241.preheader, %.thread
  %indvars.iv = phi i64 [ 0, %.lr.ph241.preheader ], [ %indvars.iv.next, %.thread ]
  %.0108239 = phi ptr [ %13, %.lr.ph241.preheader ], [ %32, %.thread ]
  %.0134237 = phi i32 [ 0, %.lr.ph241.preheader ], [ %.1135, %.thread ]
  %.not181 = icmp eq ptr %.0108239, null
  br i1 %.not181, label %.thread, label %16

16:                                               ; preds = %.lr.ph241
  %17 = add nsw i32 %.0134237, 1
  %18 = getelementptr inbounds i8, ptr %.0108239, i64 24
  %19 = load ptr, ptr %18, align 8, !tbaa !15
  %.not182 = icmp eq ptr %19, null
  br i1 %.not182, label %.thread, label %.preheader229

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

.lr.ph:                                           ; preds = %.preheader229, %.lr.ph
  %21 = phi ptr [ %26, %.lr.ph ], [ %20, %.preheader229 ]
  %.0110235 = phi ptr [ %.0110, %.lr.ph ], [ %.0110231, %.preheader229 ]
  %.0120234 = phi i32 [ %.1121, %.lr.ph ], [ 0, %.preheader229 ]
  %.0127233 = phi i32 [ %.1128, %.lr.ph ], [ 0, %.preheader229 ]
  %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
  %.1128 = add nuw nsw i32 %.0127233, %spec.select
  %.1121 = select i1 %24, i32 %.0120234, i32 1
  %.0110 = getelementptr inbounds i8, ptr %.0110235, i64 8
  %26 = load ptr, ptr %.0110, align 8, !tbaa !13
  %.not184 = icmp eq ptr %26, null
  br i1 %.not184, label %._crit_edge, label %.lr.ph, !llvm.loop !19

._crit_edge:                                      ; preds = %.lr.ph
  %27 = icmp eq i32 %.1121, 0
  %28 = icmp ne i32 %.1128, 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 = %.preheader229, %16, %.lr.ph241, %29, %._crit_edge
  %.1135 = phi i32 [ %17, %._crit_edge ], [ %.0134237, %29 ], [ %.0134237, %.lr.ph241 ], [ %17, %16 ], [ %17, %.preheader229 ]
  %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 %.loopexit230, label %.lr.ph241, !llvm.loop !21

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

34:                                               ; preds = %.loopexit230
  %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.182, i32 noundef %35, i32 noundef %.2136) #4
  %36 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 624), align 8, !tbaa !23
  %.0249 = add nsw i32 %36, -1
  %.not159250 = icmp eq i32 %.0249, 0
  br i1 %.not159250, label %._crit_edge254, label %.lr.ph253

.lr.ph253:                                        ; preds = %34, %.lr.ph253
  %.0251 = phi i32 [ %.0, %.lr.ph253 ], [ %.0249, %34 ]
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9256, ptr noundef nonnull @.str.16, double noundef 0.000000e+00) #4
  %.0 = add nsw i32 %.0251, -1
  %.not159 = icmp eq i32 %.0, 0
  br i1 %.not159, label %._crit_edge254, label %.lr.ph253, !llvm.loop !24

._crit_edge254:                                   ; preds = %.lr.ph253, %34
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9257, ptr noundef nonnull @.str.184) #4
  br label %43

37:                                               ; preds = %.loopexit230
  %38 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 624), 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) #4
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9255, ptr noundef nonnull @.str.183, i32 noundef %39, i32 noundef %40, i32 noundef %41) #4
  %42 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 624), align 8, !tbaa !23
  %.1243 = add nsw i32 %42, -1
  %.not158244 = icmp eq i32 %.1243, 0
  br i1 %.not158244, label %._crit_edge248, label %.lr.ph247

.lr.ph247:                                        ; preds = %37, %.lr.ph247
  %.1245 = phi i32 [ %.1, %.lr.ph247 ], [ %.1243, %37 ]
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9258, ptr noundef nonnull @.str.16, double noundef -1.010100e+01) #4
  %.1 = add nsw i32 %.1245, -1
  %.not158 = icmp eq i32 %.1, 0
  br i1 %.not158, label %._crit_edge248, label %.lr.ph247, !llvm.loop !25

._crit_edge248:                                   ; preds = %.lr.ph247, %37
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9259, ptr noundef nonnull @.str.17) #4
  br label %43

43:                                               ; preds = %._crit_edge248, %._crit_edge254
  %.not160 = icmp eq ptr %2, null
  br i1 %.not160, label %.critedge, label %.preheader228

.preheader228:                                    ; preds = %43, %56
  %.0113256 = phi ptr [ %57, %56 ], [ %2, %43 ]
  %.0116255 = phi i32 [ %.2118, %56 ], [ 1, %43 ]
  %44 = getelementptr inbounds i8, ptr %.0113256, i64 56
  %45 = load ptr, ptr %44, align 8, !tbaa !26
  %.not162 = icmp eq ptr %45, null
  br i1 %.not162, label %.critedge, label %46

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

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

51:                                               ; preds = %50
  %52 = add nsw i32 %.0116255, 1
  %53 = getelementptr inbounds i8, ptr %.0113256, 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.185, i32 noundef %.0116255, i32 noundef %54) #4
  br label %55

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

56:                                               ; preds = %46, %55
  %57 = phi ptr [ %.pre, %55 ], [ %45, %46 ]
  %.2118 = phi i32 [ %.1117, %55 ], [ %.0116255, %46 ]
  %.not161 = icmp eq ptr %57, null
  br i1 %.not161, label %.critedge, label %.preheader228, !llvm.loop !28

.critedge:                                        ; preds = %.preheader228, %56, %43
  %.3119 = phi i32 [ 1, %43 ], [ %.2118, %56 ], [ %.0116255, %.preheader228 ]
  %.not163 = icmp eq ptr %3, null
  br i1 %.not163, label %.loopexit227, label %.preheader226

.preheader226:                                    ; preds = %.critedge
  %.0112257 = getelementptr inbounds i8, ptr %3, i64 8
  %58 = load ptr, ptr %.0112257, align 8, !tbaa !13
  %.not164258 = icmp eq ptr %58, null
  br i1 %.not164258, label %.loopexit227, label %.lr.ph261

.lr.ph261:                                        ; preds = %.preheader226
  br i1 %33, label %.lr.ph261.split.us, label %.lr.ph261.split

.lr.ph261.split.us:                               ; preds = %.lr.ph261, %67
  %59 = phi ptr [ %68, %67 ], [ %58, %.lr.ph261 ]
  %.0112260.us = phi ptr [ %.0112.us, %67 ], [ %.0112257, %.lr.ph261 ]
  %.4259.us = phi i32 [ %.6.us, %67 ], [ %.3119, %.lr.ph261 ]
  %60 = getelementptr inbounds i8, ptr %59, i64 104
  %61 = load i32, ptr %60, align 8, !tbaa !17
  %.not179.us = icmp ne i32 %61, 0
  %62 = icmp ult i32 %61, %9
  %or.cond186.us = select i1 %.not179.us, i1 %62, i1 false
  br i1 %or.cond186.us, label %63, label %67

63:                                               ; preds = %.lr.ph261.split.us
  %64 = add nsw i32 %.4259.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.185, i32 noundef %.4259.us, i32 noundef %66) #4
  call void @qh_printcenter(ptr noundef %0, i32 noundef 7, ptr noundef null, ptr noundef nonnull %59)
  br label %67

67:                                               ; preds = %63, %.lr.ph261.split.us
  %.6.us = phi i32 [ %64, %63 ], [ %.4259.us, %.lr.ph261.split.us ]
  %.0112.us = getelementptr inbounds i8, ptr %.0112260.us, i64 8
  %68 = load ptr, ptr %.0112.us, align 8, !tbaa !13
  %.not164.us = icmp eq ptr %68, null
  br i1 %.not164.us, label %.loopexit227, label %.lr.ph261.split.us, !llvm.loop !29

.lr.ph261.split:                                  ; preds = %.lr.ph261, %74
  %69 = phi ptr [ %75, %74 ], [ %58, %.lr.ph261 ]
  %.0112260 = phi ptr [ %.0112, %74 ], [ %.0112257, %.lr.ph261 ]
  %70 = getelementptr inbounds i8, ptr %69, i64 104
  %71 = load i32, ptr %70, align 8, !tbaa !17
  %.not179 = icmp ne i32 %71, 0
  %72 = icmp ult i32 %71, %9
  %or.cond186 = select i1 %.not179, i1 %72, i1 false
  br i1 %or.cond186, label %73, label %74

73:                                               ; preds = %.lr.ph261.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.ph261.split
  %.0112 = getelementptr inbounds i8, ptr %.0112260, i64 8
  %75 = load ptr, ptr %.0112, align 8, !tbaa !13
  %.not164 = icmp eq ptr %75, null
  br i1 %.not164, label %.loopexit227, label %.lr.ph261.split, !llvm.loop !29

.loopexit227:                                     ; preds = %74, %67, %.preheader226, %.critedge
  %76 = load ptr, ptr %7, align 8, !tbaa !13
  %.not165 = icmp eq ptr %76, null
  br i1 %.not165, label %.loopexit225, label %77

77:                                               ; preds = %.loopexit227
  %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) #4
  %81 = icmp sgt i32 %80, 0
  br i1 %81, label %.lr.ph285.preheader, label %.loopexit225

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

.lr.ph285:                                        ; preds = %.lr.ph285.preheader, %131
  %indvars.iv289 = phi i64 [ 0, %.lr.ph285.preheader ], [ %indvars.iv.next290, %131 ]
  %.1109283 = phi ptr [ %79, %.lr.ph285.preheader ], [ %133, %131 ]
  %.not166 = icmp eq ptr %.1109283, null
  br i1 %.not166, label %.thread203, label %82

82:                                               ; preds = %.lr.ph285
  %83 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 624), align 8, !tbaa !23
  %84 = icmp eq i32 %83, 3
  br i1 %84, label %85, label %86

85:                                               ; preds = %82
  call void @qh_order_vertexneighbors(ptr noundef nonnull %.1109283)
  br label %94

86:                                               ; preds = %82
  %87 = icmp sgt i32 %83, 3
  br i1 %87, label %88, label %94

88:                                               ; preds = %86
  %89 = getelementptr inbounds i8, ptr %.1109283, i64 24
  %90 = load ptr, ptr %89, align 8, !tbaa !15
  %91 = getelementptr inbounds i8, ptr %90, i64 8
  %92 = call i32 @qh_setsize(ptr noundef %90) #4
  %93 = sext i32 %92 to i64
  call void @qsort(ptr noundef nonnull %91, i64 noundef %93, i64 noundef 8, ptr noundef nonnull @qh_compare_facetvisit) #4
  br label %94

94:                                               ; preds = %86, %88, %85
  %95 = getelementptr inbounds i8, ptr %.1109283, i64 24
  %96 = load ptr, ptr %95, align 8, !tbaa !15
  %.not167 = icmp eq ptr %96, null
  br i1 %.not167, label %.thread194, label %.preheader224

.preheader224:                                    ; preds = %94
  %.1111262 = getelementptr inbounds i8, ptr %96, i64 8
  %97 = load ptr, ptr %.1111262, align 8, !tbaa !13
  %.not169263 = icmp eq ptr %97, null
  br i1 %.not169263, label %._crit_edge268, label %.lr.ph267

.lr.ph267:                                        ; preds = %.preheader224, %.lr.ph267
  %98 = phi ptr [ %103, %.lr.ph267 ], [ %97, %.preheader224 ]
  %.1111266 = phi ptr [ %.1111, %.lr.ph267 ], [ %.1111262, %.preheader224 ]
  %.3123.fr265 = phi i32 [ %.4124, %.lr.ph267 ], [ 0, %.preheader224 ]
  %.3130264 = phi i32 [ %.4131, %.lr.ph267 ], [ 0, %.preheader224 ]
  %99 = getelementptr inbounds i8, ptr %98, i64 104
  %100 = load i32, ptr %99, align 8, !tbaa !17
  %.fr286 = freeze i32 %100
  %101 = icmp ne i32 %.fr286, 0
  %102 = icmp ult i32 %.fr286, %9
  %narrow221 = select i1 %101, i1 %102, i1 false
  %spec.select187 = zext i1 %narrow221 to i32
  %.4131 = add nuw nsw i32 %.3130264, %spec.select187
  %.4124 = select i1 %101, i32 %.3123.fr265, i32 1
  %.1111 = getelementptr inbounds i8, ptr %.1111266, i64 8
  %103 = load ptr, ptr %.1111, align 8, !tbaa !13
  %.not169 = icmp eq ptr %103, null
  br i1 %.not169, label %._crit_edge268, label %.lr.ph267, !llvm.loop !30

._crit_edge268:                                   ; preds = %.lr.ph267, %.preheader224
  %.3130.lcssa = phi i32 [ 0, %.preheader224 ], [ %.4131, %.lr.ph267 ]
  %.3123.fr.lcssa = phi i32 [ 0, %.preheader224 ], [ %.4124, %.lr.ph267 ]
  br i1 %33, label %.thread200, label %.thread208

.thread203:                                       ; preds = %.lr.ph285
  br i1 %33, label %.thread206, label %.thread208.thread

.thread208.thread:                                ; preds = %.thread203
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9266, ptr noundef nonnull @.str.19, i32 noundef 0) #4
  br label %.loopexit223

.thread194:                                       ; preds = %94
  br i1 %33, label %.thread200, label %.thread208.thread217

.thread200:                                       ; preds = %._crit_edge268, %.thread194
  %.5132197202 = phi i32 [ 0, %.thread194 ], [ %.3130.lcssa, %._crit_edge268 ]
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9262, ptr noundef nonnull @.str.19, i32 noundef %.5132197202) #4
  %104 = load ptr, ptr %95, align 8, !tbaa !15
  %.not175 = icmp eq ptr %104, null
  br i1 %.not175, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.thread200
  %.2276 = getelementptr inbounds i8, ptr %104, i64 8
  %105 = load ptr, ptr %.2276, align 8, !tbaa !13
  %.not177277 = icmp eq ptr %105, null
  br i1 %.not177277, label %.loopexit, label %.lr.ph279

.lr.ph279:                                        ; preds = %.preheader, %111
  %106 = phi ptr [ %112, %111 ], [ %105, %.preheader ]
  %.2278 = phi ptr [ %.2, %111 ], [ %.2276, %.preheader ]
  %107 = getelementptr inbounds i8, ptr %106, i64 104
  %108 = load i32, ptr %107, align 8, !tbaa !17
  %.not178 = icmp ne i32 %108, 0
  %109 = icmp ult i32 %108, %9
  %or.cond188 = select i1 %.not178, i1 %109, i1 false
  br i1 %or.cond188, label %110, label %111

110:                                              ; preds = %.lr.ph279
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9263, ptr noundef nonnull @.str.20, i32 noundef %108) #4
  br label %111

111:                                              ; preds = %110, %.lr.ph279
  %.2 = getelementptr inbounds i8, ptr %.2278, i64 8
  %112 = load ptr, ptr %.2, align 8, !tbaa !13
  %.not177 = icmp eq ptr %112, null
  br i1 %.not177, label %.loopexit, label %.lr.ph279, !llvm.loop !31

.loopexit:                                        ; preds = %111, %.preheader, %.thread200
  %113 = getelementptr inbounds i8, ptr %.1109283, i64 32
  %114 = load i32, ptr %113, align 8, !tbaa !32
  %115 = trunc nuw nsw i64 %indvars.iv289 to i32
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9264, ptr noundef nonnull @.str.186, i32 noundef %115, i32 noundef %114) #4
  br label %131

.thread206:                                       ; preds = %.thread203
  %116 = trunc nuw nsw i64 %indvars.iv289 to i32
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9265, ptr noundef nonnull @.str.187, i32 noundef %116) #4
  br label %131

.thread208:                                       ; preds = %._crit_edge268
  %.not170 = icmp ne i32 %.3123.fr.lcssa, 0
  %117 = zext i1 %.not170 to i32
  %spec.select220 = add nuw nsw i32 %.3130.lcssa, %117
  br label %.thread208.thread217

.thread208.thread217:                             ; preds = %.thread194, %.thread208
  %spec.select220.sink = phi i32 [ %spec.select220, %.thread208 ], [ 0, %.thread194 ]
  %.5125199213219 = phi i32 [ %.3123.fr.lcssa, %.thread208 ], [ 0, %.thread194 ]
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9266, ptr noundef nonnull @.str.19, i32 noundef %spec.select220.sink) #4
  %118 = load ptr, ptr %95, align 8, !tbaa !15
  %.not171 = icmp eq ptr %118, null
  br i1 %.not171, label %.loopexit223, label %.preheader222

.preheader222:                                    ; preds = %.thread208.thread217
  %.3271 = getelementptr inbounds i8, ptr %118, i64 8
  %119 = load ptr, ptr %.3271, align 8, !tbaa !13
  %.not173272 = icmp eq ptr %119, null
  br i1 %.not173272, label %.loopexit223, label %.lr.ph275

.lr.ph275:                                        ; preds = %.preheader222, %129
  %120 = phi ptr [ %130, %129 ], [ %119, %.preheader222 ]
  %.3274 = phi ptr [ %.3, %129 ], [ %.3271, %.preheader222 ]
  %.6126273 = phi i32 [ %.7, %129 ], [ %.5125199213219, %.preheader222 ]
  %121 = getelementptr inbounds i8, ptr %120, i64 104
  %122 = load i32, ptr %121, align 8, !tbaa !17
  %123 = icmp eq i32 %122, 0
  br i1 %123, label %124, label %126

124:                                              ; preds = %.lr.ph275
  %.not174 = icmp eq i32 %.6126273, 0
  br i1 %.not174, label %129, label %125

125:                                              ; preds = %124
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9267, ptr noundef nonnull @.str.20, i32 noundef 0) #4
  br label %129

126:                                              ; preds = %.lr.ph275
  %127 = icmp ult i32 %122, %9
  br i1 %127, label %128, label %129

128:                                              ; preds = %126
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9268, ptr noundef nonnull @.str.20, i32 noundef %122) #4
  br label %129

129:                                              ; preds = %126, %128, %124, %125
  %.7 = phi i32 [ 0, %125 ], [ 0, %124 ], [ %.6126273, %128 ], [ %.6126273, %126 ]
  %.3 = getelementptr inbounds i8, ptr %.3274, i64 8
  %130 = load ptr, ptr %.3, align 8, !tbaa !13
  %.not173 = icmp eq ptr %130, null
  br i1 %.not173, label %.loopexit223, label %.lr.ph275, !llvm.loop !33

.loopexit223:                                     ; preds = %129, %.preheader222, %.thread208.thread, %.thread208.thread217
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9269, ptr noundef nonnull @.str.17) #4
  br label %131

131:                                              ; preds = %.loopexit223, %.thread206, %.loopexit
  %indvars.iv.next290 = add nuw nsw i64 %indvars.iv289, 1
  %132 = getelementptr inbounds [1 x %union.setelemT], ptr %78, i64 0, i64 %indvars.iv.next290
  %133 = load ptr, ptr %132, align 8, !tbaa !14
  %exitcond293.not = icmp eq i64 %indvars.iv.next290, %wide.trip.count292
  br i1 %exitcond293.not, label %.loopexit225, label %.lr.ph285, !llvm.loop !34

.loopexit225:                                     ; preds = %131, %77, %.loopexit227
  br i1 %33, label %134, label %135

134:                                              ; preds = %.loopexit225
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, i32 noundef 9270, ptr noundef nonnull @.str.59) #4
  br label %135

135:                                              ; preds = %134, %.loopexit225
  call void @qh_settempfree(ptr noundef nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  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 = { 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 2536}
!6 = !{!"qhT", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !10, i64 56, !10, i64 64, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !11, i64 96, !7, i64 104, !7, i64 108, !11, i64 112, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !10, i64 152, !10, i64 160, !7, i64 168, !7, i64 172, !7, i64 176, !10, i64 184, !10, i64 192, !7, i64 200, !10, i64 208, !7, i64 216, !7, i64 220, !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, !8, i64 296, !7, i64 412, !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, !10, i64 544, !7, i64 552, !7, i64 556, !7, i64 560, !7, i64 564, !7, i64 568, !7, i64 572, !7, i64 576, !7, i64 580, !10, i64 584, !7, i64 592, !11, i64 600, !11, i64 608, !7, i64 616, !7, i64 620, !7, i64 624, !7, i64 628, !7, i64 632, !11, i64 640, !7, i64 648, !11, i64 656, !7, i64 664, !8, i64 668, !7, i64 924, !8, i64 928, !8, i64 1184, !7, i64 1696, !7, i64 1700, !7, i64 1704, !7, i64 1708, !7, i64 1712, !7, i64 1716, !11, i64 1720, !11, i64 1728, !11, i64 1736, !11, i64 1744, !10, 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, !7, i64 1856, !11, i64 1864, !10, i64 1872, !10, i64 1880, !10, i64 1888, !10, i64 1896, !8, i64 1904, !8, i64 1912, !8, i64 2112, !8, i64 2152, !8, i64 2352, !11, i64 2392, !11, i64 2400, !11, i64 2408, !11, i64 2416, !7, i64 2424, !7, i64 2428, !7, i64 2432, !11, i64 2440, !11, i64 2448, !11, i64 2456, !11, i64 2464, !11, i64 2472, !7, i64 2480, !7, i64 2484, !11, i64 2488, !7, i64 2496, !11, i64 2504, !11, i64 2512, !11, i64 2520, !11, i64 2528, !7, i64 2536, !7, i64 2540, !7, i64 2544, !7, i64 2548, !7, i64 2552, !7, i64 2556, !7, i64 2560, !12, i64 2568, !7, i64 2576, !7, i64 2580, !7, i64 2584, !7, i64 2588, !11, i64 2592, !7, i64 2600, !7, i64 2604, !10, i64 2608, !7, i64 2616, !10, i64 2624, !10, i64 2632, !10, i64 2640, !7, i64 2648, !7, i64 2652, !7, i64 2656, !7, i64 2660, !10, i64 2664, !10, i64 2672, !7, i64 2680, !7, i64 2684, !7, i64 2688, !7, i64 2692, !10, i64 2696, !10, i64 2704, !7, i64 2712, !7, i64 2716, !7, i64 2720, !7, i64 2724, !11, i64 2728, !11, i64 2736, !11, i64 2744, !11, i64 2752, !11, i64 2760, !11, i64 2768, !11, i64 2776, !11, i64 2784, !7, i64 2792, !11, i64 2800, !11, i64 2808, !7, i64 2816, !7, i64 2820, !7, i64 2824, !11, i64 2832, !10, i64 2840, !10, i64 2848, !10, i64 2856, !7, i64 2864, !7, i64 2868, !11, i64 2872, !11, i64 2880, !7, i64 2888}
!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}
!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 624}
!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