; LLVM IR from NVIDIA/tensorflow :: tensorflow/lite/experimental/microfrontend/lib (window_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::MicroErrorReporter" = type { %"class.tflite::ErrorReporter" }
%"class.tflite::ErrorReporter" = type { ptr }
%"class.(anonymous namespace)::WindowTestConfig" = type { %struct.WindowConfig }
%struct.WindowConfig = type { i64, i64 }
%struct.WindowState = type { i64, ptr, i64, ptr, i64, ptr, i16 }

@_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
@_ZN10micro_test8reporterE = external dso_local global ptr, align 8
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [113 x i8], align 1
@__const.main.expected = external hidden unnamed_addr constant [25 x i16], align 16
@.str.4 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@_ZN12_GLOBAL__N_114kFakeAudioDataE = external hidden constant [36 x i16], align 16
@.str.7 = external hidden unnamed_addr constant [133 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [30 x i8], align 1
@__const.main.expected.10 = external hidden unnamed_addr constant [25 x i16], align 16
@.str.11 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [167 x i8], align 1
@__const.main.expected.16 = external hidden unnamed_addr constant [25 x i16], align 16
@.str.17 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [217 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.22 = 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 %"class.tflite::MicroErrorReporter", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %10 = alloca %struct.WindowState, align 8
  %11 = alloca [25 x i16], align 16
  %12 = alloca i32, align 4
  %13 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %14 = alloca %struct.WindowState, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %18 = alloca %struct.WindowState, align 8
  %19 = alloca i64, align 8
  %20 = alloca [25 x i16], align 16
  %21 = alloca i32, align 4
  %22 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %23 = alloca %struct.WindowState, align 8
  %24 = alloca i64, align 8
  %25 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %26 = alloca %struct.WindowState, align 8
  %27 = alloca i64, align 8
  %28 = alloca [25 x i16], align 16
  %29 = alloca i32, align 4
  %30 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %31 = alloca %struct.WindowState, align 8
  %32 = 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 @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  store ptr %6, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %33 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %34 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef @.str, ptr noundef @.str.1)
          to label %35 unwind label %51

35:                                               ; preds = %2
  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 %36

36:                                               ; preds = %132, %35
  %37 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %38 = trunc i8 %37 to i1
  %39 = xor i1 %38, true
  br i1 %39, label %40, label %148

40:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  invoke void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %41 unwind label %55

41:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 56, ptr %10) #6
  br label %42

42:                                               ; preds = %41
  %43 = getelementptr inbounds %"class.(anonymous namespace)::WindowTestConfig", ptr %9, i32 0, i32 0
  %44 = invoke i32 @WindowPopulateState(ptr noundef %43, ptr noundef %10, i32 noundef 1000)
          to label %45 unwind label %59

45:                                               ; preds = %42
  %46 = icmp ne i32 %44, 0
  br i1 %46, label %63, label %47

47:                                               ; preds = %45
  %48 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %49 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 49)
          to label %50 unwind label %59

50:                                               ; preds = %47
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %63

51:                                               ; preds = %712, %708, %698, %600, %461, %385, %257, %148, %2
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %7, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %8, align 4
  br label %718

55:                                               ; preds = %40
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %7, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %8, align 4
  br label %147

59:                                               ; preds = %47, %42
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %7, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %8, align 4
  br label %146

63:                                               ; preds = %50, %45
  br label %64

64:                                               ; preds = %63
  br label %65

65:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 50, ptr %11) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.expected, i64 50, i1 false)
  br label %66

66:                                               ; preds = %65
  %67 = getelementptr inbounds %struct.WindowState, ptr %10, i32 0, i32 0
  %68 = load i64, ptr %67, align 8, !tbaa !15
  %69 = icmp ne i64 %68, 25
  br i1 %69, label %70, label %80

70:                                               ; preds = %66
  %71 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %72 = getelementptr inbounds %struct.WindowState, ptr %10, i32 0, i32 0
  %73 = load i64, ptr %72, align 8, !tbaa !15
  %74 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef @.str.4, ptr noundef @.str.3, i32 noundef 55, i64 noundef %73, i64 noundef 25)
          to label %75 unwind label %76

75:                                               ; preds = %70
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %80

76:                                               ; preds = %70
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %7, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %8, align 4
  br label %145

80:                                               ; preds = %75, %66
  br label %81

81:                                               ; preds = %80
  br label %82

82:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %83

83:                                               ; preds = %127, %82
  %84 = load i32, ptr %12, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds %struct.WindowState, ptr %10, i32 0, i32 0
  %87 = load i64, ptr %86, align 8, !tbaa !15
  %88 = icmp ult i64 %85, %87
  br i1 %88, label %89, label %130

89:                                               ; preds = %83
  br label %90

90:                                               ; preds = %89
  %91 = getelementptr inbounds %struct.WindowState, ptr %10, i32 0, i32 1
  %92 = load ptr, ptr %91, align 8, !tbaa !19
  %93 = load i32, ptr %12, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds i16, ptr %92, i64 %94
  %96 = load i16, ptr %95, align 2, !tbaa !20
  %97 = sext i16 %96 to i32
  %98 = load i32, ptr %12, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [25 x i16], ptr %11, i64 0, i64 %99
  %101 = load i16, ptr %100, align 2, !tbaa !20
  %102 = sext i16 %101 to i32
  %103 = icmp ne i32 %97, %102
  br i1 %103, label %104, label %124

104:                                              ; preds = %90
  %105 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %106 = getelementptr inbounds %struct.WindowState, ptr %10, i32 0, i32 1
  %107 = load ptr, ptr %106, align 8, !tbaa !19
  %108 = load i32, ptr %12, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds i16, ptr %107, i64 %109
  %111 = load i16, ptr %110, align 2, !tbaa !20
  %112 = sext i16 %111 to i32
  %113 = load i32, ptr %12, align 4, !tbaa !5
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [25 x i16], ptr %11, i64 0, i64 %114
  %116 = load i16, ptr %115, align 2, !tbaa !20
  %117 = sext i16 %116 to i32
  %118 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef @.str.5, ptr noundef @.str.3, i32 noundef 58, i32 noundef %112, i32 noundef %117)
          to label %119 unwind label %120

119:                                              ; preds = %104
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %124

120:                                              ; preds = %130, %104
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %7, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %145

124:                                              ; preds = %119, %90
  br label %125

125:                                              ; preds = %124
  br label %126

126:                                              ; preds = %125
  br label %127

127:                                              ; preds = %126
  %128 = load i32, ptr %12, align 4, !tbaa !5
  %129 = add nsw i32 %128, 1
  store i32 %129, ptr %12, align 4, !tbaa !5
  br label %83, !llvm.loop !21

130:                                              ; preds = %83
  invoke void @WindowFreeStateContents(ptr noundef %10)
          to label %131 unwind label %120

131:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 50, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  br label %132

132:                                              ; preds = %131
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %133 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %134 = trunc i8 %133 to i1
  %135 = zext i1 %134 to i64
  %136 = select i1 %134, i32 0, i32 1
  %137 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %138 = add nsw i32 %137, %136
  store i32 %138, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %139 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %140 = trunc i8 %139 to i1
  %141 = zext i1 %140 to i64
  %142 = select i1 %140, i32 1, i32 0
  %143 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %144 = add nsw i32 %143, %142
  store i32 %144, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %36, !llvm.loop !23

145:                                              ; preds = %120, %76
  call void @llvm.lifetime.end.p0(i64 50, ptr %11) #6
  br label %146

146:                                              ; preds = %145, %59
  call void @llvm.lifetime.end.p0(i64 56, ptr %10) #6
  br label %147

147:                                              ; preds = %146, %55
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  br label %718

148:                                              ; preds = %36
  %149 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %150 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef @.str, ptr noundef @.str.6)
          to label %151 unwind label %51

151:                                              ; preds = %148
  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 %152

152:                                              ; preds = %241, %151
  %153 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %154 = trunc i8 %153 to i1
  %155 = xor i1 %154, true
  br i1 %155, label %156, label %257

156:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  invoke void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %157 unwind label %167

157:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 56, ptr %14) #6
  br label %158

158:                                              ; preds = %157
  %159 = getelementptr inbounds %"class.(anonymous namespace)::WindowTestConfig", ptr %13, i32 0, i32 0
  %160 = invoke i32 @WindowPopulateState(ptr noundef %159, ptr noundef %14, i32 noundef 1000)
          to label %161 unwind label %171

161:                                              ; preds = %158
  %162 = icmp ne i32 %160, 0
  br i1 %162, label %175, label %163

163:                                              ; preds = %161
  %164 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %165 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %164, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 68)
          to label %166 unwind label %171

166:                                              ; preds = %163
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %175

167:                                              ; preds = %156
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %7, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %8, align 4
  br label %256

171:                                              ; preds = %163, %158
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %7, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %8, align 4
  br label %255

175:                                              ; preds = %166, %161
  br label %176

176:                                              ; preds = %175
  br label %177

177:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  br label %178

178:                                              ; preds = %177
  %179 = invoke i32 @WindowProcessSamples(ptr noundef %14, ptr noundef @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef %15)
          to label %180 unwind label %186

180:                                              ; preds = %178
  %181 = icmp ne i32 %179, 0
  br i1 %181, label %190, label %182

182:                                              ; preds = %180
  %183 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %184 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %183, ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 73)
          to label %185 unwind label %186

185:                                              ; preds = %182
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %190

186:                                              ; preds = %182, %178
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %7, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %8, align 4
  br label %254

190:                                              ; preds = %185, %180
  br label %191

191:                                              ; preds = %190
  br label %192

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

193:                                              ; preds = %236, %192
  %194 = load i32, ptr %16, align 4, !tbaa !5
  %195 = icmp slt i32 %194, 25
  br i1 %195, label %196, label %239

196:                                              ; preds = %193
  br label %197

197:                                              ; preds = %196
  %198 = getelementptr inbounds %struct.WindowState, ptr %14, i32 0, i32 3
  %199 = load ptr, ptr %198, align 8, !tbaa !24
  %200 = load i32, ptr %16, align 4, !tbaa !5
  %201 = sub nsw i32 %200, 10
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds i16, ptr %199, i64 %202
  %204 = load i16, ptr %203, align 2, !tbaa !20
  %205 = sext i16 %204 to i32
  %206 = load i32, ptr %16, align 4, !tbaa !5
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds [36 x i16], ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 0, i64 %207
  %209 = load i16, ptr %208, align 2, !tbaa !20
  %210 = sext i16 %209 to i32
  %211 = icmp ne i32 %205, %210
  br i1 %211, label %212, label %233

212:                                              ; preds = %197
  %213 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %214 = getelementptr inbounds %struct.WindowState, ptr %14, i32 0, i32 3
  %215 = load ptr, ptr %214, align 8, !tbaa !24
  %216 = load i32, ptr %16, align 4, !tbaa !5
  %217 = sub nsw i32 %216, 10
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds i16, ptr %215, i64 %218
  %220 = load i16, ptr %219, align 2, !tbaa !20
  %221 = sext i16 %220 to i32
  %222 = load i32, ptr %16, align 4, !tbaa !5
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds [36 x i16], ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 0, i64 %223
  %225 = load i16, ptr %224, align 2, !tbaa !20
  %226 = sext i16 %225 to i32
  %227 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %213, ptr noundef @.str.8, ptr noundef @.str.3, i32 noundef 77, i32 noundef %221, i32 noundef %226)
          to label %228 unwind label %229

228:                                              ; preds = %212
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %233

229:                                              ; preds = %239, %212
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %7, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %254

233:                                              ; preds = %228, %197
  br label %234

234:                                              ; preds = %233
  br label %235

235:                                              ; preds = %234
  br label %236

236:                                              ; preds = %235
  %237 = load i32, ptr %16, align 4, !tbaa !5
  %238 = add nsw i32 %237, 1
  store i32 %238, ptr %16, align 4, !tbaa !5
  br label %193, !llvm.loop !25

239:                                              ; preds = %193
  invoke void @WindowFreeStateContents(ptr noundef %14)
          to label %240 unwind label %229

240:                                              ; preds = %239
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  br label %241

241:                                              ; preds = %240
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %242 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %243 = trunc i8 %242 to i1
  %244 = zext i1 %243 to i64
  %245 = select i1 %243, i32 0, i32 1
  %246 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %247 = add nsw i32 %246, %245
  store i32 %247, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %248 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %249 = trunc i8 %248 to i1
  %250 = zext i1 %249 to i64
  %251 = select i1 %249, i32 1, i32 0
  %252 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %253 = add nsw i32 %252, %251
  store i32 %253, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %152, !llvm.loop !26

254:                                              ; preds = %229, %186
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %255

255:                                              ; preds = %254, %171
  call void @llvm.lifetime.end.p0(i64 56, ptr %14) #6
  br label %256

256:                                              ; preds = %255, %167
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  br label %718

257:                                              ; preds = %152
  %258 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %259 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %258, ptr noundef @.str, ptr noundef @.str.9)
          to label %260 unwind label %51

260:                                              ; preds = %257
  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 %261

261:                                              ; preds = %368, %260
  %262 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %263 = trunc i8 %262 to i1
  %264 = xor i1 %263, true
  br i1 %264, label %265, label %385

265:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  invoke void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %266 unwind label %276

266:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 56, ptr %18) #6
  br label %267

267:                                              ; preds = %266
  %268 = getelementptr inbounds %"class.(anonymous namespace)::WindowTestConfig", ptr %17, i32 0, i32 0
  %269 = invoke i32 @WindowPopulateState(ptr noundef %268, ptr noundef %18, i32 noundef 1000)
          to label %270 unwind label %280

270:                                              ; preds = %267
  %271 = icmp ne i32 %269, 0
  br i1 %271, label %284, label %272

272:                                              ; preds = %270
  %273 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %274 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %273, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 87)
          to label %275 unwind label %280

275:                                              ; preds = %272
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %284

276:                                              ; preds = %265
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %7, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %8, align 4
  br label %384

280:                                              ; preds = %272, %267
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %7, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %8, align 4
  br label %383

284:                                              ; preds = %275, %270
  br label %285

285:                                              ; preds = %284
  br label %286

286:                                              ; preds = %285
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  br label %287

287:                                              ; preds = %286
  %288 = invoke i32 @WindowProcessSamples(ptr noundef %18, ptr noundef @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef %19)
          to label %289 unwind label %295

289:                                              ; preds = %287
  %290 = icmp ne i32 %288, 0
  br i1 %290, label %299, label %291

291:                                              ; preds = %289
  %292 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %293 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %292, ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 92)
          to label %294 unwind label %295

294:                                              ; preds = %291
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %299

295:                                              ; preds = %291, %287
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %7, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %8, align 4
  br label %382

299:                                              ; preds = %294, %289
  br label %300

300:                                              ; preds = %299
  br label %301

301:                                              ; preds = %300
  call void @llvm.lifetime.start.p0(i64 50, ptr %20) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 @__const.main.expected.10, i64 50, i1 false)
  br label %302

302:                                              ; preds = %301
  %303 = getelementptr inbounds %struct.WindowState, ptr %18, i32 0, i32 0
  %304 = load i64, ptr %303, align 8, !tbaa !15
  %305 = icmp ne i64 %304, 25
  br i1 %305, label %306, label %316

306:                                              ; preds = %302
  %307 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %308 = getelementptr inbounds %struct.WindowState, ptr %18, i32 0, i32 0
  %309 = load i64, ptr %308, align 8, !tbaa !15
  %310 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %307, ptr noundef @.str.4, ptr noundef @.str.3, i32 noundef 97, i64 noundef %309, i64 noundef 25)
          to label %311 unwind label %312

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

312:                                              ; preds = %306
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %7, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %8, align 4
  br label %381

316:                                              ; preds = %311, %302
  br label %317

317:                                              ; preds = %316
  br label %318

318:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !5
  br label %319

319:                                              ; preds = %363, %318
  %320 = load i32, ptr %21, align 4, !tbaa !5
  %321 = sext i32 %320 to i64
  %322 = getelementptr inbounds %struct.WindowState, ptr %18, i32 0, i32 0
  %323 = load i64, ptr %322, align 8, !tbaa !15
  %324 = icmp ult i64 %321, %323
  br i1 %324, label %325, label %366

325:                                              ; preds = %319
  br label %326

326:                                              ; preds = %325
  %327 = getelementptr inbounds %struct.WindowState, ptr %18, i32 0, i32 5
  %328 = load ptr, ptr %327, align 8, !tbaa !27
  %329 = load i32, ptr %21, align 4, !tbaa !5
  %330 = sext i32 %329 to i64
  %331 = getelementptr inbounds i16, ptr %328, i64 %330
  %332 = load i16, ptr %331, align 2, !tbaa !20
  %333 = sext i16 %332 to i32
  %334 = load i32, ptr %21, align 4, !tbaa !5
  %335 = sext i32 %334 to i64
  %336 = getelementptr inbounds [25 x i16], ptr %20, i64 0, i64 %335
  %337 = load i16, ptr %336, align 2, !tbaa !20
  %338 = sext i16 %337 to i32
  %339 = icmp ne i32 %333, %338
  br i1 %339, label %340, label %360

340:                                              ; preds = %326
  %341 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %342 = getelementptr inbounds %struct.WindowState, ptr %18, i32 0, i32 5
  %343 = load ptr, ptr %342, align 8, !tbaa !27
  %344 = load i32, ptr %21, align 4, !tbaa !5
  %345 = sext i32 %344 to i64
  %346 = getelementptr inbounds i16, ptr %343, i64 %345
  %347 = load i16, ptr %346, align 2, !tbaa !20
  %348 = sext i16 %347 to i32
  %349 = load i32, ptr %21, align 4, !tbaa !5
  %350 = sext i32 %349 to i64
  %351 = getelementptr inbounds [25 x i16], ptr %20, i64 0, i64 %350
  %352 = load i16, ptr %351, align 2, !tbaa !20
  %353 = sext i16 %352 to i32
  %354 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %341, ptr noundef @.str.11, ptr noundef @.str.3, i32 noundef 100, i32 noundef %348, i32 noundef %353)
          to label %355 unwind label %356

355:                                              ; preds = %340
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %360

356:                                              ; preds = %366, %340
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %7, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %381

360:                                              ; preds = %355, %326
  br label %361

361:                                              ; preds = %360
  br label %362

362:                                              ; preds = %361
  br label %363

363:                                              ; preds = %362
  %364 = load i32, ptr %21, align 4, !tbaa !5
  %365 = add nsw i32 %364, 1
  store i32 %365, ptr %21, align 4, !tbaa !5
  br label %319, !llvm.loop !28

366:                                              ; preds = %319
  invoke void @WindowFreeStateContents(ptr noundef %18)
          to label %367 unwind label %356

367:                                              ; preds = %366
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 50, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  br label %368

368:                                              ; preds = %367
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %369 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %370 = trunc i8 %369 to i1
  %371 = zext i1 %370 to i64
  %372 = select i1 %370, i32 0, i32 1
  %373 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %374 = add nsw i32 %373, %372
  store i32 %374, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %375 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %376 = trunc i8 %375 to i1
  %377 = zext i1 %376 to i64
  %378 = select i1 %376, i32 1, i32 0
  %379 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %380 = add nsw i32 %379, %378
  store i32 %380, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %261, !llvm.loop !29

381:                                              ; preds = %356, %312
  call void @llvm.lifetime.end.p0(i64 50, ptr %20) #6
  br label %382

382:                                              ; preds = %381, %295
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %383

383:                                              ; preds = %382, %280
  call void @llvm.lifetime.end.p0(i64 56, ptr %18) #6
  br label %384

384:                                              ; preds = %383, %276
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  br label %718

385:                                              ; preds = %261
  %386 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %387 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %386, ptr noundef @.str, ptr noundef @.str.12)
          to label %388 unwind label %51

388:                                              ; preds = %385
  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 %389

389:                                              ; preds = %446, %388
  %390 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %391 = trunc i8 %390 to i1
  %392 = xor i1 %391, true
  br i1 %392, label %393, label %461

393:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #6
  invoke void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %394 unwind label %404

394:                                              ; preds = %393
  call void @llvm.lifetime.start.p0(i64 56, ptr %23) #6
  br label %395

395:                                              ; preds = %394
  %396 = getelementptr inbounds %"class.(anonymous namespace)::WindowTestConfig", ptr %22, i32 0, i32 0
  %397 = invoke i32 @WindowPopulateState(ptr noundef %396, ptr noundef %23, i32 noundef 1000)
          to label %398 unwind label %408

398:                                              ; preds = %395
  %399 = icmp ne i32 %397, 0
  br i1 %399, label %412, label %400

400:                                              ; preds = %398
  %401 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %402 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %401, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 110)
          to label %403 unwind label %408

403:                                              ; preds = %400
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %412

404:                                              ; preds = %393
  %405 = landingpad { ptr, i32 }
          cleanup
  %406 = extractvalue { ptr, i32 } %405, 0
  store ptr %406, ptr %7, align 8
  %407 = extractvalue { ptr, i32 } %405, 1
  store i32 %407, ptr %8, align 4
  br label %460

408:                                              ; preds = %400, %395
  %409 = landingpad { ptr, i32 }
          cleanup
  %410 = extractvalue { ptr, i32 } %409, 0
  store ptr %410, ptr %7, align 8
  %411 = extractvalue { ptr, i32 } %409, 1
  store i32 %411, ptr %8, align 4
  br label %459

412:                                              ; preds = %403, %398
  br label %413

413:                                              ; preds = %412
  br label %414

414:                                              ; preds = %413
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  br label %415

415:                                              ; preds = %414
  %416 = invoke i32 @WindowProcessSamples(ptr noundef %23, ptr noundef @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef %24)
          to label %417 unwind label %423

417:                                              ; preds = %415
  %418 = icmp ne i32 %416, 0
  br i1 %418, label %427, label %419

419:                                              ; preds = %417
  %420 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %421 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %420, ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 115)
          to label %422 unwind label %423

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

423:                                              ; preds = %444, %435, %419, %415
  %424 = landingpad { ptr, i32 }
          cleanup
  %425 = extractvalue { ptr, i32 } %424, 0
  store ptr %425, ptr %7, align 8
  %426 = extractvalue { ptr, i32 } %424, 1
  store i32 %426, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %459

427:                                              ; preds = %422, %417
  br label %428

428:                                              ; preds = %427
  br label %429

429:                                              ; preds = %428
  br label %430

430:                                              ; preds = %429
  %431 = getelementptr inbounds %struct.WindowState, ptr %23, i32 0, i32 6
  %432 = load i16, ptr %431, align 8, !tbaa !30
  %433 = sext i16 %432 to i32
  %434 = icmp ne i32 %433, 32256
  br i1 %434, label %435, label %442

435:                                              ; preds = %430
  %436 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %437 = getelementptr inbounds %struct.WindowState, ptr %23, i32 0, i32 6
  %438 = load i16, ptr %437, align 8, !tbaa !30
  %439 = sext i16 %438 to i32
  %440 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %436, ptr noundef @.str.13, ptr noundef @.str.3, i32 noundef 117, i32 noundef %439, i32 noundef 32256)
          to label %441 unwind label %423

441:                                              ; preds = %435
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %442

442:                                              ; preds = %441, %430
  br label %443

443:                                              ; preds = %442
  br label %444

444:                                              ; preds = %443
  invoke void @WindowFreeStateContents(ptr noundef %23)
          to label %445 unwind label %423

445:                                              ; preds = %444
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  br label %446

446:                                              ; preds = %445
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %447 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %448 = trunc i8 %447 to i1
  %449 = zext i1 %448 to i64
  %450 = select i1 %448, i32 0, i32 1
  %451 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %452 = add nsw i32 %451, %450
  store i32 %452, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %453 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %454 = trunc i8 %453 to i1
  %455 = zext i1 %454 to i64
  %456 = select i1 %454, i32 1, i32 0
  %457 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %458 = add nsw i32 %457, %456
  store i32 %458, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %389, !llvm.loop !31

459:                                              ; preds = %423, %408
  call void @llvm.lifetime.end.p0(i64 56, ptr %23) #6
  br label %460

460:                                              ; preds = %459, %404
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  br label %718

461:                                              ; preds = %389
  %462 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %463 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %462, ptr noundef @.str, ptr noundef @.str.14)
          to label %464 unwind label %51

464:                                              ; preds = %461
  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 %465

465:                                              ; preds = %583, %464
  %466 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %467 = trunc i8 %466 to i1
  %468 = xor i1 %467, true
  br i1 %468, label %469, label %600

469:                                              ; preds = %465
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  invoke void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %470 unwind label %480

470:                                              ; preds = %469
  call void @llvm.lifetime.start.p0(i64 56, ptr %26) #6
  br label %471

471:                                              ; preds = %470
  %472 = getelementptr inbounds %"class.(anonymous namespace)::WindowTestConfig", ptr %25, i32 0, i32 0
  %473 = invoke i32 @WindowPopulateState(ptr noundef %472, ptr noundef %26, i32 noundef 1000)
          to label %474 unwind label %484

474:                                              ; preds = %471
  %475 = icmp ne i32 %473, 0
  br i1 %475, label %488, label %476

476:                                              ; preds = %474
  %477 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %478 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %477, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 126)
          to label %479 unwind label %484

479:                                              ; preds = %476
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %488

480:                                              ; preds = %469
  %481 = landingpad { ptr, i32 }
          cleanup
  %482 = extractvalue { ptr, i32 } %481, 0
  store ptr %482, ptr %7, align 8
  %483 = extractvalue { ptr, i32 } %481, 1
  store i32 %483, ptr %8, align 4
  br label %599

484:                                              ; preds = %476, %471
  %485 = landingpad { ptr, i32 }
          cleanup
  %486 = extractvalue { ptr, i32 } %485, 0
  store ptr %486, ptr %7, align 8
  %487 = extractvalue { ptr, i32 } %485, 1
  store i32 %487, ptr %8, align 4
  br label %598

488:                                              ; preds = %479, %474
  br label %489

489:                                              ; preds = %488
  br label %490

490:                                              ; preds = %489
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  br label %491

491:                                              ; preds = %490
  %492 = invoke i32 @WindowProcessSamples(ptr noundef %26, ptr noundef @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef %27)
          to label %493 unwind label %499

493:                                              ; preds = %491
  %494 = icmp ne i32 %492, 0
  br i1 %494, label %503, label %495

495:                                              ; preds = %493
  %496 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %497 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %496, ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 131)
          to label %498 unwind label %499

498:                                              ; preds = %495
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %503

499:                                              ; preds = %510, %506, %495, %491
  %500 = landingpad { ptr, i32 }
          cleanup
  %501 = extractvalue { ptr, i32 } %500, 0
  store ptr %501, ptr %7, align 8
  %502 = extractvalue { ptr, i32 } %500, 1
  store i32 %502, ptr %8, align 4
  br label %597

503:                                              ; preds = %498, %493
  br label %504

504:                                              ; preds = %503
  br label %505

505:                                              ; preds = %504
  br label %506

506:                                              ; preds = %505
  %507 = invoke i32 @WindowProcessSamples(ptr noundef %26, ptr noundef getelementptr inbounds (i16, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 25), i64 noundef 11, ptr noundef %27)
          to label %508 unwind label %499

508:                                              ; preds = %506
  %509 = icmp ne i32 %507, 0
  br i1 %509, label %514, label %510

510:                                              ; preds = %508
  %511 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %512 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %511, ptr noundef @.str.15, ptr noundef @.str.3, i32 noundef 135)
          to label %513 unwind label %499

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

514:                                              ; preds = %513, %508
  br label %515

515:                                              ; preds = %514
  br label %516

516:                                              ; preds = %515
  call void @llvm.lifetime.start.p0(i64 50, ptr %28) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %28, ptr align 16 @__const.main.expected.16, i64 50, i1 false)
  br label %517

517:                                              ; preds = %516
  %518 = getelementptr inbounds %struct.WindowState, ptr %26, i32 0, i32 0
  %519 = load i64, ptr %518, align 8, !tbaa !15
  %520 = icmp ne i64 %519, 25
  br i1 %520, label %521, label %531

521:                                              ; preds = %517
  %522 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %523 = getelementptr inbounds %struct.WindowState, ptr %26, i32 0, i32 0
  %524 = load i64, ptr %523, align 8, !tbaa !15
  %525 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %522, ptr noundef @.str.4, ptr noundef @.str.3, i32 noundef 140, i64 noundef %524, i64 noundef 25)
          to label %526 unwind label %527

526:                                              ; preds = %521
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %531

527:                                              ; preds = %521
  %528 = landingpad { ptr, i32 }
          cleanup
  %529 = extractvalue { ptr, i32 } %528, 0
  store ptr %529, ptr %7, align 8
  %530 = extractvalue { ptr, i32 } %528, 1
  store i32 %530, ptr %8, align 4
  br label %596

531:                                              ; preds = %526, %517
  br label %532

532:                                              ; preds = %531
  br label %533

533:                                              ; preds = %532
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  store i32 0, ptr %29, align 4, !tbaa !5
  br label %534

534:                                              ; preds = %578, %533
  %535 = load i32, ptr %29, align 4, !tbaa !5
  %536 = sext i32 %535 to i64
  %537 = getelementptr inbounds %struct.WindowState, ptr %26, i32 0, i32 0
  %538 = load i64, ptr %537, align 8, !tbaa !15
  %539 = icmp ult i64 %536, %538
  br i1 %539, label %540, label %581

540:                                              ; preds = %534
  br label %541

541:                                              ; preds = %540
  %542 = getelementptr inbounds %struct.WindowState, ptr %26, i32 0, i32 5
  %543 = load ptr, ptr %542, align 8, !tbaa !27
  %544 = load i32, ptr %29, align 4, !tbaa !5
  %545 = sext i32 %544 to i64
  %546 = getelementptr inbounds i16, ptr %543, i64 %545
  %547 = load i16, ptr %546, align 2, !tbaa !20
  %548 = sext i16 %547 to i32
  %549 = load i32, ptr %29, align 4, !tbaa !5
  %550 = sext i32 %549 to i64
  %551 = getelementptr inbounds [25 x i16], ptr %28, i64 0, i64 %550
  %552 = load i16, ptr %551, align 2, !tbaa !20
  %553 = sext i16 %552 to i32
  %554 = icmp ne i32 %548, %553
  br i1 %554, label %555, label %575

555:                                              ; preds = %541
  %556 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %557 = getelementptr inbounds %struct.WindowState, ptr %26, i32 0, i32 5
  %558 = load ptr, ptr %557, align 8, !tbaa !27
  %559 = load i32, ptr %29, align 4, !tbaa !5
  %560 = sext i32 %559 to i64
  %561 = getelementptr inbounds i16, ptr %558, i64 %560
  %562 = load i16, ptr %561, align 2, !tbaa !20
  %563 = sext i16 %562 to i32
  %564 = load i32, ptr %29, align 4, !tbaa !5
  %565 = sext i32 %564 to i64
  %566 = getelementptr inbounds [25 x i16], ptr %28, i64 0, i64 %565
  %567 = load i16, ptr %566, align 2, !tbaa !20
  %568 = sext i16 %567 to i32
  %569 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %556, ptr noundef @.str.11, ptr noundef @.str.3, i32 noundef 143, i32 noundef %563, i32 noundef %568)
          to label %570 unwind label %571

570:                                              ; preds = %555
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %575

571:                                              ; preds = %581, %555
  %572 = landingpad { ptr, i32 }
          cleanup
  %573 = extractvalue { ptr, i32 } %572, 0
  store ptr %573, ptr %7, align 8
  %574 = extractvalue { ptr, i32 } %572, 1
  store i32 %574, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br label %596

575:                                              ; preds = %570, %541
  br label %576

576:                                              ; preds = %575
  br label %577

577:                                              ; preds = %576
  br label %578

578:                                              ; preds = %577
  %579 = load i32, ptr %29, align 4, !tbaa !5
  %580 = add nsw i32 %579, 1
  store i32 %580, ptr %29, align 4, !tbaa !5
  br label %534, !llvm.loop !32

581:                                              ; preds = %534
  invoke void @WindowFreeStateContents(ptr noundef %26)
          to label %582 unwind label %571

582:                                              ; preds = %581
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 50, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  br label %583

583:                                              ; preds = %582
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %584 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %585 = trunc i8 %584 to i1
  %586 = zext i1 %585 to i64
  %587 = select i1 %585, i32 0, i32 1
  %588 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %589 = add nsw i32 %588, %587
  store i32 %589, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %590 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %591 = trunc i8 %590 to i1
  %592 = zext i1 %591 to i64
  %593 = select i1 %591, i32 1, i32 0
  %594 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %595 = add nsw i32 %594, %593
  store i32 %595, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %465, !llvm.loop !33

596:                                              ; preds = %571, %527
  call void @llvm.lifetime.end.p0(i64 50, ptr %28) #6
  br label %597

597:                                              ; preds = %596, %499
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %598

598:                                              ; preds = %597, %484
  call void @llvm.lifetime.end.p0(i64 56, ptr %26) #6
  br label %599

599:                                              ; preds = %598, %480
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  br label %718

600:                                              ; preds = %465
  %601 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %602 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %601, ptr noundef @.str, ptr noundef @.str.17)
          to label %603 unwind label %51

603:                                              ; preds = %600
  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 %604

604:                                              ; preds = %683, %603
  %605 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %606 = trunc i8 %605 to i1
  %607 = xor i1 %606, true
  br i1 %607, label %608, label %698

608:                                              ; preds = %604
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #6
  invoke void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %609 unwind label %619

609:                                              ; preds = %608
  call void @llvm.lifetime.start.p0(i64 56, ptr %31) #6
  br label %610

610:                                              ; preds = %609
  %611 = getelementptr inbounds %"class.(anonymous namespace)::WindowTestConfig", ptr %30, i32 0, i32 0
  %612 = invoke i32 @WindowPopulateState(ptr noundef %611, ptr noundef %31, i32 noundef 1000)
          to label %613 unwind label %623

613:                                              ; preds = %610
  %614 = icmp ne i32 %612, 0
  br i1 %614, label %627, label %615

615:                                              ; preds = %613
  %616 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %617 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %616, ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 153)
          to label %618 unwind label %623

618:                                              ; preds = %615
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %627

619:                                              ; preds = %608
  %620 = landingpad { ptr, i32 }
          cleanup
  %621 = extractvalue { ptr, i32 } %620, 0
  store ptr %621, ptr %7, align 8
  %622 = extractvalue { ptr, i32 } %620, 1
  store i32 %622, ptr %8, align 4
  br label %697

623:                                              ; preds = %615, %610
  %624 = landingpad { ptr, i32 }
          cleanup
  %625 = extractvalue { ptr, i32 } %624, 0
  store ptr %625, ptr %7, align 8
  %626 = extractvalue { ptr, i32 } %624, 1
  store i32 %626, ptr %8, align 4
  br label %696

627:                                              ; preds = %618, %613
  br label %628

628:                                              ; preds = %627
  br label %629

629:                                              ; preds = %628
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  br label %630

630:                                              ; preds = %629
  %631 = invoke i32 @WindowProcessSamples(ptr noundef %31, ptr noundef @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef %32)
          to label %632 unwind label %638

632:                                              ; preds = %630
  %633 = icmp ne i32 %631, 0
  br i1 %633, label %642, label %634

634:                                              ; preds = %632
  %635 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %636 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %635, ptr noundef @.str.7, ptr noundef @.str.3, i32 noundef 158)
          to label %637 unwind label %638

637:                                              ; preds = %634
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %642

638:                                              ; preds = %681, %673, %663, %660, %656, %649, %645, %634, %630
  %639 = landingpad { ptr, i32 }
          cleanup
  %640 = extractvalue { ptr, i32 } %639, 0
  store ptr %640, ptr %7, align 8
  %641 = extractvalue { ptr, i32 } %639, 1
  store i32 %641, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %696

642:                                              ; preds = %637, %632
  br label %643

643:                                              ; preds = %642
  br label %644

644:                                              ; preds = %643
  br label %645

645:                                              ; preds = %644
  %646 = invoke i32 @WindowProcessSamples(ptr noundef %31, ptr noundef getelementptr inbounds (i16, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 25), i64 noundef 11, ptr noundef %32)
          to label %647 unwind label %638

647:                                              ; preds = %645
  %648 = icmp ne i32 %646, 0
  br i1 %648, label %653, label %649

649:                                              ; preds = %647
  %650 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %651 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %650, ptr noundef @.str.15, ptr noundef @.str.3, i32 noundef 162)
          to label %652 unwind label %638

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

653:                                              ; preds = %652, %647
  br label %654

654:                                              ; preds = %653
  br label %655

655:                                              ; preds = %654
  br label %656

656:                                              ; preds = %655
  %657 = invoke i32 @WindowProcessSamples(ptr noundef %31, ptr noundef getelementptr inbounds (i16, ptr getelementptr inbounds (i16, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 25), i64 10), i64 noundef 1, ptr noundef %32)
          to label %658 unwind label %638

658:                                              ; preds = %656
  %659 = icmp ne i32 0, %657
  br i1 %659, label %660, label %666

660:                                              ; preds = %658
  %661 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %662 = invoke i32 @WindowProcessSamples(ptr noundef %31, ptr noundef getelementptr inbounds (i16, ptr getelementptr inbounds (i16, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 25), i64 10), i64 noundef 1, ptr noundef %32)
          to label %663 unwind label %638

663:                                              ; preds = %660
  %664 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %661, ptr noundef @.str.18, ptr noundef @.str.3, i32 noundef 168, i32 noundef 0, i32 noundef %662)
          to label %665 unwind label %638

665:                                              ; preds = %663
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %666

666:                                              ; preds = %665, %658
  br label %667

667:                                              ; preds = %666
  br label %668

668:                                              ; preds = %667
  br label %669

669:                                              ; preds = %668
  %670 = getelementptr inbounds %struct.WindowState, ptr %31, i32 0, i32 4
  %671 = load i64, ptr %670, align 8, !tbaa !34
  %672 = icmp ne i64 %671, 16
  br i1 %672, label %673, label %679

673:                                              ; preds = %669
  %674 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %675 = getelementptr inbounds %struct.WindowState, ptr %31, i32 0, i32 4
  %676 = load i64, ptr %675, align 8, !tbaa !34
  %677 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %674, ptr noundef @.str.19, ptr noundef @.str.3, i32 noundef 172, i64 noundef %676, i64 noundef 16)
          to label %678 unwind label %638

678:                                              ; preds = %673
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %679

679:                                              ; preds = %678, %669
  br label %680

680:                                              ; preds = %679
  br label %681

681:                                              ; preds = %680
  invoke void @WindowFreeStateContents(ptr noundef %31)
          to label %682 unwind label %638

682:                                              ; preds = %681
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #6
  br label %683

683:                                              ; preds = %682
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %684 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %685 = trunc i8 %684 to i1
  %686 = zext i1 %685 to i64
  %687 = select i1 %685, i32 0, i32 1
  %688 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %689 = add nsw i32 %688, %687
  store i32 %689, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %690 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %691 = trunc i8 %690 to i1
  %692 = zext i1 %691 to i64
  %693 = select i1 %691, i32 1, i32 0
  %694 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %695 = add nsw i32 %694, %693
  store i32 %695, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %604, !llvm.loop !35

696:                                              ; preds = %638, %623
  call void @llvm.lifetime.end.p0(i64 56, ptr %31) #6
  br label %697

697:                                              ; preds = %696, %619
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #6
  br label %718

698:                                              ; preds = %604
  %699 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %700 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %701 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %702 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %703 = add nsw i32 %701, %702
  %704 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %699, ptr noundef @.str.20, i32 noundef %700, i32 noundef %703)
          to label %705 unwind label %51

705:                                              ; preds = %698
  %706 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %707 = icmp eq i32 %706, 0
  br i1 %707, label %708, label %712

708:                                              ; preds = %705
  %709 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %710 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %709, ptr noundef @.str.21)
          to label %711 unwind label %51

711:                                              ; preds = %708
  br label %716

712:                                              ; preds = %705
  %713 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %714 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %713, ptr noundef @.str.22)
          to label %715 unwind label %51

715:                                              ; preds = %712
  br label %716

716:                                              ; preds = %715, %711
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %717 = load i32, ptr %3, align 4
  ret i32 %717

718:                                              ; preds = %697, %599, %460, %384, %256, %147, %51
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %719

719:                                              ; preds = %718
  %720 = load ptr, ptr %7, align 8
  %721 = load i32, ptr %8, align 4
  %722 = insertvalue { ptr, i32 } poison, ptr %720, 0
  %723 = insertvalue { ptr, i32 } %722, i32 %721, 1
  resume { ptr, i32 } %723
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

declare noundef i32 @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ...) #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

declare i32 @WindowPopulateState(ptr noundef, ptr noundef, i32 noundef) #3

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

declare void @WindowFreeStateContents(ptr noundef) #3

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

declare i32 @WindowProcessSamples(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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, !17, i64 0}
!16 = !{!"_ZTS11WindowState", !17, i64 0, !10, i64 8, !17, i64 16, !10, i64 24, !17, i64 32, !10, i64 40, !18, i64 48}
!17 = !{!"long", !7, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = !{!16, !10, i64 8}
!20 = !{!18, !18, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = !{!16, !10, i64 24}
!25 = distinct !{!25, !22}
!26 = distinct !{!26, !22}
!27 = !{!16, !10, i64 40}
!28 = distinct !{!28, !22}
!29 = distinct !{!29, !22}
!30 = !{!16, !18, i64 48}
!31 = distinct !{!31, !22}
!32 = distinct !{!32, !22}
!33 = distinct !{!33, !22}
!34 = !{!16, !17, i64 32}
!35 = distinct !{!35, !22}


; 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::MicroErrorReporter" = type { %"class.tflite::ErrorReporter" }
%"class.tflite::ErrorReporter" = type { ptr }
%"class.(anonymous namespace)::WindowTestConfig" = type { %struct.WindowConfig }
%struct.WindowConfig = type { i64, i64 }
%struct.WindowState = type { i64, ptr, i64, ptr, i64, ptr, i16 }

@_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
@_ZN10micro_test8reporterE = external dso_local local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [113 x i8], align 1
@__const.main.expected = external hidden unnamed_addr constant [25 x i16], align 16
@.str.4 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@_ZN12_GLOBAL__N_114kFakeAudioDataE = external hidden constant [36 x i16], align 16
@.str.7 = external hidden unnamed_addr constant [133 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [30 x i8], align 1
@__const.main.expected.10 = external hidden unnamed_addr constant [25 x i16], align 16
@.str.11 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [167 x i8], align 1
@__const.main.expected.16 = external hidden unnamed_addr constant [25 x i16], align 16
@.str.17 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [217 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.22 = 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 nocapture noundef readnone %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.tflite::MicroErrorReporter", align 8
  %4 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %5 = alloca %struct.WindowState, align 8
  %6 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %7 = alloca %struct.WindowState, align 8
  %8 = alloca i64, align 8
  %9 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %10 = alloca %struct.WindowState, align 8
  %11 = alloca i64, align 8
  %12 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %13 = alloca %struct.WindowState, align 8
  %14 = alloca i64, align 8
  %15 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %16 = alloca %struct.WindowState, align 8
  %17 = alloca i64, align 8
  %18 = alloca %"class.(anonymous namespace)::WindowTestConfig", align 8
  %19 = alloca %struct.WindowState, align 8
  %20 = alloca i64, align 8
  store i32 0, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  store i32 0, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  call void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  store ptr %3, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %21 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
          to label %22 unwind label %30

22:                                               ; preds = %2
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %23 = getelementptr inbounds i8, ptr %5, i64 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %5) #5
  %24 = invoke i32 @WindowPopulateState(ptr noundef nonnull %4, ptr noundef nonnull %5, i32 noundef 1000)
          to label %25 unwind label %32

25:                                               ; preds = %22
  %.not96 = icmp eq i32 %24, 0
  br i1 %.not96, label %26, label %34

26:                                               ; preds = %25
  %27 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %28 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 49)
          to label %29 unwind label %32

29:                                               ; preds = %26
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %34

30:                                               ; preds = %.invoke, %._crit_edge146, %._crit_edge143, %._crit_edge136, %._crit_edge133, %._crit_edge126, %._crit_edge122, %2
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %470

32:                                               ; preds = %26, %22
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %57

34:                                               ; preds = %29, %25
  %35 = load i64, ptr %5, align 8, !tbaa !13
  %.not97 = icmp eq i64 %35, 25
  br i1 %.not97, label %.lr.ph.preheader, label %36

36:                                               ; preds = %34
  %37 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %38 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.3, i32 noundef 55, i64 noundef %35, i64 noundef 25)
          to label %41 unwind label %39

39:                                               ; preds = %36
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %57

41:                                               ; preds = %36
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre = load i64, ptr %5, align 8, !tbaa !13
  %.not147 = icmp eq i64 %.pre, 0
  br i1 %.not147, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %34, %41
  %.ph193 = phi i64 [ 25, %34 ], [ %.pre, %41 ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %54
  %42 = phi i64 [ %55, %54 ], [ %.ph193, %.lr.ph.preheader ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %54 ], [ 0, %.lr.ph.preheader ]
  %43 = load ptr, ptr %23, align 8, !tbaa !17
  %44 = getelementptr inbounds i16, ptr %43, i64 %indvars.iv
  %45 = load i16, ptr %44, align 2, !tbaa !18
  %46 = getelementptr inbounds [25 x i16], ptr @__const.main.expected, i64 0, i64 %indvars.iv
  %47 = load i16, ptr %46, align 2, !tbaa !18
  %.not99 = icmp eq i16 %45, %47
  br i1 %.not99, label %54, label %48

48:                                               ; preds = %.lr.ph
  %49 = sext i16 %47 to i32
  %50 = sext i16 %45 to i32
  %51 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %52 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, i32 noundef 58, i32 noundef %50, i32 noundef %49)
          to label %53 unwind label %.loopexit114

53:                                               ; preds = %48
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre160 = load i64, ptr %5, align 8, !tbaa !13
  br label %54

.loopexit114:                                     ; preds = %48
  %lpad.loopexit116 = landingpad { ptr, i32 }
          cleanup
  br label %57

.loopexit.split-lp115:                            ; preds = %._crit_edge
  %lpad.loopexit.split-lp117 = landingpad { ptr, i32 }
          cleanup
  br label %57

54:                                               ; preds = %.lr.ph, %53
  %55 = phi i64 [ %42, %.lr.ph ], [ %.pre160, %53 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %56 = icmp ugt i64 %55, %indvars.iv.next
  br i1 %56, label %.lr.ph, label %._crit_edge, !llvm.loop !19

._crit_edge:                                      ; preds = %54, %41
  invoke void @WindowFreeStateContents(ptr noundef nonnull %5)
          to label %._crit_edge122 unwind label %.loopexit.split-lp115

57:                                               ; preds = %.loopexit114, %.loopexit.split-lp115, %39, %32
  %.pn100.pn = phi { ptr, i32 } [ %33, %32 ], [ %40, %39 ], [ %lpad.loopexit116, %.loopexit114 ], [ %lpad.loopexit.split-lp117, %.loopexit.split-lp115 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  br label %470

._crit_edge122:                                   ; preds = %._crit_edge
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %58 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !21, !noundef !22
  %59 = xor i8 %58, 1
  %not.98 = zext nneg i8 %59 to i32
  %60 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %61 = add nsw i32 %60, %not.98
  store i32 %61, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %62 = zext nneg i8 %58 to i32
  %63 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %64 = add nsw i32 %63, %62
  store i32 %64, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %65 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %66 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull @.str, ptr noundef nonnull @.str.6)
          to label %67 unwind label %30

67:                                               ; preds = %._crit_edge122
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %68 = getelementptr inbounds i8, ptr %7, i64 24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  call void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6)
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %7) #5
  %69 = invoke i32 @WindowPopulateState(ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef 1000)
          to label %70 unwind label %75

70:                                               ; preds = %67
  %.not89 = icmp eq i32 %69, 0
  br i1 %.not89, label %71, label %77

71:                                               ; preds = %70
  %72 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %73 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 68)
          to label %74 unwind label %75

74:                                               ; preds = %71
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %77

75:                                               ; preds = %71, %67
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %252

77:                                               ; preds = %74, %70
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %78 = invoke i32 @WindowProcessSamples(ptr noundef nonnull %7, ptr noundef nonnull @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef nonnull %8)
          to label %79 unwind label %84

79:                                               ; preds = %77
  %.not90 = icmp eq i32 %78, 0
  br i1 %.not90, label %80, label %86

80:                                               ; preds = %79
  %81 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %82 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 73)
          to label %83 unwind label %84

83:                                               ; preds = %80
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %86

84:                                               ; preds = %80, %77
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %251

86:                                               ; preds = %83, %79
  %87 = load ptr, ptr %68, align 8, !tbaa !23
  %88 = load i16, ptr %87, align 2, !tbaa !18
  %89 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 20), align 4, !tbaa !18
  %.not92 = icmp eq i16 %88, %89
  br i1 %.not92, label %96, label %90

90:                                               ; preds = %86
  %91 = sext i16 %89 to i32
  %92 = sext i16 %88 to i32
  %93 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %94 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 77, i32 noundef %92, i32 noundef %91)
          to label %95 unwind label %.loopexit109

95:                                               ; preds = %90
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre162 = load ptr, ptr %68, align 8, !tbaa !23
  br label %96

.loopexit109:                                     ; preds = %244, %233, %222, %211, %200, %189, %178, %167, %156, %145, %134, %123, %112, %101, %90
  %lpad.loopexit111 = landingpad { ptr, i32 }
          cleanup
  br label %251

.loopexit.split-lp110:                            ; preds = %250
  %lpad.loopexit.split-lp112 = landingpad { ptr, i32 }
          cleanup
  br label %251

96:                                               ; preds = %86, %95
  %97 = phi ptr [ %87, %86 ], [ %.pre162, %95 ]
  %98 = getelementptr i8, ptr %97, i64 2
  %99 = load i16, ptr %98, align 2, !tbaa !18
  %100 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 22), align 2, !tbaa !18
  %.not92.1 = icmp eq i16 %99, %100
  br i1 %.not92.1, label %107, label %101

101:                                              ; preds = %96
  %102 = sext i16 %100 to i32
  %103 = sext i16 %99 to i32
  %104 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %105 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 77, i32 noundef %103, i32 noundef %102)
          to label %106 unwind label %.loopexit109

106:                                              ; preds = %101
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre163 = load ptr, ptr %68, align 8, !tbaa !23
  br label %107

107:                                              ; preds = %106, %96
  %108 = phi ptr [ %.pre163, %106 ], [ %97, %96 ]
  %109 = getelementptr i8, ptr %108, i64 4
  %110 = load i16, ptr %109, align 2, !tbaa !18
  %111 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 24), align 8, !tbaa !18
  %.not92.2 = icmp eq i16 %110, %111
  br i1 %.not92.2, label %118, label %112

112:                                              ; preds = %107
  %113 = sext i16 %111 to i32
  %114 = sext i16 %110 to i32
  %115 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %116 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %115, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 77, i32 noundef %114, i32 noundef %113)
          to label %117 unwind label %.loopexit109

117:                                              ; preds = %112
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre164 = load ptr, ptr %68, align 8, !tbaa !23
  br label %118

118:                                              ; preds = %117, %107
  %119 = phi ptr [ %.pre164, %117 ], [ %108, %107 ]
  %120 = getelementptr i8, ptr %119, i64 6
  %121 = load i16, ptr %120, align 2, !tbaa !18
  %122 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 26), align 2, !tbaa !18
  %.not92.3 = icmp eq i16 %121, %122
  br i1 %.not92.3, label %129, label %123

123:                                              ; preds = %118
  %124 = sext i16 %122 to i32
  %125 = sext i16 %121 to i32
  %126 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %127 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 77, i32 noundef %125, i32 noundef %124)
          to label %128 unwind label %.loopexit109

128:                                              ; preds = %123
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre165 = load ptr, ptr %68, align 8, !tbaa !23
  br label %129

129:                                              ; preds = %128, %118
  %130 = phi ptr [ %.pre165, %128 ], [ %119, %118 ]
  %131 = getelementptr i8, ptr %130, i64 8
  %132 = load i16, ptr %131, align 2, !tbaa !18
  %133 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 28), align 4, !tbaa !18
  %.not92.4 = icmp eq i16 %132, %133
  br i1 %.not92.4, label %140, label %134

134:                                              ; preds = %129
  %135 = sext i16 %133 to i32
  %136 = sext i16 %132 to i32
  %137 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %138 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 77, i32 noundef %136, i32 noundef %135)
          to label %139 unwind label %.loopexit109

139:                                              ; preds = %134
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre166 = load ptr, ptr %68, align 8, !tbaa !23
  br label %140

140:                                              ; preds = %139, %129
  %141 = phi ptr [ %.pre166, %139 ], [ %130, %129 ]
  %142 = getelementptr i8, ptr %141, i64 10
  %143 = load i16, ptr %142, align 2, !tbaa !18
  %144 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 30), align 2, !tbaa !18
  %.not92.5 = icmp eq i16 %143, %144
  br i1 %.not92.5, label %151, label %145

145:                                              ; preds = %140
  %146 = sext i16 %144 to i32
  %147 = sext i16 %143 to i32
  %148 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %149 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 77, i32 noundef %147, i32 noundef %146)
          to label %150 unwind label %.loopexit109

150:                                              ; preds = %145
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre167 = load ptr, ptr %68, align 8, !tbaa !23
  br label %151

151:                                              ; preds = %150, %140
  %152 = phi ptr [ %.pre167, %150 ], [ %141, %140 ]
  %153 = getelementptr i8, ptr %152, i64 12
  %154 = load i16, ptr %153, align 2, !tbaa !18
  %155 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 32), align 16, !tbaa !18
  %.not92.6 = icmp eq i16 %154, %155
  br i1 %.not92.6, label %162, label %156

156:                                              ; preds = %151
  %157 = sext i16 %155 to i32
  %158 = sext i16 %154 to i32
  %159 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %160 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %159, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 77, i32 noundef %158, i32 noundef %157)
          to label %161 unwind label %.loopexit109

161:                                              ; preds = %156
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre168 = load ptr, ptr %68, align 8, !tbaa !23
  br label %162

162:                                              ; preds = %161, %151
  %163 = phi ptr [ %.pre168, %161 ], [ %152, %151 ]
  %164 = getelementptr i8, ptr %163, i64 14
  %165 = load i16, ptr %164, align 2, !tbaa !18
  %166 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 34), align 2, !tbaa !18
  %.not92.7 = icmp eq i16 %165, %166
  br i1 %.not92.7, label %173, label %167

167:                                              ; preds = %162
  %168 = sext i16 %166 to i32
  %169 = sext i16 %165 to i32
  %170 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %171 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %170, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 77, i32 noundef %169, i32 noundef %168)
          to label %172 unwind label %.loopexit109

172:                                              ; preds = %167
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre169 = load ptr, ptr %68, align 8, !tbaa !23
  br label %173

173:                                              ; preds = %172, %162
  %174 = phi ptr [ %.pre169, %172 ], [ %163, %162 ]
  %175 = getelementptr i8, ptr %174, i64 16
  %176 = load i16, ptr %175, align 2, !tbaa !18
  %177 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 36), align 4, !tbaa !18
  %.not92.8 = icmp eq i16 %176, %177
  br i1 %.not92.8, label %184, label %178

178:                                              ; preds = %173
  %179 = sext i16 %177 to i32
  %180 = sext i16 %176 to i32
  %181 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %182 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %181, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 77, i32 noundef %180, i32 noundef %179)
          to label %183 unwind label %.loopexit109

183:                                              ; preds = %178
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre170 = load ptr, ptr %68, align 8, !tbaa !23
  br label %184

184:                                              ; preds = %183, %173
  %185 = phi ptr [ %.pre170, %183 ], [ %174, %173 ]
  %186 = getelementptr i8, ptr %185, i64 18
  %187 = load i16, ptr %186, align 2, !tbaa !18
  %188 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 38), align 2, !tbaa !18
  %.not92.9 = icmp eq i16 %187, %188
  br i1 %.not92.9, label %195, label %189

189:                                              ; preds = %184
  %190 = sext i16 %188 to i32
  %191 = sext i16 %187 to i32
  %192 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %193 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %192, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 77, i32 noundef %191, i32 noundef %190)
          to label %194 unwind label %.loopexit109

194:                                              ; preds = %189
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre171 = load ptr, ptr %68, align 8, !tbaa !23
  br label %195

195:                                              ; preds = %194, %184
  %196 = phi ptr [ %.pre171, %194 ], [ %185, %184 ]
  %197 = getelementptr i8, ptr %196, i64 20
  %198 = load i16, ptr %197, align 2, !tbaa !18
  %199 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 40), align 8, !tbaa !18
  %.not92.10 = icmp eq i16 %198, %199
  br i1 %.not92.10, label %206, label %200

200:                                              ; preds = %195
  %201 = sext i16 %199 to i32
  %202 = sext i16 %198 to i32
  %203 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %204 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %203, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 77, i32 noundef %202, i32 noundef %201)
          to label %205 unwind label %.loopexit109

205:                                              ; preds = %200
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre172 = load ptr, ptr %68, align 8, !tbaa !23
  br label %206

206:                                              ; preds = %205, %195
  %207 = phi ptr [ %.pre172, %205 ], [ %196, %195 ]
  %208 = getelementptr i8, ptr %207, i64 22
  %209 = load i16, ptr %208, align 2, !tbaa !18
  %210 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 42), align 2, !tbaa !18
  %.not92.11 = icmp eq i16 %209, %210
  br i1 %.not92.11, label %217, label %211

211:                                              ; preds = %206
  %212 = sext i16 %210 to i32
  %213 = sext i16 %209 to i32
  %214 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %215 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %214, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 77, i32 noundef %213, i32 noundef %212)
          to label %216 unwind label %.loopexit109

216:                                              ; preds = %211
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre173 = load ptr, ptr %68, align 8, !tbaa !23
  br label %217

217:                                              ; preds = %216, %206
  %218 = phi ptr [ %.pre173, %216 ], [ %207, %206 ]
  %219 = getelementptr i8, ptr %218, i64 24
  %220 = load i16, ptr %219, align 2, !tbaa !18
  %221 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 44), align 4, !tbaa !18
  %.not92.12 = icmp eq i16 %220, %221
  br i1 %.not92.12, label %228, label %222

222:                                              ; preds = %217
  %223 = sext i16 %221 to i32
  %224 = sext i16 %220 to i32
  %225 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %226 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %225, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 77, i32 noundef %224, i32 noundef %223)
          to label %227 unwind label %.loopexit109

227:                                              ; preds = %222
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre174 = load ptr, ptr %68, align 8, !tbaa !23
  br label %228

228:                                              ; preds = %227, %217
  %229 = phi ptr [ %.pre174, %227 ], [ %218, %217 ]
  %230 = getelementptr i8, ptr %229, i64 26
  %231 = load i16, ptr %230, align 2, !tbaa !18
  %232 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 46), align 2, !tbaa !18
  %.not92.13 = icmp eq i16 %231, %232
  br i1 %.not92.13, label %239, label %233

233:                                              ; preds = %228
  %234 = sext i16 %232 to i32
  %235 = sext i16 %231 to i32
  %236 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %237 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %236, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 77, i32 noundef %235, i32 noundef %234)
          to label %238 unwind label %.loopexit109

238:                                              ; preds = %233
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre175 = load ptr, ptr %68, align 8, !tbaa !23
  br label %239

239:                                              ; preds = %238, %228
  %240 = phi ptr [ %.pre175, %238 ], [ %229, %228 ]
  %241 = getelementptr i8, ptr %240, i64 28
  %242 = load i16, ptr %241, align 2, !tbaa !18
  %243 = load i16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 48), align 16, !tbaa !18
  %.not92.14 = icmp eq i16 %242, %243
  br i1 %.not92.14, label %250, label %244

244:                                              ; preds = %239
  %245 = sext i16 %243 to i32
  %246 = sext i16 %242 to i32
  %247 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %248 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %247, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.3, i32 noundef 77, i32 noundef %246, i32 noundef %245)
          to label %249 unwind label %.loopexit109

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

250:                                              ; preds = %249, %239
  invoke void @WindowFreeStateContents(ptr noundef nonnull %7)
          to label %._crit_edge126 unwind label %.loopexit.split-lp110

251:                                              ; preds = %.loopexit109, %.loopexit.split-lp110, %84
  %.pn93 = phi { ptr, i32 } [ %85, %84 ], [ %lpad.loopexit111, %.loopexit109 ], [ %lpad.loopexit.split-lp112, %.loopexit.split-lp110 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %252

252:                                              ; preds = %251, %75
  %.pn93.pn = phi { ptr, i32 } [ %.pn93, %251 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  br label %470

._crit_edge126:                                   ; preds = %250
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %253 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !21, !noundef !22
  %254 = xor i8 %253, 1
  %not.91 = zext nneg i8 %254 to i32
  %255 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %256 = add nsw i32 %255, %not.91
  store i32 %256, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %257 = zext nneg i8 %253 to i32
  %258 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %259 = add nsw i32 %258, %257
  store i32 %259, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %260 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %261 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %260, ptr noundef nonnull @.str, ptr noundef nonnull @.str.9)
          to label %262 unwind label %30

262:                                              ; preds = %._crit_edge126
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %263 = getelementptr inbounds i8, ptr %10, i64 40
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  call void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9)
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %10) #5
  %264 = invoke i32 @WindowPopulateState(ptr noundef nonnull %9, ptr noundef nonnull %10, i32 noundef 1000)
          to label %265 unwind label %270

265:                                              ; preds = %262
  %.not80 = icmp eq i32 %264, 0
  br i1 %.not80, label %266, label %272

266:                                              ; preds = %265
  %267 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %268 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %267, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 87)
          to label %269 unwind label %270

269:                                              ; preds = %266
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %272

270:                                              ; preds = %266, %262
  %271 = landingpad { ptr, i32 }
          cleanup
  br label %305

272:                                              ; preds = %269, %265
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %273 = invoke i32 @WindowProcessSamples(ptr noundef nonnull %10, ptr noundef nonnull @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef nonnull %11)
          to label %274 unwind label %279

274:                                              ; preds = %272
  %.not81 = icmp eq i32 %273, 0
  br i1 %.not81, label %275, label %281

275:                                              ; preds = %274
  %276 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %277 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %276, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 92)
          to label %278 unwind label %279

278:                                              ; preds = %275
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %281

279:                                              ; preds = %275, %272
  %280 = landingpad { ptr, i32 }
          cleanup
  br label %304

281:                                              ; preds = %278, %274
  %282 = load i64, ptr %10, align 8, !tbaa !13
  %.not82 = icmp eq i64 %282, 25
  br i1 %.not82, label %.lr.ph129.preheader, label %283

283:                                              ; preds = %281
  %284 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %285 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %284, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.3, i32 noundef 97, i64 noundef %282, i64 noundef 25)
          to label %288 unwind label %286

286:                                              ; preds = %283
  %287 = landingpad { ptr, i32 }
          cleanup
  br label %304

288:                                              ; preds = %283
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre177 = load i64, ptr %10, align 8, !tbaa !13
  %.not148 = icmp eq i64 %.pre177, 0
  br i1 %.not148, label %._crit_edge130, label %.lr.ph129.preheader

.lr.ph129.preheader:                              ; preds = %281, %288
  %.ph192 = phi i64 [ 25, %281 ], [ %.pre177, %288 ]
  br label %.lr.ph129

.lr.ph129:                                        ; preds = %.lr.ph129.preheader, %301
  %289 = phi i64 [ %302, %301 ], [ %.ph192, %.lr.ph129.preheader ]
  %indvars.iv154 = phi i64 [ %indvars.iv.next155, %301 ], [ 0, %.lr.ph129.preheader ]
  %290 = load ptr, ptr %263, align 8, !tbaa !24
  %291 = getelementptr inbounds i16, ptr %290, i64 %indvars.iv154
  %292 = load i16, ptr %291, align 2, !tbaa !18
  %293 = getelementptr inbounds [25 x i16], ptr @__const.main.expected.10, i64 0, i64 %indvars.iv154
  %294 = load i16, ptr %293, align 2, !tbaa !18
  %.not84 = icmp eq i16 %292, %294
  br i1 %.not84, label %301, label %295

295:                                              ; preds = %.lr.ph129
  %296 = sext i16 %294 to i32
  %297 = sext i16 %292 to i32
  %298 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %299 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %298, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.3, i32 noundef 100, i32 noundef %297, i32 noundef %296)
          to label %300 unwind label %.loopexit104

300:                                              ; preds = %295
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre178 = load i64, ptr %10, align 8, !tbaa !13
  br label %301

.loopexit104:                                     ; preds = %295
  %lpad.loopexit106 = landingpad { ptr, i32 }
          cleanup
  br label %304

.loopexit.split-lp105:                            ; preds = %._crit_edge130
  %lpad.loopexit.split-lp107 = landingpad { ptr, i32 }
          cleanup
  br label %304

301:                                              ; preds = %.lr.ph129, %300
  %302 = phi i64 [ %289, %.lr.ph129 ], [ %.pre178, %300 ]
  %indvars.iv.next155 = add nuw nsw i64 %indvars.iv154, 1
  %303 = icmp ugt i64 %302, %indvars.iv.next155
  br i1 %303, label %.lr.ph129, label %._crit_edge130, !llvm.loop !25

._crit_edge130:                                   ; preds = %301, %288
  invoke void @WindowFreeStateContents(ptr noundef nonnull %10)
          to label %._crit_edge133 unwind label %.loopexit.split-lp105

304:                                              ; preds = %.loopexit104, %.loopexit.split-lp105, %286, %279
  %.pn85.pn = phi { ptr, i32 } [ %280, %279 ], [ %287, %286 ], [ %lpad.loopexit106, %.loopexit104 ], [ %lpad.loopexit.split-lp107, %.loopexit.split-lp105 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %305

305:                                              ; preds = %304, %270
  %.pn85.pn.pn = phi { ptr, i32 } [ %.pn85.pn, %304 ], [ %271, %270 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  br label %470

._crit_edge133:                                   ; preds = %._crit_edge130
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %306 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !21, !noundef !22
  %307 = xor i8 %306, 1
  %not.83 = zext nneg i8 %307 to i32
  %308 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %309 = add nsw i32 %308, %not.83
  store i32 %309, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %310 = zext nneg i8 %306 to i32
  %311 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %312 = add nsw i32 %311, %310
  store i32 %312, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %313 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %314 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %313, ptr noundef nonnull @.str, ptr noundef nonnull @.str.12)
          to label %315 unwind label %30

315:                                              ; preds = %._crit_edge133
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %316 = getelementptr inbounds i8, ptr %13, i64 48
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
  call void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12)
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %13) #5
  %317 = invoke i32 @WindowPopulateState(ptr noundef nonnull %12, ptr noundef nonnull %13, i32 noundef 1000)
          to label %318 unwind label %323

318:                                              ; preds = %315
  %.not74 = icmp eq i32 %317, 0
  br i1 %.not74, label %319, label %325

319:                                              ; preds = %318
  %320 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %321 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %320, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 110)
          to label %322 unwind label %323

322:                                              ; preds = %319
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %325

323:                                              ; preds = %319, %315
  %324 = landingpad { ptr, i32 }
          cleanup
  br label %342

325:                                              ; preds = %322, %318
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %326 = invoke i32 @WindowProcessSamples(ptr noundef nonnull %13, ptr noundef nonnull @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef nonnull %14)
          to label %327 unwind label %332

327:                                              ; preds = %325
  %.not75 = icmp eq i32 %326, 0
  br i1 %.not75, label %328, label %334

328:                                              ; preds = %327
  %329 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %330 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %329, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 115)
          to label %331 unwind label %332

331:                                              ; preds = %328
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %334

332:                                              ; preds = %341, %336, %328, %325
  %333 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  br label %342

334:                                              ; preds = %327, %331
  %335 = load i16, ptr %316, align 8, !tbaa !26
  %.not76 = icmp eq i16 %335, 32256
  br i1 %.not76, label %341, label %336

336:                                              ; preds = %334
  %337 = sext i16 %335 to i32
  %338 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %339 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %338, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.3, i32 noundef 117, i32 noundef %337, i32 noundef 32256)
          to label %340 unwind label %332

340:                                              ; preds = %336
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %341

341:                                              ; preds = %340, %334
  invoke void @WindowFreeStateContents(ptr noundef nonnull %13)
          to label %._crit_edge136 unwind label %332

342:                                              ; preds = %332, %323
  %.pn77 = phi { ptr, i32 } [ %333, %332 ], [ %324, %323 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  br label %470

._crit_edge136:                                   ; preds = %341
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %343 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !21, !noundef !22
  %344 = xor i8 %343, 1
  %not.79 = zext nneg i8 %344 to i32
  %345 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %346 = add nsw i32 %345, %not.79
  store i32 %346, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %347 = zext nneg i8 %343 to i32
  %348 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %349 = add nsw i32 %348, %347
  store i32 %349, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %350 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %351 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %350, ptr noundef nonnull @.str, ptr noundef nonnull @.str.14)
          to label %352 unwind label %30

352:                                              ; preds = %._crit_edge136
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %353 = getelementptr inbounds i8, ptr %16, i64 40
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #5
  call void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15)
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %16) #5
  %354 = invoke i32 @WindowPopulateState(ptr noundef nonnull %15, ptr noundef nonnull %16, i32 noundef 1000)
          to label %355 unwind label %360

355:                                              ; preds = %352
  %.not64 = icmp eq i32 %354, 0
  br i1 %.not64, label %356, label %362

356:                                              ; preds = %355
  %357 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %358 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %357, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 126)
          to label %359 unwind label %360

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

360:                                              ; preds = %356, %352
  %361 = landingpad { ptr, i32 }
          cleanup
  br label %402

362:                                              ; preds = %359, %355
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %363 = invoke i32 @WindowProcessSamples(ptr noundef nonnull %16, ptr noundef nonnull @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef nonnull %17)
          to label %364 unwind label %369

364:                                              ; preds = %362
  %.not65 = icmp eq i32 %363, 0
  br i1 %.not65, label %365, label %371

365:                                              ; preds = %364
  %366 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %367 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %366, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 131)
          to label %368 unwind label %369

368:                                              ; preds = %365
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %371

369:                                              ; preds = %374, %371, %365, %362
  %370 = landingpad { ptr, i32 }
          cleanup
  br label %401

371:                                              ; preds = %364, %368
  %372 = invoke i32 @WindowProcessSamples(ptr noundef nonnull %16, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 50), i64 noundef 11, ptr noundef nonnull %17)
          to label %373 unwind label %369

373:                                              ; preds = %371
  %.not66 = icmp eq i32 %372, 0
  br i1 %.not66, label %374, label %378

374:                                              ; preds = %373
  %375 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %376 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %375, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.3, i32 noundef 135)
          to label %377 unwind label %369

377:                                              ; preds = %374
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %378

378:                                              ; preds = %377, %373
  %379 = load i64, ptr %16, align 8, !tbaa !13
  %.not67 = icmp eq i64 %379, 25
  br i1 %.not67, label %.lr.ph139.preheader, label %380

380:                                              ; preds = %378
  %381 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %382 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %381, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.3, i32 noundef 140, i64 noundef %379, i64 noundef 25)
          to label %385 unwind label %383

383:                                              ; preds = %380
  %384 = landingpad { ptr, i32 }
          cleanup
  br label %401

385:                                              ; preds = %380
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre181 = load i64, ptr %16, align 8, !tbaa !13
  %.not149 = icmp eq i64 %.pre181, 0
  br i1 %.not149, label %._crit_edge140, label %.lr.ph139.preheader

.lr.ph139.preheader:                              ; preds = %378, %385
  %.ph = phi i64 [ 25, %378 ], [ %.pre181, %385 ]
  br label %.lr.ph139

.lr.ph139:                                        ; preds = %.lr.ph139.preheader, %398
  %386 = phi i64 [ %399, %398 ], [ %.ph, %.lr.ph139.preheader ]
  %indvars.iv157 = phi i64 [ %indvars.iv.next158, %398 ], [ 0, %.lr.ph139.preheader ]
  %387 = load ptr, ptr %353, align 8, !tbaa !24
  %388 = getelementptr inbounds i16, ptr %387, i64 %indvars.iv157
  %389 = load i16, ptr %388, align 2, !tbaa !18
  %390 = getelementptr inbounds [25 x i16], ptr @__const.main.expected.16, i64 0, i64 %indvars.iv157
  %391 = load i16, ptr %390, align 2, !tbaa !18
  %.not69 = icmp eq i16 %389, %391
  br i1 %.not69, label %398, label %392

392:                                              ; preds = %.lr.ph139
  %393 = sext i16 %391 to i32
  %394 = sext i16 %389 to i32
  %395 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %396 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %395, ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.3, i32 noundef 143, i32 noundef %394, i32 noundef %393)
          to label %397 unwind label %.loopexit

397:                                              ; preds = %392
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %.pre182 = load i64, ptr %16, align 8, !tbaa !13
  br label %398

.loopexit:                                        ; preds = %392
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %401

.loopexit.split-lp:                               ; preds = %._crit_edge140
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %401

398:                                              ; preds = %.lr.ph139, %397
  %399 = phi i64 [ %386, %.lr.ph139 ], [ %.pre182, %397 ]
  %indvars.iv.next158 = add nuw nsw i64 %indvars.iv157, 1
  %400 = icmp ugt i64 %399, %indvars.iv.next158
  br i1 %400, label %.lr.ph139, label %._crit_edge140, !llvm.loop !27

._crit_edge140:                                   ; preds = %398, %385
  invoke void @WindowFreeStateContents(ptr noundef nonnull %16)
          to label %._crit_edge143 unwind label %.loopexit.split-lp

401:                                              ; preds = %.loopexit, %.loopexit.split-lp, %383, %369
  %.pn70.pn = phi { ptr, i32 } [ %370, %369 ], [ %384, %383 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  br label %402

402:                                              ; preds = %401, %360
  %.pn70.pn.pn = phi { ptr, i32 } [ %.pn70.pn, %401 ], [ %361, %360 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #5
  br label %470

._crit_edge143:                                   ; preds = %._crit_edge140
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %403 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !21, !noundef !22
  %404 = xor i8 %403, 1
  %not.68 = zext nneg i8 %404 to i32
  %405 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %406 = add nsw i32 %405, %not.68
  store i32 %406, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %407 = zext nneg i8 %403 to i32
  %408 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %409 = add nsw i32 %408, %407
  store i32 %409, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %410 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %411 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %410, ptr noundef nonnull @.str, ptr noundef nonnull @.str.17)
          to label %412 unwind label %30

412:                                              ; preds = %._crit_edge143
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  %413 = getelementptr inbounds i8, ptr %19, i64 32
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #5
  call void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18)
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %19) #5
  %414 = invoke i32 @WindowPopulateState(ptr noundef nonnull %18, ptr noundef nonnull %19, i32 noundef 1000)
          to label %415 unwind label %420

415:                                              ; preds = %412
  %.not = icmp eq i32 %414, 0
  br i1 %.not, label %416, label %422

416:                                              ; preds = %415
  %417 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %418 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %417, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 153)
          to label %419 unwind label %420

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

420:                                              ; preds = %416, %412
  %421 = landingpad { ptr, i32 }
          cleanup
  br label %454

422:                                              ; preds = %419, %415
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #5
  %423 = invoke i32 @WindowProcessSamples(ptr noundef nonnull %19, ptr noundef nonnull @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 noundef 36, ptr noundef nonnull %20)
          to label %424 unwind label %429

424:                                              ; preds = %422
  %.not59 = icmp eq i32 %423, 0
  br i1 %.not59, label %425, label %431

425:                                              ; preds = %424
  %426 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %427 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %426, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.3, i32 noundef 158)
          to label %428 unwind label %429

428:                                              ; preds = %425
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %431

429:                                              ; preds = %453, %449, %444, %441, %438, %434, %431, %425, %422
  %430 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  br label %454

431:                                              ; preds = %424, %428
  %432 = invoke i32 @WindowProcessSamples(ptr noundef nonnull %19, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 50), i64 noundef 11, ptr noundef nonnull %20)
          to label %433 unwind label %429

433:                                              ; preds = %431
  %.not60 = icmp eq i32 %432, 0
  br i1 %.not60, label %434, label %438

434:                                              ; preds = %433
  %435 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %436 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %435, ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.3, i32 noundef 162)
          to label %437 unwind label %429

437:                                              ; preds = %434
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %438

438:                                              ; preds = %433, %437
  %439 = invoke i32 @WindowProcessSamples(ptr noundef nonnull %19, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 70), i64 noundef 1, ptr noundef nonnull %20)
          to label %440 unwind label %429

440:                                              ; preds = %438
  %.not61 = icmp eq i32 %439, 0
  br i1 %.not61, label %447, label %441

441:                                              ; preds = %440
  %442 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %443 = invoke i32 @WindowProcessSamples(ptr noundef nonnull %19, ptr noundef nonnull getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_114kFakeAudioDataE, i64 70), i64 noundef 1, ptr noundef nonnull %20)
          to label %444 unwind label %429

444:                                              ; preds = %441
  %445 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %442, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.3, i32 noundef 168, i32 noundef 0, i32 noundef %443)
          to label %446 unwind label %429

446:                                              ; preds = %444
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %447

447:                                              ; preds = %440, %446
  %448 = load i64, ptr %413, align 8, !tbaa !28
  %.not62 = icmp eq i64 %448, 16
  br i1 %.not62, label %453, label %449

449:                                              ; preds = %447
  %450 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %451 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %450, ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.3, i32 noundef 172, i64 noundef %448, i64 noundef 16)
          to label %452 unwind label %429

452:                                              ; preds = %449
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %453

453:                                              ; preds = %452, %447
  invoke void @WindowFreeStateContents(ptr noundef nonnull %19)
          to label %._crit_edge146 unwind label %429

454:                                              ; preds = %429, %420
  %.pn = phi { ptr, i32 } [ %430, %429 ], [ %421, %420 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #5
  br label %470

._crit_edge146:                                   ; preds = %453
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #5
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %455 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !21, !noundef !22
  %456 = xor i8 %455, 1
  %not. = zext nneg i8 %456 to i32
  %457 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %458 = add nsw i32 %457, %not.
  store i32 %458, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %459 = zext nneg i8 %455 to i32
  %460 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %461 = add nsw i32 %460, %459
  store i32 %461, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %462 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %463 = add nsw i32 %461, %458
  %464 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %462, ptr noundef nonnull @.str.20, i32 noundef %458, i32 noundef %463)
          to label %.invoke unwind label %30

.invoke:                                          ; preds = %._crit_edge146
  %465 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %466 = icmp eq i32 %465, 0
  %467 = load ptr, ptr @_ZN10micro_test8reporterE, align 8, !tbaa !9
  %.str.21..str.22 = select i1 %466, ptr @.str.21, ptr @.str.22
  %468 = invoke noundef i32 (ptr, ptr, ...) @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8) %467, ptr noundef nonnull %.str.21..str.22)
          to label %469 unwind label %30

469:                                              ; preds = %.invoke
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  ret i32 0

470:                                              ; preds = %454, %402, %342, %305, %252, %57, %30
  %.pn100.pn.pn = phi { ptr, i32 } [ %.pn100.pn, %57 ], [ %.pn93.pn, %252 ], [ %.pn85.pn.pn, %305 ], [ %.pn77, %342 ], [ %.pn70.pn.pn, %402 ], [ %.pn, %454 ], [ %31, %30 ]
  call void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn100.pn.pn
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6tflite18MicroErrorReporterC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

declare noundef i32 @_ZN6tflite13ErrorReporter6ReportEPKcz(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ...) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_116WindowTestConfigC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

declare i32 @WindowPopulateState(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @WindowFreeStateContents(ptr noundef) local_unnamed_addr #3

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

declare i32 @WindowProcessSamples(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6tflite13ErrorReporterD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 align 2

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

!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 = !{!14, !15, i64 0}
!14 = !{!"_ZTS11WindowState", !15, i64 0, !10, i64 8, !15, i64 16, !10, i64 24, !15, i64 32, !10, i64 40, !16, i64 48}
!15 = !{!"long", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!14, !10, i64 8}
!18 = !{!16, !16, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!14, !10, i64 24}
!24 = !{!14, !10, i64 40}
!25 = distinct !{!25, !20}
!26 = !{!14, !16, i64 48}
!27 = distinct !{!27, !20}
!28 = !{!14, !15, i64 32}


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