; LLVM IR from Discngine/fpocket :: src/qhull/src/user_eg (user_eg)

; 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.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
@stderr = external global ptr, align 8
@stdout = external global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [344 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [51 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 [38 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [88 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @print_summary() #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, i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @findDelaunay(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
  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
  %19 = load ptr, ptr @stdout, align 8, !tbaa !9
  store ptr %19, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %20 = load ptr, ptr @stderr, align 8, !tbaa !9
  store ptr %20, 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 @qh_lib_check(i32 noundef 0, i32 noundef 2896, i32 noundef 48, i32 noundef 32, i32 noundef 120, i32 noundef 16, i32 noundef 152)
  %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  %23 = getelementptr inbounds [250 x i8], ptr %11, i64 0, i64 0
  %24 = load i32, ptr %4, align 4, !tbaa !5
  %25 = icmp sge i32 %24, 2
  br i1 %25, label %26, label %30

26:                                               ; preds = %2
  %27 = load ptr, ptr %5, align 8, !tbaa !9
  %28 = getelementptr inbounds ptr, ptr %27, i64 1
  %29 = load ptr, ptr %28, align 8, !tbaa !9
  br label %31

30:                                               ; preds = %2
  br label %31

31:                                               ; preds = %30, %26
  %32 = phi ptr [ %29, %26 ], [ @.str.9, %30 ]
  %33 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %23, ptr noundef @.str.8, ptr noundef %32) #5
  store i32 8, ptr %7, align 4, !tbaa !5
  %34 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %35 = load i32, ptr %7, align 4, !tbaa !5
  call void @makecube(ptr noundef %34, i32 noundef %35, i32 noundef 3)
  %36 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %36, ptr %18, align 4, !tbaa !5
  br label %37

37:                                               ; preds = %41, %31
  %38 = load i32, ptr %18, align 4, !tbaa !5
  %39 = add nsw i32 %38, -1
  store i32 %39, ptr %18, align 4, !tbaa !5
  %40 = icmp ne i32 %38, 0
  br i1 %40, label %41, label %51

41:                                               ; preds = %37
  %42 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %43 = load i32, ptr %6, align 4, !tbaa !5
  %44 = load i32, ptr %18, align 4, !tbaa !5
  %45 = mul nsw i32 %43, %44
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds double, ptr %42, i64 %46
  %48 = load i32, ptr %18, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [14 x ptr], ptr %9, i64 0, i64 %49
  store ptr %47, ptr %50, align 8, !tbaa !9
  br label %37, !llvm.loop !11

51:                                               ; preds = %37
  %52 = load ptr, ptr %12, align 8, !tbaa !9
  %53 = getelementptr inbounds [14 x ptr], ptr %9, i64 0, i64 0
  %54 = load i32, ptr %7, align 4, !tbaa !5
  %55 = load i32, ptr %6, align 4, !tbaa !5
  call void @qh_printmatrix(ptr noundef %52, ptr noundef @.str.10, ptr noundef %53, i32 noundef %54, i32 noundef %55)
  %56 = load i32, ptr %6, align 4, !tbaa !5
  %57 = load i32, ptr %7, align 4, !tbaa !5
  %58 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %59 = load i32, ptr %10, align 4, !tbaa !5
  %60 = getelementptr inbounds [250 x i8], ptr %11, i64 0, i64 0
  %61 = load ptr, ptr %12, align 8, !tbaa !9
  %62 = load ptr, ptr %13, align 8, !tbaa !9
  %63 = call i32 @qh_new_qhull(i32 noundef %56, i32 noundef %57, ptr noundef %58, i32 noundef %59, ptr noundef %60, ptr noundef %61, ptr noundef %62)
  store i32 %63, ptr %14, align 4, !tbaa !5
  %64 = load i32, ptr %14, align 4, !tbaa !5
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %84, label %66

66:                                               ; preds = %51
  call void @print_summary()
  %67 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 156), align 8, !tbaa !13
  store ptr %67, ptr %15, align 8, !tbaa !9
  br label %68

68:                                               ; preds = %79, %66
  %69 = load ptr, ptr %15, align 8, !tbaa !9
  %70 = icmp ne ptr %69, null
  br i1 %70, label %71, label %76

71:                                               ; preds = %68
  %72 = load ptr, ptr %15, align 8, !tbaa !9
  %73 = getelementptr inbounds %struct.facetT, ptr %72, i32 0, i32 7
  %74 = load ptr, ptr %73, align 8, !tbaa !17
  %75 = icmp ne ptr %74, null
  br label %76

76:                                               ; preds = %71, %68
  %77 = phi i1 [ false, %68 ], [ %75, %71 ]
  br i1 %77, label %78, label %83

78:                                               ; preds = %76
  br label %79

79:                                               ; preds = %78
  %80 = load ptr, ptr %15, align 8, !tbaa !9
  %81 = getelementptr inbounds %struct.facetT, ptr %80, i32 0, i32 7
  %82 = load ptr, ptr %81, align 8, !tbaa !17
  store ptr %82, ptr %15, align 8, !tbaa !9
  br label %68, !llvm.loop !19

83:                                               ; preds = %76
  br label %84

84:                                               ; preds = %83, %51
  call void @qh_freeqhull(i32 noundef 0)
  call void @qh_memfreeshort(ptr noundef %16, ptr noundef %17)
  %85 = load i32, ptr %16, align 4, !tbaa !5
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %90, label %87

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

90:                                               ; preds = %87, %84
  %91 = load ptr, ptr %13, align 8, !tbaa !9
  %92 = load i32, ptr %17, align 4, !tbaa !5
  %93 = load i32, ptr %16, align 4, !tbaa !5
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %91, ptr noundef @.str.11, i32 noundef %92, i32 noundef %93) #5
  br label %95

95:                                               ; preds = %90, %87
  %96 = load i32, ptr %6, align 4, !tbaa !5
  %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %96)
  %98 = getelementptr inbounds [250 x i8], ptr %11, i64 0, i64 0
  %99 = load i32, ptr %4, align 4, !tbaa !5
  %100 = icmp sge i32 %99, 3
  br i1 %100, label %101, label %105

101:                                              ; preds = %95
  %102 = load ptr, ptr %5, align 8, !tbaa !9
  %103 = getelementptr inbounds ptr, ptr %102, i64 2
  %104 = load ptr, ptr %103, align 8, !tbaa !9
  br label %106

105:                                              ; preds = %95
  br label %106

106:                                              ; preds = %105, %101
  %107 = phi ptr [ %104, %101 ], [ @.str.9, %105 ]
  %108 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %98, ptr noundef @.str.13, ptr noundef %107) #5
  store i32 8, ptr %7, align 4, !tbaa !5
  %109 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %110 = load i32, ptr %7, align 4, !tbaa !5
  %111 = load i32, ptr %6, align 4, !tbaa !5
  %112 = call i64 @time(ptr noundef null) #5
  %113 = trunc i64 %112 to i32
  call void @makeDelaunay(ptr noundef %109, i32 noundef %110, i32 noundef %111, i32 noundef %113)
  %114 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %114, ptr %18, align 4, !tbaa !5
  br label %115

115:                                              ; preds = %119, %106
  %116 = load i32, ptr %18, align 4, !tbaa !5
  %117 = add nsw i32 %116, -1
  store i32 %117, ptr %18, align 4, !tbaa !5
  %118 = icmp ne i32 %116, 0
  br i1 %118, label %119, label %129

119:                                              ; preds = %115
  %120 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %121 = load i32, ptr %6, align 4, !tbaa !5
  %122 = load i32, ptr %18, align 4, !tbaa !5
  %123 = mul nsw i32 %121, %122
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds double, ptr %120, i64 %124
  %126 = load i32, ptr %18, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [14 x ptr], ptr %9, i64 0, i64 %127
  store ptr %125, ptr %128, align 8, !tbaa !9
  br label %115, !llvm.loop !20

129:                                              ; preds = %115
  %130 = load ptr, ptr %12, align 8, !tbaa !9
  %131 = getelementptr inbounds [14 x ptr], ptr %9, i64 0, i64 0
  %132 = load i32, ptr %7, align 4, !tbaa !5
  %133 = load i32, ptr %6, align 4, !tbaa !5
  call void @qh_printmatrix(ptr noundef %130, ptr noundef @.str.10, ptr noundef %131, i32 noundef %132, i32 noundef %133)
  %134 = load i32, ptr %6, align 4, !tbaa !5
  %135 = load i32, ptr %7, align 4, !tbaa !5
  %136 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %137 = load i32, ptr %10, align 4, !tbaa !5
  %138 = getelementptr inbounds [250 x i8], ptr %11, i64 0, i64 0
  %139 = load ptr, ptr %12, align 8, !tbaa !9
  %140 = load ptr, ptr %13, align 8, !tbaa !9
  %141 = call i32 @qh_new_qhull(i32 noundef %134, i32 noundef %135, ptr noundef %136, i32 noundef %137, ptr noundef %138, ptr noundef %139, ptr noundef %140)
  store i32 %141, ptr %14, align 4, !tbaa !5
  %142 = load i32, ptr %14, align 4, !tbaa !5
  %143 = icmp ne i32 %142, 0
  br i1 %143, label %169, label %144

144:                                              ; preds = %129
  call void @print_summary()
  %145 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 156), align 8, !tbaa !13
  store ptr %145, ptr %15, align 8, !tbaa !9
  br label %146

146:                                              ; preds = %157, %144
  %147 = load ptr, ptr %15, align 8, !tbaa !9
  %148 = icmp ne ptr %147, null
  br i1 %148, label %149, label %154

149:                                              ; preds = %146
  %150 = load ptr, ptr %15, align 8, !tbaa !9
  %151 = getelementptr inbounds %struct.facetT, ptr %150, i32 0, i32 7
  %152 = load ptr, ptr %151, align 8, !tbaa !17
  %153 = icmp ne ptr %152, null
  br label %154

154:                                              ; preds = %149, %146
  %155 = phi i1 [ false, %146 ], [ %153, %149 ]
  br i1 %155, label %156, label %161

156:                                              ; preds = %154
  br label %157

157:                                              ; preds = %156
  %158 = load ptr, ptr %15, align 8, !tbaa !9
  %159 = getelementptr inbounds %struct.facetT, ptr %158, i32 0, i32 7
  %160 = load ptr, ptr %159, align 8, !tbaa !17
  store ptr %160, ptr %15, align 8, !tbaa !9
  br label %146, !llvm.loop !21

161:                                              ; preds = %154
  %162 = load i32, ptr %6, align 4, !tbaa !5
  %163 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %162)
  %164 = call i32 @_setjmp(ptr noundef getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 145)) #6
  store i32 %164, ptr %14, align 4, !tbaa !5
  %165 = load i32, ptr %14, align 4, !tbaa !5
  %166 = icmp ne i32 %165, 0
  br i1 %166, label %168, label %167

167:                                              ; preds = %161
  store i32 0, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 192), align 4, !tbaa !22
  call void @findDelaunay(i32 noundef 3)
  br label %168

168:                                              ; preds = %167, %161
  store i32 1, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 192), align 4, !tbaa !22
  br label %169

169:                                              ; preds = %168, %129
  call void @qh_freeqhull(i32 noundef 0)
  call void @qh_memfreeshort(ptr noundef %16, ptr noundef %17)
  %170 = load i32, ptr %16, align 4, !tbaa !5
  %171 = icmp ne i32 %170, 0
  br i1 %171, label %175, label %172

172:                                              ; preds = %169
  %173 = load i32, ptr %17, align 4, !tbaa !5
  %174 = icmp ne i32 %173, 0
  br i1 %174, label %175, label %180

175:                                              ; preds = %172, %169
  %176 = load ptr, ptr %13, align 8, !tbaa !9
  %177 = load i32, ptr %17, align 4, !tbaa !5
  %178 = load i32, ptr %16, align 4, !tbaa !5
  %179 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %176, ptr noundef @.str.15, i32 noundef %177, i32 noundef %178) #5
  br label %180

180:                                              ; preds = %175, %172
  %181 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  %182 = getelementptr inbounds [250 x i8], ptr %11, i64 0, i64 0
  %183 = load i32, ptr %4, align 4, !tbaa !5
  %184 = icmp sge i32 %183, 4
  br i1 %184, label %185, label %189

185:                                              ; preds = %180
  %186 = load ptr, ptr %5, align 8, !tbaa !9
  %187 = getelementptr inbounds ptr, ptr %186, i64 3
  %188 = load ptr, ptr %187, align 8, !tbaa !9
  br label %190

189:                                              ; preds = %180
  br label %190

190:                                              ; preds = %189, %185
  %191 = phi ptr [ %188, %185 ], [ @.str.18, %189 ]
  %192 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %182, ptr noundef @.str.17, ptr noundef %191) #5
  store i32 8, ptr %7, align 4, !tbaa !5
  %193 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %194 = load i32, ptr %7, align 4, !tbaa !5
  %195 = load i32, ptr %6, align 4, !tbaa !5
  call void @makehalf(ptr noundef %193, i32 noundef %194, i32 noundef %195)
  %196 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %196, ptr %18, align 4, !tbaa !5
  br label %197

197:                                              ; preds = %201, %190
  %198 = load i32, ptr %18, align 4, !tbaa !5
  %199 = add nsw i32 %198, -1
  store i32 %199, ptr %18, align 4, !tbaa !5
  %200 = icmp ne i32 %198, 0
  br i1 %200, label %201, label %212

201:                                              ; preds = %197
  %202 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %203 = load i32, ptr %6, align 4, !tbaa !5
  %204 = add nsw i32 %203, 1
  %205 = load i32, ptr %18, align 4, !tbaa !5
  %206 = mul nsw i32 %204, %205
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds double, ptr %202, i64 %207
  %209 = load i32, ptr %18, align 4, !tbaa !5
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds [14 x ptr], ptr %9, i64 0, i64 %210
  store ptr %208, ptr %211, align 8, !tbaa !9
  br label %197, !llvm.loop !23

212:                                              ; preds = %197
  %213 = load ptr, ptr %12, align 8, !tbaa !9
  %214 = getelementptr inbounds [14 x ptr], ptr %9, i64 0, i64 0
  %215 = load i32, ptr %7, align 4, !tbaa !5
  %216 = load i32, ptr %6, align 4, !tbaa !5
  %217 = add nsw i32 %216, 1
  call void @qh_printmatrix(ptr noundef %213, ptr noundef @.str.19, ptr noundef %214, i32 noundef %215, i32 noundef %217)
  %218 = load i32, ptr %6, align 4, !tbaa !5
  %219 = add nsw i32 %218, 1
  %220 = load i32, ptr %7, align 4, !tbaa !5
  %221 = getelementptr inbounds [56 x double], ptr %8, i64 0, i64 0
  %222 = load i32, ptr %10, align 4, !tbaa !5
  %223 = getelementptr inbounds [250 x i8], ptr %11, i64 0, i64 0
  %224 = load ptr, ptr %12, align 8, !tbaa !9
  %225 = load ptr, ptr %13, align 8, !tbaa !9
  %226 = call i32 @qh_new_qhull(i32 noundef %219, i32 noundef %220, ptr noundef %221, i32 noundef %222, ptr noundef %223, ptr noundef %224, ptr noundef %225)
  store i32 %226, ptr %14, align 4, !tbaa !5
  %227 = load i32, ptr %14, align 4, !tbaa !5
  %228 = icmp ne i32 %227, 0
  br i1 %228, label %230, label %229

229:                                              ; preds = %212
  call void @print_summary()
  br label %230

230:                                              ; preds = %229, %212
  call void @qh_freeqhull(i32 noundef 0)
  call void @qh_memfreeshort(ptr noundef %16, ptr noundef %17)
  %231 = load i32, ptr %16, align 4, !tbaa !5
  %232 = icmp ne i32 %231, 0
  br i1 %232, label %236, label %233

233:                                              ; preds = %230
  %234 = load i32, ptr %17, align 4, !tbaa !5
  %235 = icmp ne i32 %234, 0
  br i1 %235, label %236, label %241

236:                                              ; preds = %233, %230
  %237 = load ptr, ptr @stderr, align 8, !tbaa !9
  %238 = load i32, ptr %17, align 4, !tbaa !5
  %239 = load i32, ptr %16, align 4, !tbaa !5
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %237, ptr noundef @.str.20, i32 noundef %238, i32 noundef %239) #5
  br label %241

241:                                              ; preds = %236, %233
  %242 = load i32, ptr %14, align 4, !tbaa !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 %242
}

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

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

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

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

declare void @qh_freeqhull(i32 noundef) #2

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

@qh_qh = external global %struct.qhT, align 8
@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 [344 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [51 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 [38 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [88 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @print_summary() 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, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @findDelaunay(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
  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
  %8 = load ptr, ptr @stdout, align 8, !tbaa !5
  %9 = 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 @qh_lib_check(i32 noundef 0, i32 noundef 2896, i32 noundef 48, i32 noundef 32, i32 noundef 120, i32 noundef 16, i32 noundef 152) #6
  %10 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %11 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %12 = icmp sgt i32 %0, 1
  br i1 %12, label %13, label %16

13:                                               ; preds = %2
  %14 = getelementptr inbounds i8, ptr %1, i64 8
  %15 = load ptr, ptr %14, align 8, !tbaa !5
  br label %16

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

.critedge.loopexit:                               ; preds = %16
  call void @print_summary()
  br label %.critedge

.critedge:                                        ; preds = %.critedge.loopexit, %16
  call void @qh_freeqhull(i32 noundef 0) #6
  call void @qh_memfreeshort(ptr noundef nonnull %6, ptr noundef nonnull %7) #6
  %34 = load i32, ptr %6, align 4, !tbaa !9
  %35 = icmp ne i32 %34, 0
  %36 = load i32, ptr %7, align 4
  %37 = icmp ne i32 %36, 0
  %or.cond = select i1 %35, i1 true, i1 %37
  br i1 %or.cond, label %38, label %40

38:                                               ; preds = %.critedge
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.11, i32 noundef %36, i32 noundef %34) #7
  br label %40

40:                                               ; preds = %.critedge, %38
  %41 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef 3)
  %42 = icmp sgt i32 %0, 2
  br i1 %42, label %43, label %46

43:                                               ; preds = %40
  %44 = getelementptr inbounds i8, ptr %1, i64 16
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  br label %46

46:                                               ; preds = %40, %43
  %47 = phi ptr [ %45, %43 ], [ @.str.9, %40 ]
  %48 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.13, ptr noundef %47) #6
  %49 = call i64 @time(ptr noundef null) #6
  %50 = trunc i64 %49 to i32
  call void @makeDelaunay(ptr noundef nonnull %3, i32 noundef 8, i32 noundef 3, i32 noundef %50)
  store ptr %19, ptr %20, align 8, !tbaa !5
  store ptr %21, ptr %22, align 16, !tbaa !5
  store ptr %23, ptr %24, align 8, !tbaa !5
  store ptr %25, ptr %26, align 16, !tbaa !5
  store ptr %27, ptr %28, align 8, !tbaa !5
  store ptr %29, ptr %30, align 16, !tbaa !5
  store ptr %31, ptr %32, align 8, !tbaa !5
  store ptr %3, ptr %4, align 16, !tbaa !5
  call void @qh_printmatrix(ptr noundef %8, ptr noundef nonnull @.str.10, ptr noundef nonnull %4, i32 noundef 8, i32 noundef 3) #6
  %51 = call i32 @qh_new_qhull(i32 noundef 3, i32 noundef 8, ptr noundef nonnull %3, i32 noundef 0, ptr noundef nonnull %5, ptr noundef %8, ptr noundef %9) #6
  %.not79 = icmp eq i32 %51, 0
  br i1 %.not79, label %.critedge3, label %56

.critedge3:                                       ; preds = %46
  call void @print_summary()
  %52 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, i32 noundef 3)
  %53 = call i32 @_setjmp(ptr noundef nonnull getelementptr inbounds (i8, ptr @qh_qh, i64 1912)) #8
  %.not82 = icmp eq i32 %53, 0
  br i1 %.not82, label %54, label %55

54:                                               ; preds = %.critedge3
  store i32 0, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2660), align 4, !tbaa !11
  call void @findDelaunay(i32 noundef 3)
  br label %55

55:                                               ; preds = %54, %.critedge3
  store i32 1, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2660), align 4, !tbaa !11
  br label %56

56:                                               ; preds = %55, %46
  call void @qh_freeqhull(i32 noundef 0) #6
  call void @qh_memfreeshort(ptr noundef nonnull %6, ptr noundef nonnull %7) #6
  %57 = load i32, ptr %6, align 4, !tbaa !9
  %58 = icmp ne i32 %57, 0
  %59 = load i32, ptr %7, align 4
  %60 = icmp ne i32 %59, 0
  %or.cond5 = select i1 %58, i1 true, i1 %60
  br i1 %or.cond5, label %61, label %63

61:                                               ; preds = %56
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %9, ptr noundef nonnull @.str.15, i32 noundef %59, i32 noundef %57) #7
  br label %63

63:                                               ; preds = %56, %61
  %64 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16)
  %65 = icmp sgt i32 %0, 3
  br i1 %65, label %66, label %69

66:                                               ; preds = %63
  %67 = getelementptr inbounds i8, ptr %1, i64 24
  %68 = load ptr, ptr %67, align 8, !tbaa !5
  br label %69

69:                                               ; preds = %63, %66
  %70 = phi ptr [ %68, %66 ], [ @.str.18, %63 ]
  %71 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.17, ptr noundef %70) #6
  call void @makehalf(ptr noundef nonnull %3, i32 noundef 8, i32 noundef 3)
  %72 = getelementptr inbounds i8, ptr %3, i64 224
  store ptr %72, ptr %20, align 8, !tbaa !5
  %73 = getelementptr inbounds i8, ptr %3, i64 192
  store ptr %73, ptr %22, align 16, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %3, i64 160
  store ptr %74, ptr %24, align 8, !tbaa !5
  %75 = getelementptr inbounds i8, ptr %3, i64 128
  store ptr %75, ptr %26, align 16, !tbaa !5
  store ptr %25, ptr %28, align 8, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %3, i64 64
  store ptr %76, ptr %30, align 16, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %3, i64 32
  store ptr %77, ptr %32, align 8, !tbaa !5
  store ptr %3, ptr %4, align 16, !tbaa !5
  call void @qh_printmatrix(ptr noundef %8, ptr noundef nonnull @.str.19, ptr noundef nonnull %4, i32 noundef 8, i32 noundef 4) #6
  %78 = call i32 @qh_new_qhull(i32 noundef 4, i32 noundef 8, ptr noundef nonnull %3, i32 noundef 0, ptr noundef nonnull %5, ptr noundef %8, ptr noundef %9) #6
  %.not84 = icmp eq i32 %78, 0
  br i1 %.not84, label %79, label %80

79:                                               ; preds = %69
  call void @print_summary()
  br label %80

80:                                               ; preds = %79, %69
  call void @qh_freeqhull(i32 noundef 0) #6
  call void @qh_memfreeshort(ptr noundef nonnull %6, ptr noundef nonnull %7) #6
  %81 = load i32, ptr %6, align 4, !tbaa !9
  %82 = icmp ne i32 %81, 0
  %83 = load i32, ptr %7, align 4
  %84 = icmp ne i32 %83, 0
  %or.cond7 = select i1 %82, i1 true, i1 %84
  br i1 %or.cond7, label %85, label %88

85:                                               ; preds = %80
  %86 = load ptr, ptr @stderr, align 8, !tbaa !5
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef nonnull @.str.20, i32 noundef %83, i32 noundef %81) #7
  br label %88

88:                                               ; preds = %80, %85
  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 %78
}

declare void @qh_lib_check(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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, i32 noundef, i32 noundef) local_unnamed_addr #3

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

declare void @qh_freeqhull(i32 noundef) local_unnamed_addr #3

declare void @qh_memfreeshort(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 2660}
!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}


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