; 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.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [115 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 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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_detroundoff(ptr noundef %0) #3 {
  %2 = alloca ptr, align 8
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %6 = load ptr, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %2, align 8, !tbaa !5
  %8 = getelementptr inbounds %struct.qhT, ptr %7, i32 0, i32 139
  call void @qh_option(ptr noundef %6, ptr noundef @.str.4, ptr noundef null, ptr noundef %8)
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.qhT, ptr %9, i32 0, i32 83
  %11 = load i32, ptr %10, align 4, !tbaa !9
  %12 = icmp ne i32 %11, 0
  br i1 %12, label %30, label %13

13:                                               ; preds = %1
  %14 = load ptr, ptr %2, align 8, !tbaa !5
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.qhT, ptr %15, i32 0, i32 110
  %17 = load i32, ptr %16, align 8, !tbaa !16
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.qhT, ptr %18, i32 0, i32 135
  %20 = load double, ptr %19, align 8, !tbaa !17
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.qhT, ptr %21, i32 0, i32 138
  %23 = load double, ptr %22, align 8, !tbaa !18
  %24 = call double @qh_distround(ptr noundef %14, i32 noundef %17, double noundef %20, double noundef %23)
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.qhT, ptr %25, i32 0, i32 134
  store double %24, ptr %26, align 8, !tbaa !19
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  %28 = load ptr, ptr %2, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.qhT, ptr %28, i32 0, i32 134
  call void @qh_option(ptr noundef %27, ptr noundef @.str.5, ptr noundef null, ptr noundef %29)
  br label %30

30:                                               ; preds = %13, %1
  %31 = load ptr, ptr %2, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.qhT, ptr %31, i32 0, i32 140
  %33 = load double, ptr %32, align 8, !tbaa !20
  %34 = load ptr, ptr %2, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.qhT, ptr %34, i32 0, i32 135
  %36 = load double, ptr %35, align 8, !tbaa !17
  %37 = fmul double %33, %36
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.qhT, ptr %38, i32 0, i32 141
  store double %37, ptr %39, align 8, !tbaa !21
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.qhT, ptr %40, i32 0, i32 140
  %42 = load double, ptr %41, align 8, !tbaa !20
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.qhT, ptr %43, i32 0, i32 110
  %45 = load i32, ptr %44, align 8, !tbaa !16
  %46 = sitofp i32 %45 to double
  %47 = fmul double %42, %46
  %48 = call double @sqrt(double noundef %47) #5
  %49 = load ptr, ptr %2, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.qhT, ptr %49, i32 0, i32 142
  store double %48, ptr %50, align 8, !tbaa !22
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.qhT, ptr %51, i32 0, i32 142
  %53 = load double, ptr %52, align 8, !tbaa !22
  %54 = load ptr, ptr %2, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.qhT, ptr %54, i32 0, i32 135
  %56 = load double, ptr %55, align 8, !tbaa !17
  %57 = fmul double %53, %56
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.qhT, ptr %58, i32 0, i32 143
  store double %57, ptr %59, align 8, !tbaa !23
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.qhT, ptr %60, i32 0, i32 110
  %62 = load i32, ptr %61, align 8, !tbaa !16
  %63 = sitofp i32 %62 to double
  %64 = fmul double 1.010000e+00, %63
  %65 = fmul double %64, 0x3CB0000000000000
  %66 = load ptr, ptr %2, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.qhT, ptr %66, i32 0, i32 131
  store double %65, ptr %67, align 8, !tbaa !24
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.qhT, ptr %68, i32 0, i32 72
  %70 = load i32, ptr %69, align 4, !tbaa !25
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %93

72:                                               ; preds = %30
  %73 = load ptr, ptr %2, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.qhT, ptr %73, i32 0, i32 73
  %75 = load double, ptr %74, align 8, !tbaa !26
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.qhT, ptr %76, i32 0, i32 131
  %78 = load double, ptr %77, align 8, !tbaa !24
  %79 = fadd double %78, %75
  store double %79, ptr %77, align 8, !tbaa !24
  %80 = load ptr, ptr %2, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.qhT, ptr %80, i32 0, i32 29
  %82 = load i32, ptr %81, align 8, !tbaa !27
  %83 = icmp sge i32 %82, 4
  br i1 %83, label %84, label %92

84:                                               ; preds = %72
  %85 = load ptr, ptr %2, align 8, !tbaa !5
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.qhT, ptr %86, i32 0, i32 158
  %88 = load ptr, ptr %87, align 8, !tbaa !28
  %89 = load ptr, ptr %2, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.qhT, ptr %89, i32 0, i32 73
  %91 = load double, ptr %90, align 8, !tbaa !26
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %85, ptr noundef %88, i32 noundef 4096, ptr noundef @.str.6, double noundef %91)
  br label %92

92:                                               ; preds = %84, %72
  br label %93

93:                                               ; preds = %92, %30
  %94 = load ptr, ptr %2, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.qhT, ptr %94, i32 0, i32 15
  %96 = load double, ptr %95, align 8, !tbaa !29
  %97 = fcmp olt double %96, 0x7FDFFFFFFFFFFFFF
  br i1 %97, label %98, label %115

98:                                               ; preds = %93
  %99 = load ptr, ptr %2, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.qhT, ptr %99, i32 0, i32 131
  %101 = load double, ptr %100, align 8, !tbaa !24
  %102 = load ptr, ptr %2, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.qhT, ptr %102, i32 0, i32 15
  %104 = load double, ptr %103, align 8, !tbaa !29
  %105 = fsub double %104, %101
  store double %105, ptr %103, align 8, !tbaa !29
  %106 = load ptr, ptr %2, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.qhT, ptr %106, i32 0, i32 72
  %108 = load i32, ptr %107, align 4, !tbaa !25
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %114

110:                                              ; preds = %98
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = load ptr, ptr %2, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.qhT, ptr %112, i32 0, i32 15
  call void @qh_option(ptr noundef %111, ptr noundef @.str.7, ptr noundef null, ptr noundef %113)
  br label %114

114:                                              ; preds = %110, %98
  br label %115

115:                                              ; preds = %114, %93
  %116 = load ptr, ptr %2, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.qhT, ptr %116, i32 0, i32 16
  %118 = load double, ptr %117, align 8, !tbaa !30
  %119 = fcmp olt double %118, 0x7FDFFFFFFFFFFFFF
  br i1 %119, label %120, label %137

120:                                              ; preds = %115
  %121 = load ptr, ptr %2, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.qhT, ptr %121, i32 0, i32 131
  %123 = load double, ptr %122, align 8, !tbaa !24
  %124 = load ptr, ptr %2, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.qhT, ptr %124, i32 0, i32 16
  %126 = load double, ptr %125, align 8, !tbaa !30
  %127 = fsub double %126, %123
  store double %127, ptr %125, align 8, !tbaa !30
  %128 = load ptr, ptr %2, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.qhT, ptr %128, i32 0, i32 72
  %130 = load i32, ptr %129, align 4, !tbaa !25
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %136

132:                                              ; preds = %120
  %133 = load ptr, ptr %2, align 8, !tbaa !5
  %134 = load ptr, ptr %2, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.qhT, ptr %134, i32 0, i32 16
  call void @qh_option(ptr noundef %133, ptr noundef @.str.8, ptr noundef null, ptr noundef %135)
  br label %136

136:                                              ; preds = %132, %120
  br label %137

