; LLVM IR from wumo/vkg :: src/par/test (test_strings)

; 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.parsb_options = type { i8 }
%class.anon = type { i8 }
%class.anon.0 = type { i8 }

@stderr = external global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZL17__assert_failures = external hidden global i32, align 4
@global_file = external dso_local global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@_ZL11test_string = external hidden constant [123 x i8], align 16
@.str.10 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [72 x i8], align 1
@_ZL13__assert_bail = external hidden global i32, align 4
@.str.15 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [26 x i8], align 1
@__const.main.newblocks = external hidden unnamed_addr constant [33 x i8], align 16
@.str.31 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @parsb_create_context(i8) #0

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @parsb_destroy_context(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @parsb_add_blocks(ptr noundef, ptr noundef, i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @parsb_add_block(ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local ptr @parsb_get_blocks(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @parsb_write_blocks(ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @parsb_add_blocks_from_file(ptr noundef, ptr noundef) #3

declare noalias ptr @fopen(ptr noundef, ptr noundef) #4

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

declare i32 @fclose(ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @__describe_after_spec(ptr noundef, i32 noundef) #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #6 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %struct.parsb_options, align 1
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca [33 x i8], align 16
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %class.anon, align 1
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %struct.parsb_options, align 1
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %class.anon.0, align 1
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #10
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %28

28:                                               ; preds = %283, %0
  %29 = load i32, ptr %3, align 4, !tbaa !5
  %30 = add nsw i32 %29, 1
  store i32 %30, ptr %3, align 4, !tbaa !5
  %31 = icmp eq i32 %29, 0
  br i1 %31, label %32, label %35

32:                                               ; preds = %28
  %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef @.str.9)
  %34 = icmp ne i32 %33, 0
  br label %35

35:                                               ; preds = %32, %28
  %36 = phi i1 [ false, %28 ], [ %34, %32 ]
  br i1 %36, label %38, label %37

37:                                               ; preds = %35
  store i32 2, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #10
  br label %285

38:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #10
  %39 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  store i32 %39, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #10
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %51, %38
  %41 = load i32, ptr %6, align 4, !tbaa !5
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %6, align 4, !tbaa !5
  %43 = icmp eq i32 %41, 0
  br i1 %43, label %45, label %44

44:                                               ; preds = %40
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #10
  br label %53

45:                                               ; preds = %40
  %46 = getelementptr inbounds %struct.parsb_options, ptr %7, i32 0, i32 0
  store i8 0, ptr %46, align 1, !tbaa !9
  %47 = getelementptr inbounds %struct.parsb_options, ptr %7, i32 0, i32 0
  %48 = load i8, ptr %47, align 1
  %49 = call ptr @parsb_create_context(i8 %48)
  store ptr %49, ptr %2, align 8, !tbaa !12
  %50 = load ptr, ptr %2, align 8, !tbaa !12
  call void @parsb_add_blocks(ptr noundef %50, ptr noundef @_ZL11test_string, i32 noundef 122)
  br label %51

51:                                               ; preds = %45
  %52 = load i32, ptr %5, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.10, i32 noundef %52)
  br label %40, !llvm.loop !14

53:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #10
  %54 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  store i32 %54, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #10
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %55

55:                                               ; preds = %109, %53
  %56 = load i32, ptr %9, align 4, !tbaa !5
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %9, align 4, !tbaa !5
  %58 = icmp eq i32 %56, 0
  br i1 %58, label %60, label %59

59:                                               ; preds = %55
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #10
  br label %111

60:                                               ; preds = %55
  %61 = load ptr, ptr %2, align 8, !tbaa !12
  %62 = call ptr @parsb_get_blocks(ptr noundef %61, ptr noundef @.str.11)
  %63 = call i32 @strcmp(ptr noundef %62, ptr noundef @.str.12) #11
  %64 = icmp ne i32 0, %63
  br i1 %64, label %65, label %76

65:                                               ; preds = %60
  %66 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %68 = load ptr, ptr @stderr, align 8, !tbaa !12
  %69 = load ptr, ptr %2, align 8, !tbaa !12
  %70 = call ptr @parsb_get_blocks(ptr noundef %69, ptr noundef @.str.11)
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef @.str.13, ptr noundef %70, ptr noundef @.str.12, ptr noundef @.str.14, i32 noundef 36) #10
  %72 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %73 = icmp ne i32 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %65
  call void @abort() #12
  unreachable

75:                                               ; preds = %65
  br label %76

76:                                               ; preds = %75, %60
  %77 = load ptr, ptr %2, align 8, !tbaa !12
  %78 = call ptr @parsb_get_blocks(ptr noundef %77, ptr noundef @.str.15)
  %79 = call i32 @strcmp(ptr noundef %78, ptr noundef @.str.16) #11
  %80 = icmp ne i32 0, %79
  br i1 %80, label %81, label %92

81:                                               ; preds = %76
  %82 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %84 = load ptr, ptr @stderr, align 8, !tbaa !12
  %85 = load ptr, ptr %2, align 8, !tbaa !12
  %86 = call ptr @parsb_get_blocks(ptr noundef %85, ptr noundef @.str.15)
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %84, ptr noundef @.str.13, ptr noundef %86, ptr noundef @.str.16, ptr noundef @.str.14, i32 noundef 38) #10
  %88 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %91

90:                                               ; preds = %81
  call void @abort() #12
  unreachable

91:                                               ; preds = %81
  br label %92

92:                                               ; preds = %91, %76
  %93 = load ptr, ptr %2, align 8, !tbaa !12
  %94 = call ptr @parsb_get_blocks(ptr noundef %93, ptr noundef @.str.17)
  %95 = call i32 @strcmp(ptr noundef %94, ptr noundef @.str.18) #11
  %96 = icmp ne i32 0, %95
  br i1 %96, label %97, label %108

97:                                               ; preds = %92
  %98 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %99 = add nsw i32 %98, 1
  store i32 %99, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %100 = load ptr, ptr @stderr, align 8, !tbaa !12
  %101 = load ptr, ptr %2, align 8, !tbaa !12
  %102 = call ptr @parsb_get_blocks(ptr noundef %101, ptr noundef @.str.17)
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.13, ptr noundef %102, ptr noundef @.str.18, ptr noundef @.str.14, i32 noundef 40) #10
  %104 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %106, label %107

106:                                              ; preds = %97
  call void @abort() #12
  unreachable

107:                                              ; preds = %97
  br label %108

108:                                              ; preds = %107, %92
  br label %109

109:                                              ; preds = %108
  %110 = load i32, ptr %8, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.19, i32 noundef %110)
  br label %55, !llvm.loop !16

111:                                              ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  %112 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  store i32 %112, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %113

113:                                              ; preds = %135, %111
  %114 = load i32, ptr %11, align 4, !tbaa !5
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %11, align 4, !tbaa !5
  %116 = icmp eq i32 %114, 0
  br i1 %116, label %118, label %117

117:                                              ; preds = %113
  store i32 11, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  br label %137

118:                                              ; preds = %113
  %119 = load ptr, ptr %2, align 8, !tbaa !12
  %120 = call ptr @parsb_get_blocks(ptr noundef %119, ptr noundef @.str.20)
  %121 = call i32 @strcmp(ptr noundef %120, ptr noundef @.str.21) #11
  %122 = icmp ne i32 0, %121
  br i1 %122, label %123, label %134

123:                                              ; preds = %118
  %124 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %126 = load ptr, ptr @stderr, align 8, !tbaa !12
  %127 = load ptr, ptr %2, align 8, !tbaa !12
  %128 = call ptr @parsb_get_blocks(ptr noundef %127, ptr noundef @.str.20)
  %129 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef @.str.13, ptr noundef %128, ptr noundef @.str.21, ptr noundef @.str.14, i32 noundef 45) #10
  %130 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %133

132:                                              ; preds = %123
  call void @abort() #12
  unreachable

133:                                              ; preds = %123
  br label %134

134:                                              ; preds = %133, %118
  br label %135

135:                                              ; preds = %134
  %136 = load i32, ptr %10, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.22, i32 noundef %136)
  br label %113, !llvm.loop !17

137:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  %138 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  store i32 %138, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %139

139:                                              ; preds = %162, %137
  %140 = load i32, ptr %13, align 4, !tbaa !5
  %141 = add nsw i32 %140, 1
  store i32 %141, ptr %13, align 4, !tbaa !5
  %142 = icmp eq i32 %140, 0
  br i1 %142, label %144, label %143

143:                                              ; preds = %139
  store i32 14, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  br label %164

144:                                              ; preds = %139
  %145 = load ptr, ptr %2, align 8, !tbaa !12
  call void @parsb_add_block(ptr noundef %145, ptr noundef @.str.23, ptr noundef @.str.24)
  %146 = load ptr, ptr %2, align 8, !tbaa !12
  %147 = call ptr @parsb_get_blocks(ptr noundef %146, ptr noundef @.str.25)
  %148 = call i32 @strcmp(ptr noundef %147, ptr noundef @.str.26) #11
  %149 = icmp ne i32 0, %148
  br i1 %149, label %150, label %161

150:                                              ; preds = %144
  %151 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %153 = load ptr, ptr @stderr, align 8, !tbaa !12
  %154 = load ptr, ptr %2, align 8, !tbaa !12
  %155 = call ptr @parsb_get_blocks(ptr noundef %154, ptr noundef @.str.25)
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %153, ptr noundef @.str.13, ptr noundef %155, ptr noundef @.str.26, ptr noundef @.str.14, i32 noundef 51) #10
  %157 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %158 = icmp ne i32 %157, 0
  br i1 %158, label %159, label %160

159:                                              ; preds = %150
  call void @abort() #12
  unreachable

160:                                              ; preds = %150
  br label %161

161:                                              ; preds = %160, %144
  br label %162

162:                                              ; preds = %161
  %163 = load i32, ptr %12, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.27, i32 noundef %163)
  br label %139, !llvm.loop !18

164:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  %165 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  store i32 %165, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #10
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %166

166:                                              ; preds = %189, %164
  %167 = load i32, ptr %15, align 4, !tbaa !5
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %15, align 4, !tbaa !5
  %169 = icmp eq i32 %167, 0
  br i1 %169, label %171, label %170

170:                                              ; preds = %166
  store i32 17, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  br label %191

171:                                              ; preds = %166
  %172 = load ptr, ptr %2, align 8, !tbaa !12
  call void @parsb_add_block(ptr noundef %172, ptr noundef @.str.23, ptr noundef @.str.28)
  %173 = load ptr, ptr %2, align 8, !tbaa !12
  %174 = call ptr @parsb_get_blocks(ptr noundef %173, ptr noundef @.str.25)
  %175 = call i32 @strcmp(ptr noundef %174, ptr noundef @.str.29) #11
  %176 = icmp ne i32 0, %175
  br i1 %176, label %177, label %188

177:                                              ; preds = %171
  %178 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %179 = add nsw i32 %178, 1
  store i32 %179, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %180 = load ptr, ptr @stderr, align 8, !tbaa !12
  %181 = load ptr, ptr %2, align 8, !tbaa !12
  %182 = call ptr @parsb_get_blocks(ptr noundef %181, ptr noundef @.str.25)
  %183 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %180, ptr noundef @.str.13, ptr noundef %182, ptr noundef @.str.29, ptr noundef @.str.14, i32 noundef 57) #10
  %184 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %185 = icmp ne i32 %184, 0
  br i1 %185, label %186, label %187

186:                                              ; preds = %177
  call void @abort() #12
  unreachable

187:                                              ; preds = %177
  br label %188

188:                                              ; preds = %187, %171
  br label %189

189:                                              ; preds = %188
  %190 = load i32, ptr %14, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.30, i32 noundef %190)
  br label %166, !llvm.loop !19

191:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  %192 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  store i32 %192, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #10
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %193

193:                                              ; preds = %233, %191
  %194 = load i32, ptr %17, align 4, !tbaa !5
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr %17, align 4, !tbaa !5
  %196 = icmp eq i32 %194, 0
  br i1 %196, label %198, label %197

197:                                              ; preds = %193
  store i32 20, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  br label %235

198:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 33, ptr %18) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 @__const.main.newblocks, i64 33, i1 false)
  %199 = load ptr, ptr %2, align 8, !tbaa !12
  %200 = getelementptr inbounds [33 x i8], ptr %18, i64 0, i64 0
  call void @parsb_add_blocks(ptr noundef %199, ptr noundef %200, i32 noundef 32)
  %201 = load ptr, ptr %2, align 8, !tbaa !12
  %202 = call ptr @parsb_get_blocks(ptr noundef %201, ptr noundef @.str.31)
  %203 = call i32 @strcmp(ptr noundef %202, ptr noundef @.str.32) #11
  %204 = icmp ne i32 0, %203
  br i1 %204, label %205, label %216

205:                                              ; preds = %198
  %206 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %207 = add nsw i32 %206, 1
  store i32 %207, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %208 = load ptr, ptr @stderr, align 8, !tbaa !12
  %209 = load ptr, ptr %2, align 8, !tbaa !12
  %210 = call ptr @parsb_get_blocks(ptr noundef %209, ptr noundef @.str.31)
  %211 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %208, ptr noundef @.str.13, ptr noundef %210, ptr noundef @.str.32, ptr noundef @.str.14, i32 noundef 68) #10
  %212 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %213 = icmp ne i32 %212, 0
  br i1 %213, label %214, label %215

214:                                              ; preds = %205
  call void @abort() #12
  unreachable

215:                                              ; preds = %205
  br label %216

216:                                              ; preds = %215, %198
  %217 = load ptr, ptr %2, align 8, !tbaa !12
  %218 = call ptr @parsb_get_blocks(ptr noundef %217, ptr noundef @.str.33)
  %219 = call i32 @strcmp(ptr noundef %218, ptr noundef @.str.34) #11
  %220 = icmp ne i32 0, %219
  br i1 %220, label %221, label %232

221:                                              ; preds = %216
  %222 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %223 = add nsw i32 %222, 1
  store i32 %223, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %224 = load ptr, ptr @stderr, align 8, !tbaa !12
  %225 = load ptr, ptr %2, align 8, !tbaa !12
  %226 = call ptr @parsb_get_blocks(ptr noundef %225, ptr noundef @.str.33)
  %227 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %224, ptr noundef @.str.13, ptr noundef %226, ptr noundef @.str.34, ptr noundef @.str.14, i32 noundef 69) #10
  %228 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %229 = icmp ne i32 %228, 0
  br i1 %229, label %230, label %231

230:                                              ; preds = %221
  call void @abort() #12
  unreachable

231:                                              ; preds = %221
  br label %232

232:                                              ; preds = %231, %216
  call void @llvm.lifetime.end.p0(i64 33, ptr %18) #10
  br label %233

233:                                              ; preds = %232
  %234 = load i32, ptr %16, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.35, i32 noundef %234)
  br label %193, !llvm.loop !20

235:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #10
  %236 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  store i32 %236, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %237

237:                                              ; preds = %249, %235
  %238 = load i32, ptr %20, align 4, !tbaa !5
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr %20, align 4, !tbaa !5
  %240 = icmp eq i32 %238, 0
  br i1 %240, label %242, label %241

241:                                              ; preds = %237
  store i32 23, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  br label %251

242:                                              ; preds = %237
  %243 = call noalias ptr @fopen(ptr noundef @.str.36, ptr noundef @.str.3)
  store ptr %243, ptr @global_file, align 8, !tbaa !12
  %244 = load ptr, ptr %2, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #10
  %245 = call noundef ptr @"_ZZ4mainENK3$_0cvPFvPKcPvEEv"(ptr noundef nonnull align 1 dereferenceable(1) %21) #10
  call void @parsb_write_blocks(ptr noundef %244, ptr noundef %245, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #10
  %246 = load ptr, ptr @global_file, align 8, !tbaa !12
  %247 = call i32 @fclose(ptr noundef %246)
  %248 = load ptr, ptr %2, align 8, !tbaa !12
  call void @parsb_destroy_context(ptr noundef %248)
  br label %249

249:                                              ; preds = %242
  %250 = load i32, ptr %19, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.37, i32 noundef %250)
  br label %237, !llvm.loop !21

251:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #10
  %252 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  store i32 %252, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #10
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %253

253:                                              ; preds = %264, %251
  %254 = load i32, ptr %23, align 4, !tbaa !5
  %255 = add nsw i32 %254, 1
  store i32 %255, ptr %23, align 4, !tbaa !5
  %256 = icmp eq i32 %254, 0
  br i1 %256, label %258, label %257

257:                                              ; preds = %253
  store i32 26, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  br label %266

258:                                              ; preds = %253
  %259 = getelementptr inbounds %struct.parsb_options, ptr %24, i32 0, i32 0
  store i8 0, ptr %259, align 1, !tbaa !9
  %260 = getelementptr inbounds %struct.parsb_options, ptr %24, i32 0, i32 0
  %261 = load i8, ptr %260, align 1
  %262 = call ptr @parsb_create_context(i8 %261)
  store ptr %262, ptr %2, align 8, !tbaa !12
  %263 = load ptr, ptr %2, align 8, !tbaa !12
  call void @parsb_add_blocks_from_file(ptr noundef %263, ptr noundef @.str.36)
  br label %264

264:                                              ; preds = %258
  %265 = load i32, ptr %22, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.38, i32 noundef %265)
  br label %253, !llvm.loop !22

266:                                              ; preds = %257
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #10
  %267 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  store i32 %267, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #10
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %268

268:                                              ; preds = %280, %266
  %269 = load i32, ptr %26, align 4, !tbaa !5
  %270 = add nsw i32 %269, 1
  store i32 %270, ptr %26, align 4, !tbaa !5
  %271 = icmp eq i32 %269, 0
  br i1 %271, label %273, label %272

272:                                              ; preds = %268
  store i32 29, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #10
  br label %282

273:                                              ; preds = %268
  %274 = call noalias ptr @fopen(ptr noundef @.str.39, ptr noundef @.str.3)
  store ptr %274, ptr @global_file, align 8, !tbaa !12
  %275 = load ptr, ptr %2, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #10
  %276 = call noundef ptr @"_ZZ4mainENK3$_1cvPFvPKcPvEEv"(ptr noundef nonnull align 1 dereferenceable(1) %27) #10
  call void @parsb_write_blocks(ptr noundef %275, ptr noundef %276, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #10
  %277 = load ptr, ptr @global_file, align 8, !tbaa !12
  %278 = call i32 @fclose(ptr noundef %277)
  %279 = load ptr, ptr %2, align 8, !tbaa !12
  call void @parsb_destroy_context(ptr noundef %279)
  br label %280

280:                                              ; preds = %273
  %281 = load i32, ptr %25, align 4, !tbaa !5
  call void @__describe_after_spec(ptr noundef @.str.40, i32 noundef %281)
  br label %268, !llvm.loop !23

282:                                              ; preds = %272
  br label %283

283:                                              ; preds = %282
  %284 = call i32 (ptr, ...) @printf(ptr noundef @.str.41)
  br label %28, !llvm.loop !24

285:                                              ; preds = %37
  %286 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  store i32 %286, ptr %1, align 4
  store i32 1, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #10
  %287 = load i32, ptr %1, align 4
  ret i32 %287
}

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

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

; Function Attrs: noreturn nounwind
declare void @abort() #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZ4mainENK3$_0cvPFvPKcPvEEv"(ptr noundef nonnull align 1 dereferenceable(1)) #9 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZ4mainENK3$_1cvPFvPKcPvEEv"(ptr noundef nonnull align 1 dereferenceable(1)) #9 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress 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 = { "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 "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 = { mustprogress norecurse 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 #7 = { 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 #8 = { 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 #9 = { inlinehint mustprogress 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 #10 = { nounwind }
attributes #11 = { nounwind willreturn memory(read) }
attributes #12 = { 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++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS13parsb_options", !11, i64 0}
!11 = !{!"bool", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !15}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}
!24 = distinct !{!24, !15}


; 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"

%class.anon = type { i8 }
%class.anon.0 = type { i8 }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZL17__assert_failures = external hidden local_unnamed_addr global i32, align 4
@global_file = external dso_local local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@_ZL11test_string = external hidden constant [123 x i8], align 16
@.str.10 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [72 x i8], align 1
@_ZL13__assert_bail = external hidden local_unnamed_addr global i32, align 4
@.str.15 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [26 x i8], align 1
@__const.main.newblocks = external hidden unnamed_addr constant [33 x i8], align 16
@.str.31 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @parsb_create_context(i8) local_unnamed_addr #0

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @parsb_add_blocks(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @parsb_get_blocks(ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #4

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

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @__describe_after_spec(ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #5 {
  %1 = alloca [33 x i8], align 16
  %2 = alloca %class.anon, align 1
  %3 = alloca %class.anon.0, align 1
  %4 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef nonnull @.str.9)
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %.critedge, label %.critedge72

.critedge:                                        ; preds = %.critedge82, %0
  %5 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  ret i32 %5

.critedge72:                                      ; preds = %0
  %6 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %7 = tail call ptr @parsb_create_context(i8 0)
  tail call void @parsb_add_blocks(ptr noundef %7, ptr noundef nonnull @_ZL11test_string, i32 noundef 122)
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.10, i32 noundef %6)
  %8 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %9 = tail call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.11)
  %10 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %9, ptr noundef nonnull dereferenceable(1) @.str.12) #9
  %.not65 = icmp eq i32 %10, 0
  br i1 %.not65, label %19, label %11

11:                                               ; preds = %.critedge72
  %12 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %13 = add nsw i32 %12, 1
  store i32 %13, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %14 = load ptr, ptr @stderr, align 8, !tbaa !9
  %15 = tail call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.11)
  %16 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef nonnull @.str.13, ptr noundef %15, ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.14, i32 noundef 36) #10
  %17 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %.not66 = icmp eq i32 %17, 0
  br i1 %.not66, label %19, label %18

18:                                               ; preds = %11
  tail call void @abort() #11
  unreachable

19:                                               ; preds = %11, %.critedge72
  %20 = tail call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.15)
  %21 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %20, ptr noundef nonnull dereferenceable(1) @.str.16) #9
  %.not67 = icmp eq i32 %21, 0
  br i1 %.not67, label %30, label %22

22:                                               ; preds = %19
  %23 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %24 = add nsw i32 %23, 1
  store i32 %24, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %25 = load ptr, ptr @stderr, align 8, !tbaa !9
  %26 = tail call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.15)
  %27 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef nonnull @.str.13, ptr noundef %26, ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.14, i32 noundef 38) #10
  %28 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %.not68 = icmp eq i32 %28, 0
  br i1 %.not68, label %30, label %29

29:                                               ; preds = %22
  tail call void @abort() #11
  unreachable

30:                                               ; preds = %22, %19
  %31 = tail call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.17)
  %32 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %31, ptr noundef nonnull dereferenceable(1) @.str.18) #9
  %.not69 = icmp eq i32 %32, 0
  br i1 %.not69, label %.critedge74, label %33

33:                                               ; preds = %30
  %34 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %36 = load ptr, ptr @stderr, align 8, !tbaa !9
  %37 = tail call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.17)
  %38 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.13, ptr noundef %37, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.14, i32 noundef 40) #10
  %39 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %.not70 = icmp eq i32 %39, 0
  br i1 %.not70, label %.critedge74, label %40

40:                                               ; preds = %33
  tail call void @abort() #11
  unreachable

.critedge74:                                      ; preds = %30, %33
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.19, i32 noundef %8)
  %41 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %42 = tail call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.20)
  %43 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %42, ptr noundef nonnull dereferenceable(1) @.str.21) #9
  %.not63 = icmp eq i32 %43, 0
  br i1 %.not63, label %.critedge76, label %44

44:                                               ; preds = %.critedge74
  %45 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %47 = load ptr, ptr @stderr, align 8, !tbaa !9
  %48 = tail call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.20)
  %49 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef nonnull @.str.13, ptr noundef %48, ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.14, i32 noundef 45) #10
  %50 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %.not64 = icmp eq i32 %50, 0
  br i1 %.not64, label %.critedge76, label %51

51:                                               ; preds = %44
  tail call void @abort() #11
  unreachable

.critedge76:                                      ; preds = %.critedge74, %44
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.22, i32 noundef %41)
  %52 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  tail call void @parsb_add_block(ptr noundef %7, ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.24)
  %53 = tail call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.25)
  %54 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %53, ptr noundef nonnull dereferenceable(1) @.str.26) #9
  %.not61 = icmp eq i32 %54, 0
  br i1 %.not61, label %.critedge78, label %55

55:                                               ; preds = %.critedge76
  %56 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %58 = load ptr, ptr @stderr, align 8, !tbaa !9
  %59 = tail call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.25)
  %60 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %58, ptr noundef nonnull @.str.13, ptr noundef %59, ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.14, i32 noundef 51) #10
  %61 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %.not62 = icmp eq i32 %61, 0
  br i1 %.not62, label %.critedge78, label %62

62:                                               ; preds = %55
  tail call void @abort() #11
  unreachable

.critedge78:                                      ; preds = %.critedge76, %55
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.27, i32 noundef %52)
  %63 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  tail call void @parsb_add_block(ptr noundef %7, ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.28)
  %64 = tail call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.25)
  %65 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %64, ptr noundef nonnull dereferenceable(1) @.str.29) #9
  %.not59 = icmp eq i32 %65, 0
  br i1 %.not59, label %.critedge80, label %66

66:                                               ; preds = %.critedge78
  %67 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %69 = load ptr, ptr @stderr, align 8, !tbaa !9
  %70 = tail call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.25)
  %71 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef nonnull @.str.13, ptr noundef %70, ptr noundef nonnull @.str.29, ptr noundef nonnull @.str.14, i32 noundef 57) #10
  %72 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %.not60 = icmp eq i32 %72, 0
  br i1 %.not60, label %.critedge80, label %73

73:                                               ; preds = %66
  tail call void @abort() #11
  unreachable

.critedge80:                                      ; preds = %.critedge78, %66
  tail call void @__describe_after_spec(ptr noundef nonnull @.str.30, i32 noundef %63)
  %74 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 33, ptr nonnull %1) #12
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(33) %1, ptr noundef nonnull align 16 dereferenceable(33) @__const.main.newblocks, i64 33, i1 false)
  call void @parsb_add_blocks(ptr noundef %7, ptr noundef nonnull %1, i32 noundef 32)
  %75 = call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.31)
  %76 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %75, ptr noundef nonnull dereferenceable(1) @.str.32) #9
  %.not55 = icmp eq i32 %76, 0
  br i1 %.not55, label %85, label %77

77:                                               ; preds = %.critedge80
  %78 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %80 = load ptr, ptr @stderr, align 8, !tbaa !9
  %81 = call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.31)
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef nonnull @.str.13, ptr noundef %81, ptr noundef nonnull @.str.32, ptr noundef nonnull @.str.14, i32 noundef 68) #10
  %83 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %.not56 = icmp eq i32 %83, 0
  br i1 %.not56, label %85, label %84

84:                                               ; preds = %77
  call void @abort() #11
  unreachable

85:                                               ; preds = %77, %.critedge80
  %86 = call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.33)
  %87 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %86, ptr noundef nonnull dereferenceable(1) @.str.34) #9
  %.not57 = icmp eq i32 %87, 0
  br i1 %.not57, label %.critedge82, label %88

88:                                               ; preds = %85
  %89 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %91 = load ptr, ptr @stderr, align 8, !tbaa !9
  %92 = call ptr @parsb_get_blocks(ptr noundef %7, ptr noundef nonnull @.str.33)
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %91, ptr noundef nonnull @.str.13, ptr noundef %92, ptr noundef nonnull @.str.34, ptr noundef nonnull @.str.14, i32 noundef 69) #10
  %94 = load i32, ptr @_ZL13__assert_bail, align 4, !tbaa !5
  %.not58 = icmp eq i32 %94, 0
  br i1 %.not58, label %.critedge82, label %95

95:                                               ; preds = %88
  call void @abort() #11
  unreachable

.critedge82:                                      ; preds = %88, %85
  call void @llvm.lifetime.end.p0(i64 33, ptr nonnull %1) #12
  call void @__describe_after_spec(ptr noundef nonnull @.str.35, i32 noundef %74)
  %96 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %97 = call noalias ptr @fopen(ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.3)
  store ptr %97, ptr @global_file, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %2) #12
  %98 = call noundef ptr @"_ZZ4mainENK3$_0cvPFvPKcPvEEv"(ptr noundef nonnull align 1 dereferenceable(1) %2) #12
  call void @parsb_write_blocks(ptr noundef %7, ptr noundef %98, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %2) #12
  %99 = load ptr, ptr @global_file, align 8, !tbaa !9
  %100 = call i32 @fclose(ptr noundef %99)
  call void @parsb_destroy_context(ptr noundef %7)
  call void @__describe_after_spec(ptr noundef nonnull @.str.37, i32 noundef %96)
  %101 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %102 = call ptr @parsb_create_context(i8 0)
  call void @parsb_add_blocks_from_file(ptr noundef %102, ptr noundef nonnull @.str.36)
  call void @__describe_after_spec(ptr noundef nonnull @.str.38, i32 noundef %101)
  %103 = load i32, ptr @_ZL17__assert_failures, align 4, !tbaa !5
  %104 = call noalias ptr @fopen(ptr noundef nonnull @.str.39, ptr noundef nonnull @.str.3)
  store ptr %104, ptr @global_file, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #12
  %105 = call noundef ptr @"_ZZ4mainENK3$_1cvPFvPKcPvEEv"(ptr noundef nonnull align 1 dereferenceable(1) %3) #12
  call void @parsb_write_blocks(ptr noundef %102, ptr noundef %105, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #12
  %106 = load ptr, ptr @global_file, align 8, !tbaa !9
  %107 = call i32 @fclose(ptr noundef %106)
  call void @parsb_destroy_context(ptr noundef %102)
  call void @__describe_after_spec(ptr noundef nonnull @.str.40, i32 noundef %103)
  %108 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.41)
  br label %.critedge
}

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

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

; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZ4mainENK3$_0cvPFvPKcPvEEv"(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #8 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZ4mainENK3$_1cvPFvPKcPvEEv"(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #8 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress 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 = { 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 #5 = { mustprogress norecurse 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 = { 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 #7 = { 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 #8 = { inlinehint mustprogress 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 #9 = { nounwind willreturn memory(read) }
attributes #10 = { cold nounwind }
attributes #11 = { noreturn nounwind }
attributes #12 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LoopInstSimplifyPass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass