; 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.55 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [16 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

; 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_divzero(double noundef, double noundef, double noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local i32 @qh_sethalfspace(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #3 {
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store i32 %1, ptr %10, align 4, !tbaa !9
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %24 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %24, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %25 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %25, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %26 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %26, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %27 = load ptr, ptr %14, align 8, !tbaa !5
  %28 = load double, ptr %27, align 8, !tbaa !11
  store double %28, ptr %19, align 8, !tbaa !11
  %29 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %29, ptr %21, align 4, !tbaa !9
  br label %30

30:                                               ; preds = %34, %7
  %31 = load i32, ptr %21, align 4, !tbaa !9
  %32 = add nsw i32 %31, -1
  store i32 %32, ptr %21, align 4, !tbaa !9
  %33 = icmp ne i32 %31, 0
  br i1 %33, label %34, label %43

34:                                               ; preds = %30
  %35 = load ptr, ptr %16, align 8, !tbaa !5
  %36 = getelementptr inbounds double, ptr %35, i32 1
  store ptr %36, ptr %16, align 8, !tbaa !5
  %37 = load double, ptr %35, align 8, !tbaa !11
  %38 = load ptr, ptr %17, align 8, !tbaa !5
  %39 = getelementptr inbounds double, ptr %38, i32 1
  store ptr %39, ptr %17, align 8, !tbaa !5
  %40 = load double, ptr %38, align 8, !tbaa !11
  %41 = load double, ptr %19, align 8, !tbaa !11
  %42 = call double @llvm.fmuladd.f64(double %37, double %40, double %41)
  store double %42, ptr %19, align 8, !tbaa !11
  br label %30, !llvm.loop !13

43:                                               ; preds = %30
  %44 = load double, ptr %19, align 8, !tbaa !11
  %45 = fcmp ogt double %44, 0.000000e+00
  br i1 %45, label %46, label %47

46:                                               ; preds = %43
  br label %129

47:                                               ; preds = %43
  %48 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %48, ptr %16, align 8, !tbaa !5
  %49 = load double, ptr %19, align 8, !tbaa !11
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.qhT, ptr %50, i32 0, i32 141
  %52 = load double, ptr %51, align 8, !tbaa !15
  %53 = fneg double %52
  %54 = fcmp olt double %49, %53
  br i1 %54, label %55, label %71

55:                                               ; preds = %47
  %56 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %56, ptr %21, align 4, !tbaa !9
  br label %57

57:                                               ; preds = %61, %55
  %58 = load i32, ptr %21, align 4, !tbaa !9
  %59 = add nsw i32 %58, -1
  store i32 %59, ptr %21, align 4, !tbaa !9
  %60 = icmp ne i32 %58, 0
  br i1 %60, label %61, label %70

61:                                               ; preds = %57
  %62 = load ptr, ptr %16, align 8, !tbaa !5
  %63 = getelementptr inbounds double, ptr %62, i32 1
  store ptr %63, ptr %16, align 8, !tbaa !5
  %64 = load double, ptr %62, align 8, !tbaa !11
  %65 = load double, ptr %19, align 8, !tbaa !11
  %66 = fneg double %65
  %67 = fdiv double %64, %66
  %68 = load ptr, ptr %18, align 8, !tbaa !5
  %69 = getelementptr inbounds double, ptr %68, i32 1
  store ptr %69, ptr %18, align 8, !tbaa !5
  store double %67, ptr %68, align 8, !tbaa !11
  br label %57, !llvm.loop !20

70:                                               ; preds = %57
  br label %94

71:                                               ; preds = %47
  %72 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %72, ptr %21, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %92, %71
  %74 = load i32, ptr %21, align 4, !tbaa !9
  %75 = add nsw i32 %74, -1
  store i32 %75, ptr %21, align 4, !tbaa !9
  %76 = icmp ne i32 %74, 0
  br i1 %76, label %77, label %93

77:                                               ; preds = %73
  %78 = load ptr, ptr %16, align 8, !tbaa !5
  %79 = getelementptr inbounds double, ptr %78, i32 1
  store ptr %79, ptr %16, align 8, !tbaa !5
  %80 = load double, ptr %78, align 8, !tbaa !11
  %81 = load double, ptr %19, align 8, !tbaa !11
  %82 = fneg double %81
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.qhT, ptr %83, i32 0, i32 140
  %85 = load double, ptr %84, align 8, !tbaa !21
  %86 = call double @qh_divzero(double noundef %80, double noundef %82, double noundef %85, ptr noundef %22)
  %87 = load ptr, ptr %18, align 8, !tbaa !5
  %88 = getelementptr inbounds double, ptr %87, i32 1
  store ptr %88, ptr %18, align 8, !tbaa !5
  store double %86, ptr %87, align 8, !tbaa !11
  %89 = load i32, ptr %22, align 4, !tbaa !9
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %92

91:                                               ; preds = %77
  br label %129

92:                                               ; preds = %77
  br label %73, !llvm.loop !22

93:                                               ; preds = %73
  br label %94

94:                                               ; preds = %93, %70
  %95 = load ptr, ptr %18, align 8, !tbaa !5
  %96 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %95, ptr %96, align 8, !tbaa !5
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.qhT, ptr %97, i32 0, i32 29
  %99 = load i32, ptr %98, align 8, !tbaa !23
  %100 = icmp sge i32 %99, 4
  br i1 %100, label %101, label %128

101:                                              ; preds = %94
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = load ptr, ptr %9, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.qhT, ptr %103, i32 0, i32 158
  %105 = load ptr, ptr %104, align 8, !tbaa !24
  %106 = load ptr, ptr %14, align 8, !tbaa !5
  %107 = load double, ptr %106, align 8, !tbaa !11
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %102, ptr noundef %105, i32 noundef 8021, ptr noundef @.str.74, double noundef %107)
  %108 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %108, ptr %21, align 4, !tbaa !9
  %109 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %109, ptr %18, align 8, !tbaa !5
  br label %110

110:                                              ; preds = %114, %101
  %111 = load i32, ptr %21, align 4, !tbaa !9
  %112 = add nsw i32 %111, -1
  store i32 %112, ptr %21, align 4, !tbaa !9
  %113 = icmp ne i32 %111, 0
  br i1 %113, label %114, label %123

114:                                              ; preds = %110
  %115 = load ptr, ptr %18, align 8, !tbaa !5
  %116 = getelementptr inbounds double, ptr %115, i32 1
  store ptr %116, ptr %18, align 8, !tbaa !5
  %117 = load double, ptr %115, align 8, !tbaa !11
  store double %117, ptr %20, align 8, !tbaa !11
  %118 = load ptr, ptr %9, align 8, !tbaa !5
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.qhT, ptr %119, i32 0, i32 158
  %121 = load ptr, ptr %120, align 8, !tbaa !24
  %122 = load double, ptr %20, align 8, !tbaa !11
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %118, ptr noundef %121, i32 noundef 8022, ptr noundef @.str.75, double noundef %122)
  br label %110, !llvm.loop !25

123:                                              ; preds = %110
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = load ptr, ptr %9, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.qhT, ptr %125, i32 0, i32 158
  %127 = load ptr, ptr %126, align 8, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %124, ptr noundef %127, i32 noundef 8023, ptr noundef @.str.55)
  br label %128

128:                                              ; preds = %123, %94
  store i32 1, ptr %8, align 4
  store i32 1, ptr %23, align 4
  br label %191

129:                                              ; preds = %91, %46
  %130 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %130, ptr %17, align 8, !tbaa !5
  %131 = load ptr, ptr %13, align 8, !tbaa !5
  store ptr %131, ptr %16, align 8, !tbaa !5
  %132 = load ptr, ptr %9, align 8, !tbaa !5
  %133 = load ptr, ptr %9, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.qhT, ptr %133, i32 0, i32 158
  %135 = load ptr, ptr %134, align 8, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %132, ptr noundef %135, i32 noundef 6023, ptr noundef @.str.76)
  %136 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %136, ptr %21, align 4, !tbaa !9
  br label %137

137:                                              ; preds = %141, %129
  %138 = load i32, ptr %21, align 4, !tbaa !9
  %139 = add nsw i32 %138, -1
  store i32 %139, ptr %21, align 4, !tbaa !9
  %140 = icmp ne i32 %138, 0
  br i1 %140, label %141, label %149

141:                                              ; preds = %137
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = load ptr, ptr %9, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.qhT, ptr %143, i32 0, i32 158
  %145 = load ptr, ptr %144, align 8, !tbaa !24
  %146 = load ptr, ptr %17, align 8, !tbaa !5
  %147 = getelementptr inbounds double, ptr %146, i32 1
  store ptr %147, ptr %17, align 8, !tbaa !5
  %148 = load double, ptr %146, align 8, !tbaa !11
  store double %148, ptr %20, align 8, !tbaa !11
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %142, ptr noundef %145, i32 noundef 8024, ptr noundef @.str.77, double noundef %148)
  br label %137, !llvm.loop !26

149:                                              ; preds = %137
  %150 = load ptr, ptr %9, align 8, !tbaa !5
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.qhT, ptr %151, i32 0, i32 158
  %153 = load ptr, ptr %152, align 8, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %150, ptr noundef %153, i32 noundef 8025, ptr noundef @.str.78)
  %154 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %154, ptr %21, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %159, %149
  %156 = load i32, ptr %21, align 4, !tbaa !9
  %157 = add nsw i32 %156, -1
  store i32 %157, ptr %21, align 4, !tbaa !9
  %158 = icmp ne i32 %156, 0
  br i1 %158, label %159, label %167

159:                                              ; preds = %155
  %160 = load ptr, ptr %9, align 8, !tbaa !5
  %161 = load ptr, ptr %9, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.qhT, ptr %161, i32 0, i32 158
  %163 = load ptr, ptr %162, align 8, !tbaa !24
  %164 = load ptr, ptr %16, align 8, !tbaa !5
  %165 = getelementptr inbounds double, ptr %164, i32 1
  store ptr %165, ptr %16, align 8, !tbaa !5
  %166 = load double, ptr %164, align 8, !tbaa !11
  store double %166, ptr %20, align 8, !tbaa !11
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %160, ptr noundef %163, i32 noundef 8026, ptr noundef @.str.77, double noundef %166)
  br label %155, !llvm.loop !27

167:                                              ; preds = %155
  %168 = load ptr, ptr %9, align 8, !tbaa !5
  %169 = load ptr, ptr %9, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.qhT, ptr %169, i32 0, i32 158
  %171 = load ptr, ptr %170, align 8, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %168, ptr noundef %171, i32 noundef 8027, ptr noundef @.str.79)
  %172 = load ptr, ptr %9, align 8, !tbaa !5
  %173 = load ptr, ptr %9, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.qhT, ptr %173, i32 0, i32 158
  %175 = load ptr, ptr %174, align 8, !tbaa !24
  %176 = load ptr, ptr %14, align 8, !tbaa !5
  %177 = load double, ptr %176, align 8, !tbaa !11
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %172, ptr noundef %175, i32 noundef 8028, ptr noundef @.str.77, double noundef %177)
  %178 = load ptr, ptr %9, align 8, !tbaa !5
  %179 = load ptr, ptr %9, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.qhT, ptr %179, i32 0, i32 158
  %181 = load ptr, ptr %180, align 8, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %178, ptr noundef %181, i32 noundef 8029, ptr noundef @.str.80)
  %182 = load ptr, ptr %9, align 8, !tbaa !5
  %183 = load ptr, ptr %9, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.qhT, ptr %183, i32 0, i32 158
  %185 = load ptr, ptr %184, align 8, !tbaa !24
  %186 = load double, ptr %19, align 8, !tbaa !11
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %182, ptr noundef %185, i32 noundef 8030, ptr noundef @.str.77, double noundef %186)
  %187 = load ptr, ptr %9, align 8, !tbaa !5
  %188 = load ptr, ptr %9, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.qhT, ptr %188, i32 0, i32 158
  %190 = load ptr, ptr %189, align 8, !tbaa !24
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %187, ptr noundef %190, i32 noundef 8031, ptr noundef @.str.55)
  store i32 0, ptr %8, align 4
  store i32 1, ptr %23, align 4
  br label %191

191:                                              ; preds = %167, %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  %192 = load i32, ptr %8, align 4
  ret i32 %192
}

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 }

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

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


; 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.55 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.79 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: mustprogress 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, ...) local_unnamed_addr #1

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

; Function Attrs: mustprogress 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_divzero(double noundef, double noundef, double noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @qh_sethalfspace(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef readonly %5, ptr nocapture noundef readonly %6) local_unnamed_addr #3 {
  %8 = ptrtoint ptr %4 to i64
  %9 = ptrtoint ptr %2 to i64
  %10 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  %11 = load double, ptr %5, align 8, !tbaa !5
  %.not89 = icmp eq i32 %1, 0
  br i1 %.not89, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %7
  %xtraiter = and i32 %1, 3
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader, %.lr.ph.prol
  %.093.prol = phi i32 [ %12, %.lr.ph.prol ], [ %1, %.lr.ph.preheader ]
  %.06792.prol = phi double [ %17, %.lr.ph.prol ], [ %11, %.lr.ph.preheader ]
  %.07291.prol = phi ptr [ %15, %.lr.ph.prol ], [ %6, %.lr.ph.preheader ]
  %.07490.prol = phi ptr [ %13, %.lr.ph.prol ], [ %4, %.lr.ph.preheader ]
  %prol.iter = phi i32 [ %prol.iter.next, %.lr.ph.prol ], [ 0, %.lr.ph.preheader ]
  %12 = add nsw i32 %.093.prol, -1
  %13 = getelementptr inbounds i8, ptr %.07490.prol, i64 8
  %14 = load double, ptr %.07490.prol, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %.07291.prol, i64 8
  %16 = load double, ptr %.07291.prol, align 8, !tbaa !5
  %17 = tail call double @llvm.fmuladd.f64(double %14, double %16, double %.06792.prol)
  %prol.iter.next = add i32 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i32 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol, !llvm.loop !9

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader
  %.lcssa137.unr = phi double [ poison, %.lr.ph.preheader ], [ %17, %.lr.ph.prol ]
  %.093.unr = phi i32 [ %1, %.lr.ph.preheader ], [ %12, %.lr.ph.prol ]
  %.06792.unr = phi double [ %11, %.lr.ph.preheader ], [ %17, %.lr.ph.prol ]
  %.07291.unr = phi ptr [ %6, %.lr.ph.preheader ], [ %15, %.lr.ph.prol ]
  %.07490.unr = phi ptr [ %4, %.lr.ph.preheader ], [ %13, %.lr.ph.prol ]
  %18 = icmp ult i32 %1, 4
  br i1 %18, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %.093 = phi i32 [ %34, %.lr.ph ], [ %.093.unr, %.lr.ph.prol.loopexit ]
  %.06792 = phi double [ %39, %.lr.ph ], [ %.06792.unr, %.lr.ph.prol.loopexit ]
  %.07291 = phi ptr [ %37, %.lr.ph ], [ %.07291.unr, %.lr.ph.prol.loopexit ]
  %.07490 = phi ptr [ %35, %.lr.ph ], [ %.07490.unr, %.lr.ph.prol.loopexit ]
  %19 = getelementptr inbounds i8, ptr %.07490, i64 8
  %20 = load double, ptr %.07490, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %.07291, i64 8
  %22 = load double, ptr %.07291, align 8, !tbaa !5
  %23 = tail call double @llvm.fmuladd.f64(double %20, double %22, double %.06792)
  %24 = getelementptr inbounds i8, ptr %.07490, i64 16
  %25 = load double, ptr %19, align 8, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %.07291, i64 16
  %27 = load double, ptr %21, align 8, !tbaa !5
  %28 = tail call double @llvm.fmuladd.f64(double %25, double %27, double %23)
  %29 = getelementptr inbounds i8, ptr %.07490, i64 24
  %30 = load double, ptr %24, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %.07291, i64 24
  %32 = load double, ptr %26, align 8, !tbaa !5
  %33 = tail call double @llvm.fmuladd.f64(double %30, double %32, double %28)
  %34 = add nsw i32 %.093, -4
  %35 = getelementptr inbounds i8, ptr %.07490, i64 32
  %36 = load double, ptr %29, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %.07291, i64 32
  %38 = load double, ptr %31, align 8, !tbaa !5
  %39 = tail call double @llvm.fmuladd.f64(double %36, double %38, double %33)
  %.not.3 = icmp eq i32 %34, 0
  br i1 %.not.3, label %._crit_edge, label %.lr.ph, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %7
  %.067.lcssa = phi double [ %11, %7 ], [ %.lcssa137.unr, %.lr.ph.prol.loopexit ], [ %39, %.lr.ph ]
  %40 = fcmp ogt double %.067.lcssa, 0.000000e+00
  br i1 %40, label %.loopexit87, label %41

41:                                               ; preds = %._crit_edge
  %42 = getelementptr inbounds i8, ptr %0, i64 1840
  %43 = load double, ptr %42, align 8, !tbaa !13
  %44 = fneg double %43
  %45 = fcmp olt double %.067.lcssa, %44
  br i1 %45, label %.preheader, label %.preheader85

.preheader85:                                     ; preds = %41
  %46 = fneg double %.067.lcssa
  %47 = getelementptr inbounds i8, ptr %0, i64 1832
  br label %79

.preheader:                                       ; preds = %41
  br i1 %.not89, label %.loopexit, label %.lr.ph98

.lr.ph98:                                         ; preds = %.preheader
  %48 = fneg double %.067.lcssa
  %49 = zext i32 %1 to i64
  %min.iters.check = icmp eq i32 %1, 1
  %50 = sub i64 %9, %8
  %diff.check = icmp ult i64 %50, 16
  %or.cond = or i1 %min.iters.check, %diff.check
  br i1 %or.cond, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph98
  %n.vec = and i64 %49, 4294967294
  %.cast = trunc nuw i64 %n.vec to i32
  %ind.end = sub i32 %1, %.cast
  %51 = shl nuw nsw i64 %n.vec, 3
  %ind.end129 = getelementptr i8, ptr %2, i64 %51
  %52 = shl nuw nsw i64 %n.vec, 3
  %ind.end131 = getelementptr i8, ptr %4, i64 %52
  %broadcast.splatinsert = insertelement <2 x double> poison, double %48, 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 %2, i64 %offset.idx
  %offset.idx133 = shl i64 %index, 3
  %next.gep134 = getelementptr i8, ptr %4, i64 %offset.idx133
  %wide.load = load <2 x double>, ptr %next.gep134, align 8, !tbaa !5
  %53 = fdiv <2 x double> %wide.load, %broadcast.splat
  store <2 x double> %53, ptr %next.gep, align 8, !tbaa !5
  %index.next = add nuw i64 %index, 2
  %54 = icmp eq i64 %index.next, %n.vec
  br i1 %54, label %middle.block, label %vector.body, !llvm.loop !20

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

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph98
  %.197.ph = phi i32 [ %1, %.lr.ph98 ], [ %ind.end, %middle.block ]
  %.06896.ph = phi ptr [ %2, %.lr.ph98 ], [ %ind.end129, %middle.block ]
  %.17595.ph = phi ptr [ %4, %.lr.ph98 ], [ %ind.end131, %middle.block ]
  %55 = add nsw i32 %.197.ph, -1
  %xtraiter138 = and i32 %.197.ph, 3
  %lcmp.mod139.not = icmp eq i32 %xtraiter138, 0
  br i1 %lcmp.mod139.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %.197.prol = phi i32 [ %56, %scalar.ph.prol ], [ %.197.ph, %scalar.ph.preheader ]
  %.06896.prol = phi ptr [ %60, %scalar.ph.prol ], [ %.06896.ph, %scalar.ph.preheader ]
  %.17595.prol = phi ptr [ %57, %scalar.ph.prol ], [ %.17595.ph, %scalar.ph.preheader ]
  %prol.iter140 = phi i32 [ %prol.iter140.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %56 = add nsw i32 %.197.prol, -1
  %57 = getelementptr inbounds i8, ptr %.17595.prol, i64 8
  %58 = load double, ptr %.17595.prol, align 8, !tbaa !5
  %59 = fdiv double %58, %48
  %60 = getelementptr inbounds i8, ptr %.06896.prol, i64 8
  store double %59, ptr %.06896.prol, align 8, !tbaa !5
  %prol.iter140.next = add i32 %prol.iter140, 1
  %prol.iter140.cmp.not = icmp eq i32 %prol.iter140.next, %xtraiter138
  br i1 %prol.iter140.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !23

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %.lcssa.unr = phi ptr [ poison, %scalar.ph.preheader ], [ %60, %scalar.ph.prol ]
  %.197.unr = phi i32 [ %.197.ph, %scalar.ph.preheader ], [ %56, %scalar.ph.prol ]
  %.06896.unr = phi ptr [ %.06896.ph, %scalar.ph.preheader ], [ %60, %scalar.ph.prol ]
  %.17595.unr = phi ptr [ %.17595.ph, %scalar.ph.preheader ], [ %57, %scalar.ph.prol ]
  %61 = icmp ult i32 %55, 3
  br i1 %61, label %.loopexit, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %.197 = phi i32 [ %74, %scalar.ph ], [ %.197.unr, %scalar.ph.prol.loopexit ]
  %.06896 = phi ptr [ %78, %scalar.ph ], [ %.06896.unr, %scalar.ph.prol.loopexit ]
  %.17595 = phi ptr [ %75, %scalar.ph ], [ %.17595.unr, %scalar.ph.prol.loopexit ]
  %62 = getelementptr inbounds i8, ptr %.17595, i64 8
  %63 = load double, ptr %.17595, align 8, !tbaa !5
  %64 = fdiv double %63, %48
  %65 = getelementptr inbounds i8, ptr %.06896, i64 8
  store double %64, ptr %.06896, align 8, !tbaa !5
  %66 = getelementptr inbounds i8, ptr %.17595, i64 16
  %67 = load double, ptr %62, align 8, !tbaa !5
  %68 = fdiv double %67, %48
  %69 = getelementptr inbounds i8, ptr %.06896, i64 16
  store double %68, ptr %65, align 8, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %.17595, i64 24
  %71 = load double, ptr %66, align 8, !tbaa !5
  %72 = fdiv double %71, %48
  %73 = getelementptr inbounds i8, ptr %.06896, i64 24
  store double %72, ptr %69, align 8, !tbaa !5
  %74 = add nsw i32 %.197, -4
  %75 = getelementptr inbounds i8, ptr %.17595, i64 32
  %76 = load double, ptr %70, align 8, !tbaa !5
  %77 = fdiv double %76, %48
  %78 = getelementptr inbounds i8, ptr %.06896, i64 32
  store double %77, ptr %73, align 8, !tbaa !5
  %.not81.3 = icmp eq i32 %74, 0
  br i1 %.not81.3, label %.loopexit, label %scalar.ph, !llvm.loop !24

79:                                               ; preds = %.preheader85, %80
  %.276 = phi ptr [ %82, %80 ], [ %4, %.preheader85 ]
  %.169 = phi ptr [ %86, %80 ], [ %2, %.preheader85 ]
  %.2 = phi i32 [ %81, %80 ], [ %1, %.preheader85 ]
  %.not79 = icmp eq i32 %.2, 0
  br i1 %.not79, label %.loopexit, label %80

80:                                               ; preds = %79
  %81 = add nsw i32 %.2, -1
  %82 = getelementptr inbounds i8, ptr %.276, i64 8
  %83 = load double, ptr %.276, align 8, !tbaa !5
  %84 = load double, ptr %47, align 8, !tbaa !25
  %85 = call double @qh_divzero(double noundef %83, double noundef %46, double noundef %84, ptr noundef nonnull %10)
  %86 = getelementptr inbounds i8, ptr %.169, i64 8
  store double %85, ptr %.169, align 8, !tbaa !5
  %87 = load i32, ptr %10, align 4, !tbaa !26
  %.not80 = icmp eq i32 %87, 0
  br i1 %.not80, label %79, label %.loopexit87, !llvm.loop !27

.loopexit:                                        ; preds = %79, %scalar.ph.prol.loopexit, %scalar.ph, %middle.block, %.preheader
  %.270 = phi ptr [ %2, %.preheader ], [ %ind.end129, %middle.block ], [ %.lcssa.unr, %scalar.ph.prol.loopexit ], [ %78, %scalar.ph ], [ %.169, %79 ]
  store ptr %.270, ptr %3, align 8, !tbaa !28
  %88 = getelementptr inbounds i8, ptr %0, i64 136
  %89 = load i32, ptr %88, align 8, !tbaa !29
  %90 = icmp sgt i32 %89, 3
  br i1 %90, label %91, label %117

91:                                               ; preds = %.loopexit
  %92 = getelementptr inbounds i8, ptr %0, i64 2424
  %93 = load ptr, ptr %92, align 8, !tbaa !30
  %94 = load double, ptr %5, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %93, i32 noundef 8021, ptr noundef nonnull @.str.74, double noundef %94) #4
  br i1 %.not89, label %.sink.split, label %.lr.ph104

.lr.ph104:                                        ; preds = %91, %.lr.ph104
  %.3102 = phi i32 [ %95, %.lr.ph104 ], [ %1, %91 ]
  %.371101 = phi ptr [ %96, %.lr.ph104 ], [ %2, %91 ]
  %95 = add nsw i32 %.3102, -1
  %96 = getelementptr inbounds i8, ptr %.371101, i64 8
  %97 = load double, ptr %.371101, align 8, !tbaa !5
  %98 = load ptr, ptr %92, align 8, !tbaa !30
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %98, i32 noundef 8022, ptr noundef nonnull @.str.75, double noundef %97) #4
  %.not82 = icmp eq i32 %95, 0
  br i1 %.not82, label %.sink.split, label %.lr.ph104, !llvm.loop !31

.loopexit87:                                      ; preds = %80, %._crit_edge
  %99 = getelementptr inbounds i8, ptr %0, i64 2424
  %100 = load ptr, ptr %99, align 8, !tbaa !30
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %0, ptr noundef %100, i32 noundef 6023, ptr noundef nonnull @.str.76) #4
  br i1 %.not89, label %._crit_edge111.thread, label %.lr.ph110

._crit_edge111.thread:                            ; preds = %.loopexit87
  %101 = load ptr, ptr %99, align 8, !tbaa !30
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %101, i32 noundef 8025, ptr noundef nonnull @.str.78) #4
  br label %._crit_edge117

.lr.ph110:                                        ; preds = %.loopexit87, %.lr.ph110
  %.4108 = phi i32 [ %102, %.lr.ph110 ], [ %1, %.loopexit87 ]
  %.173107 = phi ptr [ %104, %.lr.ph110 ], [ %6, %.loopexit87 ]
  %102 = add nsw i32 %.4108, -1
  %103 = load ptr, ptr %99, align 8, !tbaa !30
  %104 = getelementptr inbounds i8, ptr %.173107, i64 8
  %105 = load double, ptr %.173107, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %103, i32 noundef 8024, ptr noundef nonnull @.str.77, double noundef %105) #4
  %.not83 = icmp eq i32 %102, 0
  br i1 %.not83, label %._crit_edge111, label %.lr.ph110, !llvm.loop !32

._crit_edge111:                                   ; preds = %.lr.ph110
  %106 = load ptr, ptr %99, align 8, !tbaa !30
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %106, i32 noundef 8025, ptr noundef nonnull @.str.78) #4
  br i1 %.not89, label %._crit_edge117, label %.lr.ph116

.lr.ph116:                                        ; preds = %._crit_edge111, %.lr.ph116
  %.5114 = phi i32 [ %107, %.lr.ph116 ], [ %1, %._crit_edge111 ]
  %.377113 = phi ptr [ %109, %.lr.ph116 ], [ %4, %._crit_edge111 ]
  %107 = add nsw i32 %.5114, -1
  %108 = load ptr, ptr %99, align 8, !tbaa !30
  %109 = getelementptr inbounds i8, ptr %.377113, i64 8
  %110 = load double, ptr %.377113, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %108, i32 noundef 8026, ptr noundef nonnull @.str.77, double noundef %110) #4
  %.not84 = icmp eq i32 %107, 0
  br i1 %.not84, label %._crit_edge117, label %.lr.ph116, !llvm.loop !33

._crit_edge117:                                   ; preds = %.lr.ph116, %._crit_edge111.thread, %._crit_edge111
  %111 = load ptr, ptr %99, align 8, !tbaa !30
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %111, i32 noundef 8027, ptr noundef nonnull @.str.79) #4
  %112 = load ptr, ptr %99, align 8, !tbaa !30
  %113 = load double, ptr %5, align 8, !tbaa !5
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %112, i32 noundef 8028, ptr noundef nonnull @.str.77, double noundef %113) #4
  %114 = load ptr, ptr %99, align 8, !tbaa !30
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %114, i32 noundef 8029, ptr noundef nonnull @.str.80) #4
  %115 = load ptr, ptr %99, align 8, !tbaa !30
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %115, i32 noundef 8030, ptr noundef nonnull @.str.77, double noundef %.067.lcssa) #4
  br label %.sink.split

.sink.split:                                      ; preds = %.lr.ph104, %91, %._crit_edge117
  %.sink125 = phi ptr [ %99, %._crit_edge117 ], [ %92, %91 ], [ %92, %.lr.ph104 ]
  %.sink124 = phi i32 [ 8031, %._crit_edge117 ], [ 8023, %91 ], [ 8023, %.lr.ph104 ]
  %.078.ph = phi i32 [ 0, %._crit_edge117 ], [ 1, %91 ], [ 1, %.lr.ph104 ]
  %116 = load ptr, ptr %.sink125, align 8, !tbaa !30
  call void (ptr, ptr, i32, ptr, ...) @qh_fprintf(ptr noundef nonnull %0, ptr noundef %116, i32 noundef %.sink124, ptr noundef nonnull @.str.55) #4
  br label %117

117:                                              ; preds = %.sink.split, %.loopexit
  %.078 = phi i32 [ 1, %.loopexit ], [ %.078.ph, %.sink.split ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  ret i32 %.078
}

attributes #0 = { mustprogress 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 = { mustprogress 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 }

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


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