137:                                              ; preds = %136, %115
  %138 = load ptr, ptr %2, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.qhT, ptr %138, i32 0, i32 134
  %140 = load double, ptr %139, align 8, !tbaa !19
  %141 = load ptr, ptr %2, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.qhT, ptr %141, i32 0, i32 40
  %143 = load double, ptr %142, align 8, !tbaa !31
  %144 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %140, double %143)
  store double %144, ptr %142, align 8, !tbaa !31
  %145 = load ptr, ptr %2, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.qhT, ptr %145, i32 0, i32 134
  %147 = load double, ptr %146, align 8, !tbaa !19
  %148 = load ptr, ptr %2, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.qhT, ptr %148, i32 0, i32 41
  %150 = load double, ptr %149, align 8, !tbaa !32
  %151 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %147, double %150)
  store double %151, ptr %149, align 8, !tbaa !32
  %152 = load ptr, ptr %2, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.qhT, ptr %152, i32 0, i32 72
  %154 = load i32, ptr %153, align 4, !tbaa !25
  %155 = icmp ne i32 %154, 0
  br i1 %155, label %156, label %170

156:                                              ; preds = %137
  %157 = load ptr, ptr %2, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.qhT, ptr %157, i32 0, i32 37
  %159 = load i32, ptr %158, align 4, !tbaa !33
  %160 = icmp ne i32 %159, 0
  br i1 %160, label %166, label %161

161:                                              ; preds = %156
  %162 = load ptr, ptr %2, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.qhT, ptr %162, i32 0, i32 52
  %164 = load i32, ptr %163, align 4, !tbaa !34
  %165 = icmp ne i32 %164, 0
  br i1 %165, label %166, label %170

166:                                              ; preds = %161, %156
  %167 = load ptr, ptr %2, align 8, !tbaa !5
  %168 = load ptr, ptr %2, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.qhT, ptr %168, i32 0, i32 40
  call void @qh_option(ptr noundef %167, ptr noundef @.str.9, ptr noundef null, ptr noundef %169)
  br label %170

170:                                              ; preds = %166, %161, %137
  %171 = load ptr, ptr %2, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.qhT, ptr %171, i32 0, i32 72
  %173 = load i32, ptr %172, align 4, !tbaa !25
  %174 = icmp ne i32 %173, 0
  br i1 %174, label %175, label %184

175:                                              ; preds = %170
  %176 = load ptr, ptr %2, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.qhT, ptr %176, i32 0, i32 51
  %178 = load i32, ptr %177, align 8, !tbaa !35
  %179 = icmp ne i32 %178, 0
  br i1 %179, label %180, label %184

180:                                              ; preds = %175
  %181 = load ptr, ptr %2, align 8, !tbaa !5
  %182 = load ptr, ptr %2, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.qhT, ptr %182, i32 0, i32 41
  call void @qh_option(ptr noundef %181, ptr noundef @.str.10, ptr noundef null, ptr noundef %183)
  br label %184

184:                                              ; preds = %180, %175, %170
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  store double 1.000000e+00, ptr %3, align 8, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %185 = load double, ptr %3, align 8, !tbaa !36
  %186 = load ptr, ptr %2, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.qhT, ptr %186, i32 0, i32 15
  %188 = load double, ptr %187, align 8, !tbaa !29
  %189 = fcmp ogt double %185, %188
  br i1 %189, label %190, label %194

190:                                              ; preds = %184
  %191 = load ptr, ptr %2, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.qhT, ptr %191, i32 0, i32 15
  %193 = load double, ptr %192, align 8, !tbaa !29
  store double %193, ptr %3, align 8, !tbaa !36
  br label %194

194:                                              ; preds = %190, %184
  %195 = load double, ptr %3, align 8, !tbaa !36
  %196 = load ptr, ptr %2, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.qhT, ptr %196, i32 0, i32 16
  %198 = load double, ptr %197, align 8, !tbaa !30
  %199 = fcmp ogt double %195, %198
  br i1 %199, label %200, label %204

200:                                              ; preds = %194
  %201 = load ptr, ptr %2, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.qhT, ptr %201, i32 0, i32 16
  %203 = load double, ptr %202, align 8, !tbaa !30
  store double %203, ptr %3, align 8, !tbaa !36
  br label %204

204:                                              ; preds = %200, %194
  %205 = load ptr, ptr %2, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.qhT, ptr %205, i32 0, i32 110
  %207 = load i32, ptr %206, align 8, !tbaa !16
  %208 = sitofp i32 %207 to double
  %209 = call double @sqrt(double noundef %208) #5
  %210 = load ptr, ptr %2, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.qhT, ptr %210, i32 0, i32 139
  %212 = load double, ptr %211, align 8, !tbaa !37
  %213 = fmul double %209, %212
  %214 = load double, ptr %3, align 8, !tbaa !36
  %215 = load double, ptr %3, align 8, !tbaa !36
  %216 = fneg double %214
  %217 = call double @llvm.fmuladd.f64(double %216, double %215, double 1.000000e+00)
  %218 = call double @sqrt(double noundef %217) #5
  %219 = load ptr, ptr %2, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.qhT, ptr %219, i32 0, i32 134
  %221 = load double, ptr %220, align 8, !tbaa !19
  %222 = call double @llvm.fmuladd.f64(double %213, double %218, double %221)
  %223 = load ptr, ptr %2, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.qhT, ptr %223, i32 0, i32 147
  store double %222, ptr %224, align 8, !tbaa !38
  %225 = load ptr, ptr %2, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.qhT, ptr %225, i32 0, i32 110
  %227 = load i32, ptr %226, align 8, !tbaa !16
  %228 = sitofp i32 %227 to double
  %229 = load ptr, ptr %2, align 8, !tbaa !5
  %230 = getelementptr inbounds %struct.qhT, ptr %229, i32 0, i32 40
  %231 = load double, ptr %230, align 8, !tbaa !31
  %232 = load ptr, ptr %2, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.qhT, ptr %232, i32 0, i32 134
  %234 = load double, ptr %233, align 8, !tbaa !19
  %235 = call double @llvm.fmuladd.f64(double %228, double %231, double %234)
  store double %235, ptr %4, align 8, !tbaa !36
  %236 = load ptr, ptr %2, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.qhT, ptr %236, i32 0, i32 147
  %238 = load double, ptr %237, align 8, !tbaa !38
  %239 = load double, ptr %4, align 8, !tbaa !36
  %240 = fcmp olt double %238, %239
  br i1 %240, label %241, label %245

241:                                              ; preds = %204
  %242 = load double, ptr %4, align 8, !tbaa !36
  %243 = load ptr, ptr %2, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.qhT, ptr %243, i32 0, i32 147
  store double %242, ptr %244, align 8, !tbaa !38
  br label %245

245:                                              ; preds = %241, %204
  %246 = load ptr, ptr %2, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.qhT, ptr %246, i32 0, i32 110
  %248 = load i32, ptr %247, align 8, !tbaa !16
  %249 = sitofp i32 %248 to double
  %250 = load ptr, ptr %2, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.qhT, ptr %250, i32 0, i32 41
  %252 = load double, ptr %251, align 8, !tbaa !32
  %253 = load ptr, ptr %2, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.qhT, ptr %253, i32 0, i32 134
  %255 = load double, ptr %254, align 8, !tbaa !19
  %256 = call double @llvm.fmuladd.f64(double %249, double %252, double %255)
  store double %256, ptr %4, align 8, !tbaa !36
  %257 = load ptr, ptr %2, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.qhT, ptr %257, i32 0, i32 147
  %259 = load double, ptr %258, align 8, !tbaa !38
  %260 = load double, ptr %4, align 8, !tbaa !36
  %261 = fcmp olt double %259, %260
  br i1 %261, label %262, label %266

262:                                              ; preds = %245
  %263 = load double, ptr %4, align 8, !tbaa !36
  %264 = load ptr, ptr %2, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.qhT, ptr %264, i32 0, i32 147
  store double %263, ptr %265, align 8, !tbaa !38
  br label %266

266:                                              ; preds = %262, %245
  %267 = load ptr, ptr %2, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.qhT, ptr %267, i32 0, i32 39
  %269 = load i32, ptr %268, align 4, !tbaa !39
  %270 = icmp ne i32 %269, 0
  br i1 %270, label %271, label %275

271:                                              ; preds = %266
  %272 = load ptr, ptr %2, align 8, !tbaa !5
  %273 = load ptr, ptr %2, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.qhT, ptr %273, i32 0, i32 147
  call void @qh_option(ptr noundef %272, ptr noundef @.str.11, ptr noundef null, ptr noundef %274)
  br label %275

275:                                              ; preds = %271, %266
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  %276 = load ptr, ptr %2, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.qhT, ptr %276, i32 0, i32 147
  %278 = load double, ptr %277, align 8, !tbaa !38
  %279 = fmul double %278, 5.000000e+00
  %280 = load ptr, ptr %2, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.qhT, ptr %280, i32 0, i32 146
  store double %279, ptr %281, align 8, !tbaa !40
  %282 = load ptr, ptr %2, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.qhT, ptr %282, i32 0, i32 197
  %284 = load double, ptr %283, align 8, !tbaa !41
  %285 = fcmp olt double %284, 0x7FDFFFFFFFFFFFFF
  br i1 %285, label %286, label %323

286:                                              ; preds = %275
  %287 = load ptr, ptr %2, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.qhT, ptr %287, i32 0, i32 31
  %289 = load i32, ptr %288, align 8, !tbaa !42
  %290 = icmp ne i32 %289, 0
  br i1 %290, label %296, label %291

291:                                              ; preds = %286
  %292 = load ptr, ptr %2, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.qhT, ptr %292, i32 0, i32 32
  %294 = load i32, ptr %293, align 4, !tbaa !43
  %295 = icmp ne i32 %294, 0
  br i1 %295, label %296, label %323

296:                                              ; preds = %291, %286
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %297 = load ptr, ptr %2, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.qhT, ptr %297, i32 0, i32 109
  store i32 1, ptr %298, align 4, !tbaa !44
  %299 = load ptr, ptr %2, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.qhT, ptr %299, i32 0, i32 110
  %301 = load i32, ptr %300, align 8, !tbaa !16
  %302 = sitofp i32 %301 to double
  %303 = call double @sqrt(double noundef %302) #5
  %304 = load ptr, ptr %2, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.qhT, ptr %304, i32 0, i32 197
  %306 = load double, ptr %305, align 8, !tbaa !41
  %307 = load ptr, ptr %2, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.qhT, ptr %307, i32 0, i32 134
  %309 = load double, ptr %308, align 8, !tbaa !19
  %310 = call double @llvm.fmuladd.f64(double %303, double %306, double %309)
  store double %310, ptr %5, align 8, !tbaa !36
  %311 = load double, ptr %5, align 8, !tbaa !36
  %312 = fmul double 2.000000e+00, %311
  store double %312, ptr %5, align 8, !tbaa !36
  %313 = load ptr, ptr %2, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.qhT, ptr %313, i32 0, i32 146
  %315 = load double, ptr %314, align 8, !tbaa !40
  %316 = load double, ptr %5, align 8, !tbaa !36
  %317 = fcmp olt double %315, %316
  br i1 %317, label %318, label %322

318:                                              ; preds = %296
  %319 = load double, ptr %5, align 8, !tbaa !36
  %320 = load ptr, ptr %2, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.qhT, ptr %320, i32 0, i32 146
  store double %319, ptr %321, align 8, !tbaa !40
  br label %322

322:                                              ; preds = %318, %296
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %323

323:                                              ; preds = %322, %291, %275
  %324 = load ptr, ptr %2, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.qhT, ptr %324, i32 0, i32 109
  %326 = load i32, ptr %325, align 4, !tbaa !44
  %327 = icmp ne i32 %326, 0
  br i1 %327, label %328, label %332

328:                                              ; preds = %323
  %329 = load ptr, ptr %2, align 8, !tbaa !5
  %330 = load ptr, ptr %2, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.qhT, ptr %330, i32 0, i32 146
  call void @qh_option(ptr noundef %329, ptr noundef @.str.12, ptr noundef null, ptr noundef %331)
  br label %332

332:                                              ; preds = %328, %323
  %333 = load ptr, ptr %2, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.qhT, ptr %333, i32 0, i32 197
  %335 = load double, ptr %334, align 8, !tbaa !41
  %336 = load ptr, ptr %2, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.qhT, ptr %336, i32 0, i32 134
  %338 = load double, ptr %337, align 8, !tbaa !19
  %339 = fcmp olt double %335, %338
  br i1 %339, label %340, label %352

340:                                              ; preds = %332
  %341 = load ptr, ptr %2, align 8, !tbaa !5
  %342 = load ptr, ptr %2, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.qhT, ptr %342, i32 0, i32 158
  %344 = load ptr, ptr %343, align 8, !tbaa !28
  %345 = load ptr, ptr %2, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.qhT, ptr %345, i32 0, i32 197
  %347 = load double, ptr %346, align 8, !tbaa !41
  %348 = load ptr, ptr %2, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.qhT, ptr %348, i32 0, i32 134
  %350 = load double, ptr %349, align 8, !tbaa !19
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %341, ptr noundef %344, i32 noundef 6006, ptr noundef @.str.13, double noundef %347, double noundef %350)
  %351 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_errexit(ptr noundef %351, i32 noundef 1, ptr noundef null, ptr noundef null)
  br label %352

352:                                              ; preds = %340, %332
  %353 = load ptr, ptr %2, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.qhT, ptr %353, i32 0, i32 44
  %355 = load double, ptr %354, align 8, !tbaa !45
  %356 = fcmp ogt double %355, 0x7FDFFFFFFFFFFFFF
  br i1 %356, label %357, label %410

357:                                              ; preds = %352
  %358 = load ptr, ptr %2, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.qhT, ptr %358, i32 0, i32 39
  %360 = load i32, ptr %359, align 4, !tbaa !39
  %361 = icmp ne i32 %360, 0
  br i1 %361, label %368, label %362

362:                                              ; preds = %357
  %363 = load ptr, ptr %2, align 8, !tbaa !5
  %364 = getelementptr inbounds %struct.qhT, ptr %363, i32 0, i32 134
  %365 = load double, ptr %364, align 8, !tbaa !19
  %366 = load ptr, ptr %2, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.qhT, ptr %366, i32 0, i32 44
  store double %365, ptr %367, align 8, !tbaa !45
  br label %387

368:                                              ; preds = %357
  %369 = load ptr, ptr %2, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.qhT, ptr %369, i32 0, i32 110
  %371 = load i32, ptr %370, align 8, !tbaa !16
  %372 = icmp sle i32 %371, 3
  br i1 %372, label %373, label %379

373:                                              ; preds = %368
  %374 = load ptr, ptr %2, align 8, !tbaa !5
  %375 = getelementptr inbounds %struct.qhT, ptr %374, i32 0, i32 40
  %376 = load double, ptr %375, align 8, !tbaa !31
  %377 = load ptr, ptr %2, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.qhT, ptr %377, i32 0, i32 44
  store double %376, ptr %378, align 8, !tbaa !45
  br label %386

379:                                              ; preds = %368
  %380 = load ptr, ptr %2, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.qhT, ptr %380, i32 0, i32 40
  %382 = load double, ptr %381, align 8, !tbaa !31
  %383 = fmul double 3.000000e+00, %382
  %384 = load ptr, ptr %2, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.qhT, ptr %384, i32 0, i32 44
  store double %383, ptr %385, align 8, !tbaa !45
  br label %386

386:                                              ; preds = %379, %373
  br label %387

387:                                              ; preds = %386, %362
  %388 = load ptr, ptr %2, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.qhT, ptr %388, i32 0, i32 5
  %390 = load i32, ptr %389, align 4, !tbaa !46
  %391 = icmp ne i32 %390, 0
  br i1 %391, label %392, label %406

392:                                              ; preds = %387
  %393 = load ptr, ptr %2, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.qhT, ptr %393, i32 0, i32 44
  %395 = load double, ptr %394, align 8, !tbaa !45
  %396 = load ptr, ptr %2, align 8, !tbaa !5
  %397 = getelementptr inbounds %struct.qhT, ptr %396, i32 0, i32 6
  %398 = load double, ptr %397, align 8, !tbaa !47
  %399 = fcmp ogt double %395, %398
  br i1 %399, label %400, label %406

400:                                              ; preds = %392
  %401 = load ptr, ptr %2, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.qhT, ptr %401, i32 0, i32 6
  %403 = load double, ptr %402, align 8, !tbaa !47
  %404 = load ptr, ptr %2, align 8, !tbaa !5
  %405 = getelementptr inbounds %struct.qhT, ptr %404, i32 0, i32 44
  store double %403, ptr %405, align 8, !tbaa !45
  br label %406

406:                                              ; preds = %400, %392, %387
  %407 = load ptr, ptr %2, align 8, !tbaa !5
  %408 = load ptr, ptr %2, align 8, !tbaa !5
  %409 = getelementptr inbounds %struct.qhT, ptr %408, i32 0, i32 44
  call void @qh_option(ptr noundef %407, ptr noundef @.str.14, ptr noundef null, ptr noundef %409)
  br label %410

410:                                              ; preds = %406, %352
  %411 = load ptr, ptr %2, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.qhT, ptr %411, i32 0, i32 35
  %413 = load double, ptr %412, align 8, !tbaa !48
  %414 = fcmp ogt double %413, 0x7FDFFFFFFFFFFFFF
  br i1 %414, label %415, label %424

415:                                              ; preds = %410
  %416 = load ptr, ptr %2, align 8, !tbaa !5
  %417 = getelementptr inbounds %struct.qhT, ptr %416, i32 0, i32 44
  %418 = load double, ptr %417, align 8, !tbaa !45
  %419 = load ptr, ptr %2, align 8, !tbaa !5
  %420 = getelementptr inbounds %struct.qhT, ptr %419, i32 0, i32 35
  store double %418, ptr %420, align 8, !tbaa !48
  %421 = load ptr, ptr %2, align 8, !tbaa !5
  %422 = load ptr, ptr %2, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.qhT, ptr %422, i32 0, i32 35
  call void @qh_option(ptr noundef %421, ptr noundef @.str.15, ptr noundef null, ptr noundef %423)
  br label %424

424:                                              ; preds = %415, %410
  %425 = load ptr, ptr %2, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.qhT, ptr %425, i32 0, i32 5
  %427 = load i32, ptr %426, align 4, !tbaa !46
  %428 = icmp ne i32 %427, 0
  br i1 %428, label %469, label %429

429:                                              ; preds = %424
  %430 = load ptr, ptr %2, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.qhT, ptr %430, i32 0, i32 44
  %432 = load double, ptr %431, align 8, !tbaa !45
  %433 = fmul double 2.000000e+00, %432
  %434 = load ptr, ptr %2, align 8, !tbaa !5
  %435 = getelementptr inbounds %struct.qhT, ptr %434, i32 0, i32 6
  store double %433, ptr %435, align 8, !tbaa !47
  %436 = load ptr, ptr %2, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.qhT, ptr %436, i32 0, i32 15
  %438 = load double, ptr %437, align 8, !tbaa !29
  %439 = fcmp olt double %438, 0x7FDFFFFFFFFFFFFF
  br i1 %439, label %440, label %465

440:                                              ; preds = %429
  %441 = load ptr, ptr %2, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.qhT, ptr %441, i32 0, i32 6
  %443 = load double, ptr %442, align 8, !tbaa !47
  %444 = load ptr, ptr %2, align 8, !tbaa !5
  %445 = getelementptr inbounds %struct.qhT, ptr %444, i32 0, i32 15
  %446 = load double, ptr %445, align 8, !tbaa !29
  %447 = fsub double 1.000000e+00, %446
  %448 = load ptr, ptr %2, align 8, !tbaa !5
  %449 = getelementptr inbounds %struct.qhT, ptr %448, i32 0, i32 135
  %450 = load double, ptr %449, align 8, !tbaa !17
  %451 = fmul double %447, %450
  %452 = fcmp olt double %443, %451
  br i1 %452, label %453, label %464

453:                                              ; preds = %440
  %454 = load ptr, ptr %2, align 8, !tbaa !5
  %455 = getelementptr inbounds %struct.qhT, ptr %454, i32 0, i32 15
  %456 = load double, ptr %455, align 8, !tbaa !29
  %457 = fsub double 1.000000e+00, %456
  %458 = load ptr, ptr %2, align 8, !tbaa !5
  %459 = getelementptr inbounds %struct.qhT, ptr %458, i32 0, i32 135
  %460 = load double, ptr %459, align 8, !tbaa !17
  %461 = fmul double %457, %460
  %462 = load ptr, ptr %2, align 8, !tbaa !5
  %463 = getelementptr inbounds %struct.qhT, ptr %462, i32 0, i32 6
  store double %461, ptr %463, align 8, !tbaa !47
  br label %464

464:                                              ; preds = %453, %440
  br label %465

465:                                              ; preds = %464, %429
  %466 = load ptr, ptr %2, align 8, !tbaa !5
  %467 = load ptr, ptr %2, align 8, !tbaa !5
  %468 = getelementptr inbounds %struct.qhT, ptr %467, i32 0, i32 6
  call void @qh_option(ptr noundef %466, ptr noundef @.str.16, ptr noundef null, ptr noundef %468)
  br label %469

469:                                              ; preds = %465, %424
  %470 = load ptr, ptr %2, align 8, !tbaa !5
  %471 = getelementptr inbounds %struct.qhT, ptr %470, i32 0, i32 6
  %472 = load double, ptr %471, align 8, !tbaa !47
  %473 = load ptr, ptr %2, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.qhT, ptr %473, i32 0, i32 149
  store double %472, ptr %474, align 8, !tbaa !49
  %475 = load ptr, ptr %2, align 8, !tbaa !5
  %476 = getelementptr inbounds %struct.qhT, ptr %475, i32 0, i32 149
  %477 = load double, ptr %476, align 8, !tbaa !49
  %478 = load ptr, ptr %2, align 8, !tbaa !5
  %479 = getelementptr inbounds %struct.qhT, ptr %478, i32 0, i32 35
  %480 = load double, ptr %479, align 8, !tbaa !48
  %481 = fmul double 6.000000e+00, %480
  %482 = fcmp olt double %477, %481
  br i1 %482, label %483, label %490

483:                                              ; preds = %469
  %484 = load ptr, ptr %2, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct.qhT, ptr %484, i32 0, i32 35
  %486 = load double, ptr %485, align 8, !tbaa !48
  %487 = fmul double 6.000000e+00, %486
  %488 = load ptr, ptr %2, align 8, !tbaa !5
  %489 = getelementptr inbounds %struct.qhT, ptr %488, i32 0, i32 149
  store double %487, ptr %489, align 8, !tbaa !49
  br label %490

490:                                              ; preds = %483, %469
  %491 = load ptr, ptr %2, align 8, !tbaa !5
  %492 = getelementptr inbounds %struct.qhT, ptr %491, i32 0, i32 149
  %493 = load double, ptr %492, align 8, !tbaa !49
  %494 = load ptr, ptr %2, align 8, !tbaa !5
  %495 = getelementptr inbounds %struct.qhT, ptr %494, i32 0, i32 44
  %496 = load double, ptr %495, align 8, !tbaa !45
  %497 = fmul double 6.000000e+00, %496
  %498 = fcmp olt double %493, %497
  br i1 %498, label %499, label %506

499:                                              ; preds = %490
  %500 = load ptr, ptr %2, align 8, !tbaa !5
  %501 = getelementptr inbounds %struct.qhT, ptr %500, i32 0, i32 44
  %502 = load double, ptr %501, align 8, !tbaa !45
  %503 = fmul double 6.000000e+00, %502
  %504 = load ptr, ptr %2, align 8, !tbaa !5
  %505 = getelementptr inbounds %struct.qhT, ptr %504, i32 0, i32 149
  store double %503, ptr %505, align 8, !tbaa !49
  br label %506

506:                                              ; preds = %499, %490
  %507 = load ptr, ptr %2, align 8, !tbaa !5
  %508 = load ptr, ptr %2, align 8, !tbaa !5
  %509 = getelementptr inbounds %struct.qhT, ptr %508, i32 0, i32 149
  call void @qh_option(ptr noundef %507, ptr noundef @.str.17, ptr noundef null, ptr noundef %509)
  %510 = load ptr, ptr %2, align 8, !tbaa !5
  %511 = getelementptr inbounds %struct.qhT, ptr %510, i32 0, i32 44
  %512 = load double, ptr %511, align 8, !tbaa !45
  %513 = load ptr, ptr %2, align 8, !tbaa !5
  %514 = getelementptr inbounds %struct.qhT, ptr %513, i32 0, i32 6
  %515 = load double, ptr %514, align 8, !tbaa !47
  %516 = fadd double %515, 0x3CC8000000000000
  %517 = fcmp ogt double %512, %516
  br i1 %517, label %518, label %539

518:                                              ; preds = %506
  %519 = load ptr, ptr %2, align 8, !tbaa !5
  %520 = getelementptr inbounds %struct.qhT, ptr %519, i32 0, i32 10
  %521 = load i32, ptr %520, align 4, !tbaa !50
  %522 = icmp ne i32 %521, 0
  br i1 %522, label %539, label %523

523:                                              ; preds = %518
  %524 = load ptr, ptr %2, align 8, !tbaa !5
  %525 = getelementptr inbounds %struct.qhT, ptr %524, i32 0, i32 21
  %526 = load i32, ptr %525, align 8, !tbaa !51
  %527 = icmp ne i32 %526, 0
  br i1 %527, label %539, label %528

528:                                              ; preds = %523
  %529 = load ptr, ptr %2, align 8, !tbaa !5
  %530 = load ptr, ptr %2, align 8, !tbaa !5
  %531 = getelementptr inbounds %struct.qhT, ptr %530, i32 0, i32 158
  %532 = load ptr, ptr %531, align 8, !tbaa !28
  %533 = load ptr, ptr %2, align 8, !tbaa !5
  %534 = getelementptr inbounds %struct.qhT, ptr %533, i32 0, i32 44
  %535 = load double, ptr %534, align 8, !tbaa !45
  %536 = load ptr, ptr %2, align 8, !tbaa !5
  %537 = getelementptr inbounds %struct.qhT, ptr %536, i32 0, i32 6
  %538 = load double, ptr %537, align 8, !tbaa !47
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %529, ptr noundef %532, i32 noundef 7001, ptr noundef @.str.18, double noundef %535, double noundef %538)
  br label %539

539:                                              ; preds = %528, %523, %518, %506
  %540 = load ptr, ptr %2, align 8, !tbaa !5
  %541 = getelementptr inbounds %struct.qhT, ptr %540, i32 0, i32 134
  %542 = load double, ptr %541, align 8, !tbaa !19
  %543 = load ptr, ptr %2, align 8, !tbaa !5
  %544 = getelementptr inbounds %struct.qhT, ptr %543, i32 0, i32 200
  store double %542, ptr %544, align 8, !tbaa !52
  %545 = load ptr, ptr %2, align 8, !tbaa !5
  %546 = getelementptr inbounds %struct.qhT, ptr %545, i32 0, i32 134
  %547 = load double, ptr %546, align 8, !tbaa !19
  %548 = fneg double %547
  %549 = load ptr, ptr %2, align 8, !tbaa !5
  %550 = getelementptr inbounds %struct.qhT, ptr %549, i32 0, i32 201
  store double %548, ptr %550, align 8, !tbaa !53
  %551 = load ptr, ptr %2, align 8, !tbaa !5
  call void @qh_detmaxoutside(ptr noundef %551)
  ret void
}

declare void @qh_option(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind
declare double @sqrt(double noundef) #4

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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!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 500}
!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 632}
!17 = !{!10, !12, i64 1792}
!18 = !{!10, !12, i64 1816}
!19 = !{!10, !12, i64 1784}
!20 = !{!10, !12, i64 1832}
!21 = !{!10, !12, i64 1840}
!22 = !{!10, !12, i64 1848}
!23 = !{!10, !12, i64 1856}
!24 = !{!10, !12, i64 1760}
!25 = !{!10, !11, i64 444}
!26 = !{!10, !12, i64 448}
!27 = !{!10, !11, i64 136}
!28 = !{!10, !6, i64 2424}
!29 = !{!10, !12, i64 64}
!30 = !{!10, !12, i64 72}
!31 = !{!10, !12, i64 192}
!32 = !{!10, !12, i64 200}
!33 = !{!10, !11, i64 180}
!34 = !{!10, !11, i64 252}
!35 = !{!10, !11, i64 248}
!36 = !{!12, !12, i64 0}
!37 = !{!10, !12, i64 1824}
!38 = !{!10, !12, i64 1888}
!39 = !{!10, !11, i64 188}
!40 = !{!10, !12, i64 1880}
!41 = !{!10, !12, i64 2664}
!42 = !{!10, !11, i64 144}
!43 = !{!10, !11, i64 148}
!44 = !{!10, !11, i64 628}
!45 = !{!10, !12, i64 216}
!46 = !{!10, !11, i64 20}
!47 = !{!10, !12, i64 24}
!48 = !{!10, !12, i64 168}
!49 = !{!10, !12, i64 1904}
!50 = !{!10, !11, i64 44}
!51 = !{!10, !11, i64 96}
!52 = !{!10, !12, i64 2688}
!53 = !{!10, !12, i64 2696}


; 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.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [115 x i8], align 1

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @qh_detroundoff(ptr noundef %0) local_unnamed_addr #2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 1824
  tail call void @qh_option(ptr noundef %0, ptr noundef nonnull @.str.4, ptr noundef null, ptr noundef nonnull %2) #5
  %3 = getelementptr inbounds i8, ptr %0, i64 500
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %5, label %14

5:                                                ; preds = %1
  %6 = getelementptr inbounds i8, ptr %0, i64 632
  %7 = load i32, ptr %6, align 8, !tbaa !15
  %8 = getelementptr inbounds i8, ptr %0, i64 1792
  %9 = load double, ptr %8, align 8, !tbaa !16
  %10 = getelementptr inbounds i8, ptr %0, i64 1816
  %11 = load double, ptr %10, align 8, !tbaa !17
  %12 = tail call double @qh_distround(ptr noundef nonnull %0, i32 noundef %7, double noundef %9, double noundef %11)
  %13 = getelementptr inbounds i8, ptr %0, i64 1784
  store double %12, ptr %13, align 8, !tbaa !18
  tail call void @qh_option(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, ptr noundef null, ptr noundef nonnull %13) #5
  br label %14

14:                                               ; preds = %5, %1
  %15 = getelementptr inbounds i8, ptr %0, i64 1832
  %16 = load double, ptr %15, align 8, !tbaa !19
  %17 = getelementptr inbounds i8, ptr %0, i64 1792
  %18 = load double, ptr %17, align 8, !tbaa !16
  %19 = fmul double %16, %18
  %20 = getelementptr inbounds i8, ptr %0, i64 1840
  store double %19, ptr %20, align 8, !tbaa !20
  %21 = getelementptr inbounds i8, ptr %0, i64 632
  %22 = load i32, ptr %21, align 8, !tbaa !15
  %23 = sitofp i32 %22 to double
  %24 = fmul double %16, %23
  %25 = tail call double @sqrt(double noundef %24) #5
  %26 = getelementptr inbounds i8, ptr %0, i64 1848
  store double %25, ptr %26, align 8, !tbaa !21
  %27 = load double, ptr %17, align 8, !tbaa !16
  %28 = fmul double %25, %27
  %29 = getelementptr inbounds i8, ptr %0, i64 1856
  store double %28, ptr %29, align 8, !tbaa !22
  %30 = load i32, ptr %21, align 8, !tbaa !15
  %31 = sitofp i32 %30 to double
  %32 = fmul double %31, 1.010000e+00
  %33 = fmul double %32, 0x3CB0000000000000
  %34 = getelementptr inbounds i8, ptr %0, i64 1760
  store double %33, ptr %34, align 8, !tbaa !23
  %35 = getelementptr inbounds i8, ptr %0, i64 444
  %36 = load i32, ptr %35, align 4, !tbaa !24
  %.not179 = icmp eq i32 %36, 0
  br i1 %.not179, label %.thread204, label %37

37:                                               ; preds = %14
  %38 = getelementptr inbounds i8, ptr %0, i64 448
  %39 = load double, ptr %38, align 8, !tbaa !25
  %40 = fadd double %33, %39
  store double %40, ptr %34, align 8, !tbaa !23
  %41 = getelementptr inbounds i8, ptr %0, i64 136
  %42 = load i32, ptr %41, align 8, !tbaa !26
  %43 = icmp sgt i32 %42, 3
  br i1 %43, label %44, label %47

44:                                               ; preds = %37
  %45 = getelementptr inbounds i8, ptr %0, i64 2424
  %46 = load ptr, ptr %45, align 8, !tbaa !27
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %46, i32 noundef 4096, ptr noundef nonnull @.str.6, double noundef %39) #5
  %.pre197.pre201.pre = load i32, ptr %35, align 4, !tbaa !24
  br label %47

47:                                               ; preds = %37, %44
  %.pre197.pre201 = phi i32 [ %36, %37 ], [ %.pre197.pre201.pre, %44 ]
  %48 = getelementptr inbounds i8, ptr %0, i64 64
  %49 = load double, ptr %48, align 8, !tbaa !28
  %50 = fcmp olt double %49, 0x7FDFFFFFFFFFFFFF
  br i1 %50, label %56, label %60

.thread204:                                       ; preds = %14
  %51 = getelementptr inbounds i8, ptr %0, i64 64
  %52 = load double, ptr %51, align 8, !tbaa !28
  %53 = fcmp olt double %52, 0x7FDFFFFFFFFFFFFF
  br i1 %53, label %.thread207, label %60

.thread207:                                       ; preds = %.thread204
  %54 = load double, ptr %34, align 8, !tbaa !23
  %55 = fsub double %52, %54
  store double %55, ptr %51, align 8, !tbaa !28
  br label %60

56:                                               ; preds = %47
  %57 = load double, ptr %34, align 8, !tbaa !23
  %58 = fsub double %49, %57
  store double %58, ptr %48, align 8, !tbaa !28
  %.not180 = icmp eq i32 %.pre197.pre201, 0
  br i1 %.not180, label %60, label %59

59:                                               ; preds = %56
  tail call void @qh_option(ptr noundef nonnull %0, ptr noundef nonnull @.str.7, ptr noundef null, ptr noundef nonnull %48) #5
  %.pre197.pre = load i32, ptr %35, align 4, !tbaa !24
  br label %60

60:                                               ; preds = %.thread207, %.thread204, %56, %59, %47
  %61 = phi ptr [ %48, %56 ], [ %48, %59 ], [ %48, %47 ], [ %51, %.thread204 ], [ %51, %.thread207 ]
  %.pre197 = phi i32 [ 0, %56 ], [ %.pre197.pre, %59 ], [ %.pre197.pre201, %47 ], [ 0, %.thread204 ], [ 0, %.thread207 ]
  %62 = getelementptr inbounds i8, ptr %0, i64 72
  %63 = load double, ptr %62, align 8, !tbaa !29
  %64 = fcmp olt double %63, 0x7FDFFFFFFFFFFFFF
  br i1 %64, label %65, label %69

65:                                               ; preds = %60
  %66 = load double, ptr %34, align 8, !tbaa !23
  %67 = fsub double %63, %66
  store double %67, ptr %62, align 8, !tbaa !29
  %.not181 = icmp eq i32 %.pre197, 0
  br i1 %.not181, label %69, label %68

68:                                               ; preds = %65
  tail call void @qh_option(ptr noundef nonnull %0, ptr noundef nonnull @.str.8, ptr noundef null, ptr noundef nonnull %62) #5
  %.pre = load i32, ptr %35, align 4, !tbaa !24
  br label %69

69:                                               ; preds = %65, %68, %60
  %70 = phi i32 [ 0, %65 ], [ %.pre, %68 ], [ %.pre197, %60 ]
  %71 = getelementptr inbounds i8, ptr %0, i64 1784
  %72 = load double, ptr %71, align 8, !tbaa !18
  %73 = getelementptr inbounds i8, ptr %0, i64 192
  %74 = getelementptr inbounds i8, ptr %0, i64 200
  %75 = load <2 x double>, ptr %73, align 8, !tbaa !30
  %76 = insertelement <2 x double> poison, double %72, i64 0
  %77 = shufflevector <2 x double> %76, <2 x double> poison, <2 x i32> zeroinitializer
  %78 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %77, <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double> %75)
  store <2 x double> %78, ptr %73, align 8, !tbaa !30
  %.not182 = icmp eq i32 %70, 0
  br i1 %.not182, label %.thread, label %79

79:                                               ; preds = %69
  %80 = getelementptr inbounds i8, ptr %0, i64 180
  %81 = load i32, ptr %80, align 4, !tbaa !31
  %.not183 = icmp eq i32 %81, 0
  br i1 %.not183, label %82, label %85

82:                                               ; preds = %79
  %83 = getelementptr inbounds i8, ptr %0, i64 252
  %84 = load i32, ptr %83, align 4, !tbaa !32
  %.not184 = icmp eq i32 %84, 0
  br i1 %.not184, label %.thread210, label %85

85:                                               ; preds = %79, %82
  tail call void @qh_option(ptr noundef nonnull %0, ptr noundef nonnull @.str.9, ptr noundef null, ptr noundef nonnull %73) #5
  %.pr.pre = load i32, ptr %35, align 4, !tbaa !24
  %.not185 = icmp eq i32 %.pr.pre, 0
  br i1 %.not185, label %.thread, label %.thread210

.thread210:                                       ; preds = %82, %85
  %86 = getelementptr inbounds i8, ptr %0, i64 248
  %87 = load i32, ptr %86, align 8, !tbaa !33
  %.not186 = icmp eq i32 %87, 0
  br i1 %.not186, label %.thread, label %88

88:                                               ; preds = %.thread210
  tail call void @qh_option(ptr noundef nonnull %0, ptr noundef nonnull @.str.10, ptr noundef null, ptr noundef nonnull %74) #5
  br label %.thread

.thread:                                          ; preds = %69, %88, %.thread210, %85
  %89 = load double, ptr %61, align 8, !tbaa !28
  %90 = fcmp olt double %89, 1.000000e+00
  %.0 = select i1 %90, double %89, double 1.000000e+00
  %91 = load double, ptr %62, align 8, !tbaa !29
  %92 = fcmp ogt double %.0, %91
  %.1 = select i1 %92, double %91, double %.0
  %93 = load i32, ptr %21, align 8, !tbaa !15
  %94 = sitofp i32 %93 to double
  %95 = tail call double @sqrt(double noundef %94) #5
  %96 = load double, ptr %2, align 8, !tbaa !34
  %97 = fmul double %95, %96
  %98 = fneg double %.1
  %99 = tail call double @llvm.fmuladd.f64(double %98, double %.1, double 1.000000e+00)
  %100 = tail call double @sqrt(double noundef %99) #5
  %101 = load double, ptr %71, align 8, !tbaa !18
  %102 = tail call double @llvm.fmuladd.f64(double %97, double %100, double %101)
  %103 = getelementptr inbounds i8, ptr %0, i64 1888
  store double %102, ptr %103, align 8, !tbaa !35
  %104 = load i32, ptr %21, align 8, !tbaa !15
  %105 = sitofp i32 %104 to double
  %106 = load double, ptr %73, align 8, !tbaa !36
  %107 = tail call double @llvm.fmuladd.f64(double %105, double %106, double %101)
  %108 = fcmp olt double %102, %107
  br i1 %108, label %109, label %110

109:                                              ; preds = %.thread
  store double %107, ptr %103, align 8, !tbaa !35
  br label %110

110:                                              ; preds = %109, %.thread
  %111 = phi double [ %107, %109 ], [ %102, %.thread ]
  %112 = load double, ptr %74, align 8, !tbaa !37
  %113 = tail call double @llvm.fmuladd.f64(double %105, double %112, double %101)
  %114 = fcmp olt double %111, %113
  br i1 %114, label %115, label %116

115:                                              ; preds = %110
  store double %113, ptr %103, align 8, !tbaa !35
  br label %116

116:                                              ; preds = %115, %110
  %117 = phi double [ %113, %115 ], [ %111, %110 ]
  %118 = getelementptr inbounds i8, ptr %0, i64 188
  %119 = load i32, ptr %118, align 4, !tbaa !38
  %.not187 = icmp eq i32 %119, 0
  br i1 %.not187, label %121, label %120

120:                                              ; preds = %116
  tail call void @qh_option(ptr noundef nonnull %0, ptr noundef nonnull @.str.11, ptr noundef null, ptr noundef nonnull %103) #5
  %.pre199 = load double, ptr %103, align 8, !tbaa !35
  br label %121

121:                                              ; preds = %120, %116
  %122 = phi double [ %.pre199, %120 ], [ %117, %116 ]
  %123 = fmul double %122, 5.000000e+00
  %124 = getelementptr inbounds i8, ptr %0, i64 1880
  store double %123, ptr %124, align 8, !tbaa !39
  %125 = getelementptr inbounds i8, ptr %0, i64 2664
  %126 = load double, ptr %125, align 8, !tbaa !40
  %127 = fcmp olt double %126, 0x7FDFFFFFFFFFFFFF
  br i1 %127, label %128, label %146

128:                                              ; preds = %121
  %129 = getelementptr inbounds i8, ptr %0, i64 144
  %130 = load i32, ptr %129, align 8, !tbaa !41
  %.not188 = icmp eq i32 %130, 0
  br i1 %.not188, label %131, label %134

131:                                              ; preds = %128
  %132 = getelementptr inbounds i8, ptr %0, i64 148
  %133 = load i32, ptr %132, align 4, !tbaa !42
  %.not189 = icmp eq i32 %133, 0
  br i1 %.not189, label %146, label %134

134:                                              ; preds = %131, %128
  %135 = getelementptr inbounds i8, ptr %0, i64 628
  store i32 1, ptr %135, align 4, !tbaa !43
  %136 = load i32, ptr %21, align 8, !tbaa !15
  %137 = sitofp i32 %136 to double
  %138 = tail call double @sqrt(double noundef %137) #5
  %139 = load double, ptr %125, align 8, !tbaa !40
  %140 = load double, ptr %71, align 8, !tbaa !18
  %141 = tail call double @llvm.fmuladd.f64(double %138, double %139, double %140)
  %142 = fmul double %141, 2.000000e+00
  %143 = load double, ptr %124, align 8, !tbaa !39
  %144 = fcmp olt double %143, %142
  br i1 %144, label %145, label %146

145:                                              ; preds = %134
  store double %142, ptr %124, align 8, !tbaa !39
  br label %146

146:                                              ; preds = %134, %145, %131, %121
  %147 = phi double [ %139, %134 ], [ %139, %145 ], [ %126, %131 ], [ %126, %121 ]
  %148 = getelementptr inbounds i8, ptr %0, i64 628
  %149 = load i32, ptr %148, align 4, !tbaa !43
  %.not190 = icmp eq i32 %149, 0
  br i1 %.not190, label %151, label %150

150:                                              ; preds = %146
  tail call void @qh_option(ptr noundef nonnull %0, ptr noundef nonnull @.str.12, ptr noundef null, ptr noundef nonnull %124) #5
  %.pre200 = load double, ptr %125, align 8, !tbaa !40
  br label %151

151:                                              ; preds = %150, %146
  %152 = phi double [ %.pre200, %150 ], [ %147, %146 ]
  %153 = load double, ptr %71, align 8, !tbaa !18
  %154 = fcmp olt double %152, %153
  br i1 %154, label %155, label %158

155:                                              ; preds = %151
  %156 = getelementptr inbounds i8, ptr %0, i64 2424
  %157 = load ptr, ptr %156, align 8, !tbaa !27
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %157, i32 noundef 6006, ptr noundef nonnull @.str.13, double noundef %152, double noundef %153) #5
  tail call void @qh_errexit(ptr noundef nonnull %0, i32 noundef 1, ptr noundef null, ptr noundef null) #5
  br label %158

158:                                              ; preds = %155, %151
  %159 = getelementptr inbounds i8, ptr %0, i64 216
  %160 = load double, ptr %159, align 8, !tbaa !44
  %161 = fcmp ogt double %160, 0x7FDFFFFFFFFFFFFF
  br i1 %161, label %162, label %181

162:                                              ; preds = %158
  %163 = load i32, ptr %118, align 4, !tbaa !38
  %.not191 = icmp eq i32 %163, 0
  br i1 %.not191, label %164, label %166

164:                                              ; preds = %162
  %165 = load double, ptr %71, align 8, !tbaa !18
  br label %172

166:                                              ; preds = %162
  %167 = load i32, ptr %21, align 8, !tbaa !15
  %168 = icmp slt i32 %167, 4
  %169 = load double, ptr %73, align 8, !tbaa !36
  br i1 %168, label %172, label %170

170:                                              ; preds = %166
  %171 = fmul double %169, 3.000000e+00
  br label %172

172:                                              ; preds = %166, %170, %164
  %.sink = phi double [ %171, %170 ], [ %165, %164 ], [ %169, %166 ]
  store double %.sink, ptr %159, align 8, !tbaa !44
  %173 = getelementptr inbounds i8, ptr %0, i64 20
  %174 = load i32, ptr %173, align 4, !tbaa !45
  %.not192 = icmp eq i32 %174, 0
  br i1 %.not192, label %180, label %175

175:                                              ; preds = %172
  %176 = getelementptr inbounds i8, ptr %0, i64 24
  %177 = load double, ptr %176, align 8, !tbaa !46
  %178 = fcmp ogt double %.sink, %177
  br i1 %178, label %179, label %180

179:                                              ; preds = %175
  store double %177, ptr %159, align 8, !tbaa !44
  br label %180

180:                                              ; preds = %179, %175, %172
  tail call void @qh_option(ptr noundef nonnull %0, ptr noundef nonnull @.str.14, ptr noundef null, ptr noundef nonnull %159) #5
  br label %181

181:                                              ; preds = %180, %158
  %182 = getelementptr inbounds i8, ptr %0, i64 168
  %183 = load double, ptr %182, align 8, !tbaa !47
  %184 = fcmp ogt double %183, 0x7FDFFFFFFFFFFFFF
  br i1 %184, label %185, label %187

185:                                              ; preds = %181
  %186 = load double, ptr %159, align 8, !tbaa !44
  store double %186, ptr %182, align 8, !tbaa !47
  tail call void @qh_option(ptr noundef nonnull %0, ptr noundef nonnull @.str.15, ptr noundef null, ptr noundef nonnull %182) #5
  br label %187

187:                                              ; preds = %185, %181
  %188 = getelementptr inbounds i8, ptr %0, i64 20
  %189 = load i32, ptr %188, align 4, !tbaa !45
  %.not193 = icmp eq i32 %189, 0
  br i1 %.not193, label %190, label %203

190:                                              ; preds = %187
  %191 = load double, ptr %159, align 8, !tbaa !44
  %192 = fmul double %191, 2.000000e+00
  %193 = getelementptr inbounds i8, ptr %0, i64 24
  store double %192, ptr %193, align 8, !tbaa !46
  %194 = load double, ptr %61, align 8, !tbaa !28
  %195 = fcmp olt double %194, 0x7FDFFFFFFFFFFFFF
  br i1 %195, label %196, label %202

196:                                              ; preds = %190
  %197 = fsub double 1.000000e+00, %194
  %198 = load double, ptr %17, align 8, !tbaa !16
  %199 = fmul double %197, %198
  %200 = fcmp olt double %192, %199
  br i1 %200, label %201, label %202

201:                                              ; preds = %196
  store double %199, ptr %193, align 8, !tbaa !46
  br label %202

202:                                              ; preds = %196, %201, %190
  tail call void @qh_option(ptr noundef nonnull %0, ptr noundef nonnull @.str.16, ptr noundef null, ptr noundef nonnull %193) #5
  br label %203

203:                                              ; preds = %202, %187
  %204 = getelementptr inbounds i8, ptr %0, i64 24
  %205 = load double, ptr %204, align 8, !tbaa !46
  %206 = getelementptr inbounds i8, ptr %0, i64 1904
  store double %205, ptr %206, align 8, !tbaa !48
  %207 = load double, ptr %182, align 8, !tbaa !47
  %208 = fmul double %207, 6.000000e+00
  %209 = fcmp olt double %205, %208
  br i1 %209, label %210, label %211

210:                                              ; preds = %203
  store double %208, ptr %206, align 8, !tbaa !48
  br label %211

211:                                              ; preds = %210, %203
  %212 = phi double [ %208, %210 ], [ %205, %203 ]
  %213 = load double, ptr %159, align 8, !tbaa !44
  %214 = fmul double %213, 6.000000e+00
  %215 = fcmp olt double %212, %214
  br i1 %215, label %216, label %217

216:                                              ; preds = %211
  store double %214, ptr %206, align 8, !tbaa !48
  br label %217

217:                                              ; preds = %216, %211
  tail call void @qh_option(ptr noundef nonnull %0, ptr noundef nonnull @.str.17, ptr noundef null, ptr noundef nonnull %206) #5
  %218 = load double, ptr %159, align 8, !tbaa !44
  %219 = load double, ptr %204, align 8, !tbaa !46
  %220 = fadd double %219, 0x3CC8000000000000
  %221 = fcmp ogt double %218, %220
  br i1 %221, label %222, label %231

222:                                              ; preds = %217
  %223 = getelementptr inbounds i8, ptr %0, i64 44
  %224 = load i32, ptr %223, align 4, !tbaa !49
  %.not194 = icmp eq i32 %224, 0
  br i1 %.not194, label %225, label %231

225:                                              ; preds = %222
  %226 = getelementptr inbounds i8, ptr %0, i64 96
  %227 = load i32, ptr %226, align 8, !tbaa !50
  %.not195 = icmp eq i32 %227, 0
  br i1 %.not195, label %228, label %231

228:                                              ; preds = %225
  %229 = getelementptr inbounds i8, ptr %0, i64 2424
  %230 = load ptr, ptr %229, align 8, !tbaa !27
  tail call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %230, i32 noundef 7001, ptr noundef nonnull @.str.18, double noundef %218, double noundef %219) #5
  br label %231

231:                                              ; preds = %228, %225, %222, %217
  %232 = load double, ptr %71, align 8, !tbaa !18
  %233 = getelementptr inbounds i8, ptr %0, i64 2688
  store double %232, ptr %233, align 8, !tbaa !51
  %234 = fneg double %232
  %235 = getelementptr inbounds i8, ptr %0, i64 2696
  store double %234, ptr %235, align 8, !tbaa !52
  tail call void @qh_detmaxoutside(ptr noundef nonnull %0)
  ret void
}

declare void @qh_option(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #4

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 nofree nounwind willreturn memory(write) "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 nosync nounwind speculatable willreturn memory(none) }
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, !7, i64 500}
!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 632}
!16 = !{!6, !10, i64 1792}
!17 = !{!6, !10, i64 1816}
!18 = !{!6, !10, i64 1784}
!19 = !{!6, !10, i64 1832}
!20 = !{!6, !10, i64 1840}
!21 = !{!6, !10, i64 1848}
!22 = !{!6, !10, i64 1856}
!23 = !{!6, !10, i64 1760}
!24 = !{!6, !7, i64 444}
!25 = !{!6, !10, i64 448}
!26 = !{!6, !7, i64 136}
!27 = !{!6, !11, i64 2424}
!28 = !{!6, !10, i64 64}
!29 = !{!6, !10, i64 72}
!30 = !{!10, !10, i64 0}
!31 = !{!6, !7, i64 180}
!32 = !{!6, !7, i64 252}
!33 = !{!6, !7, i64 248}
!34 = !{!6, !10, i64 1824}
!35 = !{!6, !10, i64 1888}
!36 = !{!6, !10, i64 192}
!37 = !{!6, !10, i64 200}
!38 = !{!6, !7, i64 188}
!39 = !{!6, !10, i64 1880}
!40 = !{!6, !10, i64 2664}
!41 = !{!6, !7, i64 144}
!42 = !{!6, !7, i64 148}
!43 = !{!6, !7, i64 628}
!44 = !{!6, !10, i64 216}
!45 = !{!6, !7, i64 20}
!46 = !{!6, !10, i64 24}
!47 = !{!6, !10, i64 168}
!48 = !{!6, !10, i64 1904}
!49 = !{!6, !7, i64 44}
!50 = !{!6, !7, i64 96}
!51 = !{!6, !10, i64 2688}
!52 = !{!6, !10, i64 2696}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass