; LLVM IR from jrl-umi3218/mc_rtc :: 3rd-party/qhull/src/libqhull (user)

; 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, ptr, i32 }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%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 }

@qh_qh = external global %struct.qhT, align 8
@.str.5 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [35 x i8], align 1
@qh_version = external constant [0 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [34 x i8], align 1
@qh_qhstat = external global %struct.qhstatT, align 8
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [155 x i8], align 1

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

declare void @qh_produce_output() #0

; Function Attrs: nounwind uwtable
define dso_local void @qh_errexit(i32 noundef %0, ptr noundef %1, ptr noundef %2) #1 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !9
  store ptr null, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 170), align 8, !tbaa !11
  store ptr null, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 172), align 8, !tbaa !15
  store ptr null, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 174), align 8, !tbaa !16
  %7 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 233), align 8, !tbaa !17
  %8 = icmp ne i32 %7, 0
  br i1 %8, label %9, label %11

9:                                                ; preds = %3
  %10 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %10, i32 noundef 8126, ptr noundef @.str.5)
  call void @qh_exit(i32 noundef 6)
  br label %11

11:                                               ; preds = %9, %3
  store i32 1, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 233), align 8, !tbaa !17
  %12 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 214), align 4, !tbaa !19
  %13 = icmp ne i32 %12, 0
  br i1 %13, label %18, label %14

14:                                               ; preds = %11
  %15 = call i64 @clock() #4
  %16 = load i64, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 186), align 8, !tbaa !20
  %17 = sub i64 %15, %16
  store i64 %17, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 186), align 8, !tbaa !20
  br label %18

18:                                               ; preds = %14, %11
  %19 = load ptr, ptr %5, align 8, !tbaa !9
  %20 = load ptr, ptr %6, align 8, !tbaa !9
  call void @qh_errprint(ptr noundef @.str.6, ptr noundef %19, ptr noundef null, ptr noundef %20, ptr noundef null)
  call void @qh_option(ptr noundef @.str.7, ptr noundef null, ptr noundef getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 137))
  %21 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %21, i32 noundef 8127, ptr noundef @.str.8, ptr noundef getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 119), ptr noundef getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 117))
  %22 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %22, i32 noundef 8128, ptr noundef @.str.9, ptr noundef @qh_version, ptr noundef getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 120))
  %23 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 190), align 4, !tbaa !21
  %24 = icmp sge i32 %23, 0
  br i1 %24, label %25, label %46

25:                                               ; preds = %18
  %26 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  %27 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 190), align 4, !tbaa !21
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %26, i32 noundef 8129, ptr noundef @.str.10, i32 noundef %27)
  %28 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 216), align 8, !tbaa !22
  %29 = icmp ne i32 %28, 0
  br i1 %29, label %30, label %33

30:                                               ; preds = %25
  %31 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  %32 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 216), align 8, !tbaa !22
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %31, i32 noundef 8130, ptr noundef @.str.11, i32 noundef %32)
  br label %33

33:                                               ; preds = %30, %25
  %34 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 214), align 4, !tbaa !19
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %36, label %38

36:                                               ; preds = %33
  %37 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %37, i32 noundef 8131, ptr noundef @.str.12)
  br label %44

38:                                               ; preds = %33
  %39 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 209), align 8, !tbaa !23
  %40 = icmp ne i32 %39, 0
  br i1 %40, label %41, label %43

41:                                               ; preds = %38
  %42 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %42, i32 noundef 8132, ptr noundef @.str.13)
  br label %43

43:                                               ; preds = %41, %38
  br label %44

44:                                               ; preds = %43, %36
  %45 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %45, i32 noundef 8133, ptr noundef @.str.14)
  br label %46

46:                                               ; preds = %44, %18
  %47 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 21), align 8, !tbaa !24
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %49, label %59

49:                                               ; preds = %46
  %50 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 214), align 4, !tbaa !19
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %58, label %52

52:                                               ; preds = %49
  %53 = load ptr, ptr %5, align 8, !tbaa !9
  %54 = icmp ne ptr %53, null
  br i1 %54, label %59, label %55

55:                                               ; preds = %52
  %56 = load ptr, ptr %6, align 8, !tbaa !9
  %57 = icmp ne ptr %56, null
  br i1 %57, label %59, label %58

58:                                               ; preds = %55, %49
  call void @qh_produce_output()
  br label %87

59:                                               ; preds = %55, %52, %46
  %60 = load i32, ptr %4, align 4, !tbaa !5
  %61 = icmp ne i32 %60, 1
  br i1 %61, label %62, label %86

62:                                               ; preds = %59
  %63 = load i32, ptr %4, align 4, !tbaa !5
  %64 = icmp ne i32 %63, 2
  br i1 %64, label %65, label %79

65:                                               ; preds = %62
  %66 = load i32, ptr getelementptr inbounds ([249 x %union.intrealT], ptr @qh_qhstat, i64 0, i64 212), align 8, !tbaa !22
  %67 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 110), align 8, !tbaa !25
  %68 = add nsw i32 %67, 1
  %69 = icmp sgt i32 %66, %68
  br i1 %69, label %70, label %79

70:                                               ; preds = %65
  %71 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %71, i32 noundef 8134, ptr noundef @.str.15)
  %72 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void @qh_printsummary(ptr noundef %72)
  %73 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 67), align 8, !tbaa !26
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %78

75:                                               ; preds = %70
  call void @qh_collectstatistics()
  call void @qh_allstatistics()
  %76 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void @qh_printstatistics(ptr noundef %76, ptr noundef @.str.16)
  %77 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void @qh_memstatistics(ptr noundef %77)
  br label %78

78:                                               ; preds = %75, %70
  br label %79

79:                                               ; preds = %78, %65, %62
  %80 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 63), align 8, !tbaa !27
  %81 = icmp ne i32 %80, 0
  br i1 %81, label %82, label %85

82:                                               ; preds = %79
  %83 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  %84 = load i32, ptr getelementptr inbounds (%struct.qhstatT, ptr @qh_qhstat, i32 0, i32 8), align 4, !tbaa !28
  call void @qh_printstats(ptr noundef %83, i32 noundef %84, ptr noundef null)
  br label %85

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

86:                                               ; preds = %85, %59
  br label %87

87:                                               ; preds = %86, %58
  %88 = load i32, ptr %4, align 4, !tbaa !5
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %91, label %90

90:                                               ; preds = %87
  store i32 6, ptr %4, align 4, !tbaa !5
  br label %156

91:                                               ; preds = %87
  %92 = load i32, ptr %4, align 4, !tbaa !5
  %93 = icmp eq i32 %92, 3
  br i1 %93, label %94, label %99

94:                                               ; preds = %91
  %95 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 52), align 4, !tbaa !30
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %99, label %97

97:                                               ; preds = %94
  %98 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void @qh_printhelp_degenerate(ptr noundef %98)
  br label %155

99:                                               ; preds = %94, %91
  %100 = load i32, ptr %4, align 4, !tbaa !5
  %101 = icmp eq i32 %100, 5
  br i1 %101, label %102, label %104

102:                                              ; preds = %99
  %103 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void @qh_printhelp_internal(ptr noundef %103)
  br label %154

104:                                              ; preds = %99
  %105 = load i32, ptr %4, align 4, !tbaa !5
  %106 = icmp eq i32 %105, 2
  br i1 %106, label %107, label %109

107:                                              ; preds = %104
  %108 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void @qh_printhelp_singular(ptr noundef %108)
  br label %153

109:                                              ; preds = %104
  %110 = load i32, ptr %4, align 4, !tbaa !5
  %111 = icmp eq i32 %110, 9
  br i1 %111, label %112, label %114

112:                                              ; preds = %109
  %113 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %113, i32 noundef 8016, ptr noundef @.str.17)
  br label %152

114:                                              ; preds = %109
  %115 = load i32, ptr %4, align 4, !tbaa !5
  %116 = icmp eq i32 %115, 7
  br i1 %116, label %123, label %117

117:                                              ; preds = %114
  %118 = load i32, ptr %4, align 4, !tbaa !5
  %119 = icmp eq i32 %118, 8
  br i1 %119, label %123, label %120

120:                                              ; preds = %117
  %121 = load i32, ptr %4, align 4, !tbaa !5
  %122 = icmp eq i32 %121, 3
  br i1 %122, label %123, label %144

123:                                              ; preds = %120, %117, %114
  %124 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 47), align 8, !tbaa !31
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %131

126:                                              ; preds = %123
  %127 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 39), align 4, !tbaa !32
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %131, label %129

129:                                              ; preds = %126
  %130 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void @qh_printhelp_degenerate(ptr noundef %130)
  br label %143

131:                                              ; preds = %126, %123
  %132 = load i32, ptr %4, align 4, !tbaa !5
  %133 = icmp eq i32 %132, 7
  br i1 %133, label %134, label %136

134:                                              ; preds = %131
  %135 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void @qh_printhelp_topology(ptr noundef %135)
  br label %142

136:                                              ; preds = %131
  %137 = load i32, ptr %4, align 4, !tbaa !5
  %138 = icmp eq i32 %137, 8
  br i1 %138, label %139, label %141

139:                                              ; preds = %136
  %140 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  call void @qh_printhelp_wide(ptr noundef %140)
  br label %141

141:                                              ; preds = %139, %136
  br label %142

142:                                              ; preds = %141, %134
  br label %143

143:                                              ; preds = %142, %129
  br label %151

144:                                              ; preds = %120
  %145 = load i32, ptr %4, align 4, !tbaa !5
  %146 = icmp sgt i32 %145, 255
  br i1 %146, label %147, label %150

147:                                              ; preds = %144
  %148 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  %149 = load i32, ptr %4, align 4, !tbaa !5
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %148, i32 noundef 6426, ptr noundef @.str.18, i32 noundef %149)
  store i32 255, ptr %4, align 4, !tbaa !5
  br label %150

150:                                              ; preds = %147, %144
  br label %151

151:                                              ; preds = %150, %143
  br label %152

152:                                              ; preds = %151, %112
  br label %153

153:                                              ; preds = %152, %107
  br label %154

154:                                              ; preds = %153, %102
  br label %155

155:                                              ; preds = %154, %97
  br label %156

156:                                              ; preds = %155, %90
  %157 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 206), align 8, !tbaa !33
  %158 = icmp ne i32 %157, 0
  br i1 %158, label %159, label %164

159:                                              ; preds = %156
  %160 = load ptr, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 158), align 8, !tbaa !18
  %161 = load i32, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 191), align 8, !tbaa !34
  %162 = load i32, ptr %4, align 4, !tbaa !5
  call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %160, i32 noundef 6187, ptr noundef @.str.19, i32 noundef %161, i32 noundef %162)
  %163 = load i32, ptr %4, align 4, !tbaa !5
  call void @qh_exit(i32 noundef %163)
  br label %164

164:                                              ; preds = %159, %156
  store i32 0, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 233), align 8, !tbaa !17
  store i32 1, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 206), align 8, !tbaa !33
  store i32 0, ptr getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 187), align 8, !tbaa !35
  %165 = load i32, ptr %4, align 4, !tbaa !5
  call void @longjmp(ptr noundef getelementptr inbounds (%struct.qhT, ptr @qh_qh, i32 0, i32 152), i32 noundef %165) #5
  unreachable
}

declare void @qh_exit(i32 noundef) #0

; Function Attrs: nounwind
declare i64 @clock() #2

; Function Attrs: nounwind uwtable
declare dso_local void @qh_errprint(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

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

declare void @qh_printsummary(ptr noundef) #0

declare void @qh_collectstatistics() #0

declare void @qh_allstatistics() #0

declare void @qh_printstatistics(ptr noundef, ptr noundef) #0

declare void @qh_memstatistics(ptr noundef) #0

declare void @qh_printstats(ptr noundef, i32 noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @qh_printhelp_degenerate(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @qh_printhelp_internal(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @qh_printhelp_singular(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @qh_printhelp_topology(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @qh_printhelp_wide(ptr noundef) #1

; Function Attrs: noreturn nounwind
declare void @longjmp(ptr noundef, i32 noundef) #3

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


; 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, ptr, i32 }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%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 }

@qh_qh = external global %struct.qhT, align 8
@.str.5 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [35 x i8], align 1
@qh_version = external constant [0 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [34 x i8], align 1
@qh_qhstat = external local_unnamed_addr global %struct.qhstatT, align 8
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [155 x i8], align 1

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

declare void @qh_produce_output() local_unnamed_addr #0

; Function Attrs: noreturn nounwind uwtable
define dso_local void @qh_errexit(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #1 {
  store ptr null, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2504), align 8, !tbaa !5
  store ptr null, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2520), align 8, !tbaa !13
  store ptr null, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2536), align 8, !tbaa !14
  %4 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2896), align 8, !tbaa !15
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %7, label %5

5:                                                ; preds = %3
  %6 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %6, i32 noundef 8126, ptr noundef nonnull @.str.5) #5
  tail call void @qh_exit(i32 noundef 6) #5
  br label %7

7:                                                ; preds = %5, %3
  store i32 1, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2896), align 8, !tbaa !15
  %8 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2764), align 4, !tbaa !17
  %.not32 = icmp eq i32 %8, 0
  br i1 %.not32, label %9, label %13

9:                                                ; preds = %7
  %10 = tail call i64 @clock() #5
  %11 = load i64, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2600), align 8, !tbaa !18
  %12 = sub i64 %10, %11
  store i64 %12, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2600), align 8, !tbaa !18
  br label %13

13:                                               ; preds = %9, %7
  tail call void @qh_errprint(ptr noundef nonnull @.str.6, ptr noundef %1, ptr noundef null, ptr noundef %2, ptr noundef null)
  tail call void @qh_option(ptr noundef nonnull @.str.7, ptr noundef null, ptr noundef nonnull getelementptr inbounds (i8, ptr @qh_qh, i64 1808)) #5
  %14 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %14, i32 noundef 8127, ptr noundef nonnull @.str.8, ptr noundef nonnull getelementptr inbounds (i8, ptr @qh_qh, i64 936), ptr noundef nonnull getelementptr inbounds (i8, ptr @qh_qh, i64 676)) #5
  %15 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %15, i32 noundef 8128, ptr noundef nonnull @.str.9, ptr noundef nonnull @qh_version, ptr noundef nonnull getelementptr inbounds (i8, ptr @qh_qh, i64 1192)) #5
  %16 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2620), align 4, !tbaa !19
  %17 = icmp sgt i32 %16, -1
  br i1 %17, label %18, label %33

18:                                               ; preds = %13
  %19 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %19, i32 noundef 8129, ptr noundef nonnull @.str.10, i32 noundef %16) #5
  %20 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1728), align 8, !tbaa !20
  %.not33 = icmp eq i32 %20, 0
  br i1 %.not33, label %23, label %21

21:                                               ; preds = %18
  %22 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %22, i32 noundef 8130, ptr noundef nonnull @.str.11, i32 noundef %20) #5
  br label %23

23:                                               ; preds = %21, %18
  %24 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2764), align 4, !tbaa !17
  %.not34 = icmp eq i32 %24, 0
  br i1 %.not34, label %27, label %25

25:                                               ; preds = %23
  %26 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %26, i32 noundef 8131, ptr noundef nonnull @.str.12) #5
  br label %31

27:                                               ; preds = %23
  %28 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2744), align 8, !tbaa !21
  %.not35 = icmp eq i32 %28, 0
  br i1 %.not35, label %31, label %29

29:                                               ; preds = %27
  %30 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %30, i32 noundef 8132, ptr noundef nonnull @.str.13) #5
  br label %31

31:                                               ; preds = %27, %29, %25
  %32 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %32, i32 noundef 8133, ptr noundef nonnull @.str.14) #5
  br label %33

33:                                               ; preds = %31, %13
  %34 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 96), align 8, !tbaa !22
  %.not36 = icmp eq i32 %34, 0
  br i1 %.not36, label %41, label %35

35:                                               ; preds = %33
  %36 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2764), align 4, !tbaa !17
  %.not37 = icmp eq i32 %36, 0
  br i1 %.not37, label %37, label %40

37:                                               ; preds = %35
  %38 = icmp ne ptr %1, null
  %39 = icmp ne ptr %2, null
  %or.cond = or i1 %38, %39
  br i1 %or.cond, label %41, label %40

40:                                               ; preds = %37, %35
  tail call void @qh_produce_output() #5
  br label %59

41:                                               ; preds = %37, %33
  switch i32 %0, label %42 [
    i32 2, label %54
    i32 1, label %.thread47
  ]

42:                                               ; preds = %41
  %43 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 1696), align 8, !tbaa !20
  %44 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 632), align 8, !tbaa !23
  %45 = add nsw i32 %44, 1
  %46 = icmp sgt i32 %43, %45
  br i1 %46, label %47, label %54

47:                                               ; preds = %42
  %48 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %48, i32 noundef 8134, ptr noundef nonnull @.str.15) #5
  %49 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void @qh_printsummary(ptr noundef %49) #5
  %50 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 424), align 8, !tbaa !24
  %.not40 = icmp eq i32 %50, 0
  br i1 %.not40, label %54, label %51

51:                                               ; preds = %47
  tail call void @qh_collectstatistics() #5
  tail call void @qh_allstatistics() #5
  %52 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void @qh_printstatistics(ptr noundef %52, ptr noundef nonnull @.str.16) #5
  %53 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void @qh_memstatistics(ptr noundef %53) #5
  br label %54

54:                                               ; preds = %41, %47, %51, %42
  %55 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 296), align 8, !tbaa !25
  %.not41 = icmp eq i32 %55, 0
  br i1 %.not41, label %59, label %56

56:                                               ; preds = %54
  %57 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  %58 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qhstat, i64 5324), align 4, !tbaa !26
  tail call void @qh_printstats(ptr noundef %57, i32 noundef %58, ptr noundef null) #5
  br label %59

59:                                               ; preds = %56, %54, %40
  %.not42 = icmp eq i32 %0, 0
  br i1 %.not42, label %.thread47, label %60

60:                                               ; preds = %59
  %61 = icmp ne i32 %0, 3
  %62 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 252), align 4
  %63 = icmp ne i32 %62, 0
  %or.cond3 = select i1 %61, i1 true, i1 %63
  br i1 %or.cond3, label %66, label %64

64:                                               ; preds = %60
  %65 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void @qh_printhelp_degenerate(ptr noundef %65)
  br label %.thread47

66:                                               ; preds = %60
  switch i32 %0, label %85 [
    i32 5, label %67
    i32 2, label %69
    i32 9, label %71
    i32 8, label %73
    i32 7, label %73
    i32 3, label %73
  ]

67:                                               ; preds = %66
  %68 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void @qh_printhelp_internal(ptr noundef %68)
  br label %.thread47

69:                                               ; preds = %66
  %70 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void @qh_printhelp_singular(ptr noundef %70)
  br label %.thread47

71:                                               ; preds = %66
  %72 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %72, i32 noundef 8016, ptr noundef nonnull @.str.17) #5
  br label %.thread47

73:                                               ; preds = %66, %66, %66
  %74 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 232), align 8, !tbaa !28
  %75 = icmp eq i32 %74, 0
  %76 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 188), align 4
  %77 = icmp ne i32 %76, 0
  %or.cond9 = select i1 %75, i1 true, i1 %77
  br i1 %or.cond9, label %80, label %78

78:                                               ; preds = %73
  %79 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void @qh_printhelp_degenerate(ptr noundef %79)
  br label %.thread47

80:                                               ; preds = %73
  switch i32 %0, label %.thread47 [
    i32 7, label %81
    i32 8, label %83
  ]

81:                                               ; preds = %80
  %82 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void @qh_printhelp_topology(ptr noundef %82)
  br label %.thread47

83:                                               ; preds = %80
  %84 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void @qh_printhelp_wide(ptr noundef %84)
  br label %.thread47

85:                                               ; preds = %66
  %86 = icmp sgt i32 %0, 255
  br i1 %86, label %87, label %.thread47

87:                                               ; preds = %85
  %88 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %88, i32 noundef 6426, ptr noundef nonnull @.str.18, i32 noundef %0) #5
  br label %.thread47

.thread47:                                        ; preds = %41, %80, %59, %64, %69, %81, %83, %78, %87, %85, %71, %67
  %.0 = phi i32 [ 5, %67 ], [ 2, %69 ], [ 9, %71 ], [ 7, %81 ], [ 8, %83 ], [ %0, %78 ], [ 255, %87 ], [ %0, %85 ], [ 3, %64 ], [ 6, %59 ], [ %0, %80 ], [ %0, %41 ]
  %89 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2720), align 8, !tbaa !29
  %.not43 = icmp eq i32 %89, 0
  br i1 %.not43, label %93, label %90

90:                                               ; preds = %.thread47
  %91 = load ptr, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2424), align 8, !tbaa !16
  %92 = load i32, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2624), align 8, !tbaa !30
  tail call void (ptr, i32, ptr, ...) @qh_fprintf(ptr noundef %91, i32 noundef 6187, ptr noundef nonnull @.str.19, i32 noundef %92, i32 noundef %.0) #5
  tail call void @qh_exit(i32 noundef %.0) #5
  br label %93

93:                                               ; preds = %90, %.thread47
  store i32 0, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2896), align 8, !tbaa !15
  store i32 1, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2720), align 8, !tbaa !29
  store i32 0, ptr getelementptr inbounds (i8, ptr @qh_qh, i64 2608), align 8, !tbaa !31
  tail call void @longjmp(ptr noundef nonnull getelementptr inbounds (i8, ptr @qh_qh, i64 1928), i32 noundef %.0) #6
  unreachable
}

declare void @qh_exit(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare i64 @clock() local_unnamed_addr #2

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

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

declare void @qh_printsummary(ptr noundef) local_unnamed_addr #0

declare void @qh_collectstatistics() local_unnamed_addr #0

declare void @qh_allstatistics() local_unnamed_addr #0

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

declare void @qh_memstatistics(ptr noundef) local_unnamed_addr #0

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

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

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

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

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

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass