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

@hidden_options = external dso_local global [110 x i8], align 16
@qh_prompta = external dso_local global [870 x i8], align 16
@qh_promptb = external dso_local global [599 x i8], align 16
@qh_promptc = external dso_local global [1399 x i8], align 16
@qh_promptd = external dso_local global [1112 x i8], align 16
@qh_prompte = external dso_local global [1062 x i8], align 16
@qh_prompt2 = external dso_local global [1241 x i8], align 16
@qh_prompt3 = external dso_local global [1175 x i8], align 16
@stdout = external global ptr, align 8
@qh_version = external constant [0 x i8], align 1
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@qh_version2 = external constant [0 x i8], align 1
@stdin = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [116 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [80 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %struct.qhT, align 8
  %14 = alloca ptr, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8768, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store ptr %13, ptr %14, align 8, !tbaa !9
  call void @qh_lib_check(i32 noundef 2, i32 noundef 8768, i32 noundef 48, i32 noundef 32, i32 noundef 120, i32 noundef 16, i32 noundef 152)
  %15 = load i32, ptr %4, align 4, !tbaa !5
  %16 = icmp eq i32 %15, 1
  br i1 %16, label %17, label %23

17:                                               ; preds = %2
  %18 = call i32 @isatty(i32 noundef 0)
  %19 = icmp ne i32 %18, 0
  br i1 %19, label %20, label %23

20:                                               ; preds = %17
  %21 = load ptr, ptr @stdout, align 8, !tbaa !9
  %22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @qh_prompt2, ptr noundef @qh_version) #6
  call void @exit(i32 noundef 0) #7
  unreachable

23:                                               ; preds = %17, %2
  %24 = load i32, ptr %4, align 4, !tbaa !5
  %25 = icmp sgt i32 %24, 1
  br i1 %25, label %26, label %52

26:                                               ; preds = %23
  %27 = load ptr, ptr %5, align 8, !tbaa !9
  %28 = getelementptr inbounds ptr, ptr %27, i64 1
  %29 = load ptr, ptr %28, align 8, !tbaa !9
  %30 = load i8, ptr %29, align 1, !tbaa !11
  %31 = sext i8 %30 to i32
  %32 = icmp eq i32 %31, 45
  br i1 %32, label %33, label %52

33:                                               ; preds = %26
  %34 = load ptr, ptr %5, align 8, !tbaa !9
  %35 = getelementptr inbounds ptr, ptr %34, i64 1
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  %37 = getelementptr inbounds i8, ptr %36, i64 1
  %38 = load i8, ptr %37, align 1, !tbaa !11
  %39 = sext i8 %38 to i32
  %40 = icmp eq i32 %39, 63
  br i1 %40, label %49, label %41

41:                                               ; preds = %33
  %42 = load ptr, ptr %5, align 8, !tbaa !9
  %43 = getelementptr inbounds ptr, ptr %42, i64 1
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  %45 = getelementptr inbounds i8, ptr %44, i64 1
  %46 = load i8, ptr %45, align 1, !tbaa !11
  %47 = sext i8 %46 to i32
  %48 = icmp eq i32 %47, 45
  br i1 %48, label %49, label %52

49:                                               ; preds = %41, %33
  %50 = load ptr, ptr @stdout, align 8, !tbaa !9
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @qh_prompt2, ptr noundef @qh_version) #6
  call void @exit(i32 noundef 0) #7
  unreachable

52:                                               ; preds = %41, %26, %23
  %53 = load i32, ptr %4, align 4, !tbaa !5
  %54 = icmp sgt i32 %53, 1
  br i1 %54, label %55, label %72

55:                                               ; preds = %52
  %56 = load ptr, ptr %5, align 8, !tbaa !9
  %57 = getelementptr inbounds ptr, ptr %56, i64 1
  %58 = load ptr, ptr %57, align 8, !tbaa !9
  %59 = load i8, ptr %58, align 1, !tbaa !11
  %60 = sext i8 %59 to i32
  %61 = icmp eq i32 %60, 45
  br i1 %61, label %62, label %72

62:                                               ; preds = %55
  %63 = load ptr, ptr %5, align 8, !tbaa !9
  %64 = getelementptr inbounds ptr, ptr %63, i64 1
  %65 = load ptr, ptr %64, align 8, !tbaa !9
  %66 = getelementptr inbounds i8, ptr %65, i64 1
  %67 = load i8, ptr %66, align 1, !tbaa !11
  %68 = icmp ne i8 %67, 0
  br i1 %68, label %72, label %69

