; LLVM IR from tensorflow/tflite-micro :: tensorflow/lite/micro/arena_allocator (persistent_arena_buffer_allocator_test)

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

%"class.tflite::PersistentArenaBufferAllocator" = type { %"class.tflite::IPersistentBufferAllocator", ptr, ptr, ptr }
%"class.tflite::IPersistentBufferAllocator" = type { ptr }

@_ZN10micro_test12tests_passedE = external dso_local global i32, align 4
@_ZN10micro_test12tests_failedE = external dso_local global i32, align 4
@_ZN10micro_test16is_test_completeE = external dso_local global i8, align 1
@_ZN10micro_test13did_test_failE = external dso_local global i8, align 1
@.str = external hidden unnamed_addr constant [35 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [137 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca [1024 x i8], align 16
  %8 = alloca %"class.tflite::PersistentArenaBufferAllocator", align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i8, align 1
  %21 = alloca i8, align 1
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca [1024 x i8], align 16
  %25 = alloca %"class.tflite::PersistentArenaBufferAllocator", align 8
  %26 = alloca i64, align 8
  %27 = alloca ptr, align 8
  %28 = alloca i64, align 8
  %29 = alloca ptr, align 8
  %30 = alloca i64, align 8
  %31 = alloca [1024 x i8], align 16
  %32 = alloca %"class.tflite::PersistentArenaBufferAllocator", align 8
  %33 = alloca i64, align 8
  %34 = alloca ptr, align 8
  %35 = alloca i64, align 8
  %36 = alloca ptr, align 8
  %37 = alloca i64, align 8
  %38 = alloca i64, align 8
  %39 = alloca i8, align 1
  %40 = alloca i8, align 1
  %41 = alloca i64, align 8
  %42 = alloca i64, align 8
  %43 = alloca [1024 x i8], align 16
  %44 = alloca %"class.tflite::PersistentArenaBufferAllocator", align 8
  %45 = alloca i64, align 8
  %46 = alloca i64, align 8
  %47 = alloca ptr, align 8
  %48 = alloca i64, align 8
  %49 = alloca i64, align 8
  %50 = alloca i8, align 1
  %51 = alloca i8, align 1
  %52 = alloca i64, align 8
  %53 = alloca i64, align 8
  %54 = alloca ptr, align 8
  %55 = alloca i64, align 8
  %56 = alloca i64, align 8
  %57 = alloca i8, align 1
  %58 = alloca i8, align 1
  %59 = alloca i64, align 8
  %60 = alloca i64, align 8
  %61 = alloca i64, align 8
  %62 = alloca i8, align 1
  %63 = alloca i8, align 1
  %64 = alloca i64, 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
  store i32 0, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  store i32 0, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  call void @_ZN6tflite14InitializeTestEv()
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %65

65:                                               ; preds = %219, %2
  %66 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %67 = trunc i8 %66 to i1
  %68 = xor i1 %67, true
  br i1 %68, label %69, label %236

69:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store i64 1024, ptr %6, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1024, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  %70 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
  call void @_ZN6tflite30PersistentArenaBufferAllocatorC1EPhm(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef %70, i64 noundef 1024)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store i64 10, ptr %9, align 8, !tbaa !15
  %71 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef 10, i64 noundef 1)
          to label %72 unwind label %104

72:                                               ; preds = %69
  br label %73

73:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 10, ptr %12, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %74 = invoke noundef i64 @_ZNK6tflite30PersistentArenaBufferAllocator22GetPersistentUsedBytesEv(ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %75 unwind label %108

75:                                               ; preds = %73
  store i64 %74, ptr %13, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  store i8 0, ptr %14, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  store i8 0, ptr %15, align 1, !tbaa !11
  %76 = load i8, ptr %14, align 1, !tbaa !11, !range !13, !noundef !14
  %77 = trunc i8 %76 to i1
  br i1 %77, label %78, label %117

78:                                               ; preds = %75
  %79 = load i8, ptr %15, align 1, !tbaa !11, !range !13, !noundef !14
  %80 = trunc i8 %79 to i1
  br i1 %80, label %81, label %117

81:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %82 = load i64, ptr %12, align 8, !tbaa !15
  %83 = load i64, ptr %13, align 8, !tbaa !15
  %84 = icmp ugt i64 %82, %83
  br i1 %84, label %85, label %89

85:                                               ; preds = %81
  %86 = load i64, ptr %12, align 8, !tbaa !15
  %87 = load i64, ptr %13, align 8, !tbaa !15
  %88 = sub i64 %86, %87
  br label %93

89:                                               ; preds = %81
  %90 = load i64, ptr %13, align 8, !tbaa !15
  %91 = load i64, ptr %12, align 8, !tbaa !15
  %92 = sub i64 %90, %91
  br label %93

93:                                               ; preds = %89, %85
  %94 = phi i64 [ %88, %85 ], [ %92, %89 ]
  store i64 %94, ptr %16, align 8, !tbaa !15
  %95 = load i64, ptr %16, align 8, !tbaa !15
  %96 = call noundef i64 @_ZNSt14numeric_limitsImE7epsilonEv() #6
  %97 = icmp ugt i64 %95, %96
  br i1 %97, label %98, label %116

98:                                               ; preds = %93
  %99 = load i64, ptr %12, align 8, !tbaa !15
  %100 = uitofp i64 %99 to double
  %101 = load i64, ptr %13, align 8, !tbaa !15
  %102 = uitofp i64 %101 to double
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 32, double noundef %100, double noundef %102)
          to label %103 unwind label %112

103:                                              ; preds = %98
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %116

104:                                              ; preds = %69
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %10, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %11, align 4
  br label %235

108:                                              ; preds = %73
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %10, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %11, align 4
  br label %178

112:                                              ; preds = %98
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %10, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %177

116:                                              ; preds = %103, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %141

117:                                              ; preds = %78, %75
  %118 = load i64, ptr %12, align 8, !tbaa !15
  %119 = load i64, ptr %13, align 8, !tbaa !15
  %120 = icmp ne i64 %118, %119
  br i1 %120, label %121, label %140

121:                                              ; preds = %117
  %122 = load i64, ptr %12, align 8, !tbaa !15
  %123 = trunc i64 %122 to i32
  %124 = load i64, ptr %13, align 8, !tbaa !15
  %125 = trunc i64 %124 to i32
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 32, i32 noundef %123, i32 noundef %125)
          to label %126 unwind label %135

126:                                              ; preds = %121
  %127 = load i8, ptr %14, align 1, !tbaa !11, !range !13, !noundef !14
  %128 = trunc i8 %127 to i1
  br i1 %128, label %132, label %129

129:                                              ; preds = %126
  %130 = load i8, ptr %15, align 1, !tbaa !11, !range !13, !noundef !14
  %131 = trunc i8 %130 to i1
  br i1 %131, label %132, label %139

132:                                              ; preds = %129, %126
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.4)
          to label %133 unwind label %135

133:                                              ; preds = %132
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.5)
          to label %134 unwind label %135

134:                                              ; preds = %133
  br label %139

135:                                              ; preds = %133, %132, %121
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %10, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %11, align 4
  br label %177

139:                                              ; preds = %134, %129
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %140

140:                                              ; preds = %139, %117
  br label %141

141:                                              ; preds = %140, %116
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %142

142:                                              ; preds = %141
  br label %143

143:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  store i64 15, ptr %17, align 8, !tbaa !15
  %144 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef 15, i64 noundef 1)
          to label %145 unwind label %179

145:                                              ; preds = %143
  br label %146

146:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  store i64 25, ptr %18, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %147 = invoke noundef i64 @_ZNK6tflite30PersistentArenaBufferAllocator22GetPersistentUsedBytesEv(ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %148 unwind label %183

148:                                              ; preds = %146
  store i64 %147, ptr %19, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #6
  store i8 0, ptr %20, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  store i8 0, ptr %21, align 1, !tbaa !11
  %149 = load i8, ptr %20, align 1, !tbaa !11, !range !13, !noundef !14
  %150 = trunc i8 %149 to i1
  br i1 %150, label %151, label %192

151:                                              ; preds = %148
  %152 = load i8, ptr %21, align 1, !tbaa !11, !range !13, !noundef !14
  %153 = trunc i8 %152 to i1
  br i1 %153, label %154, label %192

154:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %155 = load i64, ptr %18, align 8, !tbaa !15
  %156 = load i64, ptr %19, align 8, !tbaa !15
  %157 = icmp ugt i64 %155, %156
  br i1 %157, label %158, label %162

158:                                              ; preds = %154
  %159 = load i64, ptr %18, align 8, !tbaa !15
  %160 = load i64, ptr %19, align 8, !tbaa !15
  %161 = sub i64 %159, %160
  br label %166

162:                                              ; preds = %154
  %163 = load i64, ptr %19, align 8, !tbaa !15
  %164 = load i64, ptr %18, align 8, !tbaa !15
  %165 = sub i64 %163, %164
  br label %166

166:                                              ; preds = %162, %158
  %167 = phi i64 [ %161, %158 ], [ %165, %162 ]
  store i64 %167, ptr %22, align 8, !tbaa !15
  %168 = load i64, ptr %22, align 8, !tbaa !15
  %169 = call noundef i64 @_ZNSt14numeric_limitsImE7epsilonEv() #6
  %170 = icmp ugt i64 %168, %169
  br i1 %170, label %171, label %191

171:                                              ; preds = %166
  %172 = load i64, ptr %18, align 8, !tbaa !15
  %173 = uitofp i64 %172 to double
  %174 = load i64, ptr %19, align 8, !tbaa !15
  %175 = uitofp i64 %174 to double
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 37, double noundef %173, double noundef %175)
          to label %176 unwind label %187

176:                                              ; preds = %171
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %191

177:                                              ; preds = %135, %112
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  br label %178

178:                                              ; preds = %177, %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %235

179:                                              ; preds = %143
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %10, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %11, align 4
  br label %234

183:                                              ; preds = %146
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %10, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %11, align 4
  br label %233

187:                                              ; preds = %171
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %10, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %232

191:                                              ; preds = %176, %166
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %216

192:                                              ; preds = %151, %148
  %193 = load i64, ptr %18, align 8, !tbaa !15
  %194 = load i64, ptr %19, align 8, !tbaa !15
  %195 = icmp ne i64 %193, %194
  br i1 %195, label %196, label %215

196:                                              ; preds = %192
  %197 = load i64, ptr %18, align 8, !tbaa !15
  %198 = trunc i64 %197 to i32
  %199 = load i64, ptr %19, align 8, !tbaa !15
  %200 = trunc i64 %199 to i32
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef 37, i32 noundef %198, i32 noundef %200)
          to label %201 unwind label %210

201:                                              ; preds = %196
  %202 = load i8, ptr %20, align 1, !tbaa !11, !range !13, !noundef !14
  %203 = trunc i8 %202 to i1
  br i1 %203, label %207, label %204

204:                                              ; preds = %201
  %205 = load i8, ptr %21, align 1, !tbaa !11, !range !13, !noundef !14
  %206 = trunc i8 %205 to i1
  br i1 %206, label %207, label %214

207:                                              ; preds = %204, %201
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.4)
          to label %208 unwind label %210

208:                                              ; preds = %207
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.5)
          to label %209 unwind label %210

209:                                              ; preds = %208
  br label %214

210:                                              ; preds = %208, %207, %196
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %10, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %11, align 4
  br label %232

214:                                              ; preds = %209, %204
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %215

215:                                              ; preds = %214, %192
  br label %216

216:                                              ; preds = %215, %191
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %217

217:                                              ; preds = %216
  br label %218

218:                                              ; preds = %217
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %219

219:                                              ; preds = %218
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %220 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %221 = trunc i8 %220 to i1
  %222 = zext i1 %221 to i64
  %223 = select i1 %221, i32 0, i32 1
  %224 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %225 = add nsw i32 %224, %223
  store i32 %225, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %226 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %227 = trunc i8 %226 to i1
  %228 = zext i1 %227 to i64
  %229 = select i1 %227, i32 1, i32 0
  %230 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %231 = add nsw i32 %230, %229
  store i32 %231, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %65, !llvm.loop !17

232:                                              ; preds = %210, %187
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  br label %233

233:                                              ; preds = %232, %183
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %234

234:                                              ; preds = %233, %179
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %235

235:                                              ; preds = %234, %178, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %680

236:                                              ; preds = %65
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.8)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %237

237:                                              ; preds = %271, %236
  %238 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %239 = trunc i8 %238 to i1
  %240 = xor i1 %239, true
  br i1 %240, label %241, label %285

241:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  store i64 1024, ptr %23, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1024, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #6
  %242 = getelementptr inbounds [1024 x i8], ptr %24, i64 0, i64 0
  call void @_ZN6tflite30PersistentArenaBufferAllocatorC1EPhm(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef %242, i64 noundef 1024)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  store i64 10, ptr %26, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %243 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %25, i64 noundef 10, i64 noundef 1)
          to label %244 unwind label %250

244:                                              ; preds = %241
  store ptr %243, ptr %27, align 8, !tbaa !9
  br label %245

245:                                              ; preds = %244
  %246 = load ptr, ptr %27, align 8, !tbaa !9
  %247 = icmp ne ptr %246, null
  br i1 %247, label %254, label %248

248:                                              ; preds = %245
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 48)
          to label %249 unwind label %250

249:                                              ; preds = %248
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %254

250:                                              ; preds = %248, %241
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %10, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %11, align 4
  br label %284

254:                                              ; preds = %249, %245
  br label %255

255:                                              ; preds = %254
  br label %256

256:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  store i64 1015, ptr %28, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %257 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %25, i64 noundef 1015, i64 noundef 1)
          to label %258 unwind label %264

258:                                              ; preds = %256
  store ptr %257, ptr %29, align 8, !tbaa !9
  br label %259

259:                                              ; preds = %258
  %260 = load ptr, ptr %29, align 8, !tbaa !9
  %261 = icmp eq ptr %260, null
  br i1 %261, label %268, label %262

262:                                              ; preds = %259
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.10, ptr noundef @.str.2, i32 noundef 53)
          to label %263 unwind label %264

263:                                              ; preds = %262
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %268

264:                                              ; preds = %262, %256
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %10, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %284

268:                                              ; preds = %263, %259
  br label %269

269:                                              ; preds = %268
  br label %270

270:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %271

271:                                              ; preds = %270
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %272 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %273 = trunc i8 %272 to i1
  %274 = zext i1 %273 to i64
  %275 = select i1 %273, i32 0, i32 1
  %276 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %277 = add nsw i32 %276, %275
  store i32 %277, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %278 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %279 = trunc i8 %278 to i1
  %280 = zext i1 %279 to i64
  %281 = select i1 %279, i32 1, i32 0
  %282 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %283 = add nsw i32 %282, %281
  store i32 %283, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %237, !llvm.loop !19

284:                                              ; preds = %264, %250
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %680

285:                                              ; preds = %237
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.11)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %286

286:                                              ; preds = %387, %285
  %287 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %288 = trunc i8 %287 to i1
  %289 = xor i1 %288, true
  br i1 %289, label %290, label %404

290:                                              ; preds = %286
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  store i64 1024, ptr %30, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1024, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #6
  %291 = getelementptr inbounds [1024 x i8], ptr %31, i64 0, i64 0
  call void @_ZN6tflite30PersistentArenaBufferAllocatorC1EPhm(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef %291, i64 noundef 1024)
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  store i64 10, ptr %33, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %292 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %32, i64 noundef 10, i64 noundef 1)
          to label %293 unwind label %299

293:                                              ; preds = %290
  store ptr %292, ptr %34, align 8, !tbaa !9
  br label %294

294:                                              ; preds = %293
  %295 = load ptr, ptr %34, align 8, !tbaa !9
  %296 = icmp ne ptr %295, null
  br i1 %296, label %303, label %297

297:                                              ; preds = %294
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 64)
          to label %298 unwind label %299

298:                                              ; preds = %297
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %303

299:                                              ; preds = %297, %290
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %10, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %11, align 4
  br label %403

303:                                              ; preds = %298, %294
  br label %304

304:                                              ; preds = %303
  br label %305

305:                                              ; preds = %304
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  store i64 1014, ptr %35, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %306 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %32, i64 noundef 1014, i64 noundef 1)
          to label %307 unwind label %313

307:                                              ; preds = %305
  store ptr %306, ptr %36, align 8, !tbaa !9
  br label %308

308:                                              ; preds = %307
  %309 = load ptr, ptr %36, align 8, !tbaa !9
  %310 = icmp ne ptr %309, null
  br i1 %310, label %317, label %311

311:                                              ; preds = %308
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 69)
          to label %312 unwind label %313

312:                                              ; preds = %311
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %317

313:                                              ; preds = %311, %305
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %10, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %11, align 4
  br label %402

317:                                              ; preds = %312, %308
  br label %318

318:                                              ; preds = %317
  br label %319

319:                                              ; preds = %318
  br label %320

320:                                              ; preds = %319
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  store i64 1024, ptr %37, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  %321 = invoke noundef i64 @_ZNK6tflite30PersistentArenaBufferAllocator22GetPersistentUsedBytesEv(ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %322 unwind label %351

322:                                              ; preds = %320
  store i64 %321, ptr %38, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #6
  store i8 0, ptr %39, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #6
  store i8 0, ptr %40, align 1, !tbaa !11
  %323 = load i8, ptr %39, align 1, !tbaa !11, !range !13, !noundef !14
  %324 = trunc i8 %323 to i1
  br i1 %324, label %325, label %360

325:                                              ; preds = %322
  %326 = load i8, ptr %40, align 1, !tbaa !11, !range !13, !noundef !14
  %327 = trunc i8 %326 to i1
  br i1 %327, label %328, label %360

328:                                              ; preds = %325
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #6
  %329 = load i64, ptr %37, align 8, !tbaa !15
  %330 = load i64, ptr %38, align 8, !tbaa !15
  %331 = icmp ugt i64 %329, %330
  br i1 %331, label %332, label %336

332:                                              ; preds = %328
  %333 = load i64, ptr %37, align 8, !tbaa !15
  %334 = load i64, ptr %38, align 8, !tbaa !15
  %335 = sub i64 %333, %334
  br label %340

336:                                              ; preds = %328
  %337 = load i64, ptr %38, align 8, !tbaa !15
  %338 = load i64, ptr %37, align 8, !tbaa !15
  %339 = sub i64 %337, %338
  br label %340

340:                                              ; preds = %336, %332
  %341 = phi i64 [ %335, %332 ], [ %339, %336 ]
  store i64 %341, ptr %41, align 8, !tbaa !15
  %342 = load i64, ptr %41, align 8, !tbaa !15
  %343 = call noundef i64 @_ZNSt14numeric_limitsImE7epsilonEv() #6
  %344 = icmp ugt i64 %342, %343
  br i1 %344, label %345, label %359

345:                                              ; preds = %340
  %346 = load i64, ptr %37, align 8, !tbaa !15
  %347 = uitofp i64 %346 to double
  %348 = load i64, ptr %38, align 8, !tbaa !15
  %349 = uitofp i64 %348 to double
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.13, ptr noundef @.str.2, i32 noundef 70, double noundef %347, double noundef %349)
          to label %350 unwind label %355

350:                                              ; preds = %345
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %359

351:                                              ; preds = %320
  %352 = landingpad { ptr, i32 }
          cleanup
  %353 = extractvalue { ptr, i32 } %352, 0
  store ptr %353, ptr %10, align 8
  %354 = extractvalue { ptr, i32 } %352, 1
  store i32 %354, ptr %11, align 4
  br label %401

355:                                              ; preds = %345
  %356 = landingpad { ptr, i32 }
          cleanup
  %357 = extractvalue { ptr, i32 } %356, 0
  store ptr %357, ptr %10, align 8
  %358 = extractvalue { ptr, i32 } %356, 1
  store i32 %358, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  br label %400

359:                                              ; preds = %350, %340
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #6
  br label %384

360:                                              ; preds = %325, %322
  %361 = load i64, ptr %37, align 8, !tbaa !15
  %362 = load i64, ptr %38, align 8, !tbaa !15
  %363 = icmp ne i64 %361, %362
  br i1 %363, label %364, label %383

364:                                              ; preds = %360
  %365 = load i64, ptr %37, align 8, !tbaa !15
  %366 = trunc i64 %365 to i32
  %367 = load i64, ptr %38, align 8, !tbaa !15
  %368 = trunc i64 %367 to i32
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.14, ptr noundef @.str.2, i32 noundef 70, i32 noundef %366, i32 noundef %368)
          to label %369 unwind label %378

369:                                              ; preds = %364
  %370 = load i8, ptr %39, align 1, !tbaa !11, !range !13, !noundef !14
  %371 = trunc i8 %370 to i1
  br i1 %371, label %375, label %372

372:                                              ; preds = %369
  %373 = load i8, ptr %40, align 1, !tbaa !11, !range !13, !noundef !14
  %374 = trunc i8 %373 to i1
  br i1 %374, label %375, label %382

375:                                              ; preds = %372, %369
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.4)
          to label %376 unwind label %378

376:                                              ; preds = %375
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.5)
          to label %377 unwind label %378

377:                                              ; preds = %376
  br label %382

378:                                              ; preds = %376, %375, %364
  %379 = landingpad { ptr, i32 }
          cleanup
  %380 = extractvalue { ptr, i32 } %379, 0
  store ptr %380, ptr %10, align 8
  %381 = extractvalue { ptr, i32 } %379, 1
  store i32 %381, ptr %11, align 4
  br label %400

382:                                              ; preds = %377, %372
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %383

383:                                              ; preds = %382, %360
  br label %384

384:                                              ; preds = %383, %359
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br label %385

385:                                              ; preds = %384
  br label %386

386:                                              ; preds = %385
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %387

387:                                              ; preds = %386
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %388 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %389 = trunc i8 %388 to i1
  %390 = zext i1 %389 to i64
  %391 = select i1 %389, i32 0, i32 1
  %392 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %393 = add nsw i32 %392, %391
  store i32 %393, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %394 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %395 = trunc i8 %394 to i1
  %396 = zext i1 %395 to i64
  %397 = select i1 %395, i32 1, i32 0
  %398 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %399 = add nsw i32 %398, %397
  store i32 %399, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %286, !llvm.loop !20

400:                                              ; preds = %378, %355
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #6
  br label %401

401:                                              ; preds = %400, %351
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br label %402

402:                                              ; preds = %401, %313
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  br label %403

403:                                              ; preds = %402, %299
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %680

404:                                              ; preds = %286
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.15)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %405

405:                                              ; preds = %654, %404
  %406 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %407 = trunc i8 %406 to i1
  %408 = xor i1 %407, true
  br i1 %408, label %409, label %669

409:                                              ; preds = %405
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #6
  store i64 1024, ptr %42, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1024, ptr %43) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %44) #6
  %410 = getelementptr inbounds [1024 x i8], ptr %43, i64 0, i64 0
  call void @_ZN6tflite30PersistentArenaBufferAllocatorC1EPhm(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef %410, i64 noundef 1024)
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #6
  store i64 10, ptr %45, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #6
  store i64 16, ptr %46, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #6
  %411 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %44, i64 noundef 10, i64 noundef 16)
          to label %412 unwind label %418

412:                                              ; preds = %409
  store ptr %411, ptr %47, align 8, !tbaa !9
  br label %413

413:                                              ; preds = %412
  %414 = load ptr, ptr %47, align 8, !tbaa !9
  %415 = icmp ne ptr %414, null
  br i1 %415, label %422, label %416

416:                                              ; preds = %413
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 82)
          to label %417 unwind label %418

417:                                              ; preds = %416
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %422

418:                                              ; preds = %493, %489, %416, %409
  %419 = landingpad { ptr, i32 }
          cleanup
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %10, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %11, align 4
  br label %668

422:                                              ; preds = %417, %413
  br label %423

423:                                              ; preds = %422
  br label %424

424:                                              ; preds = %423
  br label %425

425:                                              ; preds = %424
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #6
  %426 = load ptr, ptr %47, align 8, !tbaa !9
  %427 = ptrtoint ptr %426 to i64
  %428 = urem i64 %427, 16
  store i64 %428, ptr %48, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #6
  store i64 0, ptr %49, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #6
  store i8 0, ptr %50, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #6
  store i8 0, ptr %51, align 1, !tbaa !11
  %429 = load i8, ptr %50, align 1, !tbaa !11, !range !13, !noundef !14
  %430 = trunc i8 %429 to i1
  br i1 %430, label %431, label %462

431:                                              ; preds = %425
  %432 = load i8, ptr %51, align 1, !tbaa !11, !range !13, !noundef !14
  %433 = trunc i8 %432 to i1
  br i1 %433, label %434, label %462

434:                                              ; preds = %431
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #6
  %435 = load i64, ptr %48, align 8, !tbaa !15
  %436 = load i64, ptr %49, align 8, !tbaa !15
  %437 = icmp ugt i64 %435, %436
  br i1 %437, label %438, label %442

438:                                              ; preds = %434
  %439 = load i64, ptr %48, align 8, !tbaa !15
  %440 = load i64, ptr %49, align 8, !tbaa !15
  %441 = sub i64 %439, %440
  br label %446

442:                                              ; preds = %434
  %443 = load i64, ptr %49, align 8, !tbaa !15
  %444 = load i64, ptr %48, align 8, !tbaa !15
  %445 = sub i64 %443, %444
  br label %446

446:                                              ; preds = %442, %438
  %447 = phi i64 [ %441, %438 ], [ %445, %442 ]
  store i64 %447, ptr %52, align 8, !tbaa !15
  %448 = load i64, ptr %52, align 8, !tbaa !15
  %449 = call noundef i64 @_ZNSt14numeric_limitsImE7epsilonEv() #6
  %450 = icmp ugt i64 %448, %449
  br i1 %450, label %451, label %461

451:                                              ; preds = %446
  %452 = load i64, ptr %48, align 8, !tbaa !15
  %453 = uitofp i64 %452 to double
  %454 = load i64, ptr %49, align 8, !tbaa !15
  %455 = uitofp i64 %454 to double
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.16, ptr noundef @.str.2, i32 noundef 85, double noundef %453, double noundef %455)
          to label %456 unwind label %457

456:                                              ; preds = %451
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %461

457:                                              ; preds = %451
  %458 = landingpad { ptr, i32 }
          cleanup
  %459 = extractvalue { ptr, i32 } %458, 0
  store ptr %459, ptr %10, align 8
  %460 = extractvalue { ptr, i32 } %458, 1
  store i32 %460, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #6
  br label %495

461:                                              ; preds = %456, %446
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #6
  br label %486

462:                                              ; preds = %431, %425
  %463 = load i64, ptr %48, align 8, !tbaa !15
  %464 = load i64, ptr %49, align 8, !tbaa !15
  %465 = icmp ne i64 %463, %464
  br i1 %465, label %466, label %485

466:                                              ; preds = %462
  %467 = load i64, ptr %48, align 8, !tbaa !15
  %468 = trunc i64 %467 to i32
  %469 = load i64, ptr %49, align 8, !tbaa !15
  %470 = trunc i64 %469 to i32
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.17, ptr noundef @.str.2, i32 noundef 85, i32 noundef %468, i32 noundef %470)
          to label %471 unwind label %480

471:                                              ; preds = %466
  %472 = load i8, ptr %50, align 1, !tbaa !11, !range !13, !noundef !14
  %473 = trunc i8 %472 to i1
  br i1 %473, label %477, label %474

474:                                              ; preds = %471
  %475 = load i8, ptr %51, align 1, !tbaa !11, !range !13, !noundef !14
  %476 = trunc i8 %475 to i1
  br i1 %476, label %477, label %484

477:                                              ; preds = %474, %471
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.4)
          to label %478 unwind label %480

478:                                              ; preds = %477
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.5)
          to label %479 unwind label %480

479:                                              ; preds = %478
  br label %484

480:                                              ; preds = %478, %477, %466
  %481 = landingpad { ptr, i32 }
          cleanup
  %482 = extractvalue { ptr, i32 } %481, 0
  store ptr %482, ptr %10, align 8
  %483 = extractvalue { ptr, i32 } %481, 1
  store i32 %483, ptr %11, align 4
  br label %495

484:                                              ; preds = %479, %474
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %485

485:                                              ; preds = %484, %462
  br label %486

486:                                              ; preds = %485, %461
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #6
  br label %487

487:                                              ; preds = %486
  br label %488

488:                                              ; preds = %487
  br label %489

489:                                              ; preds = %488
  %490 = invoke noundef i64 @_ZNK6tflite30PersistentArenaBufferAllocator22GetPersistentUsedBytesEv(ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %491 unwind label %418

491:                                              ; preds = %489
  %492 = icmp ult i64 %490, 10
  br i1 %492, label %493, label %496

493:                                              ; preds = %491
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.18, ptr noundef @.str.2, i32 noundef 86)
          to label %494 unwind label %418

494:                                              ; preds = %493
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %496

495:                                              ; preds = %480, %457
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #6
  br label %668

496:                                              ; preds = %494, %491
  br label %497

497:                                              ; preds = %496
  br label %498

498:                                              ; preds = %497
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #6
  store i64 16, ptr %53, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #6
  %499 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %44, i64 noundef 16, i64 noundef 16)
          to label %500 unwind label %506

500:                                              ; preds = %498
  store ptr %499, ptr %54, align 8, !tbaa !9
  br label %501

501:                                              ; preds = %500
  %502 = load ptr, ptr %54, align 8, !tbaa !9
  %503 = icmp ne ptr %502, null
  br i1 %503, label %510, label %504

504:                                              ; preds = %501
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.12, ptr noundef @.str.2, i32 noundef 90)
          to label %505 unwind label %506

505:                                              ; preds = %504
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %510

506:                                              ; preds = %648, %644, %504, %498
  %507 = landingpad { ptr, i32 }
          cleanup
  %508 = extractvalue { ptr, i32 } %507, 0
  store ptr %508, ptr %10, align 8
  %509 = extractvalue { ptr, i32 } %507, 1
  store i32 %509, ptr %11, align 4
  br label %667

510:                                              ; preds = %505, %501
  br label %511

511:                                              ; preds = %510
  br label %512

512:                                              ; preds = %511
  br label %513

513:                                              ; preds = %512
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #6
  %514 = load ptr, ptr %54, align 8, !tbaa !9
  %515 = ptrtoint ptr %514 to i64
  %516 = urem i64 %515, 16
  store i64 %516, ptr %55, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #6
  store i64 0, ptr %56, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %57) #6
  store i8 0, ptr %57, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %58) #6
  store i8 0, ptr %58, align 1, !tbaa !11
  %517 = load i8, ptr %57, align 1, !tbaa !11, !range !13, !noundef !14
  %518 = trunc i8 %517 to i1
  br i1 %518, label %519, label %550

519:                                              ; preds = %513
  %520 = load i8, ptr %58, align 1, !tbaa !11, !range !13, !noundef !14
  %521 = trunc i8 %520 to i1
  br i1 %521, label %522, label %550

522:                                              ; preds = %519
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #6
  %523 = load i64, ptr %55, align 8, !tbaa !15
  %524 = load i64, ptr %56, align 8, !tbaa !15
  %525 = icmp ugt i64 %523, %524
  br i1 %525, label %526, label %530

526:                                              ; preds = %522
  %527 = load i64, ptr %55, align 8, !tbaa !15
  %528 = load i64, ptr %56, align 8, !tbaa !15
  %529 = sub i64 %527, %528
  br label %534

530:                                              ; preds = %522
  %531 = load i64, ptr %56, align 8, !tbaa !15
  %532 = load i64, ptr %55, align 8, !tbaa !15
  %533 = sub i64 %531, %532
  br label %534

534:                                              ; preds = %530, %526
  %535 = phi i64 [ %529, %526 ], [ %533, %530 ]
  store i64 %535, ptr %59, align 8, !tbaa !15
  %536 = load i64, ptr %59, align 8, !tbaa !15
  %537 = call noundef i64 @_ZNSt14numeric_limitsImE7epsilonEv() #6
  %538 = icmp ugt i64 %536, %537
  br i1 %538, label %539, label %549

539:                                              ; preds = %534
  %540 = load i64, ptr %55, align 8, !tbaa !15
  %541 = uitofp i64 %540 to double
  %542 = load i64, ptr %56, align 8, !tbaa !15
  %543 = uitofp i64 %542 to double
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.19, ptr noundef @.str.2, i32 noundef 93, double noundef %541, double noundef %543)
          to label %544 unwind label %545

544:                                              ; preds = %539
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %549

545:                                              ; preds = %539
  %546 = landingpad { ptr, i32 }
          cleanup
  %547 = extractvalue { ptr, i32 } %546, 0
  store ptr %547, ptr %10, align 8
  %548 = extractvalue { ptr, i32 } %546, 1
  store i32 %548, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #6
  br label %611

549:                                              ; preds = %544, %534
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #6
  br label %574

550:                                              ; preds = %519, %513
  %551 = load i64, ptr %55, align 8, !tbaa !15
  %552 = load i64, ptr %56, align 8, !tbaa !15
  %553 = icmp ne i64 %551, %552
  br i1 %553, label %554, label %573

554:                                              ; preds = %550
  %555 = load i64, ptr %55, align 8, !tbaa !15
  %556 = trunc i64 %555 to i32
  %557 = load i64, ptr %56, align 8, !tbaa !15
  %558 = trunc i64 %557 to i32
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.20, ptr noundef @.str.2, i32 noundef 93, i32 noundef %556, i32 noundef %558)
          to label %559 unwind label %568

559:                                              ; preds = %554
  %560 = load i8, ptr %57, align 1, !tbaa !11, !range !13, !noundef !14
  %561 = trunc i8 %560 to i1
  br i1 %561, label %565, label %562

562:                                              ; preds = %559
  %563 = load i8, ptr %58, align 1, !tbaa !11, !range !13, !noundef !14
  %564 = trunc i8 %563 to i1
  br i1 %564, label %565, label %572

565:                                              ; preds = %562, %559
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.4)
          to label %566 unwind label %568

566:                                              ; preds = %565
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.5)
          to label %567 unwind label %568

567:                                              ; preds = %566
  br label %572

568:                                              ; preds = %566, %565, %554
  %569 = landingpad { ptr, i32 }
          cleanup
  %570 = extractvalue { ptr, i32 } %569, 0
  store ptr %570, ptr %10, align 8
  %571 = extractvalue { ptr, i32 } %569, 1
  store i32 %571, ptr %11, align 4
  br label %611

572:                                              ; preds = %567, %562
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %573

573:                                              ; preds = %572, %550
  br label %574

574:                                              ; preds = %573, %549
  call void @llvm.lifetime.end.p0(i64 1, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #6
  br label %575

575:                                              ; preds = %574
  br label %576

576:                                              ; preds = %575
  br label %577

577:                                              ; preds = %576
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #6
  %578 = load ptr, ptr %47, align 8, !tbaa !9
  %579 = load ptr, ptr %54, align 8, !tbaa !9
  %580 = ptrtoint ptr %578 to i64
  %581 = ptrtoint ptr %579 to i64
  %582 = sub i64 %580, %581
  store i64 %582, ptr %60, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #6
  store i64 16, ptr %61, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %62) #6
  store i8 0, ptr %62, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %63) #6
  store i8 0, ptr %63, align 1, !tbaa !11
  %583 = load i8, ptr %62, align 1, !tbaa !11, !range !13, !noundef !14
  %584 = trunc i8 %583 to i1
  br i1 %584, label %585, label %617

585:                                              ; preds = %577
  %586 = load i8, ptr %63, align 1, !tbaa !11, !range !13, !noundef !14
  %587 = trunc i8 %586 to i1
  br i1 %587, label %588, label %617

588:                                              ; preds = %585
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #6
  %589 = load i64, ptr %60, align 8, !tbaa !15
  %590 = load i64, ptr %61, align 8, !tbaa !15
  %591 = icmp ugt i64 %589, %590
  br i1 %591, label %592, label %596

592:                                              ; preds = %588
  %593 = load i64, ptr %60, align 8, !tbaa !15
  %594 = load i64, ptr %61, align 8, !tbaa !15
  %595 = sub i64 %593, %594
  br label %600

596:                                              ; preds = %588
  %597 = load i64, ptr %61, align 8, !tbaa !15
  %598 = load i64, ptr %60, align 8, !tbaa !15
  %599 = sub i64 %597, %598
  br label %600

600:                                              ; preds = %596, %592
  %601 = phi i64 [ %595, %592 ], [ %599, %596 ]
  store i64 %601, ptr %64, align 8, !tbaa !15
  %602 = load i64, ptr %64, align 8, !tbaa !15
  %603 = call noundef i64 @_ZNSt14numeric_limitsImE7epsilonEv() #6
  %604 = icmp ugt i64 %602, %603
  br i1 %604, label %605, label %616

605:                                              ; preds = %600
  %606 = load i64, ptr %60, align 8, !tbaa !15
  %607 = uitofp i64 %606 to double
  %608 = load i64, ptr %61, align 8, !tbaa !15
  %609 = uitofp i64 %608 to double
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.21, ptr noundef @.str.2, i32 noundef 94, double noundef %607, double noundef %609)
          to label %610 unwind label %612

610:                                              ; preds = %605
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %616

611:                                              ; preds = %568, %545
  call void @llvm.lifetime.end.p0(i64 1, ptr %58) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #6
  br label %667

612:                                              ; preds = %605
  %613 = landingpad { ptr, i32 }
          cleanup
  %614 = extractvalue { ptr, i32 } %613, 0
  store ptr %614, ptr %10, align 8
  %615 = extractvalue { ptr, i32 } %613, 1
  store i32 %615, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #6
  br label %650

616:                                              ; preds = %610, %600
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #6
  br label %641

617:                                              ; preds = %585, %577
  %618 = load i64, ptr %60, align 8, !tbaa !15
  %619 = load i64, ptr %61, align 8, !tbaa !15
  %620 = icmp ne i64 %618, %619
  br i1 %620, label %621, label %640

621:                                              ; preds = %617
  %622 = load i64, ptr %60, align 8, !tbaa !15
  %623 = trunc i64 %622 to i32
  %624 = load i64, ptr %61, align 8, !tbaa !15
  %625 = trunc i64 %624 to i32
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.22, ptr noundef @.str.2, i32 noundef 94, i32 noundef %623, i32 noundef %625)
          to label %626 unwind label %635

626:                                              ; preds = %621
  %627 = load i8, ptr %62, align 1, !tbaa !11, !range !13, !noundef !14
  %628 = trunc i8 %627 to i1
  br i1 %628, label %632, label %629

629:                                              ; preds = %626
  %630 = load i8, ptr %63, align 1, !tbaa !11, !range !13, !noundef !14
  %631 = trunc i8 %630 to i1
  br i1 %631, label %632, label %639

632:                                              ; preds = %629, %626
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.4)
          to label %633 unwind label %635

633:                                              ; preds = %632
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.5)
          to label %634 unwind label %635

634:                                              ; preds = %633
  br label %639

635:                                              ; preds = %633, %632, %621
  %636 = landingpad { ptr, i32 }
          cleanup
  %637 = extractvalue { ptr, i32 } %636, 0
  store ptr %637, ptr %10, align 8
  %638 = extractvalue { ptr, i32 } %636, 1
  store i32 %638, ptr %11, align 4
  br label %650

639:                                              ; preds = %634, %629
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %640

640:                                              ; preds = %639, %617
  br label %641

641:                                              ; preds = %640, %616
  call void @llvm.lifetime.end.p0(i64 1, ptr %63) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #6
  br label %642

642:                                              ; preds = %641
  br label %643

643:                                              ; preds = %642
  br label %644

644:                                              ; preds = %643
  %645 = invoke noundef i64 @_ZNK6tflite30PersistentArenaBufferAllocator22GetPersistentUsedBytesEv(ptr noundef nonnull align 8 dereferenceable(32) %44)
          to label %646 unwind label %506

646:                                              ; preds = %644
  %647 = icmp ult i64 %645, 10
  br i1 %647, label %648, label %651

648:                                              ; preds = %646
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.18, ptr noundef @.str.2, i32 noundef 95)
          to label %649 unwind label %506

649:                                              ; preds = %648
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %651

650:                                              ; preds = %635, %612
  call void @llvm.lifetime.end.p0(i64 1, ptr %63) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #6
  br label %667

651:                                              ; preds = %649, %646
  br label %652

652:                                              ; preds = %651
  br label %653

653:                                              ; preds = %652
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  br label %654

654:                                              ; preds = %653
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %655 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %656 = trunc i8 %655 to i1
  %657 = zext i1 %656 to i64
  %658 = select i1 %656, i32 0, i32 1
  %659 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %660 = add nsw i32 %659, %658
  store i32 %660, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %661 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %662 = trunc i8 %661 to i1
  %663 = zext i1 %662 to i64
  %664 = select i1 %662, i32 1, i32 0
  %665 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %666 = add nsw i32 %665, %664
  store i32 %666, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %405, !llvm.loop !21

667:                                              ; preds = %650, %611, %506
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #6
  br label %668

668:                                              ; preds = %667, %495, %418
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #6
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr %43) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #6
  br label %680

669:                                              ; preds = %405
  %670 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %671 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %672 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %673 = add nsw i32 %671, %672
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.23, i32 noundef %670, i32 noundef %673)
  %674 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %675 = icmp eq i32 %674, 0
  br i1 %675, label %676, label %677

676:                                              ; preds = %669
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.24)
  store i32 0, ptr %3, align 4
  br label %678

677:                                              ; preds = %669
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.25)
  store i32 1, ptr %3, align 4
  br label %678

678:                                              ; preds = %677, %676
  %679 = load i32, ptr %3, align 4
  ret i32 %679

680:                                              ; preds = %668, %403, %284, %235
  %681 = load ptr, ptr %10, align 8
  %682 = load i32, ptr %11, align 4
  %683 = insertvalue { ptr, i32 } poison, ptr %681, 0
  %684 = insertvalue { ptr, i32 } %683, i32 %682, 1
  resume { ptr, i32 } %684
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6tflite14InitializeTestEv() #1

declare void @_Z11MicroPrintfPKcz(ptr noundef, ...) #2

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

declare void @_ZN6tflite30PersistentArenaBufferAllocatorC1EPhm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i64 noundef) unnamed_addr #2

declare noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

declare noundef i64 @_ZNK6tflite30PersistentArenaBufferAllocator22GetPersistentUsedBytesEv(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt14numeric_limitsImE7epsilonEv() #4 align 2

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

; Function Attrs: nounwind
declare void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5

attributes #0 = { 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 #1 = { inlinehint 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = { 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}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}


; 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.tflite::PersistentArenaBufferAllocator" = type { %"class.tflite::IPersistentBufferAllocator", ptr, ptr, ptr }
%"class.tflite::IPersistentBufferAllocator" = type { ptr }

@_ZN10micro_test12tests_passedE = external dso_local local_unnamed_addr global i32, align 4
@_ZN10micro_test12tests_failedE = external dso_local local_unnamed_addr global i32, align 4
@_ZN10micro_test16is_test_completeE = external dso_local local_unnamed_addr global i8, align 1
@_ZN10micro_test13did_test_failE = external dso_local local_unnamed_addr global i8, align 1
@.str = external hidden unnamed_addr constant [35 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [137 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [79 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
.lr.ph:
  %2 = alloca [1024 x i8], align 16
  %3 = alloca %"class.tflite::PersistentArenaBufferAllocator", align 8
  %4 = alloca [1024 x i8], align 16
  %5 = alloca %"class.tflite::PersistentArenaBufferAllocator", align 8
  %6 = alloca [1024 x i8], align 16
  %7 = alloca %"class.tflite::PersistentArenaBufferAllocator", align 8
  %8 = alloca [1024 x i8], align 16
  %9 = alloca %"class.tflite::PersistentArenaBufferAllocator", align 8
  store i32 0, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  store i32 0, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  tail call void @_ZN6tflite14InitializeTestEv()
  tail call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  call void @_ZN6tflite30PersistentArenaBufferAllocatorC1EPhm(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull %2, i64 noundef 1024)
  %10 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef 10, i64 noundef 1)
          to label %11 unwind label %13

11:                                               ; preds = %.lr.ph
  %12 = invoke noundef i64 @_ZNK6tflite30PersistentArenaBufferAllocator22GetPersistentUsedBytesEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %17 unwind label %15

13:                                               ; preds = %.lr.ph
  %14 = landingpad { ptr, i32 }
          cleanup
  br label %37

15:                                               ; preds = %11
  %16 = landingpad { ptr, i32 }
          cleanup
  br label %37

17:                                               ; preds = %11
  %.not166 = icmp eq i64 %12, 10
  br i1 %.not166, label %23, label %18

18:                                               ; preds = %17
  %19 = trunc i64 %12 to i32
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef 32, i32 noundef 10, i32 noundef %19)
          to label %22 unwind label %20

20:                                               ; preds = %18
  %21 = landingpad { ptr, i32 }
          cleanup
  br label %37

22:                                               ; preds = %18
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %23

23:                                               ; preds = %17, %22
  %24 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %3, i64 noundef 15, i64 noundef 1)
          to label %25 unwind label %27

25:                                               ; preds = %23
  %26 = invoke noundef i64 @_ZNK6tflite30PersistentArenaBufferAllocator22GetPersistentUsedBytesEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %31 unwind label %29

27:                                               ; preds = %23
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %37

29:                                               ; preds = %25
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %37

31:                                               ; preds = %25
  %.not169 = icmp eq i64 %26, 25
  br i1 %.not169, label %.lr.ph177, label %32

32:                                               ; preds = %31
  %33 = trunc i64 %26 to i32
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.2, i32 noundef 37, i32 noundef 25, i32 noundef %33)
          to label %36 unwind label %34

34:                                               ; preds = %32
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %37

36:                                               ; preds = %32
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %.lr.ph177

37:                                               ; preds = %27, %34, %29, %15, %20, %13
  %.pn170.pn.pn = phi { ptr, i32 } [ %14, %13 ], [ %21, %20 ], [ %16, %15 ], [ %28, %27 ], [ %35, %34 ], [ %30, %29 ]
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %2) #5
  br label %157

.lr.ph177:                                        ; preds = %31, %36
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %2) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  %38 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9, !range !11, !noundef !12
  %39 = xor i8 %38, 1
  %not.175 = zext nneg i8 %39 to i32
  %40 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %41 = add nsw i32 %40, %not.175
  store i32 %41, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %42 = zext nneg i8 %38 to i32
  %43 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %44 = add nsw i32 %43, %42
  store i32 %44, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.8)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  call void @_ZN6tflite30PersistentArenaBufferAllocatorC1EPhm(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull %4, i64 noundef 1024)
  %45 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef 10, i64 noundef 1)
          to label %46 unwind label %49

46:                                               ; preds = %.lr.ph177
  %.not162 = icmp eq ptr %45, null
  br i1 %.not162, label %47, label %51

47:                                               ; preds = %46
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 48)
          to label %48 unwind label %49

48:                                               ; preds = %47
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %51

49:                                               ; preds = %47, %.lr.ph177
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %59

51:                                               ; preds = %48, %46
  %52 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef 1015, i64 noundef 1)
          to label %53 unwind label %57

53:                                               ; preds = %51
  %54 = icmp eq ptr %52, null
  br i1 %54, label %.lr.ph180, label %55

55:                                               ; preds = %53
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.2, i32 noundef 53)
          to label %56 unwind label %57

56:                                               ; preds = %55
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %.lr.ph180

57:                                               ; preds = %55, %51
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %59

59:                                               ; preds = %57, %49
  %.pn163 = phi { ptr, i32 } [ %58, %57 ], [ %50, %49 ]
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %4) #5
  br label %157

.lr.ph180:                                        ; preds = %56, %53
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %4) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  %60 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9, !range !11, !noundef !12
  %61 = xor i8 %60, 1
  %not.165 = zext nneg i8 %61 to i32
  %62 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %63 = add nsw i32 %62, %not.165
  store i32 %63, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %64 = zext nneg i8 %60 to i32
  %65 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %66 = add nsw i32 %65, %64
  store i32 %66, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.11)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #5
  call void @_ZN6tflite30PersistentArenaBufferAllocatorC1EPhm(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull %6, i64 noundef 1024)
  %67 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef 10, i64 noundef 1)
          to label %68 unwind label %71

68:                                               ; preds = %.lr.ph180
  %.not154 = icmp eq ptr %67, null
  br i1 %.not154, label %69, label %73

69:                                               ; preds = %68
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 64)
          to label %70 unwind label %71

70:                                               ; preds = %69
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %73

71:                                               ; preds = %69, %.lr.ph180
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %90

73:                                               ; preds = %70, %68
  %74 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef 1014, i64 noundef 1)
          to label %75 unwind label %78

75:                                               ; preds = %73
  %.not155 = icmp eq ptr %74, null
  br i1 %.not155, label %76, label %80

76:                                               ; preds = %75
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.2, i32 noundef 69)
          to label %77 unwind label %78

77:                                               ; preds = %76
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %80

78:                                               ; preds = %76, %73
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %90

80:                                               ; preds = %75, %77
  %81 = invoke noundef i64 @_ZNK6tflite30PersistentArenaBufferAllocator22GetPersistentUsedBytesEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %84 unwind label %82

82:                                               ; preds = %80
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %90

84:                                               ; preds = %80
  %.not156 = icmp eq i64 %81, 1024
  br i1 %.not156, label %.lr.ph183, label %85

85:                                               ; preds = %84
  %86 = trunc i64 %81 to i32
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.14, ptr noundef nonnull @.str.2, i32 noundef 70, i32 noundef 1024, i32 noundef %86)
          to label %89 unwind label %87

87:                                               ; preds = %85
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %90

89:                                               ; preds = %85
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %.lr.ph183

90:                                               ; preds = %78, %87, %82, %71
  %.pn157.pn.pn = phi { ptr, i32 } [ %72, %71 ], [ %79, %78 ], [ %88, %87 ], [ %83, %82 ]
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #5
  br label %157

.lr.ph183:                                        ; preds = %84, %89
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  %91 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9, !range !11, !noundef !12
  %92 = xor i8 %91, 1
  %not.161 = zext nneg i8 %92 to i32
  %93 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %94 = add nsw i32 %93, %not.161
  store i32 %94, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %95 = zext nneg i8 %91 to i32
  %96 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %97 = add nsw i32 %96, %95
  store i32 %97, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.15)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #5
  call void @_ZN6tflite30PersistentArenaBufferAllocatorC1EPhm(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull %8, i64 noundef 1024)
  %98 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef 10, i64 noundef 16)
          to label %99 unwind label %102

99:                                               ; preds = %.lr.ph183
  %.not = icmp eq ptr %98, null
  br i1 %.not, label %100, label %104

100:                                              ; preds = %99
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.2, i32 noundef 82)
          to label %101 unwind label %102

101:                                              ; preds = %100
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %104

102:                                              ; preds = %116, %112, %100, %.lr.ph183
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %146

104:                                              ; preds = %99, %101
  %105 = ptrtoint ptr %98 to i64
  %106 = and i64 %105, 15
  %.not148 = icmp eq i64 %106, 0
  br i1 %.not148, label %112, label %107

107:                                              ; preds = %104
  %108 = trunc nuw nsw i64 %106 to i32
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.2, i32 noundef 85, i32 noundef %108, i32 noundef 0)
          to label %111 unwind label %109

109:                                              ; preds = %107
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %146

111:                                              ; preds = %107
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %112

112:                                              ; preds = %104, %111
  %113 = invoke noundef i64 @_ZNK6tflite30PersistentArenaBufferAllocator22GetPersistentUsedBytesEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %114 unwind label %102

114:                                              ; preds = %112
  %115 = icmp ult i64 %113, 10
  br i1 %115, label %116, label %118

116:                                              ; preds = %114
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.2, i32 noundef 86)
          to label %117 unwind label %102

117:                                              ; preds = %116
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %118

118:                                              ; preds = %117, %114
  %119 = invoke noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef 16, i64 noundef 16)
          to label %120 unwind label %123

120:                                              ; preds = %118
  %.not149 = icmp eq ptr %119, null
  br i1 %.not149, label %121, label %125

121:                                              ; preds = %120
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.2, i32 noundef 90)
          to label %122 unwind label %123

122:                                              ; preds = %121
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %125

123:                                              ; preds = %144, %140, %121, %118
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %146

125:                                              ; preds = %120, %122
  %126 = ptrtoint ptr %119 to i64
  %127 = and i64 %126, 15
  %.not150 = icmp eq i64 %127, 0
  br i1 %.not150, label %133, label %128

128:                                              ; preds = %125
  %129 = trunc nuw nsw i64 %127 to i32
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.2, i32 noundef 93, i32 noundef %129, i32 noundef 0)
          to label %132 unwind label %130

130:                                              ; preds = %128
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %146

132:                                              ; preds = %128
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %133

133:                                              ; preds = %125, %132
  %134 = sub i64 %105, %126
  %.not151 = icmp eq i64 %134, 16
  br i1 %.not151, label %140, label %135

135:                                              ; preds = %133
  %136 = trunc i64 %134 to i32
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.2, i32 noundef 94, i32 noundef %136, i32 noundef 16)
          to label %139 unwind label %137

137:                                              ; preds = %135
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %146

139:                                              ; preds = %135
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %140

140:                                              ; preds = %133, %139
  %141 = invoke noundef i64 @_ZNK6tflite30PersistentArenaBufferAllocator22GetPersistentUsedBytesEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %142 unwind label %123

142:                                              ; preds = %140
  %143 = icmp ult i64 %141, 10
  br i1 %143, label %144, label %._crit_edge184

144:                                              ; preds = %142
  invoke void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.2, i32 noundef 95)
          to label %145 unwind label %123

145:                                              ; preds = %144
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %._crit_edge184

146:                                              ; preds = %123, %130, %137, %109, %102
  %.pn.pn = phi { ptr, i32 } [ %103, %102 ], [ %110, %109 ], [ %124, %123 ], [ %138, %137 ], [ %131, %130 ]
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %8) #5
  br label %157

._crit_edge184:                                   ; preds = %145, %142
  call void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %8) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  %147 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9, !range !11, !noundef !12
  %148 = xor i8 %147, 1
  %not. = zext nneg i8 %148 to i32
  %149 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %150 = add nsw i32 %149, %not.
  store i32 %150, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %151 = zext nneg i8 %147 to i32
  %152 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %153 = add nsw i32 %152, %151
  store i32 %153, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %154 = add nsw i32 %153, %150
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.23, i32 noundef %150, i32 noundef %154)
  %155 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %156 = icmp ne i32 %155, 0
  %.str.24..str.25 = select i1 %156, ptr @.str.25, ptr @.str.24
  %. = zext i1 %156 to i32
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull %.str.24..str.25)
  ret i32 %.

157:                                              ; preds = %146, %90, %59, %37
  %.pn170.pn.pn.pn = phi { ptr, i32 } [ %.pn170.pn.pn, %37 ], [ %.pn163, %59 ], [ %.pn157.pn.pn, %90 ], [ %.pn.pn, %146 ]
  resume { ptr, i32 } %.pn170.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6tflite14InitializeTestEv() local_unnamed_addr #1

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

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

declare void @_ZN6tflite30PersistentArenaBufferAllocatorC1EPhm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i64 noundef) unnamed_addr #2

declare noundef ptr @_ZN6tflite30PersistentArenaBufferAllocator24AllocatePersistentBufferEmm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

declare noundef i64 @_ZNK6tflite30PersistentArenaBufferAllocator22GetPersistentUsedBytesEv(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2

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

; Function Attrs: nounwind
declare void @_ZN6tflite30PersistentArenaBufferAllocatorD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

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

!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 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass