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

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

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

@stderr = external global ptr, align 8
@stdout = external global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [392 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [88 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @print_summary(ptr noundef) #0

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

declare i32 @printf(ptr noundef, ...) #2

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

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

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

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca [56 x double], align 16
  %9 = alloca [14 x ptr], align 16
  %10 = alloca i32, align 4
  %11 = alloca [250 x i8], align 16
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %struct.qhT, align 8
  %20 = alloca ptr, align 8
  %21 = alloca [42 x double], align 16
  %22 = alloca %struct.qhT, align 8
  %23 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 3, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 448, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 112, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 250, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %24 = load ptr, ptr @stdout, align 8, !tbaa !9
  store ptr %24, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %25 = load ptr, ptr @stderr, align 8, !tbaa !9
  store ptr %25, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8768, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  store ptr %19, ptr %20, align 8, !tbaa !9
  call void @qh_lib_check(i32 noundef 2, i32 noundef 8768, i32 noundef 48, i32 noundef 32, i32 noundef 120, i32 noundef 16, i32 noundef 152)
  %26 = load ptr, ptr %20, align 8, !tbaa !9
  %27 = load ptr, ptr %13, align 8, !tbaa !9
  call void @qh_zero(ptr noundef %26, ptr noundef %27)
  %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  %30 = getelementptr inbounds [250 x i8], ptr %11, i64 0, i64 0
  %31 = load i32, ptr %4, align 4, !tbaa !5
  %32 = icmp sge i32 %31, 2
  br i1 %32, label %33, label %37

33:                                               ; preds = %2
  %34 = load ptr, ptr %5, align 8, !tbaa !9
  %35 = getelementptr inbounds ptr, ptr %34, i64 1
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  br label %38

37:                                               ; preds = %2
  br label %38

38:                                               ; preds = %37, %33
  %39 = phi ptr [ %36, %33 ], [ @.str.9, %37 ]
  %40 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %30, ptr noundef @.str.8, ptr noundef %39) #5
  store i32 8, ptr %7, align 4, !tbaa !5
  %41 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %42 = load i32, ptr %7, align 4, !tbaa !5
  call void @makecube(ptr noundef %41, i32 noundef %42, i32 noundef 3)
  %43 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %43, ptr %18, align 4, !tbaa !5
  br label %44

44:                                               ; preds = %48, %38
  %45 = load i32, ptr %18, align 4, !tbaa !5
  %46 = add nsw i32 %45, -1
  store i32 %46, ptr %18, align 4, !tbaa !5
  %47 = icmp ne i32 %45, 0
  br i1 %47, label %48, label %58

48:                                               ; preds = %44
  %49 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %50 = load i32, ptr %6, align 4, !tbaa !5
  %51 = load i32, ptr %18, align 4, !tbaa !5
  %52 = mul nsw i32 %50, %51
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds double, ptr %49, i64 %53
  %55 = load i32, ptr %18, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [14 x ptr], ptr %9, i64 0, i64 %56
  store ptr %54, ptr %57, align 8, !tbaa !9
  br label %44, !llvm.loop !11

58:                                               ; preds = %44
  %59 = load ptr, ptr %20, align 8, !tbaa !9
  %60 = load ptr, ptr %12, align 8, !tbaa !9
  %61 = getelementptr inbounds [14 x ptr], ptr %9, i64 0, i64 0
  %62 = load i32, ptr %7, align 4, !tbaa !5
  %63 = load i32, ptr %6, align 4, !tbaa !5
  call void @qh_printmatrix(ptr noundef %59, ptr noundef %60, ptr noundef @.str.10, ptr noundef %61, i32 noundef %62, i32 noundef %63)
  %64 = call i32 @fflush(ptr noundef null)
  %65 = load ptr, ptr %20, align 8, !tbaa !9
  %66 = load i32, ptr %6, align 4, !tbaa !5
  %67 = load i32, ptr %7, align 4, !tbaa !5
  %68 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %69 = load i32, ptr %10, align 4, !tbaa !5
  %70 = getelementptr inbounds [250 x i8], ptr %11, i64 0, i64 0
  %71 = load ptr, ptr %12, align 8, !tbaa !9
  %72 = load ptr, ptr %13, align 8, !tbaa !9
  %73 = call i32 @qh_new_qhull(ptr noundef %65, i32 noundef %66, i32 noundef %67, ptr noundef %68, i32 noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72)
  store i32 %73, ptr %14, align 4, !tbaa !5
  %74 = call i32 @fflush(ptr noundef null)
  %75 = load i32, ptr %14, align 4, !tbaa !5
  %76 = icmp ne i32 %75, 0
  br i1 %76, label %98, label %77

77:                                               ; preds = %58
  %78 = load ptr, ptr %20, align 8, !tbaa !9
  call void @print_summary(ptr noundef %78)
  %79 = load ptr, ptr %20, align 8, !tbaa !9
  %80 = getelementptr inbounds %struct.qhT, ptr %79, i32 0, i32 163
  %81 = load ptr, ptr %80, align 8, !tbaa !13
  store ptr %81, ptr %15, align 8, !tbaa !9
  br label %82

82:                                               ; preds = %93, %77
  %83 = load ptr, ptr %15, align 8, !tbaa !9
  %84 = icmp ne ptr %83, null
  br i1 %84, label %85, label %90

85:                                               ; preds = %82
  %86 = load ptr, ptr %15, align 8, !tbaa !9
  %87 = getelementptr inbounds %struct.facetT, ptr %86, i32 0, i32 7
  %88 = load ptr, ptr %87, align 8, !tbaa !19
  %89 = icmp ne ptr %88, null
  br label %90

90:                                               ; preds = %85, %82
  %91 = phi i1 [ false, %82 ], [ %89, %85 ]
  br i1 %91, label %92, label %97

92:                                               ; preds = %90
  br label %93

93:                                               ; preds = %92
  %94 = load ptr, ptr %15, align 8, !tbaa !9
  %95 = getelementptr inbounds %struct.facetT, ptr %94, i32 0, i32 7
  %96 = load ptr, ptr %95, align 8, !tbaa !19
  store ptr %96, ptr %15, align 8, !tbaa !9
  br label %82, !llvm.loop !21

97:                                               ; preds = %90
  br label %98

98:                                               ; preds = %97, %58
  %99 = load ptr, ptr %20, align 8, !tbaa !9
  call void @qh_freeqhull(ptr noundef %99, i32 noundef 0)
  %100 = load ptr, ptr %20, align 8, !tbaa !9
  call void @qh_memfreeshort(ptr noundef %100, ptr noundef %16, ptr noundef %17)
  %101 = load i32, ptr %16, align 4, !tbaa !5
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %106, label %103

103:                                              ; preds = %98
  %104 = load i32, ptr %17, align 4, !tbaa !5
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %106, label %111

106:                                              ; preds = %103, %98
  %107 = load ptr, ptr %13, align 8, !tbaa !9
  %108 = load i32, ptr %17, align 4, !tbaa !5
  %109 = load i32, ptr %16, align 4, !tbaa !5
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef @.str.11, i32 noundef %108, i32 noundef %109) #5
  br label %111

111:                                              ; preds = %106, %103
  %112 = load i32, ptr %6, align 4, !tbaa !5
  %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %112)
  %114 = getelementptr inbounds [250 x i8], ptr %11, i64 0, i64 0
  %115 = load i32, ptr %4, align 4, !tbaa !5
  %116 = icmp sge i32 %115, 3
  br i1 %116, label %117, label %121

117:                                              ; preds = %111
  %118 = load ptr, ptr %5, align 8, !tbaa !9
  %119 = getelementptr inbounds ptr, ptr %118, i64 2
  %120 = load ptr, ptr %119, align 8, !tbaa !9
  br label %122

121:                                              ; preds = %111
  br label %122

122:                                              ; preds = %121, %117
  %123 = phi ptr [ %120, %117 ], [ @.str.9, %121 ]
  %124 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %114, ptr noundef @.str.13, ptr noundef %123) #5
  store i32 8, ptr %7, align 4, !tbaa !5
  %125 = load ptr, ptr %20, align 8, !tbaa !9
  %126 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %127 = load i32, ptr %7, align 4, !tbaa !5
  %128 = load i32, ptr %6, align 4, !tbaa !5
  %129 = call i64 @time(ptr noundef null) #5
  %130 = trunc i64 %129 to i32
  call void @makeDelaunay(ptr noundef %125, ptr noundef %126, i32 noundef %127, i32 noundef %128, i32 noundef %130)
  %131 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %131, ptr %18, align 4, !tbaa !5
  br label %132

132:                                              ; preds = %136, %122
  %133 = load i32, ptr %18, align 4, !tbaa !5
  %134 = add nsw i32 %133, -1
  store i32 %134, ptr %18, align 4, !tbaa !5
  %135 = icmp ne i32 %133, 0
  br i1 %135, label %136, label %146

136:                                              ; preds = %132
  %137 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %138 = load i32, ptr %6, align 4, !tbaa !5
  %139 = load i32, ptr %18, align 4, !tbaa !5
  %140 = mul nsw i32 %138, %139
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds double, ptr %137, i64 %141
  %143 = load i32, ptr %18, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [14 x ptr], ptr %9, i64 0, i64 %144
  store ptr %142, ptr %145, align 8, !tbaa !9
  br label %132, !llvm.loop !22

146:                                              ; preds = %132
  %147 = load ptr, ptr %20, align 8, !tbaa !9
  %148 = load ptr, ptr %12, align 8, !tbaa !9
  %149 = getelementptr inbounds [14 x ptr], ptr %9, i64 0, i64 0
  %150 = load i32, ptr %7, align 4, !tbaa !5
  %151 = load i32, ptr %6, align 4, !tbaa !5
  call void @qh_printmatrix(ptr noundef %147, ptr noundef %148, ptr noundef @.str.10, ptr noundef %149, i32 noundef %150, i32 noundef %151)
  %152 = call i32 @fflush(ptr noundef null)
  %153 = load ptr, ptr %20, align 8, !tbaa !9
  %154 = load i32, ptr %6, align 4, !tbaa !5
  %155 = load i32, ptr %7, align 4, !tbaa !5
  %156 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %157 = load i32, ptr %10, align 4, !tbaa !5
  %158 = getelementptr inbounds [250 x i8], ptr %11, i64 0, i64 0
  %159 = load ptr, ptr %12, align 8, !tbaa !9
  %160 = load ptr, ptr %13, align 8, !tbaa !9
  %161 = call i32 @qh_new_qhull(ptr noundef %153, i32 noundef %154, i32 noundef %155, ptr noundef %156, i32 noundef %157, ptr noundef %158, ptr noundef %159, ptr noundef %160)
  store i32 %161, ptr %14, align 4, !tbaa !5
  %162 = call i32 @fflush(ptr noundef null)
  %163 = load i32, ptr %14, align 4, !tbaa !5
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %201, label %165

165:                                              ; preds = %146
  %166 = load ptr, ptr %20, align 8, !tbaa !9
  call void @print_summary(ptr noundef %166)
  %167 = load ptr, ptr %20, align 8, !tbaa !9
  %168 = getelementptr inbounds %struct.qhT, ptr %167, i32 0, i32 163
  %169 = load ptr, ptr %168, align 8, !tbaa !13
  store ptr %169, ptr %15, align 8, !tbaa !9
  br label %170

170:                                              ; preds = %181, %165
  %171 = load ptr, ptr %15, align 8, !tbaa !9
  %172 = icmp ne ptr %171, null
  br i1 %172, label %173, label %178

173:                                              ; preds = %170
  %174 = load ptr, ptr %15, align 8, !tbaa !9
  %175 = getelementptr inbounds %struct.facetT, ptr %174, i32 0, i32 7
  %176 = load ptr, ptr %175, align 8, !tbaa !19
  %177 = icmp ne ptr %176, null
  br label %178

178:                                              ; preds = %173, %170
  %179 = phi i1 [ false, %170 ], [ %177, %173 ]
  br i1 %179, label %180, label %185

180:                                              ; preds = %178
  br label %181

181:                                              ; preds = %180
  %182 = load ptr, ptr %15, align 8, !tbaa !9
  %183 = getelementptr inbounds %struct.facetT, ptr %182, i32 0, i32 7
  %184 = load ptr, ptr %183, align 8, !tbaa !19
  store ptr %184, ptr %15, align 8, !tbaa !9
  br label %170, !llvm.loop !23

185:                                              ; preds = %178
  %186 = load i32, ptr %6, align 4, !tbaa !5
  %187 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %186)
  %188 = load ptr, ptr %20, align 8, !tbaa !9
  %189 = getelementptr inbounds %struct.qhT, ptr %188, i32 0, i32 152
  %190 = getelementptr inbounds [1 x %struct.__jmp_buf_tag], ptr %189, i64 0, i64 0
  %191 = call i32 @_setjmp(ptr noundef %190) #6
  store i32 %191, ptr %14, align 4, !tbaa !5
  %192 = load i32, ptr %14, align 4, !tbaa !5
  %193 = icmp ne i32 %192, 0
  br i1 %193, label %198, label %194

194:                                              ; preds = %185
  %195 = load ptr, ptr %20, align 8, !tbaa !9
  %196 = getelementptr inbounds %struct.qhT, ptr %195, i32 0, i32 206
  store i32 0, ptr %196, align 8, !tbaa !24
  %197 = load ptr, ptr %20, align 8, !tbaa !9
  call void @findDelaunay(ptr noundef %197, i32 noundef 3)
  br label %198

198:                                              ; preds = %194, %185
  %199 = load ptr, ptr %20, align 8, !tbaa !9
  %200 = getelementptr inbounds %struct.qhT, ptr %199, i32 0, i32 206
  store i32 1, ptr %200, align 8, !tbaa !24
  br label %201

201:                                              ; preds = %198, %146
  call void @llvm.lifetime.start.p0(i64 336, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8768, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  store ptr %22, ptr %23, align 8, !tbaa !9
  %202 = load ptr, ptr %23, align 8, !tbaa !9
  %203 = load ptr, ptr %13, align 8, !tbaa !9
  call void @qh_zero(ptr noundef %202, ptr noundef %203)
  %204 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
  %205 = getelementptr inbounds [250 x i8], ptr %11, i64 0, i64 0
  %206 = load i32, ptr %4, align 4, !tbaa !5
  %207 = icmp sge i32 %206, 3
  br i1 %207, label %208, label %212

208:                                              ; preds = %201
  %209 = load ptr, ptr %5, align 8, !tbaa !9
  %210 = getelementptr inbounds ptr, ptr %209, i64 2
  %211 = load ptr, ptr %210, align 8, !tbaa !9
  br label %213

212:                                              ; preds = %201
  br label %213

213:                                              ; preds = %212, %208
  %214 = phi ptr [ %211, %208 ], [ @.str.9, %212 ]
  %215 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %205, ptr noundef @.str.13, ptr noundef %214) #5
  store i32 8, ptr %7, align 4, !tbaa !5
  %216 = load ptr, ptr %23, align 8, !tbaa !9
  %217 = getelementptr inbounds [42 x double], ptr %21, i64 0, i64 0
  %218 = load i32, ptr %7, align 4, !tbaa !5
  %219 = load i32, ptr %6, align 4, !tbaa !5
  %220 = call i64 @time(ptr noundef null) #5
  %221 = trunc i64 %220 to i32
  %222 = add nsw i32 %221, 1
  call void @makeDelaunay(ptr noundef %216, ptr noundef %217, i32 noundef %218, i32 noundef %219, i32 noundef %222)
  %223 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %223, ptr %18, align 4, !tbaa !5
  br label %224

224:                                              ; preds = %228, %213
  %225 = load i32, ptr %18, align 4, !tbaa !5
  %226 = add nsw i32 %225, -1
  store i32 %226, ptr %18, align 4, !tbaa !5
  %227 = icmp ne i32 %225, 0
  br i1 %227, label %228, label %238

228:                                              ; preds = %224
  %229 = getelementptr inbounds [42 x double], ptr %21, i64 0, i64 0
  %230 = load i32, ptr %6, align 4, !tbaa !5
  %231 = load i32, ptr %18, align 4, !tbaa !5
  %232 = mul nsw i32 %230, %231
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds double, ptr %229, i64 %233
  %235 = load i32, ptr %18, align 4, !tbaa !5
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds [14 x ptr], ptr %9, i64 0, i64 %236
  store ptr %234, ptr %237, align 8, !tbaa !9
  br label %224, !llvm.loop !25

238:                                              ; preds = %224
  %239 = load ptr, ptr %23, align 8, !tbaa !9
  %240 = load ptr, ptr %12, align 8, !tbaa !9
  %241 = getelementptr inbounds [14 x ptr], ptr %9, i64 0, i64 0
  %242 = load i32, ptr %7, align 4, !tbaa !5
  %243 = load i32, ptr %6, align 4, !tbaa !5
  call void @qh_printmatrix(ptr noundef %239, ptr noundef %240, ptr noundef @.str.10, ptr noundef %241, i32 noundef %242, i32 noundef %243)
  %244 = call i32 @fflush(ptr noundef null)
  %245 = load ptr, ptr %23, align 8, !tbaa !9
  %246 = load i32, ptr %6, align 4, !tbaa !5
  %247 = load i32, ptr %7, align 4, !tbaa !5
  %248 = getelementptr inbounds [42 x double], ptr %21, i64 0, i64 0
  %249 = load i32, ptr %10, align 4, !tbaa !5
  %250 = getelementptr inbounds [250 x i8], ptr %11, i64 0, i64 0
  %251 = load ptr, ptr %12, align 8, !tbaa !9
  %252 = load ptr, ptr %13, align 8, !tbaa !9
  %253 = call i32 @qh_new_qhull(ptr noundef %245, i32 noundef %246, i32 noundef %247, ptr noundef %248, i32 noundef %249, ptr noundef %250, ptr noundef %251, ptr noundef %252)
  store i32 %253, ptr %14, align 4, !tbaa !5
  %254 = call i32 @fflush(ptr noundef null)
  %255 = load i32, ptr %14, align 4, !tbaa !5
  %256 = icmp ne i32 %255, 0
  br i1 %256, label %259, label %257

257:                                              ; preds = %238
  %258 = load ptr, ptr %23, align 8, !tbaa !9
  call void @print_summary(ptr noundef %258)
  br label %259

259:                                              ; preds = %257, %238
  %260 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  %261 = load ptr, ptr %23, align 8, !tbaa !9
  call void @qh_freeqhull(ptr noundef %261, i32 noundef 0)
  %262 = load ptr, ptr %23, align 8, !tbaa !9
  call void @qh_memfreeshort(ptr noundef %262, ptr noundef %16, ptr noundef %17)
  %263 = load i32, ptr %16, align 4, !tbaa !5
  %264 = icmp ne i32 %263, 0
  br i1 %264, label %268, label %265

265:                                              ; preds = %259
  %266 = load i32, ptr %17, align 4, !tbaa !5
  %267 = icmp ne i32 %266, 0
  br i1 %267, label %268, label %273

268:                                              ; preds = %265, %259
  %269 = load ptr, ptr %13, align 8, !tbaa !9
  %270 = load i32, ptr %17, align 4, !tbaa !5
  %271 = load i32, ptr %16, align 4, !tbaa !5
  %272 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %269, ptr noundef @.str.17, i32 noundef %270, i32 noundef %271) #5
  br label %273

273:                                              ; preds = %268, %265
  %274 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
  %275 = load ptr, ptr %20, align 8, !tbaa !9
  call void @print_summary(ptr noundef %275)
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8768, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 336, ptr %21) #5
  %276 = load ptr, ptr %20, align 8, !tbaa !9
  call void @qh_freeqhull(ptr noundef %276, i32 noundef 0)
  %277 = load ptr, ptr %20, align 8, !tbaa !9
  call void @qh_memfreeshort(ptr noundef %277, ptr noundef %16, ptr noundef %17)
  %278 = load i32, ptr %16, align 4, !tbaa !5
  %279 = icmp ne i32 %278, 0
  br i1 %279, label %283, label %280

280:                                              ; preds = %273
  %281 = load i32, ptr %17, align 4, !tbaa !5
  %282 = icmp ne i32 %281, 0
  br i1 %282, label %283, label %288

283:                                              ; preds = %280, %273
  %284 = load ptr, ptr %13, align 8, !tbaa !9
  %285 = load i32, ptr %17, align 4, !tbaa !5
  %286 = load i32, ptr %16, align 4, !tbaa !5
  %287 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %284, ptr noundef @.str.19, i32 noundef %285, i32 noundef %286) #5
  br label %288

288:                                              ; preds = %283, %280
  %289 = call i32 (ptr, ...) @printf(ptr noundef @.str.20)
  %290 = getelementptr inbounds [250 x i8], ptr %11, i64 0, i64 0
  %291 = load i32, ptr %4, align 4, !tbaa !5
  %292 = icmp sge i32 %291, 4
  br i1 %292, label %293, label %297

293:                                              ; preds = %288
  %294 = load ptr, ptr %5, align 8, !tbaa !9
  %295 = getelementptr inbounds ptr, ptr %294, i64 3
  %296 = load ptr, ptr %295, align 8, !tbaa !9
  br label %298

297:                                              ; preds = %288
  br label %298

298:                                              ; preds = %297, %293
  %299 = phi ptr [ %296, %293 ], [ @.str.22, %297 ]
  %300 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %290, ptr noundef @.str.21, ptr noundef %299) #5
  store i32 8, ptr %7, align 4, !tbaa !5
  %301 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %302 = load i32, ptr %7, align 4, !tbaa !5
  %303 = load i32, ptr %6, align 4, !tbaa !5
  call void @makehalf(ptr noundef %301, i32 noundef %302, i32 noundef %303)
  %304 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %304, ptr %18, align 4, !tbaa !5
  br label %305

305:                                              ; preds = %309, %298
  %306 = load i32, ptr %18, align 4, !tbaa !5
  %307 = add nsw i32 %306, -1
  store i32 %307, ptr %18, align 4, !tbaa !5
  %308 = icmp ne i32 %306, 0
  br i1 %308, label %309, label %320

309:                                              ; preds = %305
  %310 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %311 = load i32, ptr %6, align 4, !tbaa !5
  %312 = add nsw i32 %311, 1
  %313 = load i32, ptr %18, align 4, !tbaa !5
  %314 = mul nsw i32 %312, %313
  %315 = sext i32 %314 to i64
  %316 = getelementptr inbounds double, ptr %310, i64 %315
  %317 = load i32, ptr %18, align 4, !tbaa !5
  %318 = sext i32 %317 to i64
  %319 = getelementptr inbounds [14 x ptr], ptr %9, i64 0, i64 %318
  store ptr %316, ptr %319, align 8, !tbaa !9
  br label %305, !llvm.loop !26

320:                                              ; preds = %305
  %321 = load ptr, ptr %20, align 8, !tbaa !9
  %322 = load ptr, ptr %12, align 8, !tbaa !9
  %323 = getelementptr inbounds [14 x ptr], ptr %9, i64 0, i64 0
  %324 = load i32, ptr %7, align 4, !tbaa !5
  %325 = load i32, ptr %6, align 4, !tbaa !5
  %326 = add nsw i32 %325, 1
  call void @qh_printmatrix(ptr noundef %321, ptr noundef %322, ptr noundef @.str.23, ptr noundef %323, i32 noundef %324, i32 noundef %326)
  %327 = call i32 @fflush(ptr noundef null)
  %328 = load ptr, ptr %20, align 8, !tbaa !9
  %329 = load i32, ptr %6, align 4, !tbaa !5
  %330 = add nsw i32 %329, 1
  %331 = load i32, ptr %7, align 4, !tbaa !5
  %332 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %333 = load i32, ptr %10, align 4, !tbaa !5
  %334 = getelementptr inbounds [250 x i8], ptr %11, i64 0, i64 0
  %335 = load ptr, ptr %12, align 8, !tbaa !9
  %336 = load ptr, ptr %13, align 8, !tbaa !9
  %337 = call i32 @qh_new_qhull(ptr noundef %328, i32 noundef %330, i32 noundef %331, ptr noundef %332, i32 noundef %333, ptr noundef %334, ptr noundef %335, ptr noundef %336)
  store i32 %337, ptr %14, align 4, !tbaa !5
  %338 = call i32 @fflush(ptr noundef null)
  %339 = load i32, ptr %14, align 4, !tbaa !5
  %340 = icmp ne i32 %339, 0
  br i1 %340, label %343, label %341

341:                                              ; preds = %320
  %342 = load ptr, ptr %20, align 8, !tbaa !9
  call void @print_summary(ptr noundef %342)
  br label %343

343:                                              ; preds = %341, %320
  %344 = load ptr, ptr %20, align 8, !tbaa !9
  call void @qh_freeqhull(ptr noundef %344, i32 noundef 0)
  %345 = load ptr, ptr %20, align 8, !tbaa !9
  call void @qh_memfreeshort(ptr noundef %345, ptr noundef %16, ptr noundef %17)
  %346 = load i32, ptr %16, align 4, !tbaa !5
  %347 = icmp ne i32 %346, 0
  br i1 %347, label %351, label %348

348:                                              ; preds = %343
  %349 = load i32, ptr %17, align 4, !tbaa !5
  %350 = icmp ne i32 %349, 0
  br i1 %350, label %351, label %356

351:                                              ; preds = %348, %343
  %352 = load ptr, ptr @stderr, align 8, !tbaa !9
  %353 = load i32, ptr %17, align 4, !tbaa !5
  %354 = load i32, ptr %16, align 4, !tbaa !5
  %355 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %352, ptr noundef @.str.24, i32 noundef %353, i32 noundef %354) #5
  br label %356

356:                                              ; preds = %351, %348
  %357 = load i32, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8768, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 250, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 112, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 448, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  ret i32 %357
}

declare void @qh_lib_check(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2

declare void @qh_zero(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #3

declare void @qh_printmatrix(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

declare i32 @fflush(ptr noundef) #2

declare i32 @qh_new_qhull(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare void @qh_freeqhull(ptr noundef, i32 noundef) #2

declare void @qh_memfreeshort(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #3

; Function Attrs: nounwind returns_twice
declare i32 @_setjmp(ptr noundef) #4

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 "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 returns_twice "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 #5 = { nounwind }
attributes #6 = { nounwind returns_twice }

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


; 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, i32, i32, [1 x %struct.__jmp_buf_tag], [40 x i8], i32, double, ptr, ptr, ptr, %struct.qhmemT, %struct.qhstatT }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%struct.qhmemT = type { i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.qhstatT = type { [249 x %union.intrealT], [259 x i8], [249 x ptr], [249 x i16], [249 x i8], [249 x i8], [9 x %union.intrealT], i32, i32, i32, i32, double }
%union.intrealT = type { double }

@stderr = external local_unnamed_addr global ptr, align 8
@stdout = external local_unnamed_addr global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [392 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [88 x i8], align 1

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

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

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = alloca [56 x double], align 16
  %4 = alloca [14 x ptr], align 16
  %5 = alloca [250 x i8], align 16
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %struct.qhT, align 8
  %9 = alloca [42 x double], align 16
  %10 = alloca %struct.qhT, align 8
  call void @llvm.lifetime.start.p0(i64 448, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 250, ptr nonnull %5) #6
  %11 = load ptr, ptr @stdout, align 8, !tbaa !5
  %12 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8768, ptr nonnull %8) #6
  call void @qh_lib_check(i32 noundef 2, i32 noundef 8768, i32 noundef 48, i32 noundef 32, i32 noundef 120, i32 noundef 16, i32 noundef 152) #6
  call void @qh_zero(ptr noundef nonnull %8, ptr noundef %12) #6
  %13 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %14 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %15 = icmp sgt i32 %0, 1
  br i1 %15, label %16, label %19

16:                                               ; preds = %2
  %17 = getelementptr inbounds i8, ptr %1, i64 8
  %18 = load ptr, ptr %17, align 8, !tbaa !5
  br label %19

19:                                               ; preds = %2, %16
  %20 = phi ptr [ %18, %16 ], [ @.str.9, %2 ]
  %21 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef %20) #6
  call void @makecube(ptr noundef nonnull %3, i32 noundef 8, i32 noundef 3)
  %22 = getelementptr inbounds i8, ptr %3, i64 168
  %23 = getelementptr inbounds i8, ptr %4, i64 56
  store ptr %22, ptr %23, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %3, i64 144
  %25 = getelementptr inbounds i8, ptr %4, i64 48
  store ptr %24, ptr %25, align 16, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %3, i64 120
  %27 = getelementptr inbounds i8, ptr %4, i64 40
  store ptr %26, ptr %27, align 8, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %3, i64 96
  %29 = getelementptr inbounds i8, ptr %4, i64 32
  store ptr %28, ptr %29, align 16, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %3, i64 72
  %31 = getelementptr inbounds i8, ptr %4, i64 24
  store ptr %30, ptr %31, align 8, !tbaa !5
  %32 = getelementptr inbounds i8, ptr %3, i64 48
  %33 = getelementptr inbounds i8, ptr %4, i64 16
  store ptr %32, ptr %33, align 16, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %3, i64 24
  %35 = getelementptr inbounds i8, ptr %4, i64 8
  store ptr %34, ptr %35, align 8, !tbaa !5
  store ptr %3, ptr %4, align 16, !tbaa !5
  call void @qh_printmatrix(ptr noundef nonnull %8, ptr noundef %11, ptr noundef nonnull @.str.10, ptr noundef nonnull %4, i32 noundef 8, i32 noundef 3) #6
  %36 = call i32 @fflush(ptr noundef null)
  %37 = call i32 @qh_new_qhull(ptr noundef nonnull %8, i32 noundef 3, i32 noundef 8, ptr noundef nonnull %3, i32 noundef 0, ptr noundef nonnull %5, ptr noundef %11, ptr noundef %12) #6
  %38 = call i32 @fflush(ptr noundef null)
  %.not129 = icmp eq i32 %37, 0
  br i1 %.not129, label %.critedge.loopexit, label %.critedge

.critedge.loopexit:                               ; preds = %19
  call void @print_summary(ptr noundef nonnull %8)
  br label %.critedge

.critedge:                                        ; preds = %.critedge.loopexit, %19
  call void @qh_freeqhull(ptr noundef nonnull %8, i32 noundef 0) #6
  call void @qh_memfreeshort(ptr noundef nonnull %8, ptr noundef nonnull %6, ptr noundef nonnull %7) #6
  %39 = load i32, ptr %6, align 4, !tbaa !9
  %40 = icmp ne i32 %39, 0
  %41 = load i32, ptr %7, align 4
  %42 = icmp ne i32 %41, 0
  %or.cond = select i1 %40, i1 true, i1 %42
  br i1 %or.cond, label %43, label %45

43:                                               ; preds = %.critedge
  %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef nonnull @.str.11, i32 noundef %41, i32 noundef %39) #7
  br label %45

45:                                               ; preds = %.critedge, %43
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef 3)
  %47 = icmp sgt i32 %0, 2
  br i1 %47, label %48, label %51

48:                                               ; preds = %45
  %49 = getelementptr inbounds i8, ptr %1, i64 16
  %50 = load ptr, ptr %49, align 8, !tbaa !5
  br label %51

51:                                               ; preds = %45, %48
  %52 = phi ptr [ %50, %48 ], [ @.str.9, %45 ]
  %53 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef %52) #6
  %54 = call i64 @time(ptr noundef null) #6
  %55 = trunc i64 %54 to i32
  call void @makeDelaunay(ptr noundef nonnull %8, ptr noundef nonnull %3, i32 noundef 8, i32 noundef 3, i32 noundef %55)
  store ptr %22, ptr %23, align 8, !tbaa !5
  store ptr %24, ptr %25, align 16, !tbaa !5
  store ptr %26, ptr %27, align 8, !tbaa !5
  store ptr %28, ptr %29, align 16, !tbaa !5
  store ptr %30, ptr %31, align 8, !tbaa !5
  store ptr %32, ptr %33, align 16, !tbaa !5
  store ptr %34, ptr %35, align 8, !tbaa !5
  store ptr %3, ptr %4, align 16, !tbaa !5
  call void @qh_printmatrix(ptr noundef nonnull %8, ptr noundef %11, ptr noundef nonnull @.str.10, ptr noundef nonnull %4, i32 noundef 8, i32 noundef 3) #6
  %56 = call i32 @fflush(ptr noundef null)
  %57 = call i32 @qh_new_qhull(ptr noundef nonnull %8, i32 noundef 3, i32 noundef 8, ptr noundef nonnull %3, i32 noundef 0, ptr noundef nonnull %5, ptr noundef %11, ptr noundef %12) #6
  %58 = call i32 @fflush(ptr noundef null)
  %.not133 = icmp eq i32 %57, 0
  br i1 %.not133, label %.critedge3, label %66

.critedge3:                                       ; preds = %51
  call void @print_summary(ptr noundef nonnull %8)
  %59 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef 3)
  %60 = getelementptr inbounds i8, ptr %8, i64 1928
  %61 = call i32 @_setjmp(ptr noundef nonnull %60) #8
  %.not136 = icmp eq i32 %61, 0
  br i1 %.not136, label %62, label %64

62:                                               ; preds = %.critedge3
  %63 = getelementptr inbounds i8, ptr %8, i64 2720
  store i32 0, ptr %63, align 8, !tbaa !11
  call void @findDelaunay(ptr noundef nonnull %8, i32 noundef 3)
  br label %64

64:                                               ; preds = %62, %.critedge3
  %65 = getelementptr inbounds i8, ptr %8, i64 2720
  store i32 1, ptr %65, align 8, !tbaa !11
  br label %66

66:                                               ; preds = %64, %51
  call void @llvm.lifetime.start.p0(i64 336, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 8768, ptr nonnull %10) #6
  call void @qh_zero(ptr noundef nonnull %10, ptr noundef %12) #6
  %67 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15)
  br i1 %47, label %68, label %71

68:                                               ; preds = %66
  %69 = getelementptr inbounds i8, ptr %1, i64 16
  %70 = load ptr, ptr %69, align 8, !tbaa !5
  br label %71

71:                                               ; preds = %66, %68
  %72 = phi ptr [ %70, %68 ], [ @.str.9, %66 ]
  %73 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef %72) #6
  %74 = call i64 @time(ptr noundef null) #6
  %75 = trunc i64 %74 to i32
  %76 = add nsw i32 %75, 1
  call void @makeDelaunay(ptr noundef nonnull %10, ptr noundef nonnull %9, i32 noundef 8, i32 noundef 3, i32 noundef %76)
  %77 = getelementptr inbounds i8, ptr %9, i64 168
  store ptr %77, ptr %23, align 8, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %9, i64 144
  store ptr %78, ptr %25, align 16, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %9, i64 120
  store ptr %79, ptr %27, align 8, !tbaa !5
  %80 = getelementptr inbounds i8, ptr %9, i64 96
  store ptr %80, ptr %29, align 16, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %9, i64 72
  store ptr %81, ptr %31, align 8, !tbaa !5
  %82 = getelementptr inbounds i8, ptr %9, i64 48
  store ptr %82, ptr %33, align 16, !tbaa !5
  %83 = getelementptr inbounds i8, ptr %9, i64 24
  store ptr %83, ptr %35, align 8, !tbaa !5
  store ptr %9, ptr %4, align 16, !tbaa !5
  call void @qh_printmatrix(ptr noundef nonnull %10, ptr noundef %11, ptr noundef nonnull @.str.10, ptr noundef nonnull %4, i32 noundef 8, i32 noundef 3) #6
  %84 = call i32 @fflush(ptr noundef null)
  %85 = call i32 @qh_new_qhull(ptr noundef nonnull %10, i32 noundef 3, i32 noundef 8, ptr noundef nonnull %9, i32 noundef 0, ptr noundef nonnull %5, ptr noundef %11, ptr noundef %12) #6
  %86 = call i32 @fflush(ptr noundef null)
  %.not138 = icmp eq i32 %85, 0
  br i1 %.not138, label %87, label %88

87:                                               ; preds = %71
  call void @print_summary(ptr noundef nonnull %10)
  br label %88

88:                                               ; preds = %87, %71
  %89 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16)
  call void @qh_freeqhull(ptr noundef nonnull %10, i32 noundef 0) #6
  call void @qh_memfreeshort(ptr noundef nonnull %10, ptr noundef nonnull %6, ptr noundef nonnull %7) #6
  %90 = load i32, ptr %6, align 4, !tbaa !9
  %91 = icmp ne i32 %90, 0
  %92 = load i32, ptr %7, align 4
  %93 = icmp ne i32 %92, 0
  %or.cond5 = select i1 %91, i1 true, i1 %93
  br i1 %or.cond5, label %94, label %96

94:                                               ; preds = %88
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef nonnull @.str.17, i32 noundef %92, i32 noundef %90) #7
  br label %96

96:                                               ; preds = %88, %94
  %97 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18)
  call void @print_summary(ptr noundef nonnull %8)
  call void @llvm.lifetime.end.p0(i64 8768, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 336, ptr nonnull %9) #6
  call void @qh_freeqhull(ptr noundef nonnull %8, i32 noundef 0) #6
  call void @qh_memfreeshort(ptr noundef nonnull %8, ptr noundef nonnull %6, ptr noundef nonnull %7) #6
  %98 = load i32, ptr %6, align 4, !tbaa !9
  %99 = icmp ne i32 %98, 0
  %100 = load i32, ptr %7, align 4
  %101 = icmp ne i32 %100, 0
  %or.cond7 = select i1 %99, i1 true, i1 %101
  br i1 %or.cond7, label %102, label %104

102:                                              ; preds = %96
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef nonnull @.str.19, i32 noundef %100, i32 noundef %98) #7
  br label %104

104:                                              ; preds = %96, %102
  %105 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.20)
  %106 = icmp sgt i32 %0, 3
  br i1 %106, label %107, label %110

107:                                              ; preds = %104
  %108 = getelementptr inbounds i8, ptr %1, i64 24
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  br label %110

110:                                              ; preds = %104, %107
  %111 = phi ptr [ %109, %107 ], [ @.str.22, %104 ]
  %112 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.21, ptr noundef %111) #6
  call void @makehalf(ptr noundef nonnull %3, i32 noundef 8, i32 noundef 3)
  %113 = getelementptr inbounds i8, ptr %3, i64 224
  store ptr %113, ptr %23, align 8, !tbaa !5
  %114 = getelementptr inbounds i8, ptr %3, i64 192
  store ptr %114, ptr %25, align 16, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %3, i64 160
  store ptr %115, ptr %27, align 8, !tbaa !5
  %116 = getelementptr inbounds i8, ptr %3, i64 128
  store ptr %116, ptr %29, align 16, !tbaa !5
  store ptr %28, ptr %31, align 8, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %3, i64 64
  store ptr %117, ptr %33, align 16, !tbaa !5
  %118 = getelementptr inbounds i8, ptr %3, i64 32
  store ptr %118, ptr %35, align 8, !tbaa !5
  store ptr %3, ptr %4, align 16, !tbaa !5
  call void @qh_printmatrix(ptr noundef nonnull %8, ptr noundef %11, ptr noundef nonnull @.str.23, ptr noundef nonnull %4, i32 noundef 8, i32 noundef 4) #6
  %119 = call i32 @fflush(ptr noundef null)
  %120 = call i32 @qh_new_qhull(ptr noundef nonnull %8, i32 noundef 4, i32 noundef 8, ptr noundef nonnull %3, i32 noundef 0, ptr noundef nonnull %5, ptr noundef %11, ptr noundef %12) #6
  %121 = call i32 @fflush(ptr noundef null)
  %.not140 = icmp eq i32 %120, 0
  br i1 %.not140, label %122, label %123

122:                                              ; preds = %110
  call void @print_summary(ptr noundef nonnull %8)
  br label %123

123:                                              ; preds = %122, %110
  call void @qh_freeqhull(ptr noundef nonnull %8, i32 noundef 0) #6
  call void @qh_memfreeshort(ptr noundef nonnull %8, ptr noundef nonnull %6, ptr noundef nonnull %7) #6
  %124 = load i32, ptr %6, align 4, !tbaa !9
  %125 = icmp ne i32 %124, 0
  %126 = load i32, ptr %7, align 4
  %127 = icmp ne i32 %126, 0
  %or.cond9 = select i1 %125, i1 true, i1 %127
  br i1 %or.cond9, label %128, label %131

128:                                              ; preds = %123
  %129 = load ptr, ptr @stderr, align 8, !tbaa !5
  %130 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef nonnull @.str.24, i32 noundef %126, i32 noundef %124) #7
  br label %131

131:                                              ; preds = %123, %128
  call void @llvm.lifetime.end.p0(i64 8768, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 250, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 448, ptr nonnull %3) #6
  ret i32 %120
}

declare void @qh_lib_check(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @qh_zero(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2

declare void @qh_printmatrix(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #2

declare i32 @qh_new_qhull(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @qh_freeqhull(ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @qh_memfreeshort(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind returns_twice
declare i32 @_setjmp(ptr noundef) local_unnamed_addr #5

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind "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 = { "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 "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 #5 = { nounwind returns_twice "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 #6 = { nounwind }
attributes #7 = { cold nounwind }
attributes #8 = { nounwind returns_twice }

!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 2720}
!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, !10, i64 2984, !10, i64 2988, !7, i64 2992, !7, i64 3192, !10, i64 3232, !13, i64 3240, !6, i64 3248, !6, i64 3256, !6, i64 3264, !15, i64 3272, !16, i64 3424}
!13 = !{!"double", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"qhmemT", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !10, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144}
!16 = !{!"qhstatT", !7, i64 0, !7, i64 1992, !7, i64 2256, !7, i64 4248, !7, i64 4746, !7, i64 4995, !7, i64 5248, !10, i64 5320, !10, i64 5324, !10, i64 5328, !10, i64 5332, !13, i64 5336}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass