; LLVM IR from jrl-umi3218/mc_rtc :: 3rd-party/qhull/src/user_eg2 (user_eg2_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 }

@stdout = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [403 x i8], align 1
@stdin = external global ptr, align 8
@.str.14 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [83 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 @adddiamond(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #0

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

; Function Attrs: nounwind uwtable
declare dso_local void @addDelaunay(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
declare dso_local void @addhalf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr 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 i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca [2000 x i8], align 16
  %11 = alloca %struct.qhT, align 8
  %12 = alloca ptr, align 8
  %13 = alloca [14 x [3 x double]], align 16
  %14 = alloca [14 x [3 x double]], align 16
  %15 = alloca [14 x [4 x double]], align 16
  %16 = 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
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 2000, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8768, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store ptr %11, ptr %12, 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)
  %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  store i32 0, ptr %6, align 4, !tbaa !5
  %18 = load ptr, ptr %12, align 8, !tbaa !9
  %19 = load ptr, ptr @stdin, align 8, !tbaa !9
  %20 = load ptr, ptr @stdout, align 8, !tbaa !9
  %21 = load ptr, ptr @stderr, align 8, !tbaa !9
  call void @qh_init_A(ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, i32 noundef 0, ptr noundef null)
  %22 = load ptr, ptr %12, align 8, !tbaa !9
  %23 = getelementptr inbounds %struct.qhT, ptr %22, i32 0, i32 152
  %24 = getelementptr inbounds [1 x %struct.__jmp_buf_tag], ptr %23, i64 0, i64 0
  %25 = call i32 @_setjmp(ptr noundef %24) #6
  store i32 %25, ptr %9, align 4, !tbaa !5
  %26 = load i32, ptr %9, align 4, !tbaa !5
  %27 = icmp ne i32 %26, 0
  br i1 %27, label %123, label %28

28:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 336, ptr %13) #5
  %29 = load ptr, ptr %12, align 8, !tbaa !9
  %30 = getelementptr inbounds %struct.qhT, ptr %29, i32 0, i32 206
  store i32 0, ptr %30, align 8, !tbaa !11
  %31 = load ptr, ptr %12, align 8, !tbaa !9
  %32 = getelementptr inbounds %struct.qhT, ptr %31, i32 0, i32 119
  %33 = getelementptr inbounds [256 x i8], ptr %32, i64 0, i64 0
  %34 = call ptr @strcat(ptr noundef %33, ptr noundef @.str.14) #5
  %35 = getelementptr inbounds [2000 x i8], ptr %10, i64 0, i64 0
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %37 = icmp sge i32 %36, 2
  br i1 %37, label %38, label %42

38:                                               ; preds = %28
  %39 = load ptr, ptr %5, align 8, !tbaa !9
  %40 = getelementptr inbounds ptr, ptr %39, i64 1
  %41 = load ptr, ptr %40, align 8, !tbaa !9
  br label %43

42:                                               ; preds = %28
  br label %43

43:                                               ; preds = %42, %38
  %44 = phi ptr [ %41, %38 ], [ @.str.16, %42 ]
  %45 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %35, ptr noundef @.str.15, ptr noundef %44) #5
  %46 = load ptr, ptr %12, align 8, !tbaa !9
  %47 = getelementptr inbounds [2000 x i8], ptr %10, i64 0, i64 0
  call void @qh_initflags(ptr noundef %46, ptr noundef %47)
  %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.17)
  %49 = getelementptr inbounds [14 x [3 x double]], ptr %13, i64 0, i64 0
  %50 = getelementptr inbounds [3 x double], ptr %49, i64 0, i64 0
  call void @makecube(ptr noundef %50, i32 noundef 8, i32 noundef 3)
  %51 = call i32 @fflush(ptr noundef null)
  %52 = load ptr, ptr %12, align 8, !tbaa !9
  %53 = getelementptr inbounds [14 x [3 x double]], ptr %13, i64 0, i64 0
  %54 = getelementptr inbounds [3 x double], ptr %53, i64 0, i64 0
  %55 = load i32, ptr %6, align 4, !tbaa !5
  call void @qh_init_B(ptr noundef %52, ptr noundef %54, i32 noundef 8, i32 noundef 3, i32 noundef %55)
  %56 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_qhull(ptr noundef %56)
  %57 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_check_output(ptr noundef %57)
  %58 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_triangulate(ptr noundef %58)
  %59 = load ptr, ptr %12, align 8, !tbaa !9
  call void @print_summary(ptr noundef %59)
  %60 = load ptr, ptr %12, align 8, !tbaa !9
  %61 = getelementptr inbounds %struct.qhT, ptr %60, i32 0, i32 101
  %62 = load i32, ptr %61, align 4, !tbaa !17
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %64, label %86

64:                                               ; preds = %43
  %65 = load ptr, ptr %12, align 8, !tbaa !9
  %66 = getelementptr inbounds %struct.qhT, ptr %65, i32 0, i32 21
  %67 = load i32, ptr %66, align 8, !tbaa !18
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %86, label %69

69:                                               ; preds = %64
  %70 = load ptr, ptr %12, align 8, !tbaa !9
  %71 = getelementptr inbounds %struct.qhT, ptr %70, i32 0, i32 87
  %72 = load i32, ptr %71, align 4, !tbaa !19
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %86, label %74

74:                                               ; preds = %69
  %75 = load ptr, ptr %12, align 8, !tbaa !9
  %76 = getelementptr inbounds %struct.qhT, ptr %75, i32 0, i32 88
  %77 = load i32, ptr %76, align 8, !tbaa !20
  %78 = icmp ne i32 %77, 0
  br i1 %78, label %86, label %79

79:                                               ; preds = %74
  %80 = load ptr, ptr %12, align 8, !tbaa !9
  %81 = getelementptr inbounds %struct.qhT, ptr %80, i32 0, i32 89
  %82 = load i32, ptr %81, align 4, !tbaa !21
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %86, label %84

84:                                               ; preds = %79
  %85 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_check_points(ptr noundef %85)
  br label %86

86:                                               ; preds = %84, %79, %74, %69, %64, %43
  %87 = call i32 @fflush(ptr noundef null)
  %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.18)
  %89 = load ptr, ptr %12, align 8, !tbaa !9
  %90 = getelementptr inbounds [14 x [3 x double]], ptr %13, i64 0, i64 0
  %91 = getelementptr inbounds [3 x double], ptr %90, i64 0, i64 0
  call void @adddiamond(ptr noundef %89, ptr noundef %91, i32 noundef 8, i32 noundef 6, i32 noundef 3)
  %92 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_check_output(ptr noundef %92)
  %93 = load ptr, ptr %12, align 8, !tbaa !9
  call void @print_summary(ptr noundef %93)
  %94 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_produce_output(ptr noundef %94)
  %95 = load ptr, ptr %12, align 8, !tbaa !9
  %96 = getelementptr inbounds %struct.qhT, ptr %95, i32 0, i32 101
  %97 = load i32, ptr %96, align 4, !tbaa !17
  %98 = icmp ne i32 %97, 0
  br i1 %98, label %99, label %121

99:                                               ; preds = %86
  %100 = load ptr, ptr %12, align 8, !tbaa !9
  %101 = getelementptr inbounds %struct.qhT, ptr %100, i32 0, i32 21
  %102 = load i32, ptr %101, align 8, !tbaa !18
  %103 = icmp ne i32 %102, 0
  br i1 %103, label %121, label %104

104:                                              ; preds = %99
  %105 = load ptr, ptr %12, align 8, !tbaa !9
  %106 = getelementptr inbounds %struct.qhT, ptr %105, i32 0, i32 87
  %107 = load i32, ptr %106, align 4, !tbaa !19
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %121, label %109

109:                                              ; preds = %104
  %110 = load ptr, ptr %12, align 8, !tbaa !9
  %111 = getelementptr inbounds %struct.qhT, ptr %110, i32 0, i32 88
  %112 = load i32, ptr %111, align 8, !tbaa !20
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %121, label %114

114:                                              ; preds = %109
  %115 = load ptr, ptr %12, align 8, !tbaa !9
  %116 = getelementptr inbounds %struct.qhT, ptr %115, i32 0, i32 89
  %117 = load i32, ptr %116, align 4, !tbaa !21
  %118 = icmp ne i32 %117, 0
  br i1 %118, label %121, label %119

119:                                              ; preds = %114
  %120 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_check_points(ptr noundef %120)
  br label %121

121:                                              ; preds = %119, %114, %109, %104, %99, %86
  %122 = call i32 @fflush(ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 336, ptr %13) #5
  br label %123

123:                                              ; preds = %121, %2
  %124 = load ptr, ptr %12, align 8, !tbaa !9
  %125 = getelementptr inbounds %struct.qhT, ptr %124, i32 0, i32 206
  store i32 1, ptr %125, align 8, !tbaa !11
  %126 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_freeqhull(ptr noundef %126, i32 noundef 0)
  %127 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_memfreeshort(ptr noundef %127, ptr noundef %7, ptr noundef %8)
  %128 = load i32, ptr %7, align 4, !tbaa !5
  %129 = icmp ne i32 %128, 0
  br i1 %129, label %133, label %130

130:                                              ; preds = %123
  %131 = load i32, ptr %8, align 4, !tbaa !5
  %132 = icmp ne i32 %131, 0
  br i1 %132, label %133, label %138

133:                                              ; preds = %130, %123
  %134 = load ptr, ptr @stderr, align 8, !tbaa !9
  %135 = load i32, ptr %8, align 4, !tbaa !5
  %136 = load i32, ptr %7, align 4, !tbaa !5
  %137 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %134, ptr noundef @.str.19, i32 noundef %135, i32 noundef %136) #5
  br label %138

138:                                              ; preds = %133, %130
  %139 = load ptr, ptr %12, align 8, !tbaa !9
  %140 = load ptr, ptr @stdin, align 8, !tbaa !9
  %141 = load ptr, ptr @stdout, align 8, !tbaa !9
  %142 = load ptr, ptr @stderr, align 8, !tbaa !9
  call void @qh_init_A(ptr noundef %139, ptr noundef %140, ptr noundef %141, ptr noundef %142, i32 noundef 0, ptr noundef null)
  %143 = load ptr, ptr %12, align 8, !tbaa !9
  %144 = getelementptr inbounds %struct.qhT, ptr %143, i32 0, i32 152
  %145 = getelementptr inbounds [1 x %struct.__jmp_buf_tag], ptr %144, i64 0, i64 0
  %146 = call i32 @_setjmp(ptr noundef %145) #6
  store i32 %146, ptr %9, align 4, !tbaa !5
  %147 = load i32, ptr %9, align 4, !tbaa !5
  %148 = icmp ne i32 %147, 0
  br i1 %148, label %245, label %149

149:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 336, ptr %14) #5
  %150 = load ptr, ptr %12, align 8, !tbaa !9
  %151 = getelementptr inbounds %struct.qhT, ptr %150, i32 0, i32 206
  store i32 0, ptr %151, align 8, !tbaa !11
  %152 = load ptr, ptr %12, align 8, !tbaa !9
  %153 = getelementptr inbounds %struct.qhT, ptr %152, i32 0, i32 119
  %154 = getelementptr inbounds [256 x i8], ptr %153, i64 0, i64 0
  %155 = call ptr @strcat(ptr noundef %154, ptr noundef @.str.20) #5
  %156 = getelementptr inbounds [2000 x i8], ptr %10, i64 0, i64 0
  %157 = load i32, ptr %4, align 4, !tbaa !5
  %158 = icmp sge i32 %157, 3
  br i1 %158, label %159, label %163

159:                                              ; preds = %149
  %160 = load ptr, ptr %5, align 8, !tbaa !9
  %161 = getelementptr inbounds ptr, ptr %160, i64 2
  %162 = load ptr, ptr %161, align 8, !tbaa !9
  br label %164

163:                                              ; preds = %149
  br label %164

164:                                              ; preds = %163, %159
  %165 = phi ptr [ %162, %159 ], [ @.str.16, %163 ]
  %166 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %156, ptr noundef @.str.21, ptr noundef %165) #5
  %167 = load ptr, ptr %12, align 8, !tbaa !9
  %168 = getelementptr inbounds [2000 x i8], ptr %10, i64 0, i64 0
  call void @qh_initflags(ptr noundef %167, ptr noundef %168)
  %169 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, i32 noundef 2)
  %170 = load ptr, ptr %12, align 8, !tbaa !9
  %171 = getelementptr inbounds [14 x [3 x double]], ptr %14, i64 0, i64 0
  %172 = getelementptr inbounds [3 x double], ptr %171, i64 0, i64 0
  call void @makeDelaunay(ptr noundef %170, ptr noundef %172, i32 noundef 8, i32 noundef 3)
  %173 = load ptr, ptr %12, align 8, !tbaa !9
  %174 = getelementptr inbounds [14 x [3 x double]], ptr %14, i64 0, i64 0
  %175 = getelementptr inbounds [3 x double], ptr %174, i64 0, i64 0
  %176 = load i32, ptr %6, align 4, !tbaa !5
  call void @qh_init_B(ptr noundef %173, ptr noundef %175, i32 noundef 8, i32 noundef 3, i32 noundef %176)
  %177 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_qhull(ptr noundef %177)
  %178 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_check_output(ptr noundef %178)
  %179 = load ptr, ptr %12, align 8, !tbaa !9
  call void @print_summary(ptr noundef %179)
  %180 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_produce_output(ptr noundef %180)
  %181 = load ptr, ptr %12, align 8, !tbaa !9
  %182 = getelementptr inbounds %struct.qhT, ptr %181, i32 0, i32 101
  %183 = load i32, ptr %182, align 4, !tbaa !17
  %184 = icmp ne i32 %183, 0
  br i1 %184, label %185, label %207

185:                                              ; preds = %164
  %186 = load ptr, ptr %12, align 8, !tbaa !9
  %187 = getelementptr inbounds %struct.qhT, ptr %186, i32 0, i32 21
  %188 = load i32, ptr %187, align 8, !tbaa !18
  %189 = icmp ne i32 %188, 0
  br i1 %189, label %207, label %190

190:                                              ; preds = %185
  %191 = load ptr, ptr %12, align 8, !tbaa !9
  %192 = getelementptr inbounds %struct.qhT, ptr %191, i32 0, i32 87
  %193 = load i32, ptr %192, align 4, !tbaa !19
  %194 = icmp ne i32 %193, 0
  br i1 %194, label %207, label %195

195:                                              ; preds = %190
  %196 = load ptr, ptr %12, align 8, !tbaa !9
  %197 = getelementptr inbounds %struct.qhT, ptr %196, i32 0, i32 88
  %198 = load i32, ptr %197, align 8, !tbaa !20
  %199 = icmp ne i32 %198, 0
  br i1 %199, label %207, label %200

200:                                              ; preds = %195
  %201 = load ptr, ptr %12, align 8, !tbaa !9
  %202 = getelementptr inbounds %struct.qhT, ptr %201, i32 0, i32 89
  %203 = load i32, ptr %202, align 4, !tbaa !21
  %204 = icmp ne i32 %203, 0
  br i1 %204, label %207, label %205

205:                                              ; preds = %200
  %206 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_check_points(ptr noundef %206)
  br label %207

207:                                              ; preds = %205, %200, %195, %190, %185, %164
  %208 = call i32 @fflush(ptr noundef null)
  %209 = call i32 (ptr, ...) @printf(ptr noundef @.str.23)
  %210 = load ptr, ptr %12, align 8, !tbaa !9
  %211 = getelementptr inbounds [14 x [3 x double]], ptr %14, i64 0, i64 0
  %212 = getelementptr inbounds [3 x double], ptr %211, i64 0, i64 0
  call void @addDelaunay(ptr noundef %210, ptr noundef %212, i32 noundef 8, i32 noundef 6, i32 noundef 3)
  %213 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_check_output(ptr noundef %213)
  %214 = call i32 (ptr, ...) @printf(ptr noundef @.str.24)
  %215 = load ptr, ptr %12, align 8, !tbaa !9
  call void @findDelaunay(ptr noundef %215, i32 noundef 3)
  %216 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_produce_output(ptr noundef %216)
  %217 = load ptr, ptr %12, align 8, !tbaa !9
  %218 = getelementptr inbounds %struct.qhT, ptr %217, i32 0, i32 101
  %219 = load i32, ptr %218, align 4, !tbaa !17
  %220 = icmp ne i32 %219, 0
  br i1 %220, label %221, label %243

221:                                              ; preds = %207
  %222 = load ptr, ptr %12, align 8, !tbaa !9
  %223 = getelementptr inbounds %struct.qhT, ptr %222, i32 0, i32 21
  %224 = load i32, ptr %223, align 8, !tbaa !18
  %225 = icmp ne i32 %224, 0
  br i1 %225, label %243, label %226

226:                                              ; preds = %221
  %227 = load ptr, ptr %12, align 8, !tbaa !9
  %228 = getelementptr inbounds %struct.qhT, ptr %227, i32 0, i32 87
  %229 = load i32, ptr %228, align 4, !tbaa !19
  %230 = icmp ne i32 %229, 0
  br i1 %230, label %243, label %231

231:                                              ; preds = %226
  %232 = load ptr, ptr %12, align 8, !tbaa !9
  %233 = getelementptr inbounds %struct.qhT, ptr %232, i32 0, i32 88
  %234 = load i32, ptr %233, align 8, !tbaa !20
  %235 = icmp ne i32 %234, 0
  br i1 %235, label %243, label %236

236:                                              ; preds = %231
  %237 = load ptr, ptr %12, align 8, !tbaa !9
  %238 = getelementptr inbounds %struct.qhT, ptr %237, i32 0, i32 89
  %239 = load i32, ptr %238, align 4, !tbaa !21
  %240 = icmp ne i32 %239, 0
  br i1 %240, label %243, label %241

241:                                              ; preds = %236
  %242 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_check_points(ptr noundef %242)
  br label %243

243:                                              ; preds = %241, %236, %231, %226, %221, %207
  %244 = call i32 @fflush(ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 336, ptr %14) #5
  br label %245

245:                                              ; preds = %243, %138
  %246 = load ptr, ptr %12, align 8, !tbaa !9
  %247 = getelementptr inbounds %struct.qhT, ptr %246, i32 0, i32 206
  store i32 1, ptr %247, align 8, !tbaa !11
  %248 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_freeqhull(ptr noundef %248, i32 noundef 0)
  %249 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_memfreeshort(ptr noundef %249, ptr noundef %7, ptr noundef %8)
  %250 = load i32, ptr %7, align 4, !tbaa !5
  %251 = icmp ne i32 %250, 0
  br i1 %251, label %255, label %252

252:                                              ; preds = %245
  %253 = load i32, ptr %8, align 4, !tbaa !5
  %254 = icmp ne i32 %253, 0
  br i1 %254, label %255, label %260

255:                                              ; preds = %252, %245
  %256 = load ptr, ptr @stderr, align 8, !tbaa !9
  %257 = load i32, ptr %8, align 4, !tbaa !5
  %258 = load i32, ptr %7, align 4, !tbaa !5
  %259 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %256, ptr noundef @.str.25, i32 noundef %257, i32 noundef %258) #5
  br label %260

260:                                              ; preds = %255, %252
  %261 = load ptr, ptr %12, align 8, !tbaa !9
  %262 = load ptr, ptr @stdin, align 8, !tbaa !9
  %263 = load ptr, ptr @stdout, align 8, !tbaa !9
  %264 = load ptr, ptr @stderr, align 8, !tbaa !9
  call void @qh_init_A(ptr noundef %261, ptr noundef %262, ptr noundef %263, ptr noundef %264, i32 noundef 0, ptr noundef null)
  %265 = load ptr, ptr %12, align 8, !tbaa !9
  %266 = getelementptr inbounds %struct.qhT, ptr %265, i32 0, i32 152
  %267 = getelementptr inbounds [1 x %struct.__jmp_buf_tag], ptr %266, i64 0, i64 0
  %268 = call i32 @_setjmp(ptr noundef %267) #6
  store i32 %268, ptr %9, align 4, !tbaa !5
  %269 = load i32, ptr %9, align 4, !tbaa !5
  %270 = icmp ne i32 %269, 0
  br i1 %270, label %373, label %271

271:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 448, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %272 = load ptr, ptr %12, align 8, !tbaa !9
  %273 = getelementptr inbounds %struct.qhT, ptr %272, i32 0, i32 206
  store i32 0, ptr %273, align 8, !tbaa !11
  %274 = load ptr, ptr %12, align 8, !tbaa !9
  %275 = getelementptr inbounds %struct.qhT, ptr %274, i32 0, i32 119
  %276 = getelementptr inbounds [256 x i8], ptr %275, i64 0, i64 0
  %277 = call ptr @strcat(ptr noundef %276, ptr noundef @.str.26) #5
  %278 = getelementptr inbounds [2000 x i8], ptr %10, i64 0, i64 0
  %279 = load i32, ptr %4, align 4, !tbaa !5
  %280 = icmp sge i32 %279, 4
  br i1 %280, label %281, label %285

281:                                              ; preds = %271
  %282 = load ptr, ptr %5, align 8, !tbaa !9
  %283 = getelementptr inbounds ptr, ptr %282, i64 3
  %284 = load ptr, ptr %283, align 8, !tbaa !9
  br label %286

285:                                              ; preds = %271
  br label %286

286:                                              ; preds = %285, %281
  %287 = phi ptr [ %284, %281 ], [ @.str.16, %285 ]
  %288 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %278, ptr noundef @.str.27, ptr noundef %287) #5
  %289 = load ptr, ptr %12, align 8, !tbaa !9
  %290 = getelementptr inbounds [2000 x i8], ptr %10, i64 0, i64 0
  call void @qh_initflags(ptr noundef %289, ptr noundef %290)
  %291 = call i32 (ptr, ...) @printf(ptr noundef @.str.28)
  %292 = getelementptr inbounds [14 x [4 x double]], ptr %15, i64 0, i64 0
  %293 = getelementptr inbounds [4 x double], ptr %292, i64 0, i64 0
  call void @makehalf(ptr noundef %293, i32 noundef 8, i32 noundef 3)
  %294 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_setfeasible(ptr noundef %294, i32 noundef 3)
  %295 = load ptr, ptr %12, align 8, !tbaa !9
  %296 = getelementptr inbounds [14 x [4 x double]], ptr %15, i64 0, i64 0
  %297 = getelementptr inbounds [4 x double], ptr %296, i64 0, i64 0
  %298 = load ptr, ptr %12, align 8, !tbaa !9
  %299 = getelementptr inbounds %struct.qhT, ptr %298, i32 0, i32 107
  %300 = load ptr, ptr %299, align 8, !tbaa !22
  %301 = call ptr @qh_sethalfspace_all(ptr noundef %295, i32 noundef 4, i32 noundef 8, ptr noundef %297, ptr noundef %300)
  store ptr %301, ptr %16, align 8, !tbaa !9
  %302 = load ptr, ptr %12, align 8, !tbaa !9
  %303 = load ptr, ptr %16, align 8, !tbaa !9
  call void @qh_init_B(ptr noundef %302, ptr noundef %303, i32 noundef 8, i32 noundef 3, i32 noundef 1)
  %304 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_qhull(ptr noundef %304)
  %305 = call i32 @fflush(ptr noundef null)
  %306 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_check_output(ptr noundef %306)
  %307 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_produce_output(ptr noundef %307)
  %308 = load ptr, ptr %12, align 8, !tbaa !9
  %309 = getelementptr inbounds %struct.qhT, ptr %308, i32 0, i32 101
  %310 = load i32, ptr %309, align 4, !tbaa !17
  %311 = icmp ne i32 %310, 0
  br i1 %311, label %312, label %334

312:                                              ; preds = %286
  %313 = load ptr, ptr %12, align 8, !tbaa !9
  %314 = getelementptr inbounds %struct.qhT, ptr %313, i32 0, i32 21
  %315 = load i32, ptr %314, align 8, !tbaa !18
  %316 = icmp ne i32 %315, 0
  br i1 %316, label %334, label %317

317:                                              ; preds = %312
  %318 = load ptr, ptr %12, align 8, !tbaa !9
  %319 = getelementptr inbounds %struct.qhT, ptr %318, i32 0, i32 87
  %320 = load i32, ptr %319, align 4, !tbaa !19
  %321 = icmp ne i32 %320, 0
  br i1 %321, label %334, label %322

322:                                              ; preds = %317
  %323 = load ptr, ptr %12, align 8, !tbaa !9
  %324 = getelementptr inbounds %struct.qhT, ptr %323, i32 0, i32 88
  %325 = load i32, ptr %324, align 8, !tbaa !20
  %326 = icmp ne i32 %325, 0
  br i1 %326, label %334, label %327

327:                                              ; preds = %322
  %328 = load ptr, ptr %12, align 8, !tbaa !9
  %329 = getelementptr inbounds %struct.qhT, ptr %328, i32 0, i32 89
  %330 = load i32, ptr %329, align 4, !tbaa !21
  %331 = icmp ne i32 %330, 0
  br i1 %331, label %334, label %332

332:                                              ; preds = %327
  %333 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_check_points(ptr noundef %333)
  br label %334

334:                                              ; preds = %332, %327, %322, %317, %312, %286
  %335 = call i32 @fflush(ptr noundef null)
  %336 = call i32 (ptr, ...) @printf(ptr noundef @.str.29)
  %337 = load ptr, ptr %12, align 8, !tbaa !9
  %338 = getelementptr inbounds [14 x [4 x double]], ptr %15, i64 0, i64 0
  %339 = getelementptr inbounds [4 x double], ptr %338, i64 0, i64 0
  %340 = load ptr, ptr %12, align 8, !tbaa !9
  %341 = getelementptr inbounds %struct.qhT, ptr %340, i32 0, i32 107
  %342 = load ptr, ptr %341, align 8, !tbaa !22
  call void @addhalf(ptr noundef %337, ptr noundef %339, i32 noundef 8, i32 noundef 6, i32 noundef 3, ptr noundef %342)
  %343 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_check_output(ptr noundef %343)
  %344 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_produce_output(ptr noundef %344)
  %345 = load ptr, ptr %12, align 8, !tbaa !9
  %346 = getelementptr inbounds %struct.qhT, ptr %345, i32 0, i32 101
  %347 = load i32, ptr %346, align 4, !tbaa !17
  %348 = icmp ne i32 %347, 0
  br i1 %348, label %349, label %371

349:                                              ; preds = %334
  %350 = load ptr, ptr %12, align 8, !tbaa !9
  %351 = getelementptr inbounds %struct.qhT, ptr %350, i32 0, i32 21
  %352 = load i32, ptr %351, align 8, !tbaa !18
  %353 = icmp ne i32 %352, 0
  br i1 %353, label %371, label %354

354:                                              ; preds = %349
  %355 = load ptr, ptr %12, align 8, !tbaa !9
  %356 = getelementptr inbounds %struct.qhT, ptr %355, i32 0, i32 87
  %357 = load i32, ptr %356, align 4, !tbaa !19
  %358 = icmp ne i32 %357, 0
  br i1 %358, label %371, label %359

359:                                              ; preds = %354
  %360 = load ptr, ptr %12, align 8, !tbaa !9
  %361 = getelementptr inbounds %struct.qhT, ptr %360, i32 0, i32 88
  %362 = load i32, ptr %361, align 8, !tbaa !20
  %363 = icmp ne i32 %362, 0
  br i1 %363, label %371, label %364

364:                                              ; preds = %359
  %365 = load ptr, ptr %12, align 8, !tbaa !9
  %366 = getelementptr inbounds %struct.qhT, ptr %365, i32 0, i32 89
  %367 = load i32, ptr %366, align 4, !tbaa !21
  %368 = icmp ne i32 %367, 0
  br i1 %368, label %371, label %369

369:                                              ; preds = %364
  %370 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_check_points(ptr noundef %370)
  br label %371

371:                                              ; preds = %369, %364, %359, %354, %349, %334
  %372 = call i32 @fflush(ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 448, ptr %15) #5
  br label %373

373:                                              ; preds = %371, %260
  %374 = load ptr, ptr %12, align 8, !tbaa !9
  %375 = getelementptr inbounds %struct.qhT, ptr %374, i32 0, i32 206
  store i32 1, ptr %375, align 8, !tbaa !11
  %376 = load ptr, ptr %12, align 8, !tbaa !9
  %377 = getelementptr inbounds %struct.qhT, ptr %376, i32 0, i32 206
  store i32 1, ptr %377, align 8, !tbaa !11
  %378 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_freeqhull(ptr noundef %378, i32 noundef 0)
  %379 = load ptr, ptr %12, align 8, !tbaa !9
  call void @qh_memfreeshort(ptr noundef %379, ptr noundef %7, ptr noundef %8)
  %380 = load i32, ptr %7, align 4, !tbaa !5
  %381 = icmp ne i32 %380, 0
  br i1 %381, label %385, label %382

382:                                              ; preds = %373
  %383 = load i32, ptr %8, align 4, !tbaa !5
  %384 = icmp ne i32 %383, 0
  br i1 %384, label %385, label %390

385:                                              ; preds = %382, %373
  %386 = load ptr, ptr @stderr, align 8, !tbaa !9
  %387 = load i32, ptr %8, align 4, !tbaa !5
  %388 = load i32, ptr %7, align 4, !tbaa !5
  %389 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %386, ptr noundef @.str.30, i32 noundef %387, i32 noundef %388) #5
  br label %390

390:                                              ; preds = %385, %382
  %391 = load i32, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8768, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 2000, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, 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 %391
}

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

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

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

; Function Attrs: nounwind
declare ptr @strcat(ptr noundef, ptr noundef) #3

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

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

declare i32 @fflush(ptr noundef) #2

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

declare void @qh_qhull(ptr noundef) #2

declare void @qh_check_output(ptr noundef) #2

declare void @qh_triangulate(ptr noundef) #2

declare void @qh_check_points(ptr noundef) #2

declare void @qh_produce_output(ptr noundef) #2

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

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

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

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

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 = !{!12, !6, i64 2720}
!12 = !{!"qhT", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !13, 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, !13, i64 64, !13, 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, !13, i64 160, !13, i64 168, !6, i64 176, !6, i64 180, !6, i64 184, !6, i64 188, !13, i64 192, !13, i64 200, !6, i64 208, !6, i64 212, !13, 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, !13, i64 448, !13, i64 456, !13, 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, !13, 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, !13, 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, !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, !10, i64 1872, !13, i64 1880, !13, i64 1888, !13, i64 1896, !13, 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, !14, 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, !13, i64 2664, !6, i64 2672, !13, i64 2680, !13, i64 2688, !13, i64 2696, !6, i64 2704, !6, i64 2708, !6, i64 2712, !6, i64 2716, !6, i64 2720, !13, i64 2728, !13, i64 2736, !6, i64 2744, !6, i64 2748, !6, i64 2752, !6, i64 2756, !6, i64 2760, !6, i64 2764, !13, i64 2768, !13, 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, !13, i64 2920, !13, i64 2928, !13, i64 2936, !13, 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, !13, i64 3240, !10, i64 3248, !10, i64 3256, !10, i64 3264, !15, i64 3272, !16, i64 3424}
!13 = !{!"double", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"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}
!16 = !{!"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, !13, i64 5336}
!17 = !{!12, !6, i64 580}
!18 = !{!12, !6, i64 96}
!19 = !{!12, !6, i64 516}
!20 = !{!12, !6, i64 520}
!21 = !{!12, !6, i64 524}
!22 = !{!12, !10, i64 616}


; 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 }

@stdout = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [403 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.14 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [83 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 @adddiamond(ptr noundef, ptr noundef, i32 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) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @addDelaunay(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
declare dso_local void @addhalf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr 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 i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca [2000 x i8], align 16
  %6 = alloca %struct.qhT, align 8
  %7 = alloca [14 x [3 x double]], align 16
  %8 = alloca [14 x [3 x double]], align 16
  %9 = alloca [14 x [4 x double]], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 2000, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 8768, ptr nonnull %6) #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
  %10 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %11 = load ptr, ptr @stdin, align 8, !tbaa !5
  %12 = load ptr, ptr @stdout, align 8, !tbaa !5
  %13 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @qh_init_A(ptr noundef nonnull %6, ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef 0, ptr noundef null) #6
  %14 = getelementptr inbounds i8, ptr %6, i64 1928
  %15 = call i32 @_setjmp(ptr noundef nonnull %14) #7
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %16, label %51

16:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 336, ptr nonnull %7) #6
  %17 = getelementptr inbounds i8, ptr %6, i64 2720
  store i32 0, ptr %17, align 8, !tbaa !9
  %18 = getelementptr inbounds i8, ptr %6, i64 936
  %19 = call ptr @strcat(ptr noundef nonnull dereferenceable(1) %18, ptr noundef nonnull dereferenceable(1) @.str.14) #6
  %20 = icmp sgt i32 %0, 1
  br i1 %20, label %21, label %24

21:                                               ; preds = %16
  %22 = getelementptr inbounds i8, ptr %1, i64 8
  %23 = load ptr, ptr %22, align 8, !tbaa !5
  br label %24

24:                                               ; preds = %16, %21
  %25 = phi ptr [ %23, %21 ], [ @.str.16, %16 ]
  %26 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.15, ptr noundef %25) #6
  call void @qh_initflags(ptr noundef nonnull %6, ptr noundef nonnull %5) #6
  %27 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.17)
  call void @makecube(ptr noundef nonnull %7, i32 noundef 8, i32 noundef 3)
  %28 = call i32 @fflush(ptr noundef null)
  call void @qh_init_B(ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef 8, i32 noundef 3, i32 noundef 0) #6
  call void @qh_qhull(ptr noundef nonnull %6) #6
  call void @qh_check_output(ptr noundef nonnull %6) #6
  call void @qh_triangulate(ptr noundef nonnull %6) #6
  call void @print_summary(ptr noundef nonnull %6)
  %29 = getelementptr inbounds i8, ptr %6, i64 580
  %30 = load i32, ptr %29, align 4, !tbaa !16
  %.not108 = icmp ne i32 %30, 0
  %31 = getelementptr inbounds i8, ptr %6, i64 96
  %32 = load i32, ptr %31, align 8
  %.not109 = icmp eq i32 %32, 0
  %or.cond141 = select i1 %.not108, i1 %.not109, i1 false
  %33 = getelementptr inbounds i8, ptr %6, i64 516
  %34 = load i32, ptr %33, align 4
  %.not110 = icmp eq i32 %34, 0
  %or.cond143 = select i1 %or.cond141, i1 %.not110, i1 false
  %35 = getelementptr inbounds i8, ptr %6, i64 520
  %36 = load i32, ptr %35, align 8
  %.not111 = icmp eq i32 %36, 0
  %or.cond145 = select i1 %or.cond143, i1 %.not111, i1 false
  %37 = getelementptr inbounds i8, ptr %6, i64 524
  %38 = load i32, ptr %37, align 4
  %.not112 = icmp eq i32 %38, 0
  %or.cond147 = select i1 %or.cond145, i1 %.not112, i1 false
  br i1 %or.cond147, label %39, label %40

39:                                               ; preds = %24
  call void @qh_check_points(ptr noundef nonnull %6) #6
  br label %40

40:                                               ; preds = %39, %24
  %41 = call i32 @fflush(ptr noundef null)
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18)
  call void @adddiamond(ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef 8, i32 noundef 6, i32 noundef 3)
  call void @qh_check_output(ptr noundef nonnull %6) #6
  call void @print_summary(ptr noundef nonnull %6)
  call void @qh_produce_output(ptr noundef nonnull %6) #6
  %43 = load i32, ptr %29, align 4, !tbaa !16
  %.not113 = icmp ne i32 %43, 0
  %44 = load i32, ptr %31, align 8
  %.not114 = icmp eq i32 %44, 0
  %or.cond149 = select i1 %.not113, i1 %.not114, i1 false
  %45 = load i32, ptr %33, align 4
  %.not115 = icmp eq i32 %45, 0
  %or.cond151 = select i1 %or.cond149, i1 %.not115, i1 false
  %46 = load i32, ptr %35, align 8
  %.not116 = icmp eq i32 %46, 0
  %or.cond153 = select i1 %or.cond151, i1 %.not116, i1 false
  %47 = load i32, ptr %37, align 4
  %.not117 = icmp eq i32 %47, 0
  %or.cond155 = select i1 %or.cond153, i1 %.not117, i1 false
  br i1 %or.cond155, label %48, label %49

48:                                               ; preds = %40
  call void @qh_check_points(ptr noundef nonnull %6) #6
  br label %49

49:                                               ; preds = %48, %40
  %50 = call i32 @fflush(ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 336, ptr nonnull %7) #6
  br label %51

51:                                               ; preds = %49, %2
  %52 = getelementptr inbounds i8, ptr %6, i64 2720
  store i32 1, ptr %52, align 8, !tbaa !9
  call void @qh_freeqhull(ptr noundef nonnull %6, i32 noundef 0) #6
  call void @qh_memfreeshort(ptr noundef nonnull %6, ptr noundef nonnull %3, ptr noundef nonnull %4) #6
  %53 = load i32, ptr %3, align 4, !tbaa !17
  %54 = icmp ne i32 %53, 0
  %55 = load i32, ptr %4, align 4
  %56 = icmp ne i32 %55, 0
  %or.cond = select i1 %54, i1 true, i1 %56
  br i1 %or.cond, label %57, label %60

57:                                               ; preds = %51
  %58 = load ptr, ptr @stderr, align 8, !tbaa !5
  %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef nonnull @.str.19, i32 noundef %55, i32 noundef %53) #8
  br label %60

60:                                               ; preds = %51, %57
  %61 = load ptr, ptr @stdin, align 8, !tbaa !5
  %62 = load ptr, ptr @stdout, align 8, !tbaa !5
  %63 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @qh_init_A(ptr noundef nonnull %6, ptr noundef %61, ptr noundef %62, ptr noundef %63, i32 noundef 0, ptr noundef null) #6
  %64 = call i32 @_setjmp(ptr noundef nonnull %14) #7
  %.not118 = icmp eq i32 %64, 0
  br i1 %.not118, label %65, label %99

65:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 336, ptr nonnull %8) #6
  store i32 0, ptr %52, align 8, !tbaa !9
  %66 = getelementptr inbounds i8, ptr %6, i64 936
  %67 = call ptr @strcat(ptr noundef nonnull dereferenceable(1) %66, ptr noundef nonnull dereferenceable(1) @.str.20) #6
  %68 = icmp sgt i32 %0, 2
  br i1 %68, label %69, label %72

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

72:                                               ; preds = %65, %69
  %73 = phi ptr [ %71, %69 ], [ @.str.16, %65 ]
  %74 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.21, ptr noundef %73) #6
  call void @qh_initflags(ptr noundef nonnull %6, ptr noundef nonnull %5) #6
  %75 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.22, i32 noundef 2)
  call void @makeDelaunay(ptr noundef nonnull %6, ptr noundef nonnull %8, i32 noundef 8, i32 noundef 3)
  call void @qh_init_B(ptr noundef nonnull %6, ptr noundef nonnull %8, i32 noundef 8, i32 noundef 3, i32 noundef 0) #6
  call void @qh_qhull(ptr noundef nonnull %6) #6
  call void @qh_check_output(ptr noundef nonnull %6) #6
  call void @print_summary(ptr noundef nonnull %6)
  call void @qh_produce_output(ptr noundef nonnull %6) #6
  %76 = getelementptr inbounds i8, ptr %6, i64 580
  %77 = load i32, ptr %76, align 4, !tbaa !16
  %.not119 = icmp ne i32 %77, 0
  %78 = getelementptr inbounds i8, ptr %6, i64 96
  %79 = load i32, ptr %78, align 8
  %.not120 = icmp eq i32 %79, 0
  %or.cond157 = select i1 %.not119, i1 %.not120, i1 false
  %80 = getelementptr inbounds i8, ptr %6, i64 516
  %81 = load i32, ptr %80, align 4
  %.not121 = icmp eq i32 %81, 0
  %or.cond159 = select i1 %or.cond157, i1 %.not121, i1 false
  %82 = getelementptr inbounds i8, ptr %6, i64 520
  %83 = load i32, ptr %82, align 8
  %.not122 = icmp eq i32 %83, 0
  %or.cond161 = select i1 %or.cond159, i1 %.not122, i1 false
  %84 = getelementptr inbounds i8, ptr %6, i64 524
  %85 = load i32, ptr %84, align 4
  %.not123 = icmp eq i32 %85, 0
  %or.cond163 = select i1 %or.cond161, i1 %.not123, i1 false
  br i1 %or.cond163, label %86, label %87

86:                                               ; preds = %72
  call void @qh_check_points(ptr noundef nonnull %6) #6
  br label %87

87:                                               ; preds = %86, %72
  %88 = call i32 @fflush(ptr noundef null)
  %89 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.23)
  call void @addDelaunay(ptr noundef nonnull %6, ptr noundef nonnull %8, i32 noundef 8, i32 noundef 6, i32 noundef 3)
  call void @qh_check_output(ptr noundef nonnull %6) #6
  %90 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.24)
  call void @findDelaunay(ptr noundef nonnull %6, i32 noundef 3)
  call void @qh_produce_output(ptr noundef nonnull %6) #6
  %91 = load i32, ptr %76, align 4, !tbaa !16
  %.not124 = icmp ne i32 %91, 0
  %92 = load i32, ptr %78, align 8
  %.not125 = icmp eq i32 %92, 0
  %or.cond165 = select i1 %.not124, i1 %.not125, i1 false
  %93 = load i32, ptr %80, align 4
  %.not126 = icmp eq i32 %93, 0
  %or.cond167 = select i1 %or.cond165, i1 %.not126, i1 false
  %94 = load i32, ptr %82, align 8
  %.not127 = icmp eq i32 %94, 0
  %or.cond169 = select i1 %or.cond167, i1 %.not127, i1 false
  %95 = load i32, ptr %84, align 4
  %.not128 = icmp eq i32 %95, 0
  %or.cond171 = select i1 %or.cond169, i1 %.not128, i1 false
  br i1 %or.cond171, label %96, label %97

96:                                               ; preds = %87
  call void @qh_check_points(ptr noundef nonnull %6) #6
  br label %97

97:                                               ; preds = %96, %87
  %98 = call i32 @fflush(ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 336, ptr nonnull %8) #6
  br label %99

99:                                               ; preds = %97, %60
  store i32 1, ptr %52, align 8, !tbaa !9
  call void @qh_freeqhull(ptr noundef nonnull %6, i32 noundef 0) #6
  call void @qh_memfreeshort(ptr noundef nonnull %6, ptr noundef nonnull %3, ptr noundef nonnull %4) #6
  %100 = load i32, ptr %3, align 4, !tbaa !17
  %101 = icmp ne i32 %100, 0
  %102 = load i32, ptr %4, align 4
  %103 = icmp ne i32 %102, 0
  %or.cond3 = select i1 %101, i1 true, i1 %103
  br i1 %or.cond3, label %104, label %107

104:                                              ; preds = %99
  %105 = load ptr, ptr @stderr, align 8, !tbaa !5
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %105, ptr noundef nonnull @.str.25, i32 noundef %102, i32 noundef %100) #8
  br label %107

107:                                              ; preds = %99, %104
  %108 = load ptr, ptr @stdin, align 8, !tbaa !5
  %109 = load ptr, ptr @stdout, align 8, !tbaa !5
  %110 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @qh_init_A(ptr noundef nonnull %6, ptr noundef %108, ptr noundef %109, ptr noundef %110, i32 noundef 0, ptr noundef null) #6
  %111 = call i32 @_setjmp(ptr noundef nonnull %14) #7
  %.not129 = icmp eq i32 %111, 0
  br i1 %.not129, label %112, label %150

112:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 448, ptr nonnull %9) #6
  store i32 0, ptr %52, align 8, !tbaa !9
  %113 = getelementptr inbounds i8, ptr %6, i64 936
  %114 = call ptr @strcat(ptr noundef nonnull dereferenceable(1) %113, ptr noundef nonnull dereferenceable(1) @.str.26) #6
  %115 = icmp sgt i32 %0, 3
  br i1 %115, label %116, label %119

116:                                              ; preds = %112
  %117 = getelementptr inbounds i8, ptr %1, i64 24
  %118 = load ptr, ptr %117, align 8, !tbaa !5
  br label %119

119:                                              ; preds = %112, %116
  %120 = phi ptr [ %118, %116 ], [ @.str.16, %112 ]
  %121 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.27, ptr noundef %120) #6
  call void @qh_initflags(ptr noundef nonnull %6, ptr noundef nonnull %5) #6
  %122 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.28)
  call void @makehalf(ptr noundef nonnull %9, i32 noundef 8, i32 noundef 3)
  call void @qh_setfeasible(ptr noundef nonnull %6, i32 noundef 3) #6
  %123 = getelementptr inbounds i8, ptr %6, i64 616
  %124 = load ptr, ptr %123, align 8, !tbaa !18
  %125 = call ptr @qh_sethalfspace_all(ptr noundef nonnull %6, i32 noundef 4, i32 noundef 8, ptr noundef nonnull %9, ptr noundef %124) #6
  call void @qh_init_B(ptr noundef nonnull %6, ptr noundef %125, i32 noundef 8, i32 noundef 3, i32 noundef 1) #6
  call void @qh_qhull(ptr noundef nonnull %6) #6
  %126 = call i32 @fflush(ptr noundef null)
  call void @qh_check_output(ptr noundef nonnull %6) #6
  call void @qh_produce_output(ptr noundef nonnull %6) #6
  %127 = getelementptr inbounds i8, ptr %6, i64 580
  %128 = load i32, ptr %127, align 4, !tbaa !16
  %.not130 = icmp ne i32 %128, 0
  %129 = getelementptr inbounds i8, ptr %6, i64 96
  %130 = load i32, ptr %129, align 8
  %.not131 = icmp eq i32 %130, 0
  %or.cond173 = select i1 %.not130, i1 %.not131, i1 false
  %131 = getelementptr inbounds i8, ptr %6, i64 516
  %132 = load i32, ptr %131, align 4
  %.not132 = icmp eq i32 %132, 0
  %or.cond175 = select i1 %or.cond173, i1 %.not132, i1 false
  %133 = getelementptr inbounds i8, ptr %6, i64 520
  %134 = load i32, ptr %133, align 8
  %.not133 = icmp eq i32 %134, 0
  %or.cond177 = select i1 %or.cond175, i1 %.not133, i1 false
  %135 = getelementptr inbounds i8, ptr %6, i64 524
  %136 = load i32, ptr %135, align 4
  %.not134 = icmp eq i32 %136, 0
  %or.cond179 = select i1 %or.cond177, i1 %.not134, i1 false
  br i1 %or.cond179, label %137, label %138

137:                                              ; preds = %119
  call void @qh_check_points(ptr noundef nonnull %6) #6
  br label %138

138:                                              ; preds = %137, %119
  %139 = call i32 @fflush(ptr noundef null)
  %140 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.29)
  %141 = load ptr, ptr %123, align 8, !tbaa !18
  call void @addhalf(ptr noundef nonnull %6, ptr noundef nonnull %9, i32 noundef 8, i32 noundef 6, i32 noundef 3, ptr noundef %141)
  call void @qh_check_output(ptr noundef nonnull %6) #6
  call void @qh_produce_output(ptr noundef nonnull %6) #6
  %142 = load i32, ptr %127, align 4, !tbaa !16
  %.not135 = icmp ne i32 %142, 0
  %143 = load i32, ptr %129, align 8
  %.not136 = icmp eq i32 %143, 0
  %or.cond181 = select i1 %.not135, i1 %.not136, i1 false
  %144 = load i32, ptr %131, align 4
  %.not137 = icmp eq i32 %144, 0
  %or.cond183 = select i1 %or.cond181, i1 %.not137, i1 false
  %145 = load i32, ptr %133, align 8
  %.not138 = icmp eq i32 %145, 0
  %or.cond185 = select i1 %or.cond183, i1 %.not138, i1 false
  %146 = load i32, ptr %135, align 4
  %.not139 = icmp eq i32 %146, 0
  %or.cond187 = select i1 %or.cond185, i1 %.not139, i1 false
  br i1 %or.cond187, label %147, label %148

147:                                              ; preds = %138
  call void @qh_check_points(ptr noundef nonnull %6) #6
  br label %148

148:                                              ; preds = %147, %138
  %149 = call i32 @fflush(ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 448, ptr nonnull %9) #6
  br label %150

150:                                              ; preds = %148, %107
  store i32 1, ptr %52, align 8, !tbaa !9
  call void @qh_freeqhull(ptr noundef nonnull %6, i32 noundef 0) #6
  call void @qh_memfreeshort(ptr noundef nonnull %6, ptr noundef nonnull %3, ptr noundef nonnull %4) #6
  %151 = load i32, ptr %3, align 4, !tbaa !17
  %152 = icmp ne i32 %151, 0
  %153 = load i32, ptr %4, align 4
  %154 = icmp ne i32 %153, 0
  %or.cond5 = select i1 %152, i1 true, i1 %154
  br i1 %or.cond5, label %155, label %158

155:                                              ; preds = %150
  %156 = load ptr, ptr @stderr, align 8, !tbaa !5
  %157 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %156, ptr noundef nonnull @.str.30, i32 noundef %153, i32 noundef %151) #8
  br label %158

158:                                              ; preds = %150, %155
  call void @llvm.lifetime.end.p0(i64 8768, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 2000, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  ret i32 %111
}

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_init_A(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcat(ptr noalias noundef returned, ptr noalias nocapture noundef readonly) local_unnamed_addr #5

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

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

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

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

declare void @qh_qhull(ptr noundef) local_unnamed_addr #3

declare void @qh_check_output(ptr noundef) local_unnamed_addr #3

declare void @qh_triangulate(ptr noundef) local_unnamed_addr #3

declare void @qh_check_points(ptr noundef) local_unnamed_addr #3

declare void @qh_produce_output(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

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

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

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 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 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 = { nounwind returns_twice }
attributes #8 = { cold nounwind }

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass