; LLVM IR from musetronstar/tagd :: tagl/src (lemon)

; 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.s_options = type { i32, ptr, ptr, ptr }
%struct.lemon = type { ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, ptr }
%struct.symbol = type { ptr, i32, i32, ptr, ptr, i32, i32, ptr, i32, i32, ptr, i32, ptr, i32, i32, i32, ptr }
%struct.rule = type { ptr, ptr, i32, i32, i32, ptr, ptr, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, ptr, ptr }

@stderr = external global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [68 x i8], align 1
@main.version = external hidden global i32, align 4
@main.rpflag = external hidden global i32, align 4
@main.basisflag = external hidden global i32, align 4
@main.compress = external hidden global i32, align 4
@main.quiet = external hidden global i32, align 4
@main.statistics = external hidden global i32, align 4
@main.mhflag = external hidden global i32, align 4
@main.nolinenosflag = external hidden global i32, align 4
@main.noResort = external hidden global i32, align 4
@main.sqlFlag = external hidden global i32, align 4
@main.options = external hidden global [19 x %struct.s_options], align 16
@.str.53 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [46 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [23 x i8], align 1

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local void @FindRulePrecedences(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @FindFirstSets(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @FindStates(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local ptr @Symbol_find(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @FindLinks(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @FindFollowSets(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @FindActions(ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #4 {
  %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 %struct.lemon, align 8
  %9 = 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) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 288, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %10 = load ptr, ptr %5, align 8, !tbaa !9
  %11 = load ptr, ptr @stderr, align 8, !tbaa !9
  %12 = call i32 @OptInit(ptr noundef %10, ptr noundef @main.options, ptr noundef %11)
  %13 = load i32, ptr @main.version, align 4, !tbaa !5
  %14 = icmp ne i32 %13, 0
  br i1 %14, label %15, label %17

15:                                               ; preds = %2
  %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.53)
  call void @exit(i32 noundef 0) #9
  unreachable

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

20:                                               ; preds = %17
  %21 = load ptr, ptr @stderr, align 8, !tbaa !9
  %22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @.str.54) #8
  call void @exit(i32 noundef 1) #9
  unreachable

23:                                               ; preds = %17
  call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 288, i1 false)
  %24 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 16
  store i32 0, ptr %24, align 8, !tbaa !11
  call void @Strsafe_init()
  call void @Symbol_init()
  call void @State_init()
  %25 = load ptr, ptr %5, align 8, !tbaa !9
  %26 = getelementptr inbounds ptr, ptr %25, i64 0
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 44
  store ptr %27, ptr %28, align 8, !tbaa !13
  %29 = call ptr @OptArg(i32 noundef 0)
  %30 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 34
  store ptr %29, ptr %30, align 8, !tbaa !14
  %31 = load i32, ptr @main.basisflag, align 4, !tbaa !5
  %32 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 41
  store i32 %31, ptr %32, align 8, !tbaa !15
  %33 = load i32, ptr @main.nolinenosflag, align 4, !tbaa !5
  %34 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 43
  store i32 %33, ptr %34, align 8, !tbaa !16
  %35 = call ptr @Symbol_new(ptr noundef @.str.55)
  call void @Parse(ptr noundef %8)
  %36 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 16
  %37 = load i32, ptr %36, align 8, !tbaa !11
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %39, label %42

39:                                               ; preds = %23
  %40 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 16
  %41 = load i32, ptr %40, align 8, !tbaa !11
  call void @exit(i32 noundef %41) #9
  unreachable

42:                                               ; preds = %23
  %43 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 5
  %44 = load i32, ptr %43, align 8, !tbaa !17
  %45 = icmp eq i32 %44, 0
  br i1 %45, label %46, label %49

46:                                               ; preds = %42
  %47 = load ptr, ptr @stderr, align 8, !tbaa !9
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.56) #8
  call void @exit(i32 noundef 1) #9
  unreachable

49:                                               ; preds = %42
  %50 = call ptr @Symbol_find(ptr noundef @.str.57)
  %51 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 17
  store ptr %50, ptr %51, align 8, !tbaa !18
  %52 = call ptr @Symbol_new(ptr noundef @.str.58)
  %53 = call i32 @Symbol_count()
  %54 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 7
  store i32 %53, ptr %54, align 8, !tbaa !19
  %55 = call ptr @Symbol_arrayof()
  %56 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 15
  store ptr %55, ptr %56, align 8, !tbaa !20
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %57

57:                                               ; preds = %71, %49
  %58 = load i32, ptr %6, align 4, !tbaa !5
  %59 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 7
  %60 = load i32, ptr %59, align 8, !tbaa !19
  %61 = icmp slt i32 %58, %60
  br i1 %61, label %62, label %74

62:                                               ; preds = %57
  %63 = load i32, ptr %6, align 4, !tbaa !5
  %64 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 15
  %65 = load ptr, ptr %64, align 8, !tbaa !20
  %66 = load i32, ptr %6, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds ptr, ptr %65, i64 %67
  %69 = load ptr, ptr %68, align 8, !tbaa !9
  %70 = getelementptr inbounds %struct.symbol, ptr %69, i32 0, i32 1
  store i32 %63, ptr %70, align 8, !tbaa !21
  br label %71

71:                                               ; preds = %62
  %72 = load i32, ptr %6, align 4, !tbaa !5
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %6, align 4, !tbaa !5
  br label %57, !llvm.loop !23

74:                                               ; preds = %57
  %75 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 15
  %76 = load ptr, ptr %75, align 8, !tbaa !20
  %77 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 7
  %78 = load i32, ptr %77, align 8, !tbaa !19
  %79 = sext i32 %78 to i64
  call void @qsort(ptr noundef %76, i64 noundef %79, i64 noundef 8, ptr noundef @Symbolcmpp)
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %80

80:                                               ; preds = %94, %74
  %81 = load i32, ptr %6, align 4, !tbaa !5
  %82 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 7
  %83 = load i32, ptr %82, align 8, !tbaa !19
  %84 = icmp slt i32 %81, %83
  br i1 %84, label %85, label %97

85:                                               ; preds = %80
  %86 = load i32, ptr %6, align 4, !tbaa !5
  %87 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 15
  %88 = load ptr, ptr %87, align 8, !tbaa !20
  %89 = load i32, ptr %6, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds ptr, ptr %88, i64 %90
  %92 = load ptr, ptr %91, align 8, !tbaa !9
  %93 = getelementptr inbounds %struct.symbol, ptr %92, i32 0, i32 1
  store i32 %86, ptr %93, align 8, !tbaa !21
  br label %94

94:                                               ; preds = %85
  %95 = load i32, ptr %6, align 4, !tbaa !5
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %6, align 4, !tbaa !5
  br label %80, !llvm.loop !25

97:                                               ; preds = %80
  br label %98

98:                                               ; preds = %109, %97
  %99 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 15
  %100 = load ptr, ptr %99, align 8, !tbaa !20
  %101 = load i32, ptr %6, align 4, !tbaa !5
  %102 = sub nsw i32 %101, 1
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds ptr, ptr %100, i64 %103
  %105 = load ptr, ptr %104, align 8, !tbaa !9
  %106 = getelementptr inbounds %struct.symbol, ptr %105, i32 0, i32 2
  %107 = load i32, ptr %106, align 4, !tbaa !26
  %108 = icmp eq i32 %107, 2
  br i1 %108, label %109, label %112

109:                                              ; preds = %98
  %110 = load i32, ptr %6, align 4, !tbaa !5
  %111 = add nsw i32 %110, -1
  store i32 %111, ptr %6, align 4, !tbaa !5
  br label %98, !llvm.loop !27

112:                                              ; preds = %98
  %113 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 15
  %114 = load ptr, ptr %113, align 8, !tbaa !20
  %115 = load i32, ptr %6, align 4, !tbaa !5
  %116 = sub nsw i32 %115, 1
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds ptr, ptr %114, i64 %117
  %119 = load ptr, ptr %118, align 8, !tbaa !9
  %120 = getelementptr inbounds %struct.symbol, ptr %119, i32 0, i32 0
  %121 = load ptr, ptr %120, align 8, !tbaa !28
  %122 = call i32 @strcmp(ptr noundef %121, ptr noundef @.str.58) #10
  %123 = icmp eq i32 %122, 0
  br i1 %123, label %124, label %125

124:                                              ; preds = %112
  br label %126

125:                                              ; preds = %112
  call void @__assert_fail(ptr noundef @.str.59, ptr noundef @.str.3, i32 noundef 1708, ptr noundef @__PRETTY_FUNCTION__.main) #9
  unreachable

126:                                              ; preds = %124
  %127 = load i32, ptr %6, align 4, !tbaa !5
  %128 = sub nsw i32 %127, 1
  %129 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 7
  store i32 %128, ptr %129, align 8, !tbaa !19
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %130

130:                                              ; preds = %151, %126
  %131 = call ptr @__ctype_b_loc() #11
  %132 = load ptr, ptr %131, align 8, !tbaa !9
  %133 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 15
  %134 = load ptr, ptr %133, align 8, !tbaa !20
  %135 = load i32, ptr %6, align 4, !tbaa !5
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds ptr, ptr %134, i64 %136
  %138 = load ptr, ptr %137, align 8, !tbaa !9
  %139 = getelementptr inbounds %struct.symbol, ptr %138, i32 0, i32 0
  %140 = load ptr, ptr %139, align 8, !tbaa !28
  %141 = getelementptr inbounds i8, ptr %140, i64 0
  %142 = load i8, ptr %141, align 1, !tbaa !29
  %143 = zext i8 %142 to i32
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds i16, ptr %132, i64 %144
  %146 = load i16, ptr %145, align 2, !tbaa !30
  %147 = zext i16 %146 to i32
  %148 = and i32 %147, 256
  %149 = icmp ne i32 %148, 0
  br i1 %149, label %150, label %154

150:                                              ; preds = %130
  br label %151

151:                                              ; preds = %150
  %152 = load i32, ptr %6, align 4, !tbaa !5
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %6, align 4, !tbaa !5
  br label %130, !llvm.loop !32

154:                                              ; preds = %130
  %155 = load i32, ptr %6, align 4, !tbaa !5
  %156 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 8
  store i32 %155, ptr %156, align 4, !tbaa !33
  store i32 0, ptr %6, align 4, !tbaa !5
  %157 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 1
  %158 = load ptr, ptr %157, align 8, !tbaa !34
  store ptr %158, ptr %9, align 8, !tbaa !9
  br label %159

159:                                              ; preds = %175, %154
  %160 = load ptr, ptr %9, align 8, !tbaa !9
  %161 = icmp ne ptr %160, null
  br i1 %161, label %162, label %179

162:                                              ; preds = %159
  %163 = load ptr, ptr %9, align 8, !tbaa !9
  %164 = getelementptr inbounds %struct.rule, ptr %163, i32 0, i32 8
  %165 = load ptr, ptr %164, align 8, !tbaa !35
  %166 = icmp ne ptr %165, null
  br i1 %166, label %167, label %170

167:                                              ; preds = %162
  %168 = load i32, ptr %6, align 4, !tbaa !5
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %6, align 4, !tbaa !5
  br label %171

170:                                              ; preds = %162
  br label %171

171:                                              ; preds = %170, %167
  %172 = phi i32 [ %168, %167 ], [ -1, %170 ]
  %173 = load ptr, ptr %9, align 8, !tbaa !9
  %174 = getelementptr inbounds %struct.rule, ptr %173, i32 0, i32 13
  store i32 %172, ptr %174, align 4, !tbaa !37
  br label %175

175:                                              ; preds = %171
  %176 = load ptr, ptr %9, align 8, !tbaa !9
  %177 = getelementptr inbounds %struct.rule, ptr %176, i32 0, i32 20
  %178 = load ptr, ptr %177, align 8, !tbaa !38
  store ptr %178, ptr %9, align 8, !tbaa !9
  br label %159, !llvm.loop !39

179:                                              ; preds = %159
  %180 = load i32, ptr %6, align 4, !tbaa !5
  %181 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 6
  store i32 %180, ptr %181, align 4, !tbaa !40
  %182 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 1
  %183 = load ptr, ptr %182, align 8, !tbaa !34
  store ptr %183, ptr %9, align 8, !tbaa !9
  br label %184

184:                                              ; preds = %198, %179
  %185 = load ptr, ptr %9, align 8, !tbaa !9
  %186 = icmp ne ptr %185, null
  br i1 %186, label %187, label %202

187:                                              ; preds = %184
  %188 = load ptr, ptr %9, align 8, !tbaa !9
  %189 = getelementptr inbounds %struct.rule, ptr %188, i32 0, i32 13
  %190 = load i32, ptr %189, align 4, !tbaa !37
  %191 = icmp slt i32 %190, 0
  br i1 %191, label %192, label %197

192:                                              ; preds = %187
  %193 = load i32, ptr %6, align 4, !tbaa !5
  %194 = add nsw i32 %193, 1
  store i32 %194, ptr %6, align 4, !tbaa !5
  %195 = load ptr, ptr %9, align 8, !tbaa !9
  %196 = getelementptr inbounds %struct.rule, ptr %195, i32 0, i32 13
  store i32 %193, ptr %196, align 4, !tbaa !37
  br label %197

197:                                              ; preds = %192, %187
  br label %198

198:                                              ; preds = %197
  %199 = load ptr, ptr %9, align 8, !tbaa !9
  %200 = getelementptr inbounds %struct.rule, ptr %199, i32 0, i32 20
  %201 = load ptr, ptr %200, align 8, !tbaa !38
  store ptr %201, ptr %9, align 8, !tbaa !9
  br label %184, !llvm.loop !41

202:                                              ; preds = %184
  %203 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 1
  %204 = load ptr, ptr %203, align 8, !tbaa !34
  %205 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 2
  store ptr %204, ptr %205, align 8, !tbaa !42
  %206 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 1
  %207 = load ptr, ptr %206, align 8, !tbaa !34
  %208 = call ptr @Rule_sort(ptr noundef %207)
  %209 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 1
  store ptr %208, ptr %209, align 8, !tbaa !34
  %210 = load i32, ptr @main.rpflag, align 4, !tbaa !5
  %211 = icmp ne i32 %210, 0
  br i1 %211, label %212, label %213

212:                                              ; preds = %202
  call void @Reprint(ptr noundef %8)
  br label %238

213:                                              ; preds = %202
  %214 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 8
  %215 = load i32, ptr %214, align 4, !tbaa !33
  %216 = add nsw i32 %215, 1
  call void @SetSize(i32 noundef %216)
  call void @FindRulePrecedences(ptr noundef %8)
  call void @FindFirstSets(ptr noundef %8)
  %217 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 3
  store i32 0, ptr %217, align 8, !tbaa !43
  call void @FindStates(ptr noundef %8)
  %218 = call ptr @State_arrayof()
  %219 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 0
  store ptr %218, ptr %219, align 8, !tbaa !44
  call void @FindLinks(ptr noundef %8)
  call void @FindFollowSets(ptr noundef %8)
  call void @FindActions(ptr noundef %8)
  %220 = load i32, ptr @main.compress, align 4, !tbaa !5
  %221 = icmp eq i32 %220, 0
  br i1 %221, label %222, label %223

222:                                              ; preds = %213
  call void @CompressTables(ptr noundef %8)
  br label %223

223:                                              ; preds = %222, %213
  %224 = load i32, ptr @main.noResort, align 4, !tbaa !5
  %225 = icmp eq i32 %224, 0
  br i1 %225, label %226, label %227

226:                                              ; preds = %223
  call void @ResortStates(ptr noundef %8)
  br label %227

227:                                              ; preds = %226, %223
  %228 = load i32, ptr @main.quiet, align 4, !tbaa !5
  %229 = icmp ne i32 %228, 0
  br i1 %229, label %231, label %230

230:                                              ; preds = %227
  call void @ReportOutput(ptr noundef %8)
  br label %231

231:                                              ; preds = %230, %227
  %232 = load i32, ptr @main.mhflag, align 4, !tbaa !5
  %233 = load i32, ptr @main.sqlFlag, align 4, !tbaa !5
  call void @ReportTable(ptr noundef %8, i32 noundef %232, i32 noundef %233)
  %234 = load i32, ptr @main.mhflag, align 4, !tbaa !5
  %235 = icmp ne i32 %234, 0
  br i1 %235, label %237, label %236

236:                                              ; preds = %231
  call void @ReportHeader(ptr noundef %8)
  br label %237

237:                                              ; preds = %236, %231
  br label %238

238:                                              ; preds = %237, %212
  %239 = load i32, ptr @main.statistics, align 4, !tbaa !5
  %240 = icmp ne i32 %239, 0
  br i1 %240, label %241, label %264

241:                                              ; preds = %238
  %242 = call i32 (ptr, ...) @printf(ptr noundef @.str.60)
  %243 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 8
  %244 = load i32, ptr %243, align 4, !tbaa !33
  call void @stats_line(ptr noundef @.str.61, i32 noundef %244)
  %245 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 7
  %246 = load i32, ptr %245, align 8, !tbaa !19
  %247 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 8
  %248 = load i32, ptr %247, align 4, !tbaa !33
  %249 = sub nsw i32 %246, %248
  call void @stats_line(ptr noundef @.str.62, i32 noundef %249)
  %250 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 7
  %251 = load i32, ptr %250, align 8, !tbaa !19
  call void @stats_line(ptr noundef @.str.63, i32 noundef %251)
  %252 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 5
  %253 = load i32, ptr %252, align 8, !tbaa !17
  call void @stats_line(ptr noundef @.str.64, i32 noundef %253)
  %254 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 4
  %255 = load i32, ptr %254, align 4, !tbaa !45
  call void @stats_line(ptr noundef @.str.65, i32 noundef %255)
  %256 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 37
  %257 = load i32, ptr %256, align 8, !tbaa !46
  call void @stats_line(ptr noundef @.str.66, i32 noundef %257)
  %258 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 38
  %259 = load i32, ptr %258, align 4, !tbaa !47
  call void @stats_line(ptr noundef @.str.67, i32 noundef %259)
  %260 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 39
  %261 = load i32, ptr %260, align 8, !tbaa !48
  call void @stats_line(ptr noundef @.str.68, i32 noundef %261)
  %262 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 40
  %263 = load i32, ptr %262, align 4, !tbaa !49
  call void @stats_line(ptr noundef @.str.69, i32 noundef %263)
  br label %264

264:                                              ; preds = %241, %238
  %265 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 37
  %266 = load i32, ptr %265, align 8, !tbaa !46
  %267 = icmp sgt i32 %266, 0
  br i1 %267, label %268, label %273

268:                                              ; preds = %264
  %269 = load ptr, ptr @stderr, align 8, !tbaa !9
  %270 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 37
  %271 = load i32, ptr %270, align 8, !tbaa !46
  %272 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %269, ptr noundef @.str.70, i32 noundef %271) #8
  br label %273

273:                                              ; preds = %268, %264
  %274 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 16
  %275 = load i32, ptr %274, align 8, !tbaa !11
  %276 = icmp sgt i32 %275, 0
  br i1 %276, label %281, label %277

277:                                              ; preds = %273
  %278 = getelementptr inbounds %struct.lemon, ptr %8, i32 0, i32 37
  %279 = load i32, ptr %278, align 8, !tbaa !46
  %280 = icmp sgt i32 %279, 0
  br label %281

281:                                              ; preds = %277, %273
  %282 = phi i1 [ true, %273 ], [ %280, %277 ]
  %283 = zext i1 %282 to i64
  %284 = select i1 %282, i32 1, i32 0
  store i32 %284, ptr %7, align 4, !tbaa !5
  %285 = load i32, ptr %7, align 4, !tbaa !5
  call void @exit(i32 noundef %285) #9
  unreachable
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @OptInit(ptr noundef, ptr noundef, ptr noundef) #4

declare i32 @printf(ptr noundef, ...) #5

; Function Attrs: nounwind uwtable
declare dso_local i32 @OptNArgs() #4

; Function Attrs: nounwind uwtable
declare dso_local void @Strsafe_init() #4

; Function Attrs: nounwind uwtable
declare dso_local void @Symbol_init() #4

; Function Attrs: nounwind uwtable
declare dso_local void @State_init() #4

; Function Attrs: nounwind uwtable
declare dso_local ptr @OptArg(i32 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local ptr @Symbol_new(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @Parse(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local i32 @Symbol_count() #4

; Function Attrs: nounwind uwtable
declare dso_local ptr @Symbol_arrayof() #4

declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #5

; Function Attrs: nounwind uwtable
declare dso_local i32 @Symbolcmpp(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #6

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__ctype_b_loc() #7

; Function Attrs: nounwind uwtable
declare hidden ptr @Rule_sort(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @Reprint(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @SetSize(i32 noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local ptr @State_arrayof() #4

; Function Attrs: nounwind uwtable
declare dso_local void @CompressTables(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @ResortStates(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare dso_local void @ReportOutput(ptr noundef) #4

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

; Function Attrs: nounwind uwtable
declare dso_local void @ReportHeader(ptr noundef) #4

; Function Attrs: nounwind uwtable
declare hidden void @stats_line(ptr noundef, i32 noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #5 = { "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 willreturn memory(read) "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 #7 = { nounwind willreturn memory(none) "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 #8 = { nounwind }
attributes #9 = { noreturn nounwind }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { nounwind willreturn memory(none) }

!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, !6, i64 80}
!12 = !{!"lemon", !10, i64 0, !10, i64 8, !10, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !6, i64 64, !6, i64 68, !10, i64 72, !6, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !6, i64 248, !6, i64 252, !6, i64 256, !6, i64 260, !6, i64 264, !6, i64 268, !6, i64 272, !10, i64 280}
!13 = !{!12, !10, i64 280}
!14 = !{!12, !10, i64 224}
!15 = !{!12, !6, i64 264}
!16 = !{!12, !6, i64 272}
!17 = !{!12, !6, i64 32}
!18 = !{!12, !10, i64 88}
!19 = !{!12, !6, i64 40}
!20 = !{!12, !10, i64 72}
!21 = !{!22, !6, i64 8}
!22 = !{!"symbol", !10, i64 0, !6, i64 8, !6, i64 12, !10, i64 16, !10, i64 24, !6, i64 32, !6, i64 36, !10, i64 40, !6, i64 48, !6, i64 52, !10, i64 56, !6, i64 64, !10, i64 72, !6, i64 80, !6, i64 84, !6, i64 88, !10, i64 96}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = !{!22, !6, i64 12}
!27 = distinct !{!27, !24}
!28 = !{!22, !10, i64 0}
!29 = !{!7, !7, i64 0}
!30 = !{!31, !31, i64 0}
!31 = !{!"short", !7, i64 0}
!32 = distinct !{!32, !24}
!33 = !{!12, !6, i64 44}
!34 = !{!12, !10, i64 8}
!35 = !{!36, !10, i64 56}
!36 = !{!"rule", !10, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !10, i64 32, !10, i64 40, !6, i64 48, !10, i64 56, !10, 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, !10, i64 120, !10, i64 128}
!37 = !{!36, !6, i64 92}
!38 = !{!36, !10, i64 128}
!39 = distinct !{!39, !24}
!40 = !{!12, !6, i64 36}
!41 = distinct !{!41, !24}
!42 = !{!12, !10, i64 16}
!43 = !{!12, !6, i64 24}
!44 = !{!12, !10, i64 0}
!45 = !{!12, !6, i64 28}
!46 = !{!12, !6, i64 248}
!47 = !{!12, !6, i64 252}
!48 = !{!12, !6, i64 256}
!49 = !{!12, !6, i64 260}


; 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.s_options = type { i32, ptr, ptr, ptr }
%struct.lemon = type { ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, ptr }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [68 x i8], align 1
@main.version = external hidden local_unnamed_addr global i32, align 4
@main.rpflag = external hidden local_unnamed_addr global i32, align 4
@main.basisflag = external hidden local_unnamed_addr global i32, align 4
@main.compress = external hidden local_unnamed_addr global i32, align 4
@main.quiet = external hidden local_unnamed_addr global i32, align 4
@main.statistics = external hidden local_unnamed_addr global i32, align 4
@main.mhflag = external hidden local_unnamed_addr global i32, align 4
@main.nolinenosflag = external hidden local_unnamed_addr global i32, align 4
@main.noResort = external hidden local_unnamed_addr global i32, align 4
@main.sqlFlag = external hidden local_unnamed_addr global i32, align 4
@main.options = external hidden global [19 x %struct.s_options], align 16
@.str.53 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [46 x i8], align 1
@__PRETTY_FUNCTION__.main = external hidden unnamed_addr constant [23 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.67 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.68 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.69 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [23 x i8], align 1

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @Symbol_find(ptr noundef) local_unnamed_addr #4

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

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

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

; Function Attrs: noreturn nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #5 {
  %3 = alloca %struct.lemon, align 8
  call void @llvm.lifetime.start.p0(i64 288, ptr nonnull %3) #9
  %4 = load ptr, ptr @stderr, align 8, !tbaa !5
  %5 = tail call i32 @OptInit(ptr noundef %1, ptr noundef nonnull @main.options, ptr noundef %4)
  %6 = load i32, ptr @main.version, align 4, !tbaa !9
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %9, label %7

7:                                                ; preds = %2
  %8 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.53)
  tail call void @exit(i32 noundef 0) #10
  unreachable

9:                                                ; preds = %2
  %10 = tail call i32 @OptNArgs()
  %.not33 = icmp eq i32 %10, 1
  br i1 %.not33, label %14, label %11

11:                                               ; preds = %9
  %12 = load ptr, ptr @stderr, align 8, !tbaa !5
  %13 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef nonnull @.str.54) #11
  tail call void @exit(i32 noundef 1) #10
  unreachable

14:                                               ; preds = %9
  %15 = getelementptr inbounds i8, ptr %3, i64 80
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(280) %3, i8 0, i64 280, i1 false)
  tail call void @Strsafe_init()
  tail call void @Symbol_init()
  tail call void @State_init()
  %16 = load ptr, ptr %1, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %3, i64 280
  store ptr %16, ptr %17, align 8, !tbaa !11
  %18 = tail call ptr @OptArg(i32 noundef 0)
  %19 = getelementptr inbounds i8, ptr %3, i64 224
  store ptr %18, ptr %19, align 8, !tbaa !13
  %20 = load i32, ptr @main.basisflag, align 4, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %3, i64 264
  store i32 %20, ptr %21, align 8, !tbaa !14
  %22 = load i32, ptr @main.nolinenosflag, align 4, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %3, i64 272
  store i32 %22, ptr %23, align 8, !tbaa !15
  %24 = tail call ptr @Symbol_new(ptr noundef nonnull @.str.55)
  call void @Parse(ptr noundef nonnull %3)
  %25 = load i32, ptr %15, align 8, !tbaa !16
  %.not34 = icmp eq i32 %25, 0
  br i1 %.not34, label %27, label %26

26:                                               ; preds = %14
  call void @exit(i32 noundef %25) #10
  unreachable

27:                                               ; preds = %14
  %28 = getelementptr inbounds i8, ptr %3, i64 32
  %29 = load i32, ptr %28, align 8, !tbaa !17
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %31, label %34

31:                                               ; preds = %27
  %32 = load ptr, ptr @stderr, align 8, !tbaa !5
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef nonnull @.str.56) #11
  call void @exit(i32 noundef 1) #10
  unreachable

34:                                               ; preds = %27
  %35 = call ptr @Symbol_find(ptr noundef nonnull @.str.57)
  %36 = getelementptr inbounds i8, ptr %3, i64 88
  store ptr %35, ptr %36, align 8, !tbaa !18
  %37 = call ptr @Symbol_new(ptr noundef nonnull @.str.58)
  %38 = call i32 @Symbol_count()
  %39 = getelementptr inbounds i8, ptr %3, i64 40
  store i32 %38, ptr %39, align 8, !tbaa !19
  %40 = call ptr @Symbol_arrayof()
  %41 = getelementptr inbounds i8, ptr %3, i64 72
  store ptr %40, ptr %41, align 8, !tbaa !20
  %42 = load i32, ptr %39, align 8, !tbaa !19
  %43 = icmp sgt i32 %42, 0
  br i1 %43, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %34
  %wide.trip.count = zext nneg i32 %42 to i64
  %xtraiter = and i64 %wide.trip.count, 7
  %44 = icmp ult i32 %42, 8
  br i1 %44, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %wide.trip.count, 2147483640
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader.new ], [ %indvars.iv.next.7, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.7, %.lr.ph ]
  %45 = getelementptr inbounds ptr, ptr %40, i64 %indvars.iv
  %46 = load ptr, ptr %45, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 8
  %48 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %48, ptr %47, align 8, !tbaa !21
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %49 = getelementptr inbounds ptr, ptr %40, i64 %indvars.iv.next
  %50 = load ptr, ptr %49, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %50, i64 8
  %52 = trunc nuw nsw i64 %indvars.iv.next to i32
  store i32 %52, ptr %51, align 8, !tbaa !21
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %53 = getelementptr inbounds ptr, ptr %40, i64 %indvars.iv.next.1
  %54 = load ptr, ptr %53, align 8, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %54, i64 8
  %56 = trunc nuw nsw i64 %indvars.iv.next.1 to i32
  store i32 %56, ptr %55, align 8, !tbaa !21
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %57 = getelementptr inbounds ptr, ptr %40, i64 %indvars.iv.next.2
  %58 = load ptr, ptr %57, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %58, i64 8
  %60 = trunc nuw nsw i64 %indvars.iv.next.2 to i32
  store i32 %60, ptr %59, align 8, !tbaa !21
  %indvars.iv.next.3 = or disjoint i64 %indvars.iv, 4
  %61 = getelementptr inbounds ptr, ptr %40, i64 %indvars.iv.next.3
  %62 = load ptr, ptr %61, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %62, i64 8
  %64 = trunc nuw nsw i64 %indvars.iv.next.3 to i32
  store i32 %64, ptr %63, align 8, !tbaa !21
  %indvars.iv.next.4 = or disjoint i64 %indvars.iv, 5
  %65 = getelementptr inbounds ptr, ptr %40, i64 %indvars.iv.next.4
  %66 = load ptr, ptr %65, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %66, i64 8
  %68 = trunc nuw nsw i64 %indvars.iv.next.4 to i32
  store i32 %68, ptr %67, align 8, !tbaa !21
  %indvars.iv.next.5 = or disjoint i64 %indvars.iv, 6
  %69 = getelementptr inbounds ptr, ptr %40, i64 %indvars.iv.next.5
  %70 = load ptr, ptr %69, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %70, i64 8
  %72 = trunc nuw nsw i64 %indvars.iv.next.5 to i32
  store i32 %72, ptr %71, align 8, !tbaa !21
  %indvars.iv.next.6 = or disjoint i64 %indvars.iv, 7
  %73 = getelementptr inbounds ptr, ptr %40, i64 %indvars.iv.next.6
  %74 = load ptr, ptr %73, align 8, !tbaa !5
  %75 = getelementptr inbounds i8, ptr %74, i64 8
  %76 = trunc nuw nsw i64 %indvars.iv.next.6 to i32
  store i32 %76, ptr %75, align 8, !tbaa !21
  %indvars.iv.next.7 = add nuw nsw i64 %indvars.iv, 8
  %niter.next.7 = add i64 %niter, 8
  %niter.ncmp.7 = icmp eq i64 %niter.next.7, %unroll_iter
  br i1 %niter.ncmp.7, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !23

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph, %.lr.ph.preheader
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next.7, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil
  %indvars.iv.epil = phi i64 [ %indvars.iv.next.epil, %.lr.ph.epil ], [ %indvars.iv.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %77 = getelementptr inbounds ptr, ptr %40, i64 %indvars.iv.epil
  %78 = load ptr, ptr %77, align 8, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %78, i64 8
  %80 = trunc nuw nsw i64 %indvars.iv.epil to i32
  store i32 %80, ptr %79, align 8, !tbaa !21
  %indvars.iv.next.epil = add nuw nsw i64 %indvars.iv.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph.epil, !llvm.loop !25

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph.epil, %34
  %81 = sext i32 %42 to i64
  call void @qsort(ptr noundef %40, i64 noundef %81, i64 noundef 8, ptr noundef nonnull @Symbolcmpp) #9
  %82 = load i32, ptr %39, align 8, !tbaa !19
  %83 = icmp sgt i32 %82, 0
  %.pre = load ptr, ptr %41, align 8, !tbaa !20
  br i1 %83, label %.lr.ph50, label %.preheader.preheader

.lr.ph50:                                         ; preds = %._crit_edge
  %wide.trip.count71 = zext nneg i32 %82 to i64
  %xtraiter81 = and i64 %wide.trip.count71, 7
  %84 = icmp ult i32 %82, 8
  br i1 %84, label %.preheader.loopexit.unr-lcssa, label %.lr.ph50.new

.lr.ph50.new:                                     ; preds = %.lr.ph50
  %unroll_iter84 = and i64 %wide.trip.count71, 2147483640
  br label %90

.preheader.loopexit.unr-lcssa:                    ; preds = %90, %.lr.ph50
  %indvars.iv68.unr = phi i64 [ 0, %.lr.ph50 ], [ %indvars.iv.next69.7, %90 ]
  %lcmp.mod83.not = icmp eq i64 %xtraiter81, 0
  br i1 %lcmp.mod83.not, label %.preheader.loopexit, label %.epil.preheader

.epil.preheader:                                  ; preds = %.preheader.loopexit.unr-lcssa, %.epil.preheader
  %indvars.iv68.epil = phi i64 [ %indvars.iv.next69.epil, %.epil.preheader ], [ %indvars.iv68.unr, %.preheader.loopexit.unr-lcssa ]
  %epil.iter82 = phi i64 [ %epil.iter82.next, %.epil.preheader ], [ 0, %.preheader.loopexit.unr-lcssa ]
  %85 = getelementptr inbounds ptr, ptr %.pre, i64 %indvars.iv68.epil
  %86 = load ptr, ptr %85, align 8, !tbaa !5
  %87 = getelementptr inbounds i8, ptr %86, i64 8
  %88 = trunc nuw nsw i64 %indvars.iv68.epil to i32
  store i32 %88, ptr %87, align 8, !tbaa !21
  %indvars.iv.next69.epil = add nuw nsw i64 %indvars.iv68.epil, 1
  %epil.iter82.next = add i64 %epil.iter82, 1
  %epil.iter82.cmp.not = icmp eq i64 %epil.iter82.next, %xtraiter81
  br i1 %epil.iter82.cmp.not, label %.preheader.loopexit, label %.epil.preheader, !llvm.loop !27

.preheader.loopexit:                              ; preds = %.epil.preheader, %.preheader.loopexit.unr-lcssa
  %89 = zext nneg i32 %82 to i64
  br label %.preheader.preheader

.preheader.preheader:                             ; preds = %._crit_edge, %.preheader.loopexit
  %indvars.iv73.ph = phi i64 [ 0, %._crit_edge ], [ %89, %.preheader.loopexit ]
  br label %.preheader

90:                                               ; preds = %90, %.lr.ph50.new
  %indvars.iv68 = phi i64 [ 0, %.lr.ph50.new ], [ %indvars.iv.next69.7, %90 ]
  %niter85 = phi i64 [ 0, %.lr.ph50.new ], [ %niter85.next.7, %90 ]
  %91 = getelementptr inbounds ptr, ptr %.pre, i64 %indvars.iv68
  %92 = load ptr, ptr %91, align 8, !tbaa !5
  %93 = getelementptr inbounds i8, ptr %92, i64 8
  %94 = trunc nuw nsw i64 %indvars.iv68 to i32
  store i32 %94, ptr %93, align 8, !tbaa !21
  %indvars.iv.next69 = or disjoint i64 %indvars.iv68, 1
  %95 = getelementptr inbounds ptr, ptr %.pre, i64 %indvars.iv.next69
  %96 = load ptr, ptr %95, align 8, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %96, i64 8
  %98 = trunc nuw nsw i64 %indvars.iv.next69 to i32
  store i32 %98, ptr %97, align 8, !tbaa !21
  %indvars.iv.next69.1 = or disjoint i64 %indvars.iv68, 2
  %99 = getelementptr inbounds ptr, ptr %.pre, i64 %indvars.iv.next69.1
  %100 = load ptr, ptr %99, align 8, !tbaa !5
  %101 = getelementptr inbounds i8, ptr %100, i64 8
  %102 = trunc nuw nsw i64 %indvars.iv.next69.1 to i32
  store i32 %102, ptr %101, align 8, !tbaa !21
  %indvars.iv.next69.2 = or disjoint i64 %indvars.iv68, 3
  %103 = getelementptr inbounds ptr, ptr %.pre, i64 %indvars.iv.next69.2
  %104 = load ptr, ptr %103, align 8, !tbaa !5
  %105 = getelementptr inbounds i8, ptr %104, i64 8
  %106 = trunc nuw nsw i64 %indvars.iv.next69.2 to i32
  store i32 %106, ptr %105, align 8, !tbaa !21
  %indvars.iv.next69.3 = or disjoint i64 %indvars.iv68, 4
  %107 = getelementptr inbounds ptr, ptr %.pre, i64 %indvars.iv.next69.3
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %108, i64 8
  %110 = trunc nuw nsw i64 %indvars.iv.next69.3 to i32
  store i32 %110, ptr %109, align 8, !tbaa !21
  %indvars.iv.next69.4 = or disjoint i64 %indvars.iv68, 5
  %111 = getelementptr inbounds ptr, ptr %.pre, i64 %indvars.iv.next69.4
  %112 = load ptr, ptr %111, align 8, !tbaa !5
  %113 = getelementptr inbounds i8, ptr %112, i64 8
  %114 = trunc nuw nsw i64 %indvars.iv.next69.4 to i32
  store i32 %114, ptr %113, align 8, !tbaa !21
  %indvars.iv.next69.5 = or disjoint i64 %indvars.iv68, 6
  %115 = getelementptr inbounds ptr, ptr %.pre, i64 %indvars.iv.next69.5
  %116 = load ptr, ptr %115, align 8, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %116, i64 8
  %118 = trunc nuw nsw i64 %indvars.iv.next69.5 to i32
  store i32 %118, ptr %117, align 8, !tbaa !21
  %indvars.iv.next69.6 = or disjoint i64 %indvars.iv68, 7
  %119 = getelementptr inbounds ptr, ptr %.pre, i64 %indvars.iv.next69.6
  %120 = load ptr, ptr %119, align 8, !tbaa !5
  %121 = getelementptr inbounds i8, ptr %120, i64 8
  %122 = trunc nuw nsw i64 %indvars.iv.next69.6 to i32
  store i32 %122, ptr %121, align 8, !tbaa !21
  %indvars.iv.next69.7 = add nuw nsw i64 %indvars.iv68, 8
  %niter85.next.7 = add i64 %niter85, 8
  %niter85.ncmp.7 = icmp eq i64 %niter85.next.7, %unroll_iter84
  br i1 %niter85.ncmp.7, label %.preheader.loopexit.unr-lcssa, label %90, !llvm.loop !28

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %indvars.iv73 = phi i64 [ %indvars.iv.next74, %.preheader ], [ %indvars.iv73.ph, %.preheader.preheader ]
  %indvars.iv.next74 = add nsw i64 %indvars.iv73, -1
  %123 = getelementptr inbounds ptr, ptr %.pre, i64 %indvars.iv.next74
  %124 = load ptr, ptr %123, align 8, !tbaa !5
  %125 = getelementptr inbounds i8, ptr %124, i64 12
  %126 = load i32, ptr %125, align 4, !tbaa !29
  %127 = icmp eq i32 %126, 2
  br i1 %127, label %.preheader, label %128, !llvm.loop !30

128:                                              ; preds = %.preheader
  %129 = load ptr, ptr %124, align 8, !tbaa !31
  %130 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %129, ptr noundef nonnull dereferenceable(1) @.str.58) #12
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %133, label %132

132:                                              ; preds = %128
  call void @__assert_fail(ptr noundef nonnull @.str.59, ptr noundef nonnull @.str.3, i32 noundef 1708, ptr noundef nonnull @__PRETTY_FUNCTION__.main) #10
  unreachable

133:                                              ; preds = %128
  %134 = trunc nsw i64 %indvars.iv.next74 to i32
  store i32 %134, ptr %39, align 8, !tbaa !19
  %135 = tail call ptr @__ctype_b_loc() #13
  %136 = load ptr, ptr %135, align 8, !tbaa !5
  br label %137

137:                                              ; preds = %137, %133
  %indvars.iv76 = phi i64 [ %indvars.iv.next77, %137 ], [ 1, %133 ]
  %138 = getelementptr inbounds ptr, ptr %.pre, i64 %indvars.iv76
  %139 = load ptr, ptr %138, align 8, !tbaa !5
  %140 = load ptr, ptr %139, align 8, !tbaa !31
  %141 = load i8, ptr %140, align 1, !tbaa !32
  %142 = zext i8 %141 to i64
  %143 = getelementptr inbounds i16, ptr %136, i64 %142
  %144 = load i16, ptr %143, align 2, !tbaa !33
  %145 = and i16 %144, 256
  %.not35 = icmp eq i16 %145, 0
  %indvars.iv.next77 = add nuw nsw i64 %indvars.iv76, 1
  br i1 %.not35, label %146, label %137, !llvm.loop !35

146:                                              ; preds = %137
  %147 = trunc nuw nsw i64 %indvars.iv76 to i32
  %148 = getelementptr inbounds i8, ptr %3, i64 44
  store i32 %147, ptr %148, align 4, !tbaa !36
  %149 = getelementptr inbounds i8, ptr %3, i64 8
  %150 = load ptr, ptr %149, align 8, !tbaa !37
  %.not3652 = icmp eq ptr %150, null
  br i1 %.not3652, label %._crit_edge57.thread, label %.lr.ph56

._crit_edge57.thread:                             ; preds = %146
  %151 = getelementptr inbounds i8, ptr %3, i64 36
  store i32 0, ptr %151, align 4, !tbaa !38
  br label %._crit_edge64

.lr.ph56:                                         ; preds = %146, %.lr.ph56
  %.054 = phi ptr [ %157, %.lr.ph56 ], [ %150, %146 ]
  %.453 = phi i32 [ %spec.select, %.lr.ph56 ], [ 0, %146 ]
  %152 = getelementptr inbounds i8, ptr %.054, i64 56
  %153 = load ptr, ptr %152, align 8, !tbaa !39
  %.not42 = icmp ne ptr %153, null
  %154 = zext i1 %.not42 to i32
  %spec.select = add nuw nsw i32 %.453, %154
  %spec.select43 = select i1 %.not42, i32 %.453, i32 -1
  %155 = getelementptr inbounds i8, ptr %.054, i64 92
  store i32 %spec.select43, ptr %155, align 4, !tbaa !41
  %156 = getelementptr inbounds i8, ptr %.054, i64 128
  %157 = load ptr, ptr %156, align 8, !tbaa !42
  %.not36 = icmp eq ptr %157, null
  br i1 %.not36, label %._crit_edge57, label %.lr.ph56, !llvm.loop !43

._crit_edge57:                                    ; preds = %.lr.ph56
  %158 = getelementptr inbounds i8, ptr %3, i64 36
  store i32 %spec.select, ptr %158, align 4, !tbaa !38
  br i1 %.not3652, label %._crit_edge64, label %.lr.ph63

.lr.ph63:                                         ; preds = %._crit_edge57, %164
  %.161 = phi ptr [ %166, %164 ], [ %150, %._crit_edge57 ]
  %.660 = phi i32 [ %.7, %164 ], [ %spec.select, %._crit_edge57 ]
  %159 = getelementptr inbounds i8, ptr %.161, i64 92
  %160 = load i32, ptr %159, align 4, !tbaa !41
  %161 = icmp slt i32 %160, 0
  br i1 %161, label %162, label %164

162:                                              ; preds = %.lr.ph63
  %163 = add nsw i32 %.660, 1
  store i32 %.660, ptr %159, align 4, !tbaa !41
  br label %164

164:                                              ; preds = %.lr.ph63, %162
  %.7 = phi i32 [ %163, %162 ], [ %.660, %.lr.ph63 ]
  %165 = getelementptr inbounds i8, ptr %.161, i64 128
  %166 = load ptr, ptr %165, align 8, !tbaa !42
  %.not37 = icmp eq ptr %166, null
  br i1 %.not37, label %._crit_edge64, label %.lr.ph63, !llvm.loop !44

._crit_edge64:                                    ; preds = %164, %._crit_edge57.thread, %._crit_edge57
  %167 = getelementptr inbounds i8, ptr %3, i64 16
  store ptr %150, ptr %167, align 8, !tbaa !45
  %168 = call ptr @Rule_sort(ptr noundef %150)
  store ptr %168, ptr %149, align 8, !tbaa !37
  %169 = load i32, ptr @main.rpflag, align 4, !tbaa !9
  %.not38 = icmp eq i32 %169, 0
  br i1 %.not38, label %171, label %170

170:                                              ; preds = %._crit_edge64
  call void @Reprint(ptr noundef nonnull %3)
  br label %191

171:                                              ; preds = %._crit_edge64
  %172 = load i32, ptr %148, align 4, !tbaa !36
  %173 = add nsw i32 %172, 1
  call void @SetSize(i32 noundef %173)
  call void @FindRulePrecedences(ptr noundef nonnull %3)
  call void @FindFirstSets(ptr noundef nonnull %3)
  %174 = getelementptr inbounds i8, ptr %3, i64 24
  store i32 0, ptr %174, align 8, !tbaa !46
  call void @FindStates(ptr noundef nonnull %3)
  %175 = call ptr @State_arrayof()
  store ptr %175, ptr %3, align 8, !tbaa !47
  call void @FindLinks(ptr noundef nonnull %3)
  call void @FindFollowSets(ptr noundef nonnull %3)
  call void @FindActions(ptr noundef nonnull %3)
  %176 = load i32, ptr @main.compress, align 4, !tbaa !9
  %177 = icmp eq i32 %176, 0
  br i1 %177, label %178, label %179

178:                                              ; preds = %171
  call void @CompressTables(ptr noundef nonnull %3)
  br label %179

179:                                              ; preds = %178, %171
  %180 = load i32, ptr @main.noResort, align 4, !tbaa !9
  %181 = icmp eq i32 %180, 0
  br i1 %181, label %182, label %183

182:                                              ; preds = %179
  call void @ResortStates(ptr noundef nonnull %3)
  br label %183

183:                                              ; preds = %182, %179
  %184 = load i32, ptr @main.quiet, align 4, !tbaa !9
  %.not39 = icmp eq i32 %184, 0
  br i1 %.not39, label %185, label %186

185:                                              ; preds = %183
  call void @ReportOutput(ptr noundef nonnull %3)
  br label %186

186:                                              ; preds = %185, %183
  %187 = load i32, ptr @main.mhflag, align 4, !tbaa !9
  %188 = load i32, ptr @main.sqlFlag, align 4, !tbaa !9
  call void @ReportTable(ptr noundef nonnull %3, i32 noundef %187, i32 noundef %188)
  %189 = load i32, ptr @main.mhflag, align 4, !tbaa !9
  %.not40 = icmp eq i32 %189, 0
  br i1 %.not40, label %190, label %191

190:                                              ; preds = %186
  call void @ReportHeader(ptr noundef nonnull %3)
  br label %191

191:                                              ; preds = %186, %190, %170
  %192 = load i32, ptr @main.statistics, align 4, !tbaa !9
  %.not41 = icmp eq i32 %192, 0
  br i1 %.not41, label %211, label %193

193:                                              ; preds = %191
  %194 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.60)
  %195 = load i32, ptr %148, align 4, !tbaa !36
  call void @stats_line(ptr noundef nonnull @.str.61, i32 noundef %195)
  %196 = load i32, ptr %39, align 8, !tbaa !19
  %197 = load i32, ptr %148, align 4, !tbaa !36
  %198 = sub nsw i32 %196, %197
  call void @stats_line(ptr noundef nonnull @.str.62, i32 noundef %198)
  %199 = load i32, ptr %39, align 8, !tbaa !19
  call void @stats_line(ptr noundef nonnull @.str.63, i32 noundef %199)
  %200 = load i32, ptr %28, align 8, !tbaa !17
  call void @stats_line(ptr noundef nonnull @.str.64, i32 noundef %200)
  %201 = getelementptr inbounds i8, ptr %3, i64 28
  %202 = load i32, ptr %201, align 4, !tbaa !48
  call void @stats_line(ptr noundef nonnull @.str.65, i32 noundef %202)
  %203 = getelementptr inbounds i8, ptr %3, i64 248
  %204 = load i32, ptr %203, align 8, !tbaa !49
  call void @stats_line(ptr noundef nonnull @.str.66, i32 noundef %204)
  %205 = getelementptr inbounds i8, ptr %3, i64 252
  %206 = load i32, ptr %205, align 4, !tbaa !50
  call void @stats_line(ptr noundef nonnull @.str.67, i32 noundef %206)
  %207 = getelementptr inbounds i8, ptr %3, i64 256
  %208 = load i32, ptr %207, align 8, !tbaa !51
  call void @stats_line(ptr noundef nonnull @.str.68, i32 noundef %208)
  %209 = getelementptr inbounds i8, ptr %3, i64 260
  %210 = load i32, ptr %209, align 4, !tbaa !52
  call void @stats_line(ptr noundef nonnull @.str.69, i32 noundef %210)
  br label %211

211:                                              ; preds = %193, %191
  %212 = getelementptr inbounds i8, ptr %3, i64 248
  %213 = load i32, ptr %212, align 8
  %214 = icmp sgt i32 %213, 0
  br i1 %214, label %215, label %219

215:                                              ; preds = %211
  %216 = load ptr, ptr @stderr, align 8, !tbaa !5
  %217 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %216, ptr noundef nonnull @.str.70, i32 noundef %213) #11
  %.pre79 = load i32, ptr %212, align 8
  %218 = icmp sgt i32 %.pre79, 0
  br label %219

219:                                              ; preds = %215, %211
  %220 = phi i1 [ %218, %215 ], [ false, %211 ]
  %221 = load i32, ptr %15, align 8, !tbaa !16
  %222 = icmp sgt i32 %221, 0
  %223 = select i1 %222, i1 true, i1 %220
  %224 = zext i1 %223 to i32
  call void @exit(i32 noundef %224) #10
  unreachable
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @OptInit(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @OptNArgs() local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local void @Strsafe_init() local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local void @Symbol_init() local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local void @State_init() local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local ptr @OptArg(i32 noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local ptr @Symbol_new(ptr noundef) local_unnamed_addr #4

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @Symbol_count() local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local ptr @Symbol_arrayof() local_unnamed_addr #4

; Function Attrs: nofree
declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #6

; Function Attrs: nounwind uwtable
declare dso_local i32 @Symbolcmpp(ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__ctype_b_loc() local_unnamed_addr #8

; Function Attrs: nounwind uwtable
declare hidden ptr @Rule_sort(ptr noundef) local_unnamed_addr #4

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

; Function Attrs: nounwind uwtable
declare dso_local void @SetSize(i32 noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
declare dso_local ptr @State_arrayof() local_unnamed_addr #4

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

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

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

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

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

; Function Attrs: nounwind uwtable
declare hidden void @stats_line(ptr noundef, i32 noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #5 = { 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 #6 = { nofree "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 #7 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 #8 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 #9 = { nounwind }
attributes #10 = { noreturn nounwind }
attributes #11 = { cold nounwind }
attributes #12 = { nounwind willreturn memory(read) }
attributes #13 = { nounwind willreturn memory(none) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 280}
!12 = !{!"lemon", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !6, i64 72, !10, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !6, i64 280}
!13 = !{!12, !6, i64 224}
!14 = !{!12, !10, i64 264}
!15 = !{!12, !10, i64 272}
!16 = !{!12, !10, i64 80}
!17 = !{!12, !10, i64 32}
!18 = !{!12, !6, i64 88}
!19 = !{!12, !10, i64 40}
!20 = !{!12, !6, i64 72}
!21 = !{!22, !10, i64 8}
!22 = !{!"symbol", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24, !10, i64 32, !10, i64 36, !6, i64 40, !10, i64 48, !10, i64 52, !6, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !10, i64 84, !10, i64 88, !6, i64 96}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.unroll.disable"}
!27 = distinct !{!27, !26}
!28 = distinct !{!28, !24}
!29 = !{!22, !10, i64 12}
!30 = distinct !{!30, !24}
!31 = !{!22, !6, i64 0}
!32 = !{!7, !7, i64 0}
!33 = !{!34, !34, i64 0}
!34 = !{!"short", !7, i64 0}
!35 = distinct !{!35, !24}
!36 = !{!12, !10, i64 44}
!37 = !{!12, !6, i64 8}
!38 = !{!12, !10, i64 36}
!39 = !{!40, !6, i64 56}
!40 = !{!"rule", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !6, i64 32, !6, i64 40, !10, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !6, i64 120, !6, i64 128}
!41 = !{!40, !10, i64 92}
!42 = !{!40, !6, i64 128}
!43 = distinct !{!43, !24}
!44 = distinct !{!44, !24}
!45 = !{!12, !6, i64 16}
!46 = !{!12, !10, i64 24}
!47 = !{!12, !6, i64 0}
!48 = !{!12, !10, i64 28}
!49 = !{!12, !10, i64 248}
!50 = !{!12, !10, i64 252}
!51 = !{!12, !10, i64 256}
!52 = !{!12, !10, i64 260}


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