69:                                               ; preds = %62
  %70 = load ptr, ptr @stdout, align 8, !tbaa !9
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef @qh_prompta, ptr noundef @qh_version, ptr noundef @qh_promptb, ptr noundef @qh_promptc, ptr noundef @qh_promptd, ptr noundef @qh_prompte) #6
  call void @exit(i32 noundef 0) #7
  unreachable

72:                                               ; preds = %62, %55, %52
  %73 = load i32, ptr %4, align 4, !tbaa !5
  %74 = icmp sgt i32 %73, 1
  br i1 %74, label %75, label %92

75:                                               ; preds = %72
  %76 = load ptr, ptr %5, align 8, !tbaa !9
  %77 = getelementptr inbounds ptr, ptr %76, i64 1
  %78 = load ptr, ptr %77, align 8, !tbaa !9
  %79 = load i8, ptr %78, align 1, !tbaa !11
  %80 = sext i8 %79 to i32
  %81 = icmp eq i32 %80, 46
  br i1 %81, label %82, label %92

82:                                               ; preds = %75
  %83 = load ptr, ptr %5, align 8, !tbaa !9
  %84 = getelementptr inbounds ptr, ptr %83, i64 1
  %85 = load ptr, ptr %84, align 8, !tbaa !9
  %86 = getelementptr inbounds i8, ptr %85, i64 1
  %87 = load i8, ptr %86, align 1, !tbaa !11
  %88 = icmp ne i8 %87, 0
  br i1 %88, label %92, label %89

89:                                               ; preds = %82
  %90 = load ptr, ptr @stdout, align 8, !tbaa !9
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %90, ptr noundef @qh_prompt3, ptr noundef @qh_version) #6
  call void @exit(i32 noundef 0) #7
  unreachable

92:                                               ; preds = %82, %75, %72
  %93 = load i32, ptr %4, align 4, !tbaa !5
  %94 = icmp sgt i32 %93, 1
  br i1 %94, label %95, label %113

95:                                               ; preds = %92
  %96 = load ptr, ptr %5, align 8, !tbaa !9
  %97 = getelementptr inbounds ptr, ptr %96, i64 1
  %98 = load ptr, ptr %97, align 8, !tbaa !9
  %99 = load i8, ptr %98, align 1, !tbaa !11
  %100 = sext i8 %99 to i32
  %101 = icmp eq i32 %100, 45
  br i1 %101, label %102, label %113

102:                                              ; preds = %95
  %103 = load ptr, ptr %5, align 8, !tbaa !9
  %104 = getelementptr inbounds ptr, ptr %103, i64 1
  %105 = load ptr, ptr %104, align 8, !tbaa !9
  %106 = getelementptr inbounds i8, ptr %105, i64 1
  %107 = load i8, ptr %106, align 1, !tbaa !11
  %108 = sext i8 %107 to i32
  %109 = icmp eq i32 %108, 86
  br i1 %109, label %110, label %113

110:                                              ; preds = %102
  %111 = load ptr, ptr @stdout, align 8, !tbaa !9
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str, ptr noundef @qh_version2) #6
  call void @exit(i32 noundef 0) #7
  unreachable

113:                                              ; preds = %102, %95, %92
  %114 = load ptr, ptr %14, align 8, !tbaa !9
  %115 = load ptr, ptr @stdin, align 8, !tbaa !9
  %116 = load ptr, ptr @stdout, align 8, !tbaa !9
  %117 = load ptr, ptr @stderr, align 8, !tbaa !9
  %118 = load i32, ptr %4, align 4, !tbaa !5
  %119 = load ptr, ptr %5, align 8, !tbaa !9
  call void @qh_init_A(ptr noundef %114, ptr noundef %115, ptr noundef %116, ptr noundef %117, i32 noundef %118, ptr noundef %119)
  %120 = load ptr, ptr %14, align 8, !tbaa !9
  %121 = getelementptr inbounds %struct.qhT, ptr %120, i32 0, i32 152
  %122 = getelementptr inbounds [1 x %struct.__jmp_buf_tag], ptr %121, i64 0, i64 0
  %123 = call i32 @_setjmp(ptr noundef %122) #8
  store i32 %123, ptr %8, align 4, !tbaa !5
  %124 = load i32, ptr %8, align 4, !tbaa !5
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %183, label %126

126:                                              ; preds = %113
  %127 = load ptr, ptr %14, align 8, !tbaa !9
  %128 = getelementptr inbounds %struct.qhT, ptr %127, i32 0, i32 206
  store i32 0, ptr %128, align 8, !tbaa !12
  %129 = load ptr, ptr %14, align 8, !tbaa !9
  call void @qh_option(ptr noundef %129, ptr noundef @.str.1, ptr noundef null, ptr noundef null)
  %130 = load ptr, ptr %14, align 8, !tbaa !9
  %131 = getelementptr inbounds %struct.qhT, ptr %130, i32 0, i32 27
  store i32 1, ptr %131, align 8, !tbaa !18
  %132 = load ptr, ptr %14, align 8, !tbaa !9
  %133 = load ptr, ptr %14, align 8, !tbaa !9
  %134 = getelementptr inbounds %struct.qhT, ptr %133, i32 0, i32 117
  %135 = getelementptr inbounds [256 x i8], ptr %134, i64 0, i64 0
  call void @qh_checkflags(ptr noundef %132, ptr noundef %135, ptr noundef @hidden_options)
  %136 = load ptr, ptr %14, align 8, !tbaa !9
  %137 = load ptr, ptr %14, align 8, !tbaa !9
  %138 = getelementptr inbounds %struct.qhT, ptr %137, i32 0, i32 117
  %139 = getelementptr inbounds [256 x i8], ptr %138, i64 0, i64 0
  call void @qh_initflags(ptr noundef %136, ptr noundef %139)
  %140 = load ptr, ptr %14, align 8, !tbaa !9
  %141 = getelementptr inbounds %struct.qhT, ptr %140, i32 0, i32 81
  %142 = load i32, ptr %141, align 4, !tbaa !19
  %143 = icmp ne i32 %142, 0
  br i1 %143, label %144, label %150

144:                                              ; preds = %126
  %145 = load ptr, ptr %14, align 8, !tbaa !9
  %146 = getelementptr inbounds %struct.qhT, ptr %145, i32 0, i32 158
  %147 = load ptr, ptr %146, align 8, !tbaa !20
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %147, ptr noundef @.str.2) #6
  %149 = load ptr, ptr %14, align 8, !tbaa !9
  call void @qh_errexit(ptr noundef %149, i32 noundef 1, ptr noundef null, ptr noundef null)
  br label %150

150:                                              ; preds = %144, %126
  %151 = load ptr, ptr %14, align 8, !tbaa !9
  %152 = call ptr @qh_readpoints(ptr noundef %151, ptr noundef %9, ptr noundef %10, ptr noundef %12)
  store ptr %152, ptr %11, align 8, !tbaa !9
  %153 = load ptr, ptr %14, align 8, !tbaa !9
  %154 = load ptr, ptr %11, align 8, !tbaa !9
  %155 = load i32, ptr %9, align 4, !tbaa !5
  %156 = load i32, ptr %10, align 4, !tbaa !5
  %157 = load i32, ptr %12, align 4, !tbaa !5
  call void @qh_init_B(ptr noundef %153, ptr noundef %154, i32 noundef %155, i32 noundef %156, i32 noundef %157)
  %158 = load ptr, ptr %14, align 8, !tbaa !9
  call void @qh_qhull(ptr noundef %158)
  %159 = load ptr, ptr %14, align 8, !tbaa !9
  call void @qh_check_output(ptr noundef %159)
  %160 = load ptr, ptr %14, align 8, !tbaa !9
  call void @qh_produce_output(ptr noundef %160)
  %161 = load ptr, ptr %14, align 8, !tbaa !9
  %162 = getelementptr inbounds %struct.qhT, ptr %161, i32 0, i32 101
  %163 = load i32, ptr %162, align 4, !tbaa !21
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %182

165:                                              ; preds = %150
  %166 = load ptr, ptr %14, align 8, !tbaa !9
  %167 = getelementptr inbounds %struct.qhT, ptr %166, i32 0, i32 21
  %168 = load i32, ptr %167, align 8, !tbaa !22
  %169 = icmp ne i32 %168, 0
  br i1 %169, label %182, label %170

170:                                              ; preds = %165
  %171 = load ptr, ptr %14, align 8, !tbaa !9
  %172 = getelementptr inbounds %struct.qhT, ptr %171, i32 0, i32 89
  %173 = load i32, ptr %172, align 4, !tbaa !23
  %174 = icmp ne i32 %173, 0
  br i1 %174, label %182, label %175

175:                                              ; preds = %170
  %176 = load ptr, ptr %14, align 8, !tbaa !9
  %177 = getelementptr inbounds %struct.qhT, ptr %176, i32 0, i32 88
  %178 = load i32, ptr %177, align 8, !tbaa !24
  %179 = icmp ne i32 %178, 0
  br i1 %179, label %182, label %180

180:                                              ; preds = %175
  %181 = load ptr, ptr %14, align 8, !tbaa !9
  call void @qh_check_points(ptr noundef %181)
  br label %182

182:                                              ; preds = %180, %175, %170, %165, %150
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %183

183:                                              ; preds = %182, %113
  %184 = load ptr, ptr %14, align 8, !tbaa !9
  %185 = getelementptr inbounds %struct.qhT, ptr %184, i32 0, i32 206
  store i32 1, ptr %185, align 8, !tbaa !12
  %186 = load ptr, ptr %14, align 8, !tbaa !9
  call void @qh_freeqhull(ptr noundef %186, i32 noundef 0)
  %187 = load ptr, ptr %14, align 8, !tbaa !9
  call void @qh_memfreeshort(ptr noundef %187, ptr noundef %6, ptr noundef %7)
  %188 = load i32, ptr %6, align 4, !tbaa !5
  %189 = icmp ne i32 %188, 0
  br i1 %189, label %193, label %190

190:                                              ; preds = %183
  %191 = load i32, ptr %7, align 4, !tbaa !5
  %192 = icmp ne i32 %191, 0
  br i1 %192, label %193, label %196

193:                                              ; preds = %190, %183
  %194 = load i32, ptr %7, align 4, !tbaa !5
  %195 = load i32, ptr %6, align 4, !tbaa !5
  call void (i32, ptr, ...) @qh_fprintf_stderr(i32 noundef 7079, ptr noundef @.str.3, i32 noundef %194, i32 noundef %195)
  br label %196

196:                                              ; preds = %193, %190
  %197 = load i32, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8768, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  ret i32 %197
}

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

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

declare i32 @isatty(i32 noundef) #2

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #4

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

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

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

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

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

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

declare ptr @qh_readpoints(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

declare void @qh_qhull(ptr noundef) #2

declare void @qh_check_output(ptr noundef) #2

declare void @qh_produce_output(ptr noundef) #2

declare void @qh_check_points(ptr noundef) #2

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

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

declare void @qh_fprintf_stderr(i32 noundef, ptr noundef, ...) #2

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind returns_twice "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn nounwind }
attributes #8 = { nounwind returns_twice }

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.qhT = type { i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, double, double, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [29 x i32], i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, double, i32, ptr, ptr, i32, i32, i32, i32, i32, ptr, i32, ptr, i32, [256 x i8], i32, [256 x i8], [512 x i8], i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, double, double, double, double, double, double, double, double, double, double, double, double, double, double, ptr, double, double, double, double, i32, [6 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], [1 x %struct.__jmp_buf_tag], [40 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, ptr, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, ptr, ptr, i32, i32, i32, double, i32, double, double, double, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, ptr, double, double, double, double, i32, i32, i32, i32, i32, i32, ptr, i32, i32, [1 x %struct.__jmp_buf_tag], [40 x i8], i32, double, ptr, ptr, ptr, %struct.qhmemT, %struct.qhstatT }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%struct.qhmemT = type { i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.qhstatT = type { [249 x %union.intrealT], [259 x i8], [249 x ptr], [249 x i16], [249 x i8], [249 x i8], [9 x %union.intrealT], i32, i32, i32, i32, double }
%union.intrealT = type { double }

@hidden_options = external dso_local global [110 x i8], align 16
@qh_prompta = external dso_local global [870 x i8], align 16
@qh_promptb = external dso_local global [599 x i8], align 16
@qh_promptc = external dso_local global [1399 x i8], align 16
@qh_promptd = external dso_local global [1112 x i8], align 16
@qh_prompte = external dso_local global [1062 x i8], align 16
@qh_prompt2 = external dso_local global [1241 x i8], align 16
@qh_prompt3 = external dso_local global [1175 x i8], align 16
@stdout = external local_unnamed_addr global ptr, align 8
@qh_version = external constant [0 x i8], align 1
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@qh_version2 = external constant [0 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [116 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [80 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %struct.qhT, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8768, ptr nonnull %8) #6
  call void @qh_lib_check(i32 noundef 2, i32 noundef 8768, i32 noundef 48, i32 noundef 32, i32 noundef 120, i32 noundef 16, i32 noundef 152) #6
  %9 = icmp eq i32 %0, 1
  br i1 %9, label %10, label %15

10:                                               ; preds = %2
  %11 = call i32 @isatty(i32 noundef 0) #6
  %.not = icmp eq i32 %11, 0
  br i1 %.not, label %.critedge55, label %12

12:                                               ; preds = %10
  %13 = load ptr, ptr @stdout, align 8, !tbaa !5
  %14 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef nonnull @qh_prompt2, ptr noundef nonnull @qh_version) #6
  call void @exit(i32 noundef 0) #7
  unreachable

15:                                               ; preds = %2
  %16 = icmp sgt i32 %0, 1
  br i1 %16, label %17, label %.critedge55

17:                                               ; preds = %15
  %18 = getelementptr inbounds i8, ptr %1, i64 8
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = load i8, ptr %19, align 1, !tbaa !9
  switch i8 %20, label %.critedge55 [
    i8 45, label %21
    i8 46, label %30
  ]

21:                                               ; preds = %17
  %22 = getelementptr inbounds i8, ptr %19, i64 1
  %23 = load i8, ptr %22, align 1, !tbaa !9
  switch i8 %23, label %.critedge55 [
    i8 63, label %24
    i8 45, label %24
    i8 0, label %27
    i8 86, label %36
  ]

24:                                               ; preds = %21, %21
  %25 = load ptr, ptr @stdout, align 8, !tbaa !5
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef nonnull @qh_prompt2, ptr noundef nonnull @qh_version) #6
  call void @exit(i32 noundef 0) #7
  unreachable

27:                                               ; preds = %21
  %28 = load ptr, ptr @stdout, align 8, !tbaa !5
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef nonnull @qh_prompta, ptr noundef nonnull @qh_version, ptr noundef nonnull @qh_promptb, ptr noundef nonnull @qh_promptc, ptr noundef nonnull @qh_promptd, ptr noundef nonnull @qh_prompte) #6
  call void @exit(i32 noundef 0) #7
  unreachable

30:                                               ; preds = %17
  %31 = getelementptr inbounds i8, ptr %19, i64 1
  %32 = load i8, ptr %31, align 1, !tbaa !9
  %.not47 = icmp eq i8 %32, 0
  br i1 %.not47, label %33, label %.critedge55

33:                                               ; preds = %30
  %34 = load ptr, ptr @stdout, align 8, !tbaa !5
  %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef nonnull @qh_prompt3, ptr noundef nonnull @qh_version) #6
  call void @exit(i32 noundef 0) #7
  unreachable

36:                                               ; preds = %21
  %37 = load ptr, ptr @stdout, align 8, !tbaa !5
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %37, ptr noundef nonnull @.str, ptr noundef nonnull @qh_version2) #6
  call void @exit(i32 noundef 0) #7
  unreachable

.critedge55:                                      ; preds = %21, %17, %30, %10, %15
  %39 = load ptr, ptr @stdin, align 8, !tbaa !5
  %40 = load ptr, ptr @stdout, align 8, !tbaa !5
  %41 = load ptr, ptr @stderr, align 8, !tbaa !5
  call void @qh_init_A(ptr noundef nonnull %8, ptr noundef %39, ptr noundef %40, ptr noundef %41, i32 noundef %0, ptr noundef %1) #6
  %42 = getelementptr inbounds i8, ptr %8, i64 1928
  %43 = call i32 @_setjmp(ptr noundef nonnull %42) #8
  %.not48 = icmp eq i32 %43, 0
  br i1 %.not48, label %44, label %68

44:                                               ; preds = %.critedge55
  %45 = getelementptr inbounds i8, ptr %8, i64 2720
  store i32 0, ptr %45, align 8, !tbaa !10
  call void @qh_option(ptr noundef nonnull %8, ptr noundef nonnull @.str.1, ptr noundef null, ptr noundef null) #6
  %46 = getelementptr inbounds i8, ptr %8, i64 128
  store i32 1, ptr %46, align 8, !tbaa !17
  %47 = getelementptr inbounds i8, ptr %8, i64 676
  call void @qh_checkflags(ptr noundef nonnull %8, ptr noundef nonnull %47, ptr noundef nonnull @hidden_options) #6
  call void @qh_initflags(ptr noundef nonnull %8, ptr noundef nonnull %47) #6
  %48 = getelementptr inbounds i8, ptr %8, i64 492
  %49 = load i32, ptr %48, align 4, !tbaa !18
  %.not49 = icmp eq i32 %49, 0
  br i1 %.not49, label %54, label %50

50:                                               ; preds = %44
  %51 = getelementptr inbounds i8, ptr %8, i64 2424
  %52 = load ptr, ptr %51, align 8, !tbaa !19
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef nonnull @.str.2) #6
  call void @qh_errexit(ptr noundef nonnull %8, i32 noundef 1, ptr noundef null, ptr noundef null) #6
  br label %54

54:                                               ; preds = %50, %44
  %55 = call ptr @qh_readpoints(ptr noundef nonnull %8, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7) #6
  %56 = load i32, ptr %5, align 4, !tbaa !20
  %57 = load i32, ptr %6, align 4, !tbaa !20
  %58 = load i32, ptr %7, align 4, !tbaa !20
  call void @qh_init_B(ptr noundef nonnull %8, ptr noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %58) #6
  call void @qh_qhull(ptr noundef nonnull %8) #6
  call void @qh_check_output(ptr noundef nonnull %8) #6
  call void @qh_produce_output(ptr noundef nonnull %8) #6
  %59 = getelementptr inbounds i8, ptr %8, i64 580
  %60 = load i32, ptr %59, align 4, !tbaa !21
  %.not50 = icmp ne i32 %60, 0
  %61 = getelementptr inbounds i8, ptr %8, i64 96
  %62 = load i32, ptr %61, align 8
  %.not51 = icmp eq i32 %62, 0
  %or.cond57 = select i1 %.not50, i1 %.not51, i1 false
  %63 = getelementptr inbounds i8, ptr %8, i64 524
  %64 = load i32, ptr %63, align 4
  %.not52 = icmp eq i32 %64, 0
  %or.cond59 = select i1 %or.cond57, i1 %.not52, i1 false
  %65 = getelementptr inbounds i8, ptr %8, i64 520
  %66 = load i32, ptr %65, align 8
  %.not53 = icmp eq i32 %66, 0
  %or.cond61 = select i1 %or.cond59, i1 %.not53, i1 false
  br i1 %or.cond61, label %67, label %68

67:                                               ; preds = %54
  call void @qh_check_points(ptr noundef nonnull %8) #6
  br label %68

68:                                               ; preds = %54, %67, %.critedge55
  %69 = getelementptr inbounds i8, ptr %8, i64 2720
  store i32 1, ptr %69, align 8, !tbaa !10
  call void @qh_freeqhull(ptr noundef nonnull %8, i32 noundef 0) #6
  call void @qh_memfreeshort(ptr noundef nonnull %8, ptr noundef nonnull %3, ptr noundef nonnull %4) #6
  %70 = load i32, ptr %3, align 4, !tbaa !20
  %71 = icmp ne i32 %70, 0
  %72 = load i32, ptr %4, align 4
  %73 = icmp ne i32 %72, 0
  %or.cond = select i1 %71, i1 true, i1 %73
  br i1 %or.cond, label %74, label %75

74:                                               ; preds = %68
  call void (i32, ptr, ...) @qh_fprintf_stderr(i32 noundef 7079, ptr noundef nonnull @.str.3, i32 noundef %72, i32 noundef %70) #6
  br label %75

75:                                               ; preds = %68, %74
  call void @llvm.lifetime.end.p0(i64 8768, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  ret i32 %43
}

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

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

declare i32 @isatty(i32 noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #4

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

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

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

declare void @qh_checkflags(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

declare ptr @qh_readpoints(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

declare void @qh_qhull(ptr noundef) local_unnamed_addr #2

declare void @qh_check_output(ptr noundef) local_unnamed_addr #2

declare void @qh_produce_output(ptr noundef) local_unnamed_addr #2

declare void @qh_check_points(ptr noundef) local_unnamed_addr #2

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

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

declare void @qh_fprintf_stderr(i32 noundef, ptr noundef, ...) local_unnamed_addr #2

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

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

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

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


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