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

@.str.59 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [62 x i8], align 1

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

declare ptr @qh_malloc(i64 noundef) #1

declare void @qh_fprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) #1

declare void @qh_errexit(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

declare void @qh_memfree(ptr noundef, ptr noundef, i32 noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_projectinput(ptr noundef %0) #3 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %14 = load ptr, ptr %2, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.qhT, ptr %14, i32 0, i32 111
  %16 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %16, ptr %5, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.qhT, ptr %17, i32 0, i32 112
  %19 = load i32, ptr %18, align 8, !tbaa !17
  store i32 %19, ptr %6, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.qhT, ptr %20, i32 0, i32 111
  %22 = load i32, ptr %21, align 4, !tbaa !9
  %23 = add nsw i32 %22, 1
  %24 = mul nsw i32 %23, 1
  store i32 %24, ptr %8, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store double 0.000000e+00, ptr %13, align 8, !tbaa !18
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = load i32, ptr %8, align 4, !tbaa !16
  %27 = call ptr @qh_memalloc(ptr noundef %25, i32 noundef %26)
  store ptr %27, ptr %7, align 8, !tbaa !5
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = load i32, ptr %8, align 4, !tbaa !16
  %30 = sext i32 %29 to i64
  call void @llvm.memset.p0.i64(ptr align 1 %28, i8 0, i64 %30, i1 false)
  store i32 0, ptr %3, align 4, !tbaa !16
  br label %31

31:                                               ; preds = %63, %1
  %32 = load i32, ptr %3, align 4, !tbaa !16
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.qhT, ptr %33, i32 0, i32 111
  %35 = load i32, ptr %34, align 4, !tbaa !9
  %36 = icmp slt i32 %32, %35
  br i1 %36, label %37, label %66

37:                                               ; preds = %31
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.qhT, ptr %38, i32 0, i32 130
  %40 = load ptr, ptr %39, align 8, !tbaa !19
  %41 = load i32, ptr %3, align 4, !tbaa !16
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds double, ptr %40, i64 %42
  %44 = load double, ptr %43, align 8, !tbaa !18
  %45 = fcmp oeq double %44, 0.000000e+00
  br i1 %45, label %46, label %62

46:                                               ; preds = %37
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.qhT, ptr %47, i32 0, i32 129
  %49 = load ptr, ptr %48, align 8, !tbaa !20
  %50 = load i32, ptr %3, align 4, !tbaa !16
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds double, ptr %49, i64 %51
  %53 = load double, ptr %52, align 8, !tbaa !18
  %54 = fcmp oeq double %53, 0.000000e+00
  br i1 %54, label %55, label %62

55:                                               ; preds = %46
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = load i32, ptr %3, align 4, !tbaa !16
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds i8, ptr %56, i64 %58
  store i8 -1, ptr %59, align 1, !tbaa !21
  %60 = load i32, ptr %5, align 4, !tbaa !16
  %61 = add nsw i32 %60, -1
  store i32 %61, ptr %5, align 4, !tbaa !16
  br label %62

62:                                               ; preds = %55, %46, %37
  br label %63

63:                                               ; preds = %62
  %64 = load i32, ptr %3, align 4, !tbaa !16
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %3, align 4, !tbaa !16
  br label %31, !llvm.loop !22

66:                                               ; preds = %31
  %67 = load ptr, ptr %2, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.qhT, ptr %67, i32 0, i32 17
  %69 = load i32, ptr %68, align 8, !tbaa !24
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %86

71:                                               ; preds = %66
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = load i32, ptr %3, align 4, !tbaa !16
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds i8, ptr %72, i64 %74
  store i8 1, ptr %75, align 1, !tbaa !21
  %76 = load i32, ptr %5, align 4, !tbaa !16
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %5, align 4, !tbaa !16
  %78 = load ptr, ptr %2, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.qhT, ptr %78, i32 0, i32 8
  %80 = load i32, ptr %79, align 4, !tbaa !25
  %81 = icmp ne i32 %80, 0
  br i1 %81, label %82, label %85

82:                                               ; preds = %71
  %83 = load i32, ptr %6, align 4, !tbaa !16
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %6, align 4, !tbaa !16
  br label %85

85:                                               ; preds = %82, %71
  br label %86

86:                                               ; preds = %85, %66
  %87 = load i32, ptr %5, align 4, !tbaa !16
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.qhT, ptr %88, i32 0, i32 110
  %90 = load i32, ptr %89, align 8, !tbaa !26
  %91 = icmp ne i32 %87, %90
  br i1 %91, label %92, label %105

92:                                               ; preds = %86
  %93 = load ptr, ptr %2, align 8, !tbaa !5
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = load i32, ptr %8, align 4, !tbaa !16
  call void @qh_memfree(ptr noundef %93, ptr noundef %94, i32 noundef %95)
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = load ptr, ptr %2, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.qhT, ptr %97, i32 0, i32 158
  %99 = load ptr, ptr %98, align 8, !tbaa !27
  %100 = load i32, ptr %5, align 4, !tbaa !16
  %101 = load ptr, ptr %2, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.qhT, ptr %101, i32 0, i32 110
  %103 = load i32, ptr %102, align 8, !tbaa !26
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %96, ptr noundef %99, i32 noundef 6015, ptr noundef @.str.59, i32 noundef %100, i32 noundef %103)
  %104 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_errexit(ptr noundef %104, i32 noundef 5, ptr noundef null, ptr noundef null)
  br label %105

105:                                              ; preds = %92, %86
  %106 = load i32, ptr %6, align 4, !tbaa !16
  %107 = load i32, ptr %5, align 4, !tbaa !16
  %108 = mul nsw i32 %106, %107
  %109 = sext i32 %108 to i64
  %110 = mul i64 %109, 8
  %111 = call ptr @qh_malloc(i64 noundef %110)
  %112 = load ptr, ptr %2, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.qhT, ptr %112, i32 0, i32 232
  store ptr %111, ptr %113, align 8, !tbaa !28
  store ptr %111, ptr %9, align 8, !tbaa !5
  %114 = icmp ne ptr %111, null
  br i1 %114, label %127, label %115

115:                                              ; preds = %105
  %116 = load ptr, ptr %2, align 8, !tbaa !5
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = load i32, ptr %8, align 4, !tbaa !16
  call void @qh_memfree(ptr noundef %116, ptr noundef %117, i32 noundef %118)
  %119 = load ptr, ptr %2, align 8, !tbaa !5
  %120 = load ptr, ptr %2, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.qhT, ptr %120, i32 0, i32 158
  %122 = load ptr, ptr %121, align 8, !tbaa !27
  %123 = load ptr, ptr %2, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.qhT, ptr %123, i32 0, i32 112
  %125 = load i32, ptr %124, align 8, !tbaa !17
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %119, ptr noundef %122, i32 noundef 6016, ptr noundef @.str.60, i32 noundef %125)
  %126 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_errexit(ptr noundef %126, i32 noundef 4, ptr noundef null, ptr noundef null)
  br label %127

127:                                              ; preds = %115, %105
  %128 = load ptr, ptr %2, align 8, !tbaa !5
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  %130 = load ptr, ptr %2, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.qhT, ptr %130, i32 0, i32 111
  %132 = load i32, ptr %131, align 4, !tbaa !9
  %133 = add nsw i32 %132, 1
  %134 = load ptr, ptr %2, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.qhT, ptr %134, i32 0, i32 113
  %136 = load ptr, ptr %135, align 8, !tbaa !29
  %137 = load ptr, ptr %2, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.qhT, ptr %137, i32 0, i32 112
  %139 = load i32, ptr %138, align 8, !tbaa !17
  %140 = load ptr, ptr %2, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.qhT, ptr %140, i32 0, i32 111
  %142 = load i32, ptr %141, align 4, !tbaa !9
  %143 = load ptr, ptr %9, align 8, !tbaa !5
  %144 = load i32, ptr %5, align 4, !tbaa !16
  call void @qh_projectpoints(ptr noundef %128, ptr noundef %129, i32 noundef %133, ptr noundef %136, i32 noundef %139, i32 noundef %142, ptr noundef %143, i32 noundef %144)
  %145 = load ptr, ptr %2, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.qhT, ptr %145, i32 0, i32 29
  %147 = load i32, ptr %146, align 8, !tbaa !30
  %148 = icmp sge i32 %147, 1
  br i1 %148, label %149, label %154

149:                                              ; preds = %127
  %150 = load ptr, ptr %2, align 8, !tbaa !5
  %151 = load ptr, ptr %2, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.qhT, ptr %151, i32 0, i32 158
  %153 = load ptr, ptr %152, align 8, !tbaa !27
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %150, ptr noundef %153, i32 noundef 1003, ptr noundef @.str.61)
  br label %154

154:                                              ; preds = %149, %127
  %155 = load ptr, ptr %2, align 8, !tbaa !5
  %156 = load ptr, ptr %7, align 8, !tbaa !5
  %157 = load ptr, ptr %2, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.qhT, ptr %157, i32 0, i32 111
  %159 = load i32, ptr %158, align 4, !tbaa !9
  %160 = add nsw i32 %159, 1
  %161 = load ptr, ptr %2, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.qhT, ptr %161, i32 0, i32 130
  %163 = load ptr, ptr %162, align 8, !tbaa !19
  %164 = load ptr, ptr %2, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.qhT, ptr %164, i32 0, i32 111
  %166 = load i32, ptr %165, align 4, !tbaa !9
  %167 = add nsw i32 %166, 1
  %168 = load ptr, ptr %2, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.qhT, ptr %168, i32 0, i32 130
  %170 = load ptr, ptr %169, align 8, !tbaa !19
  %171 = load i32, ptr %5, align 4, !tbaa !16
  %172 = add nsw i32 %171, 1
  call void @qh_projectpoints(ptr noundef %155, ptr noundef %156, i32 noundef %160, ptr noundef %163, i32 noundef 1, i32 noundef %167, ptr noundef %170, i32 noundef %172)
  %173 = load ptr, ptr %2, align 8, !tbaa !5
  %174 = load ptr, ptr %7, align 8, !tbaa !5
  %175 = load ptr, ptr %2, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.qhT, ptr %175, i32 0, i32 111
  %177 = load i32, ptr %176, align 4, !tbaa !9
  %178 = add nsw i32 %177, 1
  %179 = load ptr, ptr %2, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.qhT, ptr %179, i32 0, i32 129
  %181 = load ptr, ptr %180, align 8, !tbaa !20
  %182 = load ptr, ptr %2, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.qhT, ptr %182, i32 0, i32 111
  %184 = load i32, ptr %183, align 4, !tbaa !9
  %185 = add nsw i32 %184, 1
  %186 = load ptr, ptr %2, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.qhT, ptr %186, i32 0, i32 129
  %188 = load ptr, ptr %187, align 8, !tbaa !20
  %189 = load i32, ptr %5, align 4, !tbaa !16
  %190 = add nsw i32 %189, 1
  call void @qh_projectpoints(ptr noundef %173, ptr noundef %174, i32 noundef %178, ptr noundef %181, i32 noundef 1, i32 noundef %185, ptr noundef %188, i32 noundef %190)
  %191 = load ptr, ptr %2, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.qhT, ptr %191, i32 0, i32 27
  %193 = load i32, ptr %192, align 8, !tbaa !31
  %194 = icmp ne i32 %193, 0
  br i1 %194, label %195, label %225

195:                                              ; preds = %154
  %196 = load ptr, ptr %2, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.qhT, ptr %196, i32 0, i32 107
  %198 = load ptr, ptr %197, align 8, !tbaa !32
  %199 = icmp ne ptr %198, null
  br i1 %199, label %209, label %200

200:                                              ; preds = %195
  %201 = load ptr, ptr %2, align 8, !tbaa !5
  %202 = load ptr, ptr %7, align 8, !tbaa !5
  %203 = load i32, ptr %8, align 4, !tbaa !16
  call void @qh_memfree(ptr noundef %201, ptr noundef %202, i32 noundef %203)
  %204 = load ptr, ptr %2, align 8, !tbaa !5
  %205 = load ptr, ptr %2, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.qhT, ptr %205, i32 0, i32 158
  %207 = load ptr, ptr %206, align 8, !tbaa !27
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %204, ptr noundef %207, i32 noundef 6017, ptr noundef @.str.62)
  %208 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_errexit(ptr noundef %208, i32 noundef 5, ptr noundef null, ptr noundef null)
  br label %209

209:                                              ; preds = %200, %195
  %210 = load ptr, ptr %2, align 8, !tbaa !5
  %211 = load ptr, ptr %7, align 8, !tbaa !5
  %212 = load ptr, ptr %2, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.qhT, ptr %212, i32 0, i32 111
  %214 = load i32, ptr %213, align 4, !tbaa !9
  %215 = load ptr, ptr %2, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.qhT, ptr %215, i32 0, i32 107
  %217 = load ptr, ptr %216, align 8, !tbaa !32
  %218 = load ptr, ptr %2, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.qhT, ptr %218, i32 0, i32 111
  %220 = load i32, ptr %219, align 4, !tbaa !9
  %221 = load ptr, ptr %2, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.qhT, ptr %221, i32 0, i32 107
  %223 = load ptr, ptr %222, align 8, !tbaa !32
  %224 = load i32, ptr %5, align 4, !tbaa !16
  call void @qh_projectpoints(ptr noundef %210, ptr noundef %211, i32 noundef %214, ptr noundef %217, i32 noundef 1, i32 noundef %220, ptr noundef %223, i32 noundef %224)
  br label %225

225:                                              ; preds = %209, %154
  %226 = load ptr, ptr %2, align 8, !tbaa !5
  %227 = load ptr, ptr %7, align 8, !tbaa !5
  %228 = load i32, ptr %8, align 4, !tbaa !16
  call void @qh_memfree(ptr noundef %226, ptr noundef %227, i32 noundef %228)
  %229 = load ptr, ptr %2, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.qhT, ptr %229, i32 0, i32 114
  %231 = load i32, ptr %230, align 8, !tbaa !33
  %232 = icmp ne i32 %231, 0
  br i1 %232, label %233, label %237

233:                                              ; preds = %225
  %234 = load ptr, ptr %2, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.qhT, ptr %234, i32 0, i32 113
  %236 = load ptr, ptr %235, align 8, !tbaa !29
  call void @qh_free(ptr noundef %236)
  br label %237

237:                                              ; preds = %233, %225
  %238 = load ptr, ptr %9, align 8, !tbaa !5
  %239 = load ptr, ptr %2, align 8, !tbaa !5
  %240 = getelementptr inbounds %struct.qhT, ptr %239, i32 0, i32 113
  store ptr %238, ptr %240, align 8, !tbaa !29
  %241 = load ptr, ptr %2, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.qhT, ptr %241, i32 0, i32 114
  store i32 1, ptr %242, align 8, !tbaa !33
  %243 = load ptr, ptr %2, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.qhT, ptr %243, i32 0, i32 232
  store ptr null, ptr %244, align 8, !tbaa !28
  %245 = load ptr, ptr %2, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.qhT, ptr %245, i32 0, i32 17
  %247 = load i32, ptr %246, align 8, !tbaa !24
  %248 = icmp ne i32 %247, 0
  br i1 %248, label %249, label %366

249:                                              ; preds = %237
  %250 = load ptr, ptr %2, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.qhT, ptr %250, i32 0, i32 8
  %252 = load i32, ptr %251, align 4, !tbaa !25
  %253 = icmp ne i32 %252, 0
  br i1 %253, label %254, label %366

254:                                              ; preds = %249
  %255 = load ptr, ptr %2, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.qhT, ptr %255, i32 0, i32 113
  %257 = load ptr, ptr %256, align 8, !tbaa !29
  store ptr %257, ptr %10, align 8, !tbaa !5
  %258 = load ptr, ptr %2, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.qhT, ptr %258, i32 0, i32 113
  %260 = load ptr, ptr %259, align 8, !tbaa !29
  %261 = load ptr, ptr %2, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.qhT, ptr %261, i32 0, i32 110
  %263 = load i32, ptr %262, align 8, !tbaa !26
  %264 = load ptr, ptr %2, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.qhT, ptr %264, i32 0, i32 112
  %266 = load i32, ptr %265, align 8, !tbaa !17
  %267 = mul nsw i32 %263, %266
  %268 = sext i32 %267 to i64
  %269 = getelementptr inbounds double, ptr %260, i64 %268
  store ptr %269, ptr %11, align 8, !tbaa !5
  %270 = load ptr, ptr %2, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.qhT, ptr %270, i32 0, i32 110
  %272 = load i32, ptr %271, align 8, !tbaa !26
  %273 = sub nsw i32 %272, 1
  store i32 %273, ptr %3, align 4, !tbaa !16
  br label %274

274:                                              ; preds = %278, %254
  %275 = load i32, ptr %3, align 4, !tbaa !16
  %276 = add nsw i32 %275, -1
  store i32 %276, ptr %3, align 4, !tbaa !16
  %277 = icmp ne i32 %275, 0
  br i1 %277, label %278, label %283

278:                                              ; preds = %274
  %279 = load ptr, ptr %11, align 8, !tbaa !5
  %280 = load i32, ptr %3, align 4, !tbaa !16
  %281 = sext i32 %280 to i64
  %282 = getelementptr inbounds double, ptr %279, i64 %281
  store double 0.000000e+00, ptr %282, align 8, !tbaa !18
  br label %274, !llvm.loop !34

283:                                              ; preds = %274
  %284 = load ptr, ptr %2, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.qhT, ptr %284, i32 0, i32 112
  %286 = load i32, ptr %285, align 8, !tbaa !17
  store i32 %286, ptr %4, align 4, !tbaa !16
  br label %287

287:                                              ; preds = %328, %283
  %288 = load i32, ptr %4, align 4, !tbaa !16
  %289 = add nsw i32 %288, -1
  store i32 %289, ptr %4, align 4, !tbaa !16
  %290 = icmp ne i32 %288, 0
  br i1 %290, label %291, label %329

291:                                              ; preds = %287
  store double 0.000000e+00, ptr %12, align 8, !tbaa !18
  store i32 0, ptr %3, align 4, !tbaa !16
  br label %292

292:                                              ; preds = %316, %291
  %293 = load i32, ptr %3, align 4, !tbaa !16
  %294 = load ptr, ptr %2, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.qhT, ptr %294, i32 0, i32 110
  %296 = load i32, ptr %295, align 8, !tbaa !26
  %297 = sub nsw i32 %296, 1
  %298 = icmp slt i32 %293, %297
  br i1 %298, label %299, label %319

299:                                              ; preds = %292
  %300 = load ptr, ptr %10, align 8, !tbaa !5
  %301 = load double, ptr %300, align 8, !tbaa !18
  %302 = load ptr, ptr %10, align 8, !tbaa !5
  %303 = load double, ptr %302, align 8, !tbaa !18
  %304 = load double, ptr %12, align 8, !tbaa !18
  %305 = call double @llvm.fmuladd.f64(double %301, double %303, double %304)
  store double %305, ptr %12, align 8, !tbaa !18
  %306 = load ptr, ptr %10, align 8, !tbaa !5
  %307 = load double, ptr %306, align 8, !tbaa !18
  %308 = load ptr, ptr %11, align 8, !tbaa !5
  %309 = load i32, ptr %3, align 4, !tbaa !16
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds double, ptr %308, i64 %310
  %312 = load double, ptr %311, align 8, !tbaa !18
  %313 = fadd double %312, %307
  store double %313, ptr %311, align 8, !tbaa !18
  %314 = load ptr, ptr %10, align 8, !tbaa !5
  %315 = getelementptr inbounds double, ptr %314, i32 1
  store ptr %315, ptr %10, align 8, !tbaa !5
  br label %316

316:                                              ; preds = %299
  %317 = load i32, ptr %3, align 4, !tbaa !16
  %318 = add nsw i32 %317, 1
  store i32 %318, ptr %3, align 4, !tbaa !16
  br label %292, !llvm.loop !35

319:                                              ; preds = %292
  %320 = load double, ptr %12, align 8, !tbaa !18
  %321 = load ptr, ptr %10, align 8, !tbaa !5
  %322 = getelementptr inbounds double, ptr %321, i32 1
  store ptr %322, ptr %10, align 8, !tbaa !5
  store double %320, ptr %321, align 8, !tbaa !18
  %323 = load double, ptr %13, align 8, !tbaa !18
  %324 = load double, ptr %12, align 8, !tbaa !18
  %325 = fcmp olt double %323, %324
  br i1 %325, label %326, label %328

326:                                              ; preds = %319
  %327 = load double, ptr %12, align 8, !tbaa !18
  store double %327, ptr %13, align 8, !tbaa !18
  br label %328

328:                                              ; preds = %326, %319
  br label %287, !llvm.loop !36

329:                                              ; preds = %287
  %330 = load ptr, ptr %2, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.qhT, ptr %330, i32 0, i32 110
  %332 = load i32, ptr %331, align 8, !tbaa !26
  %333 = sub nsw i32 %332, 1
  store i32 %333, ptr %3, align 4, !tbaa !16
  br label %334

334:                                              ; preds = %338, %329
  %335 = load i32, ptr %3, align 4, !tbaa !16
  %336 = add nsw i32 %335, -1
  store i32 %336, ptr %3, align 4, !tbaa !16
  %337 = icmp ne i32 %335, 0
  br i1 %337, label %338, label %347

338:                                              ; preds = %334
  %339 = load ptr, ptr %2, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.qhT, ptr %339, i32 0, i32 112
  %341 = load i32, ptr %340, align 8, !tbaa !17
  %342 = sitofp i32 %341 to double
  %343 = load ptr, ptr %10, align 8, !tbaa !5
  %344 = getelementptr inbounds double, ptr %343, i32 1
  store ptr %344, ptr %10, align 8, !tbaa !5
  %345 = load double, ptr %343, align 8, !tbaa !18
  %346 = fdiv double %345, %342
  store double %346, ptr %343, align 8, !tbaa !18
  br label %334, !llvm.loop !37

347:                                              ; preds = %334
  %348 = load double, ptr %13, align 8, !tbaa !18
  %349 = fmul double %348, 1.100000e+00
  %350 = load ptr, ptr %10, align 8, !tbaa !5
  %351 = getelementptr inbounds double, ptr %350, i32 1
  store ptr %351, ptr %10, align 8, !tbaa !5
  store double %349, ptr %350, align 8, !tbaa !18
  %352 = load ptr, ptr %2, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.qhT, ptr %352, i32 0, i32 112
  %354 = load i32, ptr %353, align 8, !tbaa !17
  %355 = add nsw i32 %354, 1
  store i32 %355, ptr %353, align 8, !tbaa !17
  %356 = load ptr, ptr %2, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.qhT, ptr %356, i32 0, i32 29
  %358 = load i32, ptr %357, align 8, !tbaa !30
  %359 = icmp ne i32 %358, 0
  br i1 %359, label %360, label %365

360:                                              ; preds = %347
  %361 = load ptr, ptr %2, align 8, !tbaa !5
  %362 = load ptr, ptr %2, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.qhT, ptr %362, i32 0, i32 158
  %364 = load ptr, ptr %363, align 8, !tbaa !27
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %361, ptr noundef %364, i32 noundef 9, ptr noundef @.str.63)
  br label %365

365:                                              ; preds = %360, %347
  br label %383

366:                                              ; preds = %249, %237
  %367 = load ptr, ptr %2, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.qhT, ptr %367, i32 0, i32 17
  %369 = load i32, ptr %368, align 8, !tbaa !24
  %370 = icmp ne i32 %369, 0
  br i1 %370, label %371, label %382

371:                                              ; preds = %366
  %372 = load ptr, ptr %2, align 8, !tbaa !5
  %373 = load ptr, ptr %2, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.qhT, ptr %373, i32 0, i32 110
  %375 = load i32, ptr %374, align 8, !tbaa !26
  %376 = load ptr, ptr %2, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.qhT, ptr %376, i32 0, i32 112
  %378 = load i32, ptr %377, align 8, !tbaa !17
  %379 = load ptr, ptr %2, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct.qhT, ptr %379, i32 0, i32 113
  %381 = load ptr, ptr %380, align 8, !tbaa !29
  call void @qh_setdelaunay(ptr noundef %372, i32 noundef %375, i32 noundef %378, ptr noundef %381)
  br label %382

382:                                              ; preds = %371, %366
  br label %383

383:                                              ; preds = %382, %365
  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 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  ret void
}

declare ptr @qh_memalloc(ptr noundef, i32 noundef) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

declare void @qh_free(ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 636}
!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 = !{!11, !11, i64 0}
!17 = !{!10, !11, i64 640}
!18 = !{!12, !12, i64 0}
!19 = !{!10, !6, i64 1752}
!20 = !{!10, !6, i64 1744}
!21 = !{!7, !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!10, !11, i64 80}
!25 = !{!10, !11, i64 36}
!26 = !{!10, !11, i64 632}
!27 = !{!10, !6, i64 2424}
!28 = !{!10, !6, i64 2888}
!29 = !{!10, !6, i64 648}
!30 = !{!10, !11, i64 136}
!31 = !{!10, !11, i64 128}
!32 = !{!10, !6, i64 616}
!33 = !{!10, !11, i64 656}
!34 = distinct !{!34, !23}
!35 = distinct !{!35, !23}
!36 = distinct !{!36, !23}
!37 = distinct !{!37, !23}


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

@.str.59 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [62 x i8], align 1

declare ptr @qh_malloc(i64 noundef) local_unnamed_addr #0

declare void @qh_fprintf(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #0

declare void @qh_errexit(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

declare void @qh_memfree(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_projectinput(ptr noundef %0) local_unnamed_addr #2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 636
  %3 = load i32, ptr %2, align 4, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 640
  %5 = load i32, ptr %4, align 8, !tbaa !15
  %6 = add nsw i32 %3, 1
  %7 = tail call ptr @qh_memalloc(ptr noundef %0, i32 noundef %6) #4
  %8 = sext i32 %6 to i64
  tail call void @llvm.memset.p0.i64(ptr align 1 %7, i8 0, i64 %8, i1 false)
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %10 = icmp sgt i32 %9, 0
  br i1 %10, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1
  %11 = getelementptr inbounds i8, ptr %0, i64 1752
  %12 = getelementptr inbounds i8, ptr %0, i64 1744
  br label %13

13:                                               ; preds = %.lr.ph, %27
  %14 = phi i32 [ %9, %.lr.ph ], [ %28, %27 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %27 ]
  %.0140159 = phi i32 [ %3, %.lr.ph ], [ %.1141, %27 ]
  %15 = load ptr, ptr %11, align 8, !tbaa !16
  %16 = getelementptr inbounds double, ptr %15, i64 %indvars.iv
  %17 = load double, ptr %16, align 8, !tbaa !17
  %18 = fcmp oeq double %17, 0.000000e+00
  br i1 %18, label %19, label %27

19:                                               ; preds = %13
  %20 = load ptr, ptr %12, align 8, !tbaa !18
  %21 = getelementptr inbounds double, ptr %20, i64 %indvars.iv
  %22 = load double, ptr %21, align 8, !tbaa !17
  %23 = fcmp oeq double %22, 0.000000e+00
  br i1 %23, label %24, label %27

24:                                               ; preds = %19
  %25 = getelementptr inbounds i8, ptr %7, i64 %indvars.iv
  store i8 -1, ptr %25, align 1, !tbaa !19
  %26 = add nsw i32 %.0140159, -1
  %.pre = load i32, ptr %2, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %13, %19, %24
  %28 = phi i32 [ %.pre, %24 ], [ %14, %19 ], [ %14, %13 ]
  %.1141 = phi i32 [ %26, %24 ], [ %.0140159, %19 ], [ %.0140159, %13 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %29 = sext i32 %28 to i64
  %30 = icmp slt i64 %indvars.iv.next, %29
  br i1 %30, label %13, label %._crit_edge, !llvm.loop !20

._crit_edge:                                      ; preds = %27, %1
  %.0140.lcssa = phi i32 [ %3, %1 ], [ %.1141, %27 ]
  %.0134.lcssa = phi i64 [ 0, %1 ], [ %indvars.iv.next, %27 ]
  %31 = getelementptr inbounds i8, ptr %0, i64 80
  %32 = load i32, ptr %31, align 8, !tbaa !22
  %.not = icmp eq i32 %32, 0
  br i1 %.not, label %40, label %33

33:                                               ; preds = %._crit_edge
  %34 = and i64 %.0134.lcssa, 4294967295
  %35 = getelementptr inbounds i8, ptr %7, i64 %34
  store i8 1, ptr %35, align 1, !tbaa !19
  %36 = add nsw i32 %.0140.lcssa, 1
  %37 = getelementptr inbounds i8, ptr %0, i64 36
  %38 = load i32, ptr %37, align 4, !tbaa !23
  %.not144 = icmp ne i32 %38, 0
  %39 = zext i1 %.not144 to i32
  %spec.select = add nsw i32 %5, %39
  br label %40

40:                                               ; preds = %33, %._crit_edge
  %.0143 = phi i32 [ %5, %._crit_edge ], [ %spec.select, %33 ]
  %.2142 = phi i32 [ %.0140.lcssa, %._crit_edge ], [ %36, %33 ]
  %41 = getelementptr inbounds i8, ptr %0, i64 632
  %42 = load i32, ptr %41, align 8, !tbaa !24
  %.not145 = icmp eq i32 %.2142, %42
  br i1 %.not145, label %47, label %43

43:                                               ; preds = %40
  tail call void @qh_memfree(ptr noundef nonnull %0, ptr noundef %7, i32 noundef %6) #4
  %44 = getelementptr inbounds i8, ptr %0, i64 2424
  %45 = load ptr, ptr %44, align 8, !tbaa !25
  %46 = load i32, ptr %41, align 8, !tbaa !24
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %45, i32 noundef 6015, ptr noundef nonnull @.str.59, i32 noundef %.2142, i32 noundef %46) #4
  tail call void @qh_errexit(ptr noundef nonnull %0, i32 noundef 5, ptr noundef null, ptr noundef null) #4
  br label %47

47:                                               ; preds = %43, %40
  %48 = mul nsw i32 %.2142, %.0143
  %49 = sext i32 %48 to i64
  %50 = shl nsw i64 %49, 3
  %51 = tail call ptr @qh_malloc(i64 noundef %50) #4
  %52 = getelementptr inbounds i8, ptr %0, i64 2888
  store ptr %51, ptr %52, align 8, !tbaa !26
  %.not146 = icmp eq ptr %51, null
  br i1 %.not146, label %53, label %57

53:                                               ; preds = %47
  tail call void @qh_memfree(ptr noundef nonnull %0, ptr noundef %7, i32 noundef %6) #4
  %54 = getelementptr inbounds i8, ptr %0, i64 2424
  %55 = load ptr, ptr %54, align 8, !tbaa !25
  %56 = load i32, ptr %4, align 8, !tbaa !15
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %55, i32 noundef 6016, ptr noundef nonnull @.str.60, i32 noundef %56) #4
  tail call void @qh_errexit(ptr noundef nonnull %0, i32 noundef 4, ptr noundef null, ptr noundef null) #4
  br label %57

57:                                               ; preds = %53, %47
  %58 = load i32, ptr %2, align 4, !tbaa !5
  %59 = add nsw i32 %58, 1
  %60 = getelementptr inbounds i8, ptr %0, i64 648
  %61 = load ptr, ptr %60, align 8, !tbaa !27
  %62 = load i32, ptr %4, align 8, !tbaa !15
  tail call void @qh_projectpoints(ptr noundef nonnull %0, ptr noundef %7, i32 noundef %59, ptr noundef %61, i32 noundef %62, i32 noundef %58, ptr noundef %51, i32 noundef %.2142)
  %63 = getelementptr inbounds i8, ptr %0, i64 136
  %64 = load i32, ptr %63, align 8, !tbaa !28
  %65 = icmp sgt i32 %64, 0
  br i1 %65, label %66, label %69

66:                                               ; preds = %57
  %67 = getelementptr inbounds i8, ptr %0, i64 2424
  %68 = load ptr, ptr %67, align 8, !tbaa !25
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %68, i32 noundef 1003, ptr noundef nonnull @.str.61) #4
  br label %69

69:                                               ; preds = %66, %57
  %70 = load i32, ptr %2, align 4, !tbaa !5
  %71 = add nsw i32 %70, 1
  %72 = getelementptr inbounds i8, ptr %0, i64 1752
  %73 = load ptr, ptr %72, align 8, !tbaa !16
  %74 = add nsw i32 %.2142, 1
  tail call void @qh_projectpoints(ptr noundef nonnull %0, ptr noundef %7, i32 noundef %71, ptr noundef %73, i32 noundef 1, i32 noundef %71, ptr noundef %73, i32 noundef %74)
  %75 = load i32, ptr %2, align 4, !tbaa !5
  %76 = add nsw i32 %75, 1
  %77 = getelementptr inbounds i8, ptr %0, i64 1744
  %78 = load ptr, ptr %77, align 8, !tbaa !18
  tail call void @qh_projectpoints(ptr noundef nonnull %0, ptr noundef %7, i32 noundef %76, ptr noundef %78, i32 noundef 1, i32 noundef %76, ptr noundef %78, i32 noundef %74)
  %79 = getelementptr inbounds i8, ptr %0, i64 128
  %80 = load i32, ptr %79, align 8, !tbaa !29
  %.not147 = icmp eq i32 %80, 0
  br i1 %.not147, label %90, label %81

81:                                               ; preds = %69
  %82 = getelementptr inbounds i8, ptr %0, i64 616
  %83 = load ptr, ptr %82, align 8, !tbaa !30
  %.not148 = icmp eq ptr %83, null
  br i1 %.not148, label %84, label %87

84:                                               ; preds = %81
  tail call void @qh_memfree(ptr noundef nonnull %0, ptr noundef %7, i32 noundef %6) #4
  %85 = getelementptr inbounds i8, ptr %0, i64 2424
  %86 = load ptr, ptr %85, align 8, !tbaa !25
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %86, i32 noundef 6017, ptr noundef nonnull @.str.62) #4
  tail call void @qh_errexit(ptr noundef nonnull %0, i32 noundef 5, ptr noundef null, ptr noundef null) #4
  %.pre200 = load ptr, ptr %82, align 8, !tbaa !30
  br label %87

87:                                               ; preds = %84, %81
  %88 = phi ptr [ %.pre200, %84 ], [ %83, %81 ]
  %89 = load i32, ptr %2, align 4, !tbaa !5
  tail call void @qh_projectpoints(ptr noundef nonnull %0, ptr noundef %7, i32 noundef %89, ptr noundef %88, i32 noundef 1, i32 noundef %89, ptr noundef %88, i32 noundef %.2142)
  br label %90

90:                                               ; preds = %87, %69
  tail call void @qh_memfree(ptr noundef nonnull %0, ptr noundef %7, i32 noundef %6) #4
  %91 = getelementptr inbounds i8, ptr %0, i64 656
  %92 = load i32, ptr %91, align 8, !tbaa !31
  %.not149 = icmp eq i32 %92, 0
  br i1 %.not149, label %95, label %93

93:                                               ; preds = %90
  %94 = load ptr, ptr %60, align 8, !tbaa !27
  tail call void @qh_free(ptr noundef %94) #4
  br label %95

95:                                               ; preds = %93, %90
  store ptr %51, ptr %60, align 8, !tbaa !27
  store i32 1, ptr %91, align 8, !tbaa !31
  store ptr null, ptr %52, align 8, !tbaa !26
  %96 = load i32, ptr %31, align 8, !tbaa !22
  %.not150 = icmp eq i32 %96, 0
  br i1 %.not150, label %.thread, label %97

97:                                               ; preds = %95
  %98 = getelementptr inbounds i8, ptr %0, i64 36
  %99 = load i32, ptr %98, align 4, !tbaa !23
  %.not151 = icmp eq i32 %99, 0
  %100 = load i32, ptr %41, align 8, !tbaa !24
  %101 = load i32, ptr %4, align 8, !tbaa !15
  br i1 %.not151, label %164, label %102

102:                                              ; preds = %97
  %103 = mul i32 %101, %100
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds double, ptr %51, i64 %104
  %106 = add nsw i32 %100, -1
  %.not153162 = icmp eq i32 %106, 0
  br i1 %.not153162, label %.preheader158.thread, label %.preheader158

.preheader158:                                    ; preds = %102
  %107 = add i32 %100, -2
  %108 = sext i32 %107 to i64
  %109 = add nsw i64 %104, %108
  %110 = zext i32 %107 to i64
  %111 = sub nsw i64 %109, %110
  %112 = shl nsw i64 %111, 3
  %scevgep = getelementptr i8, ptr %51, i64 %112
  %113 = zext i32 %106 to i64
  %114 = shl nuw nsw i64 %113, 3
  tail call void @llvm.memset.p0.i64(ptr align 8 %scevgep, i8 0, i64 %114, i1 false), !tbaa !17
  %.not154173 = icmp eq i32 %101, 0
  br i1 %.not154173, label %.lr.ph183, label %.preheader157.lr.ph

.preheader158.thread:                             ; preds = %102
  %.not154173201 = icmp eq i32 %101, 0
  br i1 %.not154173201, label %._crit_edge184, label %.preheader157.lr.ph.thread

.preheader157.lr.ph.thread:                       ; preds = %.preheader158.thread
  %115 = add i32 %101, -1
  br label %.preheader157.preheader

.preheader157.lr.ph:                              ; preds = %.preheader158
  %116 = add i32 %101, -1
  %117 = icmp sgt i32 %100, 1
  br i1 %117, label %.preheader157.us.preheader, label %.preheader157.preheader

.preheader157.preheader:                          ; preds = %.preheader157.lr.ph.thread, %.preheader157.lr.ph
  %118 = phi i32 [ %115, %.preheader157.lr.ph.thread ], [ %116, %.preheader157.lr.ph ]
  %119 = zext i32 %101 to i64
  %120 = shl nuw nsw i64 %119, 3
  tail call void @llvm.memset.p0.i64(ptr align 8 %51, i8 0, i64 %120, i1 false), !tbaa !17
  %121 = zext i32 %118 to i64
  %122 = shl nuw nsw i64 %121, 3
  %123 = getelementptr i8, ptr %51, i64 %122
  %scevgep196 = getelementptr i8, ptr %123, i64 8
  br label %.preheader

.preheader157.us.preheader:                       ; preds = %.preheader157.lr.ph
  %wide.trip.count = zext i32 %106 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %124 = icmp eq i32 %106, 1
  %unroll_iter = and i64 %wide.trip.count, 4294967294
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader157.us

.preheader157.us:                                 ; preds = %.preheader157.us.preheader, %._crit_edge170.us
  %125 = phi i32 [ %147, %._crit_edge170.us ], [ %116, %.preheader157.us.preheader ]
  %.0175.us = phi double [ %.1.us, %._crit_edge170.us ], [ 0.000000e+00, %.preheader157.us.preheader ]
  %.0136174.us = phi ptr [ %145, %._crit_edge170.us ], [ %51, %.preheader157.us.preheader ]
  br i1 %124, label %._crit_edge170.us.unr-lcssa, label %.preheader157.us.new

.preheader157.us.new:                             ; preds = %.preheader157.us, %.preheader157.us.new
  %indvars.iv197 = phi i64 [ %indvars.iv.next198.1, %.preheader157.us.new ], [ 0, %.preheader157.us ]
  %.0133168.us = phi double [ %133, %.preheader157.us.new ], [ 0.000000e+00, %.preheader157.us ]
  %.1137166.us = phi ptr [ %137, %.preheader157.us.new ], [ %.0136174.us, %.preheader157.us ]
  %niter = phi i64 [ %niter.next.1, %.preheader157.us.new ], [ 0, %.preheader157.us ]
  %126 = load double, ptr %.1137166.us, align 8, !tbaa !17
  %127 = tail call double @llvm.fmuladd.f64(double %126, double %126, double %.0133168.us)
  %128 = getelementptr inbounds double, ptr %105, i64 %indvars.iv197
  %129 = load double, ptr %128, align 8, !tbaa !17
  %130 = fadd double %126, %129
  store double %130, ptr %128, align 8, !tbaa !17
  %131 = getelementptr inbounds i8, ptr %.1137166.us, i64 8
  %indvars.iv.next198 = or disjoint i64 %indvars.iv197, 1
  %132 = load double, ptr %131, align 8, !tbaa !17
  %133 = tail call double @llvm.fmuladd.f64(double %132, double %132, double %127)
  %134 = getelementptr inbounds double, ptr %105, i64 %indvars.iv.next198
  %135 = load double, ptr %134, align 8, !tbaa !17
  %136 = fadd double %132, %135
  store double %136, ptr %134, align 8, !tbaa !17
  %137 = getelementptr inbounds i8, ptr %.1137166.us, i64 16
  %indvars.iv.next198.1 = add nuw nsw i64 %indvars.iv197, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge170.us.unr-lcssa.loopexit, label %.preheader157.us.new, !llvm.loop !32

._crit_edge170.us.unr-lcssa.loopexit:             ; preds = %.preheader157.us.new
  %138 = getelementptr inbounds i8, ptr %.1137166.us, i64 8
  br label %._crit_edge170.us.unr-lcssa

._crit_edge170.us.unr-lcssa:                      ; preds = %._crit_edge170.us.unr-lcssa.loopexit, %.preheader157.us
  %.1137166.us.lcssa.ph = phi ptr [ poison, %.preheader157.us ], [ %138, %._crit_edge170.us.unr-lcssa.loopexit ]
  %.lcssa219.ph = phi double [ poison, %.preheader157.us ], [ %133, %._crit_edge170.us.unr-lcssa.loopexit ]
  %.lcssa218.ph = phi ptr [ poison, %.preheader157.us ], [ %137, %._crit_edge170.us.unr-lcssa.loopexit ]
  %indvars.iv197.unr = phi i64 [ 0, %.preheader157.us ], [ %indvars.iv.next198.1, %._crit_edge170.us.unr-lcssa.loopexit ]
  %.0133168.us.unr = phi double [ 0.000000e+00, %.preheader157.us ], [ %133, %._crit_edge170.us.unr-lcssa.loopexit ]
  %.1137166.us.unr = phi ptr [ %.0136174.us, %.preheader157.us ], [ %137, %._crit_edge170.us.unr-lcssa.loopexit ]
  br i1 %lcmp.mod.not, label %._crit_edge170.us, label %._crit_edge170.us.epilog-lcssa

._crit_edge170.us.epilog-lcssa:                   ; preds = %._crit_edge170.us.unr-lcssa
  %139 = load double, ptr %.1137166.us.unr, align 8, !tbaa !17
  %140 = tail call double @llvm.fmuladd.f64(double %139, double %139, double %.0133168.us.unr)
  %141 = getelementptr inbounds double, ptr %105, i64 %indvars.iv197.unr
  %142 = load double, ptr %141, align 8, !tbaa !17
  %143 = fadd double %139, %142
  store double %143, ptr %141, align 8, !tbaa !17
  %144 = getelementptr inbounds i8, ptr %.1137166.us.unr, i64 8
  br label %._crit_edge170.us

._crit_edge170.us:                                ; preds = %._crit_edge170.us.unr-lcssa, %._crit_edge170.us.epilog-lcssa
  %.1137166.us.lcssa = phi ptr [ %.1137166.us.lcssa.ph, %._crit_edge170.us.unr-lcssa ], [ %.1137166.us.unr, %._crit_edge170.us.epilog-lcssa ]
  %.lcssa219 = phi double [ %.lcssa219.ph, %._crit_edge170.us.unr-lcssa ], [ %140, %._crit_edge170.us.epilog-lcssa ]
  %.lcssa218 = phi ptr [ %.lcssa218.ph, %._crit_edge170.us.unr-lcssa ], [ %144, %._crit_edge170.us.epilog-lcssa ]
  %145 = getelementptr inbounds i8, ptr %.1137166.us.lcssa, i64 16
  store double %.lcssa219, ptr %.lcssa218, align 8, !tbaa !17
  %146 = fcmp olt double %.0175.us, %.lcssa219
  %.1.us = select i1 %146, double %.lcssa219, double %.0175.us
  %147 = add nsw i32 %125, -1
  %.not154.us = icmp eq i32 %125, 0
  br i1 %.not154.us, label %.preheader.loopexit, label %.preheader157.us, !llvm.loop !33

.preheader.loopexit:                              ; preds = %._crit_edge170.us
  %148 = fmul double %.1.us, 1.100000e+00
  br label %.preheader

.preheader:                                       ; preds = %.preheader157.preheader, %.preheader.loopexit
  %.0136.lcssa = phi ptr [ %145, %.preheader.loopexit ], [ %scevgep196, %.preheader157.preheader ]
  %.0.lcssa = phi double [ %148, %.preheader.loopexit ], [ 0.000000e+00, %.preheader157.preheader ]
  br i1 %.not153162, label %._crit_edge184, label %.lr.ph183

.lr.ph183:                                        ; preds = %.preheader158, %.preheader
  %.0.lcssa209 = phi double [ %.0.lcssa, %.preheader ], [ 0.000000e+00, %.preheader158 ]
  %.0136.lcssa208 = phi ptr [ %.0136.lcssa, %.preheader ], [ %51, %.preheader158 ]
  %149 = sitofp i32 %101 to double
  %150 = add i32 %100, -2
  %151 = zext i32 %150 to i64
  %152 = add nuw nsw i64 %151, 1
  %min.iters.check = icmp eq i32 %150, 0
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph183
  %n.vec = and i64 %152, 8589934590
  %.cast = trunc i64 %n.vec to i32
  %ind.end = sub i32 %106, %.cast
  %153 = shl nuw nsw i64 %n.vec, 3
  %ind.end216 = getelementptr i8, ptr %.0136.lcssa208, i64 %153
  %broadcast.splatinsert = insertelement <2 x double> poison, double %149, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = shl i64 %index, 3
  %next.gep = getelementptr i8, ptr %.0136.lcssa208, i64 %offset.idx
  %wide.load = load <2 x double>, ptr %next.gep, align 8, !tbaa !17
  %154 = fdiv <2 x double> %wide.load, %broadcast.splat
  store <2 x double> %154, ptr %next.gep, align 8, !tbaa !17
  %index.next = add nuw i64 %index, 2
  %155 = icmp eq i64 %index.next, %n.vec
  br i1 %155, label %middle.block, label %vector.body, !llvm.loop !34

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %152, %n.vec
  br i1 %cmp.n, label %._crit_edge184, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph183
  %.3182.ph = phi i32 [ %106, %.lr.ph183 ], [ %ind.end, %middle.block ]
  %.2138181.ph = phi ptr [ %.0136.lcssa208, %.lr.ph183 ], [ %ind.end216, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %.3182 = phi i32 [ %.3, %scalar.ph ], [ %.3182.ph, %scalar.ph.preheader ]
  %.2138181 = phi ptr [ %156, %scalar.ph ], [ %.2138181.ph, %scalar.ph.preheader ]
  %156 = getelementptr inbounds i8, ptr %.2138181, i64 8
  %157 = load double, ptr %.2138181, align 8, !tbaa !17
  %158 = fdiv double %157, %149
  store double %158, ptr %.2138181, align 8, !tbaa !17
  %.3 = add nsw i32 %.3182, -1
  %.not155 = icmp eq i32 %.3, 0
  br i1 %.not155, label %._crit_edge184, label %scalar.ph, !llvm.loop !37

._crit_edge184:                                   ; preds = %scalar.ph, %middle.block, %.preheader158.thread, %.preheader
  %.0.lcssa204 = phi double [ %.0.lcssa, %.preheader ], [ 0.000000e+00, %.preheader158.thread ], [ %.0.lcssa209, %middle.block ], [ %.0.lcssa209, %scalar.ph ]
  %.2138.lcssa = phi ptr [ %.0136.lcssa, %.preheader ], [ %51, %.preheader158.thread ], [ %ind.end216, %middle.block ], [ %156, %scalar.ph ]
  store double %.0.lcssa204, ptr %.2138.lcssa, align 8, !tbaa !17
  %159 = add nsw i32 %101, 1
  store i32 %159, ptr %4, align 8, !tbaa !15
  %160 = load i32, ptr %63, align 8, !tbaa !28
  %.not156 = icmp eq i32 %160, 0
  br i1 %.not156, label %.thread, label %161

161:                                              ; preds = %._crit_edge184
  %162 = getelementptr inbounds i8, ptr %0, i64 2424
  %163 = load ptr, ptr %162, align 8, !tbaa !25
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %163, i32 noundef 9, ptr noundef nonnull @.str.63) #4
  br label %.thread

164:                                              ; preds = %97
  tail call void @qh_setdelaunay(ptr noundef nonnull %0, i32 noundef %100, i32 noundef %101, ptr noundef %51)
  br label %.thread

.thread:                                          ; preds = %95, %164, %._crit_edge184, %161
  ret void
}

declare ptr @qh_memalloc(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

declare void @qh_free(ptr noundef) local_unnamed_addr #0

attributes #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 speculatable willreturn memory(none) }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nounwind }

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

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